mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-27 14:09:48 +00:00
fcfdadc791
* remove pallet-session * Store key shares in InSet * integrate grandpa to vs-pallet * integrate pallet babe * remove pallet-session & authority discovery from runtime * update the grandpa pallet path * cargo update grandpa * cargo update substrate * Misc tweaks Sets validators for BABE/GRANDPA in chain_spec, per Akil's realization that was the missing piece. * fix pr comments * bug fix & tidy up --------- Co-authored-by: Luke Parker <lukeparker5132@gmail.com>
66 lines
2.2 KiB
TOML
66 lines
2.2 KiB
TOML
[package]
|
|
name = "serai-validator-sets-pallet"
|
|
version = "0.1.0"
|
|
description = "Validator sets pallet"
|
|
license = "AGPL-3.0-only"
|
|
repository = "https://github.com/serai-dex/serai/tree/develop/substrate/validator-sets/pallet"
|
|
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
|
edition = "2021"
|
|
rust-version = "1.74"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[dependencies]
|
|
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
|
|
scale-info = { version = "2", default-features = false, features = ["derive"] }
|
|
|
|
sp-core = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
sp-io = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
sp-std = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
sp-application-crypto = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
sp-runtime = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
sp-session = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
|
|
frame-system = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
frame-support = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
|
|
pallet-babe = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
pallet-grandpa = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
|
|
serai-primitives = { path = "../../primitives", default-features = false }
|
|
validator-sets-primitives = { package = "serai-validator-sets-primitives", path = "../primitives", default-features = false }
|
|
|
|
coins-pallet = { package = "serai-coins-pallet", path = "../../coins/pallet", default-features = false }
|
|
|
|
[features]
|
|
std = [
|
|
"scale/std",
|
|
"scale-info/std",
|
|
|
|
"sp-core/std",
|
|
"sp-io/std",
|
|
"sp-std/std",
|
|
"sp-application-crypto/std",
|
|
"sp-runtime/std",
|
|
"sp-session/std",
|
|
|
|
"frame-system/std",
|
|
"frame-support/std",
|
|
|
|
"pallet-babe/std",
|
|
"pallet-grandpa/std",
|
|
|
|
"serai-primitives/std",
|
|
"validator-sets-primitives/std",
|
|
|
|
"coins-pallet/std",
|
|
]
|
|
|
|
runtime-benchmarks = [
|
|
"frame-system/runtime-benchmarks",
|
|
"frame-support/runtime-benchmarks",
|
|
]
|
|
|
|
default = ["std"]
|