mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-17 11:21:07 +00:00
Upgrade staking-miner to use jsonrpsee v0.3 (#3466)
This commit is contained in:
@@ -191,7 +191,7 @@ macro_rules! any_runtime {
|
||||
#[derive(Debug, thiserror::Error)]
|
||||
enum Error {
|
||||
Io(#[from] std::io::Error),
|
||||
Jsonrpsee(#[from] jsonrpsee_ws_client::Error),
|
||||
Jsonrpsee(#[from] jsonrpsee_ws_client::types::Error),
|
||||
Codec(#[from] codec::Error),
|
||||
Crypto(sp_core::crypto::SecretStringError),
|
||||
RemoteExternalities(&'static str),
|
||||
|
||||
@@ -21,7 +21,8 @@ use crate::{
|
||||
};
|
||||
use codec::Encode;
|
||||
use jsonrpsee_ws_client::{
|
||||
traits::SubscriptionClient, v2::params::JsonRpcParams, Subscription, WsClient,
|
||||
WsClient,
|
||||
types::{Subscription, traits::SubscriptionClient, v2::params::JsonRpcParams},
|
||||
};
|
||||
use sc_transaction_pool_api::TransactionStatus;
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
//! Helper method for RPC.
|
||||
|
||||
use super::*;
|
||||
use jsonrpsee_ws_client::traits::Client;
|
||||
pub(crate) use jsonrpsee_ws_client::v2::params::JsonRpcParams;
|
||||
use jsonrpsee_ws_client::types::traits::Client;
|
||||
pub(crate) use jsonrpsee_ws_client::types::v2::params::JsonRpcParams;
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! params {
|
||||
|
||||
Reference in New Issue
Block a user