mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-10 17:11:03 +00:00
deps: remove polkadot-sdk umbrella crate (#1926)
* deps: get rid of polkadot-sdk umbrella crate * fix nits * Update subxt/src/backend/mod.rs * Update subxt/src/events/events_client.rs * Update metadata/src/utils/validation.rs * cargo clippy fix * fix ui tests
This commit is contained in:
@@ -69,10 +69,7 @@ impl<T: RpcConfig> LegacyRpcMethods<T> {
|
||||
) -> Result<Vec<StorageChangeSet<T::Hash>>, Error> {
|
||||
let keys: Vec<String> = keys.into_iter().map(to_hex).collect();
|
||||
let params = rpc_params![keys, from, to];
|
||||
self.client
|
||||
.request("state_queryStorage", params)
|
||||
.await
|
||||
.map_err(Into::into)
|
||||
self.client.request("state_queryStorage", params).await
|
||||
}
|
||||
|
||||
/// Query storage entries at some block, using the best block if none is given.
|
||||
@@ -85,10 +82,7 @@ impl<T: RpcConfig> LegacyRpcMethods<T> {
|
||||
) -> Result<Vec<StorageChangeSet<T::Hash>>, Error> {
|
||||
let keys: Vec<String> = keys.into_iter().map(to_hex).collect();
|
||||
let params = rpc_params![keys, at];
|
||||
self.client
|
||||
.request("state_queryStorageAt", params)
|
||||
.await
|
||||
.map_err(Into::into)
|
||||
self.client.request("state_queryStorageAt", params).await
|
||||
}
|
||||
|
||||
/// Fetch the genesis hash
|
||||
|
||||
Reference in New Issue
Block a user