Skip to content

Instantly share code, notes, and snippets.

@namiloh
Created August 26, 2023 13:04
Show Gist options
  • Save namiloh/daa1f238021dc57873964dd2c41bebd6 to your computer and use it in GitHub Desktop.
Save namiloh/daa1f238021dc57873964dd2c41bebd6 to your computer and use it in GitHub Desktop.
{
"00000701-mixed-0": {
"env": {
"currentCoinbase": "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"currentDifficulty": "0x200000",
"currentRandom": "0x0000000000000000000000000000000000000000000000000000000000020000",
"currentGasLimit": "0x26e1f476fe1e22",
"currentNumber": "0x1",
"currentTimestamp": "0x3e8",
"previousHash": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d",
"currentBaseFee": "0x10"
},
"pre": {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b": {
"code": "0x",
"storage": {},
"balance": "0xffffffffff",
"nonce": "0x0"
}
},
"transaction": {
"gasPrice": "0x10",
"nonce": "0x0",
"to": "0x00000000000000000000000000000000000000f1",
"data": [
"0x5b9ef5d9f063e54ce8d38b3bd8f4764883111a9e3e02dcfa"
],
"gasLimit": [
"0x5388"
],
"value": [
"0xcd49"
],
"sender": "0x0000000000000000000000000000000000000000",
"secretKey": "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
},
"out": "0x",
"post": {
"Shanghai": [
{
"hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"logs": "0x0000000000000000000000000000000000000000000000000000000000000000",
"indexes": {
"data": 0,
"gas": 0,
"value": 0
}
}
]
}
}
}
-------
prev:           both: 
diff:         geth-0: {"stateRoot":"0xed65515fae3ed67a4681ae7092d7ea9db6e40989fff52794657c1407f1bab6e8"}
diff:       evmone-0: {"stateRoot":"0x7826da01a3193d16a5bfa9144fdd01bd3f80d73f98aca8d59360c02baf6b2d35"}
Consensus error
Testcase: /tmp/00000701-mixed-0.json.tmp
- geth-0: ./geth-0-output.jsonl
  - command: /home/martin/workspace/evm --json --noreturndata --nomemory statetest /tmp/00000701-mixed-0.json
- evmone-0: ./evmone-0-output.jsonl
  - command: /home/martin/workspace/evmone-statetest --trace /tmp/00000701-mixed-0.json

Differing stateroots

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment