diff --git a/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/lib.rs b/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/lib.rs index dbff27150d9..50e05aa3af4 100644 --- a/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/lib.rs +++ b/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/lib.rs @@ -602,6 +602,9 @@ parameter_types! { epoch: 0, }, }; + pub const MaxFinalizedHeadersToKeep:u32 = 200; + pub const MaxExecutionHeadersToKeep:u32 = 1000; + pub const MaxSyncCommitteesToKeep:u32 = 4; } #[cfg(not(feature = "minimal"))] @@ -627,6 +630,9 @@ parameter_types! { epoch: 162304, }, }; + pub const MaxFinalizedHeadersToKeep:u32 = 200; + pub const MaxExecutionHeadersToKeep:u32 = 1000; + pub const MaxSyncCommitteesToKeep:u32 = 4; } impl snowbridge_ethereum_beacon_client::Config for Runtime { @@ -634,6 +640,9 @@ impl snowbridge_ethereum_beacon_client::Config for Runtime { type TimeProvider = pallet_timestamp::Pallet; type ForkVersions = ChainForkVersions; type WeakSubjectivityPeriodSeconds = WeakSubjectivityPeriodSeconds; + type MaxFinalizedHeadersToKeep = MaxFinalizedHeadersToKeep; + type MaxExecutionHeadersToKeep = MaxExecutionHeadersToKeep; + type MaxSyncCommitteesToKeep = MaxSyncCommitteesToKeep; type WeightInfo = weights::snowbridge_ethereum_beacon_client::WeightInfo; }