-
Notifications
You must be signed in to change notification settings - Fork 1.6k
chore(DONOTMERGE): Show tests failing when using history_by_block_hash
#15631
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
kevaundray
wants to merge
8
commits into
paradigmxyz:main
from
kevaundray:kw/reduced_test_case_minimal
Closed
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
31f8fcb
comment out general_state_tests
kevaundray 52d66c7
minimal amount of changes needed to switch from ExecutionStage to Exe…
kevaundray 7046179
running make ef-tests works
kevaundray afc64a3
switch to `history_by_block_hash`
kevaundray 92f2ff6
running make ef-tests fails
kevaundray da0588f
include simpleTx.json file
kevaundray 79c2cf1
genesis hash differ question mark
kevaundray 81c1034
fix
kevaundray File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +0,0 @@ | ||
ethereum-tests | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
138 changes: 138 additions & 0 deletions
138
testing/ef-tests/ethereum-tests/BlockchainTests/ValidBlocks/bcValidBlockTest/SimpleTx.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,138 @@ | ||
{ | ||
"SimpleTx_Cancun" : { | ||
"_info" : { | ||
"comment" : "", | ||
"filling-rpc-server" : "evm version 1.14.4-unstable-3d8028a6-20240513", | ||
"filling-tool-version" : "retesteth-0.3.2-cancun+commit.cae6bc33.Linux.g++", | ||
"generatedTestHash" : "837301e28e17d2f6f47c0692ca9c6014fe41c573376866807cb7ec9479047236", | ||
"lllcversion" : "Version: 0.5.14-develop.2023.7.11+commit.c58ab2c6.mod.Linux.g++", | ||
"solidity" : "Version: 0.8.21+commit.d9974bed.Linux.g++", | ||
"source" : "src/BlockchainTestsFiller/ValidBlocks/bcValidBlockTest/SimpleTxFiller.json", | ||
"sourceHash" : "930e4ab655caa0b7be2b842eb649227e2370804466ce4b59514474824dd70e7a" | ||
}, | ||
"blocks" : [ | ||
{ | ||
"blockHeader" : { | ||
"baseFeePerGas" : "0x0e", | ||
"blobGasUsed" : "0x00", | ||
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | ||
"coinbase" : "0x8888f1f195afa192cfee860698584c030f4c9db1", | ||
"difficulty" : "0x00", | ||
"excessBlobGas" : "0x00", | ||
"extraData" : "0x42", | ||
"gasLimit" : "0x2fefd8", | ||
"gasUsed" : "0x5208", | ||
"hash" : "0x2eea30bb0f2ff08a7ef4d56881f4505d50c02a1e904408f6f054152d048aaace", | ||
"mixHash" : "0x0000000000000000000000000000000000000000000000000000000000020000", | ||
"nonce" : "0x0000000000000000", | ||
"number" : "0x01", | ||
"parentBeaconBlockRoot" : "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"parentHash" : "0x8cbc69e33bd85b1f8d7bc6cae8f1d4502b74cfd0cd5f24a558c0d0c257c69daa", | ||
"receiptTrie" : "0x056b23fbba480696b65fe5a59b8f2148a1299103c4f57df839233af2cf4ca2d2", | ||
"stateRoot" : "0xc38d881219a710cef8ba02b496f9211c657fbe8c18de3909d353cdc1a8d4e16f", | ||
"timestamp" : "0x54c99069", | ||
"transactionsTrie" : "0x2b2fa1d2e13bdd645394906fd2737efa1f8f5e007a73e601e6db2ce4e1817d06", | ||
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", | ||
"withdrawalsRoot" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421" | ||
}, | ||
"blocknumber" : "1", | ||
"chainname" : "default", | ||
"rlp" : "0xf902a5f9023ba08cbc69e33bd85b1f8d7bc6cae8f1d4502b74cfd0cd5f24a558c0d0c257c69daaa01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347948888f1f195afa192cfee860698584c030f4c9db1a0c38d881219a710cef8ba02b496f9211c657fbe8c18de3909d353cdc1a8d4e16fa02b2fa1d2e13bdd645394906fd2737efa1f8f5e007a73e601e6db2ce4e1817d06a0056b23fbba480696b65fe5a59b8f2148a1299103c4f57df839233af2cf4ca2d2b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008001832fefd88252088454c9906942a000000000000000000000000000000000000000000000000000000000000200008800000000000000000ea056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b4218080a00000000000000000000000000000000000000000000000000000000000000000f863f861808203e882c35094095e7baea6a6c7c4c2dfeb977efac326af552d870a801ca0446eb869f0f7f365d5fa3e649c42eba5f9b3f66092c0841e74bd6092ea08342da0626c0c7cb722f7b8aed94db18bed4f14fe2300bf7f68ce8f40e285914db6d273c0c0", | ||
"transactions" : [ | ||
{ | ||
"data" : "0x", | ||
"gasLimit" : "0xc350", | ||
"gasPrice" : "0x03e8", | ||
"nonce" : "0x00", | ||
"r" : "0x446eb869f0f7f365d5fa3e649c42eba5f9b3f66092c0841e74bd6092ea08342d", | ||
"s" : "0x626c0c7cb722f7b8aed94db18bed4f14fe2300bf7f68ce8f40e285914db6d273", | ||
"sender" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", | ||
"to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87", | ||
"v" : "0x1c", | ||
"value" : "0x0a" | ||
} | ||
], | ||
"uncleHeaders" : [ | ||
], | ||
"withdrawals" : [ | ||
] | ||
} | ||
], | ||
"genesisBlockHeader" : { | ||
"baseFeePerGas" : "0x10", | ||
"blobGasUsed" : "0x00", | ||
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | ||
"coinbase" : "0x8888f1f195afa192cfee860698584c030f4c9db1", | ||
"difficulty" : "0x00", | ||
"excessBlobGas" : "0x00", | ||
"extraData" : "0x42", | ||
"gasLimit" : "0x2fefd8", | ||
"gasUsed" : "0x00", | ||
"hash" : "0x8cbc69e33bd85b1f8d7bc6cae8f1d4502b74cfd0cd5f24a558c0d0c257c69daa", | ||
"mixHash" : "0x0000000000000000000000000000000000000000000000000000000000020000", | ||
"nonce" : "0x0000000000000000", | ||
"number" : "0x00", | ||
"parentBeaconBlockRoot" : "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", | ||
"stateRoot" : "0x53c881003b15376a1d1d235531d20bfccc8f1bdce9caeb6a6c5ac64a9c9b1e93", | ||
"timestamp" : "0x54c98c81", | ||
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", | ||
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", | ||
"withdrawalsRoot" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421" | ||
}, | ||
"genesisRLP" : "0xf9023ff90239a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347948888f1f195afa192cfee860698584c030f4c9db1a053c881003b15376a1d1d235531d20bfccc8f1bdce9caeb6a6c5ac64a9c9b1e93a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008080832fefd8808454c98c8142a0000000000000000000000000000000000000000000000000000000000002000088000000000000000010a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b4218080a00000000000000000000000000000000000000000000000000000000000000000c0c0c0", | ||
"lastblockhash" : "0x2eea30bb0f2ff08a7ef4d56881f4505d50c02a1e904408f6f054152d048aaace", | ||
"network" : "Cancun", | ||
"postState" : { | ||
"0x000f3df6d732807ef1319fb7b8bb8522d0beac02" : { | ||
"balance" : "0x00", | ||
"code" : "0x3373fffffffffffffffffffffffffffffffffffffffe14604d57602036146024575f5ffd5b5f35801560495762001fff810690815414603c575f5ffd5b62001fff01545f5260205ff35b5f5ffd5b62001fff42064281555f359062001fff015500", | ||
"nonce" : "0x01", | ||
"storage" : { | ||
"0x12e2" : "0x54c98c81", | ||
"0x16ca" : "0x54c99069" | ||
} | ||
}, | ||
"0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : { | ||
"balance" : "0x0a", | ||
"code" : "0x", | ||
"nonce" : "0x00", | ||
"storage" : { | ||
} | ||
}, | ||
"0x8888f1f195afa192cfee860698584c030f4c9db1" : { | ||
"balance" : "0x013bf2d0", | ||
"code" : "0x", | ||
"nonce" : "0x00", | ||
"storage" : { | ||
} | ||
}, | ||
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { | ||
"balance" : "0x0252cb74b6", | ||
"code" : "0x", | ||
"nonce" : "0x01", | ||
"storage" : { | ||
} | ||
} | ||
}, | ||
"pre" : { | ||
"0x000f3df6d732807ef1319fb7b8bb8522d0beac02" : { | ||
"balance" : "0x00", | ||
"code" : "0x3373fffffffffffffffffffffffffffffffffffffffe14604d57602036146024575f5ffd5b5f35801560495762001fff810690815414603c575f5ffd5b62001fff01545f5260205ff35b5f5ffd5b62001fff42064281555f359062001fff015500", | ||
"nonce" : "0x01", | ||
"storage" : { | ||
"0x12e2" : "0x54c98c81" | ||
} | ||
}, | ||
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { | ||
"balance" : "0x02540be400", | ||
"code" : "0x", | ||
"nonce" : "0x00", | ||
"storage" : { | ||
} | ||
} | ||
}, | ||
"sealEngine" : "NoProof" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would have expected these to be the same, I get:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah the chain_spec is derived from the ForkId, so it is using the default genesis block for that fork instead of the genesis block header in the json file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From what I can see then: