mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-19 22:45:40 +00:00
* Update Substrate after repository reorganisation * Switch back to polkadot-master * Bump `bitvec` and `parity-scale-codec` (#591) Also bump other dependencies, but respect semver on them.
This commit is contained in:
@@ -33,12 +33,12 @@ pub fn create<C, P>(client: Arc<C>, pool: Arc<Pool<P>>) -> RpcExtension where
|
||||
C: ProvideRuntimeApi,
|
||||
C: client::blockchain::HeaderBackend<Block>,
|
||||
C: Send + Sync + 'static,
|
||||
C::Api: srml_system_rpc::AccountNonceApi<Block, AccountId, Nonce>,
|
||||
C::Api: srml_transaction_payment_rpc::TransactionPaymentRuntimeApi<Block, Balance, UncheckedExtrinsic>,
|
||||
C::Api: paint_system_rpc::AccountNonceApi<Block, AccountId, Nonce>,
|
||||
C::Api: paint_transaction_payment_rpc::TransactionPaymentRuntimeApi<Block, Balance, UncheckedExtrinsic>,
|
||||
P: ChainApi + Sync + Send + 'static,
|
||||
{
|
||||
use srml_system_rpc::{System, SystemApi};
|
||||
use srml_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApi};
|
||||
use paint_system_rpc::{System, SystemApi};
|
||||
use paint_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApi};
|
||||
|
||||
let mut io = jsonrpc_core::IoHandler::default();
|
||||
io.extend_with(
|
||||
|
||||
Reference in New Issue
Block a user