mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 20:31:13 +00:00
Update to jsonrpsee 0.5.1 (#332)
* Update to jsonrpsee 0.5.1 * Use jsonrpsee wrapper crate
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ use crate::{
|
||||
},
|
||||
Metadata,
|
||||
};
|
||||
use jsonrpsee_types::Error as RequestError;
|
||||
use jsonrpsee::types::Error as RequestError;
|
||||
use sp_core::crypto::SecretStringError;
|
||||
use sp_runtime::{
|
||||
transaction_validity::TransactionValidityError,
|
||||
|
||||
+19
-17
@@ -33,24 +33,26 @@ use core::{
|
||||
marker::PhantomData,
|
||||
};
|
||||
use frame_metadata::RuntimeMetadataPrefixed;
|
||||
use jsonrpsee_http_client::{
|
||||
HttpClient,
|
||||
HttpClientBuilder,
|
||||
};
|
||||
use jsonrpsee_types::{
|
||||
to_json_value,
|
||||
traits::{
|
||||
Client,
|
||||
SubscriptionClient,
|
||||
use jsonrpsee::{
|
||||
http_client::{
|
||||
HttpClient,
|
||||
HttpClientBuilder,
|
||||
},
|
||||
types::{
|
||||
to_json_value,
|
||||
traits::{
|
||||
Client,
|
||||
SubscriptionClient,
|
||||
},
|
||||
DeserializeOwned,
|
||||
Error as RpcError,
|
||||
JsonValue,
|
||||
Subscription,
|
||||
},
|
||||
ws_client::{
|
||||
WsClient,
|
||||
WsClientBuilder,
|
||||
},
|
||||
DeserializeOwned,
|
||||
Error as RpcError,
|
||||
JsonValue,
|
||||
Subscription,
|
||||
};
|
||||
use jsonrpsee_ws_client::{
|
||||
WsClient,
|
||||
WsClientBuilder,
|
||||
};
|
||||
use serde::{
|
||||
Deserialize,
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with subxt. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
use jsonrpsee_types::{
|
||||
use jsonrpsee::types::{
|
||||
DeserializeOwned,
|
||||
Subscription,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user