From 2024acd576f9ba28ce434f913298440c7aaad29e Mon Sep 17 00:00:00 2001 From: Christian Langenbacher Date: Fri, 15 Sep 2023 16:14:23 +0200 Subject: [PATCH 1/9] [client] support `AnnouncementSigner` and `CommunityRules` in the community_spec.rs --- Cargo.lock | 191 +++++++++--------- client/src/community_spec.rs | 19 +- ...est.locations.mediterranean.locolight.json | 55 +++++ 3 files changed, 167 insertions(+), 98 deletions(-) create mode 100644 client/test-data/test.locations.mediterranean.locolight.json diff --git a/Cargo.lock b/Cargo.lock index 12f61149..65ac76a7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1958,7 +1958,7 @@ dependencies = [ [[package]] name = "encointer-balances-tx-payment" version = "1.0.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#71111862dc53ba27c7ab01760086ef9e48c14bc5" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" dependencies = [ "encointer-primitives", "frame-support", @@ -1974,7 +1974,7 @@ dependencies = [ [[package]] name = "encointer-balances-tx-payment-rpc" version = "1.0.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#71111862dc53ba27c7ab01760086ef9e48c14bc5" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" dependencies = [ "encointer-balances-tx-payment-rpc-runtime-api", "encointer-primitives", @@ -1998,7 +1998,7 @@ dependencies = [ [[package]] name = "encointer-balances-tx-payment-rpc-runtime-api" version = "1.0.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#71111862dc53ba27c7ab01760086ef9e48c14bc5" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" dependencies = [ "encointer-primitives", "frame-support", @@ -2011,7 +2011,7 @@ dependencies = [ [[package]] name = "encointer-ceremonies-assignment" version = "1.2.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#71111862dc53ba27c7ab01760086ef9e48c14bc5" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" dependencies = [ "encointer-primitives", "sp-runtime", @@ -2020,7 +2020,7 @@ dependencies = [ [[package]] name = "encointer-client-notee" -version = "1.5.1" +version = "1.5.2" dependencies = [ "clap 2.34.0", "clap-nested", @@ -2055,7 +2055,7 @@ dependencies = [ [[package]] name = "encointer-meetup-validation" version = "1.2.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#71111862dc53ba27c7ab01760086ef9e48c14bc5" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" dependencies = [ "encointer-primitives", "parity-scale-codec", @@ -2067,7 +2067,7 @@ dependencies = [ [[package]] name = "encointer-node-notee" -version = "1.5.1" +version = "1.5.2" dependencies = [ "clap 4.3.4", "encointer-balances-tx-payment-rpc", @@ -2124,7 +2124,7 @@ dependencies = [ [[package]] name = "encointer-node-notee-runtime" -version = "1.5.27" +version = "1.5.28" dependencies = [ "encointer-balances-tx-payment", "encointer-balances-tx-payment-rpc-runtime-api", @@ -2182,7 +2182,7 @@ dependencies = [ [[package]] name = "encointer-primitives" version = "1.3.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#71111862dc53ba27c7ab01760086ef9e48c14bc5" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" dependencies = [ "bs58", "crc 2.1.0", @@ -2202,7 +2202,7 @@ dependencies = [ [[package]] name = "encointer-rpc" version = "0.1.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#71111862dc53ba27c7ab01760086ef9e48c14bc5" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" dependencies = [ "jsonrpsee", "thiserror", @@ -2255,8 +2255,9 @@ checksum = "e48c92028aaa870e83d51c64e5d4e0b6981b360c522198c23959f219a4e1b15b" [[package]] name = "ep-core" version = "1.2.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#71111862dc53ba27c7ab01760086ef9e48c14bc5" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" dependencies = [ + "array-bytes 6.1.0", "impl-serde 0.3.2", "parity-scale-codec", "scale-info", @@ -2496,7 +2497,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-support", "frame-support-procedural", @@ -2631,7 +2632,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "bitflags 1.3.2", "environmental", @@ -2665,7 +2666,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "Inflector", "cfg-expr", @@ -2683,7 +2684,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2695,7 +2696,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "proc-macro2", "quote", @@ -2705,7 +2706,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "cfg-if 1.0.0", "frame-support", @@ -5181,7 +5182,7 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5244,7 +5245,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5259,7 +5260,7 @@ dependencies = [ [[package]] name = "pallet-encointer-balances" version = "1.2.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#71111862dc53ba27c7ab01760086ef9e48c14bc5" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" dependencies = [ "approx", "encointer-primitives", @@ -5278,7 +5279,7 @@ dependencies = [ [[package]] name = "pallet-encointer-bazaar" version = "1.1.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#71111862dc53ba27c7ab01760086ef9e48c14bc5" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" dependencies = [ "encointer-primitives", "frame-benchmarking", @@ -5295,7 +5296,7 @@ dependencies = [ [[package]] name = "pallet-encointer-bazaar-rpc" version = "1.0.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#71111862dc53ba27c7ab01760086ef9e48c14bc5" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" dependencies = [ "encointer-primitives", "encointer-rpc", @@ -5314,7 +5315,7 @@ dependencies = [ [[package]] name = "pallet-encointer-bazaar-rpc-runtime-api" version = "1.0.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#71111862dc53ba27c7ab01760086ef9e48c14bc5" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" dependencies = [ "encointer-primitives", "frame-support", @@ -5325,7 +5326,7 @@ dependencies = [ [[package]] name = "pallet-encointer-ceremonies" version = "1.2.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#71111862dc53ba27c7ab01760086ef9e48c14bc5" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" dependencies = [ "encointer-ceremonies-assignment", "encointer-meetup-validation", @@ -5350,7 +5351,7 @@ dependencies = [ [[package]] name = "pallet-encointer-ceremonies-rpc" version = "1.2.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#71111862dc53ba27c7ab01760086ef9e48c14bc5" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" dependencies = [ "encointer-primitives", "encointer-rpc", @@ -5369,7 +5370,7 @@ dependencies = [ [[package]] name = "pallet-encointer-ceremonies-rpc-runtime-api" version = "1.2.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#71111862dc53ba27c7ab01760086ef9e48c14bc5" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" dependencies = [ "encointer-primitives", "frame-support", @@ -5380,7 +5381,7 @@ dependencies = [ [[package]] name = "pallet-encointer-communities" version = "1.3.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#71111862dc53ba27c7ab01760086ef9e48c14bc5" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" dependencies = [ "encointer-primitives", "frame-benchmarking", @@ -5399,7 +5400,7 @@ dependencies = [ [[package]] name = "pallet-encointer-communities-rpc" version = "1.2.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#71111862dc53ba27c7ab01760086ef9e48c14bc5" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" dependencies = [ "encointer-primitives", "encointer-rpc", @@ -5418,7 +5419,7 @@ dependencies = [ [[package]] name = "pallet-encointer-communities-rpc-runtime-api" version = "1.2.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#71111862dc53ba27c7ab01760086ef9e48c14bc5" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" dependencies = [ "encointer-primitives", "sp-api", @@ -5428,7 +5429,7 @@ dependencies = [ [[package]] name = "pallet-encointer-faucet" version = "1.2.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#71111862dc53ba27c7ab01760086ef9e48c14bc5" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" dependencies = [ "approx", "encointer-primitives", @@ -5449,7 +5450,7 @@ dependencies = [ [[package]] name = "pallet-encointer-reputation-commitments" version = "1.2.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#71111862dc53ba27c7ab01760086ef9e48c14bc5" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" dependencies = [ "approx", "encointer-primitives", @@ -5471,7 +5472,7 @@ dependencies = [ [[package]] name = "pallet-encointer-scheduler" version = "1.1.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#71111862dc53ba27c7ab01760086ef9e48c14bc5" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" dependencies = [ "encointer-primitives", "frame-benchmarking", @@ -5593,7 +5594,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5611,7 +5612,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-support", "frame-system", @@ -5627,7 +5628,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5643,7 +5644,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5655,7 +5656,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6876,7 +6877,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "log", "sp-core", @@ -6910,7 +6911,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -6925,7 +6926,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -6944,7 +6945,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -6994,7 +6995,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "fnv", "futures", @@ -7046,7 +7047,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "futures", @@ -7164,7 +7165,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", @@ -7186,7 +7187,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -7198,7 +7199,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "anyhow", "cfg-if 1.0.0", @@ -7245,7 +7246,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "array-bytes 6.1.0", "async-channel", @@ -7306,7 +7307,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -7457,7 +7458,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "futures", "jsonrpsee", @@ -7488,7 +7489,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -7642,7 +7643,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "chrono", "futures", @@ -7661,7 +7662,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "ansi_term", "atty", @@ -7690,7 +7691,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -7727,7 +7728,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "futures", @@ -7743,7 +7744,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-channel", "futures", @@ -8243,7 +8244,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "hash-db", "log", @@ -8264,7 +8265,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "Inflector", "blake2", @@ -8278,7 +8279,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "23.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "parity-scale-codec", "scale-info", @@ -8291,7 +8292,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "16.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "integer-sqrt", "num-traits", @@ -8305,7 +8306,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "sp-api", "sp-inherents", @@ -8316,7 +8317,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "futures", "log", @@ -8334,7 +8335,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "futures", @@ -8385,7 +8386,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "finality-grandpa", "log", @@ -8415,7 +8416,7 @@ dependencies = [ [[package]] name = "sp-core" version = "21.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "array-bytes 6.1.0", "bitflags 1.3.2", @@ -8460,7 +8461,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "9.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "blake2b_simd", "byteorder", @@ -8473,7 +8474,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "9.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "quote", "sp-core-hashing", @@ -8483,7 +8484,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -8492,7 +8493,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "8.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "proc-macro2", "quote", @@ -8502,7 +8503,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.19.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "environmental", "parity-scale-codec", @@ -8513,7 +8514,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -8527,7 +8528,7 @@ dependencies = [ [[package]] name = "sp-io" version = "23.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "bytes 1.4.0", "ed25519", @@ -8563,7 +8564,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.27.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", @@ -8575,7 +8576,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "thiserror", "zstd 0.12.3+zstd.1.5.2", @@ -8584,7 +8585,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-metadata 16.0.0", "parity-scale-codec", @@ -8595,7 +8596,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "sp-api", "sp-core", @@ -8605,7 +8606,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "8.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "backtrace", "lazy_static", @@ -8615,7 +8616,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "rustc-hash", "serde", @@ -8625,7 +8626,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "24.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "either", "hash256-std-hasher", @@ -8647,7 +8648,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "17.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "bytes 1.4.0", "impl-trait-for-tuples", @@ -8665,7 +8666,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "11.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "Inflector", "proc-macro-crate", @@ -8677,7 +8678,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "parity-scale-codec", "scale-info", @@ -8692,7 +8693,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -8706,7 +8707,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.28.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "hash-db", "log", @@ -8727,7 +8728,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "parity-scale-codec", "scale-info", @@ -8744,12 +8745,12 @@ dependencies = [ [[package]] name = "sp-std" version = "8.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" [[package]] name = "sp-storage" version = "13.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "impl-serde 0.4.0", "parity-scale-codec", @@ -8762,7 +8763,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "parity-scale-codec", @@ -8775,7 +8776,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "10.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "parity-scale-codec", "sp-std", @@ -8811,7 +8812,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "22.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "ahash 0.8.3", "hash-db", @@ -8834,7 +8835,7 @@ dependencies = [ [[package]] name = "sp-version" version = "22.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "impl-serde 0.4.0", "parity-scale-codec", @@ -8851,7 +8852,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "8.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -8862,7 +8863,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "14.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -8875,7 +8876,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "20.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "parity-scale-codec", "scale-info", @@ -9130,7 +9131,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#40e3395765b756ce7eb3949be4c22fe9a42825d6" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "hyper", "log", @@ -9829,7 +9830,7 @@ version = "1.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ - "cfg-if 0.1.10", + "cfg-if 1.0.0", "digest 0.10.7", "rand 0.8.5", "static_assertions", diff --git a/client/src/community_spec.rs b/client/src/community_spec.rs index a1b065c0..08594c94 100644 --- a/client/src/community_spec.rs +++ b/client/src/community_spec.rs @@ -3,7 +3,10 @@ use encointer_node_notee_runtime::AccountId; use encointer_primitives::{ balances::{BalanceType, Demurrage}, common::{BoundedIpfsCid, FromStr, PalletString}, - communities::{CommunityIdentifier, CommunityMetadata, CommunityRules, Degree, Location}, + communities::{ + AnnouncementSigner, CommunityIdentifier, CommunityMetadata, CommunityRules, Degree, + Location, + }, fixed::transcendental::ln, }; use geojson::GeoJson; @@ -94,8 +97,18 @@ impl CommunitySpec for serde_json::Value { Ok(url) => Some(BoundedIpfsCid::from_str(&url).unwrap()), Err(_) => None, }, - announcement_signer: None, - rules: CommunityRules::default(), + announcement_signer: match serde_json::from_value::( + self["community"]["meta"]["announcementSigner"].clone(), + ) { + Ok(signer) => Some(signer), + Err(_) => None, + }, + rules: match serde_json::from_value::( + self["community"]["meta"]["rules"].clone(), + ) { + Ok(rules) => rules, + Err(_) => Default::default(), + }, } } diff --git a/client/test-data/test.locations.mediterranean.locolight.json b/client/test-data/test.locations.mediterranean.locolight.json new file mode 100644 index 00000000..563f94cb --- /dev/null +++ b/client/test-data/test.locations.mediterranean.locolight.json @@ -0,0 +1,55 @@ +{ + "type": "FeatureCollection", + "community": { + "meta": { + "name": "Mediterranea", + "symbol": "MTA", + "assets": "QmP2fzfikh7VqTu8pvzd2G2vAd4eK7EaazXTEgqGN6AWoD", + "announcementSigner": {"bip340": "0xceda72c19f11aebecf8fb4a0ab3fb2a03e03f283225655baab4728303a560a13"}, + "rules": "loCoLight" + }, + "bootstrappers": [ + "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY", + "5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty", + "5FLSigC9HGRKVhB9FiEo4Y3koPsNmBmLJbpXg2mp1hXcS59Y", + "5DAAnrj7VHTznn2AWBemMuyBwZWs6FNFjdyVXUeYum3PTXFy", + "5HGjWAeFDfFCWPsjFQdVV2Msvz2XtMktvgocEZcCj68kUMaw", + "5CiPPseXPECbkjWCa6MnjNokrgYjMqmKndv2rSnekmSK2DjL" + ] + }, + "features": [ + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [ + 19.543548583984375, + 36.48415637985317 + ] + } + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [ + 19.40484619140625, + 36.480801595828616 + ] + } + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [ + 19.40621948242187, + 36.357696204467516 + ] + } + } + ] +} \ No newline at end of file From 3bc02fbe86ba58e3d93a0c0d8ada7492a570f7bc Mon Sep 17 00:00:00 2001 From: Christian Langenbacher Date: Mon, 18 Sep 2023 10:25:04 +0200 Subject: [PATCH 2/9] [client] change loco light community to Corsica LoCoLight --- .../test.locations.corsica.locolight.json | 121 ++++++++++++++++++ ...est.locations.mediterranean.locolight.json | 55 -------- 2 files changed, 121 insertions(+), 55 deletions(-) create mode 100644 client/test-data/test.locations.corsica.locolight.json delete mode 100644 client/test-data/test.locations.mediterranean.locolight.json diff --git a/client/test-data/test.locations.corsica.locolight.json b/client/test-data/test.locations.corsica.locolight.json new file mode 100644 index 00000000..06c5f2b8 --- /dev/null +++ b/client/test-data/test.locations.corsica.locolight.json @@ -0,0 +1,121 @@ +{ + "type": "FeatureCollection", + "community": { + "meta": { + "name": "Corsica LoCoLight", + "symbol": "CLL", + "assets": "QmP2fzfikh7VqTu8pvzd2G2vAd4eK7EaazXTEgqGN6AWoD", + "announcementSigner": {"bip340": "0xceda72c19f11aebecf8fb4a0ab3fb2a03e03f283225655baab4728303a560a13"}, + "rules": "loCoLight" + }, + "bootstrappers": [ + "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY", + "5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty", + "5FLSigC9HGRKVhB9FiEo4Y3koPsNmBmLJbpXg2mp1hXcS59Y", + "5DAAnrj7VHTznn2AWBemMuyBwZWs6FNFjdyVXUeYum3PTXFy", + "5HGjWAeFDfFCWPsjFQdVV2Msvz2XtMktvgocEZcCj68kUMaw", + "5CiPPseXPECbkjWCa6MnjNokrgYjMqmKndv2rSnekmSK2DjL" + ] + }, + "features": [ + { + "type": "Feature", + "properties": {}, + "geometry": { + "coordinates": [ + 8.34481736218413, + 43.29163203249237 + ], + "type": "Point" + } + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "coordinates": [ + 8.45875497533433, + 43.29689755694423 + ], + "type": "Point" + } + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "coordinates": [ + 8.561075400420066, + 43.29809224816333 + ], + "type": "Point" + } + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "coordinates": [ + 8.343157114168065, + 43.20948958827239 + ], + "type": "Point" + } + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "coordinates": [ + 8.458226477832369, + 43.219872474019496 + ], + "type": "Point" + } + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "coordinates": [ + 8.562336854479923, + 43.2270595901108 + ], + "type": "Point" + } + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "coordinates": [ + 8.339869418064325, + 43.12076373482276 + ], + "type": "Point" + } + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "coordinates": [ + 8.45493878172735, + 43.130361931557275 + ], + "type": "Point" + } + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "coordinates": [ + 8.568912246688683, + 43.1399586222912 + ], + "type": "Point" + } + } + ] +} \ No newline at end of file diff --git a/client/test-data/test.locations.mediterranean.locolight.json b/client/test-data/test.locations.mediterranean.locolight.json deleted file mode 100644 index 563f94cb..00000000 --- a/client/test-data/test.locations.mediterranean.locolight.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "type": "FeatureCollection", - "community": { - "meta": { - "name": "Mediterranea", - "symbol": "MTA", - "assets": "QmP2fzfikh7VqTu8pvzd2G2vAd4eK7EaazXTEgqGN6AWoD", - "announcementSigner": {"bip340": "0xceda72c19f11aebecf8fb4a0ab3fb2a03e03f283225655baab4728303a560a13"}, - "rules": "loCoLight" - }, - "bootstrappers": [ - "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY", - "5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty", - "5FLSigC9HGRKVhB9FiEo4Y3koPsNmBmLJbpXg2mp1hXcS59Y", - "5DAAnrj7VHTznn2AWBemMuyBwZWs6FNFjdyVXUeYum3PTXFy", - "5HGjWAeFDfFCWPsjFQdVV2Msvz2XtMktvgocEZcCj68kUMaw", - "5CiPPseXPECbkjWCa6MnjNokrgYjMqmKndv2rSnekmSK2DjL" - ] - }, - "features": [ - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - 19.543548583984375, - 36.48415637985317 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - 19.40484619140625, - 36.480801595828616 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - 19.40621948242187, - 36.357696204467516 - ] - } - } - ] -} \ No newline at end of file From bae9766dfe5160cd5cbeec747a7cf074f707c8a7 Mon Sep 17 00:00:00 2001 From: Christian Langenbacher Date: Mon, 18 Sep 2023 10:34:40 +0200 Subject: [PATCH 3/9] [client/test-data] Corsican spec file: change `loCoLight` to `LoCoLight` in spec file. --- client/test-data/test.locations.corsica.locolight.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/test-data/test.locations.corsica.locolight.json b/client/test-data/test.locations.corsica.locolight.json index 06c5f2b8..e84ddf41 100644 --- a/client/test-data/test.locations.corsica.locolight.json +++ b/client/test-data/test.locations.corsica.locolight.json @@ -6,7 +6,7 @@ "symbol": "CLL", "assets": "QmP2fzfikh7VqTu8pvzd2G2vAd4eK7EaazXTEgqGN6AWoD", "announcementSigner": {"bip340": "0xceda72c19f11aebecf8fb4a0ab3fb2a03e03f283225655baab4728303a560a13"}, - "rules": "loCoLight" + "rules": "LoCoLight" }, "bootstrappers": [ "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY", From 1364f873853e814f54997058f938e1cc84099ec5 Mon Sep 17 00:00:00 2001 From: Christian Langenbacher Date: Mon, 18 Sep 2023 11:44:22 +0200 Subject: [PATCH 4/9] [client] panic if it spec file has an invalid community rule, and better handling of the announcement signer. --- client/src/community_spec.rs | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/client/src/community_spec.rs b/client/src/community_spec.rs index 08594c94..5fda3e82 100644 --- a/client/src/community_spec.rs +++ b/client/src/community_spec.rs @@ -97,18 +97,14 @@ impl CommunitySpec for serde_json::Value { Ok(url) => Some(BoundedIpfsCid::from_str(&url).unwrap()), Err(_) => None, }, - announcement_signer: match serde_json::from_value::( + announcement_signer: serde_json::from_value::>( self["community"]["meta"]["announcementSigner"].clone(), - ) { - Ok(signer) => Some(signer), - Err(_) => None, - }, - rules: match serde_json::from_value::( + ) + .unwrap(), + rules: serde_json::from_value::( self["community"]["meta"]["rules"].clone(), - ) { - Ok(rules) => rules, - Err(_) => Default::default(), - }, + ) + .unwrap(), } } From 39f46921bc2ccc1b03bdaa9ad96d4ad54b8d4b82 Mon Sep 17 00:00:00 2001 From: Christian Langenbacher Date: Mon, 18 Sep 2023 11:44:34 +0200 Subject: [PATCH 5/9] fix locoLight in community spec. --- client/test-data/test.locations.corsica.locolight.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/test-data/test.locations.corsica.locolight.json b/client/test-data/test.locations.corsica.locolight.json index e84ddf41..06c5f2b8 100644 --- a/client/test-data/test.locations.corsica.locolight.json +++ b/client/test-data/test.locations.corsica.locolight.json @@ -6,7 +6,7 @@ "symbol": "CLL", "assets": "QmP2fzfikh7VqTu8pvzd2G2vAd4eK7EaazXTEgqGN6AWoD", "announcementSigner": {"bip340": "0xceda72c19f11aebecf8fb4a0ab3fb2a03e03f283225655baab4728303a560a13"}, - "rules": "LoCoLight" + "rules": "loCoLight" }, "bootstrappers": [ "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY", From 6c7908cb88a42e033525d2fba53fe5dab676e760 Mon Sep 17 00:00:00 2001 From: Christian Langenbacher Date: Mon, 18 Sep 2023 11:46:02 +0200 Subject: [PATCH 6/9] [client] add missing `announcementSigner` and `rules` field to other chain spec, such that we can parse them. --- client/test-data/aslah.json | 4 +++- client/test-data/decoded.berlin.json | 4 +++- client/test-data/decoded.buenosaires.json | 4 +++- client/test-data/greenbaydollar.json | 4 +++- client/test-data/leu.rococo.json | 4 +++- client/test-data/leu.zuerich.V1.json | 4 +++- client/test-data/leu.zuerich.V2.json | 4 +++- client/test-data/leu.zuerich.json | 4 +++- client/test-data/test-locations-mediterranean.json | 4 +++- client/test-data/test-locations-scs.json | 4 +++- 10 files changed, 30 insertions(+), 10 deletions(-) diff --git a/client/test-data/aslah.json b/client/test-data/aslah.json index 072dd3a2..4f31d2f5 100644 --- a/client/test-data/aslah.json +++ b/client/test-data/aslah.json @@ -5,7 +5,9 @@ "name": "Aslah", "symbol": "ASL", "assets": "QmXgvpsF5CzwFb7c1kobFQ3q4hutRFtKDMkYGDE3Bmmnu6", - "url": "" + "url": "", + "announcementSigner": null, + "rules": "loCo" }, "bootstrappers": [ "5GsC8FS9t6EEWoMsD3v8JET49cEUjG8TgqHL3h9auj55JyWh", diff --git a/client/test-data/decoded.berlin.json b/client/test-data/decoded.berlin.json index e91cf661..788d348f 100644 --- a/client/test-data/decoded.berlin.json +++ b/client/test-data/decoded.berlin.json @@ -5,7 +5,9 @@ "name": "Decoded Berlin", "symbol": "DBL", "assets": "QmVNg3BjzRgKaGida6jCbjFyjD4T7c8e7MCMJAUjgVx395", - "url": "encointer.org" + "url": "encointer.org", + "announcementSigner": null, + "rules": "loCo" }, "bootstrappers": [ "5CDNJhAUVyM92BaqpfN7PynWPQs2ELbHHJ4QTxAd1m79HJkc", diff --git a/client/test-data/decoded.buenosaires.json b/client/test-data/decoded.buenosaires.json index f2d84b83..ad2f39fd 100644 --- a/client/test-data/decoded.buenosaires.json +++ b/client/test-data/decoded.buenosaires.json @@ -5,7 +5,9 @@ "name": "Decoded Buenos Aires", "symbol": "DBA", "assets": "QmTy1X1JmeipMzXknWSPrRyP8dRucxHkbAxh1X9VAMHrg7", - "url": "encointer.org" + "url": "encointer.org", + "announcementSigner": null, + "rules": "loCo" }, "bootstrappers": [ "5Fy7hyV4FKvD55iPwT7yR712xXKMXKvvw1uVGA1BE4nK1Wys", diff --git a/client/test-data/greenbaydollar.json b/client/test-data/greenbaydollar.json index ac45f3ec..b4149bb2 100644 --- a/client/test-data/greenbaydollar.json +++ b/client/test-data/greenbaydollar.json @@ -4,7 +4,9 @@ "meta": { "name": "Green Bay Dollar", "symbol": "GBD", - "assets": "QmYJnuJCnsw2kgXQXF5Cq6k3ey5U6goRcKffraVXkeXrem" + "assets": "QmYJnuJCnsw2kgXQXF5Cq6k3ey5U6goRcKffraVXkeXrem", + "announcementSigner": null, + "rules": "loCo" }, "bootstrappers": [ "5GKaNnyZctdLR9WfnFdbV4BDoFqqhe7AJqNfKnJsNezg2JnW", diff --git a/client/test-data/leu.rococo.json b/client/test-data/leu.rococo.json index 9b89860f..468c44c5 100644 --- a/client/test-data/leu.rococo.json +++ b/client/test-data/leu.rococo.json @@ -5,7 +5,9 @@ "name": "Leu on Rococo", "symbol": "LOR", "assets": "QmbQCz9r2PfRRHmG5j6Wdz7fjFJkczALVvKhPkW48Jp4ji", - "url": "https://leu.zuerich" + "url": "https://leu.zuerich", + "announcementSigner": null, + "rules": "loCo" }, "bootstrappers": [ "5EEh6sjZjxaMkm3vn7nKib9ciuxAGQRc4uosmuDa6vuTgfDp", diff --git a/client/test-data/leu.zuerich.V1.json b/client/test-data/leu.zuerich.V1.json index 23451f2e..287fb61d 100644 --- a/client/test-data/leu.zuerich.V1.json +++ b/client/test-data/leu.zuerich.V1.json @@ -5,7 +5,9 @@ "name": "Leu Zurich", "symbol": "LEU", "assets": "QmSpwTDiKbRVqHaV2LvaUVkwZkkuF8w1BjTjwXD9PEzHnd", - "url": "https://leu.zuerich" + "url": "https://leu.zuerich", + "announcementSigner": null, + "rules": "loCo" }, "bootstrappers": [ "5EEh6sjZjxaMkm3vn7nKib9ciuxAGQRc4uosmuDa6vuTgfDp", diff --git a/client/test-data/leu.zuerich.V2.json b/client/test-data/leu.zuerich.V2.json index 54734b52..86b0ab1f 100644 --- a/client/test-data/leu.zuerich.V2.json +++ b/client/test-data/leu.zuerich.V2.json @@ -5,7 +5,9 @@ "name": "Leu Zurich", "symbol": "LEU", "assets": "QmSpwTDiKbRVqHaV2LvaUVkwZkkuF8w1BjTjwXD9PEzHnd", - "url": "https://leu.zuerich" + "url": "https://leu.zuerich", + "announcementSigner": null, + "rules": "loCo" }, "bootstrappers": [ "5HTJ7uvBZgp4VcXsWqMSz5r6C5vCzfodB3oYgJikmbesmGAQ", diff --git a/client/test-data/leu.zuerich.json b/client/test-data/leu.zuerich.json index c1b3096b..3e802ba5 100644 --- a/client/test-data/leu.zuerich.json +++ b/client/test-data/leu.zuerich.json @@ -5,7 +5,9 @@ "name": "Leu Zurich", "symbol": "LEU", "assets": "QmSpwTDiKbRVqHaV2LvaUVkwZkkuF8w1BjTjwXD9PEzHnd", - "url": "https://leu.zuerich" + "url": "https://leu.zuerich", + "announcementSigner": null, + "rules": "loCo" }, "bootstrappers": [ "5Hq1naLbJFSYzeVxPySmxH2qHgUBULQW9hPyNxKSuBGEJzSZ", diff --git a/client/test-data/test-locations-mediterranean.json b/client/test-data/test-locations-mediterranean.json index 8f23d566..4404d823 100644 --- a/client/test-data/test-locations-mediterranean.json +++ b/client/test-data/test-locations-mediterranean.json @@ -4,7 +4,9 @@ "meta": { "name": "Mediterranea", "symbol": "MTA", - "assets": "QmP2fzfikh7VqTu8pvzd2G2vAd4eK7EaazXTEgqGN6AWoD" + "assets": "QmP2fzfikh7VqTu8pvzd2G2vAd4eK7EaazXTEgqGN6AWoD", + "announcementSigner": null, + "rules": "loCo" }, "bootstrappers": [ "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY", diff --git a/client/test-data/test-locations-scs.json b/client/test-data/test-locations-scs.json index 2425533c..bafe161a 100644 --- a/client/test-data/test-locations-scs.json +++ b/client/test-data/test-locations-scs.json @@ -4,7 +4,9 @@ "meta": { "name": "EdisonPaula", "symbol": "EDI", - "assets": "QmcqHLThzvpKt67NpKRy1NHtx7KduKx3EzyFB3Yk95ra8t" + "assets": "QmcqHLThzvpKt67NpKRy1NHtx7KduKx3EzyFB3Yk95ra8t", + "announcementSigner": null, + "rules": "loCo" }, "bootstrappers": [ "5ECkrFJwePB7W9jJUJfQhC8dDqGv1LzxG6Uq5jnXSa72RvF7", From 48ebfe046cd3b9238353246614f0ba6e65fbf7d9 Mon Sep 17 00:00:00 2001 From: Christian Langenbacher Date: Mon, 18 Sep 2023 12:07:54 +0200 Subject: [PATCH 7/9] [client] Fix: update metadata to new format --- client/py_client/communities.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/py_client/communities.py b/client/py_client/communities.py index b739d74b..071d7edc 100644 --- a/client/py_client/communities.py +++ b/client/py_client/communities.py @@ -58,5 +58,5 @@ def generate_community_spec(meta, bootstrappers, locations): return fname -def meta_json(name, symbol, assets_cid="Defau1tCidThat1s46Characters1nLength1111111111"): - return {"name": name, "symbol": symbol, "assets": assets_cid} +def meta_json(name, symbol, assets_cid="Defau1tCidThat1s46Characters1nLength1111111111", rules="loCo"): + return {"name": name, "symbol": symbol, "assets": assets_cid, "rules": rules } From 3468f2b95e680c3f3190ba3dd421b032e0d55a7c Mon Sep 17 00:00:00 2001 From: Christian Langenbacher Date: Mon, 18 Sep 2023 12:48:25 +0200 Subject: [PATCH 8/9] [client] refactor loCoLight to loCoFlex --- client/test-data/test.locations.corsica.locolight.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/test-data/test.locations.corsica.locolight.json b/client/test-data/test.locations.corsica.locolight.json index 06c5f2b8..3a47140a 100644 --- a/client/test-data/test.locations.corsica.locolight.json +++ b/client/test-data/test.locations.corsica.locolight.json @@ -2,11 +2,11 @@ "type": "FeatureCollection", "community": { "meta": { - "name": "Corsica LoCoLight", + "name": "Corsica LoCoFlex", "symbol": "CLL", "assets": "QmP2fzfikh7VqTu8pvzd2G2vAd4eK7EaazXTEgqGN6AWoD", "announcementSigner": {"bip340": "0xceda72c19f11aebecf8fb4a0ab3fb2a03e03f283225655baab4728303a560a13"}, - "rules": "loCoLight" + "rules": "loCoFlex" }, "bootstrappers": [ "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY", From fe707b2fcdb097af07c34c261a6cb32532caf61e Mon Sep 17 00:00:00 2001 From: Christian Langenbacher Date: Mon, 18 Sep 2023 12:59:51 +0200 Subject: [PATCH 9/9] update pallets to get refactoring of `LoCoLight` to `LoCoFlex` --- Cargo.lock | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 65ac76a7..470f7b13 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1958,7 +1958,7 @@ dependencies = [ [[package]] name = "encointer-balances-tx-payment" version = "1.0.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#e9e4646ea050097553b44868e604a64f6d815d1a" dependencies = [ "encointer-primitives", "frame-support", @@ -1974,7 +1974,7 @@ dependencies = [ [[package]] name = "encointer-balances-tx-payment-rpc" version = "1.0.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#e9e4646ea050097553b44868e604a64f6d815d1a" dependencies = [ "encointer-balances-tx-payment-rpc-runtime-api", "encointer-primitives", @@ -1998,7 +1998,7 @@ dependencies = [ [[package]] name = "encointer-balances-tx-payment-rpc-runtime-api" version = "1.0.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#e9e4646ea050097553b44868e604a64f6d815d1a" dependencies = [ "encointer-primitives", "frame-support", @@ -2011,7 +2011,7 @@ dependencies = [ [[package]] name = "encointer-ceremonies-assignment" version = "1.2.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#e9e4646ea050097553b44868e604a64f6d815d1a" dependencies = [ "encointer-primitives", "sp-runtime", @@ -2055,7 +2055,7 @@ dependencies = [ [[package]] name = "encointer-meetup-validation" version = "1.2.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#e9e4646ea050097553b44868e604a64f6d815d1a" dependencies = [ "encointer-primitives", "parity-scale-codec", @@ -2182,7 +2182,7 @@ dependencies = [ [[package]] name = "encointer-primitives" version = "1.3.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#e9e4646ea050097553b44868e604a64f6d815d1a" dependencies = [ "bs58", "crc 2.1.0", @@ -2202,7 +2202,7 @@ dependencies = [ [[package]] name = "encointer-rpc" version = "0.1.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#e9e4646ea050097553b44868e604a64f6d815d1a" dependencies = [ "jsonrpsee", "thiserror", @@ -2255,7 +2255,7 @@ checksum = "e48c92028aaa870e83d51c64e5d4e0b6981b360c522198c23959f219a4e1b15b" [[package]] name = "ep-core" version = "1.2.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#e9e4646ea050097553b44868e604a64f6d815d1a" dependencies = [ "array-bytes 6.1.0", "impl-serde 0.3.2", @@ -5260,7 +5260,7 @@ dependencies = [ [[package]] name = "pallet-encointer-balances" version = "1.2.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#e9e4646ea050097553b44868e604a64f6d815d1a" dependencies = [ "approx", "encointer-primitives", @@ -5279,7 +5279,7 @@ dependencies = [ [[package]] name = "pallet-encointer-bazaar" version = "1.1.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#e9e4646ea050097553b44868e604a64f6d815d1a" dependencies = [ "encointer-primitives", "frame-benchmarking", @@ -5296,7 +5296,7 @@ dependencies = [ [[package]] name = "pallet-encointer-bazaar-rpc" version = "1.0.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#e9e4646ea050097553b44868e604a64f6d815d1a" dependencies = [ "encointer-primitives", "encointer-rpc", @@ -5315,7 +5315,7 @@ dependencies = [ [[package]] name = "pallet-encointer-bazaar-rpc-runtime-api" version = "1.0.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#e9e4646ea050097553b44868e604a64f6d815d1a" dependencies = [ "encointer-primitives", "frame-support", @@ -5326,7 +5326,7 @@ dependencies = [ [[package]] name = "pallet-encointer-ceremonies" version = "1.2.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#e9e4646ea050097553b44868e604a64f6d815d1a" dependencies = [ "encointer-ceremonies-assignment", "encointer-meetup-validation", @@ -5351,7 +5351,7 @@ dependencies = [ [[package]] name = "pallet-encointer-ceremonies-rpc" version = "1.2.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#e9e4646ea050097553b44868e604a64f6d815d1a" dependencies = [ "encointer-primitives", "encointer-rpc", @@ -5370,7 +5370,7 @@ dependencies = [ [[package]] name = "pallet-encointer-ceremonies-rpc-runtime-api" version = "1.2.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#e9e4646ea050097553b44868e604a64f6d815d1a" dependencies = [ "encointer-primitives", "frame-support", @@ -5381,7 +5381,7 @@ dependencies = [ [[package]] name = "pallet-encointer-communities" version = "1.3.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#e9e4646ea050097553b44868e604a64f6d815d1a" dependencies = [ "encointer-primitives", "frame-benchmarking", @@ -5400,7 +5400,7 @@ dependencies = [ [[package]] name = "pallet-encointer-communities-rpc" version = "1.2.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#e9e4646ea050097553b44868e604a64f6d815d1a" dependencies = [ "encointer-primitives", "encointer-rpc", @@ -5419,7 +5419,7 @@ dependencies = [ [[package]] name = "pallet-encointer-communities-rpc-runtime-api" version = "1.2.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#e9e4646ea050097553b44868e604a64f6d815d1a" dependencies = [ "encointer-primitives", "sp-api", @@ -5429,7 +5429,7 @@ dependencies = [ [[package]] name = "pallet-encointer-faucet" version = "1.2.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#e9e4646ea050097553b44868e604a64f6d815d1a" dependencies = [ "approx", "encointer-primitives", @@ -5450,7 +5450,7 @@ dependencies = [ [[package]] name = "pallet-encointer-reputation-commitments" version = "1.2.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#e9e4646ea050097553b44868e604a64f6d815d1a" dependencies = [ "approx", "encointer-primitives", @@ -5472,7 +5472,7 @@ dependencies = [ [[package]] name = "pallet-encointer-scheduler" version = "1.1.0" -source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#9a7df75437e1b3fe10270eb9d36bec6c03881346" +source = "git+https://github.com/encointer/pallets?branch=polkadot-v1.0.0-pallets-v1.3.0#e9e4646ea050097553b44868e604a64f6d815d1a" dependencies = [ "encointer-primitives", "frame-benchmarking",