diff --git a/integration/mainnet/debug_traceCall/test_01.json b/integration/mainnet/debug_traceCall/test_01.json new file mode 100644 index 00000000..52c87110 --- /dev/null +++ b/integration/mainnet/debug_traceCall/test_01.json @@ -0,0 +1,80 @@ +[ + { + "request": { + "id": 1, + "jsonrpc": "2.0", + "method": "debug_traceCall", + "params": [ + { + "data": "0x6ea056a90000000000000000000000004470bb87d77b963a013db939be332f927f2b992e0000000000000000000000000000000000000000000000000000000001ec7535", + "from": "0xFBb1b73C4f0BDa4f67dcA266ce6Ef42f520fBB98", + "gas": "0x33869", + "gasPrice": "0x1F", + "value": "0x0" + }, + "0x4366AC", + { + "disableMemory": false, + "disableStack": false, + "disableStorage": false + } + ] + }, + "response": { + "id": 1, + "jsonrpc": "2.0", + "result": { + "failed": true, + "gas": 211049, + "returnValue": "", + "structLogs": [ + { + "depth": 1, + "gas": 155985, + "gasCost": 3, + "memory": [], + "op": "PUSH15", + "pc": 0, + "stack": [] + }, + { + "depth": 1, + "gas": 155982, + "gasCost": 2, + "memory": [], + "op": "DIFFICULTY", + "pc": 16, + "stack": [ + "0xa056a9000000000000000000000000" + ] + }, + { + "depth": 1, + "gas": 155980, + "gasCost": 3, + "memory": [], + "op": "PUSH17", + "pc": 17, + "stack": [ + "0xa056a9000000000000000000000000", + "0x52efc5604c289" + ] + }, + { + "depth": 1, + "gas": 155977, + "gasCost": 0, + "memory": [], + "op": "opcode 0x2e not defined", + "pc": 35, + "stack": [ + "0xa056a9000000000000000000000000", + "0x52efc5604c289", + "0xbb87d77b963a013db939be332f927f2b99" + ] + } + ] + } + } + } +] diff --git a/integration/mainnet/debug_traceCall/test_02.json b/integration/mainnet/debug_traceCall/test_02.json new file mode 100644 index 00000000..88196ea7 --- /dev/null +++ b/integration/mainnet/debug_traceCall/test_02.json @@ -0,0 +1,44 @@ +[ + { + "request": { + "id": 1, + "jsonrpc": "2.0", + "method": "debug_traceCall", + "params": [ + { + "data": "0x47872b42bad3a36c7b8993d43fce8aa97c5d14a1828f559206552cd1e2e5167dbf7fab1c000000000000000000000000000000000000000000000000002386f26fc10000f3b7eaf85911f23fec4384f41e4e1432194fb7ae66ddef71f291412f7195713b", + "from": "0xB063F38343a46a8A9fFD52a47b26133b7c49788B", + "gas": "0x30D40", + "gasPrice": "0x4", + "value": "0x0" + }, + "0xb425a0ecfa4b74abf04a6f73c7e323b4b7220c8a96f12fff30b60172cfc50973", + { + "disableMemory": false, + "disableStack": false, + "disableStorage": false + } + ] + }, + "response": { + "id": 1, + "jsonrpc": "2.0", + "result": { + "failed": true, + "gas": 200000, + "returnValue": "", + "structLogs": [ + { + "depth": 1, + "gas": 141928, + "gasCost": 0, + "memory": [], + "op": "opcode 0x47 not defined", + "pc": 0, + "stack": [] + } + ] + } + } + } +] diff --git a/integration/mainnet/debug_traceCall/test_03.json b/integration/mainnet/debug_traceCall/test_03.json new file mode 100644 index 00000000..ab584807 --- /dev/null +++ b/integration/mainnet/debug_traceCall/test_03.json @@ -0,0 +1,35 @@ +[ + { + "request": { + "id": 1, + "jsonrpc": "2.0", + "method": "debug_traceCall", + "params": [ + { + "data": "0xa694fc3a00000000000000000000000000000000000000000000010f0cf064dd59200000", + "from": "0x56768B032Fc12D2e911eF654B0054e26a58cef74", + "gas": "0x147F7", + "gasPrice": "0x1", + "to": "0xc92047CeC2355293A9e3710e32851F3509e7313E", + "value": "0x0" + }, + "0x52a0b3", + { + "disableMemory": false, + "disableStack": false, + "disableStorage": false + } + ] + }, + "response": { + "id": 1, + "jsonrpc": "2.0", + "result": { + "failed": false, + "gas": 21912, + "returnValue": "", + "structLogs": [] + } + } + } +] diff --git a/integration/mainnet/debug_traceCall/test_04.json b/integration/mainnet/debug_traceCall/test_04.json new file mode 100644 index 00000000..03c91e1f --- /dev/null +++ b/integration/mainnet/debug_traceCall/test_04.json @@ -0,0 +1,44 @@ +[ + { + "request": { + "id": 1, + "jsonrpc": "2.0", + "method": "debug_traceCall", + "params": [ + { + "data": "0x0a19b14a0000000000000000000000001122b6a0e00dce0563082b6e2953f3a943855c1f0000000000000000000000000000000000000000000002e27339bb8d03180000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000086387f25c6904000000000000000000000000000000000000000000000000000000000000052a02900000000000000000000000000000000000000000000000000000000a23e90d800000000000000000000000051b632a2935713d6064e5f79f5ff0b67b36cf4ea000000000000000000000000000000000000000000000000000000000000001c36c9c81bc058d719563702e56437f8fe3b8327a2585f511bc2e8349884c9970d2c53f583e4c7a78714d79f19e33f04df85d72f9f6c00ebfbbd5c2913223a17a60000000000000000000000000000000000000000000002e27339bb8d03180000", + "from": "0xd2c69eb70d9014d4635C7754F73BeaDac388Edbc", + "gas": "0x3D090", + "gasPrice": "0x1D905C0", + "value": "0x0" + }, + "0x5279A7", + { + "disableMemory": false, + "disableStack": false, + "disableStorage": false + } + ] + }, + "response": { + "id": 1, + "jsonrpc": "2.0", + "result": { + "failed": true, + "gas": 250000, + "returnValue": "", + "structLogs": [ + { + "depth": 1, + "gas": 186744, + "gasCost": 186744, + "memory": [], + "op": "EXP", + "pc": 0, + "stack": [] + } + ] + } + } + } +] diff --git a/integration/mainnet/debug_traceCall/test_05.tar b/integration/mainnet/debug_traceCall/test_05.tar new file mode 100644 index 00000000..3640ff20 Binary files /dev/null and b/integration/mainnet/debug_traceCall/test_05.tar differ diff --git a/integration/mainnet/debug_traceCall/test_06.tar b/integration/mainnet/debug_traceCall/test_06.tar new file mode 100644 index 00000000..476582bf Binary files /dev/null and b/integration/mainnet/debug_traceCall/test_06.tar differ diff --git a/integration/mainnet/debug_traceCall/test_07.tar b/integration/mainnet/debug_traceCall/test_07.tar new file mode 100644 index 00000000..d238c100 Binary files /dev/null and b/integration/mainnet/debug_traceCall/test_07.tar differ diff --git a/integration/mainnet/debug_traceCall/test_08.tar b/integration/mainnet/debug_traceCall/test_08.tar new file mode 100644 index 00000000..ecd00846 Binary files /dev/null and b/integration/mainnet/debug_traceCall/test_08.tar differ diff --git a/integration/mainnet/debug_traceCall/test_09.json b/integration/mainnet/debug_traceCall/test_09.json new file mode 100644 index 00000000..17ef20de --- /dev/null +++ b/integration/mainnet/debug_traceCall/test_09.json @@ -0,0 +1,978 @@ +[ + { + "request": { + "id": 1, + "jsonrpc": "2.0", + "method": "debug_traceCall", + "params": [ + { + "data": "0x41c0e1b505684bf5", + "from": "0xBEEF26A43366DE7e6eCa3c1dc383b7d05F85A612", + "gas": "0x18912", + "gasPrice": "0x2DC6C0", + "to": "0xAE6814472DAc803B82d4Ea4588Cf7aF8B2b12d1d", + "value": "0x0" + }, + "0x5F7CF1", + { + "disableMemory": false, + "disableStack": false, + "disableStorage": false + } + ] + }, + "response": { + "id": 1, + "jsonrpc": "2.0", + "result": { + "failed": false, + "gas": 26927, + "returnValue": "", + "structLogs": [ + { + "depth": 1, + "gas": 79082, + "gasCost": 3, + "memory": [], + "op": "PUSH1", + "pc": 0, + "stack": [] + }, + { + "depth": 1, + "gas": 79079, + "gasCost": 3, + "memory": [], + "op": "PUSH1", + "pc": 2, + "stack": [ + "0x80" + ] + }, + { + "depth": 1, + "gas": 79076, + "gasCost": 12, + "memory": [], + "op": "MSTORE", + "pc": 4, + "stack": [ + "0x80", + "0x40" + ] + }, + { + "depth": 1, + "gas": 79064, + "gasCost": 3, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "PUSH1", + "pc": 5, + "stack": [] + }, + { + "depth": 1, + "gas": 79061, + "gasCost": 2, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "CALLDATASIZE", + "pc": 7, + "stack": [ + "0x1" + ] + }, + { + "depth": 1, + "gas": 79059, + "gasCost": 3, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "LT", + "pc": 8, + "stack": [ + "0x1", + "0x8" + ] + }, + { + "depth": 1, + "gas": 79056, + "gasCost": 3, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "ISZERO", + "pc": 9, + "stack": [ + "0x0" + ] + }, + { + "depth": 1, + "gas": 79053, + "gasCost": 3, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "PUSH2", + "pc": 10, + "stack": [ + "0x1" + ] + }, + { + "depth": 1, + "gas": 79050, + "gasCost": 10, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "JUMPI", + "pc": 13, + "stack": [ + "0x1", + "0xf" + ] + }, + { + "depth": 1, + "gas": 79040, + "gasCost": 1, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "JUMPDEST", + "pc": 15, + "stack": [] + }, + { + "depth": 1, + "gas": 79039, + "gasCost": 2, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "ORIGIN", + "pc": 16, + "stack": [] + }, + { + "depth": 1, + "gas": 79037, + "gasCost": 2, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "GAS", + "pc": 17, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612" + ] + }, + { + "depth": 1, + "gas": 79035, + "gasCost": 3, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "PUSH1", + "pc": 18, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb" + ] + }, + { + "depth": 1, + "gas": 79032, + "gasCost": 2, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "CALLDATASIZE", + "pc": 20, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x1" + ] + }, + { + "depth": 1, + "gas": 79030, + "gasCost": 3, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "EQ", + "pc": 21, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x1", + "0x8" + ] + }, + { + "depth": 1, + "gas": 79027, + "gasCost": 3, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "ISZERO", + "pc": 22, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x0" + ] + }, + { + "depth": 1, + "gas": 79024, + "gasCost": 3, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "PUSH2", + "pc": 23, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x1" + ] + }, + { + "depth": 1, + "gas": 79021, + "gasCost": 10, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "JUMPI", + "pc": 26, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x1", + "0xc3" + ] + }, + { + "depth": 1, + "gas": 79011, + "gasCost": 1, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "JUMPDEST", + "pc": 195, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb" + ] + }, + { + "depth": 1, + "gas": 79010, + "gasCost": 3, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "PUSH1", + "pc": 196, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb" + ] + }, + { + "depth": 1, + "gas": 79007, + "gasCost": 2, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "CALLDATASIZE", + "pc": 198, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x8" + ] + }, + { + "depth": 1, + "gas": 79005, + "gasCost": 3, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "EQ", + "pc": 199, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x8", + "0x8" + ] + }, + { + "depth": 1, + "gas": 79002, + "gasCost": 3, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "ISZERO", + "pc": 200, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x1" + ] + }, + { + "depth": 1, + "gas": 78999, + "gasCost": 3, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "PUSH2", + "pc": 201, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x0" + ] + }, + { + "depth": 1, + "gas": 78996, + "gasCost": 10, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "JUMPI", + "pc": 204, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x0", + "0x182" + ] + }, + { + "depth": 1, + "gas": 78986, + "gasCost": 3, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "PUSH2", + "pc": 205, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb" + ] + }, + { + "depth": 1, + "gas": 78983, + "gasCost": 200, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "SLOAD", + "pc": 208, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0xffff" + ], + "storage": { + "000000000000000000000000000000000000000000000000000000000000ffff": "000000000000000000000000000000000000000000000000000000000001bf90" + } + }, + { + "depth": 1, + "gas": 78783, + "gasCost": 3, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "PUSH3", + "pc": 209, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x1bf90" + ] + }, + { + "depth": 1, + "gas": 78780, + "gasCost": 3, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "DUP2", + "pc": 213, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x1bf90", + "0x10000" + ] + }, + { + "depth": 1, + "gas": 78777, + "gasCost": 3, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "LT", + "pc": 214, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x1bf90", + "0x10000", + "0x1bf90" + ] + }, + { + "depth": 1, + "gas": 78774, + "gasCost": 3, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "ISZERO", + "pc": 215, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x1bf90", + "0x0" + ] + }, + { + "depth": 1, + "gas": 78771, + "gasCost": 3, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "PUSH2", + "pc": 216, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x1bf90", + "0x1" + ] + }, + { + "depth": 1, + "gas": 78768, + "gasCost": 10, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "JUMPI", + "pc": 219, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x1bf90", + "0x1", + "0xea" + ] + }, + { + "depth": 1, + "gas": 78758, + "gasCost": 1, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "JUMPDEST", + "pc": 234, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x1bf90" + ] + }, + { + "depth": 1, + "gas": 78757, + "gasCost": 3, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "PUSH1", + "pc": 235, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x1bf90" + ] + }, + { + "depth": 1, + "gas": 78754, + "gasCost": 3, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "CALLDATALOAD", + "pc": 237, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x1bf90", + "0x0" + ] + }, + { + "depth": 1, + "gas": 78751, + "gasCost": 3, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "PUSH1", + "pc": 238, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x1bf90", + "0x41c0e1b505684bf5000000000000000000000000000000000000000000000000" + ] + }, + { + "depth": 1, + "gas": 78748, + "gasCost": 3, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "BYTE", + "pc": 240, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x1bf90", + "0x41c0e1b505684bf5000000000000000000000000000000000000000000000000", + "0x4" + ] + }, + { + "depth": 1, + "gas": 78745, + "gasCost": 1, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "JUMPDEST", + "pc": 241, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x1bf90", + "0x5" + ] + }, + { + "depth": 1, + "gas": 78744, + "gasCost": 3, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "PUSH3", + "pc": 242, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x1bf90", + "0x5" + ] + }, + { + "depth": 1, + "gas": 78741, + "gasCost": 2, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "GAS", + "pc": 246, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x1bf90", + "0x5", + "0x3f7a0" + ] + }, + { + "depth": 1, + "gas": 78739, + "gasCost": 3, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "GT", + "pc": 247, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x1bf90", + "0x5", + "0x3f7a0", + "0x13393" + ] + }, + { + "depth": 1, + "gas": 78736, + "gasCost": 3, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "PUSH1", + "pc": 248, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x1bf90", + "0x5", + "0x0" + ] + }, + { + "depth": 1, + "gas": 78733, + "gasCost": 3, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "DUP3", + "pc": 250, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x1bf90", + "0x5", + "0x0", + "0x0" + ] + }, + { + "depth": 1, + "gas": 78730, + "gasCost": 3, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "GT", + "pc": 251, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x1bf90", + "0x5", + "0x0", + "0x0", + "0x5" + ] + }, + { + "depth": 1, + "gas": 78727, + "gasCost": 3, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "AND", + "pc": 252, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x1bf90", + "0x5", + "0x0", + "0x1" + ] + }, + { + "depth": 1, + "gas": 78724, + "gasCost": 3, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "ISZERO", + "pc": 253, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x1bf90", + "0x5", + "0x0" + ] + }, + { + "depth": 1, + "gas": 78721, + "gasCost": 3, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "PUSH2", + "pc": 254, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x1bf90", + "0x5", + "0x1" + ] + }, + { + "depth": 1, + "gas": 78718, + "gasCost": 10, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "JUMPI", + "pc": 257, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x1bf90", + "0x5", + "0x1", + "0x17a" + ] + }, + { + "depth": 1, + "gas": 78708, + "gasCost": 1, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "JUMPDEST", + "pc": 378, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x1bf90", + "0x5" + ] + }, + { + "depth": 1, + "gas": 78707, + "gasCost": 2, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "POP", + "pc": 379, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x1bf90", + "0x5" + ] + }, + { + "depth": 1, + "gas": 78705, + "gasCost": 3, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "DUP1", + "pc": 380, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x1bf90" + ] + }, + { + "depth": 1, + "gas": 78702, + "gasCost": 3, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "PUSH2", + "pc": 381, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x1bf90", + "0x1bf90" + ] + }, + { + "depth": 1, + "gas": 78699, + "gasCost": 5000, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "SSTORE", + "pc": 384, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x1bf90", + "0x1bf90", + "0xffff" + ], + "storage": { + "000000000000000000000000000000000000000000000000000000000000ffff": "000000000000000000000000000000000000000000000000000000000001bf90" + } + }, + { + "depth": 1, + "gas": 73699, + "gasCost": 0, + "memory": [ + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000000", + "0000000000000000000000000000000000000000000000000000000000000080" + ], + "op": "STOP", + "pc": 385, + "stack": [ + "0xbeef26a43366de7e6eca3c1dc383b7d05f85a612", + "0x134bb", + "0x1bf90" + ] + } + ] + } + } + } +] diff --git a/integration/mainnet/debug_traceCall/test_10.tar b/integration/mainnet/debug_traceCall/test_10.tar new file mode 100644 index 00000000..9e19a966 Binary files /dev/null and b/integration/mainnet/debug_traceCall/test_10.tar differ diff --git a/integration/run_tests.py b/integration/run_tests.py index af702b83..cb59f062 100755 --- a/integration/run_tests.py +++ b/integration/run_tests.py @@ -75,7 +75,14 @@ "mainnet/debug_traceBlockByNumber/test_12.tar", # json too big "mainnet/debug_traceBlockByHash/test_03.tar", # diff on gasCost - "mainnet/debug_traceTransaction/test_02.tar" # diff on gasCost + "mainnet/debug_traceTransaction/test_02.tar", # diff on gasCost + + "mainnet/debug_traceCall/test_02.json", # diff on gasCost + "mainnet/debug_traceCall/test_04.json", # diff on gasCost + "mainnet/debug_traceCall/test_05.tar", # diff on gasCost + "mainnet/debug_traceCall/test_06.tar", # diff on gasCost + "mainnet/debug_traceCall/test_08.tar", # diff on gasCost + "mainnet/debug_traceCall/test_10.tar" # diff on gasCost ] tests_not_compared_result = [