mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 00:31:02 +00:00
* Companion for https://github.com/paritytech/substrate/pull/11415 * Rename `WeightToFee::calc()` to `WeightToFee::wight_to_fee()` * Fix typo * Fix compile errors * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -103,7 +103,7 @@ pub(crate) mod tests {
|
||||
// for simplicity - add extra weight for base tx fee + fee that is paid for the tx size +
|
||||
// adjusted fee
|
||||
let single_source_header_submit_tx_weight = single_source_header_submit_call_weight * 3 / 2;
|
||||
let single_source_header_tx_cost = W::calc(&single_source_header_submit_tx_weight);
|
||||
let single_source_header_tx_cost = W::weight_to_fee(&single_source_header_submit_tx_weight);
|
||||
single_source_header_tx_cost * B::from(expected_source_headers_per_day)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user