mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 19:17:58 +00:00
9904267e23
* Decouple the session validators from im-online * . * Add SessionInterface trait in im-online Add ValidatorId in im-online Trait Make im-online compile Make substrate binary compile * Fix merging issue * Make all compile * Fix tests * Avoid using frame dep in primitives via pallet-session-common * Merge ValidatorSet into SessionInterface trait Wrap a few too long lines Add some docs * Move pallet-sesion-common into pallet-session * Move SessionInterface to sp-session and impl it in session pallet Ref https://github.com/paritytech/substrate/pull/7127#discussion_r494892472 * Split put historical::FullValidatorIdentification trait * Fix line width * Fix staking mock * Fix session doc test * Simplify <T as ValidatorIdentification<AccountId>>::ValidatorId as ValidatorId<T> * Nits * Clean up. * Make it compile by commenting out report_offence_im_online bench * Tests * Nits * Move OneSessionHandler to sp-session * Fix tests * Add some docs * . * Fix typo * Rename to ValidatorSet::session_index() * Add some more docs * . * Remove extra empty line * Fix line width check . * Apply suggestions from code review * Cleaup Cargo.toml * Aura has migrated to Pallet now Co-authored-by: Tomasz Drwięga <tomasz@parity.io>
63 lines
2.4 KiB
TOML
63 lines
2.4 KiB
TOML
[package]
|
|
name = "frame-support"
|
|
version = "2.0.1"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
license = "Apache-2.0"
|
|
homepage = "https://substrate.dev"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
description = "Support code for the runtime."
|
|
readme = "README.md"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
log = "0.4"
|
|
serde = { version = "1.0.101", optional = true, features = ["derive"] }
|
|
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ["derive"] }
|
|
frame-metadata = { version = "12.0.0", default-features = false, path = "../metadata" }
|
|
sp-std = { version = "2.0.0", default-features = false, path = "../../primitives/std" }
|
|
sp-io = { version = "2.0.0", default-features = false, path = "../../primitives/io" }
|
|
sp-runtime = { version = "2.0.0", default-features = false, path = "../../primitives/runtime" }
|
|
sp-tracing = { version = "2.0.0", default-features = false, path = "../../primitives/tracing" }
|
|
sp-core = { version = "2.0.0", default-features = false, path = "../../primitives/core" }
|
|
sp-arithmetic = { version = "2.0.0", default-features = false, path = "../../primitives/arithmetic" }
|
|
sp-inherents = { version = "2.0.0", default-features = false, path = "../../primitives/inherents" }
|
|
sp-staking = { version = "2.0.0", default-features = false, path = "../../primitives/staking" }
|
|
frame-support-procedural = { version = "2.0.1", default-features = false, path = "./procedural" }
|
|
paste = "0.1.6"
|
|
once_cell = { version = "1", default-features = false, optional = true }
|
|
sp-state-machine = { version = "0.8.0", optional = true, path = "../../primitives/state-machine" }
|
|
bitflags = "1.2"
|
|
impl-trait-for-tuples = "0.2.0"
|
|
smallvec = "1.4.1"
|
|
|
|
[dev-dependencies]
|
|
pretty_assertions = "0.6.1"
|
|
frame-system = { version = "2.0.0", path = "../system" }
|
|
parity-util-mem = { version = "0.9.0", default-features = false, features = ["primitive-types"] }
|
|
substrate-test-runtime-client = { version = "2.0.0", path = "../../test-utils/runtime/client" }
|
|
sp-api = { version = "2.0.0", default-features = false, path = "../../primitives/api" }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"once_cell",
|
|
"serde",
|
|
"sp-io/std",
|
|
"codec/std",
|
|
"sp-std/std",
|
|
"sp-runtime/std",
|
|
"sp-tracing/std",
|
|
"sp-arithmetic/std",
|
|
"frame-metadata/std",
|
|
"sp-inherents/std",
|
|
"sp-staking/std",
|
|
"sp-state-machine",
|
|
"frame-support-procedural/std",
|
|
]
|
|
nightly = []
|
|
strict = []
|
|
runtime-benchmarks = []
|