mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 20:11:09 +00:00
Remove mem_info and references to parity-util-mem (#12795)
* Remove mem_info and some references to parity-util-mem * [Draft] Finish removing references to `parity-util-mem` * Upgrade dependencies * Update scripts/ci/deny.toml Co-authored-by: ordian <write@reusable.software> * Fix Cargo.lock (remove unwanted dependency changes) * Removed unused argument * Run cargo fmt (didn't have pre-commit set up) * Fix some CI errors * Fix another CI error * Remove unused dependency Co-authored-by: ordian <write@reusable.software>
This commit is contained in:
@@ -23,8 +23,8 @@ sp-state-machine = { version = "0.13.0", path = "../../../primitives/state-machi
|
||||
serde = "1.0.136"
|
||||
serde_json = "1.0.85"
|
||||
derive_more = { version = "0.99.17", default-features = false, features = ["display"] }
|
||||
kvdb = "0.12.0"
|
||||
kvdb-rocksdb = "0.16.0"
|
||||
kvdb = "0.13.0"
|
||||
kvdb-rocksdb = "0.17.0"
|
||||
sp-trie = { version = "7.0.0", path = "../../../primitives/trie" }
|
||||
sp-core = { version = "7.0.0", path = "../../../primitives/core" }
|
||||
sp-consensus = { version = "0.10.0-dev", path = "../../../primitives/consensus/common" }
|
||||
@@ -37,7 +37,6 @@ tempfile = "3.1.0"
|
||||
fs_extra = "1"
|
||||
rand = { version = "0.7.2", features = ["small_rng"] }
|
||||
lazy_static = "1.4.0"
|
||||
parity-util-mem = { version = "0.12.0", default-features = false, features = ["primitive-types"] }
|
||||
parity-db = "0.4.2"
|
||||
sc-transaction-pool = { version = "4.0.0-dev", path = "../../../client/transaction-pool" }
|
||||
sc-transaction-pool-api = { version = "4.0.0-dev", path = "../../../client/transaction-pool/api" }
|
||||
|
||||
@@ -29,7 +29,6 @@ pub enum DatabaseType {
|
||||
pub struct TempDatabase(tempfile::TempDir);
|
||||
|
||||
struct ParityDbWrapper(parity_db::Db);
|
||||
parity_util_mem::malloc_size_of_is_0!(ParityDbWrapper);
|
||||
|
||||
impl KeyValueDB for ParityDbWrapper {
|
||||
/// Get a value by key.
|
||||
|
||||
@@ -101,11 +101,6 @@ node-inspect = { version = "0.9.0-dev", optional = true, path = "../inspect" }
|
||||
try-runtime-cli = { version = "0.10.0-dev", optional = true, path = "../../../utils/frame/try-runtime/cli" }
|
||||
serde_json = "1.0.85"
|
||||
|
||||
[target.'cfg(any(target_arch="x86_64", target_arch="aarch64"))'.dependencies]
|
||||
sp-trie = { version = "7.0.0", default-features = false, path = "../../../primitives/trie", features = [
|
||||
"memory-tracker",
|
||||
] }
|
||||
|
||||
[dev-dependencies]
|
||||
sc-keystore = { version = "4.0.0-dev", path = "../../../client/keystore" }
|
||||
sc-client-db = { version = "0.10.0-dev", path = "../../../client/db" }
|
||||
|
||||
Reference in New Issue
Block a user