Skip to content

Commit

Permalink
Enable RankedTier for Astar & Shiden (#1288)
Browse files Browse the repository at this point in the history
  • Loading branch information
ermalkaleci authored Jul 4, 2024
1 parent b5aa777 commit c3227eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion runtime/astar/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<true>;
type WeightInfo = weights::pallet_dapp_staking_v3::SubstrateWeight<Runtime>;
#[cfg(feature = "runtime-benchmarks")]
type BenchmarkHelper = BenchmarkHelper<SmartContract<AccountId>, AccountId>;
Expand Down
2 changes: 1 addition & 1 deletion runtime/shiden/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<true>;
type WeightInfo = weights::pallet_dapp_staking_v3::SubstrateWeight<Runtime>;
#[cfg(feature = "runtime-benchmarks")]
type BenchmarkHelper = BenchmarkHelper<SmartContract<AccountId>, AccountId>;
Expand Down

0 comments on commit c3227eb

Please sign in to comment.