Restore GenesisConfig to the validator sets pallet

This commit is contained in:
Luke Parker
2025-09-20 00:06:19 -04:00
parent 9de8394efa
commit b2b36b17c4
21 changed files with 241 additions and 281 deletions

200
Cargo.lock generated
View File

@@ -3190,7 +3190,7 @@ checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb"
[[package]] [[package]]
name = "fork-tree" name = "fork-tree"
version = "13.0.1" version = "13.0.1"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"parity-scale-codec", "parity-scale-codec",
] ]
@@ -3223,7 +3223,7 @@ checksum = "28dd6caf6059519a65843af8fe2a3ae298b14b80179855aeb4adc2c1934ee619"
[[package]] [[package]]
name = "frame-benchmarking" name = "frame-benchmarking"
version = "41.0.1" version = "41.0.1"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"frame-support", "frame-support",
"frame-support-procedural", "frame-support-procedural",
@@ -3246,7 +3246,7 @@ dependencies = [
[[package]] [[package]]
name = "frame-executive" name = "frame-executive"
version = "41.0.1" version = "41.0.1"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"frame-support", "frame-support",
"frame-system", "frame-system",
@@ -3262,7 +3262,7 @@ dependencies = [
[[package]] [[package]]
name = "frame-support" name = "frame-support"
version = "41.0.0" version = "41.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"array-bytes", "array-bytes",
"bitflags 1.3.2", "bitflags 1.3.2",
@@ -3280,7 +3280,6 @@ dependencies = [
"sp-core", "sp-core",
"sp-crypto-hashing-proc-macro", "sp-crypto-hashing-proc-macro",
"sp-debug-derive", "sp-debug-derive",
"sp-genesis-builder",
"sp-inherents", "sp-inherents",
"sp-io", "sp-io",
"sp-runtime", "sp-runtime",
@@ -3296,7 +3295,7 @@ dependencies = [
[[package]] [[package]]
name = "frame-support-procedural" name = "frame-support-procedural"
version = "34.0.0" version = "34.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"Inflector", "Inflector",
"cfg-expr", "cfg-expr",
@@ -3315,7 +3314,7 @@ dependencies = [
[[package]] [[package]]
name = "frame-support-procedural-tools" name = "frame-support-procedural-tools"
version = "13.0.1" version = "13.0.1"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"frame-support-procedural-tools-derive", "frame-support-procedural-tools-derive",
"proc-macro-crate 3.3.0", "proc-macro-crate 3.3.0",
@@ -3327,7 +3326,7 @@ dependencies = [
[[package]] [[package]]
name = "frame-support-procedural-tools-derive" name = "frame-support-procedural-tools-derive"
version = "12.0.0" version = "12.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@@ -3337,7 +3336,7 @@ dependencies = [
[[package]] [[package]]
name = "frame-system" name = "frame-system"
version = "41.0.0" version = "41.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"cfg-if", "cfg-if",
"frame-support", "frame-support",
@@ -3354,7 +3353,7 @@ dependencies = [
[[package]] [[package]]
name = "frame-try-runtime" name = "frame-try-runtime"
version = "0.47.0" version = "0.47.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"frame-support", "frame-support",
"parity-scale-codec", "parity-scale-codec",
@@ -6119,7 +6118,7 @@ dependencies = [
[[package]] [[package]]
name = "pallet-authorship" name = "pallet-authorship"
version = "41.0.0" version = "41.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"frame-support", "frame-support",
"frame-system", "frame-system",
@@ -6131,7 +6130,7 @@ dependencies = [
[[package]] [[package]]
name = "pallet-babe" name = "pallet-babe"
version = "41.0.0" version = "41.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"frame-benchmarking", "frame-benchmarking",
"frame-support", "frame-support",
@@ -6152,7 +6151,7 @@ dependencies = [
[[package]] [[package]]
name = "pallet-grandpa" name = "pallet-grandpa"
version = "41.0.0" version = "41.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"frame-benchmarking", "frame-benchmarking",
"frame-support", "frame-support",
@@ -6172,7 +6171,7 @@ dependencies = [
[[package]] [[package]]
name = "pallet-session" name = "pallet-session"
version = "41.0.0" version = "41.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"frame-support", "frame-support",
"frame-system", "frame-system",
@@ -6192,7 +6191,7 @@ dependencies = [
[[package]] [[package]]
name = "pallet-timestamp" name = "pallet-timestamp"
version = "40.0.0" version = "40.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"frame-benchmarking", "frame-benchmarking",
"frame-support", "frame-support",
@@ -7657,7 +7656,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-allocator" name = "sc-allocator"
version = "32.0.0" version = "32.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"log", "log",
"sp-core", "sp-core",
@@ -7668,7 +7667,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-authority-discovery" name = "sc-authority-discovery"
version = "0.51.0" version = "0.51.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"futures", "futures",
@@ -7699,7 +7698,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-basic-authorship" name = "sc-basic-authorship"
version = "0.50.0" version = "0.50.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"futures", "futures",
"log", "log",
@@ -7720,7 +7719,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-block-builder" name = "sc-block-builder"
version = "0.45.0" version = "0.45.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"parity-scale-codec", "parity-scale-codec",
"sp-api", "sp-api",
@@ -7735,7 +7734,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-chain-spec" name = "sc-chain-spec"
version = "44.0.0" version = "44.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"array-bytes", "array-bytes",
"parity-scale-codec", "parity-scale-codec",
@@ -7759,7 +7758,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-chain-spec-derive" name = "sc-chain-spec-derive"
version = "12.0.0" version = "12.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"proc-macro-crate 3.3.0", "proc-macro-crate 3.3.0",
"proc-macro2", "proc-macro2",
@@ -7770,7 +7769,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-cli" name = "sc-cli"
version = "0.53.1" version = "0.53.1"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"array-bytes", "array-bytes",
"chrono", "chrono",
@@ -7811,7 +7810,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-client-api" name = "sc-client-api"
version = "40.0.0" version = "40.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"fnv", "fnv",
"futures", "futures",
@@ -7837,7 +7836,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-client-db" name = "sc-client-db"
version = "0.47.0" version = "0.47.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"hash-db", "hash-db",
"kvdb", "kvdb",
@@ -7864,7 +7863,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-consensus" name = "sc-consensus"
version = "0.50.0" version = "0.50.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"futures", "futures",
@@ -7887,7 +7886,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-consensus-babe" name = "sc-consensus-babe"
version = "0.51.0" version = "0.51.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"fork-tree", "fork-tree",
@@ -7923,7 +7922,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-consensus-epochs" name = "sc-consensus-epochs"
version = "0.50.0" version = "0.50.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"fork-tree", "fork-tree",
"parity-scale-codec", "parity-scale-codec",
@@ -7936,7 +7935,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-consensus-grandpa" name = "sc-consensus-grandpa"
version = "0.36.0" version = "0.36.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"ahash", "ahash",
"array-bytes", "array-bytes",
@@ -7980,7 +7979,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-consensus-slots" name = "sc-consensus-slots"
version = "0.50.0" version = "0.50.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"futures", "futures",
@@ -8003,7 +8002,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-executor" name = "sc-executor"
version = "0.43.0" version = "0.43.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"parity-scale-codec", "parity-scale-codec",
"parking_lot", "parking_lot",
@@ -8025,7 +8024,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-executor-common" name = "sc-executor-common"
version = "0.39.0" version = "0.39.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"sc-allocator", "sc-allocator",
"sp-maybe-compressed-blob", "sp-maybe-compressed-blob",
@@ -8037,7 +8036,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-executor-wasmtime" name = "sc-executor-wasmtime"
version = "0.39.0" version = "0.39.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"log", "log",
@@ -8053,7 +8052,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-informant" name = "sc-informant"
version = "0.50.0" version = "0.50.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"console", "console",
"futures", "futures",
@@ -8069,7 +8068,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-keystore" name = "sc-keystore"
version = "36.0.0" version = "36.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"array-bytes", "array-bytes",
"parking_lot", "parking_lot",
@@ -8083,7 +8082,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-network" name = "sc-network"
version = "0.51.1" version = "0.51.1"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"array-bytes", "array-bytes",
"async-channel", "async-channel",
@@ -8129,7 +8128,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-network-common" name = "sc-network-common"
version = "0.49.0" version = "0.49.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"bitflags 1.3.2", "bitflags 1.3.2",
"parity-scale-codec", "parity-scale-codec",
@@ -8139,7 +8138,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-network-gossip" name = "sc-network-gossip"
version = "0.51.0" version = "0.51.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"ahash", "ahash",
"futures", "futures",
@@ -8158,7 +8157,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-network-light" name = "sc-network-light"
version = "0.50.0" version = "0.50.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"array-bytes", "array-bytes",
"async-channel", "async-channel",
@@ -8179,7 +8178,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-network-sync" name = "sc-network-sync"
version = "0.50.0" version = "0.50.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"array-bytes", "array-bytes",
"async-channel", "async-channel",
@@ -8214,7 +8213,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-network-transactions" name = "sc-network-transactions"
version = "0.50.0" version = "0.50.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"array-bytes", "array-bytes",
"futures", "futures",
@@ -8233,7 +8232,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-network-types" name = "sc-network-types"
version = "0.17.0" version = "0.17.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"bs58", "bs58",
"bytes", "bytes",
@@ -8254,7 +8253,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-proposer-metrics" name = "sc-proposer-metrics"
version = "0.20.0" version = "0.20.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"log", "log",
"substrate-prometheus-endpoint", "substrate-prometheus-endpoint",
@@ -8263,7 +8262,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-rpc" name = "sc-rpc"
version = "46.0.0" version = "46.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"futures", "futures",
"jsonrpsee", "jsonrpsee",
@@ -8293,7 +8292,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-rpc-api" name = "sc-rpc-api"
version = "0.50.0" version = "0.50.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"jsonrpsee", "jsonrpsee",
"parity-scale-codec", "parity-scale-codec",
@@ -8311,7 +8310,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-rpc-server" name = "sc-rpc-server"
version = "23.0.0" version = "23.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"dyn-clone", "dyn-clone",
"forwarded-header-value", "forwarded-header-value",
@@ -8335,7 +8334,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-rpc-spec-v2" name = "sc-rpc-spec-v2"
version = "0.51.0" version = "0.51.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"array-bytes", "array-bytes",
"futures", "futures",
@@ -8368,7 +8367,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-service" name = "sc-service"
version = "0.52.0" version = "0.52.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"directories", "directories",
@@ -8430,7 +8429,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-state-db" name = "sc-state-db"
version = "0.39.0" version = "0.39.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"log", "log",
"parity-scale-codec", "parity-scale-codec",
@@ -8441,7 +8440,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-sysinfo" name = "sc-sysinfo"
version = "43.0.0" version = "43.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"derive_more 1.0.0", "derive_more 1.0.0",
"futures", "futures",
@@ -8461,7 +8460,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-telemetry" name = "sc-telemetry"
version = "29.0.0" version = "29.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"chrono", "chrono",
"futures", "futures",
@@ -8480,7 +8479,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-tracing" name = "sc-tracing"
version = "40.0.0" version = "40.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"chrono", "chrono",
"console", "console",
@@ -8507,7 +8506,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-tracing-proc-macro" name = "sc-tracing-proc-macro"
version = "11.1.0" version = "11.1.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"proc-macro-crate 3.3.0", "proc-macro-crate 3.3.0",
"proc-macro2", "proc-macro2",
@@ -8518,7 +8517,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-transaction-pool" name = "sc-transaction-pool"
version = "40.1.0" version = "40.1.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"futures", "futures",
@@ -8548,7 +8547,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-transaction-pool-api" name = "sc-transaction-pool-api"
version = "40.0.0" version = "40.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"futures", "futures",
@@ -8565,7 +8564,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-utils" name = "sc-utils"
version = "19.0.0" version = "19.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"async-channel", "async-channel",
"futures", "futures",
@@ -9743,12 +9742,11 @@ dependencies = [
"frame-system", "frame-system",
"parity-scale-codec", "parity-scale-codec",
"rand_core 0.6.4", "rand_core 0.6.4",
"serai-abi",
"serai-coins-pallet", "serai-coins-pallet",
"serai-primitives",
"sp-api", "sp-api",
"sp-core", "sp-core",
"sp-io", "sp-io",
"sp-runtime",
"zeroize", "zeroize",
] ]
@@ -10121,7 +10119,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-api" name = "sp-api"
version = "37.0.0" version = "37.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"hash-db", "hash-db",
"log", "log",
@@ -10140,7 +10138,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-api-proc-macro" name = "sp-api-proc-macro"
version = "23.0.0" version = "23.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"Inflector", "Inflector",
"blake2 0.10.6", "blake2 0.10.6",
@@ -10154,7 +10152,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-application-crypto" name = "sp-application-crypto"
version = "41.0.0" version = "41.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"parity-scale-codec", "parity-scale-codec",
"serde", "serde",
@@ -10165,7 +10163,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-arithmetic" name = "sp-arithmetic"
version = "27.0.0" version = "27.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"integer-sqrt", "integer-sqrt",
"num-traits", "num-traits",
@@ -10177,7 +10175,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-authority-discovery" name = "sp-authority-discovery"
version = "37.0.0" version = "37.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"parity-scale-codec", "parity-scale-codec",
"sp-api", "sp-api",
@@ -10187,7 +10185,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-block-builder" name = "sp-block-builder"
version = "37.0.0" version = "37.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"sp-api", "sp-api",
"sp-inherents", "sp-inherents",
@@ -10197,7 +10195,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-blockchain" name = "sp-blockchain"
version = "40.0.0" version = "40.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"futures", "futures",
"parity-scale-codec", "parity-scale-codec",
@@ -10216,7 +10214,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-consensus" name = "sp-consensus"
version = "0.43.0" version = "0.43.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"futures", "futures",
@@ -10230,7 +10228,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-consensus-babe" name = "sp-consensus-babe"
version = "0.43.0" version = "0.43.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"parity-scale-codec", "parity-scale-codec",
@@ -10247,7 +10245,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-consensus-grandpa" name = "sp-consensus-grandpa"
version = "24.0.0" version = "24.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"finality-grandpa", "finality-grandpa",
"log", "log",
@@ -10263,7 +10261,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-consensus-slots" name = "sp-consensus-slots"
version = "0.43.0" version = "0.43.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"parity-scale-codec", "parity-scale-codec",
"serde", "serde",
@@ -10273,7 +10271,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-core" name = "sp-core"
version = "37.0.0" version = "37.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"array-bytes", "array-bytes",
"bitflags 1.3.2", "bitflags 1.3.2",
@@ -10311,7 +10309,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-crypto-hashing" name = "sp-crypto-hashing"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"blake2b_simd", "blake2b_simd",
"byteorder", "byteorder",
@@ -10324,7 +10322,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-crypto-hashing-proc-macro" name = "sp-crypto-hashing-proc-macro"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"quote", "quote",
"sp-crypto-hashing", "sp-crypto-hashing",
@@ -10334,7 +10332,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-database" name = "sp-database"
version = "10.0.0" version = "10.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"kvdb", "kvdb",
"parking_lot", "parking_lot",
@@ -10343,7 +10341,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-debug-derive" name = "sp-debug-derive"
version = "14.0.0" version = "14.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@@ -10353,7 +10351,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-externalities" name = "sp-externalities"
version = "0.30.0" version = "0.30.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"environmental", "environmental",
"parity-scale-codec", "parity-scale-codec",
@@ -10363,7 +10361,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-genesis-builder" name = "sp-genesis-builder"
version = "0.18.0" version = "0.18.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"parity-scale-codec", "parity-scale-codec",
"sp-api", "sp-api",
@@ -10372,7 +10370,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-inherents" name = "sp-inherents"
version = "37.0.0" version = "37.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"impl-trait-for-tuples", "impl-trait-for-tuples",
@@ -10384,7 +10382,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-io" name = "sp-io"
version = "41.0.1" version = "41.0.1"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"bytes", "bytes",
"log", "log",
@@ -10405,7 +10403,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-keyring" name = "sp-keyring"
version = "42.0.0" version = "42.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"sp-core", "sp-core",
"sp-runtime", "sp-runtime",
@@ -10415,7 +10413,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-keystore" name = "sp-keystore"
version = "0.43.0" version = "0.43.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"parity-scale-codec", "parity-scale-codec",
"parking_lot", "parking_lot",
@@ -10426,7 +10424,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-maybe-compressed-blob" name = "sp-maybe-compressed-blob"
version = "11.0.0" version = "11.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"thiserror 2.0.16", "thiserror 2.0.16",
"zstd", "zstd",
@@ -10435,7 +10433,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-offchain" name = "sp-offchain"
version = "37.0.0" version = "37.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"sp-api", "sp-api",
"sp-core", "sp-core",
@@ -10445,7 +10443,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-panic-handler" name = "sp-panic-handler"
version = "13.0.2" version = "13.0.2"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"backtrace", "backtrace",
"regex", "regex",
@@ -10454,7 +10452,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-rpc" name = "sp-rpc"
version = "35.0.0" version = "35.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"rustc-hash", "rustc-hash",
"serde", "serde",
@@ -10464,7 +10462,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-runtime" name = "sp-runtime"
version = "42.0.0" version = "42.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"either", "either",
"hash256-std-hasher", "hash256-std-hasher",
@@ -10488,7 +10486,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-runtime-interface" name = "sp-runtime-interface"
version = "30.0.0" version = "30.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"bytes", "bytes",
"parity-scale-codec", "parity-scale-codec",
@@ -10502,7 +10500,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-runtime-interface-proc-macro" name = "sp-runtime-interface-proc-macro"
version = "19.0.0" version = "19.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"Inflector", "Inflector",
"expander", "expander",
@@ -10515,7 +10513,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-session" name = "sp-session"
version = "39.0.0" version = "39.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"parity-scale-codec", "parity-scale-codec",
"sp-api", "sp-api",
@@ -10528,7 +10526,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-staking" name = "sp-staking"
version = "39.0.0" version = "39.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"impl-trait-for-tuples", "impl-trait-for-tuples",
"parity-scale-codec", "parity-scale-codec",
@@ -10540,7 +10538,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-state-machine" name = "sp-state-machine"
version = "0.46.0" version = "0.46.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"hash-db", "hash-db",
"log", "log",
@@ -10560,12 +10558,12 @@ dependencies = [
[[package]] [[package]]
name = "sp-std" name = "sp-std"
version = "14.0.0" version = "14.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
[[package]] [[package]]
name = "sp-storage" name = "sp-storage"
version = "22.0.0" version = "22.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"impl-serde", "impl-serde",
"parity-scale-codec", "parity-scale-codec",
@@ -10577,7 +10575,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-timestamp" name = "sp-timestamp"
version = "37.0.0" version = "37.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"parity-scale-codec", "parity-scale-codec",
@@ -10589,7 +10587,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-tracing" name = "sp-tracing"
version = "17.1.0" version = "17.1.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"parity-scale-codec", "parity-scale-codec",
"tracing", "tracing",
@@ -10600,7 +10598,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-transaction-pool" name = "sp-transaction-pool"
version = "37.0.0" version = "37.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"sp-api", "sp-api",
"sp-runtime", "sp-runtime",
@@ -10609,7 +10607,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-trie" name = "sp-trie"
version = "40.0.0" version = "40.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"ahash", "ahash",
"foldhash 0.1.5", "foldhash 0.1.5",
@@ -10633,7 +10631,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-version" name = "sp-version"
version = "40.0.0" version = "40.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"impl-serde", "impl-serde",
"parity-scale-codec", "parity-scale-codec",
@@ -10649,7 +10647,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-version-proc-macro" name = "sp-version-proc-macro"
version = "15.0.0" version = "15.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"parity-scale-codec", "parity-scale-codec",
"proc-macro-warning", "proc-macro-warning",
@@ -10661,7 +10659,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-wasm-interface" name = "sp-wasm-interface"
version = "22.0.0" version = "22.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"impl-trait-for-tuples", "impl-trait-for-tuples",
@@ -10673,7 +10671,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-weights" name = "sp-weights"
version = "32.0.0" version = "32.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"bounded-collections", "bounded-collections",
"parity-scale-codec", "parity-scale-codec",
@@ -10822,7 +10820,7 @@ dependencies = [
[[package]] [[package]]
name = "substrate-prometheus-endpoint" name = "substrate-prometheus-endpoint"
version = "0.17.6" version = "0.17.6"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"http-body-util", "http-body-util",
"hyper", "hyper",
@@ -10836,7 +10834,7 @@ dependencies = [
[[package]] [[package]]
name = "substrate-wasm-builder" name = "substrate-wasm-builder"
version = "27.0.0" version = "27.0.0"
source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=d4624c561765c13b38eb566e435131a8c329a543#d4624c561765c13b38eb566e435131a8c329a543" source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=16336c737dbe833e9d138a256af99698aba637c7#16336c737dbe833e9d138a256af99698aba637c7"
dependencies = [ dependencies = [
"cargo_metadata", "cargo_metadata",
"console", "console",

View File

@@ -22,12 +22,12 @@ workspace = true
borsh = { version = "1", default-features = false, features = ["derive", "de_strict_order"] } borsh = { version = "1", default-features = false, features = ["derive", "de_strict_order"] }
bitvec = { version = "1", default-features = false, features = ["alloc"] } bitvec = { version = "1", default-features = false, features = ["alloc"] }
sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
serde = { version = "1", default-features = false, features = ["derive"], optional = true } serde = { version = "1", default-features = false, features = ["derive"], optional = true }
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"], optional = true } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"], optional = true }
sp-runtime = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false, features = ["serde"], optional = true } sp-runtime = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false, features = ["serde"], optional = true }
frame-support = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false, optional = true } frame-support = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false, optional = true }
serai-primitives = { path = "../primitives", version = "0.1", default-features = false } serai-primitives = { path = "../primitives", version = "0.1", default-features = false }

View File

@@ -31,9 +31,9 @@ serde_json = { version = "1", optional = true }
serai-abi = { path = "../abi", version = "0.1" } serai-abi = { path = "../abi", version = "0.1" }
multiaddr = { version = "0.18", optional = true } multiaddr = { version = "0.18", optional = true }
sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", optional = true } sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", optional = true }
sp-runtime = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", optional = true } sp-runtime = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", optional = true }
frame-system = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", optional = true } frame-system = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", optional = true }
async-lock = "3" async-lock = "3"

View File

@@ -18,10 +18,10 @@ workspace = true
[dependencies] [dependencies]
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
frame-system = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } 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 = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } frame-support = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
serai-abi = { path = "../abi", default-features = false, features = ["substrate"] } serai-abi = { path = "../abi", default-features = false, features = ["substrate"] }
serai-core-pallet = { path = "../core", default-features = false } serai-core-pallet = { path = "../core", default-features = false }
@@ -29,7 +29,7 @@ serai-core-pallet = { path = "../core", default-features = false }
[dev-dependencies] [dev-dependencies]
borsh = { version = "1", default-features = false, features = ["std", "derive", "de_strict_order"] } borsh = { version = "1", default-features = false, features = ["std", "derive", "de_strict_order"] }
sp-io = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false, features = ["std"] } sp-io = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false, features = ["std"] }
[features] [features]
std = [ std = [

View File

@@ -20,10 +20,10 @@ borsh = { version = "1", default-features = false, features = ["derive", "de_str
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
frame-system = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } 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 = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } frame-support = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
serai-abi = { path = "../abi", default-features = false, features = ["substrate"] } serai-abi = { path = "../abi", default-features = false, features = ["substrate"] }

View File

@@ -21,15 +21,15 @@ workspace = true
[dependencies] [dependencies]
scale = { package = "parity-scale-codec", version = "3.6.1", default-features = false } scale = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
sp-std = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } sp-std = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
sp-io = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } sp-io = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
sp-api = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } sp-api = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
sp-runtime = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } sp-runtime = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
frame-system = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } 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 = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } frame-support = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
frame-benchmarking = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false, optional = true } frame-benchmarking = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false, optional = true }
coins-pallet = { package = "serai-coins-pallet", path = "../coins", default-features = false } coins-pallet = { package = "serai-coins-pallet", path = "../coins", default-features = false }

View File

@@ -21,8 +21,8 @@ workspace = true
[dependencies] [dependencies]
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
frame-system = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } 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 = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } frame-support = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
dex-pallet = { package = "serai-dex-pallet", path = "../dex", default-features = false } dex-pallet = { package = "serai-dex-pallet", path = "../dex", default-features = false }
coins-pallet = { package = "serai-coins-pallet", path = "../coins", default-features = false } coins-pallet = { package = "serai-coins-pallet", path = "../coins", default-features = false }
@@ -30,16 +30,16 @@ coins-pallet = { package = "serai-coins-pallet", path = "../coins", default-feat
serai-primitives = { path = "../primitives", default-features = false } serai-primitives = { path = "../primitives", default-features = false }
[dev-dependencies] [dev-dependencies]
pallet-babe = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } pallet-babe = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
pallet-grandpa = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } pallet-grandpa = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
pallet-timestamp = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } pallet-timestamp = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
validator-sets-pallet = { package = "serai-validator-sets-pallet", path = "../validator-sets", default-features = false } validator-sets-pallet = { package = "serai-validator-sets-pallet", path = "../validator-sets", default-features = false }
sp-io = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } sp-io = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
sp-runtime = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } sp-runtime = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
sp-consensus-babe = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } sp-consensus-babe = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
[features] [features]
std = [ std = [

View File

@@ -21,11 +21,11 @@ workspace = true
[dependencies] [dependencies]
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
frame-system = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } 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 = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } frame-support = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
sp-std = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } sp-std = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
sp-runtime = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } sp-runtime = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
coins-pallet = { package = "serai-coins-pallet", path = "../coins", default-features = false } coins-pallet = { package = "serai-coins-pallet", path = "../coins", default-features = false }
validator-sets-pallet = { package = "serai-validator-sets-pallet", path = "../validator-sets", default-features = false } validator-sets-pallet = { package = "serai-validator-sets-pallet", path = "../validator-sets", default-features = false }

View File

@@ -21,12 +21,12 @@ workspace = true
[dependencies] [dependencies]
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
frame-system = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } 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 = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } frame-support = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
sp-std = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } sp-std = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
sp-application-crypto = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } sp-application-crypto = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
dex-pallet = { package = "serai-dex-pallet", path = "../dex", default-features = false } dex-pallet = { package = "serai-dex-pallet", path = "../dex", default-features = false }
coins-pallet = { package = "serai-coins-pallet", path = "../coins", default-features = false } coins-pallet = { package = "serai-coins-pallet", path = "../coins", default-features = false }

View File

@@ -24,14 +24,14 @@ bitvec = { version = "1", default-features = false, features = ["alloc"] }
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive", "max-encoded-len"] } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive", "max-encoded-len"] }
sp-std = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } sp-std = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
sp-application-crypto = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } sp-application-crypto = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
sp-io = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } sp-io = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
sp-runtime = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } sp-runtime = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
frame-system = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } 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 = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } frame-support = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
serai-primitives = { path = "../primitives", default-features = false } serai-primitives = { path = "../primitives", default-features = false }
@@ -42,9 +42,9 @@ genesis-liquidity-pallet = { package = "serai-genesis-liquidity-pallet", path =
emissions-pallet = { package = "serai-emissions-pallet", path = "../emissions", default-features = false } emissions-pallet = { package = "serai-emissions-pallet", path = "../emissions", default-features = false }
[dev-dependencies] [dev-dependencies]
pallet-babe = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } pallet-babe = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
pallet-grandpa = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } pallet-grandpa = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
pallet-timestamp = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } pallet-timestamp = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
economic-security-pallet = { package = "serai-economic-security-pallet", path = "../economic-security", default-features = false } economic-security-pallet = { package = "serai-economic-security-pallet", path = "../economic-security", default-features = false }

View File

@@ -34,16 +34,16 @@ secq256k1 = { path = "../../crypto/secq256k1" }
libp2p = "0.56" libp2p = "0.56"
sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543" } sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7" }
sp-keystore = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543" } sp-keystore = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7" }
sp-timestamp = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543" } sp-timestamp = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7" }
sp-io = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543" } sp-io = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7" }
sp-blockchain = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543" } sp-blockchain = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7" }
sp-api = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543" } sp-api = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7" }
sp-block-builder = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543" } sp-block-builder = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7" }
sp-consensus-babe = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543" } sp-consensus-babe = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7" }
frame-benchmarking = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543" } frame-benchmarking = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7" }
serai-runtime = { path = "../runtime", features = ["std"] } serai-runtime = { path = "../runtime", features = ["std"] }
@@ -55,24 +55,24 @@ jsonrpsee = { version = "0.24", features = ["server"] }
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
sc-transaction-pool = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543" } sc-transaction-pool = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7" }
sc-transaction-pool-api = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543" } sc-transaction-pool-api = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7" }
sc-basic-authorship = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543" } sc-basic-authorship = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7" }
sc-executor = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543" } sc-executor = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7" }
sc-service = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543" } sc-service = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7" }
sc-client-api = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543" } sc-client-api = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7" }
sc-network-common = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543" } sc-network-common = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7" }
sc-network = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } sc-network = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
sc-consensus = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543" } sc-consensus = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7" }
sc-consensus-babe = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543" } sc-consensus-babe = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7" }
sc-consensus-grandpa = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543" } sc-consensus-grandpa = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7" }
sc-authority-discovery = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543" } sc-authority-discovery = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7" }
sc-telemetry = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543" } sc-telemetry = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7" }
sc-cli = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false, features = ["rocksdb"] } sc-cli = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false, features = ["rocksdb"] }
sc-rpc-api = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543" } sc-rpc-api = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7" }
serai-env = { path = "../../common/env" } serai-env = { path = "../../common/env" }

View File

@@ -21,7 +21,7 @@ borsh = { version = "1", default-features = false, features = ["derive", "de_str
bitvec = { version = "1", default-features = false, features = ["alloc"] } bitvec = { version = "1", default-features = false, features = ["alloc"] }
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"], optional = true } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"], optional = true }
sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
ciphersuite = { path = "../../crypto/ciphersuite", default-features = false, features = ["alloc"] } ciphersuite = { path = "../../crypto/ciphersuite", default-features = false, features = ["alloc"] }
schnorr-signatures = { path = "../../crypto/schnorr", default-features = false } schnorr-signatures = { path = "../../crypto/schnorr", default-features = false }

View File

@@ -20,16 +20,16 @@ workspace = true
[dependencies] [dependencies]
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
sp-version = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } sp-version = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
sp-runtime = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } sp-runtime = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
sp-api = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } sp-api = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
serai-abi = { path = "../abi", default-features = false, features = ["substrate"] } serai-abi = { path = "../abi", default-features = false, features = ["substrate"] }
frame-system = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } 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 = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } frame-support = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
frame-executive = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } frame-executive = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
serai-core-pallet = { path = "../core", default-features = false } serai-core-pallet = { path = "../core", default-features = false }
serai-coins-pallet = { path = "../coins", default-features = false } serai-coins-pallet = { path = "../coins", default-features = false }
@@ -37,7 +37,7 @@ serai-validator-sets-pallet = { path = "../validator-sets", default-features = f
serai-signals-pallet = { path = "../signals", default-features = false } serai-signals-pallet = { path = "../signals", default-features = false }
[build-dependencies] [build-dependencies]
substrate-wasm-builder = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543" } substrate-wasm-builder = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7" }
[features] [features]
std = [ std = [

View File

@@ -21,10 +21,10 @@ workspace = true
[dependencies] [dependencies]
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
frame-system = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } 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 = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } frame-support = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
serai-abi = { path = "../abi", default-features = false, features = ["substrate"] } serai-abi = { path = "../abi", default-features = false, features = ["substrate"] }

View File

@@ -20,29 +20,18 @@ bitvec = { version = "1", default-features = false, features = ["alloc", "serde"
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive", "bit-vec"] } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive", "bit-vec"] }
sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
sp-io = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } sp-io = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
sp-runtime = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } sp-api = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
sp-api = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false }
frame-system = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } 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 = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false } frame-support = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "16336c737dbe833e9d138a256af99698aba637c7", default-features = false }
serai-primitives = { path = "../primitives", default-features = false, features = ["non_canonical_scale_derivations"] } serai-abi = { path = "../abi", default-features = false, features = ["substrate"] }
coins-pallet = { package = "serai-coins-pallet", path = "../coins", default-features = false } serai-coins-pallet = { path = "../coins", default-features = false }
[dev-dependencies] [dev-dependencies]
#pallet-timestamp = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false }
#sp-consensus-babe = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "d4624c561765c13b38eb566e435131a8c329a543", default-features = false }
#ciphersuite = { path = "../../../crypto/ciphersuite", default-features = false, features = ["std"] }
#dalek-ff-group = { path = "../../../crypto/dalek-ff-group", default-features = false, features = ["std"] }
#dkg-musig = { path = "../../../crypto/dkg/musig", default-features = false, features = ["std"] }
#frost = { package = "modular-frost", path = "../../../crypto/frost", features = ["tests"] }
#schnorrkel = { path = "../../../crypto/schnorrkel", package = "frost-schnorrkel" }
zeroize = "^1.5" zeroize = "^1.5"
rand_core = "0.6" rand_core = "0.6"
@@ -56,22 +45,21 @@ std = [
"sp-core/std", "sp-core/std",
"sp-io/std", "sp-io/std",
"sp-runtime/std",
"sp-api/std", "sp-api/std",
"frame-system/std", "frame-system/std",
"frame-support/std", "frame-support/std",
"serai-primitives/std", "serai-abi/std",
"coins-pallet/std", "serai-coins-pallet/std",
] ]
try-runtime = [ try-runtime = [
"serai-abi/try-runtime",
"frame-system/try-runtime", "frame-system/try-runtime",
"frame-support/try-runtime", "frame-support/try-runtime",
"sp-runtime/try-runtime",
] ]
runtime-benchmarks = [ runtime-benchmarks = [

View File

@@ -1,6 +1,6 @@
use sp_core::{Encode, sr25519::Public}; use sp_core::{Encode, sr25519::Public};
use serai_primitives::{network_id::NetworkId, balance::Amount, validator_sets::KeyShares}; use serai_abi::primitives::{network_id::NetworkId, balance::Amount, validator_sets::KeyShares};
use frame_support::storage::{StorageMap, StoragePrefixedMap}; use frame_support::storage::{StorageMap, StoragePrefixedMap};

View File

@@ -1,6 +1,6 @@
use sp_core::sr25519::Public; use sp_core::sr25519::Public;
use serai_primitives::{crypto::SignedEmbeddedEllipticCurveKeys, network_id::*}; use serai_abi::primitives::{crypto::SignedEmbeddedEllipticCurveKeys, network_id::*};
use frame_support::storage::StorageDoubleMap; use frame_support::storage::StorageDoubleMap;
@@ -9,8 +9,8 @@ pub(crate) trait EmbeddedEllipticCurveKeysStorage {
type EmbeddedEllipticCurveKeys: StorageDoubleMap< type EmbeddedEllipticCurveKeys: StorageDoubleMap<
ExternalNetworkId, ExternalNetworkId,
Public, Public,
serai_primitives::crypto::EmbeddedEllipticCurveKeys, serai_abi::primitives::crypto::EmbeddedEllipticCurveKeys,
Query = Option<serai_primitives::crypto::EmbeddedEllipticCurveKeys>, Query = Option<serai_abi::primitives::crypto::EmbeddedEllipticCurveKeys>,
>; >;
} }

View File

@@ -34,11 +34,11 @@ use frame_support::{
BoundedVec, WeakBoundedVec, StoragePrefixedMap, BoundedVec, WeakBoundedVec, StoragePrefixedMap,
}; };
use serai_primitives::*; use serai_abi::primitives::*;
pub use validator_sets_primitives as primitives; pub use validator_sets_primitives as primitives;
use primitives::*; use primitives::*;
use coins_pallet::{Pallet as Coins, AllowMint}; use serai_coins_pallet::{Pallet as Coins, AllowMint};
use dex_pallet::Pallet as Dex; use dex_pallet::Pallet as Dex;
use pallet_babe::{ use pallet_babe::{
@@ -81,51 +81,51 @@ mod pallet {
use frame_system::pallet_prelude::*; use frame_system::pallet_prelude::*;
use frame_support::pallet_prelude::*; use frame_support::pallet_prelude::*;
use serai_primitives::{ use serai_abi::primitives::{
crypto::KeyPair, crypto::SignedEmbeddedEllipticCurveKeys,
network_id::*, network_id::*,
coin::*, coin::*,
balance::*, balance::*,
validator_sets::{Session, ExternalValidatorSet, ValidatorSet, KeyShares as KeySharesStruct}, validator_sets::{Session, ValidatorSet, KeyShares as KeySharesStruct},
address::SeraiAddress, address::SeraiAddress,
}; };
use coins_pallet::Pallet as Coins; use serai_coins_pallet::Pallet as Coins;
use super::*; use super::*;
#[pallet::config] #[pallet::config]
pub trait Config: pub trait Config:
frame_system::Config + coins_pallet::Config<coins_pallet::CoinsInstance> frame_system::Config + serai_coins_pallet::Config<serai_coins_pallet::CoinsInstance>
{ {
// type ShouldEndSession: ShouldEndSession<BlockNumberFor<Self>>; // type ShouldEndSession: ShouldEndSession<BlockNumberFor<Self>>;
} }
/* TODO
#[derive(Clone, PartialEq, Eq, Debug, Encode, Decode, serde::Serialize, serde::Deserialize)]
pub struct AllEmbeddedEllipticCurveKeysAtGenesis {
pub embedwards25519: BoundedVec<u8, ConstU32<{ MAX_KEY_LEN }>>,
pub secq256k1: BoundedVec<u8, ConstU32<{ MAX_KEY_LEN }>>,
}
#[pallet::genesis_config] #[pallet::genesis_config]
#[derive(Clone, PartialEq, Eq, Debug, Encode, Decode)] #[derive(Clone, PartialEq, Eq, Debug)]
pub struct GenesisConfig<T: Config> { pub struct GenesisConfig<T: Config> {
/// Networks to spawn Serai with, and the stake requirement per key share.
///
/// Every participant at genesis will automatically be assumed to have this much stake.
/// This stake cannot be withdrawn however as there's no actual stake behind it.
pub networks: Vec<(NetworkId, Amount)>,
/// List of participants to place in the initial validator sets. /// List of participants to place in the initial validator sets.
pub participants: Vec<(T::AccountId, AllEmbeddedEllipticCurveKeysAtGenesis)>, pub participants: Vec<(T::AccountId, Vec<SignedEmbeddedEllipticCurveKeys>)>,
} }
impl<T: Config> Default for GenesisConfig<T> { #[pallet::genesis_build]
fn default() -> Self { impl<T: Config> BuildGenesisConfig for GenesisConfig<T> {
GenesisConfig { networks: Default::default(), participants: Default::default() } fn build(&self) {
for (participant, keys) in &self.participants {
for (network, keys) in ExternalNetworkId::all().zip(keys.iter().cloned()) {
assert_eq!(network, keys.network());
<Abstractions<T> as crate::EmbeddedEllipticCurveKeys>::set_embedded_elliptic_curve_keys(
*participant,
keys,
)
.expect("genesis embedded elliptic curve keys weren't valid");
}
}
for network in NetworkId::all() {
Abstractions::<T>::attempt_new_session(network, true);
}
} }
} }
*/
#[pallet::pallet] #[pallet::pallet]
pub struct Pallet<T>(PhantomData<T>); pub struct Pallet<T>(PhantomData<T>);
@@ -171,7 +171,7 @@ mod pallet {
ExternalNetworkId, ExternalNetworkId,
Blake2_128Concat, Blake2_128Concat,
Public, Public,
serai_primitives::crypto::EmbeddedEllipticCurveKeys, serai_abi::primitives::crypto::EmbeddedEllipticCurveKeys,
OptionQuery, OptionQuery,
>; >;
@@ -320,31 +320,6 @@ mod pallet {
} }
} }
} }
#[pallet::genesis_build]
impl<T: Config> BuildGenesisConfig for GenesisConfig<T> {
fn build(&self) {
for (id, stake) in self.networks.clone() {
AllocationPerKeyShare::<T>::set(id, Some(stake));
for participant in &self.participants {
if Abstractions::<T>::set_allocation(id, participant.0, stake) {
panic!("participants contained duplicates");
}
EmbeddedEllipticCurveKeys::<T>::set(
participant.0,
EmbeddedEllipticCurve::Embedwards25519,
Some(participant.1.embedwards25519.clone()),
);
EmbeddedEllipticCurveKeys::<T>::set(
participant.0,
EmbeddedEllipticCurve::Secq256k1,
Some(participant.1.secq256k1.clone()),
);
}
Pallet::<T>::new_set(id);
}
}
}
*/ */
impl<T: Config> Pallet<T> { impl<T: Config> Pallet<T> {
@@ -536,7 +511,7 @@ mod pallet {
} }
fn new_session() { fn new_session() {
for network in serai_primitives::NETWORKS { for network in serai_abi::primitives::NETWORKS {
// If this network hasn't started sessions yet, don't start one now // If this network hasn't started sessions yet, don't start one now
let Some(current_session) = Self::session(network) else { continue }; let Some(current_session) = Self::session(network) else { continue };
// Only spawn a new set if: // Only spawn a new set if:
@@ -834,7 +809,7 @@ mod pallet {
#[pallet::weight((0, DispatchClass::Normal))] // TODO #[pallet::weight((0, DispatchClass::Normal))] // TODO
pub fn set_embedded_elliptic_curve_keys( pub fn set_embedded_elliptic_curve_keys(
origin: OriginFor<T>, origin: OriginFor<T>,
keys: serai_primitives::crypto::SignedEmbeddedEllipticCurveKeys, keys: SignedEmbeddedEllipticCurveKeys,
) -> DispatchResult { ) -> DispatchResult {
let signer = ensure_signed(origin)?; let signer = ensure_signed(origin)?;
<Abstractions<T> as crate::EmbeddedEllipticCurveKeys>::set_embedded_elliptic_curve_keys( <Abstractions<T> as crate::EmbeddedEllipticCurveKeys>::set_embedded_elliptic_curve_keys(
@@ -848,7 +823,7 @@ mod pallet {
#[pallet::weight((0, DispatchClass::Normal))] // TODO #[pallet::weight((0, DispatchClass::Normal))] // TODO
pub fn allocate(origin: OriginFor<T>, network: NetworkId, amount: Amount) -> DispatchResult { pub fn allocate(origin: OriginFor<T>, network: NetworkId, amount: Amount) -> DispatchResult {
let validator = ensure_signed(origin)?; let validator = ensure_signed(origin)?;
Coins::<T, coins_pallet::CoinsInstance>::transfer_fn( Coins::<T, serai_coins_pallet::CoinsInstance>::transfer_fn(
validator, validator,
Self::account(), Self::account(),
Balance { coin: Coin::Serai, amount }, Balance { coin: Coin::Serai, amount },
@@ -866,7 +841,7 @@ mod pallet {
let deallocation_timeline = Abstractions::<T>::decrease_allocation(network, account, amount) let deallocation_timeline = Abstractions::<T>::decrease_allocation(network, account, amount)
.map_err(Error::<T>::DeallocationError)?; .map_err(Error::<T>::DeallocationError)?;
if matches!(deallocation_timeline, DeallocationTimeline::Immediate) { if matches!(deallocation_timeline, DeallocationTimeline::Immediate) {
Coins::<T, coins_pallet::CoinsInstance>::transfer_fn( Coins::<T, serai_coins_pallet::CoinsInstance>::transfer_fn(
Self::account(), Self::account(),
account, account,
Balance { coin: Coin::Serai, amount }, Balance { coin: Coin::Serai, amount },
@@ -886,7 +861,7 @@ mod pallet {
let account = ensure_signed(origin)?; let account = ensure_signed(origin)?;
let amount = Abstractions::<T>::claim_delayed_deallocation(account, network, session) let amount = Abstractions::<T>::claim_delayed_deallocation(account, network, session)
.map_err(Error::<T>::DeallocationError)?; .map_err(Error::<T>::DeallocationError)?;
Coins::<T, coins_pallet::CoinsInstance>::transfer_fn( Coins::<T, serai_coins_pallet::CoinsInstance>::transfer_fn(
Self::account(), Self::account(),
account, account,
Balance { coin: Coin::Serai, amount }, Balance { coin: Coin::Serai, amount },
@@ -1118,20 +1093,19 @@ mod pallet {
} }
*/ */
} }
pub use pallet::*;
sp_api::decl_runtime_apis! { sp_api::decl_runtime_apis! {
#[api_version(1)] #[api_version(1)]
pub trait ValidatorSetsApi { pub trait ValidatorSetsApi {
/// Returns the validator set for a given network. /// Returns the validator set for a given network.
fn validators( fn validators(
network_id: serai_primitives::network_id::NetworkId, network_id: serai_abi::primitives::network_id::NetworkId,
) -> Vec<serai_primitives::crypto::Public>; ) -> Vec<serai_abi::primitives::crypto::Public>;
/// Returns the external network key for a given external network. /// Returns the external network key for a given external network.
fn external_network_key( fn external_network_key(
network: serai_primitives::network_id::ExternalNetworkId, network: serai_abi::primitives::network_id::ExternalNetworkId,
) -> Option<serai_primitives::crypto::ExternalKey>; ) -> Option<serai_abi::primitives::crypto::ExternalKey>;
} }
} }
pub use pallet::*;

View File

@@ -18,11 +18,11 @@ use sp_runtime::{
BuildStorage, BuildStorage,
}; };
use serai_primitives::*; use serai_abi::primitives::*;
use validator_sets::{primitives::MAX_KEY_SHARES_PER_SET_U32, MembershipProof}; use validator_sets::{primitives::MAX_KEY_SHARES_PER_SET_U32, MembershipProof};
pub use crate as validator_sets; pub use crate as validator_sets;
pub use coins_pallet as coins; pub use serai_coins_pallet as coins;
pub use dex_pallet as dex; pub use dex_pallet as dex;
pub use pallet_babe as babe; pub use pallet_babe as babe;
pub use pallet_grandpa as grandpa; pub use pallet_grandpa as grandpa;

View File

@@ -1,7 +1,7 @@
use alloc::vec::Vec; use alloc::vec::Vec;
use sp_core::{Encode, Decode, ConstU32, sr25519::Public, bounded::BoundedVec}; use sp_core::{Encode, Decode, ConstU32, sr25519::Public, bounded::BoundedVec};
use serai_primitives::{ use serai_abi::primitives::{
network_id::NetworkId, network_id::NetworkId,
balance::Amount, balance::Amount,
validator_sets::{KeyShares as KeySharesStruct, Session, ValidatorSet}, validator_sets::{KeyShares as KeySharesStruct, Session, ValidatorSet},
@@ -231,9 +231,9 @@ impl<Storage: SessionsStorage> Sessions for Storage {
return; return;
} }
} }
(Some(current), None) => unreachable!("current session but never decided a session"), (Some(_current), None) => unreachable!("current session but never decided a session"),
// If we decided our first session, but didn't start it, don't decide another session // If we decided our first session, but didn't start it, don't decide another session
(None, Some(latest)) => return, (None, Some(_latest)) => return,
(None, None) => { (None, None) => {
// If we've never started a session, we can decide the first session // If we've never started a session, we can decide the first session
} }

View File

@@ -22,7 +22,7 @@ use sp_core::{
}; };
use sp_runtime::traits::ValidateUnsigned; use sp_runtime::traits::ValidateUnsigned;
use serai_primitives::*; use serai_abi::primitives::*;
fn active_network_validators(network: NetworkId) -> Vec<(Public, u64)> { fn active_network_validators(network: NetworkId) -> Vec<(Public, u64)> {
if network == NetworkId::Serai { if network == NetworkId::Serai {