mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-23 10:51:10 +00:00
Safe and sane multi-item storage removal (#11490)
* Fix overlay prefix removal result * Second part of the overlay prefix removal fix. * Report only items deleted from storage in clear_prefix * Fix kill_prefix * Formatting * Remove unused code * Fixes * Fixes * Introduce clear_prefix host function v3 * Formatting * Use v2 for now * Fixes * Formatting * Docs * Child prefix removal should also hide v3 for now * Fixes * Fixes * Formatting * Fixes * apply_to_keys_whle takes start_at * apply_to_keys_whle takes start_at * apply_to_keys_whle takes start_at * Cursor API; force limits * Use unsafe deprecated functions * Formatting * Fixes * Grumbles * Fixes * Docs * Some nitpicks 🙈 * Update primitives/externalities/src/lib.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * Formatting * Fixes * cargo fmt * Fixes * Update primitives/io/src/lib.rs Co-authored-by: Keith Yeung <kungfukeith11@gmail.com> * Formatting * Fixes Co-authored-by: Bastian Köcher <info@kchr.de> Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
This commit is contained in:
@@ -25,7 +25,7 @@ sp-state-machine = { version = "0.12.0", optional = true, path = "../state-machi
|
||||
sp-wasm-interface = { version = "6.0.0", path = "../wasm-interface", default-features = false }
|
||||
sp-runtime-interface = { version = "6.0.0", default-features = false, path = "../runtime-interface" }
|
||||
sp-trie = { version = "6.0.0", optional = true, path = "../trie" }
|
||||
sp-externalities = { version = "0.12.0", optional = true, path = "../externalities" }
|
||||
sp-externalities = { version = "0.12.0", default-features = false, path = "../externalities" }
|
||||
sp-tracing = { version = "5.0.0", default-features = false, path = "../tracing" }
|
||||
log = { version = "0.4.17", optional = true }
|
||||
futures = { version = "0.3.21", features = ["thread-pool"], optional = true }
|
||||
@@ -37,6 +37,7 @@ tracing-core = { version = "0.1.26", default-features = false}
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"sp-externalities/std",
|
||||
"sp-core/std",
|
||||
"sp-keystore",
|
||||
"codec/std",
|
||||
@@ -47,7 +48,6 @@ std = [
|
||||
"libsecp256k1",
|
||||
"secp256k1",
|
||||
"sp-runtime-interface/std",
|
||||
"sp-externalities",
|
||||
"sp-wasm-interface/std",
|
||||
"sp-tracing/std",
|
||||
"tracing/std",
|
||||
|
||||
Reference in New Issue
Block a user