Add a dedicated Allocations struct for managing validator set allocations

Part of the DB abstraction necessary for this spaghetti.
This commit is contained in:
Luke Parker
2025-03-06 09:14:20 -05:00
parent dab1bab736
commit 3fc00830de
6 changed files with 391 additions and 52 deletions

16
Cargo.lock generated
View File

@@ -9169,31 +9169,17 @@ name = "serai-validator-sets-pallet"
version = "0.1.0"
dependencies = [
"bitvec",
"ciphersuite",
"borsh",
"frame-support",
"frame-system",
"frost-schnorrkel",
"modular-frost",
"pallet-babe",
"pallet-grandpa",
"pallet-timestamp",
"parity-scale-codec",
"rand_core",
"scale-info",
"serai-coins-pallet",
"serai-dex-pallet",
"serai-primitives",
"serde",
"sp-api",
"sp-application-crypto",
"sp-consensus-babe",
"sp-core",
"sp-io",
"sp-runtime",
"sp-session",
"sp-staking",
"sp-std",
"zeroize",
]
[[package]]