Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
scalar div
Browse files Browse the repository at this point in the history
  • Loading branch information
shawntabrizi committed Aug 30, 2022
1 parent 60b1b33 commit ec35b84
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions xcm/xcm-simulator/example/src/parachain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ impl pallet_balances::Config for Runtime {
}

parameter_types! {
pub const ReservedXcmpWeight: Weight = Weight::from_ref_time(WEIGHT_PER_SECOND.ref_time() / 4);
pub const ReservedDmpWeight: Weight = Weight::from_ref_time(WEIGHT_PER_SECOND.ref_time() / 4);
pub const ReservedXcmpWeight: Weight = WEIGHT_PER_SECOND.scalar_div(4);
pub const ReservedDmpWeight: Weight = WEIGHT_PER_SECOND.scalar_div(4);
}

parameter_types! {
Expand Down
4 changes: 2 additions & 2 deletions xcm/xcm-simulator/fuzzer/src/parachain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ impl pallet_balances::Config for Runtime {
}

parameter_types! {
pub const ReservedXcmpWeight: Weight = Weight::from_ref_time(WEIGHT_PER_SECOND.ref_time() / 4);
pub const ReservedDmpWeight: Weight = Weight::from_ref_time(WEIGHT_PER_SECOND.ref_time() / 4);
pub const ReservedXcmpWeight: Weight = WEIGHT_PER_SECOND.scalar_div(4);
pub const ReservedDmpWeight: Weight = WEIGHT_PER_SECOND.scalar_div(4);
}

parameter_types! {
Expand Down

0 comments on commit ec35b84

Please sign in to comment.