Test validator set's voting on a key

Needed for the in-instructions pallet to verify in-instructions are
appropriately signed and continue developing that.

Fixes a bug in the validator-sets pallet, moves several items from the pallet
to primitives.
This commit is contained in:
Luke Parker
2023-03-30 20:24:11 -04:00
parent 9615caf3bb
commit 1610383649
10 changed files with 186 additions and 65 deletions

View File

@@ -19,8 +19,10 @@ scale-info = { version = "2", default-features = false, features = ["derive"] }
serde = { version = "1", features = ["derive"], optional = true }
sp-core = { git = "https://github.com/serai-dex/substrate", default-features = false }
serai-primitives = { path = "../../serai/primitives", default-features = false }
[features]
std = ["zeroize", "scale/std", "scale-info/std", "serde", "serai-primitives/std"]
std = ["zeroize", "scale/std", "scale-info/std", "serde", "sp-core/std", "serai-primitives/std"]
default = ["std"]