From 71273f2f4c5fe29e14af5a15d91b1c4c9c6498fe Mon Sep 17 00:00:00 2001 From: jangko Date: Thu, 14 Oct 2021 13:26:42 +0700 Subject: [PATCH] remove error field from evm CallResult --- nimbus/transaction/call_common.nim | 2 -- 1 file changed, 2 deletions(-) diff --git a/nimbus/transaction/call_common.nim b/nimbus/transaction/call_common.nim index 866c524b0..cc76b36e0 100644 --- a/nimbus/transaction/call_common.nim +++ b/nimbus/transaction/call_common.nim @@ -46,7 +46,6 @@ type logEntries*: seq[Log] # Output logs. stack*: Stack # EVM stack on return (for test only). memory*: Memory # EVM memory on return (for test only). - error*: Error # Error if `isError` (for test only). proc hostToComputationMessage*(msg: EvmcMessage): Message = Message( @@ -222,4 +221,3 @@ proc runComputation*(call: CallParams): CallResult = shallowCopy(result.logEntries, c.logEntries) result.stack = c.stack result.memory = c.memory - result.error = c.error