difftreelog
refactor disable contracts in collator
in: master
3 files changed
node/cli/Cargo.tomldiffbeforeafterboth193branch = 'polkadot-v0.9.7'193branch = 'polkadot-v0.9.7'194version = '3.0.0'194version = '3.0.0'195196[dependencies.pallet-contracts]197git = 'https://github.com/paritytech/substrate.git'198branch = 'polkadot-v0.9.7'199version = '3.0.0'200201[dependencies.pallet-contracts-rpc]202git = 'https://github.com/paritytech/substrate.git'203branch = 'polkadot-v0.9.7'204version = '3.0.0'205206195207[dependencies.sc-network]196[dependencies.sc-network]node/rpc/Cargo.tomldiffbeforeafterboth13futures = { version = "0.3.1", features = ["compat"] }13futures = { version = "0.3.1", features = ["compat"] }14jsonrpc-core = "15.0.0"14jsonrpc-core = "15.0.0"15jsonrpc-pubsub = "15.0.0"15jsonrpc-pubsub = "15.0.0"16pallet-contracts-rpc = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }16# pallet-contracts-rpc = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }17pallet-transaction-payment-rpc = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }17pallet-transaction-payment-rpc = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }18pallet-transaction-payment-rpc-runtime-api = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }18pallet-transaction-payment-rpc-runtime-api = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }19sc-client-api = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }19sc-client-api = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }node/rpc/src/lib.rsdiffbeforeafterboth121 C: BlockchainEvents<Block>,121 C: BlockchainEvents<Block>,122 C::Api: substrate_frame_rpc_system::AccountNonceApi<Block, AccountId, Index>,122 C::Api: substrate_frame_rpc_system::AccountNonceApi<Block, AccountId, Index>,123 C::Api: BlockBuilder<Block>,123 C::Api: BlockBuilder<Block>,124 C::Api: pallet_contracts_rpc::ContractsRuntimeApi<Block, AccountId, Balance, BlockNumber, Hash>,124 // C::Api: pallet_contracts_rpc::ContractsRuntimeApi<Block, AccountId, Balance, BlockNumber, Hash>,125 C::Api: pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi<Block, Balance>,125 C::Api: pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi<Block, Balance>,126 C::Api: fp_rpc::EthereumRuntimeRPCApi<Block>,126 C::Api: fp_rpc::EthereumRuntimeRPCApi<Block>,127 C::Api: pallet_nft::NftApi<Block>,127 C::Api: pallet_nft::NftApi<Block>,135 EthPubSubApiServer, EthSigner, HexEncodedIdProvider, NetApi, NetApiServer, Web3Api,135 EthPubSubApiServer, EthSigner, HexEncodedIdProvider, NetApi, NetApiServer, Web3Api,136 Web3ApiServer,136 Web3ApiServer,137 };137 };138 use pallet_contracts_rpc::{Contracts, ContractsApi};138 // use pallet_contracts_rpc::{Contracts, ContractsApi};139 use pallet_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApi};139 use pallet_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApi};140 use substrate_frame_rpc_system::{FullSystem, SystemApi};140 use substrate_frame_rpc_system::{FullSystem, SystemApi};141141164 client.clone(),164 client.clone(),165 )));165 )));166166167 io.extend_with(ContractsApi::to_delegate(Contracts::new(client.clone())));167 // io.extend_with(ContractsApi::to_delegate(Contracts::new(client.clone())));168168169 let mut signers = Vec::new();169 let mut signers = Vec::new();170 if enable_dev_signer {170 if enable_dev_signer {