mirror of
https://github.com/pezkuwichain/pez-minimal-template.git
synced 2026-04-22 05:38:00 +00:00
Update to 1.14.0 triggered by workflow_dispatch
This commit is contained in:
+3
-2
@@ -23,11 +23,10 @@
|
||||
#![warn(missing_docs)]
|
||||
|
||||
use jsonrpsee::RpcModule;
|
||||
use runtime::interface::{AccountId, Nonce, OpaqueBlock};
|
||||
use minimal_template_runtime::interface::{AccountId, Nonce, OpaqueBlock};
|
||||
use sc_transaction_pool_api::TransactionPool;
|
||||
use sp_blockchain::{Error as BlockChainError, HeaderBackend, HeaderMetadata};
|
||||
use std::sync::Arc;
|
||||
use substrate_frame_rpc_system::{System, SystemApiServer};
|
||||
|
||||
pub use sc_rpc_api::DenyUnsafe;
|
||||
|
||||
@@ -41,6 +40,7 @@ pub struct FullDeps<C, P> {
|
||||
pub deny_unsafe: DenyUnsafe,
|
||||
}
|
||||
|
||||
#[docify::export]
|
||||
/// Instantiate all full RPC extensions.
|
||||
pub fn create_full<C, P>(
|
||||
deps: FullDeps<C, P>,
|
||||
@@ -57,6 +57,7 @@ where
|
||||
C::Api: substrate_frame_rpc_system::AccountNonceApi<OpaqueBlock, AccountId, Nonce>,
|
||||
P: TransactionPool + 'static,
|
||||
{
|
||||
use substrate_frame_rpc_system::{System, SystemApiServer};
|
||||
let mut module = RpcModule::new(());
|
||||
let FullDeps { client, pool, deny_unsafe } = deps;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user