Skip to content

Commit

Permalink
eth/tracers: set donutBlock=0 in testcase
Browse files Browse the repository at this point in the history
Signed-off-by: Delweng <delweng@gmail.com>
  • Loading branch information
jsvisa committed Nov 7, 2022
1 parent dea617c commit 7964d95
Show file tree
Hide file tree
Showing 23 changed files with 49 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"eip150Hash": "0x41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d",
"eip155Block": 10,
"eip158Block": 10,
"homesteadBlock": 0
"homesteadBlock": 0,
"donutBlock": 0
},
"extraData": "0x566961425443",
"hash": "0xae107f592eebdd9ff8d6ba00363676096e6afb0e1007a7d3d0af88173077378d",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@
"eip150Hash": "0x41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d",
"eip155Block": 10,
"eip158Block": 10,
"homesteadBlock": 0
"homesteadBlock": 0,
"donutBlock": 0
},
"extraData": "0xd5830105008650617269747986312e31322e31826d61",
"hash": "0xad325e4c49145fb7a4058a68ac741cc8607a71114e23fc88083c7e881dd653e7",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
"eip150Hash": "0x41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d",
"eip155Block": 10,
"eip158Block": 10,
"homesteadBlock": 0
"homesteadBlock": 0,
"donutBlock": 0
},
"extraData": "0xd783010502846765746887676f312e372e33856c696e7578",
"hash": "0x0855914bdc581bccdc62591fd438498386ffb59ea4d5361ed5c3702e26e2c72f",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"constantinopleBlock": 4230000,
"petersburgBlock": 4939394,
"istanbulBlock": 6485846,
"donutBlock": 0,
"muirGlacierBlock": 7117117,
"ethash": {}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"eip150Hash": "0x41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d",
"eip155Block": 10,
"eip158Block": 10,
"homesteadBlock": 0
"homesteadBlock": 0,
"donutBlock": 0
},
"extraData": "0x566961425443",
"hash": "0x6f37eb930a25da673ea1bb80fd9e32ddac19cdf7cd4bb2eac62cc13598624077",
Expand Down
3 changes: 2 additions & 1 deletion eth/tracers/internal/tracetest/testdata/call_tracer/oog.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"eip150Hash": "0x41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d",
"eip155Block": 10,
"eip158Block": 10,
"homesteadBlock": 0
"homesteadBlock": 0,
"donutBlock": 0
},
"extraData": "0x4554482e45544846414e532e4f52472d4641313738394444",
"hash": "0x03a0f62a8106793dafcfae7b75fd2654322062d585a19cea568314d7205790dc",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"eip150Hash": "0x41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d",
"eip155Block": 10,
"eip158Block": 10,
"homesteadBlock": 0
"homesteadBlock": 0,
"donutBlock": 0
},
"extraData": "0x4554482e45544846414e532e4f52472d4641313738394444",
"hash": "0xa07b3d6c6bf63f5f981016db9f2d1d93033833f2c17e8bf7209e85f1faf08076",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,16 @@
"byzantiumBlock": 0,
"constantinopleBlock": 0,
"petersburgBlock": 0,
"IstanbulBlock":1561651,
"IstanbulBlock": 1561651,
"chainId": 5,
"daoForkSupport": true,
"eip150Block": 0,
"eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"eip155Block": 10,
"eip158Block": 10,
"ethash": {},
"homesteadBlock": 0
"homesteadBlock": 0,
"donutBlock": 0
},
"difficulty": "3509749784",
"extraData": "0x4554482e45544846414e532e4f52472d4641313738394444",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
"eip155Block": 10,
"eip158Block": 10,
"ethash": {},
"homesteadBlock": 0
"homesteadBlock": 0,
"donutBlock": 0
},
"difficulty": "3509749784",
"extraData": "0x4554482e45544846414e532e4f52472d4641313738394444",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
"eip155Block": 10,
"eip158Block": 10,
"ethash": {},
"homesteadBlock": 0
"homesteadBlock": 0,
"donutBlock": 0
},
"difficulty": "3509749784",
"extraData": "0x4554482e45544846414e532e4f52472d4641313738394444",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"eip150Hash": "0x41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d",
"eip155Block": 10,
"eip158Block": 10,
"homesteadBlock": 0
"homesteadBlock": 0,
"donutBlock": 0
},
"extraData": "0xd783010502846765746887676f312e372e33856c696e7578",
"hash": "0xe23e8d4562a1045b70cbc99fefb20c101a8f0fc8559a80d65fea8896e2f1d46e",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"eip155Block": 10,
"eip158Block": 10,
"ethash": {},
"homesteadBlock": 0
"homesteadBlock": 0,
"donutBlock": 0
},
"difficulty": "3757315409",
"extraData": "0x566961425443",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@
"eip155Block": 10,
"eip158Block": 10,
"ethash": {},
"homesteadBlock": 0
"homesteadBlock": 0,
"donutBlock": 0
},
"difficulty": "117124093",
"extraData": "0xd5830105008650617269747986312e31322e31826d61",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
"eip155Block": 10,
"eip158Block": 10,
"ethash": {},
"homesteadBlock": 0
"homesteadBlock": 0,
"donutBlock": 0
},
"difficulty": "31912170",
"extraData": "0xd783010502846765746887676f312e372e33856c696e7578",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"0x5cb4a6b902fcb21588c86c3517e797b07cdaadb9": {
"balance": "0x0",
"code": "0x",
"code": "0x",
"nonce": "0",
"storage": {}
},
Expand All @@ -35,7 +35,8 @@
"eip150Hash": "0x41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d",
"eip155Block": 10,
"eip158Block": 10,
"homesteadBlock": 0
"homesteadBlock": 0,
"donutBlock": 0
},
"extraData": "0x4554482e45544846414e532e4f52472d4641313738394444",
"hash": "0x5d52a672417cd1269bf4f7095e25dcbf837747bba908cd5ef809dc1bd06144b5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"config": {
"chainId": 3,
"homesteadBlock": 0,
"donutBlock": 0,
"daoForkSupport": true,
"eip150Block": 0,
"eip150Hash": "0x41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d",
Expand Down Expand Up @@ -64,7 +65,7 @@
"from": "0x6c06b16512b332e6cd8293a2974872674716ce18",
"to": "0x66fdfd05e46126a07465ad24e40cc0597bc1ef31",
"value": "0x14d1120d7b160000",
"error":"internal failure",
"error": "internal failure",
"input": "0x"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
"eip155Block": 10,
"eip158Block": 10,
"ethash": {},
"homesteadBlock": 0
"homesteadBlock": 0,
"donutBlock": 0
},
"difficulty": "3956606365",
"extraData": "0x566961425443",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
"eip155Block": 10,
"eip158Block": 10,
"ethash": {},
"homesteadBlock": 0
"homesteadBlock": 0,
"donutBlock": 0
},
"difficulty": "3699098917",
"extraData": "0x4554482e45544846414e532e4f52472d4641313738394444",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"eip155Block": 10,
"eip158Block": 10,
"ethash": {},
"homesteadBlock": 0
"homesteadBlock": 0,
"donutBlock": 0
},
"difficulty": "3672229776",
"extraData": "0x4554482e45544846414e532e4f52472d4641313738394444",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,16 @@
"byzantiumBlock": 0,
"constantinopleBlock": 0,
"petersburgBlock": 0,
"IstanbulBlock":1561651,
"IstanbulBlock": 1561651,
"chainId": 5,
"daoForkSupport": true,
"eip150Block": 0,
"eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"eip155Block": 10,
"eip158Block": 10,
"ethash": {},
"homesteadBlock": 0
"homesteadBlock": 0,
"donutBlock": 0
},
"difficulty": "3509749784",
"extraData": "0x4554482e45544846414e532e4f52472d4641313738394444",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
"eip155Block": 10,
"eip158Block": 10,
"ethash": {},
"homesteadBlock": 0
"homesteadBlock": 0,
"donutBlock": 0
},
"difficulty": "3509749784",
"extraData": "0x4554482e45544846414e532e4f52472d4641313738394444",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"0x0000000000000000000000000000000000000000000000000000000000000003": "0x000000000000000000000000000000000000000000000000000000005a37b834"
}
},
"0xa94f5374Fce5edBC8E2a8697C15331677e6EbF0B": {
"0xa94f5374Fce5edBC8E2a8697C15331677e6EbF0B": {
"balance": "0x1780d77678137ac1b775",
"code": "0x",
"nonce": "29072",
Expand All @@ -38,7 +38,8 @@
"eip150Hash": "0x41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d",
"eip155Block": 10,
"eip158Block": 10,
"homesteadBlock": 0
"homesteadBlock": 0,
"donutBlock": 0
},
"extraData": "0x4554482e45544846414e532e4f52472d4641313738394444",
"hash": "0x609948ac3bd3c00b7736b933248891d6c901ee28f066241bddb28f4e00a9f440",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"eip155Block": 10,
"eip158Block": 10,
"ethash": {},
"homesteadBlock": 0
"homesteadBlock": 0,
"donutBlock": 0
},
"difficulty": "117066792",
"extraData": "0xd783010502846765746887676f312e372e33856c696e7578",
Expand Down

0 comments on commit 7964d95

Please sign in to comment.