(statedb *state.StateDB, vmconfig vm.Config)
| 115 | } |
| 116 | |
| 117 | func (t *VMTest) exec(statedb *state.StateDB, vmconfig vm.Config) ([]byte, uint64, error) { |
| 118 | evm := t.newEVM(statedb, vmconfig) |
| 119 | e := t.json.Exec |
| 120 | return evm.Call(vm.AccountRef(e.Caller), e.Address, e.Data, e.GasLimit, e.Value) |
| 121 | } |
| 122 | |
| 123 | func (t *VMTest) newEVM(statedb *state.StateDB, vmconfig vm.Config) *vm.EVM { |
| 124 | initialCall := true |