test_bal_invalid_hash_mismatch()¶
Documentation for tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists_invalid.py::test_bal_invalid_hash_mismatch@87aba1a3.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists_invalid.py::test_bal_invalid_hash_mismatch --fork Amsterdam
Test that clients reject blocks where the BAL hash in the header does not match the actual BAL content.
Unlike other invalid BAL tests which corrupt the BAL content while keeping the header hash consistent with the corrupted data, this test keeps the BAL valid but injects a wrong hash into the header via rlp_modifier.
Source code in tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists_invalid.py
1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 1 fork.