mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-01 11:17:56 +00:00
b7c6bc1ed5
* Use session::validators instead of staking::current_elected * Basic test framework. * Initialize validators, attempt to heartbeat. * Use dummy crypto for im-online testing. * Remove printlns. * Finish test, make it invalid. * Add reporting test. * Finalize the test. * Remove dumbness. * Updates. * Update AuRa * Update srml/im-online/src/tests.rs Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com> * Derive Ord * Add some more tests. * Remove stray todo. * Bump runtime version. * Bump impl-trait-for-tuples. * Enforce new version of trait-for-tuples.
40 lines
1.5 KiB
TOML
40 lines
1.5 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}
|
|
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
|
|
rstd = { package = "sr-std", path = "../../core/sr-std", default-features = false }
|
|
sr-primitives = { path = "../../core/sr-primitives", default-features = false }
|
|
sr-staking-primitives = { path = "../../core/sr-staking-primitives", default-features = false }
|
|
support = { package = "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 }
|
|
impl-trait-for-tuples = "0.1.1"
|
|
|
|
[dev-dependencies]
|
|
primitives = { package = "substrate-primitives", path = "../../core/primitives" }
|
|
app-crypto = { package = "substrate-application-crypto", path = "../../core/application-crypto" }
|
|
lazy_static = "1.0"
|
|
|
|
[features]
|
|
default = ["std", "historical"]
|
|
historical = ["substrate-trie"]
|
|
std = [
|
|
"serde",
|
|
"safe-mix/std",
|
|
"codec/std",
|
|
"rstd/std",
|
|
"support/std",
|
|
"sr-primitives/std",
|
|
"sr-staking-primitives/std",
|
|
"timestamp/std",
|
|
"substrate-trie/std"
|
|
]
|