diff --git a/bindings/go/evmc/evmc_test.go b/bindings/go/evmc/evmc_test.go index 13016eedd..517ae6c97 100644 --- a/bindings/go/evmc/evmc_test.go +++ b/bindings/go/evmc/evmc_test.go @@ -47,7 +47,7 @@ func TestExecuteEmptyCode(t *testing.T) { addr := Address{} h := Hash{} - output, gasLeft, err := vm.Execute(nil, Byzantium, Call, false, 1, 999, addr, addr, nil, h, nil, h) + output, gasLeft, err := vm.Execute(nil, Byzantium, Call, false, 1, 999, addr, addr, nil, h, nil) if bytes.Compare(output, []byte("")) != 0 { t.Errorf("execution unexpected output: %x", output) diff --git a/bindings/go/evmc/host_test.go b/bindings/go/evmc/host_test.go index 57d04d422..4d7c2c11b 100644 --- a/bindings/go/evmc/host_test.go +++ b/bindings/go/evmc/host_test.go @@ -80,7 +80,7 @@ func TestGetBlockNumberFromTxContext(t *testing.T) { host := &testHostContext{} addr := Address{} h := Hash{} - output, gasLeft, err := vm.Execute(host, Byzantium, Call, false, 1, 100, addr, addr, nil, h, code, h) + output, gasLeft, err := vm.Execute(host, Byzantium, Call, false, 1, 100, addr, addr, nil, h, code) if len(output) != 32 { t.Errorf("unexpected output size: %d", len(output)) @@ -109,7 +109,7 @@ func TestCall(t *testing.T) { host := &testHostContext{} addr := Address{} h := Hash{} - output, gasLeft, err := vm.Execute(host, Byzantium, Call, false, 1, 100, addr, addr, nil, h, code, h) + output, gasLeft, err := vm.Execute(host, Byzantium, Call, false, 1, 100, addr, addr, nil, h, code) if len(output) != 34 { t.Errorf("execution unexpected output length: %d", len(output))