mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 07:01:03 +00:00
Collectives runtime: add query call info api (#1976)
This commit is contained in:
@@ -686,6 +686,23 @@ impl_runtime_apis! {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentCallApi<Block, Balance, RuntimeCall>
|
||||||
|
for Runtime
|
||||||
|
{
|
||||||
|
fn query_call_info(
|
||||||
|
call: RuntimeCall,
|
||||||
|
len: u32,
|
||||||
|
) -> pallet_transaction_payment::RuntimeDispatchInfo<Balance> {
|
||||||
|
TransactionPayment::query_call_info(call, len)
|
||||||
|
}
|
||||||
|
fn query_call_fee_details(
|
||||||
|
call: RuntimeCall,
|
||||||
|
len: u32,
|
||||||
|
) -> pallet_transaction_payment::FeeDetails<Balance> {
|
||||||
|
TransactionPayment::query_call_fee_details(call, len)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
impl cumulus_primitives_core::CollectCollationInfo<Block> for Runtime {
|
impl cumulus_primitives_core::CollectCollationInfo<Block> for Runtime {
|
||||||
fn collect_collation_info(header: &<Block as BlockT>::Header) -> cumulus_primitives_core::CollationInfo {
|
fn collect_collation_info(header: &<Block as BlockT>::Header) -> cumulus_primitives_core::CollationInfo {
|
||||||
ParachainSystem::collect_collation_info(header)
|
ParachainSystem::collect_collation_info(header)
|
||||||
|
|||||||
Reference in New Issue
Block a user