compiler: use CALLT for native contract calls, fix #2257
This commit is contained in:
parent
06fc450789
commit
299a7ea614
26 changed files with 322 additions and 190 deletions
|
@ -143,7 +143,7 @@ func runSyscallTestCase(t *testing.T, ic *interop.Context, goName string, tc sys
|
|||
require.NoError(t, err)
|
||||
|
||||
v := ic.SpawnVM()
|
||||
v.LoadScriptWithFlags(b, callflag.All)
|
||||
v.LoadScriptWithFlags(b.Script, callflag.All)
|
||||
require.NoError(t, v.Run())
|
||||
require.True(t, called)
|
||||
if tc.isVoid {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue