mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-09 15:18:00 +00:00
2510bfc5d7
* node/approval-voting: Introduce Backend trait and Overlaybackend This commit introduces a Backend trait and attempts to move away from the Action model via an OverlayBackend as in the ChainSelection subsystem. * node/approval-voting: Add WriteOps for StoredBlockRange and BlocksAtHeight * node/approval-voting: Add load_all_blocks to overlay * node/approval-voting: Get all module tests to pass. This commit modifies all tests to ensure tests are passing. * node/approval-voting: Address oversights in the previous commit This commit addresses some oversights in the prior commit. 1. Inner errors in backend.write were swallowed 2. One-off write functions removed to avoid useless abstraction 3. Touch-ups in general * node/approval-voting: Move from TestDB to dyn KeyValueDB This commit removes the TestDB from tests.rs and replaces it with an in-memory kvdb. * node/approval-voting: Address feedback * node/approval-voting: Add license to ops.rs * node/approval-voting: Address second-pass feedback * Add TODO * node/approval-voting: Bump spec_version * node/approval-voting: Address final comments. * node/approval-voting: Introduce framework for full subsystem tests * node/approval-voting: Introduce basic tests to attempt to provide coverage via full subsystem tests * node/approval-voting: Introduce Chainbuilder
46 lines
2.2 KiB
TOML
46 lines
2.2 KiB
TOML
[package]
|
|
name = "polkadot-node-core-approval-voting"
|
|
version = "0.1.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
futures = "0.3.15"
|
|
futures-timer = "3.0.2"
|
|
parity-scale-codec = { version = "2.0.0", default-features = false, features = ["bit-vec", "derive"] }
|
|
tracing = "0.1.26"
|
|
bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] }
|
|
lru = "0.6"
|
|
merlin = "2.0"
|
|
schnorrkel = "0.9.1"
|
|
kvdb = "0.10.0"
|
|
derive_more = "0.99.14"
|
|
|
|
polkadot-node-subsystem = { path = "../../subsystem" }
|
|
polkadot-node-subsystem-util = { path = "../../subsystem-util" }
|
|
polkadot-overseer = { path = "../../overseer" }
|
|
polkadot-primitives = { path = "../../../primitives" }
|
|
polkadot-node-primitives = { path = "../../primitives" }
|
|
polkadot-node-jaeger = { path = "../../jaeger" }
|
|
|
|
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-consensus-slots = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, features = ["full_crypto"] }
|
|
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
parking_lot = "0.11.1"
|
|
rand_core = "0.5.1" # should match schnorrkel
|
|
sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
maplit = "1.0.2"
|
|
polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" }
|
|
assert_matches = "1.4.0"
|
|
kvdb-memorydb = "0.10.0"
|
|
rand = "0.8"
|