2025-05-14 09:05:07 +00:00
|
|
|
[package]
|
|
|
|
|
name = "pallet-external-validators"
|
|
|
|
|
authors = { workspace = true }
|
|
|
|
|
description = "Simple pallet to store external validators."
|
|
|
|
|
edition = "2021"
|
|
|
|
|
license = "GPL-3.0-only"
|
2025-09-29 21:35:12 +00:00
|
|
|
version = { workspace = true }
|
2025-05-14 09:05:07 +00:00
|
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
2025-10-29 10:43:55 +00:00
|
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
2025-05-14 09:05:07 +00:00
|
|
|
|
|
|
|
|
[lints]
|
|
|
|
|
workspace = true
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
|
log = { workspace = true }
|
|
|
|
|
parity-scale-codec = { workspace = true }
|
|
|
|
|
rand = { workspace = true, optional = true }
|
2025-10-29 10:43:55 +00:00
|
|
|
scale-info = { workspace = true, features = ["derive"] }
|
|
|
|
|
macro_rules_attribute = { workspace = true }
|
2025-05-14 09:05:07 +00:00
|
|
|
|
|
|
|
|
frame-support = { workspace = true }
|
|
|
|
|
frame-system = { workspace = true }
|
|
|
|
|
impl-trait-for-tuples = { workspace = true }
|
|
|
|
|
sp-runtime = { workspace = true }
|
|
|
|
|
sp-staking = { workspace = true }
|
|
|
|
|
sp-std = { workspace = true }
|
2025-10-29 10:43:55 +00:00
|
|
|
sp-core = { workspace = true }
|
2025-05-14 09:05:07 +00:00
|
|
|
|
|
|
|
|
frame-benchmarking = { workspace = true }
|
|
|
|
|
|
|
|
|
|
pallet-balances = { workspace = true, optional = true }
|
2025-10-29 10:43:55 +00:00
|
|
|
pallet-session = { workspace = true, features = ["historical"] }
|
|
|
|
|
|
|
|
|
|
snowbridge-outbound-queue-primitives = { workspace = true }
|
2025-05-14 09:05:07 +00:00
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
|
pallet-timestamp = { workspace = true }
|
|
|
|
|
sp-io = { workspace = true }
|
|
|
|
|
|
|
|
|
|
[features]
|
2025-10-29 10:43:55 +00:00
|
|
|
default = ["std"]
|
2025-05-14 09:05:07 +00:00
|
|
|
std = [
|
2025-10-29 10:43:55 +00:00
|
|
|
"frame-benchmarking/std",
|
|
|
|
|
"frame-support/std",
|
|
|
|
|
"frame-system/std",
|
|
|
|
|
"log/std",
|
|
|
|
|
"pallet-balances/std",
|
|
|
|
|
"pallet-session/std",
|
|
|
|
|
"pallet-timestamp/std",
|
|
|
|
|
"parity-scale-codec/std",
|
|
|
|
|
"rand?/std",
|
|
|
|
|
"scale-info/std",
|
|
|
|
|
"snowbridge-outbound-queue-primitives/std",
|
|
|
|
|
"sp-core/std",
|
|
|
|
|
"sp-io/std",
|
|
|
|
|
"sp-runtime/std",
|
|
|
|
|
"sp-staking/std",
|
|
|
|
|
"sp-std/std",
|
2025-05-14 09:05:07 +00:00
|
|
|
]
|
|
|
|
|
runtime-benchmarks = [
|
2025-10-29 10:43:55 +00:00
|
|
|
"frame-benchmarking/runtime-benchmarks",
|
|
|
|
|
"frame-support/runtime-benchmarks",
|
|
|
|
|
"frame-system/runtime-benchmarks",
|
|
|
|
|
"pallet-balances/runtime-benchmarks",
|
|
|
|
|
"pallet-timestamp/runtime-benchmarks",
|
|
|
|
|
"rand",
|
|
|
|
|
"sp-runtime/runtime-benchmarks",
|
|
|
|
|
"sp-staking/runtime-benchmarks",
|
2025-05-14 09:05:07 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
try-runtime = [
|
2025-10-29 10:43:55 +00:00
|
|
|
"frame-support/try-runtime",
|
|
|
|
|
"frame-system/try-runtime",
|
|
|
|
|
"pallet-balances?/try-runtime",
|
|
|
|
|
"pallet-session/try-runtime",
|
|
|
|
|
"pallet-timestamp/try-runtime",
|
|
|
|
|
"sp-runtime/try-runtime",
|
2025-05-14 09:05:07 +00:00
|
|
|
]
|