mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-13 14:39:25 +00:00
add economic security pallet to emission tests
This commit is contained in:
@@ -24,6 +24,7 @@ pub use dex_pallet as dex;
|
||||
pub use pallet_babe as babe;
|
||||
pub use pallet_grandpa as grandpa;
|
||||
pub use pallet_timestamp as timestamp;
|
||||
pub use economic_security_pallet as economic_security;
|
||||
|
||||
type Block = frame_system::mocking::MockBlock<Test>;
|
||||
// Maximum number of authorities per session.
|
||||
@@ -44,6 +45,7 @@ construct_runtime!(
|
||||
Dex: dex,
|
||||
Babe: babe,
|
||||
Grandpa: grandpa,
|
||||
EconomicSecurity: economic_security,
|
||||
}
|
||||
);
|
||||
|
||||
@@ -137,6 +139,10 @@ impl genesis_liquidity::Config for Test {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
}
|
||||
|
||||
impl economic_security::Config for Test {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
}
|
||||
|
||||
impl Config for Test {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user