Skip to content

Commit

Permalink
comment about max execution headers to keep
Browse files Browse the repository at this point in the history
  • Loading branch information
claravanstaden authored and claravanstaden committed Mar 25, 2024
1 parent 0241dd7 commit 410f9c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ parameter_types! {
}

parameter_types! {
// On Ethereum, a sync committee period spans 8192 slots, approximately 27 hours (or 256 epochs).
// We retain headers for 20 sync committee periods, equating to about 3 weeks. Headers older
// than this period are pruned.
pub const MaxExecutionHeadersToKeep: u32 = 8192 * 20;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ parameter_types! {
}

parameter_types! {
// On Ethereum, a sync committee period spans 8192 slots, approximately 27 hours (or 256 epochs).
// We retain headers for 20 sync committee periods, equating to about 3 weeks. Headers older
// than this period are pruned.
pub const MaxExecutionHeadersToKeep: u32 = 8192 * 20;
}

Expand Down

0 comments on commit 410f9c3

Please sign in to comment.