Skip to content

Commit

Permalink
change max claim weight to 10 % from reserved (#1256)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZlayaMorda authored Oct 28, 2024
1 parent e8423aa commit 9a71600
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1815,8 +1815,8 @@ impl pallet_offences::Config for Runtime {
parameter_types! {
pub const MaxVestingSchedules: u32 = 20;
pub const MinVestedTransfer: Balance = 1;
// TODO: set after benchmarking
pub MaxWeightForAutoClaim: Weight = Perbill::from_percent(10) * BlockWeights::get().max_block;
pub MaxWeightForAutoClaim: Weight = BlockWeights::get().per_class.get(DispatchClass::Operational)
.reserved.expect("Error get reserved weight") * Perbill::from_percent(10);
}

impl vested_rewards::Config for Runtime {
Expand Down

0 comments on commit 9a71600

Please sign in to comment.