We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8853822 commit b75342dCopy full SHA for b75342d
runtime/common/src/precompile/liquid_crowdloan.rs
@@ -124,14 +124,11 @@ where
124
let read_account = InputPricer::<Runtime>::read_accounts(1);
125
let weight = <Runtime as module_liquid_crowdloan::Config>::WeightInfo::redeem();
126
127
- Self::BASE_COST
128
- .saturating_add(read_account)
129
- .saturating_add(WeightToGas::convert(weight))
+ read_account.saturating_add(WeightToGas::convert(weight))
130
}
131
Action::GetRedeemCurrency => {
132
let weight = <Runtime as frame_system::Config>::DbWeight::get().reads(1);
133
-
134
- Self::BASE_COST.saturating_add(WeightToGas::convert(weight))
+ WeightToGas::convert(weight)
135
136
};
137
Ok(Self::BASE_COST.saturating_add(cost))
0 commit comments