From e7eacb54afd6e294c5d33a15f479b8abe8f43ef8 Mon Sep 17 00:00:00 2001 From: akildemir Date: Sun, 1 Sep 2024 12:24:14 +0300 Subject: [PATCH] add economic security pallet to emission tests --- substrate/emissions/pallet/src/mock.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/substrate/emissions/pallet/src/mock.rs b/substrate/emissions/pallet/src/mock.rs index 6bc6eead..aca52fbe 100644 --- a/substrate/emissions/pallet/src/mock.rs +++ b/substrate/emissions/pallet/src/mock.rs @@ -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; // 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; }