Remove the staking pallet for validator-sets alone

The staking pallet is an indirection which offered no practical benefit yet
increased the overhead of every call.
This commit is contained in:
Luke Parker
2023-10-22 03:59:21 -04:00
parent a702d65c3d
commit d66a7ee43e
10 changed files with 193 additions and 434 deletions

View File

@@ -29,6 +29,8 @@ pallet-session = { git = "https://github.com/serai-dex/substrate", default-featu
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",
@@ -47,6 +49,8 @@ std = [
"serai-primitives/std",
"validator-sets-primitives/std",
"coins-pallet/std",
]
runtime-benchmarks = [