vm, core: move invocation counter from InteropContext to VM
This commit is contained in:
parent
45bfce60a5
commit
6ce00fde82
5 changed files with 8 additions and 6 deletions
|
@ -296,7 +296,7 @@ func TestRuntimeGetInvocationCounter(t *testing.T) {
|
|||
v, ic, chain := createVM(t)
|
||||
defer chain.Close()
|
||||
|
||||
ic.Invocations[hash.Hash160([]byte{2})] = 42
|
||||
ic.VM.Invocations[hash.Hash160([]byte{2})] = 42
|
||||
|
||||
t.Run("No invocations", func(t *testing.T) {
|
||||
v.LoadScript([]byte{1})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue