Etan Kissling c63862cf88
validate EL block hash when running consensus block tests (#6406)
* validate EL block hash when running consensus block tests

We currently don't have an easy way to test EL block hash computation.
As the EL block hash in consensus-spec-tests is computed correctly,
update the test runners that load block from test files to also verify
the EL block hash. This increases missing test coverage.

Requires https://github.com/ethereum/consensus-specs/pull/3829

* fix

* resolve merge conflicts

* fix genesis case, and deal with `incorrect_block_hash` test

* add missing export marker

* fix import

* htr mutates underlying data, messing with differ, create copy in test

* Handle payloads with empty tx (unsupported in ordered trie tool)

* Update copyright years

---------

Co-authored-by: tersec <tersec@users.noreply.github.com>
2025-01-10 13:34:49 +00:00
..
2024-11-13 10:29:14 +07:00
2024-11-13 10:29:14 +07:00
2020-06-01 16:58:28 +03:00
2024-11-13 10:29:14 +07:00
2024-03-19 14:22:07 +01:00