mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 05:51:02 +00:00
Transaction payment runtime apis: query call info and fee details (#1535)
Co-authored-by: Alexander Theißen <alex.theissen@me.com>
This commit is contained in:
Generated
+270
-252
File diff suppressed because it is too large
Load Diff
@@ -613,6 +613,23 @@ impl_runtime_apis! {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentCallApi<Block, Balance, Call>
|
||||||
|
for Runtime
|
||||||
|
{
|
||||||
|
fn query_call_info(
|
||||||
|
call: Call,
|
||||||
|
len: u32,
|
||||||
|
) -> pallet_transaction_payment::RuntimeDispatchInfo<Balance> {
|
||||||
|
TransactionPayment::query_call_info(call, len)
|
||||||
|
}
|
||||||
|
fn query_call_fee_details(
|
||||||
|
call: Call,
|
||||||
|
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)
|
||||||
|
|||||||
@@ -742,6 +742,23 @@ impl_runtime_apis! {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentCallApi<Block, Balance, Call>
|
||||||
|
for Runtime
|
||||||
|
{
|
||||||
|
fn query_call_info(
|
||||||
|
call: Call,
|
||||||
|
len: u32,
|
||||||
|
) -> pallet_transaction_payment::RuntimeDispatchInfo<Balance> {
|
||||||
|
TransactionPayment::query_call_info(call, len)
|
||||||
|
}
|
||||||
|
fn query_call_fee_details(
|
||||||
|
call: Call,
|
||||||
|
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)
|
||||||
|
|||||||
@@ -771,6 +771,23 @@ impl_runtime_apis! {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentCallApi<Block, Balance, Call>
|
||||||
|
for Runtime
|
||||||
|
{
|
||||||
|
fn query_call_info(
|
||||||
|
call: Call,
|
||||||
|
len: u32,
|
||||||
|
) -> pallet_transaction_payment::RuntimeDispatchInfo<Balance> {
|
||||||
|
TransactionPayment::query_call_info(call, len)
|
||||||
|
}
|
||||||
|
fn query_call_fee_details(
|
||||||
|
call: Call,
|
||||||
|
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)
|
||||||
|
|||||||
@@ -732,6 +732,23 @@ impl_runtime_apis! {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentCallApi<Block, Balance, Call>
|
||||||
|
for Runtime
|
||||||
|
{
|
||||||
|
fn query_call_info(
|
||||||
|
call: Call,
|
||||||
|
len: u32,
|
||||||
|
) -> pallet_transaction_payment::RuntimeDispatchInfo<Balance> {
|
||||||
|
TransactionPayment::query_call_info(call, len)
|
||||||
|
}
|
||||||
|
fn query_call_fee_details(
|
||||||
|
call: Call,
|
||||||
|
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)
|
||||||
|
|||||||
@@ -477,6 +477,23 @@ impl_runtime_apis! {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentCallApi<Block, Balance, Call>
|
||||||
|
for Runtime
|
||||||
|
{
|
||||||
|
fn query_call_info(
|
||||||
|
call: Call,
|
||||||
|
len: u32,
|
||||||
|
) -> pallet_transaction_payment::RuntimeDispatchInfo<Balance> {
|
||||||
|
TransactionPayment::query_call_info(call, len)
|
||||||
|
}
|
||||||
|
fn query_call_fee_details(
|
||||||
|
call: Call,
|
||||||
|
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)
|
||||||
|
|||||||
@@ -668,6 +668,23 @@ impl_runtime_apis! {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentCallApi<Block, Balance, Call>
|
||||||
|
for Runtime
|
||||||
|
{
|
||||||
|
fn query_call_info(
|
||||||
|
call: Call,
|
||||||
|
len: u32,
|
||||||
|
) -> pallet_transaction_payment::RuntimeDispatchInfo<Balance> {
|
||||||
|
TransactionPayment::query_call_info(call, len)
|
||||||
|
}
|
||||||
|
fn query_call_fee_details(
|
||||||
|
call: Call,
|
||||||
|
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)
|
||||||
|
|||||||
@@ -697,6 +697,23 @@ impl_runtime_apis! {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentCallApi<Block, Balance, Call>
|
||||||
|
for Runtime
|
||||||
|
{
|
||||||
|
fn query_call_info(
|
||||||
|
call: Call,
|
||||||
|
len: u32,
|
||||||
|
) -> pallet_transaction_payment::RuntimeDispatchInfo<Balance> {
|
||||||
|
TransactionPayment::query_call_info(call, len)
|
||||||
|
}
|
||||||
|
fn query_call_fee_details(
|
||||||
|
call: Call,
|
||||||
|
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