mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 18:37:59 +00:00
7df8e52cfe
* skeleton for tracking historical sessions * refactor OpaqueKeys * some more skeleton work * adjust session to new OpaqueKeys API * further refactoring of key-type-ids * session gets validator ID parameter * run up against compiler * tweak staking to support new session changes * first run at child storage for deduplication * Make session use `AccountId` as `ValidatorId` * run up against child trie issues * switch to using normal trie but with a fixed prefix * clear out some println * add dedup test * flesh out historical module more * introduce ExposureOf for staking * test the historical module * WASM compiles * tests all compile * do some mock change * fix bulk of tests * fix staking tests * test obsolecence mechanic * Apply suggestions from code review Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com> * some more style nits * a couple more nits * tweak tries * fix typo thie -> this
36 lines
1.2 KiB
TOML
36 lines
1.2 KiB
TOML
[package]
|
|
name = "srml-session"
|
|
version = "2.0.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
serde = { version = "1.0", optional = true }
|
|
safe-mix = { version = "1.0", default-features = false}
|
|
parity-codec = { version = "4.1.1", default-features = false, features = ["derive"] }
|
|
rstd = { package = "sr-std", path = "../../core/sr-std", default-features = false }
|
|
primitives = { package = "sr-primitives", path = "../../core/sr-primitives", default-features = false }
|
|
srml-support = { path = "../support", default-features = false }
|
|
system = { package = "srml-system", path = "../system", default-features = false }
|
|
timestamp = { package = "srml-timestamp", path = "../timestamp", default-features = false }
|
|
substrate-trie = { path = "../../core/trie", default-features = false, optional = true }
|
|
runtime_io = { package = "sr-io", path = "../../core/sr-io", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
substrate-primitives = { path = "../../core/primitives" }
|
|
lazy_static = "1.0"
|
|
|
|
[features]
|
|
default = ["std", "historical"]
|
|
historical = ["substrate-trie"]
|
|
std = [
|
|
"serde",
|
|
"safe-mix/std",
|
|
"parity-codec/std",
|
|
"rstd/std",
|
|
"srml-support/std",
|
|
"primitives/std",
|
|
"timestamp/std",
|
|
"substrate-trie/std"
|
|
]
|