From 63fb318186f2eca5525c5edf789cc58b9c4cc0d3 Mon Sep 17 00:00:00 2001 From: Sixtysixter <20945591+Sixtysixter@users.noreply.github.com> Date: Mon, 13 May 2024 13:08:47 +0200 Subject: [PATCH] Fix create failure trace (#163) --- integration/mainnet/trace_call/test_02.json | 16 +++++++++++++++- integration/mainnet/trace_call/test_13.json | 18 ++++++++++++++++-- integration/run_tests.py | 5 ----- 3 files changed, 31 insertions(+), 8 deletions(-) diff --git a/integration/mainnet/trace_call/test_02.json b/integration/mainnet/trace_call/test_02.json index 9d7dba17..ead0d0c5 100644 --- a/integration/mainnet/trace_call/test_02.json +++ b/integration/mainnet/trace_call/test_02.json @@ -49,7 +49,21 @@ "storage": {} } }, - "trace": [], + "trace": [ + { + "action": { + "from": "0xb5772b3a6be702d0387770c64bf17e36a4d38188", + "gas": "0x45178", + "init": "0x", + "value": "0x46e4deb133863000" + }, + "error": "insufficient balance for transfer", + "result": null, + "subtraces": 0, + "traceAddress": [], + "type": "create" + } + ], "vmTrace": { "code": "0x", "ops": [] diff --git a/integration/mainnet/trace_call/test_13.json b/integration/mainnet/trace_call/test_13.json index 3b215401..6bd408e3 100644 --- a/integration/mainnet/trace_call/test_13.json +++ b/integration/mainnet/trace_call/test_13.json @@ -50,9 +50,23 @@ "storage": {} } }, - "trace": [], + "trace": [ + { + "action": { + "from": "0x21f510d475787abcfc6ca646a8ea15f7d2cf7167", + "gas": "0x8a58", + "init": "0x602a6000556101c960015560068060166000396000f3600035600055", + "value": "0x8ac7230489e80000" + }, + "error": "insufficient balance for transfer", + "result": null, + "subtraces": 0, + "traceAddress": [], + "type": "create" + } + ], "vmTrace": { - "code": "0x", + "code": "0x602a6000556101c960015560068060166000396000f3600035600055", "ops": [] } } diff --git a/integration/run_tests.py b/integration/run_tests.py index aa42f7a1..c0510904 100755 --- a/integration/run_tests.py +++ b/integration/run_tests.py @@ -93,21 +93,16 @@ "mainnet/trace_block/test_20.tar", # diff on callType "mainnet/trace_call/test_01.json", # diff on callType - "mainnet/trace_call/test_02.json", # diff on callType "mainnet/trace_call/test_03.json", # diff on callType - "mainnet/trace_call/test_05.json", # diff on callType - "mainnet/trace_call/test_06.json", # diff on callType "mainnet/trace_call/test_07.json", # diff on callType "mainnet/trace_call/test_08.tar", # diff on callType "mainnet/trace_call/test_09.json", # diff on callType "mainnet/trace_call/test_10.json", # diff on callType "mainnet/trace_call/test_11.tar", # diff on callType "mainnet/trace_call/test_12.json", # diff on callType - "mainnet/trace_call/test_13.json", # diff on callType "mainnet/trace_call/test_15.json", # diff on callType "mainnet/trace_call/test_16.json", # diff on callType "mainnet/trace_call/test_17.tar", # diff on callType - "mainnet/trace_call/test_18.json", # diff on callType "mainnet/trace_replayTransaction/test_02.tar", # diff on gasCost "mainnet/trace_replayTransaction/test_03.tar", # diff on gasCost