1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
pub use pallet_bridge_grandpa::Instance1 as WithPangolinGrandpa;
use pallet_bridge_grandpa::Config;
use crate::{weights::pallet_bridge_grandpa::WeightInfo, *};
frame_support::parameter_types! {
pub const MaxRequests: u32 = 50;
pub const HeadersToKeep: u32 = 7 * bp_pangolin::DAYS as u32;
}
impl Config<WithPangolinGrandpa> for Runtime {
type BridgedChain = bp_pangolin::Pangolin;
type HeadersToKeep = HeadersToKeep;
type MaxRequests = MaxRequests;
type WeightInfo = WeightInfo<Self>;
}