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:
Niklas Adolfsson
2025-02-24 12:38:21 +01:00
committed by GitHub
parent 816a86423b
commit 69ce6d726f
29 changed files with 222 additions and 5783 deletions
+2 -8
View File
@@ -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