mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 14:37:57 +00:00
03e9f43f1d
* [Fix] Try-state feature-gated for BagsList * fix comment * fix try_state remote-tests * feature-gate try-state remote test for bags-list * remove try-state from a migration * more SortedListProvider fixes * more fixes * more fixes to allow do_try_state usage in other crates * do-try-state for fuzz * more fixes * more fixes * remove feature-flag * do-try-state * fix review comments * Update frame/bags-list/src/mock.rs Co-authored-by: Anton <anton.kalyaev@gmail.com> --------- Co-authored-by: parity-processbot <> Co-authored-by: Anton <anton.kalyaev@gmail.com>
78 lines
3.3 KiB
TOML
78 lines
3.3 KiB
TOML
[package]
|
|
name = "pallet-staking"
|
|
version = "4.0.0-dev"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2021"
|
|
license = "Apache-2.0"
|
|
homepage = "https://substrate.io"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
description = "FRAME pallet staking"
|
|
readme = "README.md"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
serde = { version = "1.0.136", optional = true }
|
|
codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false, features = [
|
|
"derive",
|
|
] }
|
|
scale-info = { version = "2.1.1", default-features = false, features = ["derive"] }
|
|
sp-std = { version = "5.0.0", default-features = false, path = "../../primitives/std" }
|
|
sp-io = { version = "7.0.0", default-features = false, path = "../../primitives/io" }
|
|
sp-runtime = { version = "7.0.0", default-features = false, path = "../../primitives/runtime" }
|
|
sp-staking = { version = "4.0.0-dev", default-features = false, path = "../../primitives/staking" }
|
|
frame-support = { version = "4.0.0-dev", default-features = false, path = "../support" }
|
|
frame-system = { version = "4.0.0-dev", default-features = false, path = "../system" }
|
|
pallet-session = { version = "4.0.0-dev", default-features = false, features = [
|
|
"historical",
|
|
], path = "../session" }
|
|
pallet-authorship = { version = "4.0.0-dev", default-features = false, path = "../authorship" }
|
|
sp-application-crypto = { version = "7.0.0", default-features = false, path = "../../primitives/application-crypto" }
|
|
frame-election-provider-support = { version = "4.0.0-dev", default-features = false, path = "../election-provider-support" }
|
|
log = { version = "0.4.17", default-features = false }
|
|
|
|
# Optional imports for benchmarking
|
|
frame-benchmarking = { version = "4.0.0-dev", default-features = false, path = "../benchmarking", optional = true }
|
|
rand_chacha = { version = "0.2", default-features = false, optional = true }
|
|
|
|
[dev-dependencies]
|
|
sp-tracing = { version = "6.0.0", path = "../../primitives/tracing" }
|
|
sp-core = { version = "7.0.0", path = "../../primitives/core" }
|
|
sp-npos-elections = { version = "4.0.0-dev", path = "../../primitives/npos-elections" }
|
|
pallet-balances = { version = "4.0.0-dev", path = "../balances" }
|
|
pallet-timestamp = { version = "4.0.0-dev", path = "../timestamp" }
|
|
pallet-staking-reward-curve = { version = "4.0.0-dev", path = "../staking/reward-curve" }
|
|
pallet-bags-list = { version = "4.0.0-dev", path = "../bags-list" }
|
|
substrate-test-utils = { version = "4.0.0-dev", path = "../../test-utils" }
|
|
frame-benchmarking = { version = "4.0.0-dev", path = "../benchmarking" }
|
|
frame-election-provider-support = { version = "4.0.0-dev", path = "../election-provider-support" }
|
|
rand_chacha = { version = "0.2" }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"frame-benchmarking?/std",
|
|
"serde",
|
|
"codec/std",
|
|
"scale-info/std",
|
|
"sp-std/std",
|
|
"sp-io/std",
|
|
"frame-support/std",
|
|
"sp-runtime/std",
|
|
"sp-staking/std",
|
|
"pallet-session/std",
|
|
"frame-system/std",
|
|
"pallet-authorship/std",
|
|
"sp-application-crypto/std",
|
|
"log/std",
|
|
"frame-election-provider-support/std",
|
|
]
|
|
runtime-benchmarks = [
|
|
"frame-benchmarking/runtime-benchmarks",
|
|
"frame-election-provider-support/runtime-benchmarks",
|
|
"rand_chacha",
|
|
"sp-staking/runtime-benchmarks",
|
|
]
|
|
try-runtime = ["frame-support/try-runtime", "frame-election-provider-support/try-runtime"]
|