Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/ft-tests' into feature/refactor-…
Browse files Browse the repository at this point in the history
…tracer
  • Loading branch information
ignasirv committed Oct 9, 2023
2 parents 0894813 + 2f99137 commit fac59d6
Show file tree
Hide file tree
Showing 468 changed files with 36,493 additions and 7,436,532 deletions.
7 changes: 6 additions & 1 deletion tools/full-tracer-tests/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
[
{
"folderName": "stCallCodes",
"traceMethod": "defaultTracer",
"isEthereumTest": true
},
{
"testName": "op-invalid",
"testToDebug": 0,
Expand Down Expand Up @@ -40,4 +45,4 @@
"testToDebug": 25,
"traceMethod": "callTracer"
}
]
]
21 changes: 18 additions & 3 deletions tools/full-tracer-tests/genesis.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,336 @@
{
"gas": 110000,
"failed": true,
"returnValue": "",
"structLogs": [
{
"pc": 0,
"op": "PUSH1",
"gas": 88836,
"gasCost": 3,
"depth": 1,
"stack": [],
"memory": []
},
{
"pc": 2,
"op": "PUSH1",
"gas": 88833,
"gasCost": 3,
"depth": 1,
"stack": [
"0x1"
],
"memory": []
},
{
"pc": 4,
"op": "SSTORE",
"gas": 88830,
"gasCost": 22100,
"depth": 1,
"stack": [
"0x1",
"0x0"
],
"memory": [],
"storage": {
"0000000000000000000000000000000000000000000000000000000000000000": "0000000000000000000000000000000000000000000000000000000000000001"
}
},
{
"pc": 5,
"op": "PUSH1",
"gas": 66730,
"gasCost": 3,
"depth": 1,
"stack": [],
"memory": []
},
{
"pc": 7,
"op": "PUSH1",
"gas": 66727,
"gasCost": 3,
"depth": 1,
"stack": [
"0x0"
],
"memory": []
},
{
"pc": 9,
"op": "PUSH1",
"gas": 66724,
"gasCost": 3,
"depth": 1,
"stack": [
"0x0",
"0x0"
],
"memory": []
},
{
"pc": 11,
"op": "PUSH1",
"gas": 66721,
"gasCost": 3,
"depth": 1,
"stack": [
"0x0",
"0x0",
"0x0"
],
"memory": []
},
{
"pc": 13,
"op": "PUSH1",
"gas": 66718,
"gasCost": 3,
"depth": 1,
"stack": [
"0x0",
"0x0",
"0x0",
"0x0"
],
"memory": []
},
{
"pc": 15,
"op": "PUSH20",
"gas": 66715,
"gasCost": 3,
"depth": 1,
"stack": [
"0x0",
"0x0",
"0x0",
"0x0",
"0x0"
],
"memory": []
},
{
"pc": 36,
"op": "PUSH1",
"gas": 66712,
"gasCost": 3,
"depth": 1,
"stack": [
"0x0",
"0x0",
"0x0",
"0x0",
"0x0",
"0xb000000000000000000000000000000000000000"
],
"memory": []
},
{
"pc": 38,
"op": "CALLDATALOAD",
"gas": 66709,
"gasCost": 3,
"depth": 1,
"stack": [
"0x0",
"0x0",
"0x0",
"0x0",
"0x0",
"0xb000000000000000000000000000000000000000",
"0x0"
],
"memory": []
},
{
"pc": 39,
"op": "CALL",
"gas": 66706,
"gasCost": 65705,
"depth": 1,
"stack": [
"0x0",
"0x0",
"0x0",
"0x0",
"0x0",
"0xb000000000000000000000000000000000000000",
"0x1ea60"
],
"memory": []
},
{
"pc": 0,
"op": "PUSH1",
"gas": 63105,
"gasCost": 3,
"depth": 2,
"stack": [],
"memory": []
},
{
"pc": 2,
"op": "PUSH1",
"gas": 63102,
"gasCost": 3,
"depth": 2,
"stack": [
"0x8"
],
"memory": []
},
{
"pc": 4,
"op": "SSTORE",
"gas": 63099,
"gasCost": 22100,
"depth": 2,
"stack": [
"0x8",
"0x2"
],
"memory": [],
"storage": {
"0000000000000000000000000000000000000000000000000000000000000002": "0000000000000000000000000000000000000000000000000000000000000008"
}
},
{
"pc": 5,
"op": "PUSH1",
"gas": 40999,
"gasCost": 3,
"depth": 2,
"stack": [],
"memory": []
},
{
"pc": 7,
"op": "PUSH1",
"gas": 40996,
"gasCost": 3,
"depth": 2,
"stack": [
"0x0"
],
"memory": []
},
{
"pc": 9,
"op": "PUSH1",
"gas": 40993,
"gasCost": 3,
"depth": 2,
"stack": [
"0x0",
"0x0"
],
"memory": []
},
{
"pc": 11,
"op": "PUSH1",
"gas": 40990,
"gasCost": 3,
"depth": 2,
"stack": [
"0x0",
"0x0",
"0x0"
],
"memory": []
},
{
"pc": 13,
"op": "CREATE2",
"gas": 40987,
"gasCost": 32000,
"depth": 2,
"stack": [
"0x0",
"0x0",
"0x0",
"0x0"
],
"memory": []
},
{
"pc": 14,
"op": "POP",
"gas": 8987,
"gasCost": 2,
"depth": 2,
"stack": [
"0x5a28fc366483258507bcf739658573cb47e4fad"
],
"memory": []
},
{
"pc": 15,
"op": "PUSH1",
"gas": 8985,
"gasCost": 3,
"depth": 2,
"stack": [],
"memory": []
},
{
"pc": 17,
"op": "PUSH1",
"gas": 8982,
"gasCost": 3,
"depth": 2,
"stack": [
"0xc"
],
"memory": []
},
{
"pc": 19,
"op": "SSTORE",
"gas": 8979,
"gasCost": 22100,
"depth": 2,
"error": "out of gas",
"stack": [
"0xc",
"0x3"
],
"memory": [],
"storage": {
"0000000000000000000000000000000000000000000000000000000000000002": "0000000000000000000000000000000000000000000000000000000000000008",
"0000000000000000000000000000000000000000000000000000000000000003": "000000000000000000000000000000000000000000000000000000000000000c"
}
},
{
"pc": 40,
"op": "PUSH1",
"gas": 1001,
"gasCost": 3,
"depth": 1,
"stack": [
"0x0"
],
"memory": []
},
{
"pc": 42,
"op": "SSTORE",
"gas": 998,
"gasCost": 0,
"depth": 1,
"error": "out of gas",
"stack": [
"0x0",
"0x1"
],
"memory": [],
"storage": {
"0000000000000000000000000000000000000000000000000000000000000000": "0000000000000000000000000000000000000000000000000000000000000001",
"0000000000000000000000000000000000000000000000000000000000000001": "0000000000000000000000000000000000000000000000000000000000000000"
}
}
]
}
Loading

0 comments on commit fac59d6

Please sign in to comment.