From c3227ebe0df4195b955b51944581ebda1a80cfbc Mon Sep 17 00:00:00 2001 From: Ermal Kaleci Date: Thu, 4 Jul 2024 18:02:44 +0200 Subject: [PATCH] Enable RankedTier for Astar & Shiden (#1288) --- runtime/astar/src/lib.rs | 2 +- runtime/shiden/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/astar/src/lib.rs b/runtime/astar/src/lib.rs index 5a5eccbed..7f54a0add 100644 --- a/runtime/astar/src/lib.rs +++ b/runtime/astar/src/lib.rs @@ -381,7 +381,7 @@ impl pallet_dapp_staking_v3::Config for Runtime { type MaxNumberOfStakedContracts = ConstU32<16>; type MinimumStakeAmount = MinimumStakingAmount; type NumberOfTiers = ConstU32<4>; - type RankingEnabled = (); + type RankingEnabled = ConstBool; type WeightInfo = weights::pallet_dapp_staking_v3::SubstrateWeight; #[cfg(feature = "runtime-benchmarks")] type BenchmarkHelper = BenchmarkHelper, AccountId>; diff --git a/runtime/shiden/src/lib.rs b/runtime/shiden/src/lib.rs index 3545210d4..d30cb06bb 100644 --- a/runtime/shiden/src/lib.rs +++ b/runtime/shiden/src/lib.rs @@ -394,7 +394,7 @@ impl pallet_dapp_staking_v3::Config for Runtime { type MaxNumberOfStakedContracts = ConstU32<16>; type MinimumStakeAmount = MinimumStakingAmount; type NumberOfTiers = ConstU32<4>; - type RankingEnabled = (); + type RankingEnabled = ConstBool; type WeightInfo = weights::pallet_dapp_staking_v3::SubstrateWeight; #[cfg(feature = "runtime-benchmarks")] type BenchmarkHelper = BenchmarkHelper, AccountId>;