mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 14:01:06 +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:
+6
-2
@@ -15,7 +15,7 @@ description = "Generate types and helpers for interacting with Substrate runtime
|
||||
|
||||
[features]
|
||||
web = ["subxt-codegen/web"]
|
||||
runtime-metadata-path = ["polkadot-sdk"]
|
||||
runtime-metadata-path = ["sc-executor", "sc-executor-common", "sp-maybe-compressed-blob", "sp-io", "sp-state-machine"]
|
||||
runtime-metadata-insecure-url = ["subxt-utils-fetchmetadata/url"]
|
||||
|
||||
[lib]
|
||||
@@ -30,7 +30,11 @@ quote = { workspace = true }
|
||||
subxt-codegen = { workspace = true }
|
||||
subxt-utils-fetchmetadata = { workspace = true }
|
||||
scale-typegen = { workspace = true }
|
||||
polkadot-sdk = { workspace = true, optional = true, features = ["sp-io", "sc-executor-common", "sp-state-machine", "sp-maybe-compressed-blob", "sc-executor"] }
|
||||
sc-executor = { workspace = true, optional = true }
|
||||
sc-executor-common = { workspace = true, optional = true }
|
||||
sp-maybe-compressed-blob = { workspace = true, optional = true }
|
||||
sp-io = { workspace = true, optional = true }
|
||||
sp-state-machine = { workspace = true, optional = true }
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -5,13 +5,9 @@
|
||||
use std::{borrow::Cow, path::Path};
|
||||
|
||||
use codec::{Decode, Encode};
|
||||
use polkadot_sdk::{
|
||||
sc_executor::{self, WasmExecutionMethod, WasmExecutor},
|
||||
sc_executor_common::runtime_blob::RuntimeBlob,
|
||||
sp_io,
|
||||
sp_maybe_compressed_blob::{self, CODE_BLOB_BOMB_LIMIT},
|
||||
sp_state_machine,
|
||||
};
|
||||
use sc_executor::{WasmExecutionMethod, WasmExecutor};
|
||||
use sc_executor_common::runtime_blob::RuntimeBlob;
|
||||
use sp_maybe_compressed_blob::{self, CODE_BLOB_BOMB_LIMIT};
|
||||
use subxt_codegen::{CodegenError, Metadata};
|
||||
|
||||
static SUPPORTED_METADATA_VERSIONS: [u32; 2] = [14, 15];
|
||||
|
||||
Reference in New Issue
Block a user