move genesis liquidity tests to its own pallet

This commit is contained in:
akildemir
2024-09-16 15:01:04 +03:00
parent bdcc061bb4
commit cb0eba2426
10 changed files with 574 additions and 504 deletions

View File

@@ -39,6 +39,16 @@ serai-primitives = { path = "../../primitives", default-features = false }
genesis-liquidity-primitives = { package = "serai-genesis-liquidity-primitives", path = "../primitives", default-features = false }
validator-sets-primitives = { package = "serai-validator-sets-primitives", path = "../../validator-sets/primitives", default-features = false }
[dev-dependencies]
pallet-babe = { git = "https://github.com/serai-dex/substrate", default-features = false }
pallet-grandpa = { git = "https://github.com/serai-dex/substrate", default-features = false }
pallet-timestamp = { git = "https://github.com/serai-dex/substrate", default-features = false }
sp-io = { git = "https://github.com/serai-dex/substrate", default-features = false }
sp-runtime = { git = "https://github.com/serai-dex/substrate", default-features = false }
rand_core = "0.6"
[features]
std = [
"scale/std",
@@ -49,6 +59,8 @@ std = [
"sp-std/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-application-crypto/std",
"coins-pallet/std",
@@ -60,8 +72,20 @@ std = [
"serai-primitives/std",
"genesis-liquidity-primitives/std",
"validator-sets-primitives/std",
"pallet-babe/std",
"pallet-grandpa/std",
"pallet-timestamp/std",
]
try-runtime = [] # TODO
try-runtime = [
"frame-system/try-runtime",
"frame-support/try-runtime",
"sp-runtime/try-runtime",
]
fast-epoch = []
default = ["std"]