This repository was archived by the owner on Nov 15, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1999,6 +1999,17 @@ sp_api::impl_runtime_apis! {
19991999 }
20002000 }
20012001
2002+ impl pallet_transaction_payment_rpc_runtime_api:: TransactionPaymentCallApi <Block , Balance , Call >
2003+ for Runtime
2004+ {
2005+ fn query_call_info( call: Call , len: u32 ) -> RuntimeDispatchInfo <Balance > {
2006+ TransactionPayment :: query_call_info( call, len)
2007+ }
2008+ fn query_call_fee_details( call: Call , len: u32 ) -> FeeDetails <Balance > {
2009+ TransactionPayment :: query_call_fee_details( call, len)
2010+ }
2011+ }
2012+
20022013 impl pallet_nomination_pools_runtime_api:: NominationPoolsApi <
20032014 Block ,
20042015 AccountId ,
Original file line number Diff line number Diff line change @@ -1970,6 +1970,17 @@ sp_api::impl_runtime_apis! {
19701970 }
19711971 }
19721972
1973+ impl pallet_transaction_payment_rpc_runtime_api:: TransactionPaymentCallApi <Block , Balance , Call >
1974+ for Runtime
1975+ {
1976+ fn query_call_info( call: Call , len: u32 ) -> RuntimeDispatchInfo <Balance > {
1977+ TransactionPayment :: query_call_info( call, len)
1978+ }
1979+ fn query_call_fee_details( call: Call , len: u32 ) -> FeeDetails <Balance > {
1980+ TransactionPayment :: query_call_fee_details( call, len)
1981+ }
1982+ }
1983+
19731984 #[ cfg( feature = "try-runtime" ) ]
19741985 impl frame_try_runtime:: TryRuntime <Block > for Runtime {
19751986 fn on_runtime_upgrade( ) -> ( Weight , Weight ) {
Original file line number Diff line number Diff line change @@ -1322,6 +1322,17 @@ sp_api::impl_runtime_apis! {
13221322 }
13231323 }
13241324
1325+ impl pallet_transaction_payment_rpc_runtime_api:: TransactionPaymentCallApi <Block , Balance , Call >
1326+ for Runtime
1327+ {
1328+ fn query_call_info( call: Call , len: u32 ) -> RuntimeDispatchInfo <Balance > {
1329+ TransactionPayment :: query_call_info( call, len)
1330+ }
1331+ fn query_call_fee_details( call: Call , len: u32 ) -> FeeDetails <Balance > {
1332+ TransactionPayment :: query_call_fee_details( call, len)
1333+ }
1334+ }
1335+
13251336 #[ cfg( feature = "runtime-benchmarks" ) ]
13261337 impl frame_benchmarking:: Benchmark <Block > for Runtime {
13271338 fn benchmark_metadata( extra: bool ) -> (
Original file line number Diff line number Diff line change @@ -1065,6 +1065,17 @@ sp_api::impl_runtime_apis! {
10651065 }
10661066 }
10671067
1068+ impl pallet_transaction_payment_rpc_runtime_api:: TransactionPaymentCallApi <Block , Balance , Call >
1069+ for Runtime
1070+ {
1071+ fn query_call_info( call: Call , len: u32 ) -> RuntimeDispatchInfo <Balance > {
1072+ TransactionPayment :: query_call_info( call, len)
1073+ }
1074+ fn query_call_fee_details( call: Call , len: u32 ) -> FeeDetails <Balance > {
1075+ TransactionPayment :: query_call_fee_details( call, len)
1076+ }
1077+ }
1078+
10681079 impl crate :: GetLastTimestamp <Block > for Runtime {
10691080 fn get_last_timestamp( ) -> u64 {
10701081 Timestamp :: now( )
Original file line number Diff line number Diff line change @@ -1561,6 +1561,17 @@ sp_api::impl_runtime_apis! {
15611561 }
15621562 }
15631563
1564+ impl pallet_transaction_payment_rpc_runtime_api:: TransactionPaymentCallApi <Block , Balance , Call >
1565+ for Runtime
1566+ {
1567+ fn query_call_info( call: Call , len: u32 ) -> RuntimeDispatchInfo <Balance > {
1568+ TransactionPayment :: query_call_info( call, len)
1569+ }
1570+ fn query_call_fee_details( call: Call , len: u32 ) -> FeeDetails <Balance > {
1571+ TransactionPayment :: query_call_fee_details( call, len)
1572+ }
1573+ }
1574+
15641575 impl pallet_nomination_pools_runtime_api:: NominationPoolsApi <
15651576 Block ,
15661577 AccountId ,
You can’t perform that action at this time.
0 commit comments