mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-25 12:06:02 +00:00
add economic security pallet to emission tests
This commit is contained in:
parent
5995e1887a
commit
e7eacb54af
1 changed files with 6 additions and 0 deletions
|
@ -24,6 +24,7 @@ pub use dex_pallet as dex;
|
||||||
pub use pallet_babe as babe;
|
pub use pallet_babe as babe;
|
||||||
pub use pallet_grandpa as grandpa;
|
pub use pallet_grandpa as grandpa;
|
||||||
pub use pallet_timestamp as timestamp;
|
pub use pallet_timestamp as timestamp;
|
||||||
|
pub use economic_security_pallet as economic_security;
|
||||||
|
|
||||||
type Block = frame_system::mocking::MockBlock<Test>;
|
type Block = frame_system::mocking::MockBlock<Test>;
|
||||||
// Maximum number of authorities per session.
|
// Maximum number of authorities per session.
|
||||||
|
@ -44,6 +45,7 @@ construct_runtime!(
|
||||||
Dex: dex,
|
Dex: dex,
|
||||||
Babe: babe,
|
Babe: babe,
|
||||||
Grandpa: grandpa,
|
Grandpa: grandpa,
|
||||||
|
EconomicSecurity: economic_security,
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -137,6 +139,10 @@ impl genesis_liquidity::Config for Test {
|
||||||
type RuntimeEvent = RuntimeEvent;
|
type RuntimeEvent = RuntimeEvent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl economic_security::Config for Test {
|
||||||
|
type RuntimeEvent = RuntimeEvent;
|
||||||
|
}
|
||||||
|
|
||||||
impl Config for Test {
|
impl Config for Test {
|
||||||
type RuntimeEvent = RuntimeEvent;
|
type RuntimeEvent = RuntimeEvent;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue