mirror of
https://github.com/serai-dex/serai.git
synced 2025-02-02 03:06:31 +00:00
Update runtime to latest substrate
This commit is contained in:
parent
943438628d
commit
4a81640ab8
1 changed files with 8 additions and 0 deletions
|
@ -437,5 +437,13 @@ sp_api::impl_runtime_apis! {
|
|||
) -> transaction_payment::FeeDetails<SubstrateAmount> {
|
||||
TransactionPayment::query_fee_details(uxt, len)
|
||||
}
|
||||
|
||||
fn query_weight_to_fee(weight: Weight) -> SubstrateAmount {
|
||||
TransactionPayment::weight_to_fee(weight)
|
||||
}
|
||||
|
||||
fn query_length_to_fee(length: u32) -> SubstrateAmount {
|
||||
TransactionPayment::length_to_fee(length)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue