From ea609b6ff4d10312f6c302203fc638ded4ae33cb Mon Sep 17 00:00:00 2001 From: Christian Langenbacher Date: Thu, 13 Jun 2024 16:32:27 +0200 Subject: [PATCH] bump encointer-deps and enable it again --- Cargo.lock | 477 +++++++++++++++++- Cargo.toml | 30 +- chain-spec-generator/Cargo.toml | 6 +- chain-spec-generator/src/main.rs | 4 +- .../src/system_parachains_specs.rs | 14 +- 5 files changed, 499 insertions(+), 32 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7372d248d3..4c29d965f7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2171,6 +2171,7 @@ dependencies = [ "collectives-polkadot-runtime", "coretime-kusama-runtime", "cumulus-primitives-core", + "encointer-kusama-runtime", "glutton-kusama-runtime", "kusama-runtime-constants", "pallet-staking", @@ -2743,15 +2744,30 @@ dependencies = [ "wasmtime-types", ] +[[package]] +name = "crc" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49fc9a695bca7f35f5f4c15cddc84415f66a74ea78eef08e90c5024f2b540e23" +dependencies = [ + "crc-catalog 1.1.1", +] + [[package]] name = "crc" version = "3.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "69e6e4d7b33a94f0991c26729976b10ebde1d34c3ee82408fb536164fa10d636" dependencies = [ - "crc-catalog", + "crc-catalog 2.4.0", ] +[[package]] +name = "crc-catalog" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccaeedb56da03b09f598226e25e80088cb4cd25f316e6e4df7d695f0feeb1403" + [[package]] name = "crc-catalog" version = "2.4.0" @@ -3676,6 +3692,163 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "encointer-balances-tx-payment" +version = "11.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67c466a69a149cb35514574a3b0058a8cb7e4cfb15b392225a35fc781e755f54" +dependencies = [ + "encointer-primitives", + "frame-support", + "frame-system", + "log", + "pallet-asset-tx-payment", + "pallet-encointer-balances", + "pallet-encointer-ceremonies", + "pallet-transaction-payment", + "sp-runtime 37.0.0", +] + +[[package]] +name = "encointer-balances-tx-payment-rpc-runtime-api" +version = "11.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7220c25dae65ebcfde3bbea2c1d169c56741a92acb8c1d0b82b8809701467283" +dependencies = [ + "encointer-primitives", + "frame-support", + "parity-scale-codec", + "scale-info", + "sp-api", + "sp-std", +] + +[[package]] +name = "encointer-ceremonies-assignment" +version = "11.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be6a06805ee275e93e2543d76538c34405439ab6088c7724fe442e8d29084599" +dependencies = [ + "encointer-primitives", + "sp-runtime 37.0.0", + "sp-std", +] + +[[package]] +name = "encointer-kusama-runtime" +version = "1.0.0" +dependencies = [ + "cumulus-pallet-aura-ext", + "cumulus-pallet-parachain-system", + "cumulus-pallet-session-benchmarking", + "cumulus-pallet-xcm", + "cumulus-pallet-xcmp-queue", + "cumulus-primitives-aura", + "cumulus-primitives-core", + "cumulus-primitives-utility", + "encointer-balances-tx-payment", + "encointer-balances-tx-payment-rpc-runtime-api", + "encointer-primitives", + "frame-benchmarking", + "frame-executive", + "frame-support", + "frame-system", + "frame-system-benchmarking", + "frame-system-rpc-runtime-api", + "frame-try-runtime", + "hex-literal", + "kusama-runtime-constants", + "log", + "pallet-asset-tx-payment", + "pallet-aura", + "pallet-authorship", + "pallet-balances", + "pallet-collator-selection", + "pallet-collective", + "pallet-encointer-balances", + "pallet-encointer-bazaar", + "pallet-encointer-bazaar-rpc-runtime-api", + "pallet-encointer-ceremonies", + "pallet-encointer-ceremonies-rpc-runtime-api", + "pallet-encointer-communities", + "pallet-encointer-communities-rpc-runtime-api", + "pallet-encointer-faucet", + "pallet-encointer-reputation-commitments", + "pallet-encointer-scheduler", + "pallet-insecure-randomness-collective-flip", + "pallet-membership", + "pallet-message-queue", + "pallet-proxy", + "pallet-scheduler", + "pallet-session", + "pallet-timestamp", + "pallet-transaction-payment", + "pallet-transaction-payment-rpc-runtime-api", + "pallet-utility", + "pallet-xcm", + "parachains-common", + "parity-scale-codec", + "polkadot-core-primitives", + "polkadot-parachain-primitives", + "polkadot-primitives", + "polkadot-runtime-common", + "scale-info", + "smallvec", + "sp-api", + "sp-block-builder", + "sp-consensus-aura", + "sp-core 33.0.1", + "sp-genesis-builder", + "sp-inherents", + "sp-offchain", + "sp-runtime 37.0.0", + "sp-session", + "sp-std", + "sp-transaction-pool", + "sp-version", + "staging-parachain-info", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", + "substrate-wasm-builder", + "system-parachains-constants", +] + +[[package]] +name = "encointer-meetup-validation" +version = "11.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4664b36d1158fe2d8e90e1a9d89fa45200105029a1292b9b6edfaac52ddb1114" +dependencies = [ + "encointer-primitives", + "parity-scale-codec", + "scale-info", + "serde", + "sp-runtime 37.0.0", + "sp-std", +] + +[[package]] +name = "encointer-primitives" +version = "11.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c964d054558b14efab63eeffc1e8bfb062d4f4a4644fb510edbe07de069c7ee0" +dependencies = [ + "bs58 0.5.0", + "crc 2.1.0", + "ep-core", + "frame-support", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 33.0.1", + "sp-io 36.0.0", + "sp-runtime 37.0.0", + "sp-std", + "substrate-geohash", +] + [[package]] name = "enum-as-inner" version = "0.5.1" @@ -3750,6 +3923,24 @@ version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e48c92028aaa870e83d51c64e5d4e0b6981b360c522198c23959f219a4e1b15b" +[[package]] +name = "ep-core" +version = "11.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05eb4fcf3f5c2bcced16499e74ee9829983663722f4449ee9c79496a5b2de7d8" +dependencies = [ + "array-bytes", + "impl-serde", + "parity-scale-codec", + "scale-info", + "serde", + "sp-arithmetic 26.0.0", + "sp-core 33.0.1", + "sp-runtime 37.0.0", + "sp-std", + "substrate-fixed", +] + [[package]] name = "equivalent" version = "1.0.1" @@ -7660,6 +7851,191 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-encointer-balances" +version = "11.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37a527ce0abfcfe62c0e9b9a0772facc4d2a4ec3ed269da5ded5fb2d1b35f0d5" +dependencies = [ + "approx", + "encointer-primitives", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "pallet-asset-tx-payment", + "pallet-transaction-payment", + "parity-scale-codec", + "scale-info", + "sp-runtime 37.0.0", + "sp-std", +] + +[[package]] +name = "pallet-encointer-bazaar" +version = "11.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "646cca7f47cd9ba94b0e92d2d1e0327152437aa2b67785d44925a8362a361e19" +dependencies = [ + "encointer-primitives", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "pallet-encointer-communities", + "parity-scale-codec", + "scale-info", + "sp-core 33.0.1", + "sp-std", +] + +[[package]] +name = "pallet-encointer-bazaar-rpc-runtime-api" +version = "11.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "befa77924c47ce57b00d053fd002269e8f9520d643467fcf2ea0b01d88db6003" +dependencies = [ + "encointer-primitives", + "frame-support", + "parity-scale-codec", + "sp-api", + "sp-std", +] + +[[package]] +name = "pallet-encointer-ceremonies" +version = "11.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "174936fba6ad6e0be525badc71f8adf0982a71b238b2b7ccbd5d2423d89b92be" +dependencies = [ + "encointer-ceremonies-assignment", + "encointer-meetup-validation", + "encointer-primitives", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "pallet-encointer-balances", + "pallet-encointer-communities", + "pallet-encointer-scheduler", + "pallet-timestamp", + "parity-scale-codec", + "scale-info", + "sp-application-crypto 36.0.0", + "sp-core 33.0.1", + "sp-io 36.0.0", + "sp-runtime 37.0.0", + "sp-std", +] + +[[package]] +name = "pallet-encointer-ceremonies-rpc-runtime-api" +version = "11.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e4923ce777cc534790cd0d57cee3b09c670e378c7dc9ad30bad14b08b2a45ca" +dependencies = [ + "encointer-primitives", + "frame-support", + "parity-scale-codec", + "sp-api", + "sp-std", +] + +[[package]] +name = "pallet-encointer-communities" +version = "11.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7fc0498810c0b746f4fd5210f7bc1064589bb87dfb4317c9a336daaa758bee00" +dependencies = [ + "encointer-primitives", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "pallet-encointer-balances", + "pallet-encointer-scheduler", + "parity-scale-codec", + "scale-info", + "sp-io 36.0.0", + "sp-runtime 37.0.0", + "sp-std", +] + +[[package]] +name = "pallet-encointer-communities-rpc-runtime-api" +version = "11.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5aa18149c7f17eca9f185dc47760675eac1b3be32b1d6a787c38b6cf53862e7e" +dependencies = [ + "encointer-primitives", + "parity-scale-codec", + "sp-api", + "sp-std", +] + +[[package]] +name = "pallet-encointer-faucet" +version = "11.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b04d1b00cd8d5783d74a88cb7ffc33367a96138f4d12987cf9b2a26e670f649" +dependencies = [ + "approx", + "encointer-primitives", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "pallet-encointer-communities", + "pallet-encointer-reputation-commitments", + "parity-scale-codec", + "scale-info", + "sp-core 33.0.1", + "sp-runtime 37.0.0", + "sp-std", +] + +[[package]] +name = "pallet-encointer-reputation-commitments" +version = "11.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "436aea4f58a8f164d450d54f87452dcddd405941c54dc728a65450ec4ad26830" +dependencies = [ + "approx", + "encointer-primitives", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "pallet-encointer-ceremonies", + "pallet-encointer-communities", + "pallet-encointer-scheduler", + "pallet-timestamp", + "parity-scale-codec", + "scale-info", + "sp-core 33.0.1", + "sp-runtime 37.0.0", + "sp-std", +] + +[[package]] +name = "pallet-encointer-scheduler" +version = "11.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1483fa1559e20a8a704c7861f5668dc4dc751e29d2b77344f58a8770d3eaad1" +dependencies = [ + "encointer-primitives", + "frame-benchmarking", + "frame-support", + "frame-system", + "impl-trait-for-tuples", + "log", + "pallet-timestamp", + "parity-scale-codec", + "scale-info", + "sp-runtime 37.0.0", + "sp-std", +] + [[package]] name = "pallet-fast-unstake" version = "33.0.0" @@ -7780,6 +8156,39 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-insecure-randomness-collective-flip" +version = "22.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a280f712445ac3709abfdf5d4347784faa93c2c3c37bd60dee5b69f8b51066b2" +dependencies = [ + "frame-support", + "frame-system", + "parity-scale-codec", + "safe-mix", + "scale-info", + "sp-runtime 37.0.0", + "sp-std", +] + +[[package]] +name = "pallet-membership" +version = "34.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "958dd8feceeeacd1ae268eb0c2133887aea5f9883ae3410712f7b483b265c145" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-core 33.0.1", + "sp-io 36.0.0", + "sp-runtime 37.0.0", + "sp-std", +] + [[package]] name = "pallet-message-queue" version = "37.0.0" @@ -10398,6 +10807,15 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6" +[[package]] +name = "rustc_version" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" +dependencies = [ + "semver 0.9.0", +] + [[package]] name = "rustc_version" version = "0.3.3" @@ -10618,6 +11036,15 @@ version = "1.0.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c" +[[package]] +name = "safe-mix" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d3d055a2582e6b00ed7a31c1524040aa391092bf636328350813f3a0605215c" +dependencies = [ + "rustc_version 0.2.3", +] + [[package]] name = "safe_arch" version = "0.7.1" @@ -11342,7 +11769,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f64cef148d3295c730c3cb340b0b252a4d570b1c7d4bf0808f88540b0a888bc" dependencies = [ "bytes", - "crc", + "crc 3.2.1", "fxhash", "log", "rand 0.8.5", @@ -11425,6 +11852,15 @@ dependencies = [ "semver-parser 0.7.0", ] +[[package]] +name = "semver" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" +dependencies = [ + "semver-parser 0.7.0", +] + [[package]] name = "semver" version = "0.11.0" @@ -13545,7 +13981,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ee48572247f422dcbe68630c973f8296fbd5157119cd36a3223e48bf83d47727" dependencies = [ "combine", - "crc", + "crc 3.2.1", "hmac 0.12.1", "once_cell", "openssl", @@ -13565,7 +14001,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3f10d3f68e60168d81110410428a435dbde28cc5525f5f7c6fdec92dbdc2800" dependencies = [ "combine", - "crc", + "crc 3.2.1", "hmac 0.12.1", "once_cell", "openssl", @@ -13660,6 +14096,29 @@ dependencies = [ "zeroize", ] +[[package]] +name = "substrate-fixed" +version = "0.5.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e83ba2b4f68f12ec6b0f55bac0a23a5bcaaf2676f1109c7a5ead6121c7f0622" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "substrate-typenum", +] + +[[package]] +name = "substrate-geohash" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa2aad67d4ac1b37d97338ab6fd18fd5ec79c35a24112028e6feda0d67142e9a" +dependencies = [ + "parity-scale-codec", + "scale-info", + "substrate-fixed", +] + [[package]] name = "substrate-prometheus-endpoint" version = "0.17.0" @@ -13687,6 +14146,16 @@ dependencies = [ "sp-runtime 37.0.0", ] +[[package]] +name = "substrate-typenum" +version = "1.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0f0091e93c2c75b233ae39424c52cb8a662c0811fb68add149e20e5d7e8a788" +dependencies = [ + "parity-scale-codec", + "scale-info", +] + [[package]] name = "substrate-wasm-builder" version = "22.0.0" diff --git a/Cargo.toml b/Cargo.toml index a03bb31730..6b4cca87a6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -55,10 +55,10 @@ cumulus-primitives-aura = { version = "0.13.0", default-features = false } cumulus-primitives-core = { version = "0.13.0", default-features = false } cumulus-primitives-utility = { version = "0.13.0", default-features = false } emulated-integration-tests-common = { version = "9.0.0" } -encointer-balances-tx-payment = { version = "~6.1.0", default-features = false } -encointer-balances-tx-payment-rpc-runtime-api = { version = "~6.1.0", default-features = false } -# FAIL-CI @ggwpez encointer-kusama-runtime = { path = "system-parachains/encointer" } -encointer-primitives = { version = "~6.1.0", default-features = false } +encointer-balances-tx-payment = { version = "~11.1.0", default-features = false } +encointer-balances-tx-payment-rpc-runtime-api = { version = "~11.1.0", default-features = false } +encointer-kusama-runtime = { path = "system-parachains/encointer" } +encointer-primitives = { version = "~11.1.0", default-features = false } enumflags2 = { version = "0.7.7" } frame-benchmarking = { version = "34.0.0", default-features = false } frame-election-provider-support = { version = "34.0.0", default-features = false } @@ -105,16 +105,16 @@ pallet-conviction-voting = { version = "34.0.0", default-features = false } pallet-core-fellowship = { version = "18.0.0", default-features = false } pallet-election-provider-multi-phase = { version = "33.0.0", default-features = false } pallet-election-provider-support-benchmarking = { version = "33.0.0", default-features = false } -pallet-encointer-balances = { version = "~6.1.0", default-features = false } -pallet-encointer-bazaar = { version = "~6.1.0", default-features = false } -pallet-encointer-bazaar-rpc-runtime-api = { version = "~6.1.0", default-features = false } -pallet-encointer-ceremonies = { version = "~6.1.0", default-features = false } -pallet-encointer-ceremonies-rpc-runtime-api = { version = "~6.1.0", default-features = false } -pallet-encointer-communities = { version = "~6.1.0", default-features = false } -pallet-encointer-communities-rpc-runtime-api = { version = "~6.1.0", default-features = false } -pallet-encointer-faucet = { version = "~6.2.0", default-features = false } -pallet-encointer-reputation-commitments = { version = "~6.1.0", default-features = false } -pallet-encointer-scheduler = { version = "~6.1.0", default-features = false } +pallet-encointer-balances = { version = "~11.1.0", default-features = false } +pallet-encointer-bazaar = { version = "~11.1.0", default-features = false } +pallet-encointer-bazaar-rpc-runtime-api = { version = "~11.1.0", default-features = false } +pallet-encointer-ceremonies = { version = "~11.1.0", default-features = false } +pallet-encointer-ceremonies-rpc-runtime-api = { version = "~11.1.0", default-features = false } +pallet-encointer-communities = { version = "~11.1.0", default-features = false } +pallet-encointer-communities-rpc-runtime-api = { version = "11.1.0", default-features = false } +pallet-encointer-faucet = { version = "~11.2.0", default-features = false } +pallet-encointer-reputation-commitments = { version = "~11.1.0", default-features = false } +pallet-encointer-scheduler = { version = "11.1.0", default-features = false } pallet-fast-unstake = { version = "33.0.0", default-features = false } pallet-glutton = { version = "20.0.0", default-features = false } pallet-grandpa = { version = "34.0.0", default-features = false } @@ -276,7 +276,7 @@ members = [ "system-parachains/collectives/collectives-polkadot/constants", "system-parachains/constants", "system-parachains/coretime/coretime-kusama", - # FAIL-CI @ggwpez "system-parachains/encointer", + "system-parachains/encointer", "system-parachains/gluttons/glutton-kusama", "system-parachains/people/people-kusama", "integration-tests/zombienet", diff --git a/chain-spec-generator/Cargo.toml b/chain-spec-generator/Cargo.toml index 1bd010f83f..5ef3f711bb 100644 --- a/chain-spec-generator/Cargo.toml +++ b/chain-spec-generator/Cargo.toml @@ -35,7 +35,7 @@ asset-hub-kusama-runtime = { workspace = true } collectives-polkadot-runtime = { workspace = true } bridge-hub-polkadot-runtime = { workspace = true } bridge-hub-kusama-runtime = { workspace = true } -# FAIL-CI @ggwpez encointer-kusama-runtime = { workspace = true } +encointer-kusama-runtime = { workspace = true } glutton-kusama-runtime = { workspace = true } coretime-kusama-runtime = { workspace = true } people-kusama-runtime = { workspace = true } @@ -50,7 +50,7 @@ runtime-benchmarks = [ "collectives-polkadot-runtime/runtime-benchmarks", "coretime-kusama-runtime/runtime-benchmarks", "cumulus-primitives-core/runtime-benchmarks", - # FAIL-CI @ggwpez "encointer-kusama-runtime/runtime-benchmarks", + "encointer-kusama-runtime/runtime-benchmarks", "glutton-kusama-runtime/runtime-benchmarks", "kusama-runtime/runtime-benchmarks", "pallet-staking/runtime-benchmarks", @@ -60,5 +60,5 @@ runtime-benchmarks = [ "polkadot-runtime/runtime-benchmarks", "runtime-parachains/runtime-benchmarks", "sp-runtime/runtime-benchmarks", - # FAIL-CI @ggwpez "encointer-kusama-runtime/runtime-benchmarks" + "encointer-kusama-runtime/runtime-benchmarks" ] diff --git a/chain-spec-generator/src/main.rs b/chain-spec-generator/src/main.rs index 1e5be468ad..4a72781717 100644 --- a/chain-spec-generator/src/main.rs +++ b/chain-spec-generator/src/main.rs @@ -72,10 +72,10 @@ fn main() -> Result<(), String> { "glutton-kusama-local", Box::new(system_parachains_specs::glutton_kusama_local_testnet_config) as Box<_>, ), - /*( + ( "encointer-kusama-local", Box::new(system_parachains_specs::encointer_kusama_local_testnet_config) as Box<_>, - ),*/ // FAIL-CI @ggwpez + ), ( "coretime-kusama-local", Box::new(system_parachains_specs::coretime_kusama_local_testnet_config) as Box<_>, diff --git a/chain-spec-generator/src/system_parachains_specs.rs b/chain-spec-generator/src/system_parachains_specs.rs index 6afdcf9c60..17203f336f 100644 --- a/chain-spec-generator/src/system_parachains_specs.rs +++ b/chain-spec-generator/src/system_parachains_specs.rs @@ -549,7 +549,7 @@ pub fn glutton_kusama_local_testnet_config() -> Result, Strin } // EncointerKusama -/*fn encointer_kusama_genesis(endowed_accounts: Vec, id: u32) -> serde_json::Value { +fn encointer_kusama_genesis(endowed_accounts: Vec, id: u32) -> serde_json::Value { serde_json::json!({ "balances": asset_hub_kusama_runtime::BalancesConfig { balances: endowed_accounts @@ -584,18 +584,17 @@ pub fn glutton_kusama_local_testnet_config() -> Result, Strin }, "aura": encointer_kusama_runtime::aura_config_for_chain_spec(&["Alice"]), }) -}*/ // FAIL-CI @ggwpez +} -/*fn encointer_kusama_local_genesis(para_id: u32) -> serde_json::Value { +fn encointer_kusama_local_genesis(para_id: u32) -> serde_json::Value { encointer_kusama_genesis( // initial collators. testnet_accounts(), para_id, ) -}*/ -// FAIL-CI @ggwpez +} -/*pub fn encointer_kusama_local_testnet_config() -> Result, String> { +pub fn encointer_kusama_local_testnet_config() -> Result, String> { let mut properties = sc_chain_spec::Properties::new(); properties.insert("ss58Format".into(), 2.into()); properties.insert("tokenSymbol".into(), "KSM".into()); @@ -613,8 +612,7 @@ pub fn glutton_kusama_local_testnet_config() -> Result, Strin .with_properties(properties) .build(), )) -}*/ -// FAIL-CI @ggwpez +} // CoretimeKusama fn coretime_kusama_genesis(