Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,9 @@ parameter_types! {
epoch: 0,
},
};
pub const FinalizedHeaderPruneThreshold:u32 = 200;
pub const ExecutionHeadersPruneThreshold:u32 = 1000;
pub const SyncCommitteePruneThreshold:u32 = 4;
}

#[cfg(not(feature = "minimal"))]
Expand All @@ -627,13 +630,19 @@ parameter_types! {
epoch: 162304,
},
};
pub const FinalizedHeaderPruneThreshold:u32 = 200;
pub const ExecutionHeadersPruneThreshold:u32 = 1000;
pub const SyncCommitteePruneThreshold:u32 = 4;
}

impl snowbridge_ethereum_beacon_client::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type TimeProvider = pallet_timestamp::Pallet<Runtime>;
type ForkVersions = ChainForkVersions;
type WeakSubjectivityPeriodSeconds = WeakSubjectivityPeriodSeconds;
type FinalizedHeaderPruneThreshold = FinalizedHeaderPruneThreshold;
type ExecutionHeadersPruneThreshold = ExecutionHeadersPruneThreshold;
type SyncCommitteePruneThreshold = SyncCommitteePruneThreshold;
type WeightInfo = weights::snowbridge_ethereum_beacon_client::WeightInfo<Runtime>;
}

Expand Down