mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Update runtime to latest substrate
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user