mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-20 07:01:02 +00:00
f8e3bdad3d
* Rework storage iterators * Make sure storage iteration is also accounted for when benchmarking * Use `trie-db` from crates.io * Appease clippy * Bump `trie-bench` to 0.35.0 * Fix tests' compilation * Update comment to clarify how `IterArgs::start_at` works * Add extra tests * Fix iterators on `Client` so that they behave as before * Add extra `unwrap`s in tests * More clippy fixes * Come on clippy, give me a break already * Rename `allow_missing` to `stop_on_incomplete_database` * Add `#[inline]` to `with_recorder_and_cache` * Use `with_recorder_and_cache` in `with_trie_db`; add doc comment * Simplify code: use `with_trie_db` in `next_storage_key_from_root` * Remove `expect`s in the benchmarking CLI * Add extra doc comments * Move `RawIter` before `TrieBackendEssence` (no code changes; just cut-paste) * Remove a TODO in tests * Update comment for `StorageIterator::was_complete` * Update `trie-db` to 0.25.1
35 lines
1.3 KiB
TOML
35 lines
1.3 KiB
TOML
[package]
|
|
name = "substrate-state-trie-migration-rpc"
|
|
version = "4.0.0-dev"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2021"
|
|
license = "Apache-2.0"
|
|
homepage = "https://substrate.io"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
description = "Node-specific RPC methods for interaction with state trie migration."
|
|
readme = "README.md"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
scale-info = { version = "2.1.1", default-features = false, features = ["derive"] }
|
|
codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false }
|
|
serde = { version = "1", features = ["derive"] }
|
|
log = { version = "0.4.17", default-features = false }
|
|
|
|
sp-core = { path = "../../../../primitives/core" }
|
|
sp-state-machine = { path = "../../../../primitives/state-machine" }
|
|
sp-trie = { path = "../../../../primitives/trie" }
|
|
trie-db = "0.25.1"
|
|
|
|
jsonrpsee = { version = "0.16.2", features = ["client-core", "server", "macros"] }
|
|
|
|
# Substrate Dependencies
|
|
sc-client-api = { version = "4.0.0-dev", path = "../../../../client/api" }
|
|
sc-rpc-api = { version = "0.10.0-dev", path = "../../../../client/rpc-api" }
|
|
sp-runtime = { version = "7.0.0", path = "../../../../primitives/runtime" }
|
|
|
|
[dev-dependencies]
|
|
serde_json = "1"
|