mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 08:11:03 +00:00
Add a default trie-memory-tracker feature to the cli (#1502)
* Update substrate and add a trie-memory-tracker feature to the cli * Update cli/Cargo.toml Co-authored-by: Andronik Ordian <write@reusable.software> Co-authored-by: Andronik Ordian <write@reusable.software>
This commit is contained in:
Generated
+1
@@ -4452,6 +4452,7 @@ dependencies = [
|
|||||||
"sp-api",
|
"sp-api",
|
||||||
"sp-core",
|
"sp-core",
|
||||||
"sp-runtime",
|
"sp-runtime",
|
||||||
|
"sp-trie",
|
||||||
"structopt",
|
"structopt",
|
||||||
"substrate-browser-utils",
|
"substrate-browser-utils",
|
||||||
"substrate-build-script-utils",
|
"substrate-build-script-utils",
|
||||||
|
|||||||
@@ -34,12 +34,15 @@ sc-service = { git = "https://github.com/paritytech/substrate", branch = "master
|
|||||||
wasm-bindgen = { version = "0.2.57", optional = true }
|
wasm-bindgen = { version = "0.2.57", optional = true }
|
||||||
wasm-bindgen-futures = { version = "0.4.7", optional = true }
|
wasm-bindgen-futures = { version = "0.4.7", optional = true }
|
||||||
browser-utils = { package = "substrate-browser-utils", git = "https://github.com/paritytech/substrate", branch = "master", optional = true }
|
browser-utils = { package = "substrate-browser-utils", git = "https://github.com/paritytech/substrate", branch = "master", optional = true }
|
||||||
|
# this crate is used only to enable `trie-memory-tracker` feature
|
||||||
|
# see https://github.com/paritytech/substrate/pull/6745
|
||||||
|
sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = [ "wasmtime", "db", "cli", "service-old" ]
|
default = [ "wasmtime", "db", "cli", "service-old", "trie-memory-tracker" ]
|
||||||
wasmtime = [ "sc-cli/wasmtime" ]
|
wasmtime = [ "sc-cli/wasmtime" ]
|
||||||
db = [ "service/db" ]
|
db = [ "service/db" ]
|
||||||
cli = [
|
cli = [
|
||||||
@@ -57,3 +60,4 @@ browser = [
|
|||||||
]
|
]
|
||||||
runtime-benchmarks = [ "service/runtime-benchmarks" ]
|
runtime-benchmarks = [ "service/runtime-benchmarks" ]
|
||||||
service-rewr = [ "service-new/full-node" ]
|
service-rewr = [ "service-new/full-node" ]
|
||||||
|
trie-memory-tracker = [ "sp-trie/memory-tracker" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user