mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 08:37:56 +00:00
25974f2076
* Mostly notes. * Better error messages. * Introduce Fatal/NonFatal + drop back channel participation - Fatal/NonFatal - in order to make it easier to use utility functions. - We drop the back channel in dispute participation as it won't be needed any more. * Better error messages. * Utility function for receiving `CandidateEvent`s. * Ordering module typechecks. * cargo fmt * Prepare spam slots module. * Implement SpamSlots mechanism. * Implement queues. * cargo fmt * Participation. * Participation taking shape. * Finish participation. * cargo fmt * Cleanup. * WIP: Cleanup + Integration. * Make `RollingSessionWindow` initialized by default. * Make approval voting typecheck. * Get rid of lazy_static & fix approval voting tests * Move `SessionWindowSize` to node primitives. * Implement dispute coordinator initialization. * cargo fmt * Make queues return error instead of boolean. * Initialized: WIP * Introduce chain api for getting finalized block. * Fix ordering to only prune candidates on finalized events. * Pruning of old sessions in spam slots. * New import logic. * Make everything typecheck. * Fix warnings. * Get rid of obsolete dispute-participation. * Fixes. * Add back accidentelly deleted Cargo.lock * Deliver disputes in an ordered fashion. * Add module docs for errors * Use type synonym. * hidden docs. * Fix overseer tests. * Ordering provider taking `CandidateReceipt`. ... To be kicked on one next commit. * Fix ordering to use relay_parent as included block is not unique per candidate. * Add comment in ordering.rs. * Take care of duplicate entries in queues. * Better spam slots. * Review remarks + docs. * Fix db tests. * Participation tests. * Also scrape votes on first leaf for good measure. * Make tests typecheck. * Spelling. * Only participate in actual disputes, not on every import. * Don't account backing votes to spam slots. * Fix more tests. * Don't participate if we don't have keys. * Fix tests, typos and warnings. * Fix merge error. * Spelling fixes. * Add missing docs. * Queue tests. * More tests. * Add metrics + don't short circuit import. * Basic test for ordering provider. * Import fix. * Remove dead link. * One more dead link. Co-authored-by: Lldenaurois <Ljdenaurois@gmail.com>
40 lines
1.4 KiB
TOML
40 lines
1.4 KiB
TOML
[package]
|
|
name = "polkadot-node-subsystem-util"
|
|
version = "0.9.13"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
description = "Subsystem traits and message definitions"
|
|
|
|
[dependencies]
|
|
async-trait = "0.1.51"
|
|
futures = "0.3.17"
|
|
itertools = "0.10"
|
|
parity-scale-codec = { version = "2.3.1", default-features = false, features = ["derive"] }
|
|
pin-project = "1.0.8"
|
|
rand = "0.8.3"
|
|
thiserror = "1.0.30"
|
|
tracing = "0.1.29"
|
|
derive_more = "0.99.11"
|
|
lru = "0.7.0"
|
|
|
|
polkadot-node-subsystem = { package = "polkadot-node-subsystem", path = "../subsystem" }
|
|
polkadot-node-jaeger = { path = "../jaeger" }
|
|
polkadot-node-metrics = { path = "../metrics" }
|
|
polkadot-node-network-protocol = { path = "../network/protocol" }
|
|
polkadot-primitives = { path = "../../primitives" }
|
|
polkadot-node-primitives = { path = "../primitives" }
|
|
polkadot-overseer = { path = "../overseer" }
|
|
metered-channel = { path = "../metered-channel" }
|
|
|
|
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
|
|
[dev-dependencies]
|
|
assert_matches = "1.4.0"
|
|
env_logger = "0.9.0"
|
|
futures = { version = "0.3.17", features = ["thread-pool"] }
|
|
log = "0.4.13"
|
|
polkadot-node-subsystem-test-helpers = { path = "../subsystem-test-helpers" }
|
|
lazy_static = "1.4.0"
|