Skip to main content

MAX_ENTRIES_PER_ERA

Constant MAX_ENTRIES_PER_ERA 

Source
pub const MAX_ENTRIES_PER_ERA: u64 = 8192;
Expand description

Maximum number of entries per e2store era file.

One value for every era format: .era files store one beacon block per slot, and .ere/.era1 files cap their block count at the same number so the header-record accumulator (List[HeaderRecord, 8192]) stays within its SSZ size limit. Numerically this is the beacon chain SLOTS_PER_HISTORICAL_ROOT.