Move ERA test vectors to external repo, download at test time

Test vectors are now hosted at dapplion/era-test-vectors and downloaded
via Makefile (same pattern as slashing_protection interchange tests).
This commit is contained in:
dapplion
2026-03-08 19:10:52 -05:00
parent 6cc3d63c8b
commit f368a9a31e
32 changed files with 229 additions and 574 deletions

View File

@@ -1,3 +1,16 @@
/// ERA file support for importing and exporting historical beacon chain data.
///
/// ERA files store beacon blocks and states in a standardized archive format, enabling
/// efficient distribution of historical chain data between clients. Each ERA file covers
/// one "era" of `SLOTS_PER_HISTORICAL_ROOT` slots (8192 on mainnet) and contains:
/// - All beacon blocks in the slot range
/// - The boundary `BeaconState` at the end of the range
///
/// Verification relies on `historical_roots` (pre-Capella) and `historical_summaries`
/// (post-Capella) which commit to the block and state roots for each era.
///
/// Spec: <https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/beacon-chain.md#historical-roots-updates>
/// Format: <https://github.com/status-im/nimbus-eth2/blob/stable/docs/the_auditors_handbook/src/02.4_the_era_file_format.md>
pub mod consumer;
pub mod producer;