From 60df7ea5e22491d1441bf98dd3cc048171ed82f2 Mon Sep 17 00:00:00 2001 From: andri lim Date: Thu, 4 Apr 2019 12:13:33 +0700 Subject: [PATCH] update test data --- nimbus/vm/computation.nim | 2 +- tests/fixtures/TracerTests/block46402.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nimbus/vm/computation.nim b/nimbus/vm/computation.nim index fad89fe08..c5bb91768 100644 --- a/nimbus/vm/computation.nim +++ b/nimbus/vm/computation.nim @@ -214,7 +214,7 @@ proc applyMessage*(computation: BaseComputation, opCode: static[Op]) = executeOpcodes(computation) computation.nextProc() - + proc addChildComputation*(computation: BaseComputation, child: BaseComputation) = if child.isError: if child.msg.isCreate: diff --git a/tests/fixtures/TracerTests/block46402.json b/tests/fixtures/TracerTests/block46402.json index 2158d4add..46b0d28d6 100644 --- a/tests/fixtures/TracerTests/block46402.json +++ b/tests/fixtures/TracerTests/block46402.json @@ -283,7 +283,7 @@ "0000000000000000000000000000000000000000000000000000000000000000", "0000000000000000000000000000000000000000000000000000000000000060" ], - "error": "applyMessage Error msg=Out of gas: Needed 20000 - Remaining 412 - Reason: SSTORE: 9a049f5d18c239efaa258af9f3e7002949a977a0[0] -> 924236965777326770894530693462975209021625492404 (0), depth=0" + "error": "Opcode Dispatch Error msg=Out of gas: Needed 20000 - Remaining 412 - Reason: SSTORE: 9a049f5d18c239efaa258af9f3e7002949a977a0[0] -> 924236965777326770894530693462975209021625492404 (0), depth=0" } ], "stateDiff": { @@ -704,7 +704,7 @@ "0000000000000000000000000000000000000000000000000000000000000000", "0000000000000000000000000000000000000000000000000000000000000060" ], - "error": "applyMessage Error msg=Out of gas: Needed 20000 - Remaining 412 - Reason: SSTORE: 9a049f5d18c239efaa258af9f3e7002949a977a0[0] -> 924236965777326770894530693462975209021625492404 (0), depth=0" + "error": "Opcode Dispatch Error msg=Out of gas: Needed 20000 - Remaining 412 - Reason: SSTORE: 9a049f5d18c239efaa258af9f3e7002949a977a0[0] -> 924236965777326770894530693462975209021625492404 (0), depth=0" } ] },