diff --git a/system-parachains/bridge-hubs/bridge-hub-kusama/src/bridge_to_ethereum_config.rs b/system-parachains/bridge-hubs/bridge-hub-kusama/src/bridge_to_ethereum_config.rs index 4e9851f6ac..84d2687572 100644 --- a/system-parachains/bridge-hubs/bridge-hub-kusama/src/bridge_to_ethereum_config.rs +++ b/system-parachains/bridge-hubs/bridge-hub-kusama/src/bridge_to_ethereum_config.rs @@ -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; } diff --git a/system-parachains/bridge-hubs/bridge-hub-polkadot/src/bridge_to_ethereum_config.rs b/system-parachains/bridge-hubs/bridge-hub-polkadot/src/bridge_to_ethereum_config.rs index c44c0862de..275dca00c8 100644 --- a/system-parachains/bridge-hubs/bridge-hub-polkadot/src/bridge_to_ethereum_config.rs +++ b/system-parachains/bridge-hubs/bridge-hub-polkadot/src/bridge_to_ethereum_config.rs @@ -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; }