Restore integration with pallet-babe to serai-validator-sets-pallet

This commit is contained in:
Luke Parker
2025-09-20 01:23:02 -04:00
parent b2b36b17c4
commit a2d8d0fd13
3 changed files with 148 additions and 235 deletions

View File

@@ -27,6 +27,9 @@ sp-api = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336
frame-system = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
frame-support = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
pallet-session = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
pallet-babe = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
serai-abi = { path = "../abi", default-features = false, features = ["substrate"] }
serai-coins-pallet = { path = "../coins", default-features = false }
@@ -50,6 +53,9 @@ std = [
"frame-system/std",
"frame-support/std",
"pallet-session/std",
"pallet-babe/std",
"serai-abi/std",
"serai-coins-pallet/std",
@@ -60,11 +66,16 @@ try-runtime = [
"frame-system/try-runtime",
"frame-support/try-runtime",
"pallet-session/try-runtime",
"pallet-babe/try-runtime",
]
runtime-benchmarks = [
"frame-system/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"pallet-babe/runtime-benchmarks",
]
default = ["std"]