From 535b7f13c045ab3184ffc2a9e4101d6344012788 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Tue, 1 Nov 2022 12:36:08 +0000 Subject: [PATCH 01/31] chore: add disable-ic.patch for try-runtime logs on CI --- .github/patch/disable-ic.patch | 1972 ++++++++++++++++++++++++++++++++ 1 file changed, 1972 insertions(+) create mode 100644 .github/patch/disable-ic.patch diff --git a/.github/patch/disable-ic.patch b/.github/patch/disable-ic.patch new file mode 100644 index 0000000000..7b3cea5585 --- /dev/null +++ b/.github/patch/disable-ic.patch @@ -0,0 +1,1972 @@ +diff --git a/Cargo.lock b/Cargo.lock +index 62c2493f..9236a3f3 100644 +--- a/Cargo.lock ++++ b/Cargo.lock +@@ -420,7 +420,7 @@ dependencies = [ + [[package]] + name = "beefy-gadget" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "beefy-primitives", + "fnv", +@@ -454,7 +454,7 @@ dependencies = [ + [[package]] + name = "beefy-gadget-rpc" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "beefy-gadget", + "beefy-primitives", +@@ -474,12 +474,12 @@ dependencies = [ + [[package]] + name = "beefy-merkle-tree" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + + [[package]] + name = "beefy-primitives" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "parity-scale-codec 3.1.5", + "scale-info", +@@ -2682,7 +2682,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" + [[package]] + name = "fork-tree" + version = "3.0.0" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "parity-scale-codec 3.1.5", + ] +@@ -2776,7 +2776,7 @@ dependencies = [ + [[package]] + name = "frame-benchmarking" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-support", + "frame-system", +@@ -2798,7 +2798,7 @@ dependencies = [ + [[package]] + name = "frame-benchmarking-cli" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "Inflector", + "chrono", +@@ -2848,7 +2848,7 @@ dependencies = [ + [[package]] + name = "frame-election-provider-solution-type" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "proc-macro-crate", + "proc-macro2", +@@ -2859,7 +2859,7 @@ dependencies = [ + [[package]] + name = "frame-election-provider-support" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-election-provider-solution-type", + "frame-support", +@@ -2875,7 +2875,7 @@ dependencies = [ + [[package]] + name = "frame-executive" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-support", + "frame-system", +@@ -2903,7 +2903,7 @@ dependencies = [ + [[package]] + name = "frame-support" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "bitflags", + "frame-metadata", +@@ -2933,7 +2933,7 @@ dependencies = [ + [[package]] + name = "frame-support-procedural" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "Inflector", + "frame-support-procedural-tools", +@@ -2945,7 +2945,7 @@ dependencies = [ + [[package]] + name = "frame-support-procedural-tools" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-support-procedural-tools-derive", + "proc-macro-crate", +@@ -2957,7 +2957,7 @@ dependencies = [ + [[package]] + name = "frame-support-procedural-tools-derive" + version = "3.0.0" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "proc-macro2", + "quote", +@@ -2967,7 +2967,7 @@ dependencies = [ + [[package]] + name = "frame-system" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-support", + "log", +@@ -2984,7 +2984,7 @@ dependencies = [ + [[package]] + name = "frame-system-benchmarking" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-benchmarking", + "frame-support", +@@ -2999,7 +2999,7 @@ dependencies = [ + [[package]] + name = "frame-system-rpc-runtime-api" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "parity-scale-codec 3.1.5", + "sp-api", +@@ -3008,7 +3008,7 @@ dependencies = [ + [[package]] + name = "frame-try-runtime" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-support", + "sp-api", +@@ -5449,7 +5449,7 @@ dependencies = [ + [[package]] + name = "pallet-aura" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-support", + "frame-system", +@@ -5465,7 +5465,7 @@ dependencies = [ + [[package]] + name = "pallet-authority-discovery" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-support", + "frame-system", +@@ -5481,7 +5481,7 @@ dependencies = [ + [[package]] + name = "pallet-authorship" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-support", + "frame-system", +@@ -5496,7 +5496,7 @@ dependencies = [ + [[package]] + name = "pallet-babe" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-benchmarking", + "frame-support", +@@ -5520,7 +5520,7 @@ dependencies = [ + [[package]] + name = "pallet-bags-list" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-benchmarking", + "frame-election-provider-support", +@@ -5540,7 +5540,7 @@ dependencies = [ + [[package]] + name = "pallet-balances" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-benchmarking", + "frame-support", +@@ -5570,7 +5570,7 @@ dependencies = [ + [[package]] + name = "pallet-beefy" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "beefy-primitives", + "frame-support", +@@ -5586,7 +5586,7 @@ dependencies = [ + [[package]] + name = "pallet-beefy-mmr" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "beefy-merkle-tree", + "beefy-primitives", +@@ -5609,7 +5609,7 @@ dependencies = [ + [[package]] + name = "pallet-bounties" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-benchmarking", + "frame-support", +@@ -5687,7 +5687,7 @@ dependencies = [ + [[package]] + name = "pallet-child-bounties" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-benchmarking", + "frame-support", +@@ -5706,7 +5706,7 @@ dependencies = [ + [[package]] + name = "pallet-collective" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-benchmarking", + "frame-support", +@@ -5744,7 +5744,7 @@ dependencies = [ + [[package]] + name = "pallet-democracy" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-benchmarking", + "frame-support", +@@ -5760,7 +5760,7 @@ dependencies = [ + [[package]] + name = "pallet-election-provider-multi-phase" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-benchmarking", + "frame-election-provider-support", +@@ -5783,7 +5783,7 @@ dependencies = [ + [[package]] + name = "pallet-election-provider-support-benchmarking" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-benchmarking", + "frame-election-provider-support", +@@ -5796,7 +5796,7 @@ dependencies = [ + [[package]] + name = "pallet-elections-phragmen" + version = "5.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-benchmarking", + "frame-support", +@@ -5966,7 +5966,7 @@ dependencies = [ + [[package]] + name = "pallet-gilt" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-benchmarking", + "frame-support", +@@ -5981,7 +5981,7 @@ dependencies = [ + [[package]] + name = "pallet-grandpa" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-benchmarking", + "frame-support", +@@ -6004,7 +6004,7 @@ dependencies = [ + [[package]] + name = "pallet-identity" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "enumflags2", + "frame-benchmarking", +@@ -6020,7 +6020,7 @@ dependencies = [ + [[package]] + name = "pallet-im-online" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-benchmarking", + "frame-support", +@@ -6040,7 +6040,7 @@ dependencies = [ + [[package]] + name = "pallet-indices" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-benchmarking", + "frame-support", +@@ -6076,7 +6076,7 @@ dependencies = [ + [[package]] + name = "pallet-membership" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-benchmarking", + "frame-support", +@@ -6093,7 +6093,7 @@ dependencies = [ + [[package]] + name = "pallet-mmr" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "ckb-merkle-mountain-range", + "frame-benchmarking", +@@ -6111,7 +6111,7 @@ dependencies = [ + [[package]] + name = "pallet-mmr-rpc" + version = "3.0.0" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "jsonrpsee", + "parity-scale-codec 3.1.5", +@@ -6126,7 +6126,7 @@ dependencies = [ + [[package]] + name = "pallet-multisig" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-benchmarking", + "frame-support", +@@ -6141,7 +6141,7 @@ dependencies = [ + [[package]] + name = "pallet-nicks" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-support", + "frame-system", +@@ -6155,7 +6155,7 @@ dependencies = [ + [[package]] + name = "pallet-nomination-pools" + version = "1.0.0" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-support", + "frame-system", +@@ -6171,7 +6171,7 @@ dependencies = [ + [[package]] + name = "pallet-nomination-pools-benchmarking" + version = "1.0.0" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-benchmarking", + "frame-election-provider-support", +@@ -6212,7 +6212,7 @@ dependencies = [ + [[package]] + name = "pallet-offences" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-support", + "frame-system", +@@ -6229,7 +6229,7 @@ dependencies = [ + [[package]] + name = "pallet-offences-benchmarking" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-benchmarking", + "frame-election-provider-support", +@@ -6252,7 +6252,7 @@ dependencies = [ + [[package]] + name = "pallet-preimage" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-benchmarking", + "frame-support", +@@ -6268,7 +6268,7 @@ dependencies = [ + [[package]] + name = "pallet-proxy" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-benchmarking", + "frame-support", +@@ -6283,7 +6283,7 @@ dependencies = [ + [[package]] + name = "pallet-randomness-collective-flip" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-support", + "frame-system", +@@ -6297,7 +6297,7 @@ dependencies = [ + [[package]] + name = "pallet-recovery" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-benchmarking", + "frame-support", +@@ -6372,7 +6372,7 @@ dependencies = [ + [[package]] + name = "pallet-scheduler" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-benchmarking", + "frame-support", +@@ -6388,7 +6388,7 @@ dependencies = [ + [[package]] + name = "pallet-session" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-support", + "frame-system", +@@ -6409,7 +6409,7 @@ dependencies = [ + [[package]] + name = "pallet-session-benchmarking" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-benchmarking", + "frame-support", +@@ -6425,7 +6425,7 @@ dependencies = [ + [[package]] + name = "pallet-society" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-support", + "frame-system", +@@ -6439,7 +6439,7 @@ dependencies = [ + [[package]] + name = "pallet-staking" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-benchmarking", + "frame-election-provider-support", +@@ -6462,7 +6462,7 @@ dependencies = [ + [[package]] + name = "pallet-staking-reward-curve" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "proc-macro-crate", + "proc-macro2", +@@ -6473,7 +6473,7 @@ dependencies = [ + [[package]] + name = "pallet-staking-reward-fn" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "log", + "sp-arithmetic", +@@ -6497,7 +6497,7 @@ dependencies = [ + [[package]] + name = "pallet-sudo" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-support", + "frame-system", +@@ -6531,7 +6531,7 @@ dependencies = [ + [[package]] + name = "pallet-timestamp" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-benchmarking", + "frame-support", +@@ -6549,7 +6549,7 @@ dependencies = [ + [[package]] + name = "pallet-tips" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-benchmarking", + "frame-support", +@@ -6568,7 +6568,7 @@ dependencies = [ + [[package]] + name = "pallet-transaction-payment" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-support", + "frame-system", +@@ -6584,7 +6584,7 @@ dependencies = [ + [[package]] + name = "pallet-transaction-payment-rpc" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "jsonrpsee", + "pallet-transaction-payment-rpc-runtime-api", +@@ -6599,7 +6599,7 @@ dependencies = [ + [[package]] + name = "pallet-transaction-payment-rpc-runtime-api" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "pallet-transaction-payment", + "parity-scale-codec 3.1.5", +@@ -6610,7 +6610,7 @@ dependencies = [ + [[package]] + name = "pallet-treasury" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-benchmarking", + "frame-support", +@@ -6669,7 +6669,7 @@ dependencies = [ + [[package]] + name = "pallet-utility" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-benchmarking", + "frame-support", +@@ -6685,7 +6685,7 @@ dependencies = [ + [[package]] + name = "pallet-vesting" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-benchmarking", + "frame-support", +@@ -8942,7 +8942,7 @@ dependencies = [ + [[package]] + name = "remote-externalities" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "env_logger", + "jsonrpsee", +@@ -9321,7 +9321,7 @@ dependencies = [ + [[package]] + name = "sc-allocator" + version = "4.1.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "log", + "sp-core", +@@ -9332,7 +9332,7 @@ dependencies = [ + [[package]] + name = "sc-authority-discovery" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "async-trait", + "futures 0.3.21", +@@ -9359,7 +9359,7 @@ dependencies = [ + [[package]] + name = "sc-basic-authorship" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "futures 0.3.21", + "futures-timer", +@@ -9382,7 +9382,7 @@ dependencies = [ + [[package]] + name = "sc-block-builder" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "parity-scale-codec 3.1.5", + "sc-client-api", +@@ -9398,7 +9398,7 @@ dependencies = [ + [[package]] + name = "sc-chain-spec" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "impl-trait-for-tuples", + "memmap2 0.5.5", +@@ -9415,7 +9415,7 @@ dependencies = [ + [[package]] + name = "sc-chain-spec-derive" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "proc-macro-crate", + "proc-macro2", +@@ -9426,7 +9426,7 @@ dependencies = [ + [[package]] + name = "sc-cli" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "chrono", + "clap", +@@ -9465,7 +9465,7 @@ dependencies = [ + [[package]] + name = "sc-client-api" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "fnv", + "futures 0.3.21", +@@ -9493,7 +9493,7 @@ dependencies = [ + [[package]] + name = "sc-client-db" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "hash-db", + "kvdb", +@@ -9518,7 +9518,7 @@ dependencies = [ + [[package]] + name = "sc-consensus" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "async-trait", + "futures 0.3.21", +@@ -9542,7 +9542,7 @@ dependencies = [ + [[package]] + name = "sc-consensus-aura" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "async-trait", + "futures 0.3.21", +@@ -9571,7 +9571,7 @@ dependencies = [ + [[package]] + name = "sc-consensus-babe" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "async-trait", + "fork-tree", +@@ -9614,7 +9614,7 @@ dependencies = [ + [[package]] + name = "sc-consensus-babe-rpc" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "futures 0.3.21", + "jsonrpsee", +@@ -9636,7 +9636,7 @@ dependencies = [ + [[package]] + name = "sc-consensus-epochs" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "fork-tree", + "parity-scale-codec 3.1.5", +@@ -9649,7 +9649,7 @@ dependencies = [ + [[package]] + name = "sc-consensus-manual-seal" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "assert_matches", + "async-trait", +@@ -9683,7 +9683,7 @@ dependencies = [ + [[package]] + name = "sc-consensus-slots" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "async-trait", + "futures 0.3.21", +@@ -9708,7 +9708,7 @@ dependencies = [ + [[package]] + name = "sc-consensus-uncles" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "sc-client-api", + "sp-authorship", +@@ -9719,7 +9719,7 @@ dependencies = [ + [[package]] + name = "sc-executor" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "lazy_static", + "lru 0.7.8", +@@ -9746,7 +9746,7 @@ dependencies = [ + [[package]] + name = "sc-executor-common" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "environmental", + "parity-scale-codec 3.1.5", +@@ -9763,7 +9763,7 @@ dependencies = [ + [[package]] + name = "sc-executor-wasmi" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "log", + "parity-scale-codec 3.1.5", +@@ -9778,7 +9778,7 @@ dependencies = [ + [[package]] + name = "sc-executor-wasmtime" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "cfg-if 1.0.0", + "libc", +@@ -9796,7 +9796,7 @@ dependencies = [ + [[package]] + name = "sc-finality-grandpa" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "ahash", + "async-trait", +@@ -9836,7 +9836,7 @@ dependencies = [ + [[package]] + name = "sc-finality-grandpa-rpc" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "finality-grandpa", + "futures 0.3.21", +@@ -9857,7 +9857,7 @@ dependencies = [ + [[package]] + name = "sc-informant" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "ansi_term", + "futures 0.3.21", +@@ -9874,7 +9874,7 @@ dependencies = [ + [[package]] + name = "sc-keystore" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "async-trait", + "hex", +@@ -9889,7 +9889,7 @@ dependencies = [ + [[package]] + name = "sc-network" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "async-trait", + "asynchronous-codec", +@@ -9941,7 +9941,7 @@ dependencies = [ + [[package]] + name = "sc-network-common" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "futures 0.3.21", + "libp2p", +@@ -9954,7 +9954,7 @@ dependencies = [ + [[package]] + name = "sc-network-gossip" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "ahash", + "futures 0.3.21", +@@ -9971,7 +9971,7 @@ dependencies = [ + [[package]] + name = "sc-network-light" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "futures 0.3.21", + "libp2p", +@@ -9991,7 +9991,7 @@ dependencies = [ + [[package]] + name = "sc-network-sync" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "bitflags", + "either", +@@ -10020,7 +10020,7 @@ dependencies = [ + [[package]] + name = "sc-offchain" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "bytes 1.2.0", + "fnv", +@@ -10048,7 +10048,7 @@ dependencies = [ + [[package]] + name = "sc-peerset" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "futures 0.3.21", + "libp2p", +@@ -10061,7 +10061,7 @@ dependencies = [ + [[package]] + name = "sc-proposer-metrics" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "log", + "substrate-prometheus-endpoint", +@@ -10070,7 +10070,7 @@ dependencies = [ + [[package]] + name = "sc-rpc" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "futures 0.3.21", + "hash-db", +@@ -10100,7 +10100,7 @@ dependencies = [ + [[package]] + name = "sc-rpc-api" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "futures 0.3.21", + "jsonrpsee", +@@ -10123,7 +10123,7 @@ dependencies = [ + [[package]] + name = "sc-rpc-server" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "futures 0.3.21", + "jsonrpsee", +@@ -10136,7 +10136,7 @@ dependencies = [ + [[package]] + name = "sc-service" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "async-trait", + "directories", +@@ -10201,7 +10201,7 @@ dependencies = [ + [[package]] + name = "sc-state-db" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "log", + "parity-scale-codec 3.1.5", +@@ -10215,7 +10215,7 @@ dependencies = [ + [[package]] + name = "sc-sync-state-rpc" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "jsonrpsee", + "parity-scale-codec 3.1.5", +@@ -10234,7 +10234,7 @@ dependencies = [ + [[package]] + name = "sc-sysinfo" + version = "6.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "futures 0.3.21", + "libc", +@@ -10253,7 +10253,7 @@ dependencies = [ + [[package]] + name = "sc-telemetry" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "chrono", + "futures 0.3.21", +@@ -10271,7 +10271,7 @@ dependencies = [ + [[package]] + name = "sc-tracing" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "ansi_term", + "atty", +@@ -10302,7 +10302,7 @@ dependencies = [ + [[package]] + name = "sc-tracing-proc-macro" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "proc-macro-crate", + "proc-macro2", +@@ -10313,7 +10313,7 @@ dependencies = [ + [[package]] + name = "sc-transaction-pool" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "futures 0.3.21", + "futures-timer", +@@ -10340,7 +10340,7 @@ dependencies = [ + [[package]] + name = "sc-transaction-pool-api" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "futures 0.3.21", + "log", +@@ -10353,7 +10353,7 @@ dependencies = [ + [[package]] + name = "sc-utils" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "futures 0.3.21", + "futures-timer", +@@ -10795,7 +10795,7 @@ dependencies = [ + [[package]] + name = "sp-api" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "hash-db", + "log", +@@ -10812,7 +10812,7 @@ dependencies = [ + [[package]] + name = "sp-api-proc-macro" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "blake2", + "proc-macro-crate", +@@ -10824,7 +10824,7 @@ dependencies = [ + [[package]] + name = "sp-application-crypto" + version = "6.0.0" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "parity-scale-codec 3.1.5", + "scale-info", +@@ -10837,7 +10837,7 @@ dependencies = [ + [[package]] + name = "sp-arithmetic" + version = "5.0.0" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "integer-sqrt", + "num-traits", +@@ -10852,7 +10852,7 @@ dependencies = [ + [[package]] + name = "sp-authority-discovery" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "parity-scale-codec 3.1.5", + "scale-info", +@@ -10865,7 +10865,7 @@ dependencies = [ + [[package]] + name = "sp-authorship" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "async-trait", + "parity-scale-codec 3.1.5", +@@ -10877,7 +10877,7 @@ dependencies = [ + [[package]] + name = "sp-block-builder" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "parity-scale-codec 3.1.5", + "sp-api", +@@ -10889,7 +10889,7 @@ dependencies = [ + [[package]] + name = "sp-blockchain" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "futures 0.3.21", + "log", +@@ -10907,7 +10907,7 @@ dependencies = [ + [[package]] + name = "sp-consensus" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "async-trait", + "futures 0.3.21", +@@ -10926,7 +10926,7 @@ dependencies = [ + [[package]] + name = "sp-consensus-aura" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "async-trait", + "parity-scale-codec 3.1.5", +@@ -10944,7 +10944,7 @@ dependencies = [ + [[package]] + name = "sp-consensus-babe" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "async-trait", + "merlin", +@@ -10967,7 +10967,7 @@ dependencies = [ + [[package]] + name = "sp-consensus-slots" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "parity-scale-codec 3.1.5", + "scale-info", +@@ -10981,7 +10981,7 @@ dependencies = [ + [[package]] + name = "sp-consensus-vrf" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "parity-scale-codec 3.1.5", + "scale-info", +@@ -10994,7 +10994,7 @@ dependencies = [ + [[package]] + name = "sp-core" + version = "6.0.0" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "base58", + "bitflags", +@@ -11040,7 +11040,7 @@ dependencies = [ + [[package]] + name = "sp-core-hashing" + version = "4.0.0" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "blake2", + "byteorder", +@@ -11054,7 +11054,7 @@ dependencies = [ + [[package]] + name = "sp-core-hashing-proc-macro" + version = "5.0.0" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "proc-macro2", + "quote", +@@ -11065,7 +11065,7 @@ dependencies = [ + [[package]] + name = "sp-database" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "kvdb", + "parking_lot 0.12.1", +@@ -11074,7 +11074,7 @@ dependencies = [ + [[package]] + name = "sp-debug-derive" + version = "4.0.0" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "proc-macro2", + "quote", +@@ -11084,7 +11084,7 @@ dependencies = [ + [[package]] + name = "sp-externalities" + version = "0.12.0" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "environmental", + "parity-scale-codec 3.1.5", +@@ -11095,7 +11095,7 @@ dependencies = [ + [[package]] + name = "sp-finality-grandpa" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "finality-grandpa", + "log", +@@ -11113,7 +11113,7 @@ dependencies = [ + [[package]] + name = "sp-inherents" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "async-trait", + "impl-trait-for-tuples", +@@ -11127,7 +11127,7 @@ dependencies = [ + [[package]] + name = "sp-io" + version = "6.0.0" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "futures 0.3.21", + "hash-db", +@@ -11152,7 +11152,7 @@ dependencies = [ + [[package]] + name = "sp-keyring" + version = "6.0.0" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "lazy_static", + "sp-core", +@@ -11163,7 +11163,7 @@ dependencies = [ + [[package]] + name = "sp-keystore" + version = "0.12.0" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "async-trait", + "futures 0.3.21", +@@ -11180,7 +11180,7 @@ dependencies = [ + [[package]] + name = "sp-maybe-compressed-blob" + version = "4.1.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "thiserror", + "zstd", +@@ -11189,7 +11189,7 @@ dependencies = [ + [[package]] + name = "sp-mmr-primitives" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "log", + "parity-scale-codec 3.1.5", +@@ -11204,7 +11204,7 @@ dependencies = [ + [[package]] + name = "sp-npos-elections" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "parity-scale-codec 3.1.5", + "scale-info", +@@ -11218,7 +11218,7 @@ dependencies = [ + [[package]] + name = "sp-offchain" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "sp-api", + "sp-core", +@@ -11228,7 +11228,7 @@ dependencies = [ + [[package]] + name = "sp-panic-handler" + version = "4.0.0" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "backtrace", + "lazy_static", +@@ -11238,7 +11238,7 @@ dependencies = [ + [[package]] + name = "sp-rpc" + version = "6.0.0" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "rustc-hash", + "serde", +@@ -11248,7 +11248,7 @@ dependencies = [ + [[package]] + name = "sp-runtime" + version = "6.0.0" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "either", + "hash256-std-hasher", +@@ -11270,7 +11270,7 @@ dependencies = [ + [[package]] + name = "sp-runtime-interface" + version = "6.0.0" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "impl-trait-for-tuples", + "parity-scale-codec 3.1.5", +@@ -11287,7 +11287,7 @@ dependencies = [ + [[package]] + name = "sp-runtime-interface-proc-macro" + version = "5.0.0" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "Inflector", + "proc-macro-crate", +@@ -11299,7 +11299,7 @@ dependencies = [ + [[package]] + name = "sp-sandbox" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "log", + "parity-scale-codec 3.1.5", +@@ -11313,7 +11313,7 @@ dependencies = [ + [[package]] + name = "sp-serializer" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "serde", + "serde_json", +@@ -11322,7 +11322,7 @@ dependencies = [ + [[package]] + name = "sp-session" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "parity-scale-codec 3.1.5", + "scale-info", +@@ -11336,7 +11336,7 @@ dependencies = [ + [[package]] + name = "sp-staking" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "parity-scale-codec 3.1.5", + "scale-info", +@@ -11347,7 +11347,7 @@ dependencies = [ + [[package]] + name = "sp-state-machine" + version = "0.12.0" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "hash-db", + "log", +@@ -11369,12 +11369,12 @@ dependencies = [ + [[package]] + name = "sp-std" + version = "4.0.0" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + + [[package]] + name = "sp-storage" + version = "6.0.0" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "impl-serde", + "parity-scale-codec 3.1.5", +@@ -11387,7 +11387,7 @@ dependencies = [ + [[package]] + name = "sp-tasks" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "log", + "sp-core", +@@ -11400,7 +11400,7 @@ dependencies = [ + [[package]] + name = "sp-timestamp" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "async-trait", + "futures-timer", +@@ -11416,7 +11416,7 @@ dependencies = [ + [[package]] + name = "sp-tracing" + version = "5.0.0" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "parity-scale-codec 3.1.5", + "sp-std", +@@ -11428,7 +11428,7 @@ dependencies = [ + [[package]] + name = "sp-transaction-pool" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "sp-api", + "sp-runtime", +@@ -11437,7 +11437,7 @@ dependencies = [ + [[package]] + name = "sp-transaction-storage-proof" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "async-trait", + "log", +@@ -11453,7 +11453,7 @@ dependencies = [ + [[package]] + name = "sp-trie" + version = "6.0.0" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "hash-db", + "memory-db", +@@ -11469,7 +11469,7 @@ dependencies = [ + [[package]] + name = "sp-version" + version = "5.0.0" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "impl-serde", + "parity-scale-codec 3.1.5", +@@ -11486,7 +11486,7 @@ dependencies = [ + [[package]] + name = "sp-version-proc-macro" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "parity-scale-codec 3.1.5", + "proc-macro2", +@@ -11497,7 +11497,7 @@ dependencies = [ + [[package]] + name = "sp-wasm-interface" + version = "6.0.0" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "impl-trait-for-tuples", + "log", +@@ -11652,7 +11652,7 @@ dependencies = [ + [[package]] + name = "substrate-build-script-utils" + version = "3.0.0" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "platforms", + ] +@@ -11660,7 +11660,7 @@ dependencies = [ + [[package]] + name = "substrate-frame-rpc-system" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "frame-system-rpc-runtime-api", + "futures 0.3.21", +@@ -11681,7 +11681,7 @@ dependencies = [ + [[package]] + name = "substrate-prometheus-endpoint" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "futures-util", + "hyper", +@@ -11694,7 +11694,7 @@ dependencies = [ + [[package]] + name = "substrate-state-trie-migration-rpc" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "jsonrpsee", + "log", +@@ -11715,7 +11715,7 @@ dependencies = [ + [[package]] + name = "substrate-test-client" + version = "2.0.1" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "async-trait", + "futures 0.3.21", +@@ -11741,7 +11741,7 @@ dependencies = [ + [[package]] + name = "substrate-test-utils" + version = "4.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "futures 0.3.21", + "substrate-test-utils-derive", +@@ -11751,7 +11751,7 @@ dependencies = [ + [[package]] + name = "substrate-test-utils-derive" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "proc-macro-crate", + "proc-macro2", +@@ -11762,7 +11762,7 @@ dependencies = [ + [[package]] + name = "substrate-wasm-builder" + version = "5.0.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "ansi_term", + "build-helper", +@@ -12197,10 +12197,8 @@ version = "0.1.3" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922" + dependencies = [ +- "ahash", + "lazy_static", + "log", +- "lru 0.7.8", + "tracing-core", + ] + +@@ -12321,7 +12319,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" + [[package]] + name = "try-runtime-cli" + version = "0.10.0-dev" +-source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" ++source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" + dependencies = [ + "clap", + "jsonrpsee", +diff --git a/Cargo.toml b/Cargo.toml +index 6a520f4b..f4619ddb 100644 +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -21,176 +21,176 @@ jsonrpsee-types = {git = "https://github.com/uniquenetwork/jsonrpsee", branch = + jsonrpsee-core = {git = "https://github.com/uniquenetwork/jsonrpsee", branch = "unique-v0.13.1-fix-unknown-fields"} + + [patch."https://github.com/paritytech/substrate"] +-beefy-gadget = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-beefy-gadget-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-beefy-merkle-tree = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-beefy-primitives = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-fork-tree = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-frame-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-frame-benchmarking-cli = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-frame-election-provider-solution-type = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-frame-election-provider-support = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-frame-executive = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-frame-support = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-frame-support-procedural = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-frame-support-procedural-tools = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-frame-support-procedural-tools-derive = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-frame-system = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-frame-system-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-frame-system-rpc-runtime-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-frame-try-runtime = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-aura = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-authority-discovery = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-authorship = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-babe = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-bags-list = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-balances = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-beefy = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-beefy-mmr = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-bounties = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-child-bounties = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-collective = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-democracy = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-election-provider-multi-phase = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-election-provider-support-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-elections-phragmen = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-gilt = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-grandpa = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-identity = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-im-online = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-indices = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-membership = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-mmr = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-mmr-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-multisig = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-nicks = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-nomination-pools = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-nomination-pools-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-offences = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-offences-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-preimage = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-proxy = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-randomness-collective-flip = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-recovery = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-scheduler = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-session = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-session-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-society = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-staking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-staking-reward-curve = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-staking-reward-fn = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-sudo = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-timestamp = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-tips = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-transaction-payment = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-transaction-payment-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-transaction-payment-rpc-runtime-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-treasury = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-utility = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-pallet-vesting = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-remote-externalities = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-allocator = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-authority-discovery = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-basic-authorship = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-block-builder = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-chain-spec = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-chain-spec-derive = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-cli = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-client-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-client-db = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-consensus = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-consensus-aura = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-consensus-babe = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-consensus-babe-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-consensus-epochs = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-consensus-manual-seal = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-consensus-slots = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-consensus-uncles = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-executor = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-executor-common = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-executor-wasmi = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-executor-wasmtime = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-finality-grandpa = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-finality-grandpa-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-informant = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-keystore = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-network = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-network-common = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-network-gossip = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-network-light = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-network-sync = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-offchain = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-peerset = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-proposer-metrics = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-rpc-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-rpc-server = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-service = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-state-db = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-sync-state-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-sysinfo = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-telemetry = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-tracing = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-tracing-proc-macro = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-transaction-pool = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-transaction-pool-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sc-utils = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-api-proc-macro = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-application-crypto = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-arithmetic = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-authority-discovery = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-authorship = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-block-builder = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-blockchain = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-consensus = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-consensus-aura = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-consensus-babe = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-consensus-slots = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-consensus-vrf = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-core = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-core-hashing = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-core-hashing-proc-macro = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-database = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-debug-derive = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-externalities = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-finality-grandpa = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-inherents = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-io = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-keyring = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-keystore = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-maybe-compressed-blob = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-mmr-primitives = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-npos-elections = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-offchain = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-panic-handler = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-runtime = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-runtime-interface = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-runtime-interface-proc-macro = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-sandbox = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-serializer = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-session = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-staking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-state-machine = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-std = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-storage = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-tasks = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-timestamp = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-tracing = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-transaction-pool = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-transaction-storage-proof = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-trie = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-version = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-version-proc-macro = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-sp-wasm-interface = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-substrate-build-script-utils = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-substrate-frame-rpc-system = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-substrate-prometheus-endpoint = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-substrate-state-trie-migration-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-substrate-test-client = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-substrate-test-utils = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-substrate-test-utils-derive = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-substrate-wasm-builder = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +-try-runtime-cli = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} ++beefy-gadget = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++beefy-gadget-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++beefy-merkle-tree = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++beefy-primitives = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++fork-tree = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++frame-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++frame-benchmarking-cli = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++frame-election-provider-solution-type = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++frame-election-provider-support = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++frame-executive = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++frame-support = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++frame-support-procedural = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++frame-support-procedural-tools = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++frame-support-procedural-tools-derive = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++frame-system = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++frame-system-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++frame-system-rpc-runtime-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++frame-try-runtime = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-aura = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-authority-discovery = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-authorship = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-babe = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-bags-list = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-balances = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-beefy = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-beefy-mmr = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-bounties = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-child-bounties = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-collective = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-democracy = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-election-provider-multi-phase = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-election-provider-support-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-elections-phragmen = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-gilt = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-grandpa = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-identity = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-im-online = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-indices = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-membership = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-mmr = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-mmr-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-multisig = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-nicks = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-nomination-pools = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-nomination-pools-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-offences = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-offences-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-preimage = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-proxy = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-randomness-collective-flip = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-recovery = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-scheduler = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-session = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-session-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-society = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-staking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-staking-reward-curve = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-staking-reward-fn = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-sudo = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-timestamp = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-tips = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-transaction-payment = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-transaction-payment-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-transaction-payment-rpc-runtime-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-treasury = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-utility = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++pallet-vesting = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++remote-externalities = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-allocator = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-authority-discovery = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-basic-authorship = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-block-builder = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-chain-spec = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-chain-spec-derive = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-cli = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-client-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-client-db = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-consensus = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-consensus-aura = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-consensus-babe = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-consensus-babe-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-consensus-epochs = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-consensus-manual-seal = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-consensus-slots = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-consensus-uncles = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-executor = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-executor-common = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-executor-wasmi = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-executor-wasmtime = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-finality-grandpa = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-finality-grandpa-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-informant = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-keystore = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-network = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-network-common = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-network-gossip = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-network-light = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-network-sync = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-offchain = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-peerset = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-proposer-metrics = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-rpc-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-rpc-server = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-service = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-state-db = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-sync-state-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-sysinfo = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-telemetry = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-tracing = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-tracing-proc-macro = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-transaction-pool = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-transaction-pool-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sc-utils = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-api-proc-macro = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-application-crypto = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-arithmetic = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-authority-discovery = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-authorship = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-block-builder = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-blockchain = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-consensus = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-consensus-aura = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-consensus-babe = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-consensus-slots = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-consensus-vrf = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-core = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-core-hashing = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-core-hashing-proc-macro = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-database = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-debug-derive = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-externalities = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-finality-grandpa = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-inherents = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-io = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-keyring = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-keystore = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-maybe-compressed-blob = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-mmr-primitives = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-npos-elections = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-offchain = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-panic-handler = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-runtime = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-runtime-interface = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-runtime-interface-proc-macro = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-sandbox = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-serializer = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-session = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-staking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-state-machine = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-std = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-storage = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-tasks = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-timestamp = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-tracing = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-transaction-pool = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-transaction-storage-proof = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-trie = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-version = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-version-proc-macro = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++sp-wasm-interface = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++substrate-build-script-utils = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++substrate-frame-rpc-system = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++substrate-prometheus-endpoint = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++substrate-state-trie-migration-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++substrate-test-client = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++substrate-test-utils = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++substrate-test-utils-derive = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++substrate-wasm-builder = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} ++try-runtime-cli = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} + +diff --git a/node/cli/Cargo.toml b/node/cli/Cargo.toml +index 5ce0c106..8572c20b 100644 +--- a/node/cli/Cargo.toml ++++ b/node/cli/Cargo.toml +@@ -328,4 +328,8 @@ runtime-benchmarks = [ + 'opal-runtime/runtime-benchmarks', + 'polkadot-service/runtime-benchmarks', + ] +-try-runtime = [] ++try-runtime = [ ++ 'unique-runtime?/try-runtime', ++ 'quartz-runtime?/try-runtime', ++ 'opal-runtime/try-runtime', ++] +diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml +index 29924138..5e117c53 100644 +--- a/runtime/common/Cargo.toml ++++ b/runtime/common/Cargo.toml +@@ -32,6 +32,7 @@ runtime-benchmarks = [ + 'frame-support/runtime-benchmarks', + 'frame-system/runtime-benchmarks', + ] ++try-runtime = [] + + [dependencies.sp-core] + default-features = false +diff --git a/runtime/opal/Cargo.toml b/runtime/opal/Cargo.toml +index 678dfc3d..d2f9a24e 100644 +--- a/runtime/opal/Cargo.toml ++++ b/runtime/opal/Cargo.toml +@@ -46,6 +46,7 @@ try-runtime = [ + 'frame-try-runtime', + 'frame-executive/try-runtime', + 'frame-system/try-runtime', ++ 'unique-runtime-common/try-runtime', + ] + std = [ + 'codec/std', +diff --git a/runtime/quartz/Cargo.toml b/runtime/quartz/Cargo.toml +index 4c9425a5..885a22d2 100644 +--- a/runtime/quartz/Cargo.toml ++++ b/runtime/quartz/Cargo.toml +@@ -46,6 +46,7 @@ try-runtime = [ + 'frame-try-runtime', + 'frame-executive/try-runtime', + 'frame-system/try-runtime', ++ 'unique-runtime-common/try-runtime', + ] + std = [ + 'codec/std', +diff --git a/runtime/unique/Cargo.toml b/runtime/unique/Cargo.toml +index 631a1a12..ae00be67 100644 +--- a/runtime/unique/Cargo.toml ++++ b/runtime/unique/Cargo.toml +@@ -47,6 +47,7 @@ try-runtime = [ + 'frame-try-runtime', + 'frame-executive/try-runtime', + 'frame-system/try-runtime', ++ 'unique-runtime-common/try-runtime', + ] + std = [ + 'codec/std', From 573ba5e5c20f372a6b6ce88e213af32884addc8f Mon Sep 17 00:00:00 2001 From: Fahrrader Date: Tue, 1 Nov 2022 13:42:21 +0000 Subject: [PATCH 02/31] ci: bring in forkless part of CI --- .docker/Dockerfile-testnet.j2 | 73 ++++++ .docker/Dockerfile-try-runtime | 49 ++++ .docker/docker-compose-forkless.yml | 24 ++ .docker/docker-compose-try-runtime.yml | 19 ++ .docker/docker-compose.tmp-forkless-data.j2 | 42 ++++ .docker/docker-compose.tmp-forkless-nodata.j2 | 33 +++ .docker/docker-compose.try-runtime.j2 | 9 + .docker/forkless-config/fork.jsonnet | 96 ++++++++ .../launch-config-forkless-data.j2 | 132 +++++++++++ .../launch-config-forkless-nodata.j2 | 127 +++++++++++ .../launch-config-node-update-only-v3.j2 | 127 +++++++++++ .docker/forkless-config/typeNames.jsonnet | 51 +++++ .env | 14 ++ .github/workflows/ci-master.yml | 22 ++ .github/workflows/forkless-update-data_v2.yml | 168 ++++++++++++++ .../workflows/forkless-update-nodata_v2.yml | 215 ++++++++++++++++++ .github/workflows/forkless.yml | 20 ++ .github/workflows/testnet-build.yml | 139 +++++++++++ .github/workflows/try-runtime_v2.yml | 78 +++++++ 19 files changed, 1438 insertions(+) create mode 100644 .docker/Dockerfile-testnet.j2 create mode 100644 .docker/Dockerfile-try-runtime create mode 100644 .docker/docker-compose-forkless.yml create mode 100644 .docker/docker-compose-try-runtime.yml create mode 100644 .docker/docker-compose.tmp-forkless-data.j2 create mode 100644 .docker/docker-compose.tmp-forkless-nodata.j2 create mode 100644 .docker/docker-compose.try-runtime.j2 create mode 100644 .docker/forkless-config/fork.jsonnet create mode 100644 .docker/forkless-config/launch-config-forkless-data.j2 create mode 100644 .docker/forkless-config/launch-config-forkless-nodata.j2 create mode 100644 .docker/forkless-config/launch-config-node-update-only-v3.j2 create mode 100644 .docker/forkless-config/typeNames.jsonnet create mode 100644 .github/workflows/ci-master.yml create mode 100644 .github/workflows/forkless-update-data_v2.yml create mode 100644 .github/workflows/forkless-update-nodata_v2.yml create mode 100644 .github/workflows/forkless.yml create mode 100644 .github/workflows/testnet-build.yml create mode 100644 .github/workflows/try-runtime_v2.yml diff --git a/.docker/Dockerfile-testnet.j2 b/.docker/Dockerfile-testnet.j2 new file mode 100644 index 0000000000..733ecaa06d --- /dev/null +++ b/.docker/Dockerfile-testnet.j2 @@ -0,0 +1,73 @@ +# ===== Rust builder ===== +FROM ubuntu:20.04 as rust-builder +LABEL maintainer="Unique.Network" + +ENV CARGO_HOME="/cargo-home" +ENV PATH="/cargo-home/bin:$PATH" +ENV TZ=UTC +RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone + +RUN apt-get update && \ + apt-get install -y curl cmake pkg-config libssl-dev git clang llvm libudev-dev protobuf-compiler && \ + apt-get clean && \ + rm -r /var/lib/apt/lists/* + +RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain none + +RUN rustup toolchain uninstall $(rustup toolchain list) && \ + rustup toolchain install {{ RUST_TOOLCHAIN }} && \ + rustup default {{ RUST_TOOLCHAIN }} && \ + rustup target list --installed && \ + rustup show +RUN rustup target add wasm32-unknown-unknown --toolchain {{ RUST_TOOLCHAIN }} + +RUN mkdir /unique_parachain +WORKDIR /unique_parachain + +# ===== BUILD ====== +FROM rust-builder as builder-unique + +ARG PROFILE=release + +WORKDIR /unique_parachain + +RUN git clone -b {{ BRANCH }} https://github.com/UniqueNetwork/unique-chain.git && \ + cd unique-chain && \ + cargo build --features={{ FEATURE }} --$PROFILE + +# ===== RUN ====== + +FROM ubuntu:20.04 + +RUN apt-get -y update && \ + apt-get -y install curl git && \ + curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash && \ + export NVM_DIR="$HOME/.nvm" && \ + [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \ + nvm install v16.16.0 && \ + nvm use v16.16.0 + +RUN git clone https://github.com/uniquenetwork/polkadot-launch -b {{ POLKADOT_LAUNCH_BRANCH }} + +RUN export NVM_DIR="$HOME/.nvm" && \ + [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \ + cd /polkadot-launch && \ + npm install --global yarn && \ + yarn install + +COPY --from=builder-unique /unique_parachain/unique-chain/.docker/testnet-config/launch-config.json /polkadot-launch/launch-config.json +COPY --from=builder-unique /unique_parachain/unique-chain/target/release/unique-collator /unique-chain/target/release/ + +COPY --from=uniquenetwork/builder-polkadot:{{ POLKADOT_BUILD_BRANCH }} /unique_parachain/polkadot/target/release/polkadot /polkadot/target/release/ + +EXPOSE 9844 +EXPOSE 9944 +EXPOSE 9933 +EXPOSE 9833 +EXPOSE 40333 +EXPOSE 30333 + +CMD export NVM_DIR="$HOME/.nvm" && \ + [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \ + cd /polkadot-launch && \ + yarn start launch-config.json \ No newline at end of file diff --git a/.docker/Dockerfile-try-runtime b/.docker/Dockerfile-try-runtime new file mode 100644 index 0000000000..e291fc8163 --- /dev/null +++ b/.docker/Dockerfile-try-runtime @@ -0,0 +1,49 @@ +# ===== Rust builder ===== +FROM ubuntu:20.04 as rust-builder +LABEL maintainer="Unique.Network" + +ARG RUST_TOOLCHAIN= + +ENV RUST_TOOLCHAIN $RUST_TOOLCHAIN +ENV CARGO_HOME="/cargo-home" +ENV PATH="/cargo-home/bin:$PATH" +ENV TZ=UTC +RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone + + +RUN apt-get update && \ + apt-get install -y curl cmake pkg-config libssl-dev git clang protobuf-compiler && \ + apt-get clean && \ + rm -r /var/lib/apt/lists/* + +RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain none + +RUN rustup toolchain uninstall $(rustup toolchain list) && \ + rustup toolchain install $RUST_TOOLCHAIN && \ + rustup default $RUST_TOOLCHAIN && \ + rustup target list --installed && \ + rustup show +RUN rustup target add wasm32-unknown-unknown --toolchain $RUST_TOOLCHAIN + +RUN mkdir /unique_parachain +WORKDIR /unique_parachain + + +# ===== BUILD ====== +FROM rust-builder as builder-unique + +ARG PROFILE=release +ARG FEATURE= +ARG REPLICA_FROM= +ENV FEATURE $FEATURE +ENV REPLICA_FROM $REPLICA_FROM + +COPY . /unique_parachain +WORKDIR /unique_parachain + + +RUN echo "Requested features: $FEATURE\n" && \ + echo "Fork from: $REPLICA_FROM\n" && \ + cargo build --features=$FEATURE --release + +CMD cargo run --features=try-runtime,$FEATURE --release -- try-runtime --no-spec-check-panic on-runtime-upgrade live --uri $REPLICA_FROM \ No newline at end of file diff --git a/.docker/docker-compose-forkless.yml b/.docker/docker-compose-forkless.yml new file mode 100644 index 0000000000..d2a4e90f7a --- /dev/null +++ b/.docker/docker-compose-forkless.yml @@ -0,0 +1,24 @@ +version: "3.5" + +services: + node-parachain: + build: + context: ../ + dockerfile: .docker/Dockerfile-parachain-upgrade + image: node-parachain + container_name: node-parachain + volumes: + - type: bind + source: ./launch-config-forkless.json + target: /polkadot-launch/launch-config.json + read_only: true + expose: + - 9944 + - 9933 + ports: + - 127.0.0.1:9944:9944 + - 127.0.0.1:9933:9933 + logging: + options: + max-size: "1m" + max-file: "3" \ No newline at end of file diff --git a/.docker/docker-compose-try-runtime.yml b/.docker/docker-compose-try-runtime.yml new file mode 100644 index 0000000000..f3af2f137b --- /dev/null +++ b/.docker/docker-compose-try-runtime.yml @@ -0,0 +1,19 @@ +version: "3.5" + +services: + try-runtime: + build: + context: ../ + dockerfile: .docker/Dockerfile-try-runtime + image: try-runtime + container_name: try-runtime + expose: + - 9944 + - 9933 + ports: + - 127.0.0.1:9944:9944 + - 127.0.0.1:9933:9933 + logging: + options: + max-size: "1m" + max-file: "3" \ No newline at end of file diff --git a/.docker/docker-compose.tmp-forkless-data.j2 b/.docker/docker-compose.tmp-forkless-data.j2 new file mode 100644 index 0000000000..4637d9909b --- /dev/null +++ b/.docker/docker-compose.tmp-forkless-data.j2 @@ -0,0 +1,42 @@ +version: "3.5" + +services: + node-parachain: + build: + args: + - "RUST_TOOLCHAIN={{ RUST_TOOLCHAIN }}" + - "BRANCH={{ BRANCH }}" + - "REPO_URL={{ REPO_URL }}" + - "FEATURE={{ FEATURE }}" + - "RUNTIME={{ RUNTIME }}" + - "POLKADOT_BUILD_BRANCH={{ POLKADOT_BUILD_BRANCH }}" + - "MAINNET_TAG={{ MAINNET_TAG }}" + - "MAINNET_BRANCH={{ MAINNET_BRANCH }}" + - "REPLICA_FROM={{ REPLICA_FROM }}" + context: ../ + dockerfile: .docker/Dockerfile-parachain-upgrade-data + image: node-parachain + container_name: node-parachain + volumes: + - type: bind + source: ./launch-config-forkless-data.json + target: /polkadot-launch/launch-config.json + read_only: true + - type: bind + source: ./forkless-config/fork.jsonnet + target: /polkadot-launch/fork.jsonnet + read_only: true + - type: bind + source: ./forkless-config/typeNames.jsonnet + target: /polkadot-launch/typeNames.jsonnet + read_only: true + expose: + - 9944 + - 9933 + ports: + - 127.0.0.1:9944:9944 + - 127.0.0.1:9933:9933 + logging: + options: + max-size: "1m" + max-file: "3" \ No newline at end of file diff --git a/.docker/docker-compose.tmp-forkless-nodata.j2 b/.docker/docker-compose.tmp-forkless-nodata.j2 new file mode 100644 index 0000000000..7bcf5b58d6 --- /dev/null +++ b/.docker/docker-compose.tmp-forkless-nodata.j2 @@ -0,0 +1,33 @@ +version: "3.5" + +services: + node-parachain: + build: + args: + - "RUST_TOOLCHAIN={{ RUST_TOOLCHAIN }}" + - "BRANCH={{ BRANCH }}" + - "REPO_URL={{ REPO_URL }}" + - "FEATURE={{ FEATURE }}" + - "RUNTIME={{ RUNTIME }}" + - "POLKADOT_BUILD_BRANCH={{ POLKADOT_BUILD_BRANCH }}" + - "MAINNET_TAG={{ MAINNET_TAG }}" + - "MAINNET_BRANCH={{ MAINNET_BRANCH }}" + context: ../ + dockerfile: .docker/Dockerfile-parachain-upgrade + image: node-parachain + container_name: node-parachain + volumes: + - type: bind + source: ./launch-config-forkless-nodata.json + target: /polkadot-launch/launch-config.json + read_only: true + expose: + - 9944 + - 9933 + ports: + - 127.0.0.1:9944:9944 + - 127.0.0.1:9933:9933 + logging: + options: + max-size: "1m" + max-file: "3" \ No newline at end of file diff --git a/.docker/docker-compose.try-runtime.j2 b/.docker/docker-compose.try-runtime.j2 new file mode 100644 index 0000000000..41b1488957 --- /dev/null +++ b/.docker/docker-compose.try-runtime.j2 @@ -0,0 +1,9 @@ +version: "3.5" + +services: + try-runtime: + build: + args: + - "RUST_TOOLCHAIN={{ RUST_TOOLCHAIN }}" + - "FEATURE={{ FEATURE }}" + - "REPLICA_FROM={{ REPLICA_FROM }}" diff --git a/.docker/forkless-config/fork.jsonnet b/.docker/forkless-config/fork.jsonnet new file mode 100644 index 0000000000..375bcfed67 --- /dev/null +++ b/.docker/forkless-config/fork.jsonnet @@ -0,0 +1,96 @@ + +function(rawSpec, forkFrom) +local sourceChain = cql.chain(forkFrom).latest; + +local raw = local sourceRaw = sourceChain._raw._preloadKeys; { + [key]: cql.toHex(sourceRaw[key]) + for key in std.objectFields(sourceRaw) + if sourceRaw[key] != null +}; + +local typeNames = (import './typeNames.jsonnet')(sourceChain); + +local +auraKeys = [ + // AuraExt.Authorities, we don't have aura pallet enabled for some reason, to refer using cql api + '0x3c311d57d4daf52904616cf69648081e5e0621c4869aa60c02be9adcc98a0d1d', + // Aura.Authorities + '0x57f8dc2f5ab09467896f47300f0424385e0621c4869aa60c02be9adcc98a0d1d', +], + +// Keys, which should be migrated from passed spec, rather than from forked chain +wantedKeys = [ + sourceChain.ParachainInfo._key.ParachainId, + sourceChain.Sudo._key.Key, + sourceChain.System.BlockHash._key['0'], + sourceChain.System._key.ParentHash, +] + auraKeys, + +// Keys to remove from original chain +unwantedPrefixes = [ + // Aura.CurrentSlot + '0x57f8dc2f5ab09467896f47300f04243806155b3cd9a8c9e5e9a23fd5dc13a5ed', + // Ensure there will be no panics caused by unexpected kept state + sourceChain.ParachainSystem._key.ValidationData, + sourceChain.ParachainSystem._key.RelayStateProof, + sourceChain.ParachainSystem._key.HostConfiguration, + sourceChain.ParachainSystem._key.LastDmqMqcHead, + // Part of head + sourceChain.System._key.BlockHash, + sourceChain.System._key.Number, + sourceChain.System._key.Digest, +] + auraKeys, + +cleanupRaw(raw) = { + [key]: raw[key] + for key in std.objectFields(raw) + if std.all(std.map(function(prefix) !std.startsWith(key, prefix), unwantedPrefixes)) +}; + + +local originalRaw = rawSpec.genesis.raw.top; +local outSpec = rawSpec { + genesis+: { + raw+: { + top: cleanupRaw(raw) { + [key]: originalRaw[key] + for key in wantedKeys + if std.objectHas(originalRaw, key) + }, + }, + }, +}; + +local + aliceAccount = sourceChain.System._encodeKey.Account(['0xd43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d']), + totalIssuance = sourceChain.Balances._encodeKey.TotalIssuance([]), + unique = cql.calc(["10", "18", "**"]), + Munique = cql.calc([unique, "10", "6", "**", "*"]), +; + +outSpec { + genesis+: { + raw+: { + top+: { + [totalIssuance]: cql.calc([ + Munique, + if std.objectHas(super, totalIssuance) then sourceChain._decode(typeNames.u128, super[totalIssuance]) else '0', + if std.objectHas(super, aliceAccount) then sourceChain._decode(typeNames.AccountInfo, super[aliceAccount]).data.free else '0', + '-', '+', + ]), + [aliceAccount]: sourceChain._encode(typeNames.AccountInfo, { + nonce: 0, + consumers: 3, + providers: 1, + sufficients: 0, + data: { + free: Munique, + reserved: "0", + misc_frozen: "0", + fee_frozen: "0", + }, + },) + }, + }, + }, +} \ No newline at end of file diff --git a/.docker/forkless-config/launch-config-forkless-data.j2 b/.docker/forkless-config/launch-config-forkless-data.j2 new file mode 100644 index 0000000000..d26e9ef0f4 --- /dev/null +++ b/.docker/forkless-config/launch-config-forkless-data.j2 @@ -0,0 +1,132 @@ +{ + "relaychain": { + "bin": "/polkadot/target/release/polkadot", + "upgradeBin": "/polkadot/target/release/polkadot", + "upgradeWasm": "/polkadot/target/release/wbuild/westend-runtime/westend_runtime.compact.compressed.wasm", + "chain": "westend-local", + "nodes": [ + { + "name": "alice", + "wsPort": 9844, + "rpcPort": 9843, + "port": 30444, + "flags": [ + "-lparachain::candidate_validation=debug", + "-lxcm=trace", + "--rpc-cors=all", + "--unsafe-rpc-external", + "--unsafe-ws-external" + ] + }, + { + "name": "bob", + "wsPort": 9855, + "rpcPort": 9854, + "port": 30555, + "flags": [ + "-lparachain::candidate_validation=debug", + "-lxcm=trace", + "--rpc-cors=all", + "--unsafe-rpc-external", + "--unsafe-ws-external" + ] + }, + { + "name": "charlie", + "wsPort": 9866, + "rpcPort": 9865, + "port": 30666, + "flags": [ + "-lparachain::candidate_validation=debug", + "-lxcm=trace", + "--rpc-cors=all", + "--unsafe-rpc-external", + "--unsafe-ws-external" + ] + }, + { + "name": "dave", + "wsPort": 9877, + "rpcPort": 9876, + "port": 30777, + "flags": [ + "-lparachain::candidate_validation=debug", + "-lxcm=trace", + "--rpc-cors=all", + "--unsafe-rpc-external", + "--unsafe-ws-external" + ] + }, + { + "name": "eve", + "wsPort": 9888, + "rpcPort": 9887, + "port": 30888, + "flags": [ + "-lparachain::candidate_validation=debug", + "-lxcm=trace", + "--rpc-cors=all", + "--unsafe-rpc-external", + "--unsafe-ws-external" + ] + } + ], + "genesis": { + "runtime": { + "runtime_genesis_config": { + "parachainsConfiguration": { + "config": { + "validation_upgrade_frequency": 1, + "validation_upgrade_delay": 1 + } + } + } + } + } + }, + "parachains": [ + { + "bin": "/unique-chain/current/release/unique-collator", + "upgradeBin": "/unique-chain/target/release/unique-collator", + "upgradeWasm": "/unique-chain/target/release/wbuild/{{ FEATURE }}/{{ RUNTIME }}_runtime.compact.compressed.wasm", + "id": "1000", + "balance": "1000000000000000000000000", + "chainRawInitializer": [ + "chainql", + "--ext-str=REPLICA_FROM", + "--tla-code=rawSpec=import '${rawSpec}'", + "--tla-code=forkFrom=std.extVar('REPLICA_FROM')", + "fork.jsonnet" + ], + "nodes": [ + { + "port": 31200, + "wsPort": 9944, + "rpcPort": 9933, + "name": "alice", + "flags": [ + "--rpc-cors=all", + "--unsafe-rpc-external", + "--unsafe-ws-external", + "-lxcm=trace" + ] + }, + { + "port": 31201, + "wsPort": 9945, + "rpcPort": 9934, + "name": "bob", + "flags": [ + "--rpc-cors=all", + "--unsafe-rpc-external", + "--unsafe-ws-external", + "-lxcm=trace" + ] + } + ] + } + ], + "simpleParachains": [], + "hrmpChannels": [], + "finalization": false +} \ No newline at end of file diff --git a/.docker/forkless-config/launch-config-forkless-nodata.j2 b/.docker/forkless-config/launch-config-forkless-nodata.j2 new file mode 100644 index 0000000000..b044d447f3 --- /dev/null +++ b/.docker/forkless-config/launch-config-forkless-nodata.j2 @@ -0,0 +1,127 @@ +{ + "relaychain": { + "bin": "/polkadot/target/release/polkadot", + "upgradeBin": "/polkadot/target/release/polkadot", + "upgradeWasm": "/polkadot/target/release/wbuild/westend-runtime/westend_runtime.compact.compressed.wasm", + "chain": "westend-local", + "nodes": [ + { + "name": "alice", + "wsPort": 9844, + "rpcPort": 9843, + "port": 30444, + "flags": [ + "-lparachain::candidate_validation=debug", + "-lxcm=trace", + "--rpc-cors=all", + "--unsafe-rpc-external", + "--unsafe-ws-external" + ] + }, + { + "name": "bob", + "wsPort": 9855, + "rpcPort": 9854, + "port": 30555, + "flags": [ + "-lparachain::candidate_validation=debug", + "-lxcm=trace", + "--rpc-cors=all", + "--unsafe-rpc-external", + "--unsafe-ws-external" + ] + }, + { + "name": "charlie", + "wsPort": 9866, + "rpcPort": 9865, + "port": 30666, + "flags": [ + "-lparachain::candidate_validation=debug", + "-lxcm=trace", + "--rpc-cors=all", + "--unsafe-rpc-external", + "--unsafe-ws-external" + ] + }, + { + "name": "dave", + "wsPort": 9877, + "rpcPort": 9876, + "port": 30777, + "flags": [ + "-lparachain::candidate_validation=debug", + "-lxcm=trace", + "--rpc-cors=all", + "--unsafe-rpc-external", + "--unsafe-ws-external" + ] + }, + { + "name": "eve", + "wsPort": 9888, + "rpcPort": 9887, + "port": 30888, + "flags": [ + "-lparachain::candidate_validation=debug", + "-lxcm=trace", + "--rpc-cors=all", + "--unsafe-rpc-external", + "--unsafe-ws-external" + ] + } + ], + "genesis": { + "runtime": { + "runtime_genesis_config": { + "parachainsConfiguration": { + "config": { + "validation_upgrade_frequency": 1, + "validation_upgrade_delay": 1 + } + } + } + } + } + }, + "parachains": [ + { + "bin": "/unique-chain/current/release/unique-collator", + "upgradeBin": "/unique-chain/target/release/unique-collator", + "upgradeWasm": "/unique-chain/target/release/wbuild/{{ FEATURE }}/{{ RUNTIME }}_runtime.compact.compressed.wasm", + "id": "1000", + "balance": "1000000000000000000000000", + "nodes": [ + { + "port": 31200, + "wsPort": 9944, + "rpcPort": 9933, + "name": "alice", + "flags": [ + "--rpc-cors=all", + "--unsafe-rpc-external", + "--unsafe-ws-external", + "-lxcm=trace", + "--ws-max-connections=1000" + ] + }, + { + "port": 31201, + "wsPort": 9945, + "rpcPort": 9934, + "name": "bob", + "flags": [ + "--rpc-cors=all", + "--unsafe-rpc-external", + "--unsafe-ws-external", + "-lxcm=trace", + "--ws-max-connections=1000" + ] + } + ] + } + ], + "simpleParachains": [], + "hrmpChannels": [], + "finalization": false +} \ No newline at end of file diff --git a/.docker/forkless-config/launch-config-node-update-only-v3.j2 b/.docker/forkless-config/launch-config-node-update-only-v3.j2 new file mode 100644 index 0000000000..9647e4ea00 --- /dev/null +++ b/.docker/forkless-config/launch-config-node-update-only-v3.j2 @@ -0,0 +1,127 @@ +{ + "relaychain": { + "bin": "/polkadot/target/release/polkadot", + "upgradeBin": "/polkadot/target/release/polkadot", + "upgradeWasm": "/polkadot/target/release/wbuild/westend-runtime/westend_runtime.compact.compressed.wasm", + "chain": "rococo-local", + "nodes": [ + { + "name": "alice", + "wsPort": 9844, + "rpcPort": 9843, + "port": 30444, + "flags": [ + "-lparachain::candidate_validation=debug", + "-lxcm=trace", + "--rpc-cors=all", + "--unsafe-rpc-external", + "--unsafe-ws-external" + ] + }, + { + "name": "bob", + "wsPort": 9855, + "rpcPort": 9854, + "port": 30555, + "flags": [ + "-lparachain::candidate_validation=debug", + "-lxcm=trace", + "--rpc-cors=all", + "--unsafe-rpc-external", + "--unsafe-ws-external" + ] + }, + { + "name": "charlie", + "wsPort": 9866, + "rpcPort": 9865, + "port": 30666, + "flags": [ + "-lparachain::candidate_validation=debug", + "-lxcm=trace", + "--rpc-cors=all", + "--unsafe-rpc-external", + "--unsafe-ws-external" + ] + }, + { + "name": "dave", + "wsPort": 9877, + "rpcPort": 9876, + "port": 30777, + "flags": [ + "-lparachain::candidate_validation=debug", + "-lxcm=trace", + "--rpc-cors=all", + "--unsafe-rpc-external", + "--unsafe-ws-external" + ] + }, + { + "name": "eve", + "wsPort": 9888, + "rpcPort": 9887, + "port": 30888, + "flags": [ + "-lparachain::candidate_validation=debug", + "-lxcm=trace", + "--rpc-cors=all", + "--unsafe-rpc-external", + "--unsafe-ws-external" + ] + } + ], + "genesis": { + "runtime": { + "runtime_genesis_config": { + "parachainsConfiguration": { + "config": { + "validation_upgrade_frequency": 1, + "validation_upgrade_delay": 1 + } + } + } + } + } + }, + "parachains": [ + { + "bin": "/unique-chain/current/release/unique-collator", + "upgradeBin": "/unique-chain/target/release/unique-collator", + "upgradeWasm": "/unique-chain/target/release/wbuild/{{ FEATURE }}/{{ RUNTIME }}_runtime.compact.compressed.wasm", + "id": "1000", + "balance": "1000000000000000000000000", + "nodes": [ + { + "port": 31200, + "wsPort": 9944, + "rpcPort": 9933, + "name": "alice", + "flags": [ + "--rpc-cors=all", + "--unsafe-rpc-external", + "--unsafe-ws-external", + "-lxcm=trace", + "--ws-max-connections=1000" + ] + }, + { + "port": 31201, + "wsPort": 9945, + "rpcPort": 9934, + "name": "bob", + "flags": [ + "--rpc-cors=all", + "--unsafe-rpc-external", + "--unsafe-ws-external", + "-lxcm=trace", + "--ws-max-connections=1000" + ] + } + ] + } + ], + "simpleParachains": [], + "hrmpChannels": [], + "finalization": false +} \ No newline at end of file diff --git a/.docker/forkless-config/typeNames.jsonnet b/.docker/forkless-config/typeNames.jsonnet new file mode 100644 index 0000000000..b463287e23 --- /dev/null +++ b/.docker/forkless-config/typeNames.jsonnet @@ -0,0 +1,51 @@ +function(chain) +local + typeName(id) = local + ty = chain._meta.types.types[id], + name = if std.objectHas(ty.type, "path") then + std.join('::', ty.type.path) + else if std.objectHas(ty.type.def, "primitive") then ty.type.def.primitive + else if std.objectHas(ty.type.def, "tuple") then "(" + std.join(', ', std.map(typeName, ty.type.def.tuple)) + ")" + else if std.objectHas(ty.type.def, "sequence") then "Vec<" + typeName(ty.type.def.sequence.type) + ">" + else if std.objectHas(ty.type.def, "array") then "[" + typeName(ty.type.def.array.type) + "; " + ty.type.def.array.len + "]" + else if std.objectHas(ty.type.def, "compact") then "Compact<" + typeName(ty.type.def.compact.type) + ">" + else error "Can't generate useable name for " + ty.type, + generics = if std.objectHas(ty.type, "params") then + '<' + std.join(', ', std.map(function(p) if p.type == null then 'Spec#'+id else typeName(p.type), ty.type.params)) + '>' + else '' + ; name + generics, + shortenPrefix(obj, prefix, short) = { + [short]: obj[field] + for field in std.objectFields(obj) + // There should be at most one element with this prefix + if std.startsWith(field, prefix) + }, +; + +local typesRaw = { + [typeName(id)]: id + for id in std.range(0, std.length(chain._meta.types.types)-1) +}; + +local types = typesRaw + shortenPrefix(typesRaw, 'frame_system::AccountInfo<', 'AccountInfo'); + +types +// local +// ; + +// local encoded = chain._encode(types['AccountInfo'], { +// nonce: 0, +// consumers: 3, +// providers: 1, +// sufficients: 0, +// data: { +// free: Munique, +// reserved: "0", +// misc_frozen: "0", +// fee_frozen: "0", +// }, +// }); + +// local systemAccount = chain._decode(types['AccountInfo'], encoded); + +// chain.System._encodeKey.Account(['0xd43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d']) \ No newline at end of file diff --git a/.env b/.env index b988f9e491..2a1cff73d8 100644 --- a/.env +++ b/.env @@ -4,3 +4,17 @@ POLKA_VERSION=release-v0.9.24 UNIQUE_BRANCH=develop USER=*** PASS=*** + +POLKADOT_BUILD_BRANCH=release-v0.9.30 +POLKADOT_MAINNET_BRANCH=release-v0.9.29 + +UNIQUE_MAINNET_TAG=v924010-old-tests-fixes +UNIQUE_REPLICA_FROM=wss://eu-ws.unique.network:443 + +QUARTZ_MAINNET_TAG=quartz-v924012-2-old-tests-fixes +QUARTZ_REPLICA_FROM=wss://eu-ws-quartz.unique.network:443 + +OPAL_MAINNET_TAG=quartz-v924012-2-old-tests-fixes +OPAL_REPLICA_FROM=wss://eu-ws-opal.unique.network:443 + +POLKADOT_LAUNCH_BRANCH=unique-network \ No newline at end of file diff --git a/.github/workflows/ci-master.yml b/.github/workflows/ci-master.yml new file mode 100644 index 0000000000..9c6239b2d2 --- /dev/null +++ b/.github/workflows/ci-master.yml @@ -0,0 +1,22 @@ +# https://cryptousetech.atlassian.net/wiki/spaces/CI/pages/2587656193/CI+Master +# Workflow which controls starts nested workflows. +name: master + +# Triger: PR at 'master' branch with following types of events. +on: + pull_request: + branches: [ 'master' ] + types: [ opened, reopened, synchronize, ready_for_review ] + +#Concurency group for control execution queue over github runners. +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref }} + cancel-in-progress: true + +# List of a jobs included into Workflow. +jobs: + forkless: + uses: ./.github/workflows/forkless.yml + + # codestyle: + # uses: ./.github/workflows/codestyle.yml \ No newline at end of file diff --git a/.github/workflows/forkless-update-data_v2.yml b/.github/workflows/forkless-update-data_v2.yml new file mode 100644 index 0000000000..117b1fff74 --- /dev/null +++ b/.github/workflows/forkless-update-data_v2.yml @@ -0,0 +1,168 @@ +# Forkless update with data replication +# https://cryptousetech.atlassian.net/wiki/spaces/CI/pages/2586869792/Forkless+update+with+data + +# Triger: only call from main workflow(re-usable workflows) +on: + workflow_call: + + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + + execution-marix: + + name: Prepare execution matrix + + runs-on: self-hosted-ci + outputs: + matrix: ${{ steps.create_matrix.outputs.matrix }} + + steps: + + - name: Clean Workspace + uses: AutoModality/action-clean@v1.1.0 + + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} #Checking out head commit + + - name: Read .env file + uses: xom9ikk/dotenv@v2 + + - name: Create Execution matrix + uses: CertainLach/create-matrix-action@v3 + id: create_matrix + with: + matrix: | + network {opal}, runtime {opal}, features {opal-runtime}, mainnet_branch {${{ env.OPAL_MAINNET_TAG }}}, replica_from_address {${{ env.OPAL_REPLICA_FROM }}} + network {quartz}, runtime {quartz}, features {quartz-runtime}, mainnet_branch {${{ env.QUARTZ_MAINNET_TAG }}}, replica_from_address {${{ env.QUARTZ_REPLICA_FROM }}} + network {unique}, runtime {unique}, features {unique-runtime}, mainnet_branch {${{ env.UNIQUE_MAINNET_TAG }}}, replica_from_address {${{ env.UNIQUE_REPLICA_FROM }}} + forkless-update-data: + needs: execution-marix + # The type of runner that the job will run on + runs-on: [self-hosted-ci,large] + timeout-minutes: 1380 + + name: ${{ matrix.network }}-data + strategy: + matrix: + include: ${{fromJson(needs.execution-marix.outputs.matrix)}} + + continue-on-error: true #Do not stop testing of matrix runs failed. As it decided during PR review - it required 50/50& Let's check it with false. + + + steps: + - name: Clean Workspace + uses: AutoModality/action-clean@v1.1.0 + + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} #Checking out head commit + + - name: Read .env file + uses: xom9ikk/dotenv@v2 + + - name: Generate ENV related extend file for docker-compose + uses: cuchi/jinja2-action@v1.2.0 + with: + template: .docker/docker-compose.tmp-forkless-data.j2 + output_file: .docker/docker-compose.${{ matrix.network }}.yml + variables: | + REPO_URL=${{ github.server_url }}/${{ github.repository }}.git + RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }} + POLKADOT_BUILD_BRANCH=${{ env.POLKADOT_BUILD_BRANCH }} + POLKADOT_MAINNET_BRANCH=${{ env.POLKADOT_MAINNET_BRANCH }} + MAINNET_TAG=${{ matrix.mainnet_tag }} + MAINNET_BRANCH=${{ matrix.mainnet_branch }} + FEATURE=${{ matrix.features }} + RUNTIME=${{ matrix.runtime }} + BRANCH=${{ github.head_ref }} + REPLICA_FROM=${{ matrix.replica_from_address }} + - name: Show build configuration + run: cat .docker/docker-compose.${{ matrix.network }}.yml + + - name: Generate launch-config-forkless-data.json + uses: cuchi/jinja2-action@v1.2.0 + with: + template: .docker/forkless-config/launch-config-forkless-data.j2 + output_file: .docker/launch-config-forkless-data.json + variables: | + FEATURE=${{ matrix.features }} + RUNTIME=${{ matrix.runtime }} + - name: Show launch-config-forkless configuration + run: cat .docker/launch-config-forkless-data.json + + + - name: Build the stack + run: docker-compose -f ".docker/docker-compose-forkless.yml" -f ".docker/docker-compose.${{ matrix.network }}.yml" up -d --build --force-recreate --timeout 300 + + - name: Check if docker logs consist logs related to Runtime Upgrade testing. + if: success() + run: | + counter=160 + function check_container_status { + docker inspect -f {{.State.Running}} node-parachain + } + function do_docker_logs { + docker logs --details node-parachain 2>&1 + } + function is_started { + if [ "$(check_container_status)" == "true" ]; then + echo "Container: node-parachain RUNNING"; + echo "Check Docker logs" + DOCKER_LOGS=$(do_docker_logs) + if [[ ${DOCKER_LOGS} = *"🛸 PARACHAINS' RUNTIME UPGRADE TESTING COMPLETE 🛸"* ]];then + echo "🛸 PARACHAINS' RUNTIME UPGRADE TESTING COMPLETE 🛸" + return 0 + elif [[ ${DOCKER_LOGS} = *"🚧 PARACHAINS' RUNTIME UPGRADE TESTING FAILED 🚧"* ]];then + echo "🚧 PARACHAINS' RUNTIME UPGRADE TESTING FAILED 🚧" + return 1 + else + echo "Message not found in logs output, repeating..." + return 1 + fi + else + echo "Container node-parachain not RUNNING" + echo "Halting all future checks" + exit 1 + fi + exit 0 + } + while ! is_started; do + echo "Waiting for special message in log files " + sleep 30s + counter=$(( $counter - 1 )) + echo "Counter: $counter" + if [ "$counter" -gt "0" ]; then + continue + else + break + fi + done + echo "Halting script" + exit 0 + shell: bash + + - name: Collect Docker Logs + if: success() || failure() + uses: jwalton/gh-docker-logs@v2.2.0 + with: + dest: './forkless-parachain-upgrade-data-logs.${{ matrix.features }}' + images: 'node-parachain' + + - name: Show Docker logs + if: success() || failure() + run: cat './forkless-parachain-upgrade-data-logs.${{ matrix.features }}/node-parachain.log' + + - name: Stop running containers + if: always() # run this step always + run: docker-compose -f ".docker/docker-compose-forkless.yml" -f ".docker/docker-compose.${{ matrix.network }}.yml" down --volumes + + - name: Remove builder cache + if: always() # run this step always + run: | + docker builder prune -f -a + docker system prune -f + docker image prune -f -a \ No newline at end of file diff --git a/.github/workflows/forkless-update-nodata_v2.yml b/.github/workflows/forkless-update-nodata_v2.yml new file mode 100644 index 0000000000..abfe7749cf --- /dev/null +++ b/.github/workflows/forkless-update-nodata_v2.yml @@ -0,0 +1,215 @@ +# https://cryptousetech.atlassian.net/wiki/spaces/CI/pages/2586837021/Forkless+update+without+data +# Forkless update without data replication + +# Triger: only call from main workflow(re-usable workflows) +on: + workflow_call: + + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + execution-marix: + + name: Prepare execution matrix + + runs-on: self-hosted-ci + outputs: + matrix: ${{ steps.create_matrix.outputs.matrix }} + + steps: + + - name: Clean Workspace + uses: AutoModality/action-clean@v1.1.0 + + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} #Checking out head commit + + - name: Read .env file + uses: xom9ikk/dotenv@v2 + + - name: Create Execution matrix + uses: CertainLach/create-matrix-action@v3 + id: create_matrix + with: + matrix: | + network {opal}, runtime {opal}, features {opal-runtime}, mainnet_branch {${{ env.OPAL_MAINNET_TAG }}} + network {quartz}, runtime {quartz}, features {quartz-runtime}, mainnet_branch {${{ env.QUARTZ_MAINNET_TAG }}} + network {unique}, runtime {unique}, features {unique-runtime}, mainnet_branch {${{ env.UNIQUE_MAINNET_TAG }}} + forkless-update-nodata: + needs: execution-marix + # The type of runner that the job will run on + runs-on: [self-hosted-ci,large] + + timeout-minutes: 1380 + + name: ${{ matrix.network }}-nodata + + continue-on-error: true #Do not stop testing of matrix runs failed. As it decided during PR review - it required 50/50& Let's check it with false. + + strategy: + matrix: + include: ${{fromJson(needs.execution-marix.outputs.matrix)}} + + steps: + - name: Clean Workspace + uses: AutoModality/action-clean@v1.1.0 + + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} #Checking out head commit + + - name: Read .env file + uses: xom9ikk/dotenv@v2 + + - name: Generate ENV related extend file for docker-compose + uses: cuchi/jinja2-action@v1.2.0 + with: + template: .docker/docker-compose.tmp-forkless-nodata.j2 + output_file: .docker/docker-compose.${{ matrix.network }}.yml + variables: | + REPO_URL=${{ github.server_url }}/${{ github.repository }}.git + RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }} + POLKADOT_BUILD_BRANCH=${{ env.POLKADOT_BUILD_BRANCH }} + POLKADOT_MAINNET_BRANCH=${{ env.POLKADOT_MAINNET_BRANCH }} + MAINNET_TAG=${{ matrix.mainnet_tag }} + MAINNET_BRANCH=${{ matrix.mainnet_branch }} + FEATURE=${{ matrix.features }} + RUNTIME=${{ matrix.runtime }} + BRANCH=${{ github.head_ref }} + - name: Show build configuration + run: cat .docker/docker-compose.${{ matrix.network }}.yml + + - name: Generate launch-config-forkless-nodata.json + uses: cuchi/jinja2-action@v1.2.0 + with: + template: .docker/forkless-config/launch-config-forkless-nodata.j2 + output_file: .docker/launch-config-forkless-nodata.json + variables: | + FEATURE=${{ matrix.features }} + RUNTIME=${{ matrix.runtime }} + - name: Show launch-config-forkless configuration + run: cat .docker/launch-config-forkless-nodata.json + + - uses: actions/setup-node@v3 + with: + node-version: 16 + + - name: Build the stack + run: docker-compose -f ".docker/docker-compose-forkless.yml" -f ".docker/docker-compose.${{ matrix.network }}.yml" up -d --build --force-recreate --timeout 300 + + - name: Check if docker logs consist logs related to Runtime Upgrade testing. + if: success() + run: | + counter=160 + function check_container_status { + docker inspect -f {{.State.Running}} node-parachain + } + function do_docker_logs { + docker logs --details node-parachain 2>&1 + } + function is_started { + if [ "$(check_container_status)" == "true" ]; then + echo "Container: node-parachain RUNNING"; + echo "Check Docker logs" + DOCKER_LOGS=$(do_docker_logs) + if [[ ${DOCKER_LOGS} = *"🛸 PARACHAINS' RUNTIME UPGRADE TESTING COMPLETE 🛸"* ]];then + echo "🛸 PARACHAINS' RUNTIME UPGRADE TESTING COMPLETE 🛸" + return 0 + elif [[ ${DOCKER_LOGS} = *"🚧 PARACHAINS' RUNTIME UPGRADE TESTING FAILED 🚧"* ]];then + echo "🚧 PARACHAINS' RUNTIME UPGRADE TESTING FAILED 🚧" + return 1 + else + echo "Message not found in logs output, repeating..." + return 1 + fi + else + echo "Container node-parachain not RUNNING" + echo "Halting all future checks" + exit 1 + fi + exit 0 + } + while ! is_started; do + echo "Waiting for special message in log files " + sleep 30s + counter=$(( $counter - 1 )) + echo "Counter: $counter" + if [ "$counter" -gt "0" ]; then + continue + else + break + fi + done + echo "Halting script" + exit 0 + shell: bash + + - name: Collect Docker Logs + if: success() || failure() + uses: jwalton/gh-docker-logs@v2.2.0 + with: + dest: './forkless-parachain-upgrade-nodata-logs.${{ matrix.features }}' + images: 'node-parachain' + + - name: Show docker logs + if: success() || failure() + run: cat './forkless-parachain-upgrade-nodata-logs.${{ matrix.features }}/node-parachain.log' + + - name: Run Parallel tests + working-directory: tests + run: | + yarn install + yarn add mochawesome + node scripts/readyness.js + echo "Ready to start tests" + yarn polkadot-types + NOW=$(date +%s) && yarn testParallel --reporter mochawesome --reporter-options reportFilename=test-parallel-${NOW} + env: + RPC_URL: http://127.0.0.1:9933/ + + - name: Test Report Parallel + uses: phoenix-actions/test-reporting@v8 + id: test-report-parallel + if: success() || failure() # run this step even if previous step failed + with: + name: Report Parallel tests results - ${{ matrix.network }} # Name of the check run which will be created + path: tests/mochawesome-report/test-parallel-*.json # Path to test results + reporter: mochawesome-json + fail-on-error: 'false' + + - name: Run Sequential tests + working-directory: tests + if: success() || failure() + run: | + yarn install + yarn add mochawesome + node scripts/readyness.js + echo "Ready to start tests" + yarn polkadot-types + NOW=$(date +%s) && yarn testSequential --reporter mochawesome --reporter-options reportFilename=test-sequential-${NOW} + env: + RPC_URL: http://127.0.0.1:9933/ + + - name: Test Report Sequential + uses: phoenix-actions/test-reporting@v8 + id: test-report-sequential + if: success() || failure() # run this step even if previous step failed + with: + name: Report Sequential tests results - ${{ matrix.network }} # Name of the check run which will be created + path: tests/mochawesome-report/test-sequential-*.json # Path to test results + reporter: mochawesome-json + fail-on-error: 'false' + + - name: Stop running containers + if: always() # run this step always + run: docker-compose -f ".docker/docker-compose-forkless.yml" -f ".docker/docker-compose.${{ matrix.network }}.yml" down + + - name: Remove builder cache + if: always() # run this step always + run: | + docker builder prune -f -a + docker system prune -f + docker image prune -f -a \ No newline at end of file diff --git a/.github/workflows/forkless.yml b/.github/workflows/forkless.yml new file mode 100644 index 0000000000..8aa217eadf --- /dev/null +++ b/.github/workflows/forkless.yml @@ -0,0 +1,20 @@ +# Intermediate Nested Workflow for calling subworkflows as a parallel tasks. + +name: Nesting Forkless + +on: + workflow_call: + +jobs: + + forkless-update-data: + name: with data + uses: ./.github/workflows/forkless-update-data_v2.yml + + forkless-update-no-data: + name: no data + uses: ./.github/workflows/forkless-update-nodata_v2.yml + + try-runtime: + name: try-runtime + uses: ./.github/workflows/try-runtime_v2.yml \ No newline at end of file diff --git a/.github/workflows/testnet-build.yml b/.github/workflows/testnet-build.yml new file mode 100644 index 0000000000..9156685c17 --- /dev/null +++ b/.github/workflows/testnet-build.yml @@ -0,0 +1,139 @@ +name: testnet-build + +# Controls when the action will run. +on: + # Triggers the workflow on push or pull request events but only for the master branch + pull_request: + branches: + - master + types: + - opened + - reopened + - synchronize #commit(s) pushed to the pull request + - ready_for_review + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +#Define Workflow variables +env: + REPO_URL: ${{ github.server_url }}/${{ github.repository }} + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + + prepare-execution-marix: + + name: Prepare execution matrix + + runs-on: [self-hosted-ci,medium] + outputs: + matrix: ${{ steps.create_matrix.outputs.matrix }} + + steps: + + - name: Clean Workspace + uses: AutoModality/action-clean@v1.1.0 + + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} #Checking out head commit + + - name: Read .env file + uses: xom9ikk/dotenv@v2 + + - name: Create Execution matrix + uses: fabiocaccamo/create-matrix-action@v2 + id: create_matrix + with: + matrix: | + network {opal}, runtime {opal}, features {opal-runtime} + network {quartz}, runtime {quartz}, features {quartz-runtime} + network {unique}, runtime {unique}, features {unique-runtime} + testnet-build: + needs: prepare-execution-marix + # The type of runner that the job will run on + runs-on: [self-hosted-ci,medium] + + timeout-minutes: 600 + + name: ${{ matrix.network }} + + continue-on-error: true #Do not stop testing of matrix runs failed. As it decided during PR review - it required 50/50& Let's check it with false. + + strategy: + matrix: + include: ${{fromJson(needs.prepare-execution-marix.outputs.matrix)}} + + steps: + - name: Skip if pull request is in Draft + if: github.event.pull_request.draft == true + run: exit 1 + + - name: Clean Workspace + uses: AutoModality/action-clean@v1.1.0 + + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} #Checking out head commit + + - name: Read .env file + uses: xom9ikk/dotenv@v2 + + - name: Generate ENV related extend file for docker-compose + uses: cuchi/jinja2-action@v1.2.0 + with: + template: .docker/Dockerfile-testnet.j2 + output_file: .docker/Dockerfile-testnet.${{ matrix.network }}.yml + variables: | + RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }} + NETWORK=${{ matrix.network }} + POLKADOT_BUILD_BRANCH=${{ env.POLKADOT_BUILD_BRANCH }} + POLKADOT_LAUNCH_BRANCH=${{ env.POLKADOT_LAUNCH_BRANCH }} + FEATURE=${{ matrix.features }} + RUNTIME=${{ matrix.runtime }} + BRANCH=${{ github.head_ref }} + - name: Show build configuration + run: cat .docker/Dockerfile-testnet.${{ matrix.network }}.yml + + - name: Show launch-config configuration + run: cat launch-config.json + + - name: Run find-and-replace to remove slashes from branch name + uses: mad9000/actions-find-and-replace-string@2 + id: branchname + with: + source: ${{ github.head_ref }} + find: '/' + replace: '-' + + - name: Log in to Docker Hub + uses: docker/login-action@v2.0.0 + with: + username: ${{ secrets.CORE_DOCKERHUB_USERNAME }} + password: ${{ secrets.CORE_DOCKERHUB_TOKEN }} + + - name: Pull polkadot docker image + run: docker pull uniquenetwork/builder-polkadot:${{ env.POLKADOT_BUILD_BRANCH }} + + - name: Build the stack + run: cd .docker/ && docker build --file ./Dockerfile-testnet.${{ matrix.network }}.yml --tag uniquenetwork/${{ matrix.network }}-testnet-local-nightly:nightly-${{ steps.branchname.outputs.value }}-${{ github.sha }} . + + - name: Push docker version image + run: docker push uniquenetwork/${{ matrix.network }}-testnet-local-nightly:nightly-${{ steps.branchname.outputs.value }}-${{ github.sha }} + + - name: Clean Workspace + if: always() + uses: AutoModality/action-clean@v1.1.0 + + - name: Remove builder cache + if: always() # run this step always + run: | + docker builder prune -f + docker system prune -f \ No newline at end of file diff --git a/.github/workflows/try-runtime_v2.yml b/.github/workflows/try-runtime_v2.yml new file mode 100644 index 0000000000..aed4b13fb0 --- /dev/null +++ b/.github/workflows/try-runtime_v2.yml @@ -0,0 +1,78 @@ +# Try-runtime checks +# https://cryptousetech.atlassian.net/wiki/spaces/CI/pages/2587656213/Try+runtime + +# Triger: only call from main workflow(re-usable workflows) +on: + workflow_call: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + try-runtime: + # The type of runner that the job will run on + runs-on: self-hosted-ci + + name: ${{ matrix.network }}-try-runtime + + continue-on-error: true #Do not stop testing of matrix runs failed. As it decided during PR review - it required 50/50& Let's check it with false. + + strategy: + matrix: + include: + - network: opal + features: opal-runtime + replica_from_address: wss://eu-ws-opal.unique.network:443 + - network: quartz + features: quartz-runtime + replica_from_address: wss://eu-ws-quartz.unique.network:443 + - network: unique + features: unique-runtime + replica_from_address: wss://eu-ws.unique.network:443 + + steps: + + - name: Clean Workspace + uses: AutoModality/action-clean@v1.1.0 + + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} #Checking out head commit + + - name: Read .env file + uses: xom9ikk/dotenv@v2 + + - name: Generate ENV related extend file for docker-compose + uses: cuchi/jinja2-action@v1.2.0 + with: + template: .docker/docker-compose.try-runtime.j2 + output_file: .docker/docker-compose.try-runtime.${{ matrix.network }}.yml + variables: | + RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }} + FEATURE=${{ matrix.features }} + REPLICA_FROM=${{ matrix.replica_from_address }} + - name: Show build configuration + run: cat .docker/docker-compose.try-runtime.${{ matrix.network }}.yml + + - name: Build the stack + run: docker-compose -f ".docker/docker-compose-try-runtime.yml" -f ".docker/docker-compose.try-runtime.${{ matrix.network }}.yml" up --build --force-recreate --timeout 300 --remove-orphans --exit-code-from try-runtime + + - name: Collect Docker Logs + if: success() || failure() + uses: jwalton/gh-docker-logs@v2.2.0 + with: + dest: './try-runtime-logs.${{ matrix.network }}' + images: 'try-runtime' + + - name: Show docker logs + run: cat './try-runtime-logs.${{ matrix.network }}/try-runtime.log' + + - name: Stop running containers + if: always() # run this step always + run: docker-compose -f ".docker/docker-compose-try-runtime.yml" -f ".docker/docker-compose.try-runtime.${{ matrix.network }}.yml" down + + - name: Remove builder cache + if: always() # run this step always + run: | + docker builder prune -f -a + docker system prune -f + docker image prune -f -a \ No newline at end of file From e5006d03749450b7f7ea5aa4d84d6ac35a699a95 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Tue, 1 Nov 2022 14:32:03 +0000 Subject: [PATCH 03/31] feat: maintenance pallet --- Cargo.lock | 358 +++++++++++++++++---------------- Cargo.toml | 344 +++++++++++++++---------------- node/cli/Cargo.toml | 6 +- pallets/maintenance/Cargo.toml | 33 +++ pallets/maintenance/src/lib.rs | 75 +++++++ runtime/common/Cargo.toml | 1 + runtime/opal/Cargo.toml | 6 + runtime/opal/src/lib.rs | 87 +++++++- runtime/quartz/Cargo.toml | 1 + runtime/unique/Cargo.toml | 1 + 10 files changed, 563 insertions(+), 349 deletions(-) create mode 100644 pallets/maintenance/Cargo.toml create mode 100644 pallets/maintenance/src/lib.rs diff --git a/Cargo.lock b/Cargo.lock index 62c2493f8d..b2f6ca4c49 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -420,7 +420,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "beefy-primitives", "fnv", @@ -454,7 +454,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -474,12 +474,12 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "parity-scale-codec 3.1.5", "scale-info", @@ -2682,7 +2682,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "parity-scale-codec 3.1.5", ] @@ -2776,7 +2776,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-support", "frame-system", @@ -2798,7 +2798,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "Inflector", "chrono", @@ -2848,7 +2848,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2859,7 +2859,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2875,7 +2875,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-support", "frame-system", @@ -2903,7 +2903,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "bitflags", "frame-metadata", @@ -2933,7 +2933,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -2945,7 +2945,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2957,7 +2957,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "proc-macro2", "quote", @@ -2967,7 +2967,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-support", "log", @@ -2984,7 +2984,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-benchmarking", "frame-support", @@ -2999,7 +2999,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "parity-scale-codec 3.1.5", "sp-api", @@ -3008,7 +3008,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-support", "sp-api", @@ -5316,6 +5316,7 @@ dependencies = [ "pallet-evm-transaction-payment", "pallet-fungible", "pallet-inflation", + "pallet-maintenance", "pallet-nonfungible", "pallet-randomness-collective-flip", "pallet-refungible", @@ -5449,7 +5450,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-support", "frame-system", @@ -5465,7 +5466,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-support", "frame-system", @@ -5481,7 +5482,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-support", "frame-system", @@ -5496,7 +5497,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-benchmarking", "frame-support", @@ -5520,7 +5521,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5540,7 +5541,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-benchmarking", "frame-support", @@ -5570,7 +5571,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "beefy-primitives", "frame-support", @@ -5586,7 +5587,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "beefy-merkle-tree", "beefy-primitives", @@ -5609,7 +5610,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-benchmarking", "frame-support", @@ -5687,7 +5688,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-benchmarking", "frame-support", @@ -5706,7 +5707,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-benchmarking", "frame-support", @@ -5744,7 +5745,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-benchmarking", "frame-support", @@ -5760,7 +5761,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5783,7 +5784,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5796,7 +5797,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-benchmarking", "frame-support", @@ -5966,7 +5967,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-benchmarking", "frame-support", @@ -5981,7 +5982,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-benchmarking", "frame-support", @@ -6004,7 +6005,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "enumflags2", "frame-benchmarking", @@ -6020,7 +6021,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-benchmarking", "frame-support", @@ -6040,7 +6041,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-benchmarking", "frame-support", @@ -6073,10 +6074,21 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-maintenance" +version = "0.1.0" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec 3.1.5", + "scale-info", +] + [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-benchmarking", "frame-support", @@ -6093,7 +6105,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -6111,7 +6123,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "jsonrpsee", "parity-scale-codec 3.1.5", @@ -6126,7 +6138,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-benchmarking", "frame-support", @@ -6141,7 +6153,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-support", "frame-system", @@ -6155,7 +6167,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-support", "frame-system", @@ -6171,7 +6183,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6212,7 +6224,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-support", "frame-system", @@ -6229,7 +6241,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6252,7 +6264,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-benchmarking", "frame-support", @@ -6268,7 +6280,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-benchmarking", "frame-support", @@ -6283,7 +6295,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-support", "frame-system", @@ -6297,7 +6309,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-benchmarking", "frame-support", @@ -6372,7 +6384,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-benchmarking", "frame-support", @@ -6388,7 +6400,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-support", "frame-system", @@ -6409,7 +6421,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-benchmarking", "frame-support", @@ -6425,7 +6437,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-support", "frame-system", @@ -6439,7 +6451,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6462,7 +6474,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -6473,7 +6485,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "log", "sp-arithmetic", @@ -6497,7 +6509,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-support", "frame-system", @@ -6531,7 +6543,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-benchmarking", "frame-support", @@ -6549,7 +6561,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-benchmarking", "frame-support", @@ -6568,7 +6580,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-support", "frame-system", @@ -6584,7 +6596,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -6599,7 +6611,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "pallet-transaction-payment", "parity-scale-codec 3.1.5", @@ -6610,7 +6622,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-benchmarking", "frame-support", @@ -6669,7 +6681,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-benchmarking", "frame-support", @@ -6685,7 +6697,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-benchmarking", "frame-support", @@ -8942,7 +8954,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "env_logger", "jsonrpsee", @@ -9321,7 +9333,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "log", "sp-core", @@ -9332,7 +9344,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "async-trait", "futures 0.3.21", @@ -9359,7 +9371,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "futures 0.3.21", "futures-timer", @@ -9382,7 +9394,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "parity-scale-codec 3.1.5", "sc-client-api", @@ -9398,7 +9410,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.5", @@ -9415,7 +9427,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9426,7 +9438,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "chrono", "clap", @@ -9465,7 +9477,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "fnv", "futures 0.3.21", @@ -9493,7 +9505,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "hash-db", "kvdb", @@ -9518,7 +9530,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "async-trait", "futures 0.3.21", @@ -9542,7 +9554,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "async-trait", "futures 0.3.21", @@ -9571,7 +9583,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "async-trait", "fork-tree", @@ -9614,7 +9626,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "futures 0.3.21", "jsonrpsee", @@ -9636,7 +9648,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "fork-tree", "parity-scale-codec 3.1.5", @@ -9649,7 +9661,7 @@ dependencies = [ [[package]] name = "sc-consensus-manual-seal" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "assert_matches", "async-trait", @@ -9683,7 +9695,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "async-trait", "futures 0.3.21", @@ -9708,7 +9720,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "sc-client-api", "sp-authorship", @@ -9719,7 +9731,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "lazy_static", "lru 0.7.8", @@ -9746,7 +9758,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "environmental", "parity-scale-codec 3.1.5", @@ -9763,7 +9775,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "log", "parity-scale-codec 3.1.5", @@ -9778,7 +9790,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "cfg-if 1.0.0", "libc", @@ -9796,7 +9808,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "ahash", "async-trait", @@ -9836,7 +9848,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "finality-grandpa", "futures 0.3.21", @@ -9857,7 +9869,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "ansi_term", "futures 0.3.21", @@ -9874,7 +9886,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "async-trait", "hex", @@ -9889,7 +9901,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "async-trait", "asynchronous-codec", @@ -9941,7 +9953,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "futures 0.3.21", "libp2p", @@ -9954,7 +9966,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "ahash", "futures 0.3.21", @@ -9971,7 +9983,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "futures 0.3.21", "libp2p", @@ -9991,7 +10003,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "bitflags", "either", @@ -10020,7 +10032,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "bytes 1.2.0", "fnv", @@ -10048,7 +10060,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "futures 0.3.21", "libp2p", @@ -10061,7 +10073,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -10070,7 +10082,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "futures 0.3.21", "hash-db", @@ -10100,7 +10112,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "futures 0.3.21", "jsonrpsee", @@ -10123,7 +10135,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "futures 0.3.21", "jsonrpsee", @@ -10136,7 +10148,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "async-trait", "directories", @@ -10201,7 +10213,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "log", "parity-scale-codec 3.1.5", @@ -10215,7 +10227,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "jsonrpsee", "parity-scale-codec 3.1.5", @@ -10234,7 +10246,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "futures 0.3.21", "libc", @@ -10253,7 +10265,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "chrono", "futures 0.3.21", @@ -10271,7 +10283,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "ansi_term", "atty", @@ -10302,7 +10314,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10313,7 +10325,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "futures 0.3.21", "futures-timer", @@ -10340,7 +10352,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "futures 0.3.21", "log", @@ -10353,7 +10365,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "futures 0.3.21", "futures-timer", @@ -10795,7 +10807,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "hash-db", "log", @@ -10812,7 +10824,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "blake2", "proc-macro-crate", @@ -10824,7 +10836,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "parity-scale-codec 3.1.5", "scale-info", @@ -10837,7 +10849,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "integer-sqrt", "num-traits", @@ -10852,7 +10864,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "parity-scale-codec 3.1.5", "scale-info", @@ -10865,7 +10877,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "async-trait", "parity-scale-codec 3.1.5", @@ -10877,7 +10889,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "parity-scale-codec 3.1.5", "sp-api", @@ -10889,7 +10901,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "futures 0.3.21", "log", @@ -10907,7 +10919,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "async-trait", "futures 0.3.21", @@ -10926,7 +10938,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "async-trait", "parity-scale-codec 3.1.5", @@ -10944,7 +10956,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "async-trait", "merlin", @@ -10967,7 +10979,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "parity-scale-codec 3.1.5", "scale-info", @@ -10981,7 +10993,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "parity-scale-codec 3.1.5", "scale-info", @@ -10994,7 +11006,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "base58", "bitflags", @@ -11040,7 +11052,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "blake2", "byteorder", @@ -11054,7 +11066,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "proc-macro2", "quote", @@ -11065,7 +11077,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -11074,7 +11086,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "proc-macro2", "quote", @@ -11084,7 +11096,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "environmental", "parity-scale-codec 3.1.5", @@ -11095,7 +11107,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "finality-grandpa", "log", @@ -11113,7 +11125,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -11127,7 +11139,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "futures 0.3.21", "hash-db", @@ -11152,7 +11164,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "lazy_static", "sp-core", @@ -11163,7 +11175,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "async-trait", "futures 0.3.21", @@ -11180,7 +11192,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "thiserror", "zstd", @@ -11189,7 +11201,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "log", "parity-scale-codec 3.1.5", @@ -11204,7 +11216,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "parity-scale-codec 3.1.5", "scale-info", @@ -11218,7 +11230,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "sp-api", "sp-core", @@ -11228,7 +11240,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "backtrace", "lazy_static", @@ -11238,7 +11250,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "rustc-hash", "serde", @@ -11248,7 +11260,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "either", "hash256-std-hasher", @@ -11270,7 +11282,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec 3.1.5", @@ -11287,7 +11299,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "Inflector", "proc-macro-crate", @@ -11299,7 +11311,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "log", "parity-scale-codec 3.1.5", @@ -11313,7 +11325,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "serde", "serde_json", @@ -11322,7 +11334,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "parity-scale-codec 3.1.5", "scale-info", @@ -11336,7 +11348,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "parity-scale-codec 3.1.5", "scale-info", @@ -11347,7 +11359,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "hash-db", "log", @@ -11369,12 +11381,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "impl-serde", "parity-scale-codec 3.1.5", @@ -11387,7 +11399,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "log", "sp-core", @@ -11400,7 +11412,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "async-trait", "futures-timer", @@ -11416,7 +11428,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "parity-scale-codec 3.1.5", "sp-std", @@ -11428,7 +11440,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "sp-api", "sp-runtime", @@ -11437,7 +11449,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "async-trait", "log", @@ -11453,7 +11465,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "hash-db", "memory-db", @@ -11469,7 +11481,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "impl-serde", "parity-scale-codec 3.1.5", @@ -11486,7 +11498,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "parity-scale-codec 3.1.5", "proc-macro2", @@ -11497,7 +11509,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "impl-trait-for-tuples", "log", @@ -11652,7 +11664,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "platforms", ] @@ -11660,7 +11672,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.21", @@ -11681,7 +11693,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "futures-util", "hyper", @@ -11694,7 +11706,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "jsonrpsee", "log", @@ -11715,7 +11727,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "async-trait", "futures 0.3.21", @@ -11741,7 +11753,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "futures 0.3.21", "substrate-test-utils-derive", @@ -11751,7 +11763,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11762,7 +11774,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "ansi_term", "build-helper", @@ -12197,10 +12209,8 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922" dependencies = [ - "ahash", "lazy_static", "log", - "lru 0.7.8", "tracing-core", ] @@ -12321,7 +12331,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" dependencies = [ "clap", "jsonrpsee", diff --git a/Cargo.toml b/Cargo.toml index 6a520f4b83..f4619ddb9a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,176 +21,176 @@ jsonrpsee-types = {git = "https://github.com/uniquenetwork/jsonrpsee", branch = jsonrpsee-core = {git = "https://github.com/uniquenetwork/jsonrpsee", branch = "unique-v0.13.1-fix-unknown-fields"} [patch."https://github.com/paritytech/substrate"] -beefy-gadget = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -beefy-gadget-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -beefy-merkle-tree = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -beefy-primitives = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -fork-tree = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -frame-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -frame-benchmarking-cli = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -frame-election-provider-solution-type = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -frame-election-provider-support = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -frame-executive = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -frame-support = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -frame-support-procedural = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -frame-support-procedural-tools = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -frame-support-procedural-tools-derive = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -frame-system = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -frame-system-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -frame-system-rpc-runtime-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -frame-try-runtime = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-aura = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-authority-discovery = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-authorship = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-babe = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-bags-list = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-balances = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-beefy = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-beefy-mmr = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-bounties = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-child-bounties = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-collective = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-democracy = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-election-provider-multi-phase = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-election-provider-support-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-elections-phragmen = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-gilt = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-grandpa = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-identity = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-im-online = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-indices = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-membership = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-mmr = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-mmr-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-multisig = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-nicks = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-nomination-pools = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-nomination-pools-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-offences = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-offences-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-preimage = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-proxy = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-randomness-collective-flip = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-recovery = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-scheduler = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-session = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-session-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-society = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-staking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-staking-reward-curve = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-staking-reward-fn = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-sudo = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-timestamp = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-tips = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-transaction-payment = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-transaction-payment-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-transaction-payment-rpc-runtime-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-treasury = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-utility = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -pallet-vesting = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -remote-externalities = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-allocator = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-authority-discovery = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-basic-authorship = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-block-builder = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-chain-spec = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-chain-spec-derive = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-cli = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-client-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-client-db = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-consensus = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-consensus-aura = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-consensus-babe = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-consensus-babe-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-consensus-epochs = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-consensus-manual-seal = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-consensus-slots = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-consensus-uncles = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-executor = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-executor-common = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-executor-wasmi = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-executor-wasmtime = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-finality-grandpa = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-finality-grandpa-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-informant = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-keystore = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-network = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-network-common = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-network-gossip = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-network-light = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-network-sync = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-offchain = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-peerset = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-proposer-metrics = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-rpc-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-rpc-server = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-service = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-state-db = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-sync-state-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-sysinfo = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-telemetry = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-tracing = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-tracing-proc-macro = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-transaction-pool = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-transaction-pool-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sc-utils = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-api-proc-macro = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-application-crypto = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-arithmetic = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-authority-discovery = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-authorship = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-block-builder = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-blockchain = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-consensus = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-consensus-aura = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-consensus-babe = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-consensus-slots = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-consensus-vrf = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-core = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-core-hashing = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-core-hashing-proc-macro = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-database = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-debug-derive = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-externalities = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-finality-grandpa = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-inherents = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-io = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-keyring = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-keystore = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-maybe-compressed-blob = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-mmr-primitives = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-npos-elections = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-offchain = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-panic-handler = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-runtime = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-runtime-interface = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-runtime-interface-proc-macro = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-sandbox = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-serializer = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-session = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-staking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-state-machine = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-std = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-storage = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-tasks = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-timestamp = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-tracing = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-transaction-pool = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-transaction-storage-proof = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-trie = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-version = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-version-proc-macro = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -sp-wasm-interface = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -substrate-build-script-utils = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -substrate-frame-rpc-system = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -substrate-prometheus-endpoint = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -substrate-state-trie-migration-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -substrate-test-client = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -substrate-test-utils = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -substrate-test-utils-derive = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -substrate-wasm-builder = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} -try-runtime-cli = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +beefy-gadget = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +beefy-gadget-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +beefy-merkle-tree = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +beefy-primitives = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +fork-tree = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +frame-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +frame-benchmarking-cli = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +frame-election-provider-solution-type = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +frame-election-provider-support = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +frame-executive = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +frame-support = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +frame-support-procedural = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +frame-support-procedural-tools = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +frame-support-procedural-tools-derive = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +frame-system = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +frame-system-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +frame-system-rpc-runtime-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +frame-try-runtime = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-aura = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-authority-discovery = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-authorship = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-babe = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-bags-list = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-balances = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-beefy = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-beefy-mmr = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-bounties = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-child-bounties = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-collective = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-democracy = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-election-provider-multi-phase = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-election-provider-support-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-elections-phragmen = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-gilt = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-grandpa = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-identity = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-im-online = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-indices = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-membership = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-mmr = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-mmr-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-multisig = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-nicks = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-nomination-pools = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-nomination-pools-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-offences = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-offences-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-preimage = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-proxy = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-randomness-collective-flip = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-recovery = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-scheduler = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-session = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-session-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-society = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-staking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-staking-reward-curve = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-staking-reward-fn = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-sudo = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-timestamp = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-tips = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-transaction-payment = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-transaction-payment-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-transaction-payment-rpc-runtime-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-treasury = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-utility = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +pallet-vesting = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +remote-externalities = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-allocator = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-authority-discovery = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-basic-authorship = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-block-builder = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-chain-spec = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-chain-spec-derive = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-cli = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-client-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-client-db = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-consensus = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-consensus-aura = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-consensus-babe = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-consensus-babe-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-consensus-epochs = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-consensus-manual-seal = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-consensus-slots = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-consensus-uncles = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-executor = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-executor-common = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-executor-wasmi = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-executor-wasmtime = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-finality-grandpa = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-finality-grandpa-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-informant = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-keystore = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-network = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-network-common = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-network-gossip = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-network-light = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-network-sync = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-offchain = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-peerset = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-proposer-metrics = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-rpc-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-rpc-server = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-service = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-state-db = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-sync-state-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-sysinfo = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-telemetry = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-tracing = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-tracing-proc-macro = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-transaction-pool = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-transaction-pool-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sc-utils = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-api-proc-macro = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-application-crypto = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-arithmetic = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-authority-discovery = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-authorship = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-block-builder = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-blockchain = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-consensus = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-consensus-aura = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-consensus-babe = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-consensus-slots = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-consensus-vrf = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-core = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-core-hashing = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-core-hashing-proc-macro = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-database = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-debug-derive = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-externalities = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-finality-grandpa = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-inherents = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-io = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-keyring = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-keystore = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-maybe-compressed-blob = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-mmr-primitives = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-npos-elections = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-offchain = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-panic-handler = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-runtime = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-runtime-interface = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-runtime-interface-proc-macro = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-sandbox = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-serializer = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-session = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-staking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-state-machine = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-std = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-storage = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-tasks = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-timestamp = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-tracing = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-transaction-pool = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-transaction-storage-proof = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-trie = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-version = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-version-proc-macro = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +sp-wasm-interface = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +substrate-build-script-utils = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +substrate-frame-rpc-system = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +substrate-prometheus-endpoint = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +substrate-state-trie-migration-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +substrate-test-client = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +substrate-test-utils = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +substrate-test-utils-derive = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +substrate-wasm-builder = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +try-runtime-cli = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} diff --git a/node/cli/Cargo.toml b/node/cli/Cargo.toml index 5ce0c10616..8572c20bb2 100644 --- a/node/cli/Cargo.toml +++ b/node/cli/Cargo.toml @@ -328,4 +328,8 @@ runtime-benchmarks = [ 'opal-runtime/runtime-benchmarks', 'polkadot-service/runtime-benchmarks', ] -try-runtime = [] +try-runtime = [ + 'unique-runtime?/try-runtime', + 'quartz-runtime?/try-runtime', + 'opal-runtime/try-runtime', +] diff --git a/pallets/maintenance/Cargo.toml b/pallets/maintenance/Cargo.toml new file mode 100644 index 0000000000..6cf1c222a8 --- /dev/null +++ b/pallets/maintenance/Cargo.toml @@ -0,0 +1,33 @@ +[package] +name = "pallet-maintenance" +version = "0.1.0" +authors = ["Unique Network "] +edition = "2021" +license = "GPLv3" +homepage = "https://unique.network" +repository = "https://github.com/UniqueNetwork/unique-chain" +description = "Unique Maintenance pallet" +readme = "README.md" + +[dependencies] +codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } +scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24" } +frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24" } +frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24" } + +[features] +default = ["std"] +std = [ + "codec/std", + "scale-info/std", + "frame-support/std", + "frame-system/std", + "frame-benchmarking/std", +] +runtime-benchmarks = [ + "frame-benchmarking", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", +] +try-runtime = ["frame-support/try-runtime"] diff --git a/pallets/maintenance/src/lib.rs b/pallets/maintenance/src/lib.rs new file mode 100644 index 0000000000..c1f9b872fa --- /dev/null +++ b/pallets/maintenance/src/lib.rs @@ -0,0 +1,75 @@ +// Copyright 2019-2022 Unique Network (Gibraltar) Ltd. +// This file is part of Unique Network. + +// Unique Network is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Unique Network is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Unique Network. If not, see . + +#![cfg_attr(not(feature = "std"), no_std)] + +pub use pallet::*; +use frame_support::pallet_prelude::*; +use frame_system::pallet_prelude::*; + +#[frame_support::pallet] +pub mod pallet { + use frame_support::pallet_prelude::*; + use frame_system::pallet_prelude::*; + + #[pallet::config] + pub trait Config: frame_system::Config { + type Event: From> + IsType<::Event>; + } + + #[pallet::event] + #[pallet::generate_deposit(pub(super) fn deposit_event)] + pub enum Event { + MaintenanceEnabled, + MaintenanceDisabled, + } + + #[pallet::pallet] + #[pallet::generate_store(pub(super) trait Store)] + pub struct Pallet(_); + + #[pallet::storage] + #[pallet::getter(fn is_enabled)] + pub type Enabled = StorageValue<_, bool, ValueQuery>; + + #[pallet::error] + pub enum Error {} + + #[pallet::call] + impl Pallet { + #[pallet::weight(10_000)] + pub fn enable(origin: OriginFor) -> DispatchResult { + ensure_root(origin)?; + + >::set(true); + + Self::deposit_event(Event::MaintenanceEnabled); + + Ok(()) + } + + #[pallet::weight(10_000)] + pub fn disable(origin: OriginFor) -> DispatchResult { + ensure_root(origin)?; + + >::set(false); + + Self::deposit_event(Event::MaintenanceDisabled); + + Ok(()) + } + } +} diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index 2992413835..5e117c5386 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -32,6 +32,7 @@ runtime-benchmarks = [ 'frame-support/runtime-benchmarks', 'frame-system/runtime-benchmarks', ] +try-runtime = [] [dependencies.sp-core] default-features = false diff --git a/runtime/opal/Cargo.toml b/runtime/opal/Cargo.toml index 678dfc3d61..33ddd8af26 100644 --- a/runtime/opal/Cargo.toml +++ b/runtime/opal/Cargo.toml @@ -41,11 +41,14 @@ runtime-benchmarks = [ 'pallet-xcm/runtime-benchmarks', 'sp-runtime/runtime-benchmarks', 'xcm-builder/runtime-benchmarks', + 'pallet-maintenance/runtime-benchmarks', ] try-runtime = [ 'frame-try-runtime', 'frame-executive/try-runtime', 'frame-system/try-runtime', + 'unique-runtime-common/try-runtime', + 'pallet-maintenance/try-runtime', ] std = [ 'codec/std', @@ -117,6 +120,8 @@ std = [ 'rmrk-rpc/std', "orml-vesting/std", + + 'pallet-maintenance/std', ] limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing'] @@ -426,6 +431,7 @@ pallet-ethereum = { default-features = false, git = "https://github.com/uniquene pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.24" } fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.24" } fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.24" } +pallet-maintenance = { default-features = false, path = "../../pallets/maintenance" } ################################################################################ # Build Dependencies diff --git a/runtime/opal/src/lib.rs b/runtime/opal/src/lib.rs index d055325a7f..b0fb827a5b 100644 --- a/runtime/opal/src/lib.rs +++ b/runtime/opal/src/lib.rs @@ -25,6 +25,7 @@ #[cfg(feature = "std")] include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs")); +use scale_info::TypeInfo; use sp_api::impl_runtime_apis; use sp_core::{crypto::KeyTypeId, OpaqueMetadata, H256, U256, H160}; use sp_runtime::DispatchError; @@ -34,8 +35,13 @@ use fp_self_contained::*; use sp_runtime::{ Permill, Perbill, Percent, create_runtime_str, generic, impl_opaque_keys, - traits::{AccountIdLookup, BlakeTwo256, Block as BlockT, AccountIdConversion, Zero, Member}, - transaction_validity::{TransactionSource, TransactionValidity}, + traits::{ + AccountIdLookup, BlakeTwo256, Block as BlockT, AccountIdConversion, Zero, Member, + SignedExtension, + }, + transaction_validity::{ + TransactionSource, TransactionValidity, ValidTransaction, InvalidTransaction, + }, ApplyExtrinsicResult, RuntimeAppPublic, }; @@ -958,6 +964,7 @@ fn get_signed_extras(from: ::AccountId) -> Sign from, )), frame_system::CheckWeight::::new(), + CheckMaintenance, // sponsoring transaction logic // pallet_charge_transaction::ChargeTransactionPayment::::new(0), ) @@ -1121,6 +1128,78 @@ impl pallet_evm_contract_helpers::Config for Runtime { type DefaultSponsoringRateLimit = DefaultSponsoringRateLimit; } +impl pallet_maintenance::Config for Runtime { + type Event = Event; +} + +#[derive(Debug, Encode, Decode, PartialEq, Eq, Clone, TypeInfo)] +pub struct CheckMaintenance; + +impl SignedExtension for CheckMaintenance { + type AccountId = AccountId; + type Call = Call; + type AdditionalSigned = (); + type Pre = (); + + const IDENTIFIER: &'static str = "CheckMaintenance"; + + fn additional_signed(&self) -> Result { + Ok(()) + } + + fn pre_dispatch( + self, + who: &Self::AccountId, + call: &Self::Call, + info: &DispatchInfoOf, + len: usize, + ) -> Result { + self.validate(who, call, info, len).map(|_| ()) + } + + fn validate( + &self, + _who: &Self::AccountId, + call: &Self::Call, + _info: &DispatchInfoOf, + _len: usize, + ) -> TransactionValidity { + if Maintenance::is_enabled() { + match call { + Call::Sudo(_) => Ok(ValidTransaction::default()), + _ => Err(TransactionValidityError::Invalid(InvalidTransaction::Call)), + } + } else { + Ok(ValidTransaction::default()) + } + } + + fn pre_dispatch_unsigned( + call: &Self::Call, + info: &DispatchInfoOf, + len: usize, + ) -> Result<(), TransactionValidityError> { + Self::validate_unsigned(call, info, len).map(|_| ()) + } + + fn validate_unsigned( + call: &Self::Call, + _info: &DispatchInfoOf, + _len: usize, + ) -> TransactionValidity { + if Maintenance::is_enabled() { + match call { + Call::EVM(_) | Call::Ethereum(_) | Call::EvmMigration(_) => { + Err(TransactionValidityError::Invalid(InvalidTransaction::Call)) + } + _ => Ok(ValidTransaction::default()), + } + } else { + Ok(ValidTransaction::default()) + } + } +} + construct_runtime!( pub enum Runtime where Block = Block, @@ -1173,6 +1252,8 @@ construct_runtime!( EvmContractHelpers: pallet_evm_contract_helpers::{Pallet, Storage} = 151, EvmTransactionPayment: pallet_evm_transaction_payment::{Pallet} = 152, EvmMigration: pallet_evm_migration::{Pallet, Call, Storage} = 153, + + Maintenance: pallet_maintenance::{Pallet, Call, Storage, Event} = 154, } ); @@ -1218,6 +1299,7 @@ pub type SignedExtra = ( frame_system::CheckEra, frame_system::CheckNonce, frame_system::CheckWeight, + CheckMaintenance, ChargeTransactionPayment, //pallet_contract_helpers::ContractHelpersExtension, pallet_ethereum::FakeTransactionFinalizer, @@ -1228,6 +1310,7 @@ pub type SignedExtraScheduler = ( frame_system::CheckEra, frame_system::CheckNonce, frame_system::CheckWeight, + CheckMaintenance, ); /// Unchecked extrinsic type as expected by this runtime. pub type UncheckedExtrinsic = diff --git a/runtime/quartz/Cargo.toml b/runtime/quartz/Cargo.toml index 4c9425a5bd..885a22d2fb 100644 --- a/runtime/quartz/Cargo.toml +++ b/runtime/quartz/Cargo.toml @@ -46,6 +46,7 @@ try-runtime = [ 'frame-try-runtime', 'frame-executive/try-runtime', 'frame-system/try-runtime', + 'unique-runtime-common/try-runtime', ] std = [ 'codec/std', diff --git a/runtime/unique/Cargo.toml b/runtime/unique/Cargo.toml index 631a1a120b..ae00be6787 100644 --- a/runtime/unique/Cargo.toml +++ b/runtime/unique/Cargo.toml @@ -47,6 +47,7 @@ try-runtime = [ 'frame-try-runtime', 'frame-executive/try-runtime', 'frame-system/try-runtime', + 'unique-runtime-common/try-runtime', ] std = [ 'codec/std', From 1a968e41b1e5dbaa04605ac00cec355689f9bc60 Mon Sep 17 00:00:00 2001 From: Fahrrader Date: Tue, 1 Nov 2022 15:25:18 +0000 Subject: [PATCH 04/31] ci: add missing launch config --- .docker/testnet-config/launch-config.json | 121 ++++++++++++++++++++++ .env | 5 +- 2 files changed, 124 insertions(+), 2 deletions(-) create mode 100644 .docker/testnet-config/launch-config.json diff --git a/.docker/testnet-config/launch-config.json b/.docker/testnet-config/launch-config.json new file mode 100644 index 0000000000..7e8fa5b30e --- /dev/null +++ b/.docker/testnet-config/launch-config.json @@ -0,0 +1,121 @@ +{ + "relaychain": { + "bin": "/polkadot/target/release/polkadot", + "chain": "rococo-local", + "nodes": [ + { + "name": "alice", + "wsPort": 9844, + "rpcPort": 9843, + "port": 30444, + "flags": [ + "-lparachain::candidate_validation=debug", + "-lxcm=trace", + "--rpc-cors=all", + "--unsafe-rpc-external", + "--unsafe-ws-external" + ] + }, + { + "name": "bob", + "wsPort": 9855, + "rpcPort": 9854, + "port": 30555, + "flags": [ + "-lparachain::candidate_validation=debug", + "-lxcm=trace", + "--rpc-cors=all", + "--unsafe-rpc-external", + "--unsafe-ws-external" + ] + }, + { + "name": "charlie", + "wsPort": 9866, + "rpcPort": 9865, + "port": 30666, + "flags": [ + "-lparachain::candidate_validation=debug", + "-lxcm=trace", + "--rpc-cors=all", + "--unsafe-rpc-external", + "--unsafe-ws-external" + ] + }, + { + "name": "dave", + "wsPort": 9877, + "rpcPort": 9876, + "port": 30777, + "flags": [ + "-lparachain::candidate_validation=debug", + "-lxcm=trace", + "--rpc-cors=all", + "--unsafe-rpc-external", + "--unsafe-ws-external" + ] + }, + { + "name": "eve", + "wsPort": 9888, + "rpcPort": 9887, + "port": 30888, + "flags": [ + "-lparachain::candidate_validation=debug", + "-lxcm=trace", + "--rpc-cors=all", + "--unsafe-rpc-external", + "--unsafe-ws-external" + ] + } + ], + "genesis": { + "runtime": { + "runtime_genesis_config": { + "parachainsConfiguration": { + "config": { + "validation_upgrade_frequency": 1, + "validation_upgrade_delay": 1 + } + } + } + } + } + }, + "parachains": [ + { + "bin": "/unique-chain/target/release/unique-collator", + "id": "1000", + "balance": "1000000000000000000000000", + "nodes": [ + { + "port": 31200, + "wsPort": 9944, + "rpcPort": 9933, + "name": "alice", + "flags": [ + "--rpc-cors=all", + "--unsafe-rpc-external", + "--unsafe-ws-external", + "-lxcm=trace" + ] + }, + { + "port": 31201, + "wsPort": 9945, + "rpcPort": 9934, + "name": "bob", + "flags": [ + "--rpc-cors=all", + "--unsafe-rpc-external", + "--unsafe-ws-external", + "-lxcm=trace" + ] + } + ] + } + ], + "simpleParachains": [], + "hrmpChannels": [], + "finalization": false +} \ No newline at end of file diff --git a/.env b/.env index 2a1cff73d8..276c2bec40 100644 --- a/.env +++ b/.env @@ -1,14 +1,15 @@ RUST_TOOLCHAIN=nightly-2022-05-11 RUST_C=1.62.0-nightly +# old POLKA_VERSION=release-v0.9.24 UNIQUE_BRANCH=develop USER=*** PASS=*** POLKADOT_BUILD_BRANCH=release-v0.9.30 -POLKADOT_MAINNET_BRANCH=release-v0.9.29 +POLKADOT_MAINNET_BRANCH=release-v0.9.29 # unused within the current forkless setup -UNIQUE_MAINNET_TAG=v924010-old-tests-fixes +UNIQUE_MAINNET_TAG=quartz-v924012-2-old-tests-fixes UNIQUE_REPLICA_FROM=wss://eu-ws.unique.network:443 QUARTZ_MAINNET_TAG=quartz-v924012-2-old-tests-fixes From 30a478e677359b93fca1eea007967bbe3b8cfb15 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Mon, 3 Oct 2022 12:25:19 +0000 Subject: [PATCH 05/31] fix: add opal-runtime feature --- runtime/opal/Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/opal/Cargo.toml b/runtime/opal/Cargo.toml index 33ddd8af26..790a695147 100644 --- a/runtime/opal/Cargo.toml +++ b/runtime/opal/Cargo.toml @@ -124,6 +124,7 @@ std = [ 'pallet-maintenance/std', ] limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing'] +opal-runtime = [] ################################################################################ # Substrate Dependencies From de2e248810db8a4bc3c210338000cdf5ebc440a9 Mon Sep 17 00:00:00 2001 From: Fahrrader Date: Tue, 1 Nov 2022 17:17:56 +0000 Subject: [PATCH 06/31] test(maintenance): test enable, disable, substrate and ethereum should fail in the meantime --- tests/package.json | 1 + tests/src/interfaces/augment-api-consts.ts | 10 +- tests/src/interfaces/augment-api-errors.ts | 16 +- tests/src/interfaces/augment-api-events.ts | 136 ++-- tests/src/interfaces/augment-api-query.ts | 18 +- tests/src/interfaces/augment-api-rpc.ts | 35 +- tests/src/interfaces/augment-api-runtime.ts | 248 +++++++ tests/src/interfaces/augment-api-tx.ts | 38 +- tests/src/interfaces/augment-api.ts | 1 + tests/src/interfaces/augment-types.ts | 105 ++- tests/src/interfaces/default/types.ts | 20 + tests/src/interfaces/lookup.ts | 260 +++---- tests/src/interfaces/registry.ts | 12 +- tests/src/interfaces/types-lookup.ts | 750 ++++++++++---------- tests/src/maintenanceMode.test.ts | 154 ++++ 15 files changed, 1219 insertions(+), 585 deletions(-) create mode 100644 tests/src/interfaces/augment-api-runtime.ts create mode 100644 tests/src/maintenanceMode.test.ts diff --git a/tests/package.json b/tests/package.json index 804105848d..a8bb72be05 100644 --- a/tests/package.json +++ b/tests/package.json @@ -74,6 +74,7 @@ "testScheduler": "mocha --timeout 9999999 -r ts-node/register ./**/scheduler.test.ts", "testSchedulingEVM": "mocha --timeout 9999999 -r ts-node/register ./**/eth/scheduling.test.ts", "testXcmTransfer": "mocha --timeout 9999999 -r ts-node/register ./**/xcmTransfer.test.ts", + "testMaintenance": "mocha --timeout 9999999 -r ts-node/register ./**/maintenanceMode.test.ts", "testPalletPresence": "mocha --timeout 9999999 -r ts-node/register ./**/pallet-presence.test.ts", "testBlockProduction": "mocha --timeout 9999999 -r ts-node/register ./**/block-production.test.ts", "testEnableDisableTransfers": "mocha --timeout 9999999 -r ts-node/register ./**/enableDisableTransfer.test.ts", diff --git a/tests/src/interfaces/augment-api-consts.ts b/tests/src/interfaces/augment-api-consts.ts index 902377851a..0d5781763b 100644 --- a/tests/src/interfaces/augment-api-consts.ts +++ b/tests/src/interfaces/augment-api-consts.ts @@ -1,14 +1,20 @@ // Auto-generated via `yarn polkadot-types-from-chain`, do not edit /* eslint-disable */ -import type { ApiTypes } from '@polkadot/api-base/types'; +// import type lookup before we augment - in some environments +// this is required to allow for ambient/previous definitions +import '@polkadot/api-base/types/consts'; + +import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types'; import type { Option, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { Codec } from '@polkadot/types-codec/types'; import type { Permill } from '@polkadot/types/interfaces/runtime'; import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion } from '@polkadot/types/lookup'; +export type __AugmentedConst = AugmentedConst; + declare module '@polkadot/api-base/types/consts' { - export interface AugmentedConsts { + interface AugmentedConsts { balances: { /** * The minimum amount required to keep an account open. diff --git a/tests/src/interfaces/augment-api-errors.ts b/tests/src/interfaces/augment-api-errors.ts index 19a06cea37..d62848148a 100644 --- a/tests/src/interfaces/augment-api-errors.ts +++ b/tests/src/interfaces/augment-api-errors.ts @@ -1,10 +1,16 @@ // Auto-generated via `yarn polkadot-types-from-chain`, do not edit /* eslint-disable */ -import type { ApiTypes } from '@polkadot/api-base/types'; +// import type lookup before we augment - in some environments +// this is required to allow for ambient/previous definitions +import '@polkadot/api-base/types/errors'; + +import type { ApiTypes, AugmentedError } from '@polkadot/api-base/types'; + +export type __AugmentedError = AugmentedError; declare module '@polkadot/api-base/types/errors' { - export interface AugmentedErrors { + interface AugmentedErrors { balances: { /** * Beneficiary account must pre-exist @@ -301,6 +307,12 @@ declare module '@polkadot/api-base/types/errors' { **/ [key: string]: AugmentedError; }; + maintenance: { + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; nonfungible: { /** * Unable to burn NFT with children diff --git a/tests/src/interfaces/augment-api-events.ts b/tests/src/interfaces/augment-api-events.ts index 6698d664fd..ffe9b48d8a 100644 --- a/tests/src/interfaces/augment-api-events.ts +++ b/tests/src/interfaces/augment-api-events.ts @@ -1,57 +1,63 @@ // Auto-generated via `yarn polkadot-types-from-chain`, do not edit /* eslint-disable */ -import type { ApiTypes } from '@polkadot/api-base/types'; +// import type lookup before we augment - in some environments +// this is required to allow for ambient/previous definitions +import '@polkadot/api-base/types/events'; + +import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types'; import type { Bytes, Null, Option, Result, U256, U8aFixed, bool, u128, u32, u64, u8 } from '@polkadot/types-codec'; import type { ITuple } from '@polkadot/types-codec/types'; import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime'; import type { EthereumLog, EvmCoreErrorExitReason, FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, RmrkTraitsNftAccountIdOrCollectionNftTuple, SpRuntimeDispatchError, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup'; +export type __AugmentedEvent = AugmentedEvent; + declare module '@polkadot/api-base/types/events' { - export interface AugmentedEvents { + interface AugmentedEvents { balances: { /** * A balance was set by root. **/ - BalanceSet: AugmentedEvent; + BalanceSet: AugmentedEvent; /** * Some amount was deposited (e.g. for transaction fees). **/ - Deposit: AugmentedEvent; + Deposit: AugmentedEvent; /** * An account was removed whose balance was non-zero but below ExistentialDeposit, * resulting in an outright loss. **/ - DustLost: AugmentedEvent; + DustLost: AugmentedEvent; /** * An account was created with some free balance. **/ - Endowed: AugmentedEvent; + Endowed: AugmentedEvent; /** * Some balance was reserved (moved from free to reserved). **/ - Reserved: AugmentedEvent; + Reserved: AugmentedEvent; /** * Some balance was moved from the reserve of the first account to the second account. * Final argument indicates the destination balance type. **/ - ReserveRepatriated: AugmentedEvent; + ReserveRepatriated: AugmentedEvent; /** * Some amount was removed from the account (e.g. for misbehavior). **/ - Slashed: AugmentedEvent; + Slashed: AugmentedEvent; /** * Transfer succeeded. **/ - Transfer: AugmentedEvent; + Transfer: AugmentedEvent; /** * Some balance was unreserved (moved from reserved to free). **/ - Unreserved: AugmentedEvent; + Unreserved: AugmentedEvent; /** * Some amount was withdrawn from the account (e.g. for transaction fees). **/ - Withdraw: AugmentedEvent; + Withdraw: AugmentedEvent; /** * Generic event **/ @@ -167,27 +173,27 @@ declare module '@polkadot/api-base/types/events' { /** * Downward message executed with the given outcome. **/ - ExecutedDownward: AugmentedEvent; + ExecutedDownward: AugmentedEvent; /** * Downward message is invalid XCM. **/ - InvalidFormat: AugmentedEvent; + InvalidFormat: AugmentedEvent; /** * Downward message is overweight and was placed in the overweight queue. **/ - OverweightEnqueued: AugmentedEvent; + OverweightEnqueued: AugmentedEvent; /** * Downward message from the overweight queue was executed. **/ - OverweightServiced: AugmentedEvent; + OverweightServiced: AugmentedEvent; /** * Downward message is unsupported version of XCM. **/ - UnsupportedVersion: AugmentedEvent; + UnsupportedVersion: AugmentedEvent; /** * The weight limit for handling downward messages was reached. **/ - WeightExhausted: AugmentedEvent; + WeightExhausted: AugmentedEvent; /** * Generic event **/ @@ -237,23 +243,31 @@ declare module '@polkadot/api-base/types/events' { **/ [key: string]: AugmentedEvent; }; + maintenance: { + MaintenanceDisabled: AugmentedEvent; + MaintenanceEnabled: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; parachainSystem: { /** * Downward messages were processed using the given weight. **/ - DownwardMessagesProcessed: AugmentedEvent; + DownwardMessagesProcessed: AugmentedEvent; /** * Some downward messages have been received and will be processed. **/ - DownwardMessagesReceived: AugmentedEvent; + DownwardMessagesReceived: AugmentedEvent; /** * An upgrade has been authorized. **/ - UpgradeAuthorized: AugmentedEvent; + UpgradeAuthorized: AugmentedEvent; /** * The validation function was applied as of the contained relay chain block number. **/ - ValidationFunctionApplied: AugmentedEvent; + ValidationFunctionApplied: AugmentedEvent; /** * The relay-chain aborted the upgrade process. **/ @@ -390,29 +404,29 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; rmrkCore: { - CollectionCreated: AugmentedEvent; - CollectionDestroyed: AugmentedEvent; - CollectionLocked: AugmentedEvent; - IssuerChanged: AugmentedEvent; - NFTAccepted: AugmentedEvent; - NFTBurned: AugmentedEvent; - NftMinted: AugmentedEvent; - NFTRejected: AugmentedEvent; - NFTSent: AugmentedEvent; - PrioritySet: AugmentedEvent; - PropertySet: AugmentedEvent, Bytes, Bytes]>; - ResourceAccepted: AugmentedEvent; - ResourceAdded: AugmentedEvent; - ResourceRemoval: AugmentedEvent; - ResourceRemovalAccepted: AugmentedEvent; + CollectionCreated: AugmentedEvent; + CollectionDestroyed: AugmentedEvent; + CollectionLocked: AugmentedEvent; + IssuerChanged: AugmentedEvent; + NFTAccepted: AugmentedEvent; + NFTBurned: AugmentedEvent; + NftMinted: AugmentedEvent; + NFTRejected: AugmentedEvent; + NFTSent: AugmentedEvent; + PrioritySet: AugmentedEvent; + PropertySet: AugmentedEvent, key: Bytes, value: Bytes], { collectionId: u32, maybeNftId: Option, key: Bytes, value: Bytes }>; + ResourceAccepted: AugmentedEvent; + ResourceAdded: AugmentedEvent; + ResourceRemoval: AugmentedEvent; + ResourceRemovalAccepted: AugmentedEvent; /** * Generic event **/ [key: string]: AugmentedEvent; }; rmrkEquip: { - BaseCreated: AugmentedEvent; - EquippablesUpdated: AugmentedEvent; + BaseCreated: AugmentedEvent; + EquippablesUpdated: AugmentedEvent; /** * Generic event **/ @@ -422,19 +436,19 @@ declare module '@polkadot/api-base/types/events' { /** * The call for the provided hash was not found so the task has been aborted. **/ - CallLookupFailed: AugmentedEvent, Option, FrameSupportScheduleLookupError]>; + CallLookupFailed: AugmentedEvent, id: Option, error: FrameSupportScheduleLookupError], { task: ITuple<[u32, u32]>, id: Option, error: FrameSupportScheduleLookupError }>; /** * Canceled some task. **/ - Canceled: AugmentedEvent; + Canceled: AugmentedEvent; /** * Dispatched some task. **/ - Dispatched: AugmentedEvent, Option, Result]>; + Dispatched: AugmentedEvent, id: Option, result: Result], { task: ITuple<[u32, u32]>, id: Option, result: Result }>; /** * Scheduled some task. **/ - Scheduled: AugmentedEvent; + Scheduled: AugmentedEvent; /** * Generic event **/ @@ -454,15 +468,15 @@ declare module '@polkadot/api-base/types/events' { /** * The \[sudoer\] just switched identity; the old key is supplied if one existed. **/ - KeyChanged: AugmentedEvent]>; + KeyChanged: AugmentedEvent], { oldSudoer: Option }>; /** * A sudo just took place. \[result\] **/ - Sudid: AugmentedEvent]>; + Sudid: AugmentedEvent], { sudoResult: Result }>; /** * A sudo just took place. \[result\] **/ - SudoAsDone: AugmentedEvent]>; + SudoAsDone: AugmentedEvent], { sudoResult: Result }>; /** * Generic event **/ @@ -476,23 +490,23 @@ declare module '@polkadot/api-base/types/events' { /** * An extrinsic failed. **/ - ExtrinsicFailed: AugmentedEvent; + ExtrinsicFailed: AugmentedEvent; /** * An extrinsic completed successfully. **/ - ExtrinsicSuccess: AugmentedEvent; + ExtrinsicSuccess: AugmentedEvent; /** * An account was reaped. **/ - KilledAccount: AugmentedEvent; + KilledAccount: AugmentedEvent; /** * A new account was created. **/ - NewAccount: AugmentedEvent; + NewAccount: AugmentedEvent; /** * On on-chain remark happened. **/ - Remarked: AugmentedEvent; + Remarked: AugmentedEvent; /** * Generic event **/ @@ -502,31 +516,31 @@ declare module '@polkadot/api-base/types/events' { /** * Some funds have been allocated. **/ - Awarded: AugmentedEvent; + Awarded: AugmentedEvent; /** * Some of our funds have been burnt. **/ - Burnt: AugmentedEvent; + Burnt: AugmentedEvent; /** * Some funds have been deposited. **/ - Deposit: AugmentedEvent; + Deposit: AugmentedEvent; /** * New proposal. **/ - Proposed: AugmentedEvent; + Proposed: AugmentedEvent; /** * A proposal was rejected; funds were slashed. **/ - Rejected: AugmentedEvent; + Rejected: AugmentedEvent; /** * Spending has finished; this is the amount that rolls over until next spend. **/ - Rollover: AugmentedEvent; + Rollover: AugmentedEvent; /** * We have ended a spend period and will now allocate funds. **/ - Spending: AugmentedEvent; + Spending: AugmentedEvent; /** * Generic event **/ @@ -629,15 +643,15 @@ declare module '@polkadot/api-base/types/events' { /** * Claimed vesting. **/ - Claimed: AugmentedEvent; + Claimed: AugmentedEvent; /** * Added new vesting schedule. **/ - VestingScheduleAdded: AugmentedEvent; + VestingScheduleAdded: AugmentedEvent; /** * Updated vesting schedules. **/ - VestingSchedulesUpdated: AugmentedEvent; + VestingSchedulesUpdated: AugmentedEvent; /** * Generic event **/ diff --git a/tests/src/interfaces/augment-api-query.ts b/tests/src/interfaces/augment-api-query.ts index 6ed2a40ec5..9fdc423c1f 100644 --- a/tests/src/interfaces/augment-api-query.ts +++ b/tests/src/interfaces/augment-api-query.ts @@ -1,15 +1,22 @@ // Auto-generated via `yarn polkadot-types-from-chain`, do not edit /* eslint-disable */ -import type { ApiTypes } from '@polkadot/api-base/types'; +// import type lookup before we augment - in some environments +// this is required to allow for ambient/previous definitions +import '@polkadot/api-base/types/storage'; + +import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types'; import type { BTreeMap, Bytes, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec'; import type { AnyNumber, ITuple } from '@polkadot/types-codec/types'; import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime'; import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletUniqueSchedulerScheduledV3, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsTokenChild } from '@polkadot/types/lookup'; import type { Observable } from '@polkadot/types/types'; +export type __AugmentedQuery = AugmentedQuery unknown>; +export type __QueryableStorageEntry = QueryableStorageEntry; + declare module '@polkadot/api-base/types/storage' { - export interface AugmentedQueries { + interface AugmentedQueries { balances: { /** * The Balances pallet example of storing the balance of an account. @@ -221,6 +228,13 @@ declare module '@polkadot/api-base/types/storage' { **/ [key: string]: QueryableStorageEntry; }; + maintenance: { + enabled: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; nonfungible: { accountBalance: AugmentedQuery Observable, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry; allowance: AugmentedQuery Observable>, [u32, u32]> & QueryableStorageEntry; diff --git a/tests/src/interfaces/augment-api-rpc.ts b/tests/src/interfaces/augment-api-rpc.ts index 07469fc4c4..a4f32cf2c8 100644 --- a/tests/src/interfaces/augment-api-rpc.ts +++ b/tests/src/interfaces/augment-api-rpc.ts @@ -1,10 +1,14 @@ // Auto-generated via `yarn polkadot-types-from-chain`, do not edit /* eslint-disable */ +// import type lookup before we augment - in some environments +// this is required to allow for ambient/previous definitions +import '@polkadot/rpc-core/types/jsonrpc'; + import type { PalletEvmAccountBasicCrossAccountIdRepr, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsPartPartType, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsTheme, UpDataStructsCollectionLimits, UpDataStructsCollectionStats, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsRpcCollection, UpDataStructsTokenChild, UpDataStructsTokenData } from './default'; import type { AugmentedRpc } from '@polkadot/rpc-core/types'; import type { Metadata, StorageKey } from '@polkadot/types'; -import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, u128, u32, u64 } from '@polkadot/types-codec'; +import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, f64, u128, u32, u64 } from '@polkadot/types-codec'; import type { AnyNumber, Codec } from '@polkadot/types-codec/types'; import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author'; import type { EpochAuthorship } from '@polkadot/types/interfaces/babe'; @@ -15,7 +19,7 @@ import type { AuthorityId } from '@polkadot/types/interfaces/consensus'; import type { CodeUploadRequest, CodeUploadResult, ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequest } from '@polkadot/types/interfaces/contracts'; import type { BlockStats } from '@polkadot/types/interfaces/dev'; import type { CreatedBlock } from '@polkadot/types/interfaces/engine'; -import type { EthAccount, EthCallRequest, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from '@polkadot/types/interfaces/eth'; +import type { EthAccount, EthCallRequest, EthFeeHistory, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from '@polkadot/types/interfaces/eth'; import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics'; import type { EncodedFinalityProofs, JustificationNotification, ReportedRoundStates } from '@polkadot/types/interfaces/grandpa'; import type { MmrLeafBatchProof, MmrLeafProof } from '@polkadot/types/interfaces/mmr'; @@ -27,8 +31,10 @@ import type { MigrationStatusResult, ReadProof, RuntimeVersion, TraceBlockRespon import type { ApplyExtrinsicResult, ChainProperties, ChainType, Health, NetworkState, NodeRole, PeerInfo, SyncState } from '@polkadot/types/interfaces/system'; import type { IExtrinsic, Observable } from '@polkadot/types/types'; +export type __AugmentedRpc = AugmentedRpc<() => unknown>; + declare module '@polkadot/rpc-core/types/jsonrpc' { - export interface RpcInterface { + interface RpcInterface { author: { /** * Returns true if the keystore has private keys for the given public key and key type. @@ -57,11 +63,11 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { /** * Submit and subscribe to watch an extrinsic until unsubscribed **/ - submitAndWatchExtrinsic: AugmentedRpc<(extrinsic: IExtrinsic) => Observable>; + submitAndWatchExtrinsic: AugmentedRpc<(extrinsic: Extrinsic | IExtrinsic | string | Uint8Array) => Observable>; /** * Submit a fully formatted extrinsic for block inclusion **/ - submitExtrinsic: AugmentedRpc<(extrinsic: IExtrinsic) => Observable>; + submitExtrinsic: AugmentedRpc<(extrinsic: Extrinsic | IExtrinsic | string | Uint8Array) => Observable>; }; babe: { /** @@ -137,22 +143,27 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { }; contracts: { /** + * @deprecated Use the runtime interface `api.call.contractsApi.call` instead * Executes a call to a contract **/ call: AugmentedRpc<(callRequest: ContractCallRequest | { origin?: any; dest?: any; value?: any; gasLimit?: any; storageDepositLimit?: any; inputData?: any } | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable>; /** + * @deprecated Use the runtime interface `api.call.contractsApi.getStorage` instead * Returns the value under a specified storage key in a contract **/ getStorage: AugmentedRpc<(address: AccountId | string | Uint8Array, key: H256 | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable>>; /** + * @deprecated Use the runtime interface `api.call.contractsApi.instantiate` instead * Instantiate a new contract **/ instantiate: AugmentedRpc<(request: InstantiateRequest | { origin?: any; value?: any; gasLimit?: any; storageDepositLimit?: any; code?: any; data?: any; salt?: any } | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable>; /** + * @deprecated Not available in newer versions of the contracts interfaces * Returns the projected time a given contract will be able to sustain paying its rent **/ rentProjection: AugmentedRpc<(address: AccountId | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable>>; /** + * @deprecated Use the runtime interface `api.call.contractsApi.uploadCode` instead * Upload new code without instantiating a contract from it **/ uploadCode: AugmentedRpc<(uploadRequest: CodeUploadRequest | { origin?: any; code?: any; storageDepositLimit?: any } | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable>; @@ -198,6 +209,10 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { * Estimate gas needed for execution of given contract. **/ estimateGas: AugmentedRpc<(request: EthCallRequest | { from?: any; to?: any; gasPrice?: any; gas?: any; value?: any; data?: any; nonce?: any } | string | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array) => Observable>; + /** + * Returns fee history for given block count & reward percentiles + **/ + feeHistory: AugmentedRpc<(blockCount: U256 | AnyNumber | Uint8Array, newestBlock: BlockNumber | AnyNumber | Uint8Array, rewardPercentiles: Option> | null | Uint8Array | Vec | (f64)[]) => Observable>; /** * Returns current gas price. **/ @@ -290,6 +305,10 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { * Returns the number of hashes per second that the node is mining with. **/ hashrate: AugmentedRpc<() => Observable>; + /** + * Returns max priority fee per gas + **/ + maxPriorityFeePerGas: AugmentedRpc<() => Observable>; /** * Returns true if client is actively mining new blocks. **/ @@ -449,7 +468,7 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { /** * Get Theme's keys values **/ - themes: AugmentedRpc<(baseId: u32 | AnyNumber | Uint8Array, themeName: Text | string, keys: Option> | null | object | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable>>; + themes: AugmentedRpc<(baseId: u32 | AnyNumber | Uint8Array, themeName: Text | string, keys: Option> | null | Uint8Array | Vec | (Text | string)[], at?: Hash | string | Uint8Array) => Observable>>; }; rpc: { /** @@ -483,6 +502,7 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { **/ getChildStorageSize: AugmentedRpc<(childStorageKey: StorageKey | string | Uint8Array | any, childDefinition: StorageKey | string | Uint8Array | any, childType: u32 | AnyNumber | Uint8Array, key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array) => Observable>; /** + * @deprecated Use `api.rpc.state.getKeysPaged` to retrieve keys * Retrieves the keys with a certain prefix **/ getKeys: AugmentedRpc<(key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array) => Observable>>; @@ -495,6 +515,7 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { **/ getMetadata: AugmentedRpc<(at?: BlockHash | string | Uint8Array) => Observable>; /** + * @deprecated Use `api.rpc.state.getKeysPaged` to retrieve keys * Returns the keys with prefix, leave empty to get all the keys (deprecated: Use getKeysPaged) **/ getPairs: AugmentedRpc<(prefix: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array) => Observable>>; @@ -537,7 +558,7 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { /** * Provides a way to trace the re-execution of a single block **/ - traceBlock: AugmentedRpc<(block: Hash | string | Uint8Array, targets: Option | null | object | string | Uint8Array, storageKeys: Option | null | object | string | Uint8Array, methods: Option | null | object | string | Uint8Array) => Observable>; + traceBlock: AugmentedRpc<(block: Hash | string | Uint8Array, targets: Option | null | Uint8Array | Text | string, storageKeys: Option | null | Uint8Array | Text | string, methods: Option | null | Uint8Array | Text | string) => Observable>; /** * Check current migration state **/ diff --git a/tests/src/interfaces/augment-api-runtime.ts b/tests/src/interfaces/augment-api-runtime.ts new file mode 100644 index 0000000000..7eb79bd3b4 --- /dev/null +++ b/tests/src/interfaces/augment-api-runtime.ts @@ -0,0 +1,248 @@ +// Auto-generated via `yarn polkadot-types-from-chain`, do not edit +/* eslint-disable */ + +// import type lookup before we augment - in some environments +// this is required to allow for ambient/previous definitions +import '@polkadot/api-base/types/calls'; + +import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types'; +import type { Bytes, Null, Option, Result, U256, Vec, bool, u256, u32, u64 } from '@polkadot/types-codec'; +import type { AnyNumber, ITuple } from '@polkadot/types-codec/types'; +import type { CheckInherentsResult, InherentData } from '@polkadot/types/interfaces/blockbuilder'; +import type { BlockHash } from '@polkadot/types/interfaces/chain'; +import type { AuthorityId } from '@polkadot/types/interfaces/consensus'; +import type { CollationInfo } from '@polkadot/types/interfaces/cumulus'; +import type { BlockV2, EthReceiptV3, EthTransactionStatus, TransactionV2 } from '@polkadot/types/interfaces/eth'; +import type { EvmAccount, EvmCallInfo, EvmCreateInfo } from '@polkadot/types/interfaces/evm'; +import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics'; +import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata'; +import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment'; +import type { AccountId, Block, H160, H256, Header, Index, KeyTypeId, Permill, SlotDuration } from '@polkadot/types/interfaces/runtime'; +import type { RuntimeVersion } from '@polkadot/types/interfaces/state'; +import type { ApplyExtrinsicResult, DispatchError } from '@polkadot/types/interfaces/system'; +import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue'; +import type { IExtrinsic, Observable } from '@polkadot/types/types'; + +export type __AugmentedCall = AugmentedCall; +export type __DecoratedCallBase = DecoratedCallBase; + +declare module '@polkadot/api-base/types/calls' { + interface AugmentedCalls { + /** 0xbc9d89904f5b923f/1 */ + accountNonceApi: { + /** + * The API to query account nonce (aka transaction index) + **/ + accountNonce: AugmentedCall Observable>; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; + /** 0xdd718d5cc53262d4/1 */ + auraApi: { + /** + * Return the current set of authorities. + **/ + authorities: AugmentedCall Observable>>; + /** + * Returns the slot duration for Aura. + **/ + slotDuration: AugmentedCall Observable>; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; + /** 0x40fe3ad401f8959a/6 */ + blockBuilder: { + /** + * Apply the given extrinsic. + **/ + applyExtrinsic: AugmentedCall Observable>; + /** + * Check that the inherents are valid. + **/ + checkInherents: AugmentedCall Observable>; + /** + * Finish the current block. + **/ + finalizeBlock: AugmentedCall Observable
>; + /** + * Generate inherent extrinsics. + **/ + inherentExtrinsics: AugmentedCall Observable>>; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; + /** 0xea93e3f16f3d6962/2 */ + collectCollationInfo: { + /** + * Collect information about a collation. + **/ + collectCollationInfo: AugmentedCall Observable>; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; + /** 0xe65b00e46cedd0aa/2 */ + convertTransactionRuntimeApi: { + /** + * Converts an Ethereum-style transaction to Extrinsic + **/ + convertTransaction: AugmentedCall Observable>; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; + /** 0xdf6acb689907609b/4 */ + core: { + /** + * Execute the given block. + **/ + executeBlock: AugmentedCall Observable>; + /** + * Initialize a block with the given header. + **/ + initializeBlock: AugmentedCall Observable>; + /** + * Returns the version of the runtime. + **/ + version: AugmentedCall Observable>; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; + /** 0x582211f65bb14b89/4 */ + ethereumRuntimeRPCApi: { + /** + * Returns pallet_evm::Accounts by address. + **/ + accountBasic: AugmentedCall Observable>; + /** + * For a given account address, returns pallet_evm::AccountCodes. + **/ + accountCodeAt: AugmentedCall Observable>; + /** + * Returns the converted FindAuthor::find_author authority id. + **/ + author: AugmentedCall Observable>; + /** + * Returns a frame_ethereum::call response. If `estimate` is true, + **/ + call: AugmentedCall | null | Uint8Array | U256 | AnyNumber, maxPriorityFeePerGas: Option | null | Uint8Array | U256 | AnyNumber, nonce: Option | null | Uint8Array | U256 | AnyNumber, estimate: bool | boolean | Uint8Array, accessList: Option]>>> | null | Uint8Array | Vec]>> | ([H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]])[]) => Observable>>; + /** + * Returns runtime defined pallet_evm::ChainId. + **/ + chainId: AugmentedCall Observable>; + /** + * Returns a frame_ethereum::call response. If `estimate` is true, + **/ + create: AugmentedCall | null | Uint8Array | U256 | AnyNumber, maxPriorityFeePerGas: Option | null | Uint8Array | U256 | AnyNumber, nonce: Option | null | Uint8Array | U256 | AnyNumber, estimate: bool | boolean | Uint8Array, accessList: Option]>>> | null | Uint8Array | Vec]>> | ([H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]])[]) => Observable>>; + /** + * Return all the current data for a block in a single runtime call. + **/ + currentAll: AugmentedCall Observable, Option>, Option>]>>>; + /** + * Return the current block. + **/ + currentBlock: AugmentedCall Observable>; + /** + * Return the current receipt. + **/ + currentReceipts: AugmentedCall Observable>>>; + /** + * Return the current transaction status. + **/ + currentTransactionStatuses: AugmentedCall Observable>>>; + /** + * Return the elasticity multiplier. + **/ + elasticity: AugmentedCall Observable>>; + /** + * Receives a `Vec` and filters all the ethereum transactions. + **/ + extrinsicFilter: AugmentedCall | (Extrinsic | IExtrinsic | string | Uint8Array)[]) => Observable>>; + /** + * Returns FixedGasPrice::min_gas_price + **/ + gasPrice: AugmentedCall Observable>; + /** + * For a given account address and index, returns pallet_evm::AccountStorages. + **/ + storageAt: AugmentedCall Observable>; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; + /** 0x37e397fc7c91f5e4/1 */ + metadata: { + /** + * Returns the metadata of a runtime + **/ + metadata: AugmentedCall Observable>; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; + /** 0xf78b278be53f454c/2 */ + offchainWorkerApi: { + /** + * Starts the off-chain task for given block header. + **/ + offchainWorker: AugmentedCall Observable>; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; + /** 0xab3c0572291feb8b/1 */ + sessionKeys: { + /** + * Decode the given public session keys. + **/ + decodeSessionKeys: AugmentedCall Observable>>>>; + /** + * Generate a set of session keys with optionally using the given seed. + **/ + generateSessionKeys: AugmentedCall | null | Uint8Array | Bytes | string) => Observable>; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; + /** 0xd2bc9897eed08f15/3 */ + taggedTransactionQueue: { + /** + * Validate the transaction. + **/ + validateTransaction: AugmentedCall Observable>; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; + /** 0x37c8bb1350a9a2a8/1 */ + transactionPaymentApi: { + /** + * The transaction fee details + **/ + queryFeeDetails: AugmentedCall Observable>; + /** + * The transaction info + **/ + queryInfo: AugmentedCall Observable>; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; + } // AugmentedCalls +} // declare module diff --git a/tests/src/interfaces/augment-api-tx.ts b/tests/src/interfaces/augment-api-tx.ts index 42a78fd5a1..6a01dbf9e0 100644 --- a/tests/src/interfaces/augment-api-tx.ts +++ b/tests/src/interfaces/augment-api-tx.ts @@ -1,14 +1,22 @@ // Auto-generated via `yarn polkadot-types-from-chain`, do not edit /* eslint-disable */ -import type { ApiTypes } from '@polkadot/api-base/types'; +// import type lookup before we augment - in some environments +// this is required to allow for ambient/previous definitions +import '@polkadot/api-base/types/submittable'; + +import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types'; import type { Bytes, Compact, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types'; import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime'; import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumTransactionTransactionV2, FrameSupportScheduleMaybeHashed, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsPartEquippableList, RmrkTraitsPartPartType, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup'; +export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>; +export type __SubmittableExtrinsic = SubmittableExtrinsic; +export type __SubmittableExtrinsicFunction = SubmittableExtrinsicFunction; + declare module '@polkadot/api-base/types/submittable' { - export interface AugmentedSubmittables { + interface AugmentedSubmittables { balances: { /** * Exactly as `transfer`, except the origin must be root and the source account may be @@ -145,16 +153,16 @@ declare module '@polkadot/api-base/types/submittable' { /** * Issue an EVM call operation. This is similar to a message call transaction in Ethereum. **/ - call: AugmentedSubmittable<(source: H160 | string | Uint8Array, target: H160 | string | Uint8Array, input: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option | null | object | string | Uint8Array, nonce: Option | null | object | string | Uint8Array, accessList: Vec]>> | ([H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic, [H160, H160, Bytes, U256, u64, U256, Option, Option, Vec]>>]>; + call: AugmentedSubmittable<(source: H160 | string | Uint8Array, target: H160 | string | Uint8Array, input: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option | null | Uint8Array | U256 | AnyNumber, nonce: Option | null | Uint8Array | U256 | AnyNumber, accessList: Vec]>> | ([H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic, [H160, H160, Bytes, U256, u64, U256, Option, Option, Vec]>>]>; /** * Issue an EVM create operation. This is similar to a contract creation transaction in * Ethereum. **/ - create: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option | null | object | string | Uint8Array, nonce: Option | null | object | string | Uint8Array, accessList: Vec]>> | ([H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic, [H160, Bytes, U256, u64, U256, Option, Option, Vec]>>]>; + create: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option | null | Uint8Array | U256 | AnyNumber, nonce: Option | null | Uint8Array | U256 | AnyNumber, accessList: Vec]>> | ([H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic, [H160, Bytes, U256, u64, U256, Option, Option, Vec]>>]>; /** * Issue an EVM create2 operation. **/ - create2: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, salt: H256 | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option | null | object | string | Uint8Array, nonce: Option | null | object | string | Uint8Array, accessList: Vec]>> | ([H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic, [H160, Bytes, H256, U256, u64, U256, Option, Option, Vec]>>]>; + create2: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, salt: H256 | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option | null | Uint8Array | U256 | AnyNumber, nonce: Option | null | Uint8Array | U256 | AnyNumber, accessList: Vec]>> | ([H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic, [H160, Bytes, H256, U256, u64, U256, Option, Option, Vec]>>]>; /** * Withdraw balance from EVM into currency/balances pallet. **/ @@ -193,6 +201,14 @@ declare module '@polkadot/api-base/types/submittable' { **/ [key: string]: SubmittableExtrinsicFunction; }; + maintenance: { + disable: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + enable: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; parachainSystem: { authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256]>; enactAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; @@ -236,7 +252,7 @@ declare module '@polkadot/api-base/types/submittable' { * - `origin`: Must be Root. * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable. **/ - forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option | null | object | string | Uint8Array) => SubmittableExtrinsic, [Option]>; + forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic, [Option]>; /** * Ask a location to notify us regarding their XCM version and any changes to it. * @@ -394,7 +410,7 @@ declare module '@polkadot/api-base/types/submittable' { /** * Create a collection **/ - createCollection: AugmentedSubmittable<(metadata: Bytes | string | Uint8Array, max: Option | null | object | string | Uint8Array, symbol: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes, Option, Bytes]>; + createCollection: AugmentedSubmittable<(metadata: Bytes | string | Uint8Array, max: Option | null | Uint8Array | u32 | AnyNumber, symbol: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes, Option, Bytes]>; /** * destroy collection **/ @@ -415,7 +431,7 @@ declare module '@polkadot/api-base/types/submittable' { * - `metadata`: Arbitrary data about an nft, e.g. IPFS hash * - `transferable`: Ability to transfer this NFT **/ - mintNft: AugmentedSubmittable<(owner: Option | null | object | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, recipient: Option | null | object | string | Uint8Array, royaltyAmount: Option | null | object | string | Uint8Array, metadata: Bytes | string | Uint8Array, transferable: bool | boolean | Uint8Array, resources: Option> | null | object | string | Uint8Array) => SubmittableExtrinsic, [Option, u32, Option, Option, Bytes, bool, Option>]>; + mintNft: AugmentedSubmittable<(owner: Option | null | Uint8Array | AccountId32 | string, collectionId: u32 | AnyNumber | Uint8Array, recipient: Option | null | Uint8Array | AccountId32 | string, royaltyAmount: Option | null | Uint8Array | Permill | AnyNumber, metadata: Bytes | string | Uint8Array, transferable: bool | boolean | Uint8Array, resources: Option> | null | Uint8Array | Vec | (RmrkTraitsResourceResourceTypes | { Basic: any } | { Composable: any } | { Slot: any } | string | Uint8Array)[]) => SubmittableExtrinsic, [Option, u32, Option, Option, Bytes, bool, Option>]>; /** * Rejects an NFT sent from another account to self or owned NFT * @@ -446,7 +462,7 @@ declare module '@polkadot/api-base/types/submittable' { /** * set a custom value on an NFT **/ - setProperty: AugmentedSubmittable<(rmrkCollectionId: Compact | AnyNumber | Uint8Array, maybeNftId: Option | null | object | string | Uint8Array, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Compact, Option, Bytes, Bytes]>; + setProperty: AugmentedSubmittable<(rmrkCollectionId: Compact | AnyNumber | Uint8Array, maybeNftId: Option | null | Uint8Array | u32 | AnyNumber, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Compact, Option, Bytes, Bytes]>; /** * Generic tx **/ @@ -495,7 +511,7 @@ declare module '@polkadot/api-base/types/submittable' { /** * Schedule a named task. **/ - scheduleNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option> | null | object | string | Uint8Array, priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | { Value: any } | { Hash: any } | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed, u32, Option>, u8, FrameSupportScheduleMaybeHashed]>; + scheduleNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | { Value: any } | { Hash: any } | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed, u32, Option>, u8, FrameSupportScheduleMaybeHashed]>; /** * Schedule a named task after a delay. * @@ -503,7 +519,7 @@ declare module '@polkadot/api-base/types/submittable' { * Same as [`schedule_named`](Self::schedule_named). * # **/ - scheduleNamedAfter: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option> | null | object | string | Uint8Array, priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | { Value: any } | { Hash: any } | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed, u32, Option>, u8, FrameSupportScheduleMaybeHashed]>; + scheduleNamedAfter: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | { Value: any } | { Hash: any } | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed, u32, Option>, u8, FrameSupportScheduleMaybeHashed]>; /** * Generic tx **/ diff --git a/tests/src/interfaces/augment-api.ts b/tests/src/interfaces/augment-api.ts index 921d2f824d..7cafd228bd 100644 --- a/tests/src/interfaces/augment-api.ts +++ b/tests/src/interfaces/augment-api.ts @@ -7,3 +7,4 @@ import './augment-api-events'; import './augment-api-query'; import './augment-api-tx'; import './augment-api-rpc'; +import './augment-api-runtime'; diff --git a/tests/src/interfaces/augment-types.ts b/tests/src/interfaces/augment-types.ts index e0d8942652..34b4f14e57 100644 --- a/tests/src/interfaces/augment-types.ts +++ b/tests/src/interfaces/augment-types.ts @@ -1,17 +1,23 @@ // Auto-generated via `yarn polkadot-types-from-defs`, do not edit /* eslint-disable */ -import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerCall, PalletUniqueSchedulerError, PalletUniqueSchedulerEvent, PalletUniqueSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default'; +// import type lookup before we augment - in some environments +// this is required to allow for ambient/previous definitions +import '@polkadot/types/types/registry'; + +import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeCheckMaintenance, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerCall, PalletUniqueSchedulerError, PalletUniqueSchedulerEvent, PalletUniqueSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default'; import type { Data, StorageKey } from '@polkadot/types'; -import type { BitVec, Bool, Bytes, I128, I16, I256, I32, I64, I8, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec'; +import type { BitVec, Bool, Bytes, F32, F64, I128, I16, I256, I32, I64, I8, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, f32, f64, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec'; import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets'; import type { BlockAttestations, IncludedBlocks, MoreAttestations } from '@polkadot/types/interfaces/attestations'; import type { RawAuraPreDigest } from '@polkadot/types/interfaces/aura'; import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author'; import type { UncleEntryItem } from '@polkadot/types/interfaces/authorship'; -import type { AllowedSlots, BabeAuthorityWeight, BabeBlockWeight, BabeEpochConfiguration, BabeEquivocationProof, BabeWeight, EpochAuthorship, MaybeRandomness, MaybeVrf, NextConfigDescriptor, NextConfigDescriptorV1, Randomness, RawBabePreDigest, RawBabePreDigestCompat, RawBabePreDigestPrimary, RawBabePreDigestPrimaryTo159, RawBabePreDigestSecondaryPlain, RawBabePreDigestSecondaryTo159, RawBabePreDigestSecondaryVRF, RawBabePreDigestTo159, SlotNumber, VrfData, VrfOutput, VrfProof } from '@polkadot/types/interfaces/babe'; +import type { AllowedSlots, BabeAuthorityWeight, BabeBlockWeight, BabeEpochConfiguration, BabeEquivocationProof, BabeGenesisConfiguration, BabeGenesisConfigurationV1, BabeWeight, Epoch, EpochAuthorship, MaybeRandomness, MaybeVrf, NextConfigDescriptor, NextConfigDescriptorV1, OpaqueKeyOwnershipProof, Randomness, RawBabePreDigest, RawBabePreDigestCompat, RawBabePreDigestPrimary, RawBabePreDigestPrimaryTo159, RawBabePreDigestSecondaryPlain, RawBabePreDigestSecondaryTo159, RawBabePreDigestSecondaryVRF, RawBabePreDigestTo159, SlotNumber, VrfData, VrfOutput, VrfProof } from '@polkadot/types/interfaces/babe'; import type { AccountData, BalanceLock, BalanceLockTo212, BalanceStatus, Reasons, ReserveData, ReserveIdentifier, VestingSchedule, WithdrawReasons } from '@polkadot/types/interfaces/balances'; -import type { BeefyCommitment, BeefyId, BeefyNextAuthoritySet, BeefyPayload, BeefySignedCommitment, MmrRootHash, ValidatorSetId } from '@polkadot/types/interfaces/beefy'; +import type { BeefyAuthoritySet, BeefyCommitment, BeefyId, BeefyNextAuthoritySet, BeefyPayload, BeefyPayloadId, BeefySignedCommitment, MmrRootHash, ValidatorSet, ValidatorSetId } from '@polkadot/types/interfaces/beefy'; +import type { BenchmarkBatch, BenchmarkConfig, BenchmarkList, BenchmarkMetadata, BenchmarkParameter, BenchmarkResult } from '@polkadot/types/interfaces/benchmark'; +import type { CheckInherentsResult, InherentData, InherentIdentifier } from '@polkadot/types/interfaces/blockbuilder'; import type { BridgeMessageId, BridgedBlockHash, BridgedBlockNumber, BridgedHeader, CallOrigin, ChainId, DeliveredMessages, DispatchFeePayment, InboundLaneData, InboundRelayer, InitializationData, LaneId, MessageData, MessageKey, MessageNonce, MessagesDeliveryProofOf, MessagesProofOf, OperatingMode, OutboundLaneData, OutboundMessageFee, OutboundPayload, Parameter, RelayerId, UnrewardedRelayer, UnrewardedRelayersState } from '@polkadot/types/interfaces/bridges'; import type { BlockHash } from '@polkadot/types/interfaces/chain'; import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate'; @@ -19,15 +25,15 @@ import type { StatementKind } from '@polkadot/types/interfaces/claims'; import type { CollectiveOrigin, MemberCount, ProposalIndex, Votes, VotesTo230 } from '@polkadot/types/interfaces/collective'; import type { AuthorityId, RawVRFOutput } from '@polkadot/types/interfaces/consensus'; import type { AliveContractInfo, CodeHash, CodeSource, CodeUploadRequest, CodeUploadResult, CodeUploadResultValue, ContractCallFlags, ContractCallRequest, ContractExecResult, ContractExecResultOk, ContractExecResultResult, ContractExecResultSuccessTo255, ContractExecResultSuccessTo260, ContractExecResultTo255, ContractExecResultTo260, ContractExecResultTo267, ContractInfo, ContractInstantiateResult, ContractInstantiateResultTo267, ContractInstantiateResultTo299, ContractReturnFlags, ContractStorageKey, DeletedContract, ExecReturnValue, Gas, HostFnWeights, HostFnWeightsTo264, InstantiateRequest, InstantiateRequestV1, InstantiateRequestV2, InstantiateReturnValue, InstantiateReturnValueOk, InstantiateReturnValueTo267, InstructionWeights, Limits, LimitsTo264, PrefabWasmModule, RentProjection, Schedule, ScheduleTo212, ScheduleTo258, ScheduleTo264, SeedOf, StorageDeposit, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts'; -import type { ContractConstructorSpecLatest, ContractConstructorSpecV0, ContractConstructorSpecV1, ContractConstructorSpecV2, ContractConstructorSpecV3, ContractContractSpecV0, ContractContractSpecV1, ContractContractSpecV2, ContractContractSpecV3, ContractCryptoHasher, ContractDiscriminant, ContractDisplayName, ContractEventParamSpecLatest, ContractEventParamSpecV0, ContractEventParamSpecV2, ContractEventSpecLatest, ContractEventSpecV0, ContractEventSpecV1, ContractEventSpecV2, ContractLayoutArray, ContractLayoutCell, ContractLayoutEnum, ContractLayoutHash, ContractLayoutHashingStrategy, ContractLayoutKey, ContractLayoutStruct, ContractLayoutStructField, ContractMessageParamSpecLatest, ContractMessageParamSpecV0, ContractMessageParamSpecV2, ContractMessageSpecLatest, ContractMessageSpecV0, ContractMessageSpecV1, ContractMessageSpecV2, ContractMetadata, ContractMetadataLatest, ContractMetadataV0, ContractMetadataV1, ContractMetadataV2, ContractMetadataV3, ContractProject, ContractProjectContract, ContractProjectInfo, ContractProjectSource, ContractProjectV0, ContractSelector, ContractStorageLayout, ContractTypeSpec } from '@polkadot/types/interfaces/contractsAbi'; +import type { ContractConstructorSpecLatest, ContractConstructorSpecV0, ContractConstructorSpecV1, ContractConstructorSpecV2, ContractConstructorSpecV3, ContractContractSpecV0, ContractContractSpecV1, ContractContractSpecV2, ContractContractSpecV3, ContractContractSpecV4, ContractCryptoHasher, ContractDiscriminant, ContractDisplayName, ContractEventParamSpecLatest, ContractEventParamSpecV0, ContractEventParamSpecV2, ContractEventSpecLatest, ContractEventSpecV0, ContractEventSpecV1, ContractEventSpecV2, ContractLayoutArray, ContractLayoutCell, ContractLayoutEnum, ContractLayoutHash, ContractLayoutHashingStrategy, ContractLayoutKey, ContractLayoutStruct, ContractLayoutStructField, ContractMessageParamSpecLatest, ContractMessageParamSpecV0, ContractMessageParamSpecV2, ContractMessageSpecLatest, ContractMessageSpecV0, ContractMessageSpecV1, ContractMessageSpecV2, ContractMetadata, ContractMetadataLatest, ContractMetadataV0, ContractMetadataV1, ContractMetadataV2, ContractMetadataV3, ContractMetadataV4, ContractProject, ContractProjectContract, ContractProjectInfo, ContractProjectSource, ContractProjectV0, ContractSelector, ContractStorageLayout, ContractTypeSpec } from '@polkadot/types/interfaces/contractsAbi'; import type { FundIndex, FundInfo, LastContribution, TrieIndex } from '@polkadot/types/interfaces/crowdloan'; -import type { ConfigData, MessageId, OverweightIndex, PageCounter, PageIndexData } from '@polkadot/types/interfaces/cumulus'; +import type { CollationInfo, CollationInfoV1, ConfigData, MessageId, OverweightIndex, PageCounter, PageIndexData } from '@polkadot/types/interfaces/cumulus'; import type { AccountVote, AccountVoteSplit, AccountVoteStandard, Conviction, Delegations, PreimageStatus, PreimageStatusAvailable, PriorLock, PropIndex, Proposal, ProxyState, ReferendumIndex, ReferendumInfo, ReferendumInfoFinished, ReferendumInfoTo239, ReferendumStatus, Tally, Voting, VotingDelegating, VotingDirect, VotingDirectVote } from '@polkadot/types/interfaces/democracy'; import type { BlockStats } from '@polkadot/types/interfaces/dev'; import type { ApprovalFlag, DefunctVoter, Renouncing, SetIndex, Vote, VoteIndex, VoteThreshold, VoterInfo } from '@polkadot/types/interfaces/elections'; import type { CreatedBlock, ImportedAux } from '@polkadot/types/interfaces/engine'; -import type { BlockV0, BlockV1, BlockV2, EIP1559Transaction, EIP2930Transaction, EthAccessList, EthAccessListItem, EthAccount, EthAddress, EthBlock, EthBloom, EthCallRequest, EthFilter, EthFilterAddress, EthFilterChanges, EthFilterTopic, EthFilterTopicEntry, EthFilterTopicInner, EthHeader, EthLog, EthReceipt, EthRichBlock, EthRichHeader, EthStorageProof, EthSubKind, EthSubParams, EthSubResult, EthSyncInfo, EthSyncStatus, EthTransaction, EthTransactionAction, EthTransactionCondition, EthTransactionRequest, EthTransactionSignature, EthTransactionStatus, EthWork, EthereumAccountId, EthereumAddress, EthereumLookupSource, EthereumSignature, LegacyTransaction, TransactionV0, TransactionV1, TransactionV2 } from '@polkadot/types/interfaces/eth'; -import type { EvmAccount, EvmLog, EvmVicinity, ExitError, ExitFatal, ExitReason, ExitRevert, ExitSucceed } from '@polkadot/types/interfaces/evm'; +import type { BlockV0, BlockV1, BlockV2, EIP1559Transaction, EIP2930Transaction, EthAccessList, EthAccessListItem, EthAccount, EthAddress, EthBlock, EthBloom, EthCallRequest, EthFeeHistory, EthFilter, EthFilterAddress, EthFilterChanges, EthFilterTopic, EthFilterTopicEntry, EthFilterTopicInner, EthHeader, EthLog, EthReceipt, EthReceiptV0, EthReceiptV3, EthRichBlock, EthRichHeader, EthStorageProof, EthSubKind, EthSubParams, EthSubResult, EthSyncInfo, EthSyncStatus, EthTransaction, EthTransactionAction, EthTransactionCondition, EthTransactionRequest, EthTransactionSignature, EthTransactionStatus, EthWork, EthereumAccountId, EthereumAddress, EthereumLookupSource, EthereumSignature, LegacyTransaction, TransactionV0, TransactionV1, TransactionV2 } from '@polkadot/types/interfaces/eth'; +import type { EvmAccount, EvmCallInfo, EvmCreateInfo, EvmLog, EvmVicinity, ExitError, ExitFatal, ExitReason, ExitRevert, ExitSucceed } from '@polkadot/types/interfaces/evm'; import type { AnySignature, EcdsaSignature, Ed25519Signature, Era, Extrinsic, ExtrinsicEra, ExtrinsicPayload, ExtrinsicPayloadUnknown, ExtrinsicPayloadV4, ExtrinsicSignature, ExtrinsicSignatureV4, ExtrinsicUnknown, ExtrinsicV4, ImmortalEra, MortalEra, MultiSignature, Signature, SignerPayload, Sr25519Signature } from '@polkadot/types/interfaces/extrinsics'; import type { AssetOptions, Owner, PermissionLatest, PermissionVersions, PermissionsV1 } from '@polkadot/types/interfaces/genericAsset'; import type { ActiveGilt, ActiveGiltsTotal, ActiveIndex, GiltBid } from '@polkadot/types/interfaces/gilt'; @@ -35,35 +41,37 @@ import type { AuthorityIndex, AuthorityList, AuthoritySet, AuthoritySetChange, A import type { IdentityFields, IdentityInfo, IdentityInfoAdditional, IdentityInfoTo198, IdentityJudgement, RegistrarIndex, RegistrarInfo, Registration, RegistrationJudgement, RegistrationTo198 } from '@polkadot/types/interfaces/identity'; import type { AuthIndex, AuthoritySignature, Heartbeat, HeartbeatTo244, OpaqueMultiaddr, OpaqueNetworkState, OpaquePeerId } from '@polkadot/types/interfaces/imOnline'; import type { CallIndex, LotteryConfig } from '@polkadot/types/interfaces/lottery'; -import type { ErrorMetadataLatest, ErrorMetadataV10, ErrorMetadataV11, ErrorMetadataV12, ErrorMetadataV13, ErrorMetadataV14, ErrorMetadataV9, EventMetadataLatest, EventMetadataV10, EventMetadataV11, EventMetadataV12, EventMetadataV13, EventMetadataV14, EventMetadataV9, ExtrinsicMetadataLatest, ExtrinsicMetadataV11, ExtrinsicMetadataV12, ExtrinsicMetadataV13, ExtrinsicMetadataV14, FunctionArgumentMetadataLatest, FunctionArgumentMetadataV10, FunctionArgumentMetadataV11, FunctionArgumentMetadataV12, FunctionArgumentMetadataV13, FunctionArgumentMetadataV14, FunctionArgumentMetadataV9, FunctionMetadataLatest, FunctionMetadataV10, FunctionMetadataV11, FunctionMetadataV12, FunctionMetadataV13, FunctionMetadataV14, FunctionMetadataV9, MetadataAll, MetadataLatest, MetadataV10, MetadataV11, MetadataV12, MetadataV13, MetadataV14, MetadataV9, ModuleConstantMetadataV10, ModuleConstantMetadataV11, ModuleConstantMetadataV12, ModuleConstantMetadataV13, ModuleConstantMetadataV9, ModuleMetadataV10, ModuleMetadataV11, ModuleMetadataV12, ModuleMetadataV13, ModuleMetadataV9, PalletCallMetadataLatest, PalletCallMetadataV14, PalletConstantMetadataLatest, PalletConstantMetadataV14, PalletErrorMetadataLatest, PalletErrorMetadataV14, PalletEventMetadataLatest, PalletEventMetadataV14, PalletMetadataLatest, PalletMetadataV14, PalletStorageMetadataLatest, PalletStorageMetadataV14, PortableType, PortableTypeV14, SignedExtensionMetadataLatest, SignedExtensionMetadataV14, StorageEntryMetadataLatest, StorageEntryMetadataV10, StorageEntryMetadataV11, StorageEntryMetadataV12, StorageEntryMetadataV13, StorageEntryMetadataV14, StorageEntryMetadataV9, StorageEntryModifierLatest, StorageEntryModifierV10, StorageEntryModifierV11, StorageEntryModifierV12, StorageEntryModifierV13, StorageEntryModifierV14, StorageEntryModifierV9, StorageEntryTypeLatest, StorageEntryTypeV10, StorageEntryTypeV11, StorageEntryTypeV12, StorageEntryTypeV13, StorageEntryTypeV14, StorageEntryTypeV9, StorageHasher, StorageHasherV10, StorageHasherV11, StorageHasherV12, StorageHasherV13, StorageHasherV14, StorageHasherV9, StorageMetadataV10, StorageMetadataV11, StorageMetadataV12, StorageMetadataV13, StorageMetadataV9 } from '@polkadot/types/interfaces/metadata'; -import type { MmrLeafBatchProof, MmrLeafProof } from '@polkadot/types/interfaces/mmr'; +import type { ErrorMetadataLatest, ErrorMetadataV10, ErrorMetadataV11, ErrorMetadataV12, ErrorMetadataV13, ErrorMetadataV14, ErrorMetadataV9, EventMetadataLatest, EventMetadataV10, EventMetadataV11, EventMetadataV12, EventMetadataV13, EventMetadataV14, EventMetadataV9, ExtrinsicMetadataLatest, ExtrinsicMetadataV11, ExtrinsicMetadataV12, ExtrinsicMetadataV13, ExtrinsicMetadataV14, FunctionArgumentMetadataLatest, FunctionArgumentMetadataV10, FunctionArgumentMetadataV11, FunctionArgumentMetadataV12, FunctionArgumentMetadataV13, FunctionArgumentMetadataV14, FunctionArgumentMetadataV9, FunctionMetadataLatest, FunctionMetadataV10, FunctionMetadataV11, FunctionMetadataV12, FunctionMetadataV13, FunctionMetadataV14, FunctionMetadataV9, MetadataAll, MetadataLatest, MetadataV10, MetadataV11, MetadataV12, MetadataV13, MetadataV14, MetadataV9, ModuleConstantMetadataV10, ModuleConstantMetadataV11, ModuleConstantMetadataV12, ModuleConstantMetadataV13, ModuleConstantMetadataV9, ModuleMetadataV10, ModuleMetadataV11, ModuleMetadataV12, ModuleMetadataV13, ModuleMetadataV9, OpaqueMetadata, PalletCallMetadataLatest, PalletCallMetadataV14, PalletConstantMetadataLatest, PalletConstantMetadataV14, PalletErrorMetadataLatest, PalletErrorMetadataV14, PalletEventMetadataLatest, PalletEventMetadataV14, PalletMetadataLatest, PalletMetadataV14, PalletStorageMetadataLatest, PalletStorageMetadataV14, PortableType, PortableTypeV14, SignedExtensionMetadataLatest, SignedExtensionMetadataV14, StorageEntryMetadataLatest, StorageEntryMetadataV10, StorageEntryMetadataV11, StorageEntryMetadataV12, StorageEntryMetadataV13, StorageEntryMetadataV14, StorageEntryMetadataV9, StorageEntryModifierLatest, StorageEntryModifierV10, StorageEntryModifierV11, StorageEntryModifierV12, StorageEntryModifierV13, StorageEntryModifierV14, StorageEntryModifierV9, StorageEntryTypeLatest, StorageEntryTypeV10, StorageEntryTypeV11, StorageEntryTypeV12, StorageEntryTypeV13, StorageEntryTypeV14, StorageEntryTypeV9, StorageHasher, StorageHasherV10, StorageHasherV11, StorageHasherV12, StorageHasherV13, StorageHasherV14, StorageHasherV9, StorageMetadataV10, StorageMetadataV11, StorageMetadataV12, StorageMetadataV13, StorageMetadataV9 } from '@polkadot/types/interfaces/metadata'; +import type { MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError, MmrLeafBatchProof, MmrLeafIndex, MmrLeafProof, MmrNodeIndex, MmrProof } from '@polkadot/types/interfaces/mmr'; +import type { NpApiError } from '@polkadot/types/interfaces/nompools'; import type { StorageKind } from '@polkadot/types/interfaces/offchain'; import type { DeferredOffenceOf, Kind, OffenceDetails, Offender, OpaqueTimeSlot, ReportIdOf, Reporter } from '@polkadot/types/interfaces/offences'; -import type { AbridgedCandidateReceipt, AbridgedHostConfiguration, AbridgedHrmpChannel, AssignmentId, AssignmentKind, AttestedCandidate, AuctionIndex, AuthorityDiscoveryId, AvailabilityBitfield, AvailabilityBitfieldRecord, BackedCandidate, Bidder, BufferedSessionChange, CandidateCommitments, CandidateDescriptor, CandidateHash, CandidateInfo, CandidatePendingAvailability, CandidateReceipt, CollatorId, CollatorSignature, CommittedCandidateReceipt, CoreAssignment, CoreIndex, CoreOccupied, DisputeLocation, DisputeResult, DisputeState, DisputeStatement, DisputeStatementSet, DoubleVoteReport, DownwardMessage, ExplicitDisputeStatement, GlobalValidationData, GlobalValidationSchedule, GroupIndex, HeadData, HostConfiguration, HrmpChannel, HrmpChannelId, HrmpOpenChannelRequest, InboundDownwardMessage, InboundHrmpMessage, InboundHrmpMessages, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, InvalidDisputeStatementKind, LeasePeriod, LeasePeriodOf, LocalValidationData, MessageIngestionType, MessageQueueChain, MessagingStateSnapshot, MessagingStateSnapshotEgressEntry, MultiDisputeStatementSet, NewBidder, OutboundHrmpMessage, ParaGenesisArgs, ParaId, ParaInfo, ParaLifecycle, ParaPastCodeMeta, ParaScheduling, ParaValidatorIndex, ParachainDispatchOrigin, ParachainInherentData, ParachainProposal, ParachainsInherentData, ParathreadClaim, ParathreadClaimQueue, ParathreadEntry, PersistedValidationData, QueuedParathread, RegisteredParachainInfo, RelayBlockNumber, RelayChainBlockNumber, RelayChainHash, RelayHash, Remark, ReplacementTimes, Retriable, Scheduling, ServiceQuality, SessionInfo, SessionInfoValidatorGroup, SignedAvailabilityBitfield, SignedAvailabilityBitfields, SigningContext, SlotRange, SlotRange10, Statement, SubId, SystemInherentData, TransientValidationData, UpgradeGoAhead, UpgradeRestriction, UpwardMessage, ValidDisputeStatementKind, ValidationCode, ValidationCodeHash, ValidationData, ValidationDataType, ValidationFunctionParams, ValidatorSignature, ValidityAttestation, VecInboundHrmpMessage, WinnersData, WinnersData10, WinnersDataTuple, WinnersDataTuple10, WinningData, WinningData10, WinningDataEntry } from '@polkadot/types/interfaces/parachains'; +import type { AbridgedCandidateReceipt, AbridgedHostConfiguration, AbridgedHrmpChannel, AssignmentId, AssignmentKind, AttestedCandidate, AuctionIndex, AuthorityDiscoveryId, AvailabilityBitfield, AvailabilityBitfieldRecord, BackedCandidate, Bidder, BufferedSessionChange, CandidateCommitments, CandidateDescriptor, CandidateEvent, CandidateHash, CandidateInfo, CandidatePendingAvailability, CandidateReceipt, CollatorId, CollatorSignature, CommittedCandidateReceipt, CoreAssignment, CoreIndex, CoreOccupied, CoreState, DisputeLocation, DisputeResult, DisputeState, DisputeStatement, DisputeStatementSet, DoubleVoteReport, DownwardMessage, ExplicitDisputeStatement, GlobalValidationData, GlobalValidationSchedule, GroupIndex, GroupRotationInfo, HeadData, HostConfiguration, HrmpChannel, HrmpChannelId, HrmpOpenChannelRequest, InboundDownwardMessage, InboundHrmpMessage, InboundHrmpMessages, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, InvalidDisputeStatementKind, LeasePeriod, LeasePeriodOf, LocalValidationData, MessageIngestionType, MessageQueueChain, MessagingStateSnapshot, MessagingStateSnapshotEgressEntry, MultiDisputeStatementSet, NewBidder, OccupiedCore, OccupiedCoreAssumption, OldV1SessionInfo, OutboundHrmpMessage, ParaGenesisArgs, ParaId, ParaInfo, ParaLifecycle, ParaPastCodeMeta, ParaScheduling, ParaValidatorIndex, ParachainDispatchOrigin, ParachainInherentData, ParachainProposal, ParachainsInherentData, ParathreadClaim, ParathreadClaimQueue, ParathreadEntry, PersistedValidationData, PvfCheckStatement, QueuedParathread, RegisteredParachainInfo, RelayBlockNumber, RelayChainBlockNumber, RelayChainHash, RelayHash, Remark, ReplacementTimes, Retriable, ScheduledCore, Scheduling, ScrapedOnChainVotes, ServiceQuality, SessionInfo, SessionInfoValidatorGroup, SignedAvailabilityBitfield, SignedAvailabilityBitfields, SigningContext, SlotRange, SlotRange10, Statement, SubId, SystemInherentData, TransientValidationData, UpgradeGoAhead, UpgradeRestriction, UpwardMessage, ValidDisputeStatementKind, ValidationCode, ValidationCodeHash, ValidationData, ValidationDataType, ValidationFunctionParams, ValidatorSignature, ValidityAttestation, VecInboundHrmpMessage, WinnersData, WinnersData10, WinnersDataTuple, WinnersDataTuple10, WinningData, WinningData10, WinningDataEntry } from '@polkadot/types/interfaces/parachains'; import type { FeeDetails, InclusionFee, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment'; import type { Approvals } from '@polkadot/types/interfaces/poll'; import type { ProxyAnnouncement, ProxyDefinition, ProxyType } from '@polkadot/types/interfaces/proxy'; import type { AccountStatus, AccountValidity } from '@polkadot/types/interfaces/purchase'; import type { ActiveRecovery, RecoveryConfig } from '@polkadot/types/interfaces/recovery'; import type { RpcMethods } from '@polkadot/types/interfaces/rpc'; -import type { AccountId, AccountId20, AccountId32, AccountIdOf, AccountIndex, Address, AssetId, Balance, BalanceOf, Block, BlockNumber, BlockNumberFor, BlockNumberOf, Call, CallHash, CallHashOf, ChangesTrieConfiguration, ChangesTrieSignal, CodecHash, Consensus, ConsensusEngineId, CrateVersion, Digest, DigestItem, EncodedJustification, ExtrinsicsWeight, Fixed128, Fixed64, FixedI128, FixedI64, FixedU128, FixedU64, H1024, H128, H160, H2048, H256, H32, H512, H64, Hash, Header, HeaderPartial, I32F32, Index, IndicesLookupSource, Justification, Justifications, KeyTypeId, KeyValue, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, MultiAddress, MultiSigner, OpaqueCall, Origin, OriginCaller, PalletId, PalletVersion, PalletsOrigin, Pays, PerU16, Perbill, Percent, Permill, Perquintill, Phantom, PhantomData, PreRuntime, Releases, RuntimeDbWeight, Seal, SealV0, SignedBlock, SignedBlockWithJustification, SignedBlockWithJustifications, Slot, StorageData, StorageProof, TransactionInfo, TransactionPriority, TransactionStorageProof, U32F32, ValidatorId, ValidatorIdOf, Weight, WeightMultiplier } from '@polkadot/types/interfaces/runtime'; +import type { AccountId, AccountId20, AccountId32, AccountId33, AccountIdOf, AccountIndex, Address, AssetId, Balance, BalanceOf, Block, BlockNumber, BlockNumberFor, BlockNumberOf, Call, CallHash, CallHashOf, ChangesTrieConfiguration, ChangesTrieSignal, CodecHash, Consensus, ConsensusEngineId, CrateVersion, Digest, DigestItem, EncodedJustification, ExtrinsicsWeight, Fixed128, Fixed64, FixedI128, FixedI64, FixedU128, FixedU64, H1024, H128, H160, H2048, H256, H32, H512, H64, Hash, Header, HeaderPartial, I32F32, Index, IndicesLookupSource, Justification, Justifications, KeyTypeId, KeyValue, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, MultiAddress, MultiSigner, OpaqueCall, Origin, OriginCaller, PalletId, PalletVersion, PalletsOrigin, Pays, PerU16, Perbill, Percent, Permill, Perquintill, Phantom, PhantomData, PreRuntime, Releases, RuntimeDbWeight, Seal, SealV0, SignedBlock, SignedBlockWithJustification, SignedBlockWithJustifications, Slot, SlotDuration, StorageData, StorageInfo, StorageProof, TransactionInfo, TransactionLongevity, TransactionPriority, TransactionStorageProof, TransactionTag, U32F32, ValidatorId, ValidatorIdOf, Weight, WeightMultiplier, WeightV1, WeightV2 } from '@polkadot/types/interfaces/runtime'; import type { Si0Field, Si0LookupTypeId, Si0Path, Si0Type, Si0TypeDef, Si0TypeDefArray, Si0TypeDefBitSequence, Si0TypeDefCompact, Si0TypeDefComposite, Si0TypeDefPhantom, Si0TypeDefPrimitive, Si0TypeDefSequence, Si0TypeDefTuple, Si0TypeDefVariant, Si0TypeParameter, Si0Variant, Si1Field, Si1LookupTypeId, Si1Path, Si1Type, Si1TypeDef, Si1TypeDefArray, Si1TypeDefBitSequence, Si1TypeDefCompact, Si1TypeDefComposite, Si1TypeDefPrimitive, Si1TypeDefSequence, Si1TypeDefTuple, Si1TypeDefVariant, Si1TypeParameter, Si1Variant, SiField, SiLookupTypeId, SiPath, SiType, SiTypeDef, SiTypeDefArray, SiTypeDefBitSequence, SiTypeDefCompact, SiTypeDefComposite, SiTypeDefPrimitive, SiTypeDefSequence, SiTypeDefTuple, SiTypeDefVariant, SiTypeParameter, SiVariant } from '@polkadot/types/interfaces/scaleInfo'; import type { Period, Priority, SchedulePeriod, SchedulePriority, Scheduled, ScheduledTo254, TaskAddress } from '@polkadot/types/interfaces/scheduler'; import type { BeefyKey, FullIdentification, IdentificationTuple, Keys, MembershipProof, SessionIndex, SessionKeys1, SessionKeys10, SessionKeys10B, SessionKeys2, SessionKeys3, SessionKeys4, SessionKeys5, SessionKeys6, SessionKeys6B, SessionKeys7, SessionKeys7B, SessionKeys8, SessionKeys8B, SessionKeys9, SessionKeys9B, ValidatorCount } from '@polkadot/types/interfaces/session'; import type { Bid, BidKind, SocietyJudgement, SocietyVote, StrikeCount, VouchingStatus } from '@polkadot/types/interfaces/society'; import type { ActiveEraInfo, CompactAssignments, CompactAssignmentsTo257, CompactAssignmentsTo265, CompactAssignmentsWith16, CompactAssignmentsWith24, CompactScore, CompactScoreCompact, ElectionCompute, ElectionPhase, ElectionResult, ElectionScore, ElectionSize, ElectionStatus, EraIndex, EraPoints, EraRewardPoints, EraRewards, Exposure, ExtendedBalance, Forcing, IndividualExposure, KeyType, MomentOf, Nominations, NominatorIndex, NominatorIndexCompact, OffchainAccuracy, OffchainAccuracyCompact, PhragmenScore, Points, RawSolution, RawSolutionTo265, RawSolutionWith16, RawSolutionWith24, ReadySolution, RewardDestination, RewardPoint, RoundSnapshot, SeatHolder, SignedSubmission, SignedSubmissionOf, SignedSubmissionTo276, SlashJournalEntry, SlashingSpans, SlashingSpansTo204, SolutionOrSnapshotSize, SolutionSupport, SolutionSupports, SpanIndex, SpanRecord, StakingLedger, StakingLedgerTo223, StakingLedgerTo240, SubmissionIndicesOf, Supports, UnappliedSlash, UnappliedSlashOther, UnlockChunk, ValidatorIndex, ValidatorIndexCompact, ValidatorPrefs, ValidatorPrefsTo145, ValidatorPrefsTo196, ValidatorPrefsWithBlocked, ValidatorPrefsWithCommission, VoteWeight, Voter } from '@polkadot/types/interfaces/staking'; -import type { ApiId, BlockTrace, BlockTraceEvent, BlockTraceEventData, BlockTraceSpan, KeyValueOption, MigrationStatusResult, ReadProof, RuntimeVersion, RuntimeVersionApi, RuntimeVersionPartial, SpecVersion, StorageChangeSet, TraceBlockResponse, TraceError } from '@polkadot/types/interfaces/state'; +import type { ApiId, BlockTrace, BlockTraceEvent, BlockTraceEventData, BlockTraceSpan, KeyValueOption, MigrationStatusResult, ReadProof, RuntimeVersion, RuntimeVersionApi, RuntimeVersionPartial, RuntimeVersionPre3, RuntimeVersionPre4, SpecVersion, StorageChangeSet, TraceBlockResponse, TraceError } from '@polkadot/types/interfaces/state'; import type { WeightToFeeCoefficient } from '@polkadot/types/interfaces/support'; -import type { AccountInfo, AccountInfoWithDualRefCount, AccountInfoWithProviders, AccountInfoWithRefCount, AccountInfoWithRefCountU8, AccountInfoWithTripleRefCount, ApplyExtrinsicResult, ArithmeticError, BlockLength, BlockWeights, ChainProperties, ChainType, ConsumedWeight, DigestOf, DispatchClass, DispatchError, DispatchErrorModule, DispatchErrorModuleU8, DispatchErrorModuleU8a, DispatchErrorTo198, DispatchInfo, DispatchInfoTo190, DispatchInfoTo244, DispatchOutcome, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, Health, InvalidTransaction, Key, LastRuntimeUpgradeInfo, NetworkState, NetworkStatePeerset, NetworkStatePeersetInfo, NodeRole, NotConnectedPeer, Peer, PeerEndpoint, PeerEndpointAddr, PeerInfo, PeerPing, PerDispatchClassU32, PerDispatchClassWeight, PerDispatchClassWeightsPerClass, Phase, RawOrigin, RefCount, RefCountTo259, SyncState, SystemOrigin, TokenError, TransactionValidityError, TransactionalError, UnknownTransaction, WeightPerClass } from '@polkadot/types/interfaces/system'; +import type { AccountInfo, AccountInfoWithDualRefCount, AccountInfoWithProviders, AccountInfoWithRefCount, AccountInfoWithRefCountU8, AccountInfoWithTripleRefCount, ApplyExtrinsicResult, ApplyExtrinsicResultPre6, ArithmeticError, BlockLength, BlockWeights, ChainProperties, ChainType, ConsumedWeight, DigestOf, DispatchClass, DispatchError, DispatchErrorModule, DispatchErrorModulePre6, DispatchErrorModuleU8, DispatchErrorModuleU8a, DispatchErrorPre6, DispatchErrorPre6First, DispatchErrorTo198, DispatchInfo, DispatchInfoTo190, DispatchInfoTo244, DispatchOutcome, DispatchOutcomePre6, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, Health, InvalidTransaction, Key, LastRuntimeUpgradeInfo, NetworkState, NetworkStatePeerset, NetworkStatePeersetInfo, NodeRole, NotConnectedPeer, Peer, PeerEndpoint, PeerEndpointAddr, PeerInfo, PeerPing, PerDispatchClassU32, PerDispatchClassWeight, PerDispatchClassWeightsPerClass, Phase, RawOrigin, RefCount, RefCountTo259, SyncState, SystemOrigin, TokenError, TransactionValidityError, TransactionalError, UnknownTransaction, WeightPerClass } from '@polkadot/types/interfaces/system'; import type { Bounty, BountyIndex, BountyStatus, BountyStatusActive, BountyStatusCuratorProposed, BountyStatusPendingPayout, OpenTip, OpenTipFinderTo225, OpenTipTip, OpenTipTo225, TreasuryProposal } from '@polkadot/types/interfaces/treasury'; import type { Multiplier } from '@polkadot/types/interfaces/txpayment'; +import type { TransactionSource, TransactionValidity, ValidTransaction } from '@polkadot/types/interfaces/txqueue'; import type { ClassDetails, ClassId, ClassMetadata, DepositBalance, DepositBalanceOf, DestroyWitness, InstanceDetails, InstanceId, InstanceMetadata } from '@polkadot/types/interfaces/uniques'; import type { Multisig, Timepoint } from '@polkadot/types/interfaces/utility'; import type { VestingInfo } from '@polkadot/types/interfaces/vesting'; import type { AssetInstance, AssetInstanceV0, AssetInstanceV1, AssetInstanceV2, BodyId, BodyPart, DoubleEncodedCall, Fungibility, FungibilityV0, FungibilityV1, FungibilityV2, InboundStatus, InstructionV2, InteriorMultiLocation, Junction, JunctionV0, JunctionV1, JunctionV2, Junctions, JunctionsV1, JunctionsV2, MultiAsset, MultiAssetFilter, MultiAssetFilterV1, MultiAssetFilterV2, MultiAssetV0, MultiAssetV1, MultiAssetV2, MultiAssets, MultiAssetsV1, MultiAssetsV2, MultiLocation, MultiLocationV0, MultiLocationV1, MultiLocationV2, NetworkId, OriginKindV0, OriginKindV1, OriginKindV2, OutboundStatus, Outcome, QueryId, QueryStatus, QueueConfigData, Response, ResponseV0, ResponseV1, ResponseV2, ResponseV2Error, ResponseV2Result, VersionMigrationStage, VersionedMultiAsset, VersionedMultiAssets, VersionedMultiLocation, VersionedResponse, VersionedXcm, WeightLimitV2, WildFungibility, WildFungibilityV0, WildFungibilityV1, WildFungibilityV2, WildMultiAsset, WildMultiAssetV1, WildMultiAssetV2, Xcm, XcmAssetId, XcmError, XcmErrorV0, XcmErrorV1, XcmErrorV2, XcmOrder, XcmOrderV0, XcmOrderV1, XcmOrderV2, XcmOrigin, XcmOriginKind, XcmV0, XcmV1, XcmV2, XcmVersion, XcmpMessageFormat } from '@polkadot/types/interfaces/xcm'; declare module '@polkadot/types/types/registry' { - export interface InterfaceTypes { + interface InterfaceTypes { AbridgedCandidateReceipt: AbridgedCandidateReceipt; AbridgedHostConfiguration: AbridgedHostConfiguration; AbridgedHrmpChannel: AbridgedHrmpChannel; @@ -71,6 +79,7 @@ declare module '@polkadot/types/types/registry' { AccountId: AccountId; AccountId20: AccountId20; AccountId32: AccountId32; + AccountId33: AccountId33; AccountIdOf: AccountIdOf; AccountIndex: AccountIndex; AccountInfo: AccountInfo; @@ -95,6 +104,7 @@ declare module '@polkadot/types/types/registry' { AnySignature: AnySignature; ApiId: ApiId; ApplyExtrinsicResult: ApplyExtrinsicResult; + ApplyExtrinsicResultPre6: ApplyExtrinsicResultPre6; ApprovalFlag: ApprovalFlag; Approvals: Approvals; ArithmeticError: ArithmeticError; @@ -130,6 +140,8 @@ declare module '@polkadot/types/types/registry' { BabeBlockWeight: BabeBlockWeight; BabeEpochConfiguration: BabeEpochConfiguration; BabeEquivocationProof: BabeEquivocationProof; + BabeGenesisConfiguration: BabeGenesisConfiguration; + BabeGenesisConfigurationV1: BabeGenesisConfigurationV1; BabeWeight: BabeWeight; BackedCandidate: BackedCandidate; Balance: Balance; @@ -137,12 +149,20 @@ declare module '@polkadot/types/types/registry' { BalanceLockTo212: BalanceLockTo212; BalanceOf: BalanceOf; BalanceStatus: BalanceStatus; + BeefyAuthoritySet: BeefyAuthoritySet; BeefyCommitment: BeefyCommitment; BeefyId: BeefyId; BeefyKey: BeefyKey; BeefyNextAuthoritySet: BeefyNextAuthoritySet; BeefyPayload: BeefyPayload; + BeefyPayloadId: BeefyPayloadId; BeefySignedCommitment: BeefySignedCommitment; + BenchmarkBatch: BenchmarkBatch; + BenchmarkConfig: BenchmarkConfig; + BenchmarkList: BenchmarkList; + BenchmarkMetadata: BenchmarkMetadata; + BenchmarkParameter: BenchmarkParameter; + BenchmarkResult: BenchmarkResult; Bid: Bid; Bidder: Bidder; BidKind: BidKind; @@ -186,6 +206,7 @@ declare module '@polkadot/types/types/registry' { CallOrigin: CallOrigin; CandidateCommitments: CandidateCommitments; CandidateDescriptor: CandidateDescriptor; + CandidateEvent: CandidateEvent; CandidateHash: CandidateHash; CandidateInfo: CandidateInfo; CandidatePendingAvailability: CandidatePendingAvailability; @@ -195,6 +216,7 @@ declare module '@polkadot/types/types/registry' { ChainType: ChainType; ChangesTrieConfiguration: ChangesTrieConfiguration; ChangesTrieSignal: ChangesTrieSignal; + CheckInherentsResult: CheckInherentsResult; ClassDetails: ClassDetails; ClassId: ClassId; ClassMetadata: ClassMetadata; @@ -204,6 +226,8 @@ declare module '@polkadot/types/types/registry' { CodeUploadRequest: CodeUploadRequest; CodeUploadResult: CodeUploadResult; CodeUploadResultValue: CodeUploadResultValue; + CollationInfo: CollationInfo; + CollationInfoV1: CollationInfoV1; CollatorId: CollatorId; CollatorSignature: CollatorSignature; CollectiveOrigin: CollectiveOrigin; @@ -230,6 +254,7 @@ declare module '@polkadot/types/types/registry' { ContractContractSpecV1: ContractContractSpecV1; ContractContractSpecV2: ContractContractSpecV2; ContractContractSpecV3: ContractContractSpecV3; + ContractContractSpecV4: ContractContractSpecV4; ContractCryptoHasher: ContractCryptoHasher; ContractDiscriminant: ContractDiscriminant; ContractDisplayName: ContractDisplayName; @@ -273,6 +298,7 @@ declare module '@polkadot/types/types/registry' { ContractMetadataV1: ContractMetadataV1; ContractMetadataV2: ContractMetadataV2; ContractMetadataV3: ContractMetadataV3; + ContractMetadataV4: ContractMetadataV4; ContractProject: ContractProject; ContractProjectContract: ContractProjectContract; ContractProjectInfo: ContractProjectInfo; @@ -287,6 +313,7 @@ declare module '@polkadot/types/types/registry' { CoreAssignment: CoreAssignment; CoreIndex: CoreIndex; CoreOccupied: CoreOccupied; + CoreState: CoreState; CrateVersion: CrateVersion; CreatedBlock: CreatedBlock; CumulusPalletDmpQueueCall: CumulusPalletDmpQueueCall; @@ -328,14 +355,18 @@ declare module '@polkadot/types/types/registry' { DispatchClass: DispatchClass; DispatchError: DispatchError; DispatchErrorModule: DispatchErrorModule; + DispatchErrorModulePre6: DispatchErrorModulePre6; DispatchErrorModuleU8: DispatchErrorModuleU8; DispatchErrorModuleU8a: DispatchErrorModuleU8a; + DispatchErrorPre6: DispatchErrorPre6; + DispatchErrorPre6First: DispatchErrorPre6First; DispatchErrorTo198: DispatchErrorTo198; DispatchFeePayment: DispatchFeePayment; DispatchInfo: DispatchInfo; DispatchInfoTo190: DispatchInfoTo190; DispatchInfoTo244: DispatchInfoTo244; DispatchOutcome: DispatchOutcome; + DispatchOutcomePre6: DispatchOutcomePre6; DispatchResult: DispatchResult; DispatchResultOf: DispatchResultOf; DispatchResultTo198: DispatchResultTo198; @@ -359,6 +390,7 @@ declare module '@polkadot/types/types/registry' { ElectionStatus: ElectionStatus; EncodedFinalityProofs: EncodedFinalityProofs; EncodedJustification: EncodedJustification; + Epoch: Epoch; EpochAuthorship: EpochAuthorship; Era: Era; EraIndex: EraIndex; @@ -397,6 +429,7 @@ declare module '@polkadot/types/types/registry' { EthereumTransactionTransactionSignature: EthereumTransactionTransactionSignature; EthereumTransactionTransactionV2: EthereumTransactionTransactionV2; EthereumTypesHashH64: EthereumTypesHashH64; + EthFeeHistory: EthFeeHistory; EthFilter: EthFilter; EthFilterAddress: EthFilterAddress; EthFilterChanges: EthFilterChanges; @@ -406,6 +439,8 @@ declare module '@polkadot/types/types/registry' { EthHeader: EthHeader; EthLog: EthLog; EthReceipt: EthReceipt; + EthReceiptV0: EthReceiptV0; + EthReceiptV3: EthReceiptV3; EthRichBlock: EthRichBlock; EthRichHeader: EthRichHeader; EthStorageProof: EthStorageProof; @@ -433,11 +468,13 @@ declare module '@polkadot/types/types/registry' { EventMetadataV9: EventMetadataV9; EventRecord: EventRecord; EvmAccount: EvmAccount; + EvmCallInfo: EvmCallInfo; EvmCoreErrorExitError: EvmCoreErrorExitError; EvmCoreErrorExitFatal: EvmCoreErrorExitFatal; EvmCoreErrorExitReason: EvmCoreErrorExitReason; EvmCoreErrorExitRevert: EvmCoreErrorExitRevert; EvmCoreErrorExitSucceed: EvmCoreErrorExitSucceed; + EvmCreateInfo: EvmCreateInfo; EvmLog: EvmLog; EvmVicinity: EvmVicinity; ExecReturnValue: ExecReturnValue; @@ -466,6 +503,10 @@ declare module '@polkadot/types/types/registry' { ExtrinsicsWeight: ExtrinsicsWeight; ExtrinsicUnknown: ExtrinsicUnknown; ExtrinsicV4: ExtrinsicV4; + f32: f32; + F32: F32; + f64: f64; + F64: F64; FeeDetails: FeeDetails; Fixed128: Fixed128; Fixed64: Fixed64; @@ -537,6 +578,7 @@ declare module '@polkadot/types/types/registry' { GrandpaPrevote: GrandpaPrevote; GrandpaSignedPrecommit: GrandpaSignedPrecommit; GroupIndex: GroupIndex; + GroupRotationInfo: GroupRotationInfo; H1024: H1024; H128: H128; H160: H160; @@ -593,6 +635,8 @@ declare module '@polkadot/types/types/registry' { Index: Index; IndicesLookupSource: IndicesLookupSource; IndividualExposure: IndividualExposure; + InherentData: InherentData; + InherentIdentifier: InherentIdentifier; InitializationData: InitializationData; InstanceDetails: InstanceDetails; InstanceId: InstanceId; @@ -663,8 +707,14 @@ declare module '@polkadot/types/types/registry' { MetadataV14: MetadataV14; MetadataV9: MetadataV9; MigrationStatusResult: MigrationStatusResult; + MmrBatchProof: MmrBatchProof; + MmrEncodableOpaqueLeaf: MmrEncodableOpaqueLeaf; + MmrError: MmrError; MmrLeafBatchProof: MmrLeafBatchProof; + MmrLeafIndex: MmrLeafIndex; MmrLeafProof: MmrLeafProof; + MmrNodeIndex: MmrNodeIndex; + MmrProof: MmrProof; MmrRootHash: MmrRootHash; ModuleConstantMetadataV10: ModuleConstantMetadataV10; ModuleConstantMetadataV11: ModuleConstantMetadataV11; @@ -714,14 +764,21 @@ declare module '@polkadot/types/types/registry' { NominatorIndex: NominatorIndex; NominatorIndexCompact: NominatorIndexCompact; NotConnectedPeer: NotConnectedPeer; + NpApiError: NpApiError; Null: Null; + OccupiedCore: OccupiedCore; + OccupiedCoreAssumption: OccupiedCoreAssumption; OffchainAccuracy: OffchainAccuracy; OffchainAccuracyCompact: OffchainAccuracyCompact; OffenceDetails: OffenceDetails; Offender: Offender; + OldV1SessionInfo: OldV1SessionInfo; + OpalRuntimeCheckMaintenance: OpalRuntimeCheckMaintenance; OpalRuntimeOriginCaller: OpalRuntimeOriginCaller; OpalRuntimeRuntime: OpalRuntimeRuntime; OpaqueCall: OpaqueCall; + OpaqueKeyOwnershipProof: OpaqueKeyOwnershipProof; + OpaqueMetadata: OpaqueMetadata; OpaqueMultiaddr: OpaqueMultiaddr; OpaqueNetworkState: OpaqueNetworkState; OpaquePeerId: OpaquePeerId; @@ -786,6 +843,9 @@ declare module '@polkadot/types/types/registry' { PalletFungibleError: PalletFungibleError; PalletId: PalletId; PalletInflationCall: PalletInflationCall; + PalletMaintenanceCall: PalletMaintenanceCall; + PalletMaintenanceError: PalletMaintenanceError; + PalletMaintenanceEvent: PalletMaintenanceEvent; PalletMetadataLatest: PalletMetadataLatest; PalletMetadataV14: PalletMetadataV14; PalletNonfungibleError: PalletNonfungibleError; @@ -896,6 +956,7 @@ declare module '@polkadot/types/types/registry' { ProxyDefinition: ProxyDefinition; ProxyState: ProxyState; ProxyType: ProxyType; + PvfCheckStatement: PvfCheckStatement; QueryId: QueryId; QueryStatus: QueryStatus; QueueConfigData: QueueConfigData; @@ -984,8 +1045,11 @@ declare module '@polkadot/types/types/registry' { RuntimeVersion: RuntimeVersion; RuntimeVersionApi: RuntimeVersionApi; RuntimeVersionPartial: RuntimeVersionPartial; + RuntimeVersionPre3: RuntimeVersionPre3; + RuntimeVersionPre4: RuntimeVersionPre4; Schedule: Schedule; Scheduled: Scheduled; + ScheduledCore: ScheduledCore; ScheduledTo254: ScheduledTo254; SchedulePeriod: SchedulePeriod; SchedulePriority: SchedulePriority; @@ -993,6 +1057,7 @@ declare module '@polkadot/types/types/registry' { ScheduleTo258: ScheduleTo258; ScheduleTo264: ScheduleTo264; Scheduling: Scheduling; + ScrapedOnChainVotes: ScrapedOnChainVotes; Seal: Seal; SealV0: SealV0; SeatHolder: SeatHolder; @@ -1081,6 +1146,7 @@ declare module '@polkadot/types/types/registry' { SlashingSpansTo204: SlashingSpansTo204; SlashJournalEntry: SlashJournalEntry; Slot: Slot; + SlotDuration: SlotDuration; SlotNumber: SlotNumber; SlotRange: SlotRange; SlotRange10: SlotRange10; @@ -1143,6 +1209,7 @@ declare module '@polkadot/types/types/registry' { StorageHasherV13: StorageHasherV13; StorageHasherV14: StorageHasherV14; StorageHasherV9: StorageHasherV9; + StorageInfo: StorageInfo; StorageKey: StorageKey; StorageKind: StorageKind; StorageMetadataV10: StorageMetadataV10; @@ -1172,11 +1239,15 @@ declare module '@polkadot/types/types/registry' { TraceError: TraceError; TransactionalError: TransactionalError; TransactionInfo: TransactionInfo; + TransactionLongevity: TransactionLongevity; TransactionPriority: TransactionPriority; + TransactionSource: TransactionSource; TransactionStorageProof: TransactionStorageProof; + TransactionTag: TransactionTag; TransactionV0: TransactionV0; TransactionV1: TransactionV1; TransactionV2: TransactionV2; + TransactionValidity: TransactionValidity; TransactionValidityError: TransactionValidityError; TransientValidationData: TransientValidationData; TreasuryProposal: TreasuryProposal; @@ -1251,10 +1322,12 @@ declare module '@polkadot/types/types/registry' { ValidatorPrefsTo196: ValidatorPrefsTo196; ValidatorPrefsWithBlocked: ValidatorPrefsWithBlocked; ValidatorPrefsWithCommission: ValidatorPrefsWithCommission; + ValidatorSet: ValidatorSet; ValidatorSetId: ValidatorSetId; ValidatorSignature: ValidatorSignature; ValidDisputeStatementKind: ValidDisputeStatementKind; ValidityAttestation: ValidityAttestation; + ValidTransaction: ValidTransaction; VecInboundHrmpMessage: VecInboundHrmpMessage; VersionedMultiAsset: VersionedMultiAsset; VersionedMultiAssets: VersionedMultiAssets; @@ -1285,6 +1358,8 @@ declare module '@polkadot/types/types/registry' { WeightMultiplier: WeightMultiplier; WeightPerClass: WeightPerClass; WeightToFeeCoefficient: WeightToFeeCoefficient; + WeightV1: WeightV1; + WeightV2: WeightV2; WildFungibility: WildFungibility; WildFungibilityV0: WildFungibilityV0; WildFungibilityV1: WildFungibilityV1; diff --git a/tests/src/interfaces/default/types.ts b/tests/src/interfaces/default/types.ts index c0788206cc..569c605e01 100644 --- a/tests/src/interfaces/default/types.ts +++ b/tests/src/interfaces/default/types.ts @@ -706,6 +706,9 @@ export interface FrameSystemPhase extends Enum { readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization'; } +/** @name OpalRuntimeCheckMaintenance */ +export interface OpalRuntimeCheckMaintenance extends Null {} + /** @name OpalRuntimeOriginCaller */ export interface OpalRuntimeOriginCaller extends Enum { readonly isVoid: boolean; @@ -1177,6 +1180,23 @@ export interface PalletInflationCall extends Enum { readonly type: 'StartInflation'; } +/** @name PalletMaintenanceCall */ +export interface PalletMaintenanceCall extends Enum { + readonly isEnable: boolean; + readonly isDisable: boolean; + readonly type: 'Enable' | 'Disable'; +} + +/** @name PalletMaintenanceError */ +export interface PalletMaintenanceError extends Null {} + +/** @name PalletMaintenanceEvent */ +export interface PalletMaintenanceEvent extends Enum { + readonly isMaintenanceEnabled: boolean; + readonly isMaintenanceDisabled: boolean; + readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled'; +} + /** @name PalletNonfungibleError */ export interface PalletNonfungibleError extends Enum { readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean; diff --git a/tests/src/interfaces/lookup.ts b/tests/src/interfaces/lookup.ts index 52a0c267e4..79f5365e5c 100644 --- a/tests/src/interfaces/lookup.ts +++ b/tests/src/interfaces/lookup.ts @@ -1934,7 +1934,13 @@ export default { } }, /** - * Lookup258: pallet_sudo::pallet::Event + * Lookup258: pallet_maintenance::pallet::Call + **/ + PalletMaintenanceCall: { + _enum: ['enable', 'disable'] + }, + /** + * Lookup259: pallet_sudo::pallet::Event **/ PalletSudoEvent: { _enum: { @@ -1950,7 +1956,7 @@ export default { } }, /** - * Lookup260: sp_runtime::DispatchError + * Lookup261: sp_runtime::DispatchError **/ SpRuntimeDispatchError: { _enum: { @@ -1967,38 +1973,38 @@ export default { } }, /** - * Lookup261: sp_runtime::ModuleError + * Lookup262: sp_runtime::ModuleError **/ SpRuntimeModuleError: { index: 'u8', error: '[u8;4]' }, /** - * Lookup262: sp_runtime::TokenError + * Lookup263: sp_runtime::TokenError **/ SpRuntimeTokenError: { _enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported'] }, /** - * Lookup263: sp_runtime::ArithmeticError + * Lookup264: sp_runtime::ArithmeticError **/ SpRuntimeArithmeticError: { _enum: ['Underflow', 'Overflow', 'DivisionByZero'] }, /** - * Lookup264: sp_runtime::TransactionalError + * Lookup265: sp_runtime::TransactionalError **/ SpRuntimeTransactionalError: { _enum: ['LimitReached', 'NoLayer'] }, /** - * Lookup265: pallet_sudo::pallet::Error + * Lookup266: pallet_sudo::pallet::Error **/ PalletSudoError: { _enum: ['RequireSudo'] }, /** - * Lookup266: frame_system::AccountInfo> + * Lookup267: frame_system::AccountInfo> **/ FrameSystemAccountInfo: { nonce: 'u32', @@ -2008,7 +2014,7 @@ export default { data: 'PalletBalancesAccountData' }, /** - * Lookup267: frame_support::weights::PerDispatchClass + * Lookup268: frame_support::weights::PerDispatchClass **/ FrameSupportWeightsPerDispatchClassU64: { normal: 'u64', @@ -2016,13 +2022,13 @@ export default { mandatory: 'u64' }, /** - * Lookup268: sp_runtime::generic::digest::Digest + * Lookup269: sp_runtime::generic::digest::Digest **/ SpRuntimeDigest: { logs: 'Vec' }, /** - * Lookup270: sp_runtime::generic::digest::DigestItem + * Lookup271: sp_runtime::generic::digest::DigestItem **/ SpRuntimeDigestDigestItem: { _enum: { @@ -2038,7 +2044,7 @@ export default { } }, /** - * Lookup272: frame_system::EventRecord + * Lookup273: frame_system::EventRecord **/ FrameSystemEventRecord: { phase: 'FrameSystemPhase', @@ -2046,7 +2052,7 @@ export default { topics: 'Vec' }, /** - * Lookup274: frame_system::pallet::Event + * Lookup275: frame_system::pallet::Event **/ FrameSystemEvent: { _enum: { @@ -2074,7 +2080,7 @@ export default { } }, /** - * Lookup275: frame_support::weights::DispatchInfo + * Lookup276: frame_support::weights::DispatchInfo **/ FrameSupportWeightsDispatchInfo: { weight: 'u64', @@ -2082,19 +2088,19 @@ export default { paysFee: 'FrameSupportWeightsPays' }, /** - * Lookup276: frame_support::weights::DispatchClass + * Lookup277: frame_support::weights::DispatchClass **/ FrameSupportWeightsDispatchClass: { _enum: ['Normal', 'Operational', 'Mandatory'] }, /** - * Lookup277: frame_support::weights::Pays + * Lookup278: frame_support::weights::Pays **/ FrameSupportWeightsPays: { _enum: ['Yes', 'No'] }, /** - * Lookup278: orml_vesting::module::Event + * Lookup279: orml_vesting::module::Event **/ OrmlVestingModuleEvent: { _enum: { @@ -2113,7 +2119,7 @@ export default { } }, /** - * Lookup279: cumulus_pallet_xcmp_queue::pallet::Event + * Lookup280: cumulus_pallet_xcmp_queue::pallet::Event **/ CumulusPalletXcmpQueueEvent: { _enum: { @@ -2128,7 +2134,7 @@ export default { } }, /** - * Lookup280: pallet_xcm::pallet::Event + * Lookup281: pallet_xcm::pallet::Event **/ PalletXcmEvent: { _enum: { @@ -2151,7 +2157,7 @@ export default { } }, /** - * Lookup281: xcm::v2::traits::Outcome + * Lookup282: xcm::v2::traits::Outcome **/ XcmV2TraitsOutcome: { _enum: { @@ -2161,7 +2167,7 @@ export default { } }, /** - * Lookup283: cumulus_pallet_xcm::pallet::Event + * Lookup284: cumulus_pallet_xcm::pallet::Event **/ CumulusPalletXcmEvent: { _enum: { @@ -2171,7 +2177,7 @@ export default { } }, /** - * Lookup284: cumulus_pallet_dmp_queue::pallet::Event + * Lookup285: cumulus_pallet_dmp_queue::pallet::Event **/ CumulusPalletDmpQueueEvent: { _enum: { @@ -2202,7 +2208,7 @@ export default { } }, /** - * Lookup285: pallet_unique::RawEvent> + * Lookup286: pallet_unique::RawEvent> **/ PalletUniqueRawEvent: { _enum: { @@ -2219,7 +2225,7 @@ export default { } }, /** - * Lookup286: pallet_unique_scheduler::pallet::Event + * Lookup287: pallet_unique_scheduler::pallet::Event **/ PalletUniqueSchedulerEvent: { _enum: { @@ -2244,13 +2250,13 @@ export default { } }, /** - * Lookup288: frame_support::traits::schedule::LookupError + * Lookup289: frame_support::traits::schedule::LookupError **/ FrameSupportScheduleLookupError: { _enum: ['Unknown', 'BadFormat'] }, /** - * Lookup289: pallet_common::pallet::Event + * Lookup290: pallet_common::pallet::Event **/ PalletCommonEvent: { _enum: { @@ -2268,7 +2274,7 @@ export default { } }, /** - * Lookup290: pallet_structure::pallet::Event + * Lookup291: pallet_structure::pallet::Event **/ PalletStructureEvent: { _enum: { @@ -2276,7 +2282,7 @@ export default { } }, /** - * Lookup291: pallet_rmrk_core::pallet::Event + * Lookup292: pallet_rmrk_core::pallet::Event **/ PalletRmrkCoreEvent: { _enum: { @@ -2353,7 +2359,7 @@ export default { } }, /** - * Lookup292: pallet_rmrk_equip::pallet::Event + * Lookup293: pallet_rmrk_equip::pallet::Event **/ PalletRmrkEquipEvent: { _enum: { @@ -2368,7 +2374,7 @@ export default { } }, /** - * Lookup293: pallet_evm::pallet::Event + * Lookup294: pallet_evm::pallet::Event **/ PalletEvmEvent: { _enum: { @@ -2382,7 +2388,7 @@ export default { } }, /** - * Lookup294: ethereum::log::Log + * Lookup295: ethereum::log::Log **/ EthereumLog: { address: 'H160', @@ -2390,7 +2396,7 @@ export default { data: 'Bytes' }, /** - * Lookup295: pallet_ethereum::pallet::Event + * Lookup296: pallet_ethereum::pallet::Event **/ PalletEthereumEvent: { _enum: { @@ -2398,7 +2404,7 @@ export default { } }, /** - * Lookup296: evm_core::error::ExitReason + * Lookup297: evm_core::error::ExitReason **/ EvmCoreErrorExitReason: { _enum: { @@ -2409,13 +2415,13 @@ export default { } }, /** - * Lookup297: evm_core::error::ExitSucceed + * Lookup298: evm_core::error::ExitSucceed **/ EvmCoreErrorExitSucceed: { _enum: ['Stopped', 'Returned', 'Suicided'] }, /** - * Lookup298: evm_core::error::ExitError + * Lookup299: evm_core::error::ExitError **/ EvmCoreErrorExitError: { _enum: { @@ -2437,13 +2443,13 @@ export default { } }, /** - * Lookup301: evm_core::error::ExitRevert + * Lookup302: evm_core::error::ExitRevert **/ EvmCoreErrorExitRevert: { _enum: ['Reverted'] }, /** - * Lookup302: evm_core::error::ExitFatal + * Lookup303: evm_core::error::ExitFatal **/ EvmCoreErrorExitFatal: { _enum: { @@ -2454,7 +2460,13 @@ export default { } }, /** - * Lookup303: frame_system::Phase + * Lookup304: pallet_maintenance::pallet::Event + **/ + PalletMaintenanceEvent: { + _enum: ['MaintenanceEnabled', 'MaintenanceDisabled'] + }, + /** + * Lookup305: frame_system::Phase **/ FrameSystemPhase: { _enum: { @@ -2464,14 +2476,14 @@ export default { } }, /** - * Lookup305: frame_system::LastRuntimeUpgradeInfo + * Lookup307: frame_system::LastRuntimeUpgradeInfo **/ FrameSystemLastRuntimeUpgradeInfo: { specVersion: 'Compact', specName: 'Text' }, /** - * Lookup306: frame_system::limits::BlockWeights + * Lookup308: frame_system::limits::BlockWeights **/ FrameSystemLimitsBlockWeights: { baseBlock: 'u64', @@ -2479,7 +2491,7 @@ export default { perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass' }, /** - * Lookup307: frame_support::weights::PerDispatchClass + * Lookup309: frame_support::weights::PerDispatchClass **/ FrameSupportWeightsPerDispatchClassWeightsPerClass: { normal: 'FrameSystemLimitsWeightsPerClass', @@ -2487,7 +2499,7 @@ export default { mandatory: 'FrameSystemLimitsWeightsPerClass' }, /** - * Lookup308: frame_system::limits::WeightsPerClass + * Lookup310: frame_system::limits::WeightsPerClass **/ FrameSystemLimitsWeightsPerClass: { baseExtrinsic: 'u64', @@ -2496,13 +2508,13 @@ export default { reserved: 'Option' }, /** - * Lookup310: frame_system::limits::BlockLength + * Lookup312: frame_system::limits::BlockLength **/ FrameSystemLimitsBlockLength: { max: 'FrameSupportWeightsPerDispatchClassU32' }, /** - * Lookup311: frame_support::weights::PerDispatchClass + * Lookup313: frame_support::weights::PerDispatchClass **/ FrameSupportWeightsPerDispatchClassU32: { normal: 'u32', @@ -2510,14 +2522,14 @@ export default { mandatory: 'u32' }, /** - * Lookup312: frame_support::weights::RuntimeDbWeight + * Lookup314: frame_support::weights::RuntimeDbWeight **/ FrameSupportWeightsRuntimeDbWeight: { read: 'u64', write: 'u64' }, /** - * Lookup313: sp_version::RuntimeVersion + * Lookup315: sp_version::RuntimeVersion **/ SpVersionRuntimeVersion: { specName: 'Text', @@ -2530,19 +2542,19 @@ export default { stateVersion: 'u8' }, /** - * Lookup317: frame_system::pallet::Error + * Lookup319: frame_system::pallet::Error **/ FrameSystemError: { _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered'] }, /** - * Lookup319: orml_vesting::module::Error + * Lookup321: orml_vesting::module::Error **/ OrmlVestingModuleError: { _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded'] }, /** - * Lookup321: cumulus_pallet_xcmp_queue::InboundChannelDetails + * Lookup323: cumulus_pallet_xcmp_queue::InboundChannelDetails **/ CumulusPalletXcmpQueueInboundChannelDetails: { sender: 'u32', @@ -2550,19 +2562,19 @@ export default { messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>' }, /** - * Lookup322: cumulus_pallet_xcmp_queue::InboundState + * Lookup324: cumulus_pallet_xcmp_queue::InboundState **/ CumulusPalletXcmpQueueInboundState: { _enum: ['Ok', 'Suspended'] }, /** - * Lookup325: polkadot_parachain::primitives::XcmpMessageFormat + * Lookup327: polkadot_parachain::primitives::XcmpMessageFormat **/ PolkadotParachainPrimitivesXcmpMessageFormat: { _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals'] }, /** - * Lookup328: cumulus_pallet_xcmp_queue::OutboundChannelDetails + * Lookup330: cumulus_pallet_xcmp_queue::OutboundChannelDetails **/ CumulusPalletXcmpQueueOutboundChannelDetails: { recipient: 'u32', @@ -2572,13 +2584,13 @@ export default { lastIndex: 'u16' }, /** - * Lookup329: cumulus_pallet_xcmp_queue::OutboundState + * Lookup331: cumulus_pallet_xcmp_queue::OutboundState **/ CumulusPalletXcmpQueueOutboundState: { _enum: ['Ok', 'Suspended'] }, /** - * Lookup331: cumulus_pallet_xcmp_queue::QueueConfigData + * Lookup333: cumulus_pallet_xcmp_queue::QueueConfigData **/ CumulusPalletXcmpQueueQueueConfigData: { suspendThreshold: 'u32', @@ -2589,29 +2601,29 @@ export default { xcmpMaxIndividualWeight: 'u64' }, /** - * Lookup333: cumulus_pallet_xcmp_queue::pallet::Error + * Lookup335: cumulus_pallet_xcmp_queue::pallet::Error **/ CumulusPalletXcmpQueueError: { _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit'] }, /** - * Lookup334: pallet_xcm::pallet::Error + * Lookup336: pallet_xcm::pallet::Error **/ PalletXcmError: { _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed'] }, /** - * Lookup335: cumulus_pallet_xcm::pallet::Error + * Lookup337: cumulus_pallet_xcm::pallet::Error **/ CumulusPalletXcmError: 'Null', /** - * Lookup336: cumulus_pallet_dmp_queue::ConfigData + * Lookup338: cumulus_pallet_dmp_queue::ConfigData **/ CumulusPalletDmpQueueConfigData: { maxIndividual: 'u64' }, /** - * Lookup337: cumulus_pallet_dmp_queue::PageIndexData + * Lookup339: cumulus_pallet_dmp_queue::PageIndexData **/ CumulusPalletDmpQueuePageIndexData: { beginUsed: 'u32', @@ -2619,19 +2631,19 @@ export default { overweightCount: 'u64' }, /** - * Lookup340: cumulus_pallet_dmp_queue::pallet::Error + * Lookup342: cumulus_pallet_dmp_queue::pallet::Error **/ CumulusPalletDmpQueueError: { _enum: ['Unknown', 'OverLimit'] }, /** - * Lookup344: pallet_unique::Error + * Lookup346: pallet_unique::Error **/ PalletUniqueError: { _enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection'] }, /** - * Lookup347: pallet_unique_scheduler::ScheduledV3, BlockNumber, opal_runtime::OriginCaller, sp_core::crypto::AccountId32> + * Lookup349: pallet_unique_scheduler::ScheduledV3, BlockNumber, opal_runtime::OriginCaller, sp_core::crypto::AccountId32> **/ PalletUniqueSchedulerScheduledV3: { maybeId: 'Option<[u8;16]>', @@ -2641,7 +2653,7 @@ export default { origin: 'OpalRuntimeOriginCaller' }, /** - * Lookup348: opal_runtime::OriginCaller + * Lookup350: opal_runtime::OriginCaller **/ OpalRuntimeOriginCaller: { _enum: { @@ -2750,7 +2762,7 @@ export default { } }, /** - * Lookup349: frame_support::dispatch::RawOrigin + * Lookup351: frame_support::dispatch::RawOrigin **/ FrameSupportDispatchRawOrigin: { _enum: { @@ -2760,7 +2772,7 @@ export default { } }, /** - * Lookup350: pallet_xcm::pallet::Origin + * Lookup352: pallet_xcm::pallet::Origin **/ PalletXcmOrigin: { _enum: { @@ -2769,7 +2781,7 @@ export default { } }, /** - * Lookup351: cumulus_pallet_xcm::pallet::Origin + * Lookup353: cumulus_pallet_xcm::pallet::Origin **/ CumulusPalletXcmOrigin: { _enum: { @@ -2778,7 +2790,7 @@ export default { } }, /** - * Lookup352: pallet_ethereum::RawOrigin + * Lookup354: pallet_ethereum::RawOrigin **/ PalletEthereumRawOrigin: { _enum: { @@ -2786,17 +2798,17 @@ export default { } }, /** - * Lookup353: sp_core::Void + * Lookup355: sp_core::Void **/ SpCoreVoid: 'Null', /** - * Lookup354: pallet_unique_scheduler::pallet::Error + * Lookup356: pallet_unique_scheduler::pallet::Error **/ PalletUniqueSchedulerError: { _enum: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange'] }, /** - * Lookup355: up_data_structs::Collection + * Lookup357: up_data_structs::Collection **/ UpDataStructsCollection: { owner: 'AccountId32', @@ -2810,7 +2822,7 @@ export default { externalCollection: 'bool' }, /** - * Lookup356: up_data_structs::SponsorshipState + * Lookup358: up_data_structs::SponsorshipState **/ UpDataStructsSponsorshipState: { _enum: { @@ -2820,7 +2832,7 @@ export default { } }, /** - * Lookup357: up_data_structs::Properties + * Lookup359: up_data_structs::Properties **/ UpDataStructsProperties: { map: 'UpDataStructsPropertiesMapBoundedVec', @@ -2828,15 +2840,15 @@ export default { spaceLimit: 'u32' }, /** - * Lookup358: up_data_structs::PropertiesMap> + * Lookup360: up_data_structs::PropertiesMap> **/ UpDataStructsPropertiesMapBoundedVec: 'BTreeMap', /** - * Lookup363: up_data_structs::PropertiesMap + * Lookup365: up_data_structs::PropertiesMap **/ UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap', /** - * Lookup370: up_data_structs::CollectionStats + * Lookup372: up_data_structs::CollectionStats **/ UpDataStructsCollectionStats: { created: 'u32', @@ -2844,25 +2856,25 @@ export default { alive: 'u32' }, /** - * Lookup371: up_data_structs::TokenChild + * Lookup373: up_data_structs::TokenChild **/ UpDataStructsTokenChild: { token: 'u32', collection: 'u32' }, /** - * Lookup372: PhantomType::up_data_structs + * Lookup374: PhantomType::up_data_structs **/ PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]', /** - * Lookup374: up_data_structs::TokenData> + * Lookup376: up_data_structs::TokenData> **/ UpDataStructsTokenData: { properties: 'Vec', owner: 'Option' }, /** - * Lookup376: up_data_structs::RpcCollection + * Lookup378: up_data_structs::RpcCollection **/ UpDataStructsRpcCollection: { owner: 'AccountId32', @@ -2878,7 +2890,7 @@ export default { readOnly: 'bool' }, /** - * Lookup377: rmrk_traits::collection::CollectionInfo, frame_support::storage::bounded_vec::BoundedVec, sp_core::crypto::AccountId32> + * Lookup379: rmrk_traits::collection::CollectionInfo, frame_support::storage::bounded_vec::BoundedVec, sp_core::crypto::AccountId32> **/ RmrkTraitsCollectionCollectionInfo: { issuer: 'AccountId32', @@ -2888,7 +2900,7 @@ export default { nftsCount: 'u32' }, /** - * Lookup378: rmrk_traits::nft::NftInfo> + * Lookup380: rmrk_traits::nft::NftInfo> **/ RmrkTraitsNftNftInfo: { owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple', @@ -2898,14 +2910,14 @@ export default { pending: 'bool' }, /** - * Lookup380: rmrk_traits::nft::RoyaltyInfo + * Lookup382: rmrk_traits::nft::RoyaltyInfo **/ RmrkTraitsNftRoyaltyInfo: { recipient: 'AccountId32', amount: 'Permill' }, /** - * Lookup381: rmrk_traits::resource::ResourceInfo, frame_support::storage::bounded_vec::BoundedVec> + * Lookup383: rmrk_traits::resource::ResourceInfo, frame_support::storage::bounded_vec::BoundedVec> **/ RmrkTraitsResourceResourceInfo: { id: 'u32', @@ -2914,14 +2926,14 @@ export default { pendingRemoval: 'bool' }, /** - * Lookup382: rmrk_traits::property::PropertyInfo, frame_support::storage::bounded_vec::BoundedVec> + * Lookup384: rmrk_traits::property::PropertyInfo, frame_support::storage::bounded_vec::BoundedVec> **/ RmrkTraitsPropertyPropertyInfo: { key: 'Bytes', value: 'Bytes' }, /** - * Lookup383: rmrk_traits::base::BaseInfo> + * Lookup385: rmrk_traits::base::BaseInfo> **/ RmrkTraitsBaseBaseInfo: { issuer: 'AccountId32', @@ -2929,80 +2941,80 @@ export default { symbol: 'Bytes' }, /** - * Lookup384: rmrk_traits::nft::NftChild + * Lookup386: rmrk_traits::nft::NftChild **/ RmrkTraitsNftNftChild: { collectionId: 'u32', nftId: 'u32' }, /** - * Lookup386: pallet_common::pallet::Error + * Lookup388: pallet_common::pallet::Error **/ PalletCommonError: { _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'CantDestroyNotEmptyCollection', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds', 'UserIsNotAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded', 'NoSpaceForProperty', 'PropertyLimitReached', 'PropertyKeyIsTooLong', 'InvalidCharacterInPropertyKey', 'EmptyPropertyKey', 'CollectionIsExternal', 'CollectionIsInternal'] }, /** - * Lookup388: pallet_fungible::pallet::Error + * Lookup390: pallet_fungible::pallet::Error **/ PalletFungibleError: { _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed'] }, /** - * Lookup389: pallet_refungible::ItemData + * Lookup391: pallet_refungible::ItemData **/ PalletRefungibleItemData: { constData: 'Bytes' }, /** - * Lookup393: pallet_refungible::pallet::Error + * Lookup395: pallet_refungible::pallet::Error **/ PalletRefungibleError: { _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed'] }, /** - * Lookup394: pallet_nonfungible::ItemData> + * Lookup396: pallet_nonfungible::ItemData> **/ PalletNonfungibleItemData: { owner: 'PalletEvmAccountBasicCrossAccountIdRepr' }, /** - * Lookup396: up_data_structs::PropertyScope + * Lookup398: up_data_structs::PropertyScope **/ UpDataStructsPropertyScope: { _enum: ['None', 'Rmrk'] }, /** - * Lookup398: pallet_nonfungible::pallet::Error + * Lookup400: pallet_nonfungible::pallet::Error **/ PalletNonfungibleError: { _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren'] }, /** - * Lookup399: pallet_structure::pallet::Error + * Lookup401: pallet_structure::pallet::Error **/ PalletStructureError: { _enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound'] }, /** - * Lookup400: pallet_rmrk_core::pallet::Error + * Lookup402: pallet_rmrk_core::pallet::Error **/ PalletRmrkCoreError: { _enum: ['CorruptedCollectionType', 'NftTypeEncodeError', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'RmrkPropertyIsNotFound', 'UnableToDecodeRmrkData', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'CannotRejectNonPendingNft', 'ResourceNotPending', 'NoAvailableResourceId'] }, /** - * Lookup402: pallet_rmrk_equip::pallet::Error + * Lookup404: pallet_rmrk_equip::pallet::Error **/ PalletRmrkEquipError: { _enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst', 'PartDoesntExist', 'NoEquippableOnFixedPart'] }, /** - * Lookup405: pallet_evm::pallet::Error + * Lookup407: pallet_evm::pallet::Error **/ PalletEvmError: { _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce'] }, /** - * Lookup408: fp_rpc::TransactionStatus + * Lookup410: fp_rpc::TransactionStatus **/ FpRpcTransactionStatus: { transactionHash: 'H256', @@ -3014,11 +3026,11 @@ export default { logsBloom: 'EthbloomBloom' }, /** - * Lookup410: ethbloom::Bloom + * Lookup412: ethbloom::Bloom **/ EthbloomBloom: '[u8;256]', /** - * Lookup412: ethereum::receipt::ReceiptV3 + * Lookup414: ethereum::receipt::ReceiptV3 **/ EthereumReceiptReceiptV3: { _enum: { @@ -3028,7 +3040,7 @@ export default { } }, /** - * Lookup413: ethereum::receipt::EIP658ReceiptData + * Lookup415: ethereum::receipt::EIP658ReceiptData **/ EthereumReceiptEip658ReceiptData: { statusCode: 'u8', @@ -3037,7 +3049,7 @@ export default { logs: 'Vec' }, /** - * Lookup414: ethereum::block::Block + * Lookup416: ethereum::block::Block **/ EthereumBlock: { header: 'EthereumHeader', @@ -3045,7 +3057,7 @@ export default { ommers: 'Vec' }, /** - * Lookup415: ethereum::header::Header + * Lookup417: ethereum::header::Header **/ EthereumHeader: { parentHash: 'H256', @@ -3065,41 +3077,45 @@ export default { nonce: 'EthereumTypesHashH64' }, /** - * Lookup416: ethereum_types::hash::H64 + * Lookup418: ethereum_types::hash::H64 **/ EthereumTypesHashH64: '[u8;8]', /** - * Lookup421: pallet_ethereum::pallet::Error + * Lookup423: pallet_ethereum::pallet::Error **/ PalletEthereumError: { _enum: ['InvalidSignature', 'PreLogExists'] }, /** - * Lookup422: pallet_evm_coder_substrate::pallet::Error + * Lookup424: pallet_evm_coder_substrate::pallet::Error **/ PalletEvmCoderSubstrateError: { _enum: ['OutOfGas', 'OutOfFund'] }, /** - * Lookup423: pallet_evm_contract_helpers::SponsoringModeT + * Lookup425: pallet_evm_contract_helpers::SponsoringModeT **/ PalletEvmContractHelpersSponsoringModeT: { _enum: ['Disabled', 'Allowlisted', 'Generous'] }, /** - * Lookup425: pallet_evm_contract_helpers::pallet::Error + * Lookup427: pallet_evm_contract_helpers::pallet::Error **/ PalletEvmContractHelpersError: { _enum: ['NoPermission'] }, /** - * Lookup426: pallet_evm_migration::pallet::Error + * Lookup428: pallet_evm_migration::pallet::Error **/ PalletEvmMigrationError: { _enum: ['AccountNotEmpty', 'AccountIsNotMigrating'] }, /** - * Lookup428: sp_runtime::MultiSignature + * Lookup429: pallet_maintenance::pallet::Error + **/ + PalletMaintenanceError: 'Null', + /** + * Lookup431: sp_runtime::MultiSignature **/ SpRuntimeMultiSignature: { _enum: { @@ -3109,43 +3125,47 @@ export default { } }, /** - * Lookup429: sp_core::ed25519::Signature + * Lookup432: sp_core::ed25519::Signature **/ SpCoreEd25519Signature: '[u8;64]', /** - * Lookup431: sp_core::sr25519::Signature + * Lookup434: sp_core::sr25519::Signature **/ SpCoreSr25519Signature: '[u8;64]', /** - * Lookup432: sp_core::ecdsa::Signature + * Lookup435: sp_core::ecdsa::Signature **/ SpCoreEcdsaSignature: '[u8;65]', /** - * Lookup435: frame_system::extensions::check_spec_version::CheckSpecVersion + * Lookup438: frame_system::extensions::check_spec_version::CheckSpecVersion **/ FrameSystemExtensionsCheckSpecVersion: 'Null', /** - * Lookup436: frame_system::extensions::check_genesis::CheckGenesis + * Lookup439: frame_system::extensions::check_genesis::CheckGenesis **/ FrameSystemExtensionsCheckGenesis: 'Null', /** - * Lookup439: frame_system::extensions::check_nonce::CheckNonce + * Lookup442: frame_system::extensions::check_nonce::CheckNonce **/ FrameSystemExtensionsCheckNonce: 'Compact', /** - * Lookup440: frame_system::extensions::check_weight::CheckWeight + * Lookup443: frame_system::extensions::check_weight::CheckWeight **/ FrameSystemExtensionsCheckWeight: 'Null', /** - * Lookup441: pallet_template_transaction_payment::ChargeTransactionPayment + * Lookup444: opal_runtime::CheckMaintenance + **/ + OpalRuntimeCheckMaintenance: 'Null', + /** + * Lookup445: pallet_template_transaction_payment::ChargeTransactionPayment **/ PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact', /** - * Lookup442: opal_runtime::Runtime + * Lookup446: opal_runtime::Runtime **/ OpalRuntimeRuntime: 'Null', /** - * Lookup443: pallet_ethereum::FakeTransactionFinalizer + * Lookup447: pallet_ethereum::FakeTransactionFinalizer **/ PalletEthereumFakeTransactionFinalizer: 'Null' }; diff --git a/tests/src/interfaces/registry.ts b/tests/src/interfaces/registry.ts index 18e938ce8f..faa1fb2946 100644 --- a/tests/src/interfaces/registry.ts +++ b/tests/src/interfaces/registry.ts @@ -1,10 +1,14 @@ // Auto-generated via `yarn polkadot-types-from-defs`, do not edit /* eslint-disable */ -import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerCall, PalletUniqueSchedulerError, PalletUniqueSchedulerEvent, PalletUniqueSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup'; +// import type lookup before we augment - in some environments +// this is required to allow for ambient/previous definitions +import '@polkadot/types/types/registry'; + +import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeCheckMaintenance, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerCall, PalletUniqueSchedulerError, PalletUniqueSchedulerEvent, PalletUniqueSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup'; declare module '@polkadot/types/types/registry' { - export interface InterfaceTypes { + interface InterfaceTypes { CumulusPalletDmpQueueCall: CumulusPalletDmpQueueCall; CumulusPalletDmpQueueConfigData: CumulusPalletDmpQueueConfigData; CumulusPalletDmpQueueError: CumulusPalletDmpQueueError; @@ -73,6 +77,7 @@ declare module '@polkadot/types/types/registry' { FrameSystemLimitsBlockWeights: FrameSystemLimitsBlockWeights; FrameSystemLimitsWeightsPerClass: FrameSystemLimitsWeightsPerClass; FrameSystemPhase: FrameSystemPhase; + OpalRuntimeCheckMaintenance: OpalRuntimeCheckMaintenance; OpalRuntimeOriginCaller: OpalRuntimeOriginCaller; OpalRuntimeRuntime: OpalRuntimeRuntime; OrmlVestingModuleCall: OrmlVestingModuleCall; @@ -105,6 +110,9 @@ declare module '@polkadot/types/types/registry' { PalletEvmMigrationError: PalletEvmMigrationError; PalletFungibleError: PalletFungibleError; PalletInflationCall: PalletInflationCall; + PalletMaintenanceCall: PalletMaintenanceCall; + PalletMaintenanceError: PalletMaintenanceError; + PalletMaintenanceEvent: PalletMaintenanceEvent; PalletNonfungibleError: PalletNonfungibleError; PalletNonfungibleItemData: PalletNonfungibleItemData; PalletRefungibleError: PalletRefungibleError; diff --git a/tests/src/interfaces/types-lookup.ts b/tests/src/interfaces/types-lookup.ts index 4a299d4fe2..cff4042083 100644 --- a/tests/src/interfaces/types-lookup.ts +++ b/tests/src/interfaces/types-lookup.ts @@ -1,14 +1,18 @@ // Auto-generated via `yarn polkadot-types-from-defs`, do not edit /* eslint-disable */ -declare module '@polkadot/types/lookup' { - import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; - import type { ITuple } from '@polkadot/types-codec/types'; - import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime'; - import type { Event } from '@polkadot/types/interfaces/system'; +// import type lookup before we augment - in some environments +// this is required to allow for ambient/previous definitions +import '@polkadot/types/lookup'; + +import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; +import type { ITuple } from '@polkadot/types-codec/types'; +import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime'; +import type { Event } from '@polkadot/types/interfaces/system'; +declare module '@polkadot/types/lookup' { /** @name PolkadotPrimitivesV2PersistedValidationData (2) */ - export interface PolkadotPrimitivesV2PersistedValidationData extends Struct { + interface PolkadotPrimitivesV2PersistedValidationData extends Struct { readonly parentHead: Bytes; readonly relayParentNumber: u32; readonly relayParentStorageRoot: H256; @@ -16,18 +20,18 @@ declare module '@polkadot/types/lookup' { } /** @name PolkadotPrimitivesV2UpgradeRestriction (9) */ - export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum { + interface PolkadotPrimitivesV2UpgradeRestriction extends Enum { readonly isPresent: boolean; readonly type: 'Present'; } /** @name SpTrieStorageProof (10) */ - export interface SpTrieStorageProof extends Struct { + interface SpTrieStorageProof extends Struct { readonly trieNodes: BTreeSet; } /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (13) */ - export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct { + interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct { readonly dmqMqcHead: H256; readonly relayDispatchQueueSize: ITuple<[u32, u32]>; readonly ingressChannels: Vec>; @@ -35,7 +39,7 @@ declare module '@polkadot/types/lookup' { } /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (18) */ - export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct { + interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct { readonly maxCapacity: u32; readonly maxTotalSize: u32; readonly maxMessageSize: u32; @@ -45,7 +49,7 @@ declare module '@polkadot/types/lookup' { } /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (20) */ - export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct { + interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct { readonly maxCodeSize: u32; readonly maxHeadDataSize: u32; readonly maxUpwardQueueCount: u32; @@ -58,13 +62,13 @@ declare module '@polkadot/types/lookup' { } /** @name PolkadotCorePrimitivesOutboundHrmpMessage (26) */ - export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct { + interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct { readonly recipient: u32; readonly data: Bytes; } /** @name CumulusPalletParachainSystemCall (28) */ - export interface CumulusPalletParachainSystemCall extends Enum { + interface CumulusPalletParachainSystemCall extends Enum { readonly isSetValidationData: boolean; readonly asSetValidationData: { readonly data: CumulusPrimitivesParachainInherentParachainInherentData; @@ -85,7 +89,7 @@ declare module '@polkadot/types/lookup' { } /** @name CumulusPrimitivesParachainInherentParachainInherentData (29) */ - export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct { + interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct { readonly validationData: PolkadotPrimitivesV2PersistedValidationData; readonly relayChainState: SpTrieStorageProof; readonly downwardMessages: Vec; @@ -93,19 +97,19 @@ declare module '@polkadot/types/lookup' { } /** @name PolkadotCorePrimitivesInboundDownwardMessage (31) */ - export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct { + interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct { readonly sentAt: u32; readonly msg: Bytes; } /** @name PolkadotCorePrimitivesInboundHrmpMessage (34) */ - export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct { + interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct { readonly sentAt: u32; readonly data: Bytes; } /** @name CumulusPalletParachainSystemEvent (37) */ - export interface CumulusPalletParachainSystemEvent extends Enum { + interface CumulusPalletParachainSystemEvent extends Enum { readonly isValidationFunctionStored: boolean; readonly isValidationFunctionApplied: boolean; readonly asValidationFunctionApplied: { @@ -129,7 +133,7 @@ declare module '@polkadot/types/lookup' { } /** @name CumulusPalletParachainSystemError (38) */ - export interface CumulusPalletParachainSystemError extends Enum { + interface CumulusPalletParachainSystemError extends Enum { readonly isOverlappingUpgrades: boolean; readonly isProhibitedByPolkadot: boolean; readonly isTooBig: boolean; @@ -142,7 +146,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletBalancesAccountData (41) */ - export interface PalletBalancesAccountData extends Struct { + interface PalletBalancesAccountData extends Struct { readonly free: u128; readonly reserved: u128; readonly miscFrozen: u128; @@ -150,14 +154,14 @@ declare module '@polkadot/types/lookup' { } /** @name PalletBalancesBalanceLock (43) */ - export interface PalletBalancesBalanceLock extends Struct { + interface PalletBalancesBalanceLock extends Struct { readonly id: U8aFixed; readonly amount: u128; readonly reasons: PalletBalancesReasons; } /** @name PalletBalancesReasons (45) */ - export interface PalletBalancesReasons extends Enum { + interface PalletBalancesReasons extends Enum { readonly isFee: boolean; readonly isMisc: boolean; readonly isAll: boolean; @@ -165,20 +169,20 @@ declare module '@polkadot/types/lookup' { } /** @name PalletBalancesReserveData (48) */ - export interface PalletBalancesReserveData extends Struct { + interface PalletBalancesReserveData extends Struct { readonly id: U8aFixed; readonly amount: u128; } /** @name PalletBalancesReleases (51) */ - export interface PalletBalancesReleases extends Enum { + interface PalletBalancesReleases extends Enum { readonly isV100: boolean; readonly isV200: boolean; readonly type: 'V100' | 'V200'; } /** @name PalletBalancesCall (52) */ - export interface PalletBalancesCall extends Enum { + interface PalletBalancesCall extends Enum { readonly isTransfer: boolean; readonly asTransfer: { readonly dest: MultiAddress; @@ -215,7 +219,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletBalancesEvent (58) */ - export interface PalletBalancesEvent extends Enum { + interface PalletBalancesEvent extends Enum { readonly isEndowed: boolean; readonly asEndowed: { readonly account: AccountId32; @@ -274,14 +278,14 @@ declare module '@polkadot/types/lookup' { } /** @name FrameSupportTokensMiscBalanceStatus (59) */ - export interface FrameSupportTokensMiscBalanceStatus extends Enum { + interface FrameSupportTokensMiscBalanceStatus extends Enum { readonly isFree: boolean; readonly isReserved: boolean; readonly type: 'Free' | 'Reserved'; } /** @name PalletBalancesError (60) */ - export interface PalletBalancesError extends Enum { + interface PalletBalancesError extends Enum { readonly isVestingBalance: boolean; readonly isLiquidityRestrictions: boolean; readonly isInsufficientBalance: boolean; @@ -294,7 +298,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletTimestampCall (63) */ - export interface PalletTimestampCall extends Enum { + interface PalletTimestampCall extends Enum { readonly isSet: boolean; readonly asSet: { readonly now: Compact; @@ -303,14 +307,14 @@ declare module '@polkadot/types/lookup' { } /** @name PalletTransactionPaymentReleases (66) */ - export interface PalletTransactionPaymentReleases extends Enum { + interface PalletTransactionPaymentReleases extends Enum { readonly isV1Ancient: boolean; readonly isV2: boolean; readonly type: 'V1Ancient' | 'V2'; } /** @name PalletTreasuryProposal (67) */ - export interface PalletTreasuryProposal extends Struct { + interface PalletTreasuryProposal extends Struct { readonly proposer: AccountId32; readonly value: u128; readonly beneficiary: AccountId32; @@ -318,7 +322,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletTreasuryCall (70) */ - export interface PalletTreasuryCall extends Enum { + interface PalletTreasuryCall extends Enum { readonly isProposeSpend: boolean; readonly asProposeSpend: { readonly value: Compact; @@ -340,7 +344,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletTreasuryEvent (72) */ - export interface PalletTreasuryEvent extends Enum { + interface PalletTreasuryEvent extends Enum { readonly isProposed: boolean; readonly asProposed: { readonly proposalIndex: u32; @@ -376,10 +380,10 @@ declare module '@polkadot/types/lookup' { } /** @name FrameSupportPalletId (75) */ - export interface FrameSupportPalletId extends U8aFixed {} + interface FrameSupportPalletId extends U8aFixed {} /** @name PalletTreasuryError (76) */ - export interface PalletTreasuryError extends Enum { + interface PalletTreasuryError extends Enum { readonly isInsufficientProposersBalance: boolean; readonly isInvalidIndex: boolean; readonly isTooManyApprovals: boolean; @@ -388,7 +392,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletSudoCall (77) */ - export interface PalletSudoCall extends Enum { + interface PalletSudoCall extends Enum { readonly isSudo: boolean; readonly asSudo: { readonly call: Call; @@ -411,7 +415,7 @@ declare module '@polkadot/types/lookup' { } /** @name FrameSystemCall (79) */ - export interface FrameSystemCall extends Enum { + interface FrameSystemCall extends Enum { readonly isFillBlock: boolean; readonly asFillBlock: { readonly ratio: Perbill; @@ -453,7 +457,7 @@ declare module '@polkadot/types/lookup' { } /** @name OrmlVestingModuleCall (83) */ - export interface OrmlVestingModuleCall extends Enum { + interface OrmlVestingModuleCall extends Enum { readonly isClaim: boolean; readonly isVestedTransfer: boolean; readonly asVestedTransfer: { @@ -473,7 +477,7 @@ declare module '@polkadot/types/lookup' { } /** @name OrmlVestingVestingSchedule (84) */ - export interface OrmlVestingVestingSchedule extends Struct { + interface OrmlVestingVestingSchedule extends Struct { readonly start: u32; readonly period: u32; readonly periodCount: u32; @@ -481,7 +485,7 @@ declare module '@polkadot/types/lookup' { } /** @name CumulusPalletXcmpQueueCall (86) */ - export interface CumulusPalletXcmpQueueCall extends Enum { + interface CumulusPalletXcmpQueueCall extends Enum { readonly isServiceOverweight: boolean; readonly asServiceOverweight: { readonly index: u64; @@ -517,7 +521,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletXcmCall (87) */ - export interface PalletXcmCall extends Enum { + interface PalletXcmCall extends Enum { readonly isSend: boolean; readonly asSend: { readonly dest: XcmVersionedMultiLocation; @@ -579,7 +583,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmVersionedMultiLocation (88) */ - export interface XcmVersionedMultiLocation extends Enum { + interface XcmVersionedMultiLocation extends Enum { readonly isV0: boolean; readonly asV0: XcmV0MultiLocation; readonly isV1: boolean; @@ -588,7 +592,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV0MultiLocation (89) */ - export interface XcmV0MultiLocation extends Enum { + interface XcmV0MultiLocation extends Enum { readonly isNull: boolean; readonly isX1: boolean; readonly asX1: XcmV0Junction; @@ -610,7 +614,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV0Junction (90) */ - export interface XcmV0Junction extends Enum { + interface XcmV0Junction extends Enum { readonly isParent: boolean; readonly isParachain: boolean; readonly asParachain: Compact; @@ -645,7 +649,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV0JunctionNetworkId (91) */ - export interface XcmV0JunctionNetworkId extends Enum { + interface XcmV0JunctionNetworkId extends Enum { readonly isAny: boolean; readonly isNamed: boolean; readonly asNamed: Bytes; @@ -655,7 +659,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV0JunctionBodyId (92) */ - export interface XcmV0JunctionBodyId extends Enum { + interface XcmV0JunctionBodyId extends Enum { readonly isUnit: boolean; readonly isNamed: boolean; readonly asNamed: Bytes; @@ -669,7 +673,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV0JunctionBodyPart (93) */ - export interface XcmV0JunctionBodyPart extends Enum { + interface XcmV0JunctionBodyPart extends Enum { readonly isVoice: boolean; readonly isMembers: boolean; readonly asMembers: { @@ -694,13 +698,13 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV1MultiLocation (94) */ - export interface XcmV1MultiLocation extends Struct { + interface XcmV1MultiLocation extends Struct { readonly parents: u8; readonly interior: XcmV1MultilocationJunctions; } /** @name XcmV1MultilocationJunctions (95) */ - export interface XcmV1MultilocationJunctions extends Enum { + interface XcmV1MultilocationJunctions extends Enum { readonly isHere: boolean; readonly isX1: boolean; readonly asX1: XcmV1Junction; @@ -722,7 +726,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV1Junction (96) */ - export interface XcmV1Junction extends Enum { + interface XcmV1Junction extends Enum { readonly isParachain: boolean; readonly asParachain: Compact; readonly isAccountId32: boolean; @@ -756,7 +760,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmVersionedXcm (97) */ - export interface XcmVersionedXcm extends Enum { + interface XcmVersionedXcm extends Enum { readonly isV0: boolean; readonly asV0: XcmV0Xcm; readonly isV1: boolean; @@ -767,7 +771,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV0Xcm (98) */ - export interface XcmV0Xcm extends Enum { + interface XcmV0Xcm extends Enum { readonly isWithdrawAsset: boolean; readonly asWithdrawAsset: { readonly assets: Vec; @@ -830,7 +834,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV0MultiAsset (100) */ - export interface XcmV0MultiAsset extends Enum { + interface XcmV0MultiAsset extends Enum { readonly isNone: boolean; readonly isAll: boolean; readonly isAllFungible: boolean; @@ -875,7 +879,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV1MultiassetAssetInstance (101) */ - export interface XcmV1MultiassetAssetInstance extends Enum { + interface XcmV1MultiassetAssetInstance extends Enum { readonly isUndefined: boolean; readonly isIndex: boolean; readonly asIndex: Compact; @@ -893,7 +897,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV0Order (104) */ - export interface XcmV0Order extends Enum { + interface XcmV0Order extends Enum { readonly isNull: boolean; readonly isDepositAsset: boolean; readonly asDepositAsset: { @@ -941,14 +945,14 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV0Response (106) */ - export interface XcmV0Response extends Enum { + interface XcmV0Response extends Enum { readonly isAssets: boolean; readonly asAssets: Vec; readonly type: 'Assets'; } /** @name XcmV0OriginKind (107) */ - export interface XcmV0OriginKind extends Enum { + interface XcmV0OriginKind extends Enum { readonly isNative: boolean; readonly isSovereignAccount: boolean; readonly isSuperuser: boolean; @@ -957,12 +961,12 @@ declare module '@polkadot/types/lookup' { } /** @name XcmDoubleEncoded (108) */ - export interface XcmDoubleEncoded extends Struct { + interface XcmDoubleEncoded extends Struct { readonly encoded: Bytes; } /** @name XcmV1Xcm (109) */ - export interface XcmV1Xcm extends Enum { + interface XcmV1Xcm extends Enum { readonly isWithdrawAsset: boolean; readonly asWithdrawAsset: { readonly assets: XcmV1MultiassetMultiAssets; @@ -1031,16 +1035,16 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV1MultiassetMultiAssets (110) */ - export interface XcmV1MultiassetMultiAssets extends Vec {} + interface XcmV1MultiassetMultiAssets extends Vec {} /** @name XcmV1MultiAsset (112) */ - export interface XcmV1MultiAsset extends Struct { + interface XcmV1MultiAsset extends Struct { readonly id: XcmV1MultiassetAssetId; readonly fun: XcmV1MultiassetFungibility; } /** @name XcmV1MultiassetAssetId (113) */ - export interface XcmV1MultiassetAssetId extends Enum { + interface XcmV1MultiassetAssetId extends Enum { readonly isConcrete: boolean; readonly asConcrete: XcmV1MultiLocation; readonly isAbstract: boolean; @@ -1049,7 +1053,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV1MultiassetFungibility (114) */ - export interface XcmV1MultiassetFungibility extends Enum { + interface XcmV1MultiassetFungibility extends Enum { readonly isFungible: boolean; readonly asFungible: Compact; readonly isNonFungible: boolean; @@ -1058,7 +1062,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV1Order (116) */ - export interface XcmV1Order extends Enum { + interface XcmV1Order extends Enum { readonly isNoop: boolean; readonly isDepositAsset: boolean; readonly asDepositAsset: { @@ -1108,7 +1112,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV1MultiassetMultiAssetFilter (117) */ - export interface XcmV1MultiassetMultiAssetFilter extends Enum { + interface XcmV1MultiassetMultiAssetFilter extends Enum { readonly isDefinite: boolean; readonly asDefinite: XcmV1MultiassetMultiAssets; readonly isWild: boolean; @@ -1117,7 +1121,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV1MultiassetWildMultiAsset (118) */ - export interface XcmV1MultiassetWildMultiAsset extends Enum { + interface XcmV1MultiassetWildMultiAsset extends Enum { readonly isAll: boolean; readonly isAllOf: boolean; readonly asAllOf: { @@ -1128,14 +1132,14 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV1MultiassetWildFungibility (119) */ - export interface XcmV1MultiassetWildFungibility extends Enum { + interface XcmV1MultiassetWildFungibility extends Enum { readonly isFungible: boolean; readonly isNonFungible: boolean; readonly type: 'Fungible' | 'NonFungible'; } /** @name XcmV1Response (121) */ - export interface XcmV1Response extends Enum { + interface XcmV1Response extends Enum { readonly isAssets: boolean; readonly asAssets: XcmV1MultiassetMultiAssets; readonly isVersion: boolean; @@ -1144,10 +1148,10 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV2Xcm (122) */ - export interface XcmV2Xcm extends Vec {} + interface XcmV2Xcm extends Vec {} /** @name XcmV2Instruction (124) */ - export interface XcmV2Instruction extends Enum { + interface XcmV2Instruction extends Enum { readonly isWithdrawAsset: boolean; readonly asWithdrawAsset: XcmV1MultiassetMultiAssets; readonly isReserveAssetDeposited: boolean; @@ -1267,7 +1271,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV2Response (125) */ - export interface XcmV2Response extends Enum { + interface XcmV2Response extends Enum { readonly isNull: boolean; readonly isAssets: boolean; readonly asAssets: XcmV1MultiassetMultiAssets; @@ -1279,7 +1283,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV2TraitsError (128) */ - export interface XcmV2TraitsError extends Enum { + interface XcmV2TraitsError extends Enum { readonly isOverflow: boolean; readonly isUnimplemented: boolean; readonly isUntrustedReserveLocation: boolean; @@ -1312,7 +1316,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV2WeightLimit (129) */ - export interface XcmV2WeightLimit extends Enum { + interface XcmV2WeightLimit extends Enum { readonly isUnlimited: boolean; readonly isLimited: boolean; readonly asLimited: Compact; @@ -1320,7 +1324,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmVersionedMultiAssets (130) */ - export interface XcmVersionedMultiAssets extends Enum { + interface XcmVersionedMultiAssets extends Enum { readonly isV0: boolean; readonly asV0: Vec; readonly isV1: boolean; @@ -1329,10 +1333,10 @@ declare module '@polkadot/types/lookup' { } /** @name CumulusPalletXcmCall (145) */ - export type CumulusPalletXcmCall = Null; + type CumulusPalletXcmCall = Null; /** @name CumulusPalletDmpQueueCall (146) */ - export interface CumulusPalletDmpQueueCall extends Enum { + interface CumulusPalletDmpQueueCall extends Enum { readonly isServiceOverweight: boolean; readonly asServiceOverweight: { readonly index: u64; @@ -1342,7 +1346,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletInflationCall (147) */ - export interface PalletInflationCall extends Enum { + interface PalletInflationCall extends Enum { readonly isStartInflation: boolean; readonly asStartInflation: { readonly inflationStartRelayBlock: u32; @@ -1351,7 +1355,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletUniqueCall (148) */ - export interface PalletUniqueCall extends Enum { + interface PalletUniqueCall extends Enum { readonly isCreateCollection: boolean; readonly asCreateCollection: { readonly collectionName: Vec; @@ -1509,7 +1513,7 @@ declare module '@polkadot/types/lookup' { } /** @name UpDataStructsCollectionMode (154) */ - export interface UpDataStructsCollectionMode extends Enum { + interface UpDataStructsCollectionMode extends Enum { readonly isNft: boolean; readonly isFungible: boolean; readonly asFungible: u8; @@ -1518,7 +1522,7 @@ declare module '@polkadot/types/lookup' { } /** @name UpDataStructsCreateCollectionData (155) */ - export interface UpDataStructsCreateCollectionData extends Struct { + interface UpDataStructsCreateCollectionData extends Struct { readonly mode: UpDataStructsCollectionMode; readonly access: Option; readonly name: Vec; @@ -1532,14 +1536,14 @@ declare module '@polkadot/types/lookup' { } /** @name UpDataStructsAccessMode (157) */ - export interface UpDataStructsAccessMode extends Enum { + interface UpDataStructsAccessMode extends Enum { readonly isNormal: boolean; readonly isAllowList: boolean; readonly type: 'Normal' | 'AllowList'; } /** @name UpDataStructsCollectionLimits (160) */ - export interface UpDataStructsCollectionLimits extends Struct { + interface UpDataStructsCollectionLimits extends Struct { readonly accountTokenOwnershipLimit: Option; readonly sponsoredDataSize: Option; readonly sponsoredDataRateLimit: Option; @@ -1552,7 +1556,7 @@ declare module '@polkadot/types/lookup' { } /** @name UpDataStructsSponsoringRateLimit (162) */ - export interface UpDataStructsSponsoringRateLimit extends Enum { + interface UpDataStructsSponsoringRateLimit extends Enum { readonly isSponsoringDisabled: boolean; readonly isBlocks: boolean; readonly asBlocks: u32; @@ -1560,43 +1564,43 @@ declare module '@polkadot/types/lookup' { } /** @name UpDataStructsCollectionPermissions (165) */ - export interface UpDataStructsCollectionPermissions extends Struct { + interface UpDataStructsCollectionPermissions extends Struct { readonly access: Option; readonly mintMode: Option; readonly nesting: Option; } /** @name UpDataStructsNestingPermissions (167) */ - export interface UpDataStructsNestingPermissions extends Struct { + interface UpDataStructsNestingPermissions extends Struct { readonly tokenOwner: bool; readonly collectionAdmin: bool; readonly restricted: Option; } /** @name UpDataStructsOwnerRestrictedSet (169) */ - export interface UpDataStructsOwnerRestrictedSet extends BTreeSet {} + interface UpDataStructsOwnerRestrictedSet extends BTreeSet {} /** @name UpDataStructsPropertyKeyPermission (175) */ - export interface UpDataStructsPropertyKeyPermission extends Struct { + interface UpDataStructsPropertyKeyPermission extends Struct { readonly key: Bytes; readonly permission: UpDataStructsPropertyPermission; } /** @name UpDataStructsPropertyPermission (177) */ - export interface UpDataStructsPropertyPermission extends Struct { + interface UpDataStructsPropertyPermission extends Struct { readonly mutable: bool; readonly collectionAdmin: bool; readonly tokenOwner: bool; } /** @name UpDataStructsProperty (180) */ - export interface UpDataStructsProperty extends Struct { + interface UpDataStructsProperty extends Struct { readonly key: Bytes; readonly value: Bytes; } /** @name PalletEvmAccountBasicCrossAccountIdRepr (183) */ - export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum { + interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum { readonly isSubstrate: boolean; readonly asSubstrate: AccountId32; readonly isEthereum: boolean; @@ -1605,7 +1609,7 @@ declare module '@polkadot/types/lookup' { } /** @name UpDataStructsCreateItemData (185) */ - export interface UpDataStructsCreateItemData extends Enum { + interface UpDataStructsCreateItemData extends Enum { readonly isNft: boolean; readonly asNft: UpDataStructsCreateNftData; readonly isFungible: boolean; @@ -1616,23 +1620,23 @@ declare module '@polkadot/types/lookup' { } /** @name UpDataStructsCreateNftData (186) */ - export interface UpDataStructsCreateNftData extends Struct { + interface UpDataStructsCreateNftData extends Struct { readonly properties: Vec; } /** @name UpDataStructsCreateFungibleData (187) */ - export interface UpDataStructsCreateFungibleData extends Struct { + interface UpDataStructsCreateFungibleData extends Struct { readonly value: u128; } /** @name UpDataStructsCreateReFungibleData (188) */ - export interface UpDataStructsCreateReFungibleData extends Struct { + interface UpDataStructsCreateReFungibleData extends Struct { readonly constData: Bytes; readonly pieces: u128; } /** @name UpDataStructsCreateItemExData (193) */ - export interface UpDataStructsCreateItemExData extends Enum { + interface UpDataStructsCreateItemExData extends Enum { readonly isNft: boolean; readonly asNft: Vec; readonly isFungible: boolean; @@ -1645,19 +1649,19 @@ declare module '@polkadot/types/lookup' { } /** @name UpDataStructsCreateNftExData (195) */ - export interface UpDataStructsCreateNftExData extends Struct { + interface UpDataStructsCreateNftExData extends Struct { readonly properties: Vec; readonly owner: PalletEvmAccountBasicCrossAccountIdRepr; } /** @name UpDataStructsCreateRefungibleExData (202) */ - export interface UpDataStructsCreateRefungibleExData extends Struct { + interface UpDataStructsCreateRefungibleExData extends Struct { readonly constData: Bytes; readonly users: BTreeMap; } /** @name PalletUniqueSchedulerCall (204) */ - export interface PalletUniqueSchedulerCall extends Enum { + interface PalletUniqueSchedulerCall extends Enum { readonly isScheduleNamed: boolean; readonly asScheduleNamed: { readonly id: U8aFixed; @@ -1682,7 +1686,7 @@ declare module '@polkadot/types/lookup' { } /** @name FrameSupportScheduleMaybeHashed (206) */ - export interface FrameSupportScheduleMaybeHashed extends Enum { + interface FrameSupportScheduleMaybeHashed extends Enum { readonly isValue: boolean; readonly asValue: Call; readonly isHash: boolean; @@ -1691,13 +1695,13 @@ declare module '@polkadot/types/lookup' { } /** @name PalletTemplateTransactionPaymentCall (207) */ - export type PalletTemplateTransactionPaymentCall = Null; + type PalletTemplateTransactionPaymentCall = Null; /** @name PalletStructureCall (208) */ - export type PalletStructureCall = Null; + type PalletStructureCall = Null; /** @name PalletRmrkCoreCall (209) */ - export interface PalletRmrkCoreCall extends Enum { + interface PalletRmrkCoreCall extends Enum { readonly isCreateCollection: boolean; readonly asCreateCollection: { readonly metadata: Bytes; @@ -1803,7 +1807,7 @@ declare module '@polkadot/types/lookup' { } /** @name RmrkTraitsResourceResourceTypes (215) */ - export interface RmrkTraitsResourceResourceTypes extends Enum { + interface RmrkTraitsResourceResourceTypes extends Enum { readonly isBasic: boolean; readonly asBasic: RmrkTraitsResourceBasicResource; readonly isComposable: boolean; @@ -1814,7 +1818,7 @@ declare module '@polkadot/types/lookup' { } /** @name RmrkTraitsResourceBasicResource (217) */ - export interface RmrkTraitsResourceBasicResource extends Struct { + interface RmrkTraitsResourceBasicResource extends Struct { readonly src: Option; readonly metadata: Option; readonly license: Option; @@ -1822,7 +1826,7 @@ declare module '@polkadot/types/lookup' { } /** @name RmrkTraitsResourceComposableResource (219) */ - export interface RmrkTraitsResourceComposableResource extends Struct { + interface RmrkTraitsResourceComposableResource extends Struct { readonly parts: Vec; readonly base: u32; readonly src: Option; @@ -1832,7 +1836,7 @@ declare module '@polkadot/types/lookup' { } /** @name RmrkTraitsResourceSlotResource (220) */ - export interface RmrkTraitsResourceSlotResource extends Struct { + interface RmrkTraitsResourceSlotResource extends Struct { readonly base: u32; readonly src: Option; readonly metadata: Option; @@ -1842,7 +1846,7 @@ declare module '@polkadot/types/lookup' { } /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (222) */ - export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum { + interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum { readonly isAccountId: boolean; readonly asAccountId: AccountId32; readonly isCollectionAndNftTuple: boolean; @@ -1851,7 +1855,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletRmrkEquipCall (226) */ - export interface PalletRmrkEquipCall extends Enum { + interface PalletRmrkEquipCall extends Enum { readonly isCreateBase: boolean; readonly asCreateBase: { readonly baseType: Bytes; @@ -1873,7 +1877,7 @@ declare module '@polkadot/types/lookup' { } /** @name RmrkTraitsPartPartType (229) */ - export interface RmrkTraitsPartPartType extends Enum { + interface RmrkTraitsPartPartType extends Enum { readonly isFixedPart: boolean; readonly asFixedPart: RmrkTraitsPartFixedPart; readonly isSlotPart: boolean; @@ -1882,14 +1886,14 @@ declare module '@polkadot/types/lookup' { } /** @name RmrkTraitsPartFixedPart (231) */ - export interface RmrkTraitsPartFixedPart extends Struct { + interface RmrkTraitsPartFixedPart extends Struct { readonly id: u32; readonly z: u32; readonly src: Bytes; } /** @name RmrkTraitsPartSlotPart (232) */ - export interface RmrkTraitsPartSlotPart extends Struct { + interface RmrkTraitsPartSlotPart extends Struct { readonly id: u32; readonly equippable: RmrkTraitsPartEquippableList; readonly src: Bytes; @@ -1897,7 +1901,7 @@ declare module '@polkadot/types/lookup' { } /** @name RmrkTraitsPartEquippableList (233) */ - export interface RmrkTraitsPartEquippableList extends Enum { + interface RmrkTraitsPartEquippableList extends Enum { readonly isAll: boolean; readonly isEmpty: boolean; readonly isCustom: boolean; @@ -1906,20 +1910,20 @@ declare module '@polkadot/types/lookup' { } /** @name RmrkTraitsTheme (235) */ - export interface RmrkTraitsTheme extends Struct { + interface RmrkTraitsTheme extends Struct { readonly name: Bytes; readonly properties: Vec; readonly inherit: bool; } /** @name RmrkTraitsThemeThemeProperty (237) */ - export interface RmrkTraitsThemeThemeProperty extends Struct { + interface RmrkTraitsThemeThemeProperty extends Struct { readonly key: Bytes; readonly value: Bytes; } /** @name PalletEvmCall (239) */ - export interface PalletEvmCall extends Enum { + interface PalletEvmCall extends Enum { readonly isWithdraw: boolean; readonly asWithdraw: { readonly address: H160; @@ -1964,7 +1968,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletEthereumCall (245) */ - export interface PalletEthereumCall extends Enum { + interface PalletEthereumCall extends Enum { readonly isTransact: boolean; readonly asTransact: { readonly transaction: EthereumTransactionTransactionV2; @@ -1973,7 +1977,7 @@ declare module '@polkadot/types/lookup' { } /** @name EthereumTransactionTransactionV2 (246) */ - export interface EthereumTransactionTransactionV2 extends Enum { + interface EthereumTransactionTransactionV2 extends Enum { readonly isLegacy: boolean; readonly asLegacy: EthereumTransactionLegacyTransaction; readonly isEip2930: boolean; @@ -1984,7 +1988,7 @@ declare module '@polkadot/types/lookup' { } /** @name EthereumTransactionLegacyTransaction (247) */ - export interface EthereumTransactionLegacyTransaction extends Struct { + interface EthereumTransactionLegacyTransaction extends Struct { readonly nonce: U256; readonly gasPrice: U256; readonly gasLimit: U256; @@ -1995,7 +1999,7 @@ declare module '@polkadot/types/lookup' { } /** @name EthereumTransactionTransactionAction (248) */ - export interface EthereumTransactionTransactionAction extends Enum { + interface EthereumTransactionTransactionAction extends Enum { readonly isCall: boolean; readonly asCall: H160; readonly isCreate: boolean; @@ -2003,14 +2007,14 @@ declare module '@polkadot/types/lookup' { } /** @name EthereumTransactionTransactionSignature (249) */ - export interface EthereumTransactionTransactionSignature extends Struct { + interface EthereumTransactionTransactionSignature extends Struct { readonly v: u64; readonly r: H256; readonly s: H256; } /** @name EthereumTransactionEip2930Transaction (251) */ - export interface EthereumTransactionEip2930Transaction extends Struct { + interface EthereumTransactionEip2930Transaction extends Struct { readonly chainId: u64; readonly nonce: U256; readonly gasPrice: U256; @@ -2025,13 +2029,13 @@ declare module '@polkadot/types/lookup' { } /** @name EthereumTransactionAccessListItem (253) */ - export interface EthereumTransactionAccessListItem extends Struct { + interface EthereumTransactionAccessListItem extends Struct { readonly address: H160; readonly storageKeys: Vec; } /** @name EthereumTransactionEip1559Transaction (254) */ - export interface EthereumTransactionEip1559Transaction extends Struct { + interface EthereumTransactionEip1559Transaction extends Struct { readonly chainId: u64; readonly nonce: U256; readonly maxPriorityFeePerGas: U256; @@ -2047,7 +2051,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletEvmMigrationCall (255) */ - export interface PalletEvmMigrationCall extends Enum { + interface PalletEvmMigrationCall extends Enum { readonly isBegin: boolean; readonly asBegin: { readonly address: H160; @@ -2065,8 +2069,15 @@ declare module '@polkadot/types/lookup' { readonly type: 'Begin' | 'SetData' | 'Finish'; } - /** @name PalletSudoEvent (258) */ - export interface PalletSudoEvent extends Enum { + /** @name PalletMaintenanceCall (258) */ + interface PalletMaintenanceCall extends Enum { + readonly isEnable: boolean; + readonly isDisable: boolean; + readonly type: 'Enable' | 'Disable'; + } + + /** @name PalletSudoEvent (259) */ + interface PalletSudoEvent extends Enum { readonly isSudid: boolean; readonly asSudid: { readonly sudoResult: Result; @@ -2082,8 +2093,8 @@ declare module '@polkadot/types/lookup' { readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone'; } - /** @name SpRuntimeDispatchError (260) */ - export interface SpRuntimeDispatchError extends Enum { + /** @name SpRuntimeDispatchError (261) */ + interface SpRuntimeDispatchError extends Enum { readonly isOther: boolean; readonly isCannotLookup: boolean; readonly isBadOrigin: boolean; @@ -2101,14 +2112,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional'; } - /** @name SpRuntimeModuleError (261) */ - export interface SpRuntimeModuleError extends Struct { + /** @name SpRuntimeModuleError (262) */ + interface SpRuntimeModuleError extends Struct { readonly index: u8; readonly error: U8aFixed; } - /** @name SpRuntimeTokenError (262) */ - export interface SpRuntimeTokenError extends Enum { + /** @name SpRuntimeTokenError (263) */ + interface SpRuntimeTokenError extends Enum { readonly isNoFunds: boolean; readonly isWouldDie: boolean; readonly isBelowMinimum: boolean; @@ -2119,29 +2130,29 @@ declare module '@polkadot/types/lookup' { readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported'; } - /** @name SpRuntimeArithmeticError (263) */ - export interface SpRuntimeArithmeticError extends Enum { + /** @name SpRuntimeArithmeticError (264) */ + interface SpRuntimeArithmeticError extends Enum { readonly isUnderflow: boolean; readonly isOverflow: boolean; readonly isDivisionByZero: boolean; readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero'; } - /** @name SpRuntimeTransactionalError (264) */ - export interface SpRuntimeTransactionalError extends Enum { + /** @name SpRuntimeTransactionalError (265) */ + interface SpRuntimeTransactionalError extends Enum { readonly isLimitReached: boolean; readonly isNoLayer: boolean; readonly type: 'LimitReached' | 'NoLayer'; } - /** @name PalletSudoError (265) */ - export interface PalletSudoError extends Enum { + /** @name PalletSudoError (266) */ + interface PalletSudoError extends Enum { readonly isRequireSudo: boolean; readonly type: 'RequireSudo'; } - /** @name FrameSystemAccountInfo (266) */ - export interface FrameSystemAccountInfo extends Struct { + /** @name FrameSystemAccountInfo (267) */ + interface FrameSystemAccountInfo extends Struct { readonly nonce: u32; readonly consumers: u32; readonly providers: u32; @@ -2149,20 +2160,20 @@ declare module '@polkadot/types/lookup' { readonly data: PalletBalancesAccountData; } - /** @name FrameSupportWeightsPerDispatchClassU64 (267) */ - export interface FrameSupportWeightsPerDispatchClassU64 extends Struct { + /** @name FrameSupportWeightsPerDispatchClassU64 (268) */ + interface FrameSupportWeightsPerDispatchClassU64 extends Struct { readonly normal: u64; readonly operational: u64; readonly mandatory: u64; } - /** @name SpRuntimeDigest (268) */ - export interface SpRuntimeDigest extends Struct { + /** @name SpRuntimeDigest (269) */ + interface SpRuntimeDigest extends Struct { readonly logs: Vec; } - /** @name SpRuntimeDigestDigestItem (270) */ - export interface SpRuntimeDigestDigestItem extends Enum { + /** @name SpRuntimeDigestDigestItem (271) */ + interface SpRuntimeDigestDigestItem extends Enum { readonly isOther: boolean; readonly asOther: Bytes; readonly isConsensus: boolean; @@ -2175,15 +2186,15 @@ declare module '@polkadot/types/lookup' { readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated'; } - /** @name FrameSystemEventRecord (272) */ - export interface FrameSystemEventRecord extends Struct { + /** @name FrameSystemEventRecord (273) */ + interface FrameSystemEventRecord extends Struct { readonly phase: FrameSystemPhase; readonly event: Event; readonly topics: Vec; } - /** @name FrameSystemEvent (274) */ - export interface FrameSystemEvent extends Enum { + /** @name FrameSystemEvent (275) */ + interface FrameSystemEvent extends Enum { readonly isExtrinsicSuccess: boolean; readonly asExtrinsicSuccess: { readonly dispatchInfo: FrameSupportWeightsDispatchInfo; @@ -2210,30 +2221,30 @@ declare module '@polkadot/types/lookup' { readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked'; } - /** @name FrameSupportWeightsDispatchInfo (275) */ - export interface FrameSupportWeightsDispatchInfo extends Struct { + /** @name FrameSupportWeightsDispatchInfo (276) */ + interface FrameSupportWeightsDispatchInfo extends Struct { readonly weight: u64; readonly class: FrameSupportWeightsDispatchClass; readonly paysFee: FrameSupportWeightsPays; } - /** @name FrameSupportWeightsDispatchClass (276) */ - export interface FrameSupportWeightsDispatchClass extends Enum { + /** @name FrameSupportWeightsDispatchClass (277) */ + interface FrameSupportWeightsDispatchClass extends Enum { readonly isNormal: boolean; readonly isOperational: boolean; readonly isMandatory: boolean; readonly type: 'Normal' | 'Operational' | 'Mandatory'; } - /** @name FrameSupportWeightsPays (277) */ - export interface FrameSupportWeightsPays extends Enum { + /** @name FrameSupportWeightsPays (278) */ + interface FrameSupportWeightsPays extends Enum { readonly isYes: boolean; readonly isNo: boolean; readonly type: 'Yes' | 'No'; } - /** @name OrmlVestingModuleEvent (278) */ - export interface OrmlVestingModuleEvent extends Enum { + /** @name OrmlVestingModuleEvent (279) */ + interface OrmlVestingModuleEvent extends Enum { readonly isVestingScheduleAdded: boolean; readonly asVestingScheduleAdded: { readonly from: AccountId32; @@ -2252,8 +2263,8 @@ declare module '@polkadot/types/lookup' { readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated'; } - /** @name CumulusPalletXcmpQueueEvent (279) */ - export interface CumulusPalletXcmpQueueEvent extends Enum { + /** @name CumulusPalletXcmpQueueEvent (280) */ + interface CumulusPalletXcmpQueueEvent extends Enum { readonly isSuccess: boolean; readonly asSuccess: Option; readonly isFail: boolean; @@ -2273,8 +2284,8 @@ declare module '@polkadot/types/lookup' { readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced'; } - /** @name PalletXcmEvent (280) */ - export interface PalletXcmEvent extends Enum { + /** @name PalletXcmEvent (281) */ + interface PalletXcmEvent extends Enum { readonly isAttempted: boolean; readonly asAttempted: XcmV2TraitsOutcome; readonly isSent: boolean; @@ -2310,8 +2321,8 @@ declare module '@polkadot/types/lookup' { readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail'; } - /** @name XcmV2TraitsOutcome (281) */ - export interface XcmV2TraitsOutcome extends Enum { + /** @name XcmV2TraitsOutcome (282) */ + interface XcmV2TraitsOutcome extends Enum { readonly isComplete: boolean; readonly asComplete: u64; readonly isIncomplete: boolean; @@ -2321,8 +2332,8 @@ declare module '@polkadot/types/lookup' { readonly type: 'Complete' | 'Incomplete' | 'Error'; } - /** @name CumulusPalletXcmEvent (283) */ - export interface CumulusPalletXcmEvent extends Enum { + /** @name CumulusPalletXcmEvent (284) */ + interface CumulusPalletXcmEvent extends Enum { readonly isInvalidFormat: boolean; readonly asInvalidFormat: U8aFixed; readonly isUnsupportedVersion: boolean; @@ -2332,8 +2343,8 @@ declare module '@polkadot/types/lookup' { readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward'; } - /** @name CumulusPalletDmpQueueEvent (284) */ - export interface CumulusPalletDmpQueueEvent extends Enum { + /** @name CumulusPalletDmpQueueEvent (285) */ + interface CumulusPalletDmpQueueEvent extends Enum { readonly isInvalidFormat: boolean; readonly asInvalidFormat: { readonly messageId: U8aFixed; @@ -2367,8 +2378,8 @@ declare module '@polkadot/types/lookup' { readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced'; } - /** @name PalletUniqueRawEvent (285) */ - export interface PalletUniqueRawEvent extends Enum { + /** @name PalletUniqueRawEvent (286) */ + interface PalletUniqueRawEvent extends Enum { readonly isCollectionSponsorRemoved: boolean; readonly asCollectionSponsorRemoved: u32; readonly isCollectionAdminAdded: boolean; @@ -2392,8 +2403,8 @@ declare module '@polkadot/types/lookup' { readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet'; } - /** @name PalletUniqueSchedulerEvent (286) */ - export interface PalletUniqueSchedulerEvent extends Enum { + /** @name PalletUniqueSchedulerEvent (287) */ + interface PalletUniqueSchedulerEvent extends Enum { readonly isScheduled: boolean; readonly asScheduled: { readonly when: u32; @@ -2419,15 +2430,15 @@ declare module '@polkadot/types/lookup' { readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed'; } - /** @name FrameSupportScheduleLookupError (288) */ - export interface FrameSupportScheduleLookupError extends Enum { + /** @name FrameSupportScheduleLookupError (289) */ + interface FrameSupportScheduleLookupError extends Enum { readonly isUnknown: boolean; readonly isBadFormat: boolean; readonly type: 'Unknown' | 'BadFormat'; } - /** @name PalletCommonEvent (289) */ - export interface PalletCommonEvent extends Enum { + /** @name PalletCommonEvent (290) */ + interface PalletCommonEvent extends Enum { readonly isCollectionCreated: boolean; readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>; readonly isCollectionDestroyed: boolean; @@ -2453,15 +2464,15 @@ declare module '@polkadot/types/lookup' { readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet'; } - /** @name PalletStructureEvent (290) */ - export interface PalletStructureEvent extends Enum { + /** @name PalletStructureEvent (291) */ + interface PalletStructureEvent extends Enum { readonly isExecuted: boolean; readonly asExecuted: Result; readonly type: 'Executed'; } - /** @name PalletRmrkCoreEvent (291) */ - export interface PalletRmrkCoreEvent extends Enum { + /** @name PalletRmrkCoreEvent (292) */ + interface PalletRmrkCoreEvent extends Enum { readonly isCollectionCreated: boolean; readonly asCollectionCreated: { readonly issuer: AccountId32; @@ -2550,8 +2561,8 @@ declare module '@polkadot/types/lookup' { readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet'; } - /** @name PalletRmrkEquipEvent (292) */ - export interface PalletRmrkEquipEvent extends Enum { + /** @name PalletRmrkEquipEvent (293) */ + interface PalletRmrkEquipEvent extends Enum { readonly isBaseCreated: boolean; readonly asBaseCreated: { readonly issuer: AccountId32; @@ -2565,8 +2576,8 @@ declare module '@polkadot/types/lookup' { readonly type: 'BaseCreated' | 'EquippablesUpdated'; } - /** @name PalletEvmEvent (293) */ - export interface PalletEvmEvent extends Enum { + /** @name PalletEvmEvent (294) */ + interface PalletEvmEvent extends Enum { readonly isLog: boolean; readonly asLog: EthereumLog; readonly isCreated: boolean; @@ -2584,22 +2595,22 @@ declare module '@polkadot/types/lookup' { readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw'; } - /** @name EthereumLog (294) */ - export interface EthereumLog extends Struct { + /** @name EthereumLog (295) */ + interface EthereumLog extends Struct { readonly address: H160; readonly topics: Vec; readonly data: Bytes; } - /** @name PalletEthereumEvent (295) */ - export interface PalletEthereumEvent extends Enum { + /** @name PalletEthereumEvent (296) */ + interface PalletEthereumEvent extends Enum { readonly isExecuted: boolean; readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>; readonly type: 'Executed'; } - /** @name EvmCoreErrorExitReason (296) */ - export interface EvmCoreErrorExitReason extends Enum { + /** @name EvmCoreErrorExitReason (297) */ + interface EvmCoreErrorExitReason extends Enum { readonly isSucceed: boolean; readonly asSucceed: EvmCoreErrorExitSucceed; readonly isError: boolean; @@ -2611,16 +2622,16 @@ declare module '@polkadot/types/lookup' { readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal'; } - /** @name EvmCoreErrorExitSucceed (297) */ - export interface EvmCoreErrorExitSucceed extends Enum { + /** @name EvmCoreErrorExitSucceed (298) */ + interface EvmCoreErrorExitSucceed extends Enum { readonly isStopped: boolean; readonly isReturned: boolean; readonly isSuicided: boolean; readonly type: 'Stopped' | 'Returned' | 'Suicided'; } - /** @name EvmCoreErrorExitError (298) */ - export interface EvmCoreErrorExitError extends Enum { + /** @name EvmCoreErrorExitError (299) */ + interface EvmCoreErrorExitError extends Enum { readonly isStackUnderflow: boolean; readonly isStackOverflow: boolean; readonly isInvalidJump: boolean; @@ -2640,14 +2651,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode'; } - /** @name EvmCoreErrorExitRevert (301) */ - export interface EvmCoreErrorExitRevert extends Enum { + /** @name EvmCoreErrorExitRevert (302) */ + interface EvmCoreErrorExitRevert extends Enum { readonly isReverted: boolean; readonly type: 'Reverted'; } - /** @name EvmCoreErrorExitFatal (302) */ - export interface EvmCoreErrorExitFatal extends Enum { + /** @name EvmCoreErrorExitFatal (303) */ + interface EvmCoreErrorExitFatal extends Enum { readonly isNotSupported: boolean; readonly isUnhandledInterrupt: boolean; readonly isCallErrorAsFatal: boolean; @@ -2657,8 +2668,15 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other'; } - /** @name FrameSystemPhase (303) */ - export interface FrameSystemPhase extends Enum { + /** @name PalletMaintenanceEvent (304) */ + interface PalletMaintenanceEvent extends Enum { + readonly isMaintenanceEnabled: boolean; + readonly isMaintenanceDisabled: boolean; + readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled'; + } + + /** @name FrameSystemPhase (305) */ + interface FrameSystemPhase extends Enum { readonly isApplyExtrinsic: boolean; readonly asApplyExtrinsic: u32; readonly isFinalization: boolean; @@ -2666,54 +2684,54 @@ declare module '@polkadot/types/lookup' { readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization'; } - /** @name FrameSystemLastRuntimeUpgradeInfo (305) */ - export interface FrameSystemLastRuntimeUpgradeInfo extends Struct { + /** @name FrameSystemLastRuntimeUpgradeInfo (307) */ + interface FrameSystemLastRuntimeUpgradeInfo extends Struct { readonly specVersion: Compact; readonly specName: Text; } - /** @name FrameSystemLimitsBlockWeights (306) */ - export interface FrameSystemLimitsBlockWeights extends Struct { + /** @name FrameSystemLimitsBlockWeights (308) */ + interface FrameSystemLimitsBlockWeights extends Struct { readonly baseBlock: u64; readonly maxBlock: u64; readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass; } - /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (307) */ - export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct { + /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (309) */ + interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct { readonly normal: FrameSystemLimitsWeightsPerClass; readonly operational: FrameSystemLimitsWeightsPerClass; readonly mandatory: FrameSystemLimitsWeightsPerClass; } - /** @name FrameSystemLimitsWeightsPerClass (308) */ - export interface FrameSystemLimitsWeightsPerClass extends Struct { + /** @name FrameSystemLimitsWeightsPerClass (310) */ + interface FrameSystemLimitsWeightsPerClass extends Struct { readonly baseExtrinsic: u64; readonly maxExtrinsic: Option; readonly maxTotal: Option; readonly reserved: Option; } - /** @name FrameSystemLimitsBlockLength (310) */ - export interface FrameSystemLimitsBlockLength extends Struct { + /** @name FrameSystemLimitsBlockLength (312) */ + interface FrameSystemLimitsBlockLength extends Struct { readonly max: FrameSupportWeightsPerDispatchClassU32; } - /** @name FrameSupportWeightsPerDispatchClassU32 (311) */ - export interface FrameSupportWeightsPerDispatchClassU32 extends Struct { + /** @name FrameSupportWeightsPerDispatchClassU32 (313) */ + interface FrameSupportWeightsPerDispatchClassU32 extends Struct { readonly normal: u32; readonly operational: u32; readonly mandatory: u32; } - /** @name FrameSupportWeightsRuntimeDbWeight (312) */ - export interface FrameSupportWeightsRuntimeDbWeight extends Struct { + /** @name FrameSupportWeightsRuntimeDbWeight (314) */ + interface FrameSupportWeightsRuntimeDbWeight extends Struct { readonly read: u64; readonly write: u64; } - /** @name SpVersionRuntimeVersion (313) */ - export interface SpVersionRuntimeVersion extends Struct { + /** @name SpVersionRuntimeVersion (315) */ + interface SpVersionRuntimeVersion extends Struct { readonly specName: Text; readonly implName: Text; readonly authoringVersion: u32; @@ -2724,8 +2742,8 @@ declare module '@polkadot/types/lookup' { readonly stateVersion: u8; } - /** @name FrameSystemError (317) */ - export interface FrameSystemError extends Enum { + /** @name FrameSystemError (319) */ + interface FrameSystemError extends Enum { readonly isInvalidSpecName: boolean; readonly isSpecVersionNeedsToIncrease: boolean; readonly isFailedToExtractRuntimeVersion: boolean; @@ -2735,8 +2753,8 @@ declare module '@polkadot/types/lookup' { readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered'; } - /** @name OrmlVestingModuleError (319) */ - export interface OrmlVestingModuleError extends Enum { + /** @name OrmlVestingModuleError (321) */ + interface OrmlVestingModuleError extends Enum { readonly isZeroVestingPeriod: boolean; readonly isZeroVestingPeriodCount: boolean; readonly isInsufficientBalanceToLock: boolean; @@ -2746,30 +2764,30 @@ declare module '@polkadot/types/lookup' { readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded'; } - /** @name CumulusPalletXcmpQueueInboundChannelDetails (321) */ - export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct { + /** @name CumulusPalletXcmpQueueInboundChannelDetails (323) */ + interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct { readonly sender: u32; readonly state: CumulusPalletXcmpQueueInboundState; readonly messageMetadata: Vec>; } - /** @name CumulusPalletXcmpQueueInboundState (322) */ - export interface CumulusPalletXcmpQueueInboundState extends Enum { + /** @name CumulusPalletXcmpQueueInboundState (324) */ + interface CumulusPalletXcmpQueueInboundState extends Enum { readonly isOk: boolean; readonly isSuspended: boolean; readonly type: 'Ok' | 'Suspended'; } - /** @name PolkadotParachainPrimitivesXcmpMessageFormat (325) */ - export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum { + /** @name PolkadotParachainPrimitivesXcmpMessageFormat (327) */ + interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum { readonly isConcatenatedVersionedXcm: boolean; readonly isConcatenatedEncodedBlob: boolean; readonly isSignals: boolean; readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals'; } - /** @name CumulusPalletXcmpQueueOutboundChannelDetails (328) */ - export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct { + /** @name CumulusPalletXcmpQueueOutboundChannelDetails (330) */ + interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct { readonly recipient: u32; readonly state: CumulusPalletXcmpQueueOutboundState; readonly signalsExist: bool; @@ -2777,15 +2795,15 @@ declare module '@polkadot/types/lookup' { readonly lastIndex: u16; } - /** @name CumulusPalletXcmpQueueOutboundState (329) */ - export interface CumulusPalletXcmpQueueOutboundState extends Enum { + /** @name CumulusPalletXcmpQueueOutboundState (331) */ + interface CumulusPalletXcmpQueueOutboundState extends Enum { readonly isOk: boolean; readonly isSuspended: boolean; readonly type: 'Ok' | 'Suspended'; } - /** @name CumulusPalletXcmpQueueQueueConfigData (331) */ - export interface CumulusPalletXcmpQueueQueueConfigData extends Struct { + /** @name CumulusPalletXcmpQueueQueueConfigData (333) */ + interface CumulusPalletXcmpQueueQueueConfigData extends Struct { readonly suspendThreshold: u32; readonly dropThreshold: u32; readonly resumeThreshold: u32; @@ -2794,8 +2812,8 @@ declare module '@polkadot/types/lookup' { readonly xcmpMaxIndividualWeight: u64; } - /** @name CumulusPalletXcmpQueueError (333) */ - export interface CumulusPalletXcmpQueueError extends Enum { + /** @name CumulusPalletXcmpQueueError (335) */ + interface CumulusPalletXcmpQueueError extends Enum { readonly isFailedToSend: boolean; readonly isBadXcmOrigin: boolean; readonly isBadXcm: boolean; @@ -2804,8 +2822,8 @@ declare module '@polkadot/types/lookup' { readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit'; } - /** @name PalletXcmError (334) */ - export interface PalletXcmError extends Enum { + /** @name PalletXcmError (336) */ + interface PalletXcmError extends Enum { readonly isUnreachable: boolean; readonly isSendFailure: boolean; readonly isFiltered: boolean; @@ -2822,30 +2840,30 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed'; } - /** @name CumulusPalletXcmError (335) */ - export type CumulusPalletXcmError = Null; + /** @name CumulusPalletXcmError (337) */ + type CumulusPalletXcmError = Null; - /** @name CumulusPalletDmpQueueConfigData (336) */ - export interface CumulusPalletDmpQueueConfigData extends Struct { + /** @name CumulusPalletDmpQueueConfigData (338) */ + interface CumulusPalletDmpQueueConfigData extends Struct { readonly maxIndividual: u64; } - /** @name CumulusPalletDmpQueuePageIndexData (337) */ - export interface CumulusPalletDmpQueuePageIndexData extends Struct { + /** @name CumulusPalletDmpQueuePageIndexData (339) */ + interface CumulusPalletDmpQueuePageIndexData extends Struct { readonly beginUsed: u32; readonly endUsed: u32; readonly overweightCount: u64; } - /** @name CumulusPalletDmpQueueError (340) */ - export interface CumulusPalletDmpQueueError extends Enum { + /** @name CumulusPalletDmpQueueError (342) */ + interface CumulusPalletDmpQueueError extends Enum { readonly isUnknown: boolean; readonly isOverLimit: boolean; readonly type: 'Unknown' | 'OverLimit'; } - /** @name PalletUniqueError (344) */ - export interface PalletUniqueError extends Enum { + /** @name PalletUniqueError (346) */ + interface PalletUniqueError extends Enum { readonly isCollectionDecimalPointLimitExceeded: boolean; readonly isConfirmUnsetSponsorFail: boolean; readonly isEmptyArgument: boolean; @@ -2853,8 +2871,8 @@ declare module '@polkadot/types/lookup' { readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection'; } - /** @name PalletUniqueSchedulerScheduledV3 (347) */ - export interface PalletUniqueSchedulerScheduledV3 extends Struct { + /** @name PalletUniqueSchedulerScheduledV3 (349) */ + interface PalletUniqueSchedulerScheduledV3 extends Struct { readonly maybeId: Option; readonly priority: u8; readonly call: FrameSupportScheduleMaybeHashed; @@ -2862,8 +2880,8 @@ declare module '@polkadot/types/lookup' { readonly origin: OpalRuntimeOriginCaller; } - /** @name OpalRuntimeOriginCaller (348) */ - export interface OpalRuntimeOriginCaller extends Enum { + /** @name OpalRuntimeOriginCaller (350) */ + interface OpalRuntimeOriginCaller extends Enum { readonly isVoid: boolean; readonly isSystem: boolean; readonly asSystem: FrameSupportDispatchRawOrigin; @@ -2876,8 +2894,8 @@ declare module '@polkadot/types/lookup' { readonly type: 'Void' | 'System' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum'; } - /** @name FrameSupportDispatchRawOrigin (349) */ - export interface FrameSupportDispatchRawOrigin extends Enum { + /** @name FrameSupportDispatchRawOrigin (351) */ + interface FrameSupportDispatchRawOrigin extends Enum { readonly isRoot: boolean; readonly isSigned: boolean; readonly asSigned: AccountId32; @@ -2885,8 +2903,8 @@ declare module '@polkadot/types/lookup' { readonly type: 'Root' | 'Signed' | 'None'; } - /** @name PalletXcmOrigin (350) */ - export interface PalletXcmOrigin extends Enum { + /** @name PalletXcmOrigin (352) */ + interface PalletXcmOrigin extends Enum { readonly isXcm: boolean; readonly asXcm: XcmV1MultiLocation; readonly isResponse: boolean; @@ -2894,26 +2912,26 @@ declare module '@polkadot/types/lookup' { readonly type: 'Xcm' | 'Response'; } - /** @name CumulusPalletXcmOrigin (351) */ - export interface CumulusPalletXcmOrigin extends Enum { + /** @name CumulusPalletXcmOrigin (353) */ + interface CumulusPalletXcmOrigin extends Enum { readonly isRelay: boolean; readonly isSiblingParachain: boolean; readonly asSiblingParachain: u32; readonly type: 'Relay' | 'SiblingParachain'; } - /** @name PalletEthereumRawOrigin (352) */ - export interface PalletEthereumRawOrigin extends Enum { + /** @name PalletEthereumRawOrigin (354) */ + interface PalletEthereumRawOrigin extends Enum { readonly isEthereumTransaction: boolean; readonly asEthereumTransaction: H160; readonly type: 'EthereumTransaction'; } - /** @name SpCoreVoid (353) */ - export type SpCoreVoid = Null; + /** @name SpCoreVoid (355) */ + type SpCoreVoid = Null; - /** @name PalletUniqueSchedulerError (354) */ - export interface PalletUniqueSchedulerError extends Enum { + /** @name PalletUniqueSchedulerError (356) */ + interface PalletUniqueSchedulerError extends Enum { readonly isFailedToSchedule: boolean; readonly isNotFound: boolean; readonly isTargetBlockNumberInPast: boolean; @@ -2921,8 +2939,8 @@ declare module '@polkadot/types/lookup' { readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange'; } - /** @name UpDataStructsCollection (355) */ - export interface UpDataStructsCollection extends Struct { + /** @name UpDataStructsCollection (357) */ + interface UpDataStructsCollection extends Struct { readonly owner: AccountId32; readonly mode: UpDataStructsCollectionMode; readonly name: Vec; @@ -2934,8 +2952,8 @@ declare module '@polkadot/types/lookup' { readonly externalCollection: bool; } - /** @name UpDataStructsSponsorshipState (356) */ - export interface UpDataStructsSponsorshipState extends Enum { + /** @name UpDataStructsSponsorshipState (358) */ + interface UpDataStructsSponsorshipState extends Enum { readonly isDisabled: boolean; readonly isUnconfirmed: boolean; readonly asUnconfirmed: AccountId32; @@ -2944,43 +2962,43 @@ declare module '@polkadot/types/lookup' { readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed'; } - /** @name UpDataStructsProperties (357) */ - export interface UpDataStructsProperties extends Struct { + /** @name UpDataStructsProperties (359) */ + interface UpDataStructsProperties extends Struct { readonly map: UpDataStructsPropertiesMapBoundedVec; readonly consumedSpace: u32; readonly spaceLimit: u32; } - /** @name UpDataStructsPropertiesMapBoundedVec (358) */ - export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap {} + /** @name UpDataStructsPropertiesMapBoundedVec (360) */ + interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap {} - /** @name UpDataStructsPropertiesMapPropertyPermission (363) */ - export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap {} + /** @name UpDataStructsPropertiesMapPropertyPermission (365) */ + interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap {} - /** @name UpDataStructsCollectionStats (370) */ - export interface UpDataStructsCollectionStats extends Struct { + /** @name UpDataStructsCollectionStats (372) */ + interface UpDataStructsCollectionStats extends Struct { readonly created: u32; readonly destroyed: u32; readonly alive: u32; } - /** @name UpDataStructsTokenChild (371) */ - export interface UpDataStructsTokenChild extends Struct { + /** @name UpDataStructsTokenChild (373) */ + interface UpDataStructsTokenChild extends Struct { readonly token: u32; readonly collection: u32; } - /** @name PhantomTypeUpDataStructs (372) */ - export interface PhantomTypeUpDataStructs extends Vec> {} + /** @name PhantomTypeUpDataStructs (374) */ + interface PhantomTypeUpDataStructs extends Vec> {} - /** @name UpDataStructsTokenData (374) */ - export interface UpDataStructsTokenData extends Struct { + /** @name UpDataStructsTokenData (376) */ + interface UpDataStructsTokenData extends Struct { readonly properties: Vec; readonly owner: Option; } - /** @name UpDataStructsRpcCollection (376) */ - export interface UpDataStructsRpcCollection extends Struct { + /** @name UpDataStructsRpcCollection (378) */ + interface UpDataStructsRpcCollection extends Struct { readonly owner: AccountId32; readonly mode: UpDataStructsCollectionMode; readonly name: Vec; @@ -2994,8 +3012,8 @@ declare module '@polkadot/types/lookup' { readonly readOnly: bool; } - /** @name RmrkTraitsCollectionCollectionInfo (377) */ - export interface RmrkTraitsCollectionCollectionInfo extends Struct { + /** @name RmrkTraitsCollectionCollectionInfo (379) */ + interface RmrkTraitsCollectionCollectionInfo extends Struct { readonly issuer: AccountId32; readonly metadata: Bytes; readonly max: Option; @@ -3003,8 +3021,8 @@ declare module '@polkadot/types/lookup' { readonly nftsCount: u32; } - /** @name RmrkTraitsNftNftInfo (378) */ - export interface RmrkTraitsNftNftInfo extends Struct { + /** @name RmrkTraitsNftNftInfo (380) */ + interface RmrkTraitsNftNftInfo extends Struct { readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple; readonly royalty: Option; readonly metadata: Bytes; @@ -3012,41 +3030,41 @@ declare module '@polkadot/types/lookup' { readonly pending: bool; } - /** @name RmrkTraitsNftRoyaltyInfo (380) */ - export interface RmrkTraitsNftRoyaltyInfo extends Struct { + /** @name RmrkTraitsNftRoyaltyInfo (382) */ + interface RmrkTraitsNftRoyaltyInfo extends Struct { readonly recipient: AccountId32; readonly amount: Permill; } - /** @name RmrkTraitsResourceResourceInfo (381) */ - export interface RmrkTraitsResourceResourceInfo extends Struct { + /** @name RmrkTraitsResourceResourceInfo (383) */ + interface RmrkTraitsResourceResourceInfo extends Struct { readonly id: u32; readonly resource: RmrkTraitsResourceResourceTypes; readonly pending: bool; readonly pendingRemoval: bool; } - /** @name RmrkTraitsPropertyPropertyInfo (382) */ - export interface RmrkTraitsPropertyPropertyInfo extends Struct { + /** @name RmrkTraitsPropertyPropertyInfo (384) */ + interface RmrkTraitsPropertyPropertyInfo extends Struct { readonly key: Bytes; readonly value: Bytes; } - /** @name RmrkTraitsBaseBaseInfo (383) */ - export interface RmrkTraitsBaseBaseInfo extends Struct { + /** @name RmrkTraitsBaseBaseInfo (385) */ + interface RmrkTraitsBaseBaseInfo extends Struct { readonly issuer: AccountId32; readonly baseType: Bytes; readonly symbol: Bytes; } - /** @name RmrkTraitsNftNftChild (384) */ - export interface RmrkTraitsNftNftChild extends Struct { + /** @name RmrkTraitsNftNftChild (386) */ + interface RmrkTraitsNftNftChild extends Struct { readonly collectionId: u32; readonly nftId: u32; } - /** @name PalletCommonError (386) */ - export interface PalletCommonError extends Enum { + /** @name PalletCommonError (388) */ + interface PalletCommonError extends Enum { readonly isCollectionNotFound: boolean; readonly isMustBeTokenOwner: boolean; readonly isNoPermission: boolean; @@ -3084,8 +3102,8 @@ declare module '@polkadot/types/lookup' { readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal'; } - /** @name PalletFungibleError (388) */ - export interface PalletFungibleError extends Enum { + /** @name PalletFungibleError (390) */ + interface PalletFungibleError extends Enum { readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean; readonly isFungibleItemsHaveNoId: boolean; readonly isFungibleItemsDontHaveData: boolean; @@ -3094,13 +3112,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed'; } - /** @name PalletRefungibleItemData (389) */ - export interface PalletRefungibleItemData extends Struct { + /** @name PalletRefungibleItemData (391) */ + interface PalletRefungibleItemData extends Struct { readonly constData: Bytes; } - /** @name PalletRefungibleError (393) */ - export interface PalletRefungibleError extends Enum { + /** @name PalletRefungibleError (395) */ + interface PalletRefungibleError extends Enum { readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean; readonly isWrongRefungiblePieces: boolean; readonly isRepartitionWhileNotOwningAllPieces: boolean; @@ -3109,28 +3127,28 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed'; } - /** @name PalletNonfungibleItemData (394) */ - export interface PalletNonfungibleItemData extends Struct { + /** @name PalletNonfungibleItemData (396) */ + interface PalletNonfungibleItemData extends Struct { readonly owner: PalletEvmAccountBasicCrossAccountIdRepr; } - /** @name UpDataStructsPropertyScope (396) */ - export interface UpDataStructsPropertyScope extends Enum { + /** @name UpDataStructsPropertyScope (398) */ + interface UpDataStructsPropertyScope extends Enum { readonly isNone: boolean; readonly isRmrk: boolean; readonly type: 'None' | 'Rmrk'; } - /** @name PalletNonfungibleError (398) */ - export interface PalletNonfungibleError extends Enum { + /** @name PalletNonfungibleError (400) */ + interface PalletNonfungibleError extends Enum { readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean; readonly isNonfungibleItemsHaveNoAmount: boolean; readonly isCantBurnNftWithChildren: boolean; readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren'; } - /** @name PalletStructureError (399) */ - export interface PalletStructureError extends Enum { + /** @name PalletStructureError (401) */ + interface PalletStructureError extends Enum { readonly isOuroborosDetected: boolean; readonly isDepthLimit: boolean; readonly isBreadthLimit: boolean; @@ -3138,8 +3156,8 @@ declare module '@polkadot/types/lookup' { readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound'; } - /** @name PalletRmrkCoreError (400) */ - export interface PalletRmrkCoreError extends Enum { + /** @name PalletRmrkCoreError (402) */ + interface PalletRmrkCoreError extends Enum { readonly isCorruptedCollectionType: boolean; readonly isNftTypeEncodeError: boolean; readonly isRmrkPropertyKeyIsTooLong: boolean; @@ -3163,8 +3181,8 @@ declare module '@polkadot/types/lookup' { readonly type: 'CorruptedCollectionType' | 'NftTypeEncodeError' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId'; } - /** @name PalletRmrkEquipError (402) */ - export interface PalletRmrkEquipError extends Enum { + /** @name PalletRmrkEquipError (404) */ + interface PalletRmrkEquipError extends Enum { readonly isPermissionError: boolean; readonly isNoAvailableBaseId: boolean; readonly isNoAvailablePartId: boolean; @@ -3175,8 +3193,8 @@ declare module '@polkadot/types/lookup' { readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart'; } - /** @name PalletEvmError (405) */ - export interface PalletEvmError extends Enum { + /** @name PalletEvmError (407) */ + interface PalletEvmError extends Enum { readonly isBalanceLow: boolean; readonly isFeeOverflow: boolean; readonly isPaymentOverflow: boolean; @@ -3186,8 +3204,8 @@ declare module '@polkadot/types/lookup' { readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce'; } - /** @name FpRpcTransactionStatus (408) */ - export interface FpRpcTransactionStatus extends Struct { + /** @name FpRpcTransactionStatus (410) */ + interface FpRpcTransactionStatus extends Struct { readonly transactionHash: H256; readonly transactionIndex: u32; readonly from: H160; @@ -3197,11 +3215,11 @@ declare module '@polkadot/types/lookup' { readonly logsBloom: EthbloomBloom; } - /** @name EthbloomBloom (410) */ - export interface EthbloomBloom extends U8aFixed {} + /** @name EthbloomBloom (412) */ + interface EthbloomBloom extends U8aFixed {} - /** @name EthereumReceiptReceiptV3 (412) */ - export interface EthereumReceiptReceiptV3 extends Enum { + /** @name EthereumReceiptReceiptV3 (414) */ + interface EthereumReceiptReceiptV3 extends Enum { readonly isLegacy: boolean; readonly asLegacy: EthereumReceiptEip658ReceiptData; readonly isEip2930: boolean; @@ -3211,23 +3229,23 @@ declare module '@polkadot/types/lookup' { readonly type: 'Legacy' | 'Eip2930' | 'Eip1559'; } - /** @name EthereumReceiptEip658ReceiptData (413) */ - export interface EthereumReceiptEip658ReceiptData extends Struct { + /** @name EthereumReceiptEip658ReceiptData (415) */ + interface EthereumReceiptEip658ReceiptData extends Struct { readonly statusCode: u8; readonly usedGas: U256; readonly logsBloom: EthbloomBloom; readonly logs: Vec; } - /** @name EthereumBlock (414) */ - export interface EthereumBlock extends Struct { + /** @name EthereumBlock (416) */ + interface EthereumBlock extends Struct { readonly header: EthereumHeader; readonly transactions: Vec; readonly ommers: Vec; } - /** @name EthereumHeader (415) */ - export interface EthereumHeader extends Struct { + /** @name EthereumHeader (417) */ + interface EthereumHeader extends Struct { readonly parentHash: H256; readonly ommersHash: H256; readonly beneficiary: H160; @@ -3245,46 +3263,49 @@ declare module '@polkadot/types/lookup' { readonly nonce: EthereumTypesHashH64; } - /** @name EthereumTypesHashH64 (416) */ - export interface EthereumTypesHashH64 extends U8aFixed {} + /** @name EthereumTypesHashH64 (418) */ + interface EthereumTypesHashH64 extends U8aFixed {} - /** @name PalletEthereumError (421) */ - export interface PalletEthereumError extends Enum { + /** @name PalletEthereumError (423) */ + interface PalletEthereumError extends Enum { readonly isInvalidSignature: boolean; readonly isPreLogExists: boolean; readonly type: 'InvalidSignature' | 'PreLogExists'; } - /** @name PalletEvmCoderSubstrateError (422) */ - export interface PalletEvmCoderSubstrateError extends Enum { + /** @name PalletEvmCoderSubstrateError (424) */ + interface PalletEvmCoderSubstrateError extends Enum { readonly isOutOfGas: boolean; readonly isOutOfFund: boolean; readonly type: 'OutOfGas' | 'OutOfFund'; } - /** @name PalletEvmContractHelpersSponsoringModeT (423) */ - export interface PalletEvmContractHelpersSponsoringModeT extends Enum { + /** @name PalletEvmContractHelpersSponsoringModeT (425) */ + interface PalletEvmContractHelpersSponsoringModeT extends Enum { readonly isDisabled: boolean; readonly isAllowlisted: boolean; readonly isGenerous: boolean; readonly type: 'Disabled' | 'Allowlisted' | 'Generous'; } - /** @name PalletEvmContractHelpersError (425) */ - export interface PalletEvmContractHelpersError extends Enum { + /** @name PalletEvmContractHelpersError (427) */ + interface PalletEvmContractHelpersError extends Enum { readonly isNoPermission: boolean; readonly type: 'NoPermission'; } - /** @name PalletEvmMigrationError (426) */ - export interface PalletEvmMigrationError extends Enum { + /** @name PalletEvmMigrationError (428) */ + interface PalletEvmMigrationError extends Enum { readonly isAccountNotEmpty: boolean; readonly isAccountIsNotMigrating: boolean; readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating'; } - /** @name SpRuntimeMultiSignature (428) */ - export interface SpRuntimeMultiSignature extends Enum { + /** @name PalletMaintenanceError (429) */ + type PalletMaintenanceError = Null; + + /** @name SpRuntimeMultiSignature (431) */ + interface SpRuntimeMultiSignature extends Enum { readonly isEd25519: boolean; readonly asEd25519: SpCoreEd25519Signature; readonly isSr25519: boolean; @@ -3294,34 +3315,37 @@ declare module '@polkadot/types/lookup' { readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa'; } - /** @name SpCoreEd25519Signature (429) */ - export interface SpCoreEd25519Signature extends U8aFixed {} + /** @name SpCoreEd25519Signature (432) */ + interface SpCoreEd25519Signature extends U8aFixed {} + + /** @name SpCoreSr25519Signature (434) */ + interface SpCoreSr25519Signature extends U8aFixed {} - /** @name SpCoreSr25519Signature (431) */ - export interface SpCoreSr25519Signature extends U8aFixed {} + /** @name SpCoreEcdsaSignature (435) */ + interface SpCoreEcdsaSignature extends U8aFixed {} - /** @name SpCoreEcdsaSignature (432) */ - export interface SpCoreEcdsaSignature extends U8aFixed {} + /** @name FrameSystemExtensionsCheckSpecVersion (438) */ + type FrameSystemExtensionsCheckSpecVersion = Null; - /** @name FrameSystemExtensionsCheckSpecVersion (435) */ - export type FrameSystemExtensionsCheckSpecVersion = Null; + /** @name FrameSystemExtensionsCheckGenesis (439) */ + type FrameSystemExtensionsCheckGenesis = Null; - /** @name FrameSystemExtensionsCheckGenesis (436) */ - export type FrameSystemExtensionsCheckGenesis = Null; + /** @name FrameSystemExtensionsCheckNonce (442) */ + interface FrameSystemExtensionsCheckNonce extends Compact {} - /** @name FrameSystemExtensionsCheckNonce (439) */ - export interface FrameSystemExtensionsCheckNonce extends Compact {} + /** @name FrameSystemExtensionsCheckWeight (443) */ + type FrameSystemExtensionsCheckWeight = Null; - /** @name FrameSystemExtensionsCheckWeight (440) */ - export type FrameSystemExtensionsCheckWeight = Null; + /** @name OpalRuntimeCheckMaintenance (444) */ + type OpalRuntimeCheckMaintenance = Null; - /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (441) */ - export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact {} + /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (445) */ + interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact {} - /** @name OpalRuntimeRuntime (442) */ - export type OpalRuntimeRuntime = Null; + /** @name OpalRuntimeRuntime (446) */ + type OpalRuntimeRuntime = Null; - /** @name PalletEthereumFakeTransactionFinalizer (443) */ - export type PalletEthereumFakeTransactionFinalizer = Null; + /** @name PalletEthereumFakeTransactionFinalizer (447) */ + type PalletEthereumFakeTransactionFinalizer = Null; } // declare module diff --git a/tests/src/maintenanceMode.test.ts b/tests/src/maintenanceMode.test.ts new file mode 100644 index 0000000000..0274c48382 --- /dev/null +++ b/tests/src/maintenanceMode.test.ts @@ -0,0 +1,154 @@ +// Copyright 2019-2022 Unique Network (Gibraltar) Ltd. +// This file is part of Unique Network. + +// Unique Network is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Unique Network is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Unique Network. If not, see . + +import chai from 'chai'; +import chaiAsPromised from 'chai-as-promised'; +import {default as usingApi, submitTransactionAsync, submitTransactionExpectFailAsync} from './substrate/substrate-api'; +import {createCollection} from './util/helpers'; +import {createEthAccount, createEthAccountWithBalance, evmCollection, evmCollectionHelpers, getCollectionAddressFromResult, itWeb3} from './eth/util/helpers'; +import {IKeyringPair} from '@polkadot/types/types'; +import {ApiPromise} from '@polkadot/api'; + +chai.use(chaiAsPromised); +const expect = chai.expect; + +// TODO:maintenance make it into seqtest + +async function maintenanceEnabled(api: ApiPromise): Promise { + return (await api.query.maintenance.enabled()).toJSON(); +} + +describe('Integration Test: Maintenance Mode', () => { + let superuser: IKeyringPair; + let bob: IKeyringPair; + + before(async () => { + await usingApi(async (api, privateKey) => { + superuser = privateKey('//Alice'); + bob = privateKey('//Bob'); + + if (await maintenanceEnabled(api)) { + console.warn('\tMaintenance mode was left enabled BEFORE the test suite! Disabling it now.'); + const sudoTx = api.tx.sudo.sudo(api.tx.maintenance.disable() as any); + await submitTransactionAsync(superuser, sudoTx); + } + }); + }); + + it('Allows superuser to enable and disable maintenance mode - and disallows anyone else', async () => { + await usingApi(async api => { + const stats = (await api.rpc.unique.collectionStats()).toJSON(); + + // Make sure non-sudo can't enable maintenance mode + const txEnable = api.tx.maintenance.enable(); + await expect(submitTransactionExpectFailAsync(bob, txEnable), 'on commoner enabling MM').to.be.rejected; //With(/NoPermission/); + + // Set maintenance mode + await submitTransactionAsync(superuser, api.tx.sudo.sudo(txEnable as any)); + expect(await maintenanceEnabled(api), 'MM is OFF when it should be ON').to.be.true; + + // An ordinary user or a superuser without sudo can't do anything while maintenance mode is enabled + await expect(createCollection(api, bob), 'cudo forbidden stuff').to.be.rejected; //With(/NoPermission/); + await expect(submitTransactionExpectFailAsync( + superuser, + api.tx.unique.setTokenProperties(999999, 999999, []), + ), 'cudo forbidden stuff #2').to.be.rejectedWith(''); + await expect(submitTransactionExpectFailAsync( + superuser, + api.tx.balances.transfer(bob.address, 1n), + ), 'cudo forbidden stuff #3').to.be.rejectedWith(''); + + // A superuser with sudo can do anything + await expect(submitTransactionAsync( + superuser, + api.tx.sudo.sudo(api.tx.balances.transfer(bob.address, 1n)), + ), 'sudo stuff').to.be.fulfilled; + + // RPCs work while in maintenance + expect((await api.rpc.unique.collectionStats()).toJSON()).to.be.deep.equal(stats); + + // Make sure non-sudo can't disable maintenance mode + const txDisable = api.tx.maintenance.disable(); + await expect(submitTransactionExpectFailAsync(bob, txDisable), 'on commoner disabling MM').to.be.rejected; //With(/NoPermission/); + + // Disable maintenance mode + await submitTransactionAsync(superuser, api.tx.sudo.sudo(txDisable as any)); + expect(await maintenanceEnabled(api), 'MM is ON when it should be OFF').to.be.false; + }); + }); + + itWeb3('Disallows Ethereum transactions to execute while in maintenance', async ({api, web3, privateKeyWrapper}) => { + const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper); + const receiver = createEthAccount(web3); + const collectionHelper = evmCollectionHelpers(web3, owner); + + const {collectionIdAddress} = await getCollectionAddressFromResult(api, await collectionHelper.methods + .createNonfungibleCollection('A', 'B', 'C') + .send()); + + // Set maintenance mode + await submitTransactionAsync(superuser, api.tx.sudo.sudo(api.tx.maintenance.enable())); + expect(await maintenanceEnabled(api), 'MM is OFF when it should be ON').to.be.true; + + const contract = evmCollection(web3, owner, collectionIdAddress); + const nextTokenId = await contract.methods.nextTokenId().call(); + // TODO:maintenance this probably shouldn't succeed + expect(nextTokenId).to.be.equal('1'); + + // TODO:maintenance this shouldn't succeed + await expect(contract.methods.mintWithTokenURI( + receiver, + nextTokenId, + 'Test URI', + ).call({from: owner})).to.be.rejectedWith(''); + + // TODO:maintenance can ethereum call sudo..? + + // Disable maintenance mode + await submitTransactionAsync(superuser, api.tx.sudo.sudo(api.tx.maintenance.disable())); + expect(await maintenanceEnabled(api), 'MM is ON when it should be OFF').to.be.false; + }); + + it('Allows to enable and disable MM repeatedly', async () => { + await usingApi(async api => { + // Set maintenance mode + const sudoEnalbeTx = api.tx.sudo.sudo(api.tx.maintenance.enable()); + + await submitTransactionAsync(superuser, sudoEnalbeTx); + await submitTransactionAsync(superuser, sudoEnalbeTx); + + expect(await maintenanceEnabled(api), 'MM is OFF when it should be ON').to.be.true; + + // Disable maintenance mode + const sudoDisableTx = api.tx.sudo.sudo(api.tx.maintenance.disable()); + await submitTransactionAsync(superuser, sudoDisableTx); + await submitTransactionAsync(superuser, sudoDisableTx); + expect(await maintenanceEnabled(api), 'MM is ON when it should be OFF').to.be.false; + }); + }); + + // TODO:maintenance test scheduler? + + afterEach(async () => { + await usingApi(async api => { + if (await maintenanceEnabled(api)) { + console.warn('\tMaintenance mode was left enabled AFTER a test has finished! Be careful. Disabling it now.'); + await submitTransactionAsync(superuser, api.tx.sudo.sudo(api.tx.maintenance.disable())); + } + expect(await maintenanceEnabled(api), 'Disastrous! Exited the test suite with maintenance mode on.').to.be.false; + }); + }); +}); From 405c48887e2ddc68e39ffb127fda34fa3494fb3e Mon Sep 17 00:00:00 2001 From: Fahrrader Date: Tue, 1 Nov 2022 17:35:30 +0000 Subject: [PATCH 07/31] ci(try-runtime): remove not-yet-existing flag --- .docker/Dockerfile-try-runtime | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.docker/Dockerfile-try-runtime b/.docker/Dockerfile-try-runtime index e291fc8163..e6c000f431 100644 --- a/.docker/Dockerfile-try-runtime +++ b/.docker/Dockerfile-try-runtime @@ -46,4 +46,4 @@ RUN echo "Requested features: $FEATURE\n" && \ echo "Fork from: $REPLICA_FROM\n" && \ cargo build --features=$FEATURE --release -CMD cargo run --features=try-runtime,$FEATURE --release -- try-runtime --no-spec-check-panic on-runtime-upgrade live --uri $REPLICA_FROM \ No newline at end of file +CMD cargo run --features=try-runtime,$FEATURE --release -- try-runtime on-runtime-upgrade live --uri $REPLICA_FROM \ No newline at end of file From 9d4e910b658f6ac87682503afe891d59a287a477 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Tue, 1 Nov 2022 17:43:41 +0000 Subject: [PATCH 08/31] fix: maintenance eth test --- tests/src/maintenanceMode.test.ts | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/tests/src/maintenanceMode.test.ts b/tests/src/maintenanceMode.test.ts index 0274c48382..700dc60026 100644 --- a/tests/src/maintenanceMode.test.ts +++ b/tests/src/maintenanceMode.test.ts @@ -104,18 +104,16 @@ describe('Integration Test: Maintenance Mode', () => { expect(await maintenanceEnabled(api), 'MM is OFF when it should be ON').to.be.true; const contract = evmCollection(web3, owner, collectionIdAddress); - const nextTokenId = await contract.methods.nextTokenId().call(); - // TODO:maintenance this probably shouldn't succeed - expect(nextTokenId).to.be.equal('1'); + const tokenId = await contract.methods.nextTokenId().call(); + expect(tokenId).to.be.equal('1'); - // TODO:maintenance this shouldn't succeed await expect(contract.methods.mintWithTokenURI( receiver, - nextTokenId, + tokenId, 'Test URI', - ).call({from: owner})).to.be.rejectedWith(''); + ).call({from: owner})); - // TODO:maintenance can ethereum call sudo..? + await expect(contract.methods.ownerOf(tokenId).call()).rejectedWith(/token not found/); // Disable maintenance mode await submitTransactionAsync(superuser, api.tx.sudo.sudo(api.tx.maintenance.disable())); From eba712f7945f4a804338537d11a22109312674c8 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Tue, 1 Nov 2022 17:44:05 +0000 Subject: [PATCH 09/31] fix: remove unused imports --- pallets/maintenance/src/lib.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/pallets/maintenance/src/lib.rs b/pallets/maintenance/src/lib.rs index c1f9b872fa..2aa190df23 100644 --- a/pallets/maintenance/src/lib.rs +++ b/pallets/maintenance/src/lib.rs @@ -17,8 +17,6 @@ #![cfg_attr(not(feature = "std"), no_std)] pub use pallet::*; -use frame_support::pallet_prelude::*; -use frame_system::pallet_prelude::*; #[frame_support::pallet] pub mod pallet { From 3ffe11246554ce277e0bc934ab86d6f3638ac2f9 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Tue, 1 Nov 2022 18:12:01 +0000 Subject: [PATCH 10/31] feat: add maintenance mode to quartz and unique --- Cargo.lock | 2 + runtime/quartz/Cargo.toml | 5 +++ runtime/quartz/src/lib.rs | 87 ++++++++++++++++++++++++++++++++++++++- runtime/unique/Cargo.toml | 5 +++ runtime/unique/src/lib.rs | 87 ++++++++++++++++++++++++++++++++++++++- 5 files changed, 182 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b2f6ca4c49..418969edcd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8637,6 +8637,7 @@ dependencies = [ "pallet-evm-transaction-payment", "pallet-fungible", "pallet-inflation", + "pallet-maintenance", "pallet-nonfungible", "pallet-randomness-collective-flip", "pallet-refungible", @@ -12638,6 +12639,7 @@ dependencies = [ "pallet-evm-transaction-payment", "pallet-fungible", "pallet-inflation", + "pallet-maintenance", "pallet-nonfungible", "pallet-randomness-collective-flip", "pallet-refungible", diff --git a/runtime/quartz/Cargo.toml b/runtime/quartz/Cargo.toml index 885a22d2fb..7620bd235d 100644 --- a/runtime/quartz/Cargo.toml +++ b/runtime/quartz/Cargo.toml @@ -41,12 +41,14 @@ runtime-benchmarks = [ 'pallet-xcm/runtime-benchmarks', 'sp-runtime/runtime-benchmarks', 'xcm-builder/runtime-benchmarks', + 'pallet-maintenance/runtime-benchmarks', ] try-runtime = [ 'frame-try-runtime', 'frame-executive/try-runtime', 'frame-system/try-runtime', 'unique-runtime-common/try-runtime', + 'pallet-maintenance/try-runtime', ] std = [ 'codec/std', @@ -117,6 +119,8 @@ std = [ 'unique-runtime-common/std', "orml-vesting/std", + + 'pallet-maintenance/std', ] limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing'] @@ -433,6 +437,7 @@ pallet-ethereum = { default-features = false, git = "https://github.com/uniquene pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.24" } fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.24" } fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.24" } +pallet-maintenance = { default-features = false, path = "../../pallets/maintenance" } ################################################################################ # Build Dependencies diff --git a/runtime/quartz/src/lib.rs b/runtime/quartz/src/lib.rs index df1f9adcfc..ccfcde2fc3 100644 --- a/runtime/quartz/src/lib.rs +++ b/runtime/quartz/src/lib.rs @@ -32,10 +32,16 @@ use fp_self_contained::*; // #[cfg(any(feature = "std", test))] // pub use sp_runtime::BuildStorage; +use scale_info::TypeInfo; use sp_runtime::{ Permill, Perbill, Percent, create_runtime_str, generic, impl_opaque_keys, - traits::{AccountIdLookup, BlakeTwo256, Block as BlockT, AccountIdConversion, Zero, Member}, - transaction_validity::{TransactionSource, TransactionValidity}, + traits::{ + AccountIdLookup, BlakeTwo256, Block as BlockT, AccountIdConversion, Zero, Member, + SignedExtension, + }, + transaction_validity::{ + TransactionSource, TransactionValidity, ValidTransaction, InvalidTransaction, + }, ApplyExtrinsicResult, RuntimeAppPublic, }; @@ -957,6 +963,7 @@ fn get_signed_extras(from: ::AccountId) -> Sign from, )), frame_system::CheckWeight::::new(), + CheckMaintenance, // sponsoring transaction logic // pallet_charge_transaction::ChargeTransactionPayment::::new(0), ) @@ -1119,6 +1126,78 @@ impl pallet_evm_contract_helpers::Config for Runtime { type DefaultSponsoringRateLimit = DefaultSponsoringRateLimit; } +impl pallet_maintenance::Config for Runtime { + type Event = Event; +} + +#[derive(Debug, Encode, Decode, PartialEq, Eq, Clone, TypeInfo)] +pub struct CheckMaintenance; + +impl SignedExtension for CheckMaintenance { + type AccountId = AccountId; + type Call = Call; + type AdditionalSigned = (); + type Pre = (); + + const IDENTIFIER: &'static str = "CheckMaintenance"; + + fn additional_signed(&self) -> Result { + Ok(()) + } + + fn pre_dispatch( + self, + who: &Self::AccountId, + call: &Self::Call, + info: &DispatchInfoOf, + len: usize, + ) -> Result { + self.validate(who, call, info, len).map(|_| ()) + } + + fn validate( + &self, + _who: &Self::AccountId, + call: &Self::Call, + _info: &DispatchInfoOf, + _len: usize, + ) -> TransactionValidity { + if Maintenance::is_enabled() { + match call { + Call::Sudo(_) => Ok(ValidTransaction::default()), + _ => Err(TransactionValidityError::Invalid(InvalidTransaction::Call)), + } + } else { + Ok(ValidTransaction::default()) + } + } + + fn pre_dispatch_unsigned( + call: &Self::Call, + info: &DispatchInfoOf, + len: usize, + ) -> Result<(), TransactionValidityError> { + Self::validate_unsigned(call, info, len).map(|_| ()) + } + + fn validate_unsigned( + call: &Self::Call, + _info: &DispatchInfoOf, + _len: usize, + ) -> TransactionValidity { + if Maintenance::is_enabled() { + match call { + Call::EVM(_) | Call::Ethereum(_) | Call::EvmMigration(_) => { + Err(TransactionValidityError::Invalid(InvalidTransaction::Call)) + } + _ => Ok(ValidTransaction::default()), + } + } else { + Ok(ValidTransaction::default()) + } + } +} + construct_runtime!( pub enum Runtime where Block = Block, @@ -1171,6 +1250,8 @@ construct_runtime!( EvmContractHelpers: pallet_evm_contract_helpers::{Pallet, Storage} = 151, EvmTransactionPayment: pallet_evm_transaction_payment::{Pallet} = 152, EvmMigration: pallet_evm_migration::{Pallet, Call, Storage} = 153, + + Maintenance: pallet_maintenance::{Pallet, Call, Storage, Event} = 154, } ); @@ -1216,6 +1297,7 @@ pub type SignedExtra = ( frame_system::CheckEra, frame_system::CheckNonce, frame_system::CheckWeight, + CheckMaintenance, ChargeTransactionPayment, //pallet_contract_helpers::ContractHelpersExtension, pallet_ethereum::FakeTransactionFinalizer, @@ -1227,6 +1309,7 @@ pub type SignedExtraScheduler = ( frame_system::CheckEra, frame_system::CheckNonce, frame_system::CheckWeight, + CheckMaintenance, // pallet_charge_transaction::ChargeTransactionPayment, ); /// Unchecked extrinsic type as expected by this runtime. diff --git a/runtime/unique/Cargo.toml b/runtime/unique/Cargo.toml index ae00be6787..fd7daa8a91 100644 --- a/runtime/unique/Cargo.toml +++ b/runtime/unique/Cargo.toml @@ -42,12 +42,14 @@ runtime-benchmarks = [ 'sp-runtime/runtime-benchmarks', 'xcm-builder/runtime-benchmarks', 'up-data-structs/runtime-benchmarks', + 'pallet-maintenance/runtime-benchmarks', ] try-runtime = [ 'frame-try-runtime', 'frame-executive/try-runtime', 'frame-system/try-runtime', 'unique-runtime-common/try-runtime', + 'pallet-maintenance/try-runtime', ] std = [ 'codec/std', @@ -118,6 +120,8 @@ std = [ 'unique-runtime-common/std', "orml-vesting/std", + + 'pallet-maintenance/std', ] limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing'] unique-runtime = [] @@ -428,6 +432,7 @@ pallet-base-fee = { default-features = false, git = "https://github.com/uniquene fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.24" } fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.24" } fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.24" } +pallet-maintenance = { default-features = false, path = "../../pallets/maintenance" } ################################################################################ # Build Dependencies diff --git a/runtime/unique/src/lib.rs b/runtime/unique/src/lib.rs index ebc927029d..1b0a73a912 100644 --- a/runtime/unique/src/lib.rs +++ b/runtime/unique/src/lib.rs @@ -32,10 +32,16 @@ use fp_self_contained::*; // #[cfg(any(feature = "std", test))] // pub use sp_runtime::BuildStorage; +use scale_info::TypeInfo; use sp_runtime::{ Permill, Perbill, Percent, create_runtime_str, generic, impl_opaque_keys, - traits::{AccountIdLookup, BlakeTwo256, Block as BlockT, AccountIdConversion, Zero, Member}, - transaction_validity::{TransactionSource, TransactionValidity}, + traits::{ + AccountIdLookup, BlakeTwo256, Block as BlockT, AccountIdConversion, Zero, Member, + SignedExtension, + }, + transaction_validity::{ + TransactionSource, TransactionValidity, ValidTransaction, InvalidTransaction, + }, ApplyExtrinsicResult, RuntimeAppPublic, }; @@ -946,6 +952,7 @@ fn get_signed_extras(from: ::AccountId) -> Sign from, )), frame_system::CheckWeight::::new(), + CheckMaintenance, // sponsoring transaction logic // pallet_charge_transaction::ChargeTransactionPayment::::new(0), ) @@ -1108,6 +1115,78 @@ impl pallet_evm_contract_helpers::Config for Runtime { type DefaultSponsoringRateLimit = DefaultSponsoringRateLimit; } +impl pallet_maintenance::Config for Runtime { + type Event = Event; +} + +#[derive(Debug, Encode, Decode, PartialEq, Eq, Clone, TypeInfo)] +pub struct CheckMaintenance; + +impl SignedExtension for CheckMaintenance { + type AccountId = AccountId; + type Call = Call; + type AdditionalSigned = (); + type Pre = (); + + const IDENTIFIER: &'static str = "CheckMaintenance"; + + fn additional_signed(&self) -> Result { + Ok(()) + } + + fn pre_dispatch( + self, + who: &Self::AccountId, + call: &Self::Call, + info: &DispatchInfoOf, + len: usize, + ) -> Result { + self.validate(who, call, info, len).map(|_| ()) + } + + fn validate( + &self, + _who: &Self::AccountId, + call: &Self::Call, + _info: &DispatchInfoOf, + _len: usize, + ) -> TransactionValidity { + if Maintenance::is_enabled() { + match call { + Call::Sudo(_) => Ok(ValidTransaction::default()), + _ => Err(TransactionValidityError::Invalid(InvalidTransaction::Call)), + } + } else { + Ok(ValidTransaction::default()) + } + } + + fn pre_dispatch_unsigned( + call: &Self::Call, + info: &DispatchInfoOf, + len: usize, + ) -> Result<(), TransactionValidityError> { + Self::validate_unsigned(call, info, len).map(|_| ()) + } + + fn validate_unsigned( + call: &Self::Call, + _info: &DispatchInfoOf, + _len: usize, + ) -> TransactionValidity { + if Maintenance::is_enabled() { + match call { + Call::EVM(_) | Call::Ethereum(_) | Call::EvmMigration(_) => { + Err(TransactionValidityError::Invalid(InvalidTransaction::Call)) + } + _ => Ok(ValidTransaction::default()), + } + } else { + Ok(ValidTransaction::default()) + } + } +} + construct_runtime!( pub enum Runtime where Block = Block, @@ -1158,6 +1237,8 @@ construct_runtime!( EvmContractHelpers: pallet_evm_contract_helpers::{Pallet, Storage} = 151, EvmTransactionPayment: pallet_evm_transaction_payment::{Pallet} = 152, EvmMigration: pallet_evm_migration::{Pallet, Call, Storage} = 153, + + Maintenance: pallet_maintenance::{Pallet, Call, Storage, Event} = 154, } ); @@ -1203,6 +1284,7 @@ pub type SignedExtra = ( frame_system::CheckEra, frame_system::CheckNonce, frame_system::CheckWeight, + CheckMaintenance, pallet_charge_transaction::ChargeTransactionPayment, //pallet_contract_helpers::ContractHelpersExtension, pallet_ethereum::FakeTransactionFinalizer, @@ -1213,6 +1295,7 @@ pub type SignedExtraScheduler = ( frame_system::CheckEra, frame_system::CheckNonce, frame_system::CheckWeight, + CheckMaintenance, // pallet_charge_transaction::ChargeTransactionPayment, ); /// Unchecked extrinsic type as expected by this runtime. From 964dea51a7259a62812fa4d56e3f51f11f496327 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Tue, 1 Nov 2022 18:40:24 +0000 Subject: [PATCH 11/31] feat: add maintenance benchmarks --- pallets/maintenance/src/benchmarking.rs | 37 +++++++++++++++++++++++++ pallets/maintenance/src/lib.rs | 3 ++ runtime/common/src/runtime_apis.rs | 4 +++ 3 files changed, 44 insertions(+) create mode 100644 pallets/maintenance/src/benchmarking.rs diff --git a/pallets/maintenance/src/benchmarking.rs b/pallets/maintenance/src/benchmarking.rs new file mode 100644 index 0000000000..a07b3ea429 --- /dev/null +++ b/pallets/maintenance/src/benchmarking.rs @@ -0,0 +1,37 @@ +// Copyright 2019-2022 Unique Network (Gibraltar) Ltd. +// This file is part of Unique Network. + +// Unique Network is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Unique Network is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Unique Network. If not, see . + +use super::*; +use crate::{Pallet as Maintenance, Config}; + +use frame_benchmarking::benchmarks; +use frame_system::RawOrigin; +use frame_support::ensure; + +benchmarks! { + enable { + }: _(RawOrigin::Root) + verify { + ensure!(>::get(), "didn't enable the MM"); + } + + disable { + Maintenance::::enable(RawOrigin::Root.into())?; + }: _(RawOrigin::Root) + verify { + ensure!(!>::get(), "didn't disable the MM"); + } +} diff --git a/pallets/maintenance/src/lib.rs b/pallets/maintenance/src/lib.rs index 2aa190df23..1a81342c75 100644 --- a/pallets/maintenance/src/lib.rs +++ b/pallets/maintenance/src/lib.rs @@ -18,6 +18,9 @@ pub use pallet::*; +#[cfg(feature = "runtime-benchmarks")] +pub mod benchmarking; + #[frame_support::pallet] pub mod pallet { use frame_support::pallet_prelude::*; diff --git a/runtime/common/src/runtime_apis.rs b/runtime/common/src/runtime_apis.rs index 34dd5758f1..1b5ddfea15 100644 --- a/runtime/common/src/runtime_apis.rs +++ b/runtime/common/src/runtime_apis.rs @@ -461,6 +461,8 @@ macro_rules! impl_common_runtime_apis { #[cfg(not(feature = "unique-runtime"))] list_benchmark!(list, extra, pallet_proxy_rmrk_equip, RmrkEquip); + list_benchmark!(list, extra, pallet_maintenance, Maintenance); + // list_benchmark!(list, extra, pallet_evm_coder_substrate, EvmCoderSubstrate); let storage_info = AllPalletsReversedWithSystemFirst::storage_info(); @@ -512,6 +514,8 @@ macro_rules! impl_common_runtime_apis { #[cfg(not(feature = "unique-runtime"))] add_benchmark!(params, batches, pallet_proxy_rmrk_equip, RmrkEquip); + add_benchmark!(params, batches, pallet_maintenance, Maintenance); + // add_benchmark!(params, batches, pallet_evm_coder_substrate, EvmCoderSubstrate); if batches.is_empty() { return Err("Benchmark not found for this pallet.".into()) } From 0e119ec1035845db81ca56c85c355cc761d6c3a0 Mon Sep 17 00:00:00 2001 From: Igor Kozyrev Date: Tue, 1 Nov 2022 20:56:11 +0100 Subject: [PATCH 12/31] feat: bench maintenance pallet --- Cargo.lock | 1 + Makefile | 6 ++- pallets/maintenance/Cargo.toml | 2 + pallets/maintenance/src/lib.rs | 8 +++- pallets/maintenance/src/weights.rs | 67 ++++++++++++++++++++++++++++++ runtime/opal/src/lib.rs | 1 + 6 files changed, 82 insertions(+), 3 deletions(-) create mode 100644 pallets/maintenance/src/weights.rs diff --git a/Cargo.lock b/Cargo.lock index 418969edcd..b376b0ca8c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6083,6 +6083,7 @@ dependencies = [ "frame-system", "parity-scale-codec 3.1.5", "scale-info", + "sp-std", ] [[package]] diff --git a/Makefile b/Makefile index 6df32def75..152977c73f 100644 --- a/Makefile +++ b/Makefile @@ -105,5 +105,9 @@ bench-rmrk-core: bench-rmrk-equip: make _bench PALLET=proxy-rmrk-equip +.PHONY: bench-maintenance +bench-maintenance: + make _bench PALLET=maintenance + .PHONY: bench -bench: bench-evm-migration bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-scheduler bench-rmrk-core bench-rmrk-equip +bench: bench-evm-migration bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-scheduler bench-rmrk-core bench-rmrk-equip bench-maintenance diff --git a/pallets/maintenance/Cargo.toml b/pallets/maintenance/Cargo.toml index 6cf1c222a8..6b54f5a98d 100644 --- a/pallets/maintenance/Cargo.toml +++ b/pallets/maintenance/Cargo.toml @@ -15,6 +15,7 @@ scale-info = { version = "2.1.1", default-features = false, features = ["derive" frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24" } frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24" } frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24" } [features] default = ["std"] @@ -24,6 +25,7 @@ std = [ "frame-support/std", "frame-system/std", "frame-benchmarking/std", + "sp-std/std", ] runtime-benchmarks = [ "frame-benchmarking", diff --git a/pallets/maintenance/src/lib.rs b/pallets/maintenance/src/lib.rs index 1a81342c75..0baaed9aa5 100644 --- a/pallets/maintenance/src/lib.rs +++ b/pallets/maintenance/src/lib.rs @@ -21,14 +21,18 @@ pub use pallet::*; #[cfg(feature = "runtime-benchmarks")] pub mod benchmarking; +pub mod weights; + #[frame_support::pallet] pub mod pallet { use frame_support::pallet_prelude::*; use frame_system::pallet_prelude::*; + use crate::weights::WeightInfo; #[pallet::config] pub trait Config: frame_system::Config { type Event: From> + IsType<::Event>; + type WeightInfo: WeightInfo; } #[pallet::event] @@ -51,7 +55,7 @@ pub mod pallet { #[pallet::call] impl Pallet { - #[pallet::weight(10_000)] + #[pallet::weight(::WeightInfo::enable())] pub fn enable(origin: OriginFor) -> DispatchResult { ensure_root(origin)?; @@ -62,7 +66,7 @@ pub mod pallet { Ok(()) } - #[pallet::weight(10_000)] + #[pallet::weight(::WeightInfo::disable())] pub fn disable(origin: OriginFor) -> DispatchResult { ensure_root(origin)?; diff --git a/pallets/maintenance/src/weights.rs b/pallets/maintenance/src/weights.rs new file mode 100644 index 0000000000..daa20850f6 --- /dev/null +++ b/pallets/maintenance/src/weights.rs @@ -0,0 +1,67 @@ +// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs + +//! Autogenerated weights for pallet_maintenance +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2022-11-01, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 + +// Executed Command: +// target/release/unique-collator +// benchmark +// pallet +// --pallet +// pallet-maintenance +// --wasm-execution +// compiled +// --extrinsic +// * +// --template +// .maintain/frame-weight-template.hbs +// --steps=50 +// --repeat=80 +// --heap-pages=4096 +// --output=./pallets/maintenance/src/weights.rs + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(clippy::unnecessary_cast)] + +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use sp_std::marker::PhantomData; + +/// Weight functions needed for pallet_maintenance. +pub trait WeightInfo { + fn enable() -> Weight; + fn disable() -> Weight; +} + +/// Weights for pallet_maintenance using the Substrate node and recommended hardware. +pub struct SubstrateWeight(PhantomData); +impl WeightInfo for SubstrateWeight { + // Storage: Maintenance Enabled (r:0 w:1) + fn enable() -> Weight { + (7_367_000 as Weight) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) + } + // Storage: Maintenance Enabled (r:0 w:1) + fn disable() -> Weight { + (7_273_000 as Weight) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) + } +} + +// For backwards compatibility and tests +impl WeightInfo for () { + // Storage: Maintenance Enabled (r:0 w:1) + fn enable() -> Weight { + (7_367_000 as Weight) + .saturating_add(RocksDbWeight::get().writes(1 as Weight)) + } + // Storage: Maintenance Enabled (r:0 w:1) + fn disable() -> Weight { + (7_273_000 as Weight) + .saturating_add(RocksDbWeight::get().writes(1 as Weight)) + } +} diff --git a/runtime/opal/src/lib.rs b/runtime/opal/src/lib.rs index b0fb827a5b..76b24e9ccc 100644 --- a/runtime/opal/src/lib.rs +++ b/runtime/opal/src/lib.rs @@ -1130,6 +1130,7 @@ impl pallet_evm_contract_helpers::Config for Runtime { impl pallet_maintenance::Config for Runtime { type Event = Event; + type WeightInfo = pallet_maintenance::weights::SubstrateWeight; } #[derive(Debug, Encode, Decode, PartialEq, Eq, Clone, TypeInfo)] From 41ad5a76865dbb08e109e6dd1c1f2d0452f2e7ec Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Tue, 1 Nov 2022 21:18:36 +0000 Subject: [PATCH 13/31] fix: qtz/unq maintenance config --- runtime/quartz/src/lib.rs | 1 + runtime/unique/src/lib.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/runtime/quartz/src/lib.rs b/runtime/quartz/src/lib.rs index ccfcde2fc3..9aa8537320 100644 --- a/runtime/quartz/src/lib.rs +++ b/runtime/quartz/src/lib.rs @@ -1128,6 +1128,7 @@ impl pallet_evm_contract_helpers::Config for Runtime { impl pallet_maintenance::Config for Runtime { type Event = Event; + type WeightInfo = pallet_maintenance::weights::SubstrateWeight; } #[derive(Debug, Encode, Decode, PartialEq, Eq, Clone, TypeInfo)] diff --git a/runtime/unique/src/lib.rs b/runtime/unique/src/lib.rs index 1b0a73a912..6f82171bce 100644 --- a/runtime/unique/src/lib.rs +++ b/runtime/unique/src/lib.rs @@ -1117,6 +1117,7 @@ impl pallet_evm_contract_helpers::Config for Runtime { impl pallet_maintenance::Config for Runtime { type Event = Event; + type WeightInfo = pallet_maintenance::weights::SubstrateWeight; } #[derive(Debug, Encode, Decode, PartialEq, Eq, Clone, TypeInfo)] From 22eb11c5d9a1c9c5936fcb81a05c8b37ee2d2b97 Mon Sep 17 00:00:00 2001 From: Fahrrader Date: Wed, 2 Nov 2022 06:58:42 +0000 Subject: [PATCH 14/31] ci: insert missing files + fix test call --- .docker/Dockerfile-parachain | 78 ++++++++++++++ .docker/Dockerfile-parachain-upgrade | 97 +++++++++++++++++ .docker/Dockerfile-parachain-upgrade-data | 102 ++++++++++++++++++ .../workflows/forkless-update-nodata_v2.yml | 35 ++---- 4 files changed, 283 insertions(+), 29 deletions(-) create mode 100644 .docker/Dockerfile-parachain create mode 100644 .docker/Dockerfile-parachain-upgrade create mode 100644 .docker/Dockerfile-parachain-upgrade-data diff --git a/.docker/Dockerfile-parachain b/.docker/Dockerfile-parachain new file mode 100644 index 0000000000..fb84f75a48 --- /dev/null +++ b/.docker/Dockerfile-parachain @@ -0,0 +1,78 @@ +ARG POLKADOT_BUILD_BRANCH +FROM uniquenetwork/builder-polkadot:${POLKADOT_BUILD_BRANCH} as polkadot + +# ===== Rust builder ===== +FROM ubuntu:20.04 as rust-builder +LABEL maintainer="Unique.Network" + +ARG RUST_TOOLCHAIN= + +ENV RUST_TOOLCHAIN $RUST_TOOLCHAIN +ENV CARGO_HOME="/cargo-home" +ENV PATH="/cargo-home/bin:$PATH" +ENV TZ=UTC +RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone + +RUN apt-get update && \ + apt-get install -y curl cmake pkg-config libssl-dev git clang protobuf-compiler && \ + apt-get clean && \ + rm -r /var/lib/apt/lists/* + +RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain none + +RUN rustup toolchain uninstall $(rustup toolchain list) && \ + rustup toolchain install $RUST_TOOLCHAIN && \ + rustup default $RUST_TOOLCHAIN && \ + rustup target list --installed && \ + rustup show +RUN rustup target add wasm32-unknown-unknown --toolchain $RUST_TOOLCHAIN + +RUN mkdir /unique_parachain +WORKDIR /unique_parachain + + +# ===== BUILD ====== +FROM rust-builder as builder-unique + +ARG PROFILE=release +ARG FEATURE= +ARG REPO_URL= +ARG BRANCH= + +WORKDIR /unique_parachain + +RUN git clone $REPO_URL -b $BRANCH . && \ + cargo build --features=$FEATURE --$PROFILE + +# ===== RUN ====== + +FROM ubuntu:20.04 + +ARG POLKADOT_BUILD_BRANCH= +ENV POLKADOT_BUILD_BRANCH $POLKADOT_BUILD_BRANCH + +RUN apt-get -y update && \ + apt-get -y install curl git && \ + curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash && \ + export NVM_DIR="$HOME/.nvm" && \ + [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \ + nvm install v16.16.0 && \ + nvm use v16.16.0 + +RUN git clone https://github.com/uniquenetwork/polkadot-launch -b unique-network + +RUN export NVM_DIR="$HOME/.nvm" && \ + [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \ + cd /polkadot-launch && \ + npm install --global yarn && \ + yarn install + +COPY --from=builder-unique /unique_parachain/target/release/unique-collator /unique-chain/target/release/ +COPY --from=builder-unique /unique_parachain/launch-config.json /polkadot-launch/launch-config.json + +COPY --from=polkadot /unique_parachain/polkadot/target/release/polkadot /polkadot/target/release/ + +CMD export NVM_DIR="$HOME/.nvm" && \ + [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \ + cd /polkadot-launch && \ + yarn start launch-config.json diff --git a/.docker/Dockerfile-parachain-upgrade b/.docker/Dockerfile-parachain-upgrade new file mode 100644 index 0000000000..4c60f106ab --- /dev/null +++ b/.docker/Dockerfile-parachain-upgrade @@ -0,0 +1,97 @@ +ARG POLKADOT_BUILD_BRANCH +FROM uniquenetwork/builder-polkadot:${POLKADOT_BUILD_BRANCH} as polkadot + +# ===== Rust builder ===== +FROM ubuntu:20.04 as rust-builder +LABEL maintainer="Unique.Network" + +ARG RUST_TOOLCHAIN= + +ENV RUST_TOOLCHAIN $RUST_TOOLCHAIN +ENV CARGO_HOME="/cargo-home" +ENV PATH="/cargo-home/bin:$PATH" +ENV TZ=UTC +RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone + +RUN apt-get update && \ + apt-get install -y curl cmake pkg-config libssl-dev git clang protobuf-compiler && \ + apt-get clean && \ + rm -r /var/lib/apt/lists/* + +RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain none + +RUN rustup toolchain uninstall $(rustup toolchain list) && \ + rustup toolchain install $RUST_TOOLCHAIN && \ + rustup default $RUST_TOOLCHAIN && \ + rustup target list --installed && \ + rustup show +RUN rustup target add wasm32-unknown-unknown --toolchain $RUST_TOOLCHAIN + +RUN mkdir /unique_parachain +WORKDIR /unique_parachain + +# ===== BUILD current version ====== +FROM rust-builder as builder-unique-current + +ARG PROFILE=release +ARG FEATURE= +ARG MAINNET_BRANCH= +ARG REPO_URL= + +WORKDIR /unique_parachain + +RUN git clone $REPO_URL -b $MAINNET_BRANCH . && \ + cargo build --features=$FEATURE --$PROFILE + +# ===== BUILD target version ====== +FROM rust-builder as builder-unique-target + +ARG PROFILE=release +ARG FEATURE= +ARG BRANCH= +ARG REPO_URL= + +COPY . /unique_parachain +WORKDIR /unique_parachain + +RUN cargo build --features=$FEATURE --$PROFILE + +# ===== RUN ====== + +FROM ubuntu:20.04 + +ARG RUNTIME= +ENV RUNTIME $RUNTIME +ARG POLKADOT_BUILD_BRANCH= +ENV POLKADOT_BUILD_BRANCH $POLKADOT_BUILD_BRANCH + +RUN apt-get -y update && \ + apt-get -y install curl git && \ + curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash && \ + export NVM_DIR="$HOME/.nvm" && \ + [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \ + nvm install v16.16.0 && \ + nvm use v16.16.0 + +RUN git clone https://github.com/uniquenetwork/polkadot-launch -b unique-network + +RUN export NVM_DIR="$HOME/.nvm" && \ + [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \ + cd /polkadot-launch && \ + npm install --global yarn && \ + yarn install + +RUN echo "$RUNTIME" +RUN echo "$POLKADOT_BUILD_BRANCH" + +COPY --from=builder-unique-current /unique_parachain/target/release/unique-collator /unique-chain/current/release/ +COPY --from=builder-unique-target /unique_parachain/target/release/unique-collator /unique-chain/target/release/ +COPY --from=builder-unique-target /unique_parachain/target/release/wbuild/"$RUNTIME"-runtime/"$RUNTIME"_runtime.compact.compressed.wasm /unique-chain/target/release/wbuild/"$RUNTIME"-runtime/"$RUNTIME"_runtime.compact.compressed.wasm + +COPY --from=polkadot /unique_parachain/polkadot/target/release/polkadot /polkadot/target/release/ +COPY --from=polkadot /unique_parachain/polkadot/target/release/wbuild/westend-runtime/westend_runtime.compact.compressed.wasm /polkadot/target/release/wbuild/westend-runtime/westend_runtime.compact.compressed.wasm + +CMD export NVM_DIR="$HOME/.nvm" && \ + [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \ + cd /polkadot-launch && \ + yarn start launch-config.json --test-upgrade-parachains \ No newline at end of file diff --git a/.docker/Dockerfile-parachain-upgrade-data b/.docker/Dockerfile-parachain-upgrade-data new file mode 100644 index 0000000000..010ec5738a --- /dev/null +++ b/.docker/Dockerfile-parachain-upgrade-data @@ -0,0 +1,102 @@ +ARG POLKADOT_BUILD_BRANCH +FROM uniquenetwork/builder-polkadot:${POLKADOT_BUILD_BRANCH} as polkadot + +# ===== Rust builder ===== +FROM ubuntu:20.04 as rust-builder +LABEL maintainer="Unique.Network" + +ARG RUST_TOOLCHAIN= + +ENV RUST_TOOLCHAIN $RUST_TOOLCHAIN +ENV CARGO_HOME="/cargo-home" +ENV PATH="/cargo-home/bin:$PATH" +ENV TZ=UTC +RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone + +RUN apt-get update && \ + apt-get install -y curl cmake pkg-config libssl-dev git clang protobuf-compiler && \ + apt-get clean && \ + rm -r /var/lib/apt/lists/* + +RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain none + +RUN rustup toolchain uninstall $(rustup toolchain list) && \ + rustup toolchain install $RUST_TOOLCHAIN && \ + rustup default $RUST_TOOLCHAIN && \ + rustup target list --installed && \ + rustup show +RUN rustup target add wasm32-unknown-unknown --toolchain $RUST_TOOLCHAIN + +RUN mkdir /unique_parachain +WORKDIR /unique_parachain + +# ===== BUILD current version ====== +FROM rust-builder as builder-unique-current + +ARG PROFILE=release +ARG FEATURE= +ARG MAINNET_BRANCH= +ARG REPO_URL= + +WORKDIR /unique_parachain + +RUN git clone $REPO_URL -b $MAINNET_BRANCH . && \ + cargo build --features=$FEATURE --$PROFILE + +# ===== BUILD target version ====== +FROM rust-builder as builder-unique-target + +ARG PROFILE=release +ARG FEATURE= +ARG BRANCH= +ARG REPO_URL= + +COPY . /unique_parachain +WORKDIR /unique_parachain + +RUN cargo build --features=$FEATURE --$PROFILE + +# ===== RUN ====== + +FROM ubuntu:20.04 + +ARG RUNTIME= +ENV RUNTIME $RUNTIME +ARG REPLICA_FROM= +ENV REPLICA_FROM=$REPLICA_FROM +ARG POLKADOT_BUILD_BRANCH= +ENV POLKADOT_BUILD_BRANCH $POLKADOT_BUILD_BRANCH + +RUN apt-get -y update && \ + apt-get -y install curl git && \ + curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash && \ + export NVM_DIR="$HOME/.nvm" && \ + [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \ + nvm install v16.16.0 && \ + nvm use v16.16.0 + +RUN git clone https://github.com/uniquenetwork/polkadot-launch.git -b unique-network + +RUN export NVM_DIR="$HOME/.nvm" && \ + [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \ + cd /polkadot-launch && \ + npm install --global yarn && \ + yarn install + +RUN echo "$RUNTIME" +RUN echo "$REPLICA_FROM" +RUN echo "$POLKADOT_BUILD_BRANCH" + +COPY --from=builder-unique-current /unique_parachain/target/release/unique-collator /unique-chain/current/release/ +COPY --from=builder-unique-target /unique_parachain/target/release/unique-collator /unique-chain/target/release/ +COPY --from=builder-unique-target /unique_parachain/target/release/wbuild/"$RUNTIME"-runtime/"$RUNTIME"_runtime.compact.compressed.wasm /unique-chain/target/release/wbuild/"$RUNTIME"-runtime/"$RUNTIME"_runtime.compact.compressed.wasm + +COPY --from=uniquenetwork/builder-chainql:latest /chainql/target/release/chainql /chainql/target/release/ + +COPY --from=polkadot /unique_parachain/polkadot/target/release/polkadot /polkadot/target/release/ +COPY --from=polkadot /unique_parachain/polkadot/target/release/wbuild/westend-runtime/westend_runtime.compact.compressed.wasm /polkadot/target/release/wbuild/westend-runtime/westend_runtime.compact.compressed.wasm + +CMD export NVM_DIR="$HOME/.nvm" PATH="$PATH:/chainql/target/release" REPLICA_FROM && \ + [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \ + cd /polkadot-launch && \ + yarn start launch-config.json --test-upgrade-parachains \ No newline at end of file diff --git a/.github/workflows/forkless-update-nodata_v2.yml b/.github/workflows/forkless-update-nodata_v2.yml index abfe7749cf..77dfe5b9c6 100644 --- a/.github/workflows/forkless-update-nodata_v2.yml +++ b/.github/workflows/forkless-update-nodata_v2.yml @@ -158,7 +158,7 @@ jobs: if: success() || failure() run: cat './forkless-parachain-upgrade-nodata-logs.${{ matrix.features }}/node-parachain.log' - - name: Run Parallel tests + - name: Run tests working-directory: tests run: | yarn install @@ -166,40 +166,17 @@ jobs: node scripts/readyness.js echo "Ready to start tests" yarn polkadot-types - NOW=$(date +%s) && yarn testParallel --reporter mochawesome --reporter-options reportFilename=test-parallel-${NOW} + NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-${NOW} env: RPC_URL: http://127.0.0.1:9933/ - - name: Test Report Parallel + - name: Test Report uses: phoenix-actions/test-reporting@v8 - id: test-report-parallel + id: test-report if: success() || failure() # run this step even if previous step failed with: - name: Report Parallel tests results - ${{ matrix.network }} # Name of the check run which will be created - path: tests/mochawesome-report/test-parallel-*.json # Path to test results - reporter: mochawesome-json - fail-on-error: 'false' - - - name: Run Sequential tests - working-directory: tests - if: success() || failure() - run: | - yarn install - yarn add mochawesome - node scripts/readyness.js - echo "Ready to start tests" - yarn polkadot-types - NOW=$(date +%s) && yarn testSequential --reporter mochawesome --reporter-options reportFilename=test-sequential-${NOW} - env: - RPC_URL: http://127.0.0.1:9933/ - - - name: Test Report Sequential - uses: phoenix-actions/test-reporting@v8 - id: test-report-sequential - if: success() || failure() # run this step even if previous step failed - with: - name: Report Sequential tests results - ${{ matrix.network }} # Name of the check run which will be created - path: tests/mochawesome-report/test-sequential-*.json # Path to test results + name: Report tests results - ${{ matrix.network }} # Name of the check run which will be created + path: tests/mochawesome-report/test-*.json # Path to test results reporter: mochawesome-json fail-on-error: 'false' From ce4364cf95fc8cd32386c03e1e8872a81cb4927f Mon Sep 17 00:00:00 2001 From: Fahrrader Date: Wed, 2 Nov 2022 09:40:52 +0000 Subject: [PATCH 15/31] ci: fix invisible space in naming --- ...onfig-forkless-nodata.j2 => launch-config-forkless-nodata.j2} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .docker/forkless-config/{launch-config-forkless-nodata.j2 => launch-config-forkless-nodata.j2} (100%) diff --git a/.docker/forkless-config/launch-config-forkless-nodata.j2 b/.docker/forkless-config/launch-config-forkless-nodata.j2 similarity index 100% rename from .docker/forkless-config/launch-config-forkless-nodata.j2 rename to .docker/forkless-config/launch-config-forkless-nodata.j2 From 712d92a22914eb0b9e9b60e55891895b3e5cd4c1 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Wed, 2 Nov 2022 09:44:47 +0000 Subject: [PATCH 16/31] Revert "feat: maintenance pallet" This reverts commit e5006d03749450b7f7ea5aa4d84d6ac35a699a95. --- Cargo.toml | 344 ++++++++++++++++----------------- node/cli/Cargo.toml | 6 +- pallets/maintenance/Cargo.toml | 35 ---- pallets/maintenance/src/lib.rs | 80 -------- runtime/common/Cargo.toml | 1 - runtime/opal/Cargo.toml | 6 - runtime/opal/src/lib.rs | 15 +- runtime/quartz/Cargo.toml | 2 - runtime/unique/Cargo.toml | 2 - 9 files changed, 175 insertions(+), 316 deletions(-) delete mode 100644 pallets/maintenance/Cargo.toml delete mode 100644 pallets/maintenance/src/lib.rs diff --git a/Cargo.toml b/Cargo.toml index f4619ddb9a..6a520f4b83 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,176 +21,176 @@ jsonrpsee-types = {git = "https://github.com/uniquenetwork/jsonrpsee", branch = jsonrpsee-core = {git = "https://github.com/uniquenetwork/jsonrpsee", branch = "unique-v0.13.1-fix-unknown-fields"} [patch."https://github.com/paritytech/substrate"] -beefy-gadget = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -beefy-gadget-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -beefy-merkle-tree = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -beefy-primitives = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -fork-tree = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -frame-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -frame-benchmarking-cli = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -frame-election-provider-solution-type = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -frame-election-provider-support = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -frame-executive = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -frame-support = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -frame-support-procedural = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -frame-support-procedural-tools = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -frame-support-procedural-tools-derive = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -frame-system = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -frame-system-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -frame-system-rpc-runtime-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -frame-try-runtime = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-aura = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-authority-discovery = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-authorship = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-babe = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-bags-list = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-balances = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-beefy = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-beefy-mmr = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-bounties = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-child-bounties = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-collective = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-democracy = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-election-provider-multi-phase = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-election-provider-support-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-elections-phragmen = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-gilt = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-grandpa = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-identity = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-im-online = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-indices = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-membership = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-mmr = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-mmr-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-multisig = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-nicks = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-nomination-pools = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-nomination-pools-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-offences = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-offences-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-preimage = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-proxy = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-randomness-collective-flip = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-recovery = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-scheduler = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-session = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-session-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-society = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-staking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-staking-reward-curve = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-staking-reward-fn = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-sudo = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-timestamp = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-tips = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-transaction-payment = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-transaction-payment-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-transaction-payment-rpc-runtime-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-treasury = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-utility = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -pallet-vesting = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -remote-externalities = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-allocator = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-authority-discovery = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-basic-authorship = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-block-builder = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-chain-spec = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-chain-spec-derive = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-cli = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-client-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-client-db = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-consensus = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-consensus-aura = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-consensus-babe = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-consensus-babe-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-consensus-epochs = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-consensus-manual-seal = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-consensus-slots = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-consensus-uncles = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-executor = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-executor-common = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-executor-wasmi = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-executor-wasmtime = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-finality-grandpa = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-finality-grandpa-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-informant = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-keystore = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-network = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-network-common = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-network-gossip = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-network-light = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-network-sync = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-offchain = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-peerset = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-proposer-metrics = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-rpc-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-rpc-server = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-service = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-state-db = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-sync-state-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-sysinfo = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-telemetry = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-tracing = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-tracing-proc-macro = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-transaction-pool = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-transaction-pool-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sc-utils = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-api-proc-macro = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-application-crypto = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-arithmetic = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-authority-discovery = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-authorship = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-block-builder = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-blockchain = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-consensus = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-consensus-aura = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-consensus-babe = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-consensus-slots = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-consensus-vrf = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-core = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-core-hashing = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-core-hashing-proc-macro = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-database = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-debug-derive = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-externalities = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-finality-grandpa = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-inherents = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-io = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-keyring = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-keystore = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-maybe-compressed-blob = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-mmr-primitives = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-npos-elections = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-offchain = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-panic-handler = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-runtime = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-runtime-interface = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-runtime-interface-proc-macro = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-sandbox = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-serializer = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-session = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-staking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-state-machine = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-std = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-storage = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-tasks = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-timestamp = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-tracing = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-transaction-pool = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-transaction-storage-proof = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-trie = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-version = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-version-proc-macro = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -sp-wasm-interface = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -substrate-build-script-utils = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -substrate-frame-rpc-system = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -substrate-prometheus-endpoint = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -substrate-state-trie-migration-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -substrate-test-client = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -substrate-test-utils = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -substrate-test-utils-derive = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -substrate-wasm-builder = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} -try-runtime-cli = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute-disable-ic"} +beefy-gadget = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +beefy-gadget-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +beefy-merkle-tree = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +beefy-primitives = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +fork-tree = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +frame-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +frame-benchmarking-cli = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +frame-election-provider-solution-type = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +frame-election-provider-support = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +frame-executive = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +frame-support = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +frame-support-procedural = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +frame-support-procedural-tools = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +frame-support-procedural-tools-derive = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +frame-system = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +frame-system-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +frame-system-rpc-runtime-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +frame-try-runtime = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-aura = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-authority-discovery = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-authorship = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-babe = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-bags-list = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-balances = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-beefy = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-beefy-mmr = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-bounties = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-child-bounties = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-collective = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-democracy = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-election-provider-multi-phase = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-election-provider-support-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-elections-phragmen = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-gilt = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-grandpa = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-identity = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-im-online = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-indices = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-membership = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-mmr = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-mmr-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-multisig = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-nicks = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-nomination-pools = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-nomination-pools-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-offences = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-offences-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-preimage = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-proxy = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-randomness-collective-flip = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-recovery = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-scheduler = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-session = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-session-benchmarking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-society = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-staking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-staking-reward-curve = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-staking-reward-fn = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-sudo = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-timestamp = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-tips = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-transaction-payment = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-transaction-payment-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-transaction-payment-rpc-runtime-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-treasury = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-utility = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +pallet-vesting = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +remote-externalities = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-allocator = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-authority-discovery = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-basic-authorship = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-block-builder = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-chain-spec = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-chain-spec-derive = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-cli = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-client-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-client-db = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-consensus = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-consensus-aura = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-consensus-babe = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-consensus-babe-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-consensus-epochs = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-consensus-manual-seal = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-consensus-slots = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-consensus-uncles = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-executor = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-executor-common = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-executor-wasmi = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-executor-wasmtime = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-finality-grandpa = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-finality-grandpa-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-informant = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-keystore = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-network = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-network-common = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-network-gossip = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-network-light = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-network-sync = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-offchain = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-peerset = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-proposer-metrics = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-rpc-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-rpc-server = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-service = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-state-db = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-sync-state-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-sysinfo = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-telemetry = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-tracing = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-tracing-proc-macro = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-transaction-pool = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-transaction-pool-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sc-utils = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-api = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-api-proc-macro = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-application-crypto = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-arithmetic = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-authority-discovery = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-authorship = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-block-builder = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-blockchain = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-consensus = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-consensus-aura = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-consensus-babe = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-consensus-slots = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-consensus-vrf = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-core = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-core-hashing = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-core-hashing-proc-macro = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-database = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-debug-derive = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-externalities = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-finality-grandpa = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-inherents = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-io = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-keyring = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-keystore = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-maybe-compressed-blob = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-mmr-primitives = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-npos-elections = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-offchain = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-panic-handler = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-runtime = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-runtime-interface = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-runtime-interface-proc-macro = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-sandbox = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-serializer = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-session = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-staking = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-state-machine = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-std = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-storage = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-tasks = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-timestamp = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-tracing = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-transaction-pool = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-transaction-storage-proof = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-trie = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-version = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-version-proc-macro = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +sp-wasm-interface = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +substrate-build-script-utils = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +substrate-frame-rpc-system = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +substrate-prometheus-endpoint = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +substrate-state-trie-migration-rpc = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +substrate-test-client = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +substrate-test-utils = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +substrate-test-utils-derive = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +substrate-wasm-builder = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} +try-runtime-cli = {git = "https://github.com/uniquenetwork/substrate", branch = "polkadot-v0.9.24-hack-substitute"} diff --git a/node/cli/Cargo.toml b/node/cli/Cargo.toml index 8572c20bb2..5ce0c10616 100644 --- a/node/cli/Cargo.toml +++ b/node/cli/Cargo.toml @@ -328,8 +328,4 @@ runtime-benchmarks = [ 'opal-runtime/runtime-benchmarks', 'polkadot-service/runtime-benchmarks', ] -try-runtime = [ - 'unique-runtime?/try-runtime', - 'quartz-runtime?/try-runtime', - 'opal-runtime/try-runtime', -] +try-runtime = [] diff --git a/pallets/maintenance/Cargo.toml b/pallets/maintenance/Cargo.toml deleted file mode 100644 index 6b54f5a98d..0000000000 --- a/pallets/maintenance/Cargo.toml +++ /dev/null @@ -1,35 +0,0 @@ -[package] -name = "pallet-maintenance" -version = "0.1.0" -authors = ["Unique Network "] -edition = "2021" -license = "GPLv3" -homepage = "https://unique.network" -repository = "https://github.com/UniqueNetwork/unique-chain" -description = "Unique Maintenance pallet" -readme = "README.md" - -[dependencies] -codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } -scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24" } -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24" } - -[features] -default = ["std"] -std = [ - "codec/std", - "scale-info/std", - "frame-support/std", - "frame-system/std", - "frame-benchmarking/std", - "sp-std/std", -] -runtime-benchmarks = [ - "frame-benchmarking", - "frame-support/runtime-benchmarks", - "frame-system/runtime-benchmarks", -] -try-runtime = ["frame-support/try-runtime"] diff --git a/pallets/maintenance/src/lib.rs b/pallets/maintenance/src/lib.rs deleted file mode 100644 index 0baaed9aa5..0000000000 --- a/pallets/maintenance/src/lib.rs +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright 2019-2022 Unique Network (Gibraltar) Ltd. -// This file is part of Unique Network. - -// Unique Network is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. - -// Unique Network is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License -// along with Unique Network. If not, see . - -#![cfg_attr(not(feature = "std"), no_std)] - -pub use pallet::*; - -#[cfg(feature = "runtime-benchmarks")] -pub mod benchmarking; - -pub mod weights; - -#[frame_support::pallet] -pub mod pallet { - use frame_support::pallet_prelude::*; - use frame_system::pallet_prelude::*; - use crate::weights::WeightInfo; - - #[pallet::config] - pub trait Config: frame_system::Config { - type Event: From> + IsType<::Event>; - type WeightInfo: WeightInfo; - } - - #[pallet::event] - #[pallet::generate_deposit(pub(super) fn deposit_event)] - pub enum Event { - MaintenanceEnabled, - MaintenanceDisabled, - } - - #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] - pub struct Pallet(_); - - #[pallet::storage] - #[pallet::getter(fn is_enabled)] - pub type Enabled = StorageValue<_, bool, ValueQuery>; - - #[pallet::error] - pub enum Error {} - - #[pallet::call] - impl Pallet { - #[pallet::weight(::WeightInfo::enable())] - pub fn enable(origin: OriginFor) -> DispatchResult { - ensure_root(origin)?; - - >::set(true); - - Self::deposit_event(Event::MaintenanceEnabled); - - Ok(()) - } - - #[pallet::weight(::WeightInfo::disable())] - pub fn disable(origin: OriginFor) -> DispatchResult { - ensure_root(origin)?; - - >::set(false); - - Self::deposit_event(Event::MaintenanceDisabled); - - Ok(()) - } - } -} diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index 5e117c5386..2992413835 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -32,7 +32,6 @@ runtime-benchmarks = [ 'frame-support/runtime-benchmarks', 'frame-system/runtime-benchmarks', ] -try-runtime = [] [dependencies.sp-core] default-features = false diff --git a/runtime/opal/Cargo.toml b/runtime/opal/Cargo.toml index 790a695147..ebba38be23 100644 --- a/runtime/opal/Cargo.toml +++ b/runtime/opal/Cargo.toml @@ -41,14 +41,11 @@ runtime-benchmarks = [ 'pallet-xcm/runtime-benchmarks', 'sp-runtime/runtime-benchmarks', 'xcm-builder/runtime-benchmarks', - 'pallet-maintenance/runtime-benchmarks', ] try-runtime = [ 'frame-try-runtime', 'frame-executive/try-runtime', 'frame-system/try-runtime', - 'unique-runtime-common/try-runtime', - 'pallet-maintenance/try-runtime', ] std = [ 'codec/std', @@ -120,8 +117,6 @@ std = [ 'rmrk-rpc/std', "orml-vesting/std", - - 'pallet-maintenance/std', ] limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing'] opal-runtime = [] @@ -432,7 +427,6 @@ pallet-ethereum = { default-features = false, git = "https://github.com/uniquene pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.24" } fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.24" } fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.24" } -pallet-maintenance = { default-features = false, path = "../../pallets/maintenance" } ################################################################################ # Build Dependencies diff --git a/runtime/opal/src/lib.rs b/runtime/opal/src/lib.rs index 76b24e9ccc..17d9eb05b1 100644 --- a/runtime/opal/src/lib.rs +++ b/runtime/opal/src/lib.rs @@ -25,7 +25,6 @@ #[cfg(feature = "std")] include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs")); -use scale_info::TypeInfo; use sp_api::impl_runtime_apis; use sp_core::{crypto::KeyTypeId, OpaqueMetadata, H256, U256, H160}; use sp_runtime::DispatchError; @@ -35,13 +34,8 @@ use fp_self_contained::*; use sp_runtime::{ Permill, Perbill, Percent, create_runtime_str, generic, impl_opaque_keys, - traits::{ - AccountIdLookup, BlakeTwo256, Block as BlockT, AccountIdConversion, Zero, Member, - SignedExtension, - }, - transaction_validity::{ - TransactionSource, TransactionValidity, ValidTransaction, InvalidTransaction, - }, + traits::{AccountIdLookup, BlakeTwo256, Block as BlockT, AccountIdConversion, Zero, Member}, + transaction_validity::{TransactionSource, TransactionValidity}, ApplyExtrinsicResult, RuntimeAppPublic, }; @@ -964,7 +958,6 @@ fn get_signed_extras(from: ::AccountId) -> Sign from, )), frame_system::CheckWeight::::new(), - CheckMaintenance, // sponsoring transaction logic // pallet_charge_transaction::ChargeTransactionPayment::::new(0), ) @@ -1253,8 +1246,6 @@ construct_runtime!( EvmContractHelpers: pallet_evm_contract_helpers::{Pallet, Storage} = 151, EvmTransactionPayment: pallet_evm_transaction_payment::{Pallet} = 152, EvmMigration: pallet_evm_migration::{Pallet, Call, Storage} = 153, - - Maintenance: pallet_maintenance::{Pallet, Call, Storage, Event} = 154, } ); @@ -1300,7 +1291,6 @@ pub type SignedExtra = ( frame_system::CheckEra, frame_system::CheckNonce, frame_system::CheckWeight, - CheckMaintenance, ChargeTransactionPayment, //pallet_contract_helpers::ContractHelpersExtension, pallet_ethereum::FakeTransactionFinalizer, @@ -1311,7 +1301,6 @@ pub type SignedExtraScheduler = ( frame_system::CheckEra, frame_system::CheckNonce, frame_system::CheckWeight, - CheckMaintenance, ); /// Unchecked extrinsic type as expected by this runtime. pub type UncheckedExtrinsic = diff --git a/runtime/quartz/Cargo.toml b/runtime/quartz/Cargo.toml index 7620bd235d..bd80474ee6 100644 --- a/runtime/quartz/Cargo.toml +++ b/runtime/quartz/Cargo.toml @@ -47,8 +47,6 @@ try-runtime = [ 'frame-try-runtime', 'frame-executive/try-runtime', 'frame-system/try-runtime', - 'unique-runtime-common/try-runtime', - 'pallet-maintenance/try-runtime', ] std = [ 'codec/std', diff --git a/runtime/unique/Cargo.toml b/runtime/unique/Cargo.toml index fd7daa8a91..bef2cb771b 100644 --- a/runtime/unique/Cargo.toml +++ b/runtime/unique/Cargo.toml @@ -48,8 +48,6 @@ try-runtime = [ 'frame-try-runtime', 'frame-executive/try-runtime', 'frame-system/try-runtime', - 'unique-runtime-common/try-runtime', - 'pallet-maintenance/try-runtime', ] std = [ 'codec/std', From 95048967730fa057bfef4d67161b4098fcdbc372 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Wed, 2 Nov 2022 10:42:53 +0000 Subject: [PATCH 17/31] fix: restore maintenance mode pallet --- Cargo.lock | 346 +++++++++++++++++---------------- pallets/maintenance/Cargo.toml | 35 ++++ pallets/maintenance/src/lib.rs | 80 ++++++++ runtime/opal/Cargo.toml | 4 + runtime/opal/src/lib.rs | 16 +- 5 files changed, 306 insertions(+), 175 deletions(-) create mode 100644 pallets/maintenance/Cargo.toml create mode 100644 pallets/maintenance/src/lib.rs diff --git a/Cargo.lock b/Cargo.lock index b376b0ca8c..66731bad2a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -420,7 +420,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "beefy-primitives", "fnv", @@ -454,7 +454,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -474,12 +474,12 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "parity-scale-codec 3.1.5", "scale-info", @@ -2682,7 +2682,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "parity-scale-codec 3.1.5", ] @@ -2776,7 +2776,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-support", "frame-system", @@ -2798,7 +2798,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "Inflector", "chrono", @@ -2848,7 +2848,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2859,7 +2859,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2875,7 +2875,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-support", "frame-system", @@ -2903,7 +2903,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "bitflags", "frame-metadata", @@ -2933,7 +2933,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -2945,7 +2945,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2957,7 +2957,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "proc-macro2", "quote", @@ -2967,7 +2967,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-support", "log", @@ -2984,7 +2984,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -2999,7 +2999,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "parity-scale-codec 3.1.5", "sp-api", @@ -3008,7 +3008,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-support", "sp-api", @@ -5450,7 +5450,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-support", "frame-system", @@ -5466,7 +5466,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-support", "frame-system", @@ -5482,7 +5482,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-support", "frame-system", @@ -5497,7 +5497,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5521,7 +5521,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5541,7 +5541,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5571,7 +5571,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "beefy-primitives", "frame-support", @@ -5587,7 +5587,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "beefy-merkle-tree", "beefy-primitives", @@ -5610,7 +5610,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5688,7 +5688,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5707,7 +5707,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5745,7 +5745,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5761,7 +5761,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5784,7 +5784,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5797,7 +5797,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5967,7 +5967,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5982,7 +5982,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -6005,7 +6005,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "enumflags2", "frame-benchmarking", @@ -6021,7 +6021,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -6041,7 +6041,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -6089,7 +6089,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -6106,7 +6106,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -6124,7 +6124,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "jsonrpsee", "parity-scale-codec 3.1.5", @@ -6139,7 +6139,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -6154,7 +6154,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-support", "frame-system", @@ -6168,7 +6168,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-support", "frame-system", @@ -6184,7 +6184,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6225,7 +6225,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-support", "frame-system", @@ -6242,7 +6242,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6265,7 +6265,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -6281,7 +6281,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -6296,7 +6296,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-support", "frame-system", @@ -6310,7 +6310,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -6385,7 +6385,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -6401,7 +6401,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-support", "frame-system", @@ -6422,7 +6422,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -6438,7 +6438,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-support", "frame-system", @@ -6452,7 +6452,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6475,7 +6475,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -6486,7 +6486,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "log", "sp-arithmetic", @@ -6510,7 +6510,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-support", "frame-system", @@ -6544,7 +6544,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -6562,7 +6562,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -6581,7 +6581,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-support", "frame-system", @@ -6597,7 +6597,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -6612,7 +6612,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "pallet-transaction-payment", "parity-scale-codec 3.1.5", @@ -6623,7 +6623,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -6682,7 +6682,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -6698,7 +6698,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -8956,7 +8956,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "env_logger", "jsonrpsee", @@ -9335,7 +9335,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "log", "sp-core", @@ -9346,7 +9346,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "async-trait", "futures 0.3.21", @@ -9373,7 +9373,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "futures 0.3.21", "futures-timer", @@ -9396,7 +9396,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "parity-scale-codec 3.1.5", "sc-client-api", @@ -9412,7 +9412,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.5", @@ -9429,7 +9429,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9440,7 +9440,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "chrono", "clap", @@ -9479,7 +9479,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "fnv", "futures 0.3.21", @@ -9507,7 +9507,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "hash-db", "kvdb", @@ -9532,7 +9532,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "async-trait", "futures 0.3.21", @@ -9556,7 +9556,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "async-trait", "futures 0.3.21", @@ -9585,7 +9585,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "async-trait", "fork-tree", @@ -9628,7 +9628,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "futures 0.3.21", "jsonrpsee", @@ -9650,7 +9650,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "fork-tree", "parity-scale-codec 3.1.5", @@ -9663,7 +9663,7 @@ dependencies = [ [[package]] name = "sc-consensus-manual-seal" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "assert_matches", "async-trait", @@ -9697,7 +9697,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "async-trait", "futures 0.3.21", @@ -9722,7 +9722,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "sc-client-api", "sp-authorship", @@ -9733,7 +9733,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "lazy_static", "lru 0.7.8", @@ -9760,7 +9760,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "environmental", "parity-scale-codec 3.1.5", @@ -9777,7 +9777,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "log", "parity-scale-codec 3.1.5", @@ -9792,7 +9792,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "cfg-if 1.0.0", "libc", @@ -9810,7 +9810,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "ahash", "async-trait", @@ -9850,7 +9850,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "finality-grandpa", "futures 0.3.21", @@ -9871,7 +9871,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "ansi_term", "futures 0.3.21", @@ -9888,7 +9888,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "async-trait", "hex", @@ -9903,7 +9903,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "async-trait", "asynchronous-codec", @@ -9955,7 +9955,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "futures 0.3.21", "libp2p", @@ -9968,7 +9968,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "ahash", "futures 0.3.21", @@ -9985,7 +9985,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "futures 0.3.21", "libp2p", @@ -10005,7 +10005,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "bitflags", "either", @@ -10034,7 +10034,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "bytes 1.2.0", "fnv", @@ -10062,7 +10062,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "futures 0.3.21", "libp2p", @@ -10075,7 +10075,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -10084,7 +10084,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "futures 0.3.21", "hash-db", @@ -10114,7 +10114,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "futures 0.3.21", "jsonrpsee", @@ -10137,7 +10137,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "futures 0.3.21", "jsonrpsee", @@ -10150,7 +10150,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "async-trait", "directories", @@ -10215,7 +10215,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "log", "parity-scale-codec 3.1.5", @@ -10229,7 +10229,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "jsonrpsee", "parity-scale-codec 3.1.5", @@ -10248,7 +10248,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "futures 0.3.21", "libc", @@ -10267,7 +10267,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "chrono", "futures 0.3.21", @@ -10285,7 +10285,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "ansi_term", "atty", @@ -10316,7 +10316,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10327,7 +10327,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "futures 0.3.21", "futures-timer", @@ -10354,7 +10354,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "futures 0.3.21", "log", @@ -10367,7 +10367,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "futures 0.3.21", "futures-timer", @@ -10809,7 +10809,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "hash-db", "log", @@ -10826,7 +10826,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "blake2", "proc-macro-crate", @@ -10838,7 +10838,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "parity-scale-codec 3.1.5", "scale-info", @@ -10851,7 +10851,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "integer-sqrt", "num-traits", @@ -10866,7 +10866,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "parity-scale-codec 3.1.5", "scale-info", @@ -10879,7 +10879,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "async-trait", "parity-scale-codec 3.1.5", @@ -10891,7 +10891,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "parity-scale-codec 3.1.5", "sp-api", @@ -10903,7 +10903,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "futures 0.3.21", "log", @@ -10921,7 +10921,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "async-trait", "futures 0.3.21", @@ -10940,7 +10940,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "async-trait", "parity-scale-codec 3.1.5", @@ -10958,7 +10958,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "async-trait", "merlin", @@ -10981,7 +10981,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "parity-scale-codec 3.1.5", "scale-info", @@ -10995,7 +10995,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "parity-scale-codec 3.1.5", "scale-info", @@ -11008,7 +11008,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "base58", "bitflags", @@ -11054,7 +11054,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "blake2", "byteorder", @@ -11068,7 +11068,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "proc-macro2", "quote", @@ -11079,7 +11079,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -11088,7 +11088,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "proc-macro2", "quote", @@ -11098,7 +11098,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "environmental", "parity-scale-codec 3.1.5", @@ -11109,7 +11109,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "finality-grandpa", "log", @@ -11127,7 +11127,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -11141,7 +11141,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "futures 0.3.21", "hash-db", @@ -11166,7 +11166,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "lazy_static", "sp-core", @@ -11177,7 +11177,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "async-trait", "futures 0.3.21", @@ -11194,7 +11194,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "thiserror", "zstd", @@ -11203,7 +11203,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "log", "parity-scale-codec 3.1.5", @@ -11218,7 +11218,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "parity-scale-codec 3.1.5", "scale-info", @@ -11232,7 +11232,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "sp-api", "sp-core", @@ -11242,7 +11242,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "backtrace", "lazy_static", @@ -11252,7 +11252,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "rustc-hash", "serde", @@ -11262,7 +11262,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "either", "hash256-std-hasher", @@ -11284,7 +11284,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec 3.1.5", @@ -11301,7 +11301,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "Inflector", "proc-macro-crate", @@ -11313,7 +11313,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "log", "parity-scale-codec 3.1.5", @@ -11327,7 +11327,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "serde", "serde_json", @@ -11336,7 +11336,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "parity-scale-codec 3.1.5", "scale-info", @@ -11350,7 +11350,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "parity-scale-codec 3.1.5", "scale-info", @@ -11361,7 +11361,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "hash-db", "log", @@ -11383,12 +11383,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "impl-serde", "parity-scale-codec 3.1.5", @@ -11401,7 +11401,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "log", "sp-core", @@ -11414,7 +11414,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "async-trait", "futures-timer", @@ -11430,7 +11430,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "parity-scale-codec 3.1.5", "sp-std", @@ -11442,7 +11442,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "sp-api", "sp-runtime", @@ -11451,7 +11451,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "async-trait", "log", @@ -11467,7 +11467,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "hash-db", "memory-db", @@ -11483,7 +11483,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "impl-serde", "parity-scale-codec 3.1.5", @@ -11500,7 +11500,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "parity-scale-codec 3.1.5", "proc-macro2", @@ -11511,7 +11511,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "impl-trait-for-tuples", "log", @@ -11666,7 +11666,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "platforms", ] @@ -11674,7 +11674,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.21", @@ -11695,7 +11695,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "futures-util", "hyper", @@ -11708,7 +11708,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "jsonrpsee", "log", @@ -11729,7 +11729,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "async-trait", "futures 0.3.21", @@ -11755,7 +11755,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "futures 0.3.21", "substrate-test-utils-derive", @@ -11765,7 +11765,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11776,7 +11776,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "ansi_term", "build-helper", @@ -12211,8 +12211,10 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922" dependencies = [ + "ahash", "lazy_static", "log", + "lru 0.7.8", "tracing-core", ] @@ -12333,7 +12335,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute-disable-ic#6365b31efb056108a3ed28751d33332751220b39" +source = "git+https://github.com/uniquenetwork/substrate?branch=polkadot-v0.9.24-hack-substitute#1fa76b0665d32b1e28c36da67e54da1816db3fa2" dependencies = [ "clap", "jsonrpsee", diff --git a/pallets/maintenance/Cargo.toml b/pallets/maintenance/Cargo.toml new file mode 100644 index 0000000000..6b54f5a98d --- /dev/null +++ b/pallets/maintenance/Cargo.toml @@ -0,0 +1,35 @@ +[package] +name = "pallet-maintenance" +version = "0.1.0" +authors = ["Unique Network "] +edition = "2021" +license = "GPLv3" +homepage = "https://unique.network" +repository = "https://github.com/UniqueNetwork/unique-chain" +description = "Unique Maintenance pallet" +readme = "README.md" + +[dependencies] +codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } +scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24" } +frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24" } +frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24" } + +[features] +default = ["std"] +std = [ + "codec/std", + "scale-info/std", + "frame-support/std", + "frame-system/std", + "frame-benchmarking/std", + "sp-std/std", +] +runtime-benchmarks = [ + "frame-benchmarking", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", +] +try-runtime = ["frame-support/try-runtime"] diff --git a/pallets/maintenance/src/lib.rs b/pallets/maintenance/src/lib.rs new file mode 100644 index 0000000000..0baaed9aa5 --- /dev/null +++ b/pallets/maintenance/src/lib.rs @@ -0,0 +1,80 @@ +// Copyright 2019-2022 Unique Network (Gibraltar) Ltd. +// This file is part of Unique Network. + +// Unique Network is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Unique Network is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Unique Network. If not, see . + +#![cfg_attr(not(feature = "std"), no_std)] + +pub use pallet::*; + +#[cfg(feature = "runtime-benchmarks")] +pub mod benchmarking; + +pub mod weights; + +#[frame_support::pallet] +pub mod pallet { + use frame_support::pallet_prelude::*; + use frame_system::pallet_prelude::*; + use crate::weights::WeightInfo; + + #[pallet::config] + pub trait Config: frame_system::Config { + type Event: From> + IsType<::Event>; + type WeightInfo: WeightInfo; + } + + #[pallet::event] + #[pallet::generate_deposit(pub(super) fn deposit_event)] + pub enum Event { + MaintenanceEnabled, + MaintenanceDisabled, + } + + #[pallet::pallet] + #[pallet::generate_store(pub(super) trait Store)] + pub struct Pallet(_); + + #[pallet::storage] + #[pallet::getter(fn is_enabled)] + pub type Enabled = StorageValue<_, bool, ValueQuery>; + + #[pallet::error] + pub enum Error {} + + #[pallet::call] + impl Pallet { + #[pallet::weight(::WeightInfo::enable())] + pub fn enable(origin: OriginFor) -> DispatchResult { + ensure_root(origin)?; + + >::set(true); + + Self::deposit_event(Event::MaintenanceEnabled); + + Ok(()) + } + + #[pallet::weight(::WeightInfo::disable())] + pub fn disable(origin: OriginFor) -> DispatchResult { + ensure_root(origin)?; + + >::set(false); + + Self::deposit_event(Event::MaintenanceDisabled); + + Ok(()) + } + } +} diff --git a/runtime/opal/Cargo.toml b/runtime/opal/Cargo.toml index ebba38be23..905e1d1e3d 100644 --- a/runtime/opal/Cargo.toml +++ b/runtime/opal/Cargo.toml @@ -41,6 +41,7 @@ runtime-benchmarks = [ 'pallet-xcm/runtime-benchmarks', 'sp-runtime/runtime-benchmarks', 'xcm-builder/runtime-benchmarks', + 'pallet-maintenance/runtime-benchmarks', ] try-runtime = [ 'frame-try-runtime', @@ -117,6 +118,8 @@ std = [ 'rmrk-rpc/std', "orml-vesting/std", + + 'pallet-maintenance/std', ] limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing'] opal-runtime = [] @@ -427,6 +430,7 @@ pallet-ethereum = { default-features = false, git = "https://github.com/uniquene pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.24" } fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.24" } fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.24" } +pallet-maintenance = { default-features = false, path = "../../pallets/maintenance" } ################################################################################ # Build Dependencies diff --git a/runtime/opal/src/lib.rs b/runtime/opal/src/lib.rs index 17d9eb05b1..52549a55cf 100644 --- a/runtime/opal/src/lib.rs +++ b/runtime/opal/src/lib.rs @@ -32,10 +32,16 @@ use fp_self_contained::*; // #[cfg(any(feature = "std", test))] // pub use sp_runtime::BuildStorage; +use scale_info::TypeInfo; use sp_runtime::{ Permill, Perbill, Percent, create_runtime_str, generic, impl_opaque_keys, - traits::{AccountIdLookup, BlakeTwo256, Block as BlockT, AccountIdConversion, Zero, Member}, - transaction_validity::{TransactionSource, TransactionValidity}, + traits::{ + AccountIdLookup, BlakeTwo256, Block as BlockT, AccountIdConversion, Zero, Member, + SignedExtension, + }, + transaction_validity::{ + TransactionSource, TransactionValidity, ValidTransaction, InvalidTransaction, + }, ApplyExtrinsicResult, RuntimeAppPublic, }; @@ -89,7 +95,6 @@ use sp_arithmetic::{ traits::{BaseArithmetic, Unsigned}, }; use smallvec::smallvec; -// use scale_info::TypeInfo; use codec::{Encode, Decode}; use fp_rpc::TransactionStatus; use sp_runtime::{ @@ -958,6 +963,7 @@ fn get_signed_extras(from: ::AccountId) -> Sign from, )), frame_system::CheckWeight::::new(), + CheckMaintenance, // sponsoring transaction logic // pallet_charge_transaction::ChargeTransactionPayment::::new(0), ) @@ -1246,6 +1252,8 @@ construct_runtime!( EvmContractHelpers: pallet_evm_contract_helpers::{Pallet, Storage} = 151, EvmTransactionPayment: pallet_evm_transaction_payment::{Pallet} = 152, EvmMigration: pallet_evm_migration::{Pallet, Call, Storage} = 153, + + Maintenance: pallet_maintenance::{Pallet, Call, Storage, Event} = 154, } ); @@ -1291,6 +1299,7 @@ pub type SignedExtra = ( frame_system::CheckEra, frame_system::CheckNonce, frame_system::CheckWeight, + CheckMaintenance, ChargeTransactionPayment, //pallet_contract_helpers::ContractHelpersExtension, pallet_ethereum::FakeTransactionFinalizer, @@ -1301,6 +1310,7 @@ pub type SignedExtraScheduler = ( frame_system::CheckEra, frame_system::CheckNonce, frame_system::CheckWeight, + CheckMaintenance, ); /// Unchecked extrinsic type as expected by this runtime. pub type UncheckedExtrinsic = From 8b906470d01ff5bf3ab66aff6b00c389bb7dfe8e Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Wed, 2 Nov 2022 11:05:36 +0000 Subject: [PATCH 18/31] chore: bump spec_version --- runtime/opal/src/lib.rs | 2 +- runtime/quartz/src/lib.rs | 2 +- runtime/unique/src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/opal/src/lib.rs b/runtime/opal/src/lib.rs index 52549a55cf..405578c9a8 100644 --- a/runtime/opal/src/lib.rs +++ b/runtime/opal/src/lib.rs @@ -197,7 +197,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!(RUNTIME_NAME), impl_name: create_runtime_str!(RUNTIME_NAME), authoring_version: 1, - spec_version: 924012, + spec_version: 924013, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, diff --git a/runtime/quartz/src/lib.rs b/runtime/quartz/src/lib.rs index 9aa8537320..680317378e 100644 --- a/runtime/quartz/src/lib.rs +++ b/runtime/quartz/src/lib.rs @@ -197,7 +197,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!(RUNTIME_NAME), impl_name: create_runtime_str!(RUNTIME_NAME), authoring_version: 1, - spec_version: 924012, + spec_version: 924013, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, diff --git a/runtime/unique/src/lib.rs b/runtime/unique/src/lib.rs index 6f82171bce..64ccb7a7f5 100644 --- a/runtime/unique/src/lib.rs +++ b/runtime/unique/src/lib.rs @@ -196,7 +196,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!(RUNTIME_NAME), impl_name: create_runtime_str!(RUNTIME_NAME), authoring_version: 1, - spec_version: 924012, + spec_version: 924013, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, From 331baec0aa847322fee8769a9854a47d449f90a8 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Wed, 2 Nov 2022 11:23:45 +0000 Subject: [PATCH 19/31] fix: try-runtime workflow will apply disable-ic patch --- .docker/Dockerfile-try-runtime | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.docker/Dockerfile-try-runtime b/.docker/Dockerfile-try-runtime index e6c000f431..b309e9dbe9 100644 --- a/.docker/Dockerfile-try-runtime +++ b/.docker/Dockerfile-try-runtime @@ -41,9 +41,11 @@ ENV REPLICA_FROM $REPLICA_FROM COPY . /unique_parachain WORKDIR /unique_parachain +RUN echo "[BE CAREFUL] applying disable-ic patch\n" && \ + git apply .github/patch/disable-ic.patch RUN echo "Requested features: $FEATURE\n" && \ echo "Fork from: $REPLICA_FROM\n" && \ - cargo build --features=$FEATURE --release + cargo build --features=try-runtime,$FEATURE --release -CMD cargo run --features=try-runtime,$FEATURE --release -- try-runtime on-runtime-upgrade live --uri $REPLICA_FROM \ No newline at end of file +CMD cargo run --features=try-runtime,$FEATURE --release -- try-runtime on-runtime-upgrade live --uri $REPLICA_FROM From 1a3743a88df9a6b3c62124d4d612b26b1cd3e047 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Wed, 2 Nov 2022 11:58:22 +0000 Subject: [PATCH 20/31] fix: MM blocks only unique pallets calls --- node/cli/Cargo.toml | 2 +- runtime/opal/Cargo.toml | 2 +- runtime/opal/src/lib.rs | 17 +++++++++++++++-- runtime/quartz/Cargo.toml | 3 ++- runtime/quartz/src/lib.rs | 17 +++++++++++++++-- runtime/unique/src/lib.rs | 17 +++++++++++++++-- 6 files changed, 49 insertions(+), 9 deletions(-) diff --git a/node/cli/Cargo.toml b/node/cli/Cargo.toml index 5ce0c10616..5b860175f2 100644 --- a/node/cli/Cargo.toml +++ b/node/cli/Cargo.toml @@ -321,7 +321,7 @@ unique-rpc = { default-features = false, path = "../rpc" } rmrk-rpc = { path = "../../primitives/rmrk-rpc" } [features] -default = [] +default = ['opal-runtime/opal-runtime', 'quartz-runtime?/quartz-runtime'] runtime-benchmarks = [ 'unique-runtime?/runtime-benchmarks', 'quartz-runtime?/runtime-benchmarks', diff --git a/runtime/opal/Cargo.toml b/runtime/opal/Cargo.toml index 905e1d1e3d..c34621fd63 100644 --- a/runtime/opal/Cargo.toml +++ b/runtime/opal/Cargo.toml @@ -16,7 +16,7 @@ version = '0.9.24' targets = ['x86_64-unknown-linux-gnu'] [features] -default = ['std'] +default = ['std', 'opal-runtime'] runtime-benchmarks = [ 'hex-literal', 'frame-benchmarking', diff --git a/runtime/opal/src/lib.rs b/runtime/opal/src/lib.rs index 405578c9a8..09335581be 100644 --- a/runtime/opal/src/lib.rs +++ b/runtime/opal/src/lib.rs @@ -1166,8 +1166,21 @@ impl SignedExtension for CheckMaintenance { ) -> TransactionValidity { if Maintenance::is_enabled() { match call { - Call::Sudo(_) => Ok(ValidTransaction::default()), - _ => Err(TransactionValidityError::Invalid(InvalidTransaction::Call)), + Call::EvmMigration(_) + | Call::EVM(_) + | Call::Ethereum(_) + | Call::Inflation(_) + | Call::Maintenance(_) + | Call::Scheduler(_) + | Call::Structure(_) + | Call::Unique(_) => Err(TransactionValidityError::Invalid(InvalidTransaction::Call)), + + #[cfg(any(feature = "opal-runtime", feature = "quartz-runtime"))] + Call::RmrkCore(_) | Call::RmrkEquip(_) => { + Err(TransactionValidityError::Invalid(InvalidTransaction::Call)) + } + + _ => Ok(ValidTransaction::default()), } } else { Ok(ValidTransaction::default()) diff --git a/runtime/quartz/Cargo.toml b/runtime/quartz/Cargo.toml index bd80474ee6..e4e256cfcc 100644 --- a/runtime/quartz/Cargo.toml +++ b/runtime/quartz/Cargo.toml @@ -16,7 +16,7 @@ version = '0.9.24' targets = ['x86_64-unknown-linux-gnu'] [features] -default = ['std'] +default = ['std', 'quartz-runtime'] runtime-benchmarks = [ 'hex-literal', 'frame-benchmarking', @@ -121,6 +121,7 @@ std = [ 'pallet-maintenance/std', ] limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing'] +quartz-runtime = [] ################################################################################ # Substrate Dependencies diff --git a/runtime/quartz/src/lib.rs b/runtime/quartz/src/lib.rs index 680317378e..fcb18ee4fa 100644 --- a/runtime/quartz/src/lib.rs +++ b/runtime/quartz/src/lib.rs @@ -1165,8 +1165,21 @@ impl SignedExtension for CheckMaintenance { ) -> TransactionValidity { if Maintenance::is_enabled() { match call { - Call::Sudo(_) => Ok(ValidTransaction::default()), - _ => Err(TransactionValidityError::Invalid(InvalidTransaction::Call)), + Call::EvmMigration(_) + | Call::EVM(_) + | Call::Ethereum(_) + | Call::Inflation(_) + | Call::Maintenance(_) + | Call::Scheduler(_) + | Call::Structure(_) + | Call::Unique(_) => Err(TransactionValidityError::Invalid(InvalidTransaction::Call)), + + #[cfg(any(feature = "opal-runtime", feature = "quartz-runtime"))] + Call::RmrkCore(_) | Call::RmrkEquip(_) => { + Err(TransactionValidityError::Invalid(InvalidTransaction::Call)) + } + + _ => Ok(ValidTransaction::default()), } } else { Ok(ValidTransaction::default()) diff --git a/runtime/unique/src/lib.rs b/runtime/unique/src/lib.rs index 64ccb7a7f5..31cc92c73f 100644 --- a/runtime/unique/src/lib.rs +++ b/runtime/unique/src/lib.rs @@ -1154,8 +1154,21 @@ impl SignedExtension for CheckMaintenance { ) -> TransactionValidity { if Maintenance::is_enabled() { match call { - Call::Sudo(_) => Ok(ValidTransaction::default()), - _ => Err(TransactionValidityError::Invalid(InvalidTransaction::Call)), + Call::EvmMigration(_) + | Call::EVM(_) + | Call::Ethereum(_) + | Call::Inflation(_) + | Call::Maintenance(_) + | Call::Scheduler(_) + | Call::Structure(_) + | Call::Unique(_) => Err(TransactionValidityError::Invalid(InvalidTransaction::Call)), + + #[cfg(any(feature = "opal-runtime", feature = "quartz-runtime"))] + Call::RmrkCore(_) | Call::RmrkEquip(_) => { + Err(TransactionValidityError::Invalid(InvalidTransaction::Call)) + } + + _ => Ok(ValidTransaction::default()), } } else { Ok(ValidTransaction::default()) From 6c269a2ffd0e8505e12a99d01f1242c76ab8f1f1 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Wed, 2 Nov 2022 13:18:10 +0000 Subject: [PATCH 21/31] test: extend maintenance tests --- tests/src/maintenanceMode.test.ts | 133 ++++++++++++++++++++++++++---- 1 file changed, 115 insertions(+), 18 deletions(-) diff --git a/tests/src/maintenanceMode.test.ts b/tests/src/maintenanceMode.test.ts index 700dc60026..9f6cc26076 100644 --- a/tests/src/maintenanceMode.test.ts +++ b/tests/src/maintenanceMode.test.ts @@ -17,7 +17,7 @@ import chai from 'chai'; import chaiAsPromised from 'chai-as-promised'; import {default as usingApi, submitTransactionAsync, submitTransactionExpectFailAsync} from './substrate/substrate-api'; -import {createCollection} from './util/helpers'; +import {createCollection, createItemExpectSuccess, createItemExpectFailure, createCollectionWithPropsExpectSuccess} from './util/helpers'; import {createEthAccount, createEthAccountWithBalance, evmCollection, evmCollectionHelpers, getCollectionAddressFromResult, itWeb3} from './eth/util/helpers'; import {IKeyringPair} from '@polkadot/types/types'; import {ApiPromise} from '@polkadot/api'; @@ -50,8 +50,6 @@ describe('Integration Test: Maintenance Mode', () => { it('Allows superuser to enable and disable maintenance mode - and disallows anyone else', async () => { await usingApi(async api => { - const stats = (await api.rpc.unique.collectionStats()).toJSON(); - // Make sure non-sudo can't enable maintenance mode const txEnable = api.tx.maintenance.enable(); await expect(submitTransactionExpectFailAsync(bob, txEnable), 'on commoner enabling MM').to.be.rejected; //With(/NoPermission/); @@ -60,33 +58,132 @@ describe('Integration Test: Maintenance Mode', () => { await submitTransactionAsync(superuser, api.tx.sudo.sudo(txEnable as any)); expect(await maintenanceEnabled(api), 'MM is OFF when it should be ON').to.be.true; - // An ordinary user or a superuser without sudo can't do anything while maintenance mode is enabled - await expect(createCollection(api, bob), 'cudo forbidden stuff').to.be.rejected; //With(/NoPermission/); + // Make sure non-sudo can't disable maintenance mode + const txDisable = api.tx.maintenance.disable(); + await expect(submitTransactionExpectFailAsync(bob, txDisable), 'on commoner disabling MM').to.be.rejected; //With(/NoPermission/); + + // Disable maintenance mode + await submitTransactionAsync(superuser, api.tx.sudo.sudo(txDisable as any)); + expect(await maintenanceEnabled(api), 'MM is ON when it should be OFF').to.be.false; + }); + }); + + it('MM blocks unique pallet calls', async () => { + await usingApi(async api => { + // Can create an NFT collection before enabling the MM + const nftCollectionId = await expect(createCollectionWithPropsExpectSuccess({ + mode: {type: 'NFT'}, + propPerm: [ + { + key: 'test', + permission: { + collectionAdmin: true, + tokenOwner: true, + mutable: true, + }, + }, + ], + })).to.be.fulfilled; + + // Can mint an NFT before enabling the MM + const nftId = await createItemExpectSuccess(superuser, nftCollectionId, 'NFT'); + + // Can create an FT collection before enabling the MM + const ftCollectionResult = await expect(createCollection(api, superuser, {mode: {type: 'Fungible', decimalPoints: 18}})).to.be.fulfilled; + const ftCollectionId = ftCollectionResult.collectionId; + + // Can mint an FT before enabling the MM + await createItemExpectSuccess(superuser, ftCollectionId, 'Fungible'); + + // Can create an RFT collection before enabling the MM + const rftCollectionResult = await expect(createCollection(api, superuser, {mode: {type: 'ReFungible'}})).to.be.fulfilled; + const rftCollectionId = rftCollectionResult.collectionId; + + // Can mint an RFT before enabling the MM + await createItemExpectSuccess(superuser, rftCollectionId, 'ReFungible'); + + const txEnable = api.tx.maintenance.enable(); + await submitTransactionAsync(superuser, api.tx.sudo.sudo(txEnable as any)); + expect(await maintenanceEnabled(api), 'MM is OFF when it should be ON').to.be.true; + + // Unable to create a collection when the MM is enabled + await expect(createCollection(api, superuser), 'cudo forbidden stuff').to.be.rejected; + + // Unable to set token properties when the MM is enabled await expect(submitTransactionExpectFailAsync( superuser, - api.tx.unique.setTokenProperties(999999, 999999, []), - ), 'cudo forbidden stuff #2').to.be.rejectedWith(''); - await expect(submitTransactionExpectFailAsync( - superuser, - api.tx.balances.transfer(bob.address, 1n), - ), 'cudo forbidden stuff #3').to.be.rejectedWith(''); + api.tx.unique.setTokenProperties(nftCollectionId, nftId, [{key: 'test', value: 'test-val'}]), + )).to.be.rejected; + + // Unable to mint an NFT when the MM is enabled + await expect(createItemExpectFailure(superuser, nftCollectionId, 'NFT')).to.be.rejected; + + // Unable to mint an FT when the MM is enabled + await expect(createItemExpectFailure(superuser, ftCollectionId, 'Fungible')).to.be.rejected; + + // Unable to mint an RFT when the MM is enabled + await expect(createItemExpectFailure(superuser, rftCollectionId, 'ReFungible')).to.be.rejected; + + const txDisable = api.tx.maintenance.disable(); + await submitTransactionAsync(superuser, api.tx.sudo.sudo(txDisable as any)); + expect(await maintenanceEnabled(api), 'MM is ON when it should be OFF').to.be.false; + + // Can create a collection after disabling the MM + await expect(createCollection(api, superuser), 'MM is disabled, the collection should be created').to.be.fulfilled; - // A superuser with sudo can do anything + // Can set token properties after disabling the MM + await submitTransactionAsync( + superuser, + api.tx.unique.setTokenProperties(nftCollectionId, nftId, [{key: 'test', value: 'test-val'}]), + ); + + // Can mint an NFT after disabling the MM + await createItemExpectSuccess(superuser, nftCollectionId, 'NFT'); + + // Can mint an FT after disabling the MM + await createItemExpectSuccess(superuser, ftCollectionId, 'Fungible'); + + // Can mint an RFT after disabling the MM + await createItemExpectSuccess(superuser, rftCollectionId, 'ReFungible'); + }); + }); + + it('MM allows native token transfers and RPC calls', async () => { + await usingApi(async api => { + // We can use RPC before the MM is enabled + const stats = (await api.rpc.unique.collectionStats()).toJSON(); + + // We can transfer funds before the MM is enabled await expect(submitTransactionAsync( superuser, - api.tx.sudo.sudo(api.tx.balances.transfer(bob.address, 1n)), - ), 'sudo stuff').to.be.fulfilled; + api.tx.balances.transfer(bob.address, 1n), + )).to.be.fulfilled; + + const txEnable = api.tx.maintenance.enable(); + await submitTransactionAsync(superuser, api.tx.sudo.sudo(txEnable as any)); + expect(await maintenanceEnabled(api), 'MM is OFF when it should be ON').to.be.true; // RPCs work while in maintenance expect((await api.rpc.unique.collectionStats()).toJSON()).to.be.deep.equal(stats); - // Make sure non-sudo can't disable maintenance mode - const txDisable = api.tx.maintenance.disable(); - await expect(submitTransactionExpectFailAsync(bob, txDisable), 'on commoner disabling MM').to.be.rejected; //With(/NoPermission/); + // We still able to transfer funds + await expect(submitTransactionAsync( + superuser, + api.tx.balances.transfer(bob.address, 1n), + )).to.be.fulfilled; - // Disable maintenance mode + const txDisable = api.tx.maintenance.disable(); await submitTransactionAsync(superuser, api.tx.sudo.sudo(txDisable as any)); expect(await maintenanceEnabled(api), 'MM is ON when it should be OFF').to.be.false; + + // RPCs work after maintenance + expect((await api.rpc.unique.collectionStats()).toJSON()).to.be.deep.equal(stats); + + // Transfers work after maintenance + await expect(submitTransactionAsync( + superuser, + api.tx.balances.transfer(bob.address, 1n), + )).to.be.fulfilled; }); }); From 29c9bd570f0d0861babf1e73cf2b68a9b8c47c23 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Wed, 2 Nov 2022 13:50:01 +0000 Subject: [PATCH 22/31] test: maintenance blocks shceduler and scheduled calls --- tests/src/maintenanceMode.test.ts | 87 +++++++++++++++++++++++++++++-- 1 file changed, 84 insertions(+), 3 deletions(-) diff --git a/tests/src/maintenanceMode.test.ts b/tests/src/maintenanceMode.test.ts index 9f6cc26076..1056408bbf 100644 --- a/tests/src/maintenanceMode.test.ts +++ b/tests/src/maintenanceMode.test.ts @@ -17,7 +17,7 @@ import chai from 'chai'; import chaiAsPromised from 'chai-as-promised'; import {default as usingApi, submitTransactionAsync, submitTransactionExpectFailAsync} from './substrate/substrate-api'; -import {createCollection, createItemExpectSuccess, createItemExpectFailure, createCollectionWithPropsExpectSuccess} from './util/helpers'; +import {createCollection, createItemExpectSuccess, createItemExpectFailure, createCollectionWithPropsExpectSuccess, waitNewBlocks, getTokenOwner, scheduleTransferExpectSuccess} from './util/helpers'; import {createEthAccount, createEthAccountWithBalance, evmCollection, evmCollectionHelpers, getCollectionAddressFromResult, itWeb3} from './eth/util/helpers'; import {IKeyringPair} from '@polkadot/types/types'; import {ApiPromise} from '@polkadot/api'; @@ -187,6 +187,89 @@ describe('Integration Test: Maintenance Mode', () => { }); }); + it('MM blocks scheduled calls and the scheduler itself', async () => { + await usingApi(async api => { + const collectionResult = await expect(createCollection(api, superuser)).to.be.fulfilled; + const collectionId = collectionResult.collectionId; + + const nftBeforeMM = await createItemExpectSuccess(superuser, collectionId, 'NFT'); + const nftDuringMM = await createItemExpectSuccess(superuser, collectionId, 'NFT'); + const nftAfterMM = await createItemExpectSuccess(superuser, collectionId, 'NFT'); + + const scheduledIdBeforeMM = '0x' + '0'.repeat(31) + '0'; + const scheduledIdDuringMM = '0x' + '0'.repeat(31) + '1'; + const scheduledIdAttemptDuringMM = '0x' + '0'.repeat(31) + '2'; + const scheduledIdAfterMM = '0x' + '0'.repeat(31) + '3'; + + const blocksToWait = 4; + + // Scheduling works before the maintenance + await scheduleTransferExpectSuccess( + collectionId, + nftBeforeMM, + superuser, + bob, + 1, + blocksToWait, + scheduledIdBeforeMM, + ); + + await waitNewBlocks(blocksToWait + 1); + + expect(await getTokenOwner(api, collectionId, nftBeforeMM)).to.be.deep.equal({Substrate: bob.address}); + + // Schedule a transaction that should occur *during* the maintenance + await scheduleTransferExpectSuccess( + collectionId, + nftDuringMM, + superuser, + bob, + 1, + blocksToWait, + scheduledIdDuringMM, + ); + + const txEnable = api.tx.maintenance.enable(); + await submitTransactionAsync(superuser, api.tx.sudo.sudo(txEnable as any)); + expect(await maintenanceEnabled(api), 'MM is OFF when it should be ON').to.be.true; + + await waitNewBlocks(blocksToWait + 1); + + // The owner should NOT change since the scheduled transaction should be rejected + expect(await getTokenOwner(api, collectionId, nftDuringMM)).to.be.deep.equal({Substrate: superuser.address}); + + // Any attempts to schedule a tx during the MM should be rejected + await expect(scheduleTransferExpectSuccess( + collectionId, + nftDuringMM, + superuser, + bob, + 1, + blocksToWait, + scheduledIdAttemptDuringMM, + )).to.be.rejected; + + const txDisable = api.tx.maintenance.disable(); + await submitTransactionAsync(superuser, api.tx.sudo.sudo(txDisable as any)); + expect(await maintenanceEnabled(api), 'MM is ON when it should be OFF').to.be.false; + + // Scheduling works after the maintenance + await scheduleTransferExpectSuccess( + collectionId, + nftAfterMM, + superuser, + bob, + 1, + blocksToWait, + scheduledIdAfterMM, + ); + + await waitNewBlocks(blocksToWait + 1); + + expect(await getTokenOwner(api, collectionId, nftAfterMM)).to.be.deep.equal({Substrate: bob.address}); + }); + }); + itWeb3('Disallows Ethereum transactions to execute while in maintenance', async ({api, web3, privateKeyWrapper}) => { const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper); const receiver = createEthAccount(web3); @@ -235,8 +318,6 @@ describe('Integration Test: Maintenance Mode', () => { }); }); - // TODO:maintenance test scheduler? - afterEach(async () => { await usingApi(async api => { if (await maintenanceEnabled(api)) { From b42fdaf0d5ad579e766afaeead8382191a3945b9 Mon Sep 17 00:00:00 2001 From: Konstantin Astakhov Date: Thu, 3 Nov 2022 00:21:13 +0700 Subject: [PATCH 23/31] add extended logs for parachain (cherry picked from commit 5b95a036dde98beceac62bd58d5766a053285bdb) Signed-off-by: Yaroslav Bolyukin --- .docker/forkless-config/launch-config-forkless-data.j2 | 4 ++-- .docker/forkless-config/launch-config-forkless-nodata.j2 | 4 ++-- .docker/forkless-config/launch-config-node-update-only-v3.j2 | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.docker/forkless-config/launch-config-forkless-data.j2 b/.docker/forkless-config/launch-config-forkless-data.j2 index d26e9ef0f4..f6b6bf65a0 100644 --- a/.docker/forkless-config/launch-config-forkless-data.j2 +++ b/.docker/forkless-config/launch-config-forkless-data.j2 @@ -108,7 +108,7 @@ "--rpc-cors=all", "--unsafe-rpc-external", "--unsafe-ws-external", - "-lxcm=trace" + "-lxcm=trace,parity_ws::handler=debug,jsonrpsee_core=trace,jsonrpsee-core=trace,jsonrpsee_ws_server=debug" ] }, { @@ -120,7 +120,7 @@ "--rpc-cors=all", "--unsafe-rpc-external", "--unsafe-ws-external", - "-lxcm=trace" + "-lxcm=trace,parity_ws::handler=debug,jsonrpsee_core=trace,jsonrpsee-core=trace,jsonrpsee_ws_server=debug" ] } ] diff --git a/.docker/forkless-config/launch-config-forkless-nodata.j2 b/.docker/forkless-config/launch-config-forkless-nodata.j2 index b044d447f3..beb1c3c898 100644 --- a/.docker/forkless-config/launch-config-forkless-nodata.j2 +++ b/.docker/forkless-config/launch-config-forkless-nodata.j2 @@ -101,7 +101,7 @@ "--rpc-cors=all", "--unsafe-rpc-external", "--unsafe-ws-external", - "-lxcm=trace", + "-lxcm=trace,parity_ws::handler=debug,jsonrpsee_core=trace,jsonrpsee-core=trace,jsonrpsee_ws_server=debug", "--ws-max-connections=1000" ] }, @@ -114,7 +114,7 @@ "--rpc-cors=all", "--unsafe-rpc-external", "--unsafe-ws-external", - "-lxcm=trace", + "-lxcm=trace,parity_ws::handler=debug,jsonrpsee_core=trace,jsonrpsee-core=trace,jsonrpsee_ws_server=debug", "--ws-max-connections=1000" ] } diff --git a/.docker/forkless-config/launch-config-node-update-only-v3.j2 b/.docker/forkless-config/launch-config-node-update-only-v3.j2 index 9647e4ea00..080d73ccc7 100644 --- a/.docker/forkless-config/launch-config-node-update-only-v3.j2 +++ b/.docker/forkless-config/launch-config-node-update-only-v3.j2 @@ -101,7 +101,7 @@ "--rpc-cors=all", "--unsafe-rpc-external", "--unsafe-ws-external", - "-lxcm=trace", + "-lxcm=trace,parity_ws::handler=debug,jsonrpsee_core=trace,jsonrpsee-core=trace,jsonrpsee_ws_server=debug", "--ws-max-connections=1000" ] }, @@ -114,7 +114,7 @@ "--rpc-cors=all", "--unsafe-rpc-external", "--unsafe-ws-external", - "-lxcm=trace", + "-lxcm=trace,parity_ws::handler=debug,jsonrpsee_core=trace,jsonrpsee-core=trace,jsonrpsee_ws_server=debug", "--ws-max-connections=1000" ] } From b498fc04e359663f413195b71f206e744accfffd Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Wed, 2 Nov 2022 17:52:05 +0000 Subject: [PATCH 24/31] fix: add readyness script --- tests/scripts/readyness.js | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 tests/scripts/readyness.js diff --git a/tests/scripts/readyness.js b/tests/scripts/readyness.js new file mode 100644 index 0000000000..3bf5b3313d --- /dev/null +++ b/tests/scripts/readyness.js @@ -0,0 +1,36 @@ +const { ApiPromise, WsProvider } = require('@polkadot/api'); + +const connect = async () => { + const wsEndpoint = 'ws://127.0.0.1:9944'; + const api = new ApiPromise({provider: new WsProvider(wsEndpoint)}); + await api.isReadyOrError; + + const head = (await api.rpc.chain.getHeader()).number.toNumber(); + await api.disconnect(); + if(head < 1) throw Error('No block #1'); + +} + +const sleep = time => { + return new Promise(resolve => { + setTimeout(() => resolve(), time); + }); +}; + +const main = async () => { + while(true) { + try { + await connect(); + break; + } + catch(e) { + await sleep(10000); + console.log(e); + } + } +} + +main().then(() => process.exit(0)).catch(e => { + console.error(e); + process.exit(1); +}); From 005d2a204187e70bd5195a2705e877fc48157b47 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Wed, 2 Nov 2022 22:00:44 +0000 Subject: [PATCH 25/31] fix: move disable-ic.patch into .docker dir --- .docker/Dockerfile-try-runtime | 2 +- {.github => .docker}/patch/disable-ic.patch | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename {.github => .docker}/patch/disable-ic.patch (100%) diff --git a/.docker/Dockerfile-try-runtime b/.docker/Dockerfile-try-runtime index b309e9dbe9..fc0437e5ce 100644 --- a/.docker/Dockerfile-try-runtime +++ b/.docker/Dockerfile-try-runtime @@ -42,7 +42,7 @@ COPY . /unique_parachain WORKDIR /unique_parachain RUN echo "[BE CAREFUL] applying disable-ic patch\n" && \ - git apply .github/patch/disable-ic.patch + git apply .docker/patch/disable-ic.patch RUN echo "Requested features: $FEATURE\n" && \ echo "Fork from: $REPLICA_FROM\n" && \ diff --git a/.github/patch/disable-ic.patch b/.docker/patch/disable-ic.patch similarity index 100% rename from .github/patch/disable-ic.patch rename to .docker/patch/disable-ic.patch From d486b15545a14f31b2d26e4f27f71cea52049417 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Thu, 3 Nov 2022 10:08:13 +0000 Subject: [PATCH 26/31] fix: add CheckMaintenance signed ext to substrate-api.ts --- tests/src/substrate/substrate-api.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/src/substrate/substrate-api.ts b/tests/src/substrate/substrate-api.ts index cf6493cd73..2fba5c1e18 100644 --- a/tests/src/substrate/substrate-api.ts +++ b/tests/src/substrate/substrate-api.ts @@ -39,6 +39,10 @@ function defaultApiOptions(): ApiOptions { extrinsic: {}, payload: {}, }, + CheckMaintenance: { + extrinsic: {}, + payload: {}, + }, }, rpc: { unique: defs.unique.rpc, From 2d91c24a006bb32a66b3a6a9c2de7a1726b48803 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Fri, 4 Nov 2022 10:04:40 +0000 Subject: [PATCH 27/31] fix: regenerate types --- tests/src/interfaces/augment-api-consts.ts | 10 +- tests/src/interfaces/augment-api-errors.ts | 10 +- tests/src/interfaces/augment-api-events.ts | 10 +- tests/src/interfaces/augment-api-query.ts | 11 +- tests/src/interfaces/augment-api-rpc.ts | 35 +- tests/src/interfaces/augment-api-tx.ts | 30 +- tests/src/interfaces/augment-api.ts | 1 - tests/src/interfaces/augment-types.ts | 99 +--- tests/src/interfaces/registry.ts | 6 +- tests/src/interfaces/types-lookup.ts | 498 ++++++++++----------- 10 files changed, 288 insertions(+), 422 deletions(-) diff --git a/tests/src/interfaces/augment-api-consts.ts b/tests/src/interfaces/augment-api-consts.ts index 0d5781763b..902377851a 100644 --- a/tests/src/interfaces/augment-api-consts.ts +++ b/tests/src/interfaces/augment-api-consts.ts @@ -1,20 +1,14 @@ // Auto-generated via `yarn polkadot-types-from-chain`, do not edit /* eslint-disable */ -// import type lookup before we augment - in some environments -// this is required to allow for ambient/previous definitions -import '@polkadot/api-base/types/consts'; - -import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types'; +import type { ApiTypes } from '@polkadot/api-base/types'; import type { Option, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { Codec } from '@polkadot/types-codec/types'; import type { Permill } from '@polkadot/types/interfaces/runtime'; import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion } from '@polkadot/types/lookup'; -export type __AugmentedConst = AugmentedConst; - declare module '@polkadot/api-base/types/consts' { - interface AugmentedConsts { + export interface AugmentedConsts { balances: { /** * The minimum amount required to keep an account open. diff --git a/tests/src/interfaces/augment-api-errors.ts b/tests/src/interfaces/augment-api-errors.ts index d62848148a..d6b6b2cedf 100644 --- a/tests/src/interfaces/augment-api-errors.ts +++ b/tests/src/interfaces/augment-api-errors.ts @@ -1,16 +1,10 @@ // Auto-generated via `yarn polkadot-types-from-chain`, do not edit /* eslint-disable */ -// import type lookup before we augment - in some environments -// this is required to allow for ambient/previous definitions -import '@polkadot/api-base/types/errors'; - -import type { ApiTypes, AugmentedError } from '@polkadot/api-base/types'; - -export type __AugmentedError = AugmentedError; +import type { ApiTypes } from '@polkadot/api-base/types'; declare module '@polkadot/api-base/types/errors' { - interface AugmentedErrors { + export interface AugmentedErrors { balances: { /** * Beneficiary account must pre-exist diff --git a/tests/src/interfaces/augment-api-events.ts b/tests/src/interfaces/augment-api-events.ts index ffe9b48d8a..a3fe7f9a9b 100644 --- a/tests/src/interfaces/augment-api-events.ts +++ b/tests/src/interfaces/augment-api-events.ts @@ -1,20 +1,14 @@ // Auto-generated via `yarn polkadot-types-from-chain`, do not edit /* eslint-disable */ -// import type lookup before we augment - in some environments -// this is required to allow for ambient/previous definitions -import '@polkadot/api-base/types/events'; - -import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types'; +import type { ApiTypes } from '@polkadot/api-base/types'; import type { Bytes, Null, Option, Result, U256, U8aFixed, bool, u128, u32, u64, u8 } from '@polkadot/types-codec'; import type { ITuple } from '@polkadot/types-codec/types'; import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime'; import type { EthereumLog, EvmCoreErrorExitReason, FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, RmrkTraitsNftAccountIdOrCollectionNftTuple, SpRuntimeDispatchError, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup'; -export type __AugmentedEvent = AugmentedEvent; - declare module '@polkadot/api-base/types/events' { - interface AugmentedEvents { + export interface AugmentedEvents { balances: { /** * A balance was set by root. diff --git a/tests/src/interfaces/augment-api-query.ts b/tests/src/interfaces/augment-api-query.ts index 9fdc423c1f..89ad50061d 100644 --- a/tests/src/interfaces/augment-api-query.ts +++ b/tests/src/interfaces/augment-api-query.ts @@ -1,22 +1,15 @@ // Auto-generated via `yarn polkadot-types-from-chain`, do not edit /* eslint-disable */ -// import type lookup before we augment - in some environments -// this is required to allow for ambient/previous definitions -import '@polkadot/api-base/types/storage'; - -import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types'; +import type { ApiTypes } from '@polkadot/api-base/types'; import type { BTreeMap, Bytes, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec'; import type { AnyNumber, ITuple } from '@polkadot/types-codec/types'; import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime'; import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletUniqueSchedulerScheduledV3, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsTokenChild } from '@polkadot/types/lookup'; import type { Observable } from '@polkadot/types/types'; -export type __AugmentedQuery = AugmentedQuery unknown>; -export type __QueryableStorageEntry = QueryableStorageEntry; - declare module '@polkadot/api-base/types/storage' { - interface AugmentedQueries { + export interface AugmentedQueries { balances: { /** * The Balances pallet example of storing the balance of an account. diff --git a/tests/src/interfaces/augment-api-rpc.ts b/tests/src/interfaces/augment-api-rpc.ts index a4f32cf2c8..07469fc4c4 100644 --- a/tests/src/interfaces/augment-api-rpc.ts +++ b/tests/src/interfaces/augment-api-rpc.ts @@ -1,14 +1,10 @@ // Auto-generated via `yarn polkadot-types-from-chain`, do not edit /* eslint-disable */ -// import type lookup before we augment - in some environments -// this is required to allow for ambient/previous definitions -import '@polkadot/rpc-core/types/jsonrpc'; - import type { PalletEvmAccountBasicCrossAccountIdRepr, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsPartPartType, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsTheme, UpDataStructsCollectionLimits, UpDataStructsCollectionStats, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsRpcCollection, UpDataStructsTokenChild, UpDataStructsTokenData } from './default'; import type { AugmentedRpc } from '@polkadot/rpc-core/types'; import type { Metadata, StorageKey } from '@polkadot/types'; -import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, f64, u128, u32, u64 } from '@polkadot/types-codec'; +import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, u128, u32, u64 } from '@polkadot/types-codec'; import type { AnyNumber, Codec } from '@polkadot/types-codec/types'; import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author'; import type { EpochAuthorship } from '@polkadot/types/interfaces/babe'; @@ -19,7 +15,7 @@ import type { AuthorityId } from '@polkadot/types/interfaces/consensus'; import type { CodeUploadRequest, CodeUploadResult, ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequest } from '@polkadot/types/interfaces/contracts'; import type { BlockStats } from '@polkadot/types/interfaces/dev'; import type { CreatedBlock } from '@polkadot/types/interfaces/engine'; -import type { EthAccount, EthCallRequest, EthFeeHistory, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from '@polkadot/types/interfaces/eth'; +import type { EthAccount, EthCallRequest, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from '@polkadot/types/interfaces/eth'; import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics'; import type { EncodedFinalityProofs, JustificationNotification, ReportedRoundStates } from '@polkadot/types/interfaces/grandpa'; import type { MmrLeafBatchProof, MmrLeafProof } from '@polkadot/types/interfaces/mmr'; @@ -31,10 +27,8 @@ import type { MigrationStatusResult, ReadProof, RuntimeVersion, TraceBlockRespon import type { ApplyExtrinsicResult, ChainProperties, ChainType, Health, NetworkState, NodeRole, PeerInfo, SyncState } from '@polkadot/types/interfaces/system'; import type { IExtrinsic, Observable } from '@polkadot/types/types'; -export type __AugmentedRpc = AugmentedRpc<() => unknown>; - declare module '@polkadot/rpc-core/types/jsonrpc' { - interface RpcInterface { + export interface RpcInterface { author: { /** * Returns true if the keystore has private keys for the given public key and key type. @@ -63,11 +57,11 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { /** * Submit and subscribe to watch an extrinsic until unsubscribed **/ - submitAndWatchExtrinsic: AugmentedRpc<(extrinsic: Extrinsic | IExtrinsic | string | Uint8Array) => Observable>; + submitAndWatchExtrinsic: AugmentedRpc<(extrinsic: IExtrinsic) => Observable>; /** * Submit a fully formatted extrinsic for block inclusion **/ - submitExtrinsic: AugmentedRpc<(extrinsic: Extrinsic | IExtrinsic | string | Uint8Array) => Observable>; + submitExtrinsic: AugmentedRpc<(extrinsic: IExtrinsic) => Observable>; }; babe: { /** @@ -143,27 +137,22 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { }; contracts: { /** - * @deprecated Use the runtime interface `api.call.contractsApi.call` instead * Executes a call to a contract **/ call: AugmentedRpc<(callRequest: ContractCallRequest | { origin?: any; dest?: any; value?: any; gasLimit?: any; storageDepositLimit?: any; inputData?: any } | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable>; /** - * @deprecated Use the runtime interface `api.call.contractsApi.getStorage` instead * Returns the value under a specified storage key in a contract **/ getStorage: AugmentedRpc<(address: AccountId | string | Uint8Array, key: H256 | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable>>; /** - * @deprecated Use the runtime interface `api.call.contractsApi.instantiate` instead * Instantiate a new contract **/ instantiate: AugmentedRpc<(request: InstantiateRequest | { origin?: any; value?: any; gasLimit?: any; storageDepositLimit?: any; code?: any; data?: any; salt?: any } | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable>; /** - * @deprecated Not available in newer versions of the contracts interfaces * Returns the projected time a given contract will be able to sustain paying its rent **/ rentProjection: AugmentedRpc<(address: AccountId | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable>>; /** - * @deprecated Use the runtime interface `api.call.contractsApi.uploadCode` instead * Upload new code without instantiating a contract from it **/ uploadCode: AugmentedRpc<(uploadRequest: CodeUploadRequest | { origin?: any; code?: any; storageDepositLimit?: any } | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable>; @@ -209,10 +198,6 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { * Estimate gas needed for execution of given contract. **/ estimateGas: AugmentedRpc<(request: EthCallRequest | { from?: any; to?: any; gasPrice?: any; gas?: any; value?: any; data?: any; nonce?: any } | string | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array) => Observable>; - /** - * Returns fee history for given block count & reward percentiles - **/ - feeHistory: AugmentedRpc<(blockCount: U256 | AnyNumber | Uint8Array, newestBlock: BlockNumber | AnyNumber | Uint8Array, rewardPercentiles: Option> | null | Uint8Array | Vec | (f64)[]) => Observable>; /** * Returns current gas price. **/ @@ -305,10 +290,6 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { * Returns the number of hashes per second that the node is mining with. **/ hashrate: AugmentedRpc<() => Observable>; - /** - * Returns max priority fee per gas - **/ - maxPriorityFeePerGas: AugmentedRpc<() => Observable>; /** * Returns true if client is actively mining new blocks. **/ @@ -468,7 +449,7 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { /** * Get Theme's keys values **/ - themes: AugmentedRpc<(baseId: u32 | AnyNumber | Uint8Array, themeName: Text | string, keys: Option> | null | Uint8Array | Vec | (Text | string)[], at?: Hash | string | Uint8Array) => Observable>>; + themes: AugmentedRpc<(baseId: u32 | AnyNumber | Uint8Array, themeName: Text | string, keys: Option> | null | object | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable>>; }; rpc: { /** @@ -502,7 +483,6 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { **/ getChildStorageSize: AugmentedRpc<(childStorageKey: StorageKey | string | Uint8Array | any, childDefinition: StorageKey | string | Uint8Array | any, childType: u32 | AnyNumber | Uint8Array, key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array) => Observable>; /** - * @deprecated Use `api.rpc.state.getKeysPaged` to retrieve keys * Retrieves the keys with a certain prefix **/ getKeys: AugmentedRpc<(key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array) => Observable>>; @@ -515,7 +495,6 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { **/ getMetadata: AugmentedRpc<(at?: BlockHash | string | Uint8Array) => Observable>; /** - * @deprecated Use `api.rpc.state.getKeysPaged` to retrieve keys * Returns the keys with prefix, leave empty to get all the keys (deprecated: Use getKeysPaged) **/ getPairs: AugmentedRpc<(prefix: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array) => Observable>>; @@ -558,7 +537,7 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { /** * Provides a way to trace the re-execution of a single block **/ - traceBlock: AugmentedRpc<(block: Hash | string | Uint8Array, targets: Option | null | Uint8Array | Text | string, storageKeys: Option | null | Uint8Array | Text | string, methods: Option | null | Uint8Array | Text | string) => Observable>; + traceBlock: AugmentedRpc<(block: Hash | string | Uint8Array, targets: Option | null | object | string | Uint8Array, storageKeys: Option | null | object | string | Uint8Array, methods: Option | null | object | string | Uint8Array) => Observable>; /** * Check current migration state **/ diff --git a/tests/src/interfaces/augment-api-tx.ts b/tests/src/interfaces/augment-api-tx.ts index 6a01dbf9e0..3bd2143e52 100644 --- a/tests/src/interfaces/augment-api-tx.ts +++ b/tests/src/interfaces/augment-api-tx.ts @@ -1,22 +1,14 @@ // Auto-generated via `yarn polkadot-types-from-chain`, do not edit /* eslint-disable */ -// import type lookup before we augment - in some environments -// this is required to allow for ambient/previous definitions -import '@polkadot/api-base/types/submittable'; - -import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types'; +import type { ApiTypes } from '@polkadot/api-base/types'; import type { Bytes, Compact, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types'; import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime'; import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumTransactionTransactionV2, FrameSupportScheduleMaybeHashed, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsPartEquippableList, RmrkTraitsPartPartType, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup'; -export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>; -export type __SubmittableExtrinsic = SubmittableExtrinsic; -export type __SubmittableExtrinsicFunction = SubmittableExtrinsicFunction; - declare module '@polkadot/api-base/types/submittable' { - interface AugmentedSubmittables { + export interface AugmentedSubmittables { balances: { /** * Exactly as `transfer`, except the origin must be root and the source account may be @@ -153,16 +145,16 @@ declare module '@polkadot/api-base/types/submittable' { /** * Issue an EVM call operation. This is similar to a message call transaction in Ethereum. **/ - call: AugmentedSubmittable<(source: H160 | string | Uint8Array, target: H160 | string | Uint8Array, input: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option | null | Uint8Array | U256 | AnyNumber, nonce: Option | null | Uint8Array | U256 | AnyNumber, accessList: Vec]>> | ([H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic, [H160, H160, Bytes, U256, u64, U256, Option, Option, Vec]>>]>; + call: AugmentedSubmittable<(source: H160 | string | Uint8Array, target: H160 | string | Uint8Array, input: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option | null | object | string | Uint8Array, nonce: Option | null | object | string | Uint8Array, accessList: Vec]>> | ([H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic, [H160, H160, Bytes, U256, u64, U256, Option, Option, Vec]>>]>; /** * Issue an EVM create operation. This is similar to a contract creation transaction in * Ethereum. **/ - create: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option | null | Uint8Array | U256 | AnyNumber, nonce: Option | null | Uint8Array | U256 | AnyNumber, accessList: Vec]>> | ([H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic, [H160, Bytes, U256, u64, U256, Option, Option, Vec]>>]>; + create: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option | null | object | string | Uint8Array, nonce: Option | null | object | string | Uint8Array, accessList: Vec]>> | ([H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic, [H160, Bytes, U256, u64, U256, Option, Option, Vec]>>]>; /** * Issue an EVM create2 operation. **/ - create2: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, salt: H256 | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option | null | Uint8Array | U256 | AnyNumber, nonce: Option | null | Uint8Array | U256 | AnyNumber, accessList: Vec]>> | ([H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic, [H160, Bytes, H256, U256, u64, U256, Option, Option, Vec]>>]>; + create2: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, salt: H256 | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option | null | object | string | Uint8Array, nonce: Option | null | object | string | Uint8Array, accessList: Vec]>> | ([H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic, [H160, Bytes, H256, U256, u64, U256, Option, Option, Vec]>>]>; /** * Withdraw balance from EVM into currency/balances pallet. **/ @@ -252,7 +244,7 @@ declare module '@polkadot/api-base/types/submittable' { * - `origin`: Must be Root. * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable. **/ - forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic, [Option]>; + forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option | null | object | string | Uint8Array) => SubmittableExtrinsic, [Option]>; /** * Ask a location to notify us regarding their XCM version and any changes to it. * @@ -410,7 +402,7 @@ declare module '@polkadot/api-base/types/submittable' { /** * Create a collection **/ - createCollection: AugmentedSubmittable<(metadata: Bytes | string | Uint8Array, max: Option | null | Uint8Array | u32 | AnyNumber, symbol: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes, Option, Bytes]>; + createCollection: AugmentedSubmittable<(metadata: Bytes | string | Uint8Array, max: Option | null | object | string | Uint8Array, symbol: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes, Option, Bytes]>; /** * destroy collection **/ @@ -431,7 +423,7 @@ declare module '@polkadot/api-base/types/submittable' { * - `metadata`: Arbitrary data about an nft, e.g. IPFS hash * - `transferable`: Ability to transfer this NFT **/ - mintNft: AugmentedSubmittable<(owner: Option | null | Uint8Array | AccountId32 | string, collectionId: u32 | AnyNumber | Uint8Array, recipient: Option | null | Uint8Array | AccountId32 | string, royaltyAmount: Option | null | Uint8Array | Permill | AnyNumber, metadata: Bytes | string | Uint8Array, transferable: bool | boolean | Uint8Array, resources: Option> | null | Uint8Array | Vec | (RmrkTraitsResourceResourceTypes | { Basic: any } | { Composable: any } | { Slot: any } | string | Uint8Array)[]) => SubmittableExtrinsic, [Option, u32, Option, Option, Bytes, bool, Option>]>; + mintNft: AugmentedSubmittable<(owner: Option | null | object | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, recipient: Option | null | object | string | Uint8Array, royaltyAmount: Option | null | object | string | Uint8Array, metadata: Bytes | string | Uint8Array, transferable: bool | boolean | Uint8Array, resources: Option> | null | object | string | Uint8Array) => SubmittableExtrinsic, [Option, u32, Option, Option, Bytes, bool, Option>]>; /** * Rejects an NFT sent from another account to self or owned NFT * @@ -462,7 +454,7 @@ declare module '@polkadot/api-base/types/submittable' { /** * set a custom value on an NFT **/ - setProperty: AugmentedSubmittable<(rmrkCollectionId: Compact | AnyNumber | Uint8Array, maybeNftId: Option | null | Uint8Array | u32 | AnyNumber, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Compact, Option, Bytes, Bytes]>; + setProperty: AugmentedSubmittable<(rmrkCollectionId: Compact | AnyNumber | Uint8Array, maybeNftId: Option | null | object | string | Uint8Array, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Compact, Option, Bytes, Bytes]>; /** * Generic tx **/ @@ -511,7 +503,7 @@ declare module '@polkadot/api-base/types/submittable' { /** * Schedule a named task. **/ - scheduleNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | { Value: any } | { Hash: any } | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed, u32, Option>, u8, FrameSupportScheduleMaybeHashed]>; + scheduleNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option> | null | object | string | Uint8Array, priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | { Value: any } | { Hash: any } | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed, u32, Option>, u8, FrameSupportScheduleMaybeHashed]>; /** * Schedule a named task after a delay. * @@ -519,7 +511,7 @@ declare module '@polkadot/api-base/types/submittable' { * Same as [`schedule_named`](Self::schedule_named). * # **/ - scheduleNamedAfter: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | { Value: any } | { Hash: any } | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed, u32, Option>, u8, FrameSupportScheduleMaybeHashed]>; + scheduleNamedAfter: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option> | null | object | string | Uint8Array, priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | { Value: any } | { Hash: any } | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed, u32, Option>, u8, FrameSupportScheduleMaybeHashed]>; /** * Generic tx **/ diff --git a/tests/src/interfaces/augment-api.ts b/tests/src/interfaces/augment-api.ts index 7cafd228bd..921d2f824d 100644 --- a/tests/src/interfaces/augment-api.ts +++ b/tests/src/interfaces/augment-api.ts @@ -7,4 +7,3 @@ import './augment-api-events'; import './augment-api-query'; import './augment-api-tx'; import './augment-api-rpc'; -import './augment-api-runtime'; diff --git a/tests/src/interfaces/augment-types.ts b/tests/src/interfaces/augment-types.ts index 34b4f14e57..3a4a2f6b0f 100644 --- a/tests/src/interfaces/augment-types.ts +++ b/tests/src/interfaces/augment-types.ts @@ -1,23 +1,17 @@ // Auto-generated via `yarn polkadot-types-from-defs`, do not edit /* eslint-disable */ -// import type lookup before we augment - in some environments -// this is required to allow for ambient/previous definitions -import '@polkadot/types/types/registry'; - import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeCheckMaintenance, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerCall, PalletUniqueSchedulerError, PalletUniqueSchedulerEvent, PalletUniqueSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default'; import type { Data, StorageKey } from '@polkadot/types'; -import type { BitVec, Bool, Bytes, F32, F64, I128, I16, I256, I32, I64, I8, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, f32, f64, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec'; +import type { BitVec, Bool, Bytes, I128, I16, I256, I32, I64, I8, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec'; import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets'; import type { BlockAttestations, IncludedBlocks, MoreAttestations } from '@polkadot/types/interfaces/attestations'; import type { RawAuraPreDigest } from '@polkadot/types/interfaces/aura'; import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author'; import type { UncleEntryItem } from '@polkadot/types/interfaces/authorship'; -import type { AllowedSlots, BabeAuthorityWeight, BabeBlockWeight, BabeEpochConfiguration, BabeEquivocationProof, BabeGenesisConfiguration, BabeGenesisConfigurationV1, BabeWeight, Epoch, EpochAuthorship, MaybeRandomness, MaybeVrf, NextConfigDescriptor, NextConfigDescriptorV1, OpaqueKeyOwnershipProof, Randomness, RawBabePreDigest, RawBabePreDigestCompat, RawBabePreDigestPrimary, RawBabePreDigestPrimaryTo159, RawBabePreDigestSecondaryPlain, RawBabePreDigestSecondaryTo159, RawBabePreDigestSecondaryVRF, RawBabePreDigestTo159, SlotNumber, VrfData, VrfOutput, VrfProof } from '@polkadot/types/interfaces/babe'; +import type { AllowedSlots, BabeAuthorityWeight, BabeBlockWeight, BabeEpochConfiguration, BabeEquivocationProof, BabeWeight, EpochAuthorship, MaybeRandomness, MaybeVrf, NextConfigDescriptor, NextConfigDescriptorV1, Randomness, RawBabePreDigest, RawBabePreDigestCompat, RawBabePreDigestPrimary, RawBabePreDigestPrimaryTo159, RawBabePreDigestSecondaryPlain, RawBabePreDigestSecondaryTo159, RawBabePreDigestSecondaryVRF, RawBabePreDigestTo159, SlotNumber, VrfData, VrfOutput, VrfProof } from '@polkadot/types/interfaces/babe'; import type { AccountData, BalanceLock, BalanceLockTo212, BalanceStatus, Reasons, ReserveData, ReserveIdentifier, VestingSchedule, WithdrawReasons } from '@polkadot/types/interfaces/balances'; -import type { BeefyAuthoritySet, BeefyCommitment, BeefyId, BeefyNextAuthoritySet, BeefyPayload, BeefyPayloadId, BeefySignedCommitment, MmrRootHash, ValidatorSet, ValidatorSetId } from '@polkadot/types/interfaces/beefy'; -import type { BenchmarkBatch, BenchmarkConfig, BenchmarkList, BenchmarkMetadata, BenchmarkParameter, BenchmarkResult } from '@polkadot/types/interfaces/benchmark'; -import type { CheckInherentsResult, InherentData, InherentIdentifier } from '@polkadot/types/interfaces/blockbuilder'; +import type { BeefyCommitment, BeefyId, BeefyNextAuthoritySet, BeefyPayload, BeefySignedCommitment, MmrRootHash, ValidatorSetId } from '@polkadot/types/interfaces/beefy'; import type { BridgeMessageId, BridgedBlockHash, BridgedBlockNumber, BridgedHeader, CallOrigin, ChainId, DeliveredMessages, DispatchFeePayment, InboundLaneData, InboundRelayer, InitializationData, LaneId, MessageData, MessageKey, MessageNonce, MessagesDeliveryProofOf, MessagesProofOf, OperatingMode, OutboundLaneData, OutboundMessageFee, OutboundPayload, Parameter, RelayerId, UnrewardedRelayer, UnrewardedRelayersState } from '@polkadot/types/interfaces/bridges'; import type { BlockHash } from '@polkadot/types/interfaces/chain'; import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate'; @@ -25,15 +19,15 @@ import type { StatementKind } from '@polkadot/types/interfaces/claims'; import type { CollectiveOrigin, MemberCount, ProposalIndex, Votes, VotesTo230 } from '@polkadot/types/interfaces/collective'; import type { AuthorityId, RawVRFOutput } from '@polkadot/types/interfaces/consensus'; import type { AliveContractInfo, CodeHash, CodeSource, CodeUploadRequest, CodeUploadResult, CodeUploadResultValue, ContractCallFlags, ContractCallRequest, ContractExecResult, ContractExecResultOk, ContractExecResultResult, ContractExecResultSuccessTo255, ContractExecResultSuccessTo260, ContractExecResultTo255, ContractExecResultTo260, ContractExecResultTo267, ContractInfo, ContractInstantiateResult, ContractInstantiateResultTo267, ContractInstantiateResultTo299, ContractReturnFlags, ContractStorageKey, DeletedContract, ExecReturnValue, Gas, HostFnWeights, HostFnWeightsTo264, InstantiateRequest, InstantiateRequestV1, InstantiateRequestV2, InstantiateReturnValue, InstantiateReturnValueOk, InstantiateReturnValueTo267, InstructionWeights, Limits, LimitsTo264, PrefabWasmModule, RentProjection, Schedule, ScheduleTo212, ScheduleTo258, ScheduleTo264, SeedOf, StorageDeposit, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts'; -import type { ContractConstructorSpecLatest, ContractConstructorSpecV0, ContractConstructorSpecV1, ContractConstructorSpecV2, ContractConstructorSpecV3, ContractContractSpecV0, ContractContractSpecV1, ContractContractSpecV2, ContractContractSpecV3, ContractContractSpecV4, ContractCryptoHasher, ContractDiscriminant, ContractDisplayName, ContractEventParamSpecLatest, ContractEventParamSpecV0, ContractEventParamSpecV2, ContractEventSpecLatest, ContractEventSpecV0, ContractEventSpecV1, ContractEventSpecV2, ContractLayoutArray, ContractLayoutCell, ContractLayoutEnum, ContractLayoutHash, ContractLayoutHashingStrategy, ContractLayoutKey, ContractLayoutStruct, ContractLayoutStructField, ContractMessageParamSpecLatest, ContractMessageParamSpecV0, ContractMessageParamSpecV2, ContractMessageSpecLatest, ContractMessageSpecV0, ContractMessageSpecV1, ContractMessageSpecV2, ContractMetadata, ContractMetadataLatest, ContractMetadataV0, ContractMetadataV1, ContractMetadataV2, ContractMetadataV3, ContractMetadataV4, ContractProject, ContractProjectContract, ContractProjectInfo, ContractProjectSource, ContractProjectV0, ContractSelector, ContractStorageLayout, ContractTypeSpec } from '@polkadot/types/interfaces/contractsAbi'; +import type { ContractConstructorSpecLatest, ContractConstructorSpecV0, ContractConstructorSpecV1, ContractConstructorSpecV2, ContractConstructorSpecV3, ContractContractSpecV0, ContractContractSpecV1, ContractContractSpecV2, ContractContractSpecV3, ContractCryptoHasher, ContractDiscriminant, ContractDisplayName, ContractEventParamSpecLatest, ContractEventParamSpecV0, ContractEventParamSpecV2, ContractEventSpecLatest, ContractEventSpecV0, ContractEventSpecV1, ContractEventSpecV2, ContractLayoutArray, ContractLayoutCell, ContractLayoutEnum, ContractLayoutHash, ContractLayoutHashingStrategy, ContractLayoutKey, ContractLayoutStruct, ContractLayoutStructField, ContractMessageParamSpecLatest, ContractMessageParamSpecV0, ContractMessageParamSpecV2, ContractMessageSpecLatest, ContractMessageSpecV0, ContractMessageSpecV1, ContractMessageSpecV2, ContractMetadata, ContractMetadataLatest, ContractMetadataV0, ContractMetadataV1, ContractMetadataV2, ContractMetadataV3, ContractProject, ContractProjectContract, ContractProjectInfo, ContractProjectSource, ContractProjectV0, ContractSelector, ContractStorageLayout, ContractTypeSpec } from '@polkadot/types/interfaces/contractsAbi'; import type { FundIndex, FundInfo, LastContribution, TrieIndex } from '@polkadot/types/interfaces/crowdloan'; -import type { CollationInfo, CollationInfoV1, ConfigData, MessageId, OverweightIndex, PageCounter, PageIndexData } from '@polkadot/types/interfaces/cumulus'; +import type { ConfigData, MessageId, OverweightIndex, PageCounter, PageIndexData } from '@polkadot/types/interfaces/cumulus'; import type { AccountVote, AccountVoteSplit, AccountVoteStandard, Conviction, Delegations, PreimageStatus, PreimageStatusAvailable, PriorLock, PropIndex, Proposal, ProxyState, ReferendumIndex, ReferendumInfo, ReferendumInfoFinished, ReferendumInfoTo239, ReferendumStatus, Tally, Voting, VotingDelegating, VotingDirect, VotingDirectVote } from '@polkadot/types/interfaces/democracy'; import type { BlockStats } from '@polkadot/types/interfaces/dev'; import type { ApprovalFlag, DefunctVoter, Renouncing, SetIndex, Vote, VoteIndex, VoteThreshold, VoterInfo } from '@polkadot/types/interfaces/elections'; import type { CreatedBlock, ImportedAux } from '@polkadot/types/interfaces/engine'; -import type { BlockV0, BlockV1, BlockV2, EIP1559Transaction, EIP2930Transaction, EthAccessList, EthAccessListItem, EthAccount, EthAddress, EthBlock, EthBloom, EthCallRequest, EthFeeHistory, EthFilter, EthFilterAddress, EthFilterChanges, EthFilterTopic, EthFilterTopicEntry, EthFilterTopicInner, EthHeader, EthLog, EthReceipt, EthReceiptV0, EthReceiptV3, EthRichBlock, EthRichHeader, EthStorageProof, EthSubKind, EthSubParams, EthSubResult, EthSyncInfo, EthSyncStatus, EthTransaction, EthTransactionAction, EthTransactionCondition, EthTransactionRequest, EthTransactionSignature, EthTransactionStatus, EthWork, EthereumAccountId, EthereumAddress, EthereumLookupSource, EthereumSignature, LegacyTransaction, TransactionV0, TransactionV1, TransactionV2 } from '@polkadot/types/interfaces/eth'; -import type { EvmAccount, EvmCallInfo, EvmCreateInfo, EvmLog, EvmVicinity, ExitError, ExitFatal, ExitReason, ExitRevert, ExitSucceed } from '@polkadot/types/interfaces/evm'; +import type { BlockV0, BlockV1, BlockV2, EIP1559Transaction, EIP2930Transaction, EthAccessList, EthAccessListItem, EthAccount, EthAddress, EthBlock, EthBloom, EthCallRequest, EthFilter, EthFilterAddress, EthFilterChanges, EthFilterTopic, EthFilterTopicEntry, EthFilterTopicInner, EthHeader, EthLog, EthReceipt, EthRichBlock, EthRichHeader, EthStorageProof, EthSubKind, EthSubParams, EthSubResult, EthSyncInfo, EthSyncStatus, EthTransaction, EthTransactionAction, EthTransactionCondition, EthTransactionRequest, EthTransactionSignature, EthTransactionStatus, EthWork, EthereumAccountId, EthereumAddress, EthereumLookupSource, EthereumSignature, LegacyTransaction, TransactionV0, TransactionV1, TransactionV2 } from '@polkadot/types/interfaces/eth'; +import type { EvmAccount, EvmLog, EvmVicinity, ExitError, ExitFatal, ExitReason, ExitRevert, ExitSucceed } from '@polkadot/types/interfaces/evm'; import type { AnySignature, EcdsaSignature, Ed25519Signature, Era, Extrinsic, ExtrinsicEra, ExtrinsicPayload, ExtrinsicPayloadUnknown, ExtrinsicPayloadV4, ExtrinsicSignature, ExtrinsicSignatureV4, ExtrinsicUnknown, ExtrinsicV4, ImmortalEra, MortalEra, MultiSignature, Signature, SignerPayload, Sr25519Signature } from '@polkadot/types/interfaces/extrinsics'; import type { AssetOptions, Owner, PermissionLatest, PermissionVersions, PermissionsV1 } from '@polkadot/types/interfaces/genericAsset'; import type { ActiveGilt, ActiveGiltsTotal, ActiveIndex, GiltBid } from '@polkadot/types/interfaces/gilt'; @@ -41,37 +35,35 @@ import type { AuthorityIndex, AuthorityList, AuthoritySet, AuthoritySetChange, A import type { IdentityFields, IdentityInfo, IdentityInfoAdditional, IdentityInfoTo198, IdentityJudgement, RegistrarIndex, RegistrarInfo, Registration, RegistrationJudgement, RegistrationTo198 } from '@polkadot/types/interfaces/identity'; import type { AuthIndex, AuthoritySignature, Heartbeat, HeartbeatTo244, OpaqueMultiaddr, OpaqueNetworkState, OpaquePeerId } from '@polkadot/types/interfaces/imOnline'; import type { CallIndex, LotteryConfig } from '@polkadot/types/interfaces/lottery'; -import type { ErrorMetadataLatest, ErrorMetadataV10, ErrorMetadataV11, ErrorMetadataV12, ErrorMetadataV13, ErrorMetadataV14, ErrorMetadataV9, EventMetadataLatest, EventMetadataV10, EventMetadataV11, EventMetadataV12, EventMetadataV13, EventMetadataV14, EventMetadataV9, ExtrinsicMetadataLatest, ExtrinsicMetadataV11, ExtrinsicMetadataV12, ExtrinsicMetadataV13, ExtrinsicMetadataV14, FunctionArgumentMetadataLatest, FunctionArgumentMetadataV10, FunctionArgumentMetadataV11, FunctionArgumentMetadataV12, FunctionArgumentMetadataV13, FunctionArgumentMetadataV14, FunctionArgumentMetadataV9, FunctionMetadataLatest, FunctionMetadataV10, FunctionMetadataV11, FunctionMetadataV12, FunctionMetadataV13, FunctionMetadataV14, FunctionMetadataV9, MetadataAll, MetadataLatest, MetadataV10, MetadataV11, MetadataV12, MetadataV13, MetadataV14, MetadataV9, ModuleConstantMetadataV10, ModuleConstantMetadataV11, ModuleConstantMetadataV12, ModuleConstantMetadataV13, ModuleConstantMetadataV9, ModuleMetadataV10, ModuleMetadataV11, ModuleMetadataV12, ModuleMetadataV13, ModuleMetadataV9, OpaqueMetadata, PalletCallMetadataLatest, PalletCallMetadataV14, PalletConstantMetadataLatest, PalletConstantMetadataV14, PalletErrorMetadataLatest, PalletErrorMetadataV14, PalletEventMetadataLatest, PalletEventMetadataV14, PalletMetadataLatest, PalletMetadataV14, PalletStorageMetadataLatest, PalletStorageMetadataV14, PortableType, PortableTypeV14, SignedExtensionMetadataLatest, SignedExtensionMetadataV14, StorageEntryMetadataLatest, StorageEntryMetadataV10, StorageEntryMetadataV11, StorageEntryMetadataV12, StorageEntryMetadataV13, StorageEntryMetadataV14, StorageEntryMetadataV9, StorageEntryModifierLatest, StorageEntryModifierV10, StorageEntryModifierV11, StorageEntryModifierV12, StorageEntryModifierV13, StorageEntryModifierV14, StorageEntryModifierV9, StorageEntryTypeLatest, StorageEntryTypeV10, StorageEntryTypeV11, StorageEntryTypeV12, StorageEntryTypeV13, StorageEntryTypeV14, StorageEntryTypeV9, StorageHasher, StorageHasherV10, StorageHasherV11, StorageHasherV12, StorageHasherV13, StorageHasherV14, StorageHasherV9, StorageMetadataV10, StorageMetadataV11, StorageMetadataV12, StorageMetadataV13, StorageMetadataV9 } from '@polkadot/types/interfaces/metadata'; -import type { MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError, MmrLeafBatchProof, MmrLeafIndex, MmrLeafProof, MmrNodeIndex, MmrProof } from '@polkadot/types/interfaces/mmr'; -import type { NpApiError } from '@polkadot/types/interfaces/nompools'; +import type { ErrorMetadataLatest, ErrorMetadataV10, ErrorMetadataV11, ErrorMetadataV12, ErrorMetadataV13, ErrorMetadataV14, ErrorMetadataV9, EventMetadataLatest, EventMetadataV10, EventMetadataV11, EventMetadataV12, EventMetadataV13, EventMetadataV14, EventMetadataV9, ExtrinsicMetadataLatest, ExtrinsicMetadataV11, ExtrinsicMetadataV12, ExtrinsicMetadataV13, ExtrinsicMetadataV14, FunctionArgumentMetadataLatest, FunctionArgumentMetadataV10, FunctionArgumentMetadataV11, FunctionArgumentMetadataV12, FunctionArgumentMetadataV13, FunctionArgumentMetadataV14, FunctionArgumentMetadataV9, FunctionMetadataLatest, FunctionMetadataV10, FunctionMetadataV11, FunctionMetadataV12, FunctionMetadataV13, FunctionMetadataV14, FunctionMetadataV9, MetadataAll, MetadataLatest, MetadataV10, MetadataV11, MetadataV12, MetadataV13, MetadataV14, MetadataV9, ModuleConstantMetadataV10, ModuleConstantMetadataV11, ModuleConstantMetadataV12, ModuleConstantMetadataV13, ModuleConstantMetadataV9, ModuleMetadataV10, ModuleMetadataV11, ModuleMetadataV12, ModuleMetadataV13, ModuleMetadataV9, PalletCallMetadataLatest, PalletCallMetadataV14, PalletConstantMetadataLatest, PalletConstantMetadataV14, PalletErrorMetadataLatest, PalletErrorMetadataV14, PalletEventMetadataLatest, PalletEventMetadataV14, PalletMetadataLatest, PalletMetadataV14, PalletStorageMetadataLatest, PalletStorageMetadataV14, PortableType, PortableTypeV14, SignedExtensionMetadataLatest, SignedExtensionMetadataV14, StorageEntryMetadataLatest, StorageEntryMetadataV10, StorageEntryMetadataV11, StorageEntryMetadataV12, StorageEntryMetadataV13, StorageEntryMetadataV14, StorageEntryMetadataV9, StorageEntryModifierLatest, StorageEntryModifierV10, StorageEntryModifierV11, StorageEntryModifierV12, StorageEntryModifierV13, StorageEntryModifierV14, StorageEntryModifierV9, StorageEntryTypeLatest, StorageEntryTypeV10, StorageEntryTypeV11, StorageEntryTypeV12, StorageEntryTypeV13, StorageEntryTypeV14, StorageEntryTypeV9, StorageHasher, StorageHasherV10, StorageHasherV11, StorageHasherV12, StorageHasherV13, StorageHasherV14, StorageHasherV9, StorageMetadataV10, StorageMetadataV11, StorageMetadataV12, StorageMetadataV13, StorageMetadataV9 } from '@polkadot/types/interfaces/metadata'; +import type { MmrLeafBatchProof, MmrLeafProof } from '@polkadot/types/interfaces/mmr'; import type { StorageKind } from '@polkadot/types/interfaces/offchain'; import type { DeferredOffenceOf, Kind, OffenceDetails, Offender, OpaqueTimeSlot, ReportIdOf, Reporter } from '@polkadot/types/interfaces/offences'; -import type { AbridgedCandidateReceipt, AbridgedHostConfiguration, AbridgedHrmpChannel, AssignmentId, AssignmentKind, AttestedCandidate, AuctionIndex, AuthorityDiscoveryId, AvailabilityBitfield, AvailabilityBitfieldRecord, BackedCandidate, Bidder, BufferedSessionChange, CandidateCommitments, CandidateDescriptor, CandidateEvent, CandidateHash, CandidateInfo, CandidatePendingAvailability, CandidateReceipt, CollatorId, CollatorSignature, CommittedCandidateReceipt, CoreAssignment, CoreIndex, CoreOccupied, CoreState, DisputeLocation, DisputeResult, DisputeState, DisputeStatement, DisputeStatementSet, DoubleVoteReport, DownwardMessage, ExplicitDisputeStatement, GlobalValidationData, GlobalValidationSchedule, GroupIndex, GroupRotationInfo, HeadData, HostConfiguration, HrmpChannel, HrmpChannelId, HrmpOpenChannelRequest, InboundDownwardMessage, InboundHrmpMessage, InboundHrmpMessages, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, InvalidDisputeStatementKind, LeasePeriod, LeasePeriodOf, LocalValidationData, MessageIngestionType, MessageQueueChain, MessagingStateSnapshot, MessagingStateSnapshotEgressEntry, MultiDisputeStatementSet, NewBidder, OccupiedCore, OccupiedCoreAssumption, OldV1SessionInfo, OutboundHrmpMessage, ParaGenesisArgs, ParaId, ParaInfo, ParaLifecycle, ParaPastCodeMeta, ParaScheduling, ParaValidatorIndex, ParachainDispatchOrigin, ParachainInherentData, ParachainProposal, ParachainsInherentData, ParathreadClaim, ParathreadClaimQueue, ParathreadEntry, PersistedValidationData, PvfCheckStatement, QueuedParathread, RegisteredParachainInfo, RelayBlockNumber, RelayChainBlockNumber, RelayChainHash, RelayHash, Remark, ReplacementTimes, Retriable, ScheduledCore, Scheduling, ScrapedOnChainVotes, ServiceQuality, SessionInfo, SessionInfoValidatorGroup, SignedAvailabilityBitfield, SignedAvailabilityBitfields, SigningContext, SlotRange, SlotRange10, Statement, SubId, SystemInherentData, TransientValidationData, UpgradeGoAhead, UpgradeRestriction, UpwardMessage, ValidDisputeStatementKind, ValidationCode, ValidationCodeHash, ValidationData, ValidationDataType, ValidationFunctionParams, ValidatorSignature, ValidityAttestation, VecInboundHrmpMessage, WinnersData, WinnersData10, WinnersDataTuple, WinnersDataTuple10, WinningData, WinningData10, WinningDataEntry } from '@polkadot/types/interfaces/parachains'; +import type { AbridgedCandidateReceipt, AbridgedHostConfiguration, AbridgedHrmpChannel, AssignmentId, AssignmentKind, AttestedCandidate, AuctionIndex, AuthorityDiscoveryId, AvailabilityBitfield, AvailabilityBitfieldRecord, BackedCandidate, Bidder, BufferedSessionChange, CandidateCommitments, CandidateDescriptor, CandidateHash, CandidateInfo, CandidatePendingAvailability, CandidateReceipt, CollatorId, CollatorSignature, CommittedCandidateReceipt, CoreAssignment, CoreIndex, CoreOccupied, DisputeLocation, DisputeResult, DisputeState, DisputeStatement, DisputeStatementSet, DoubleVoteReport, DownwardMessage, ExplicitDisputeStatement, GlobalValidationData, GlobalValidationSchedule, GroupIndex, HeadData, HostConfiguration, HrmpChannel, HrmpChannelId, HrmpOpenChannelRequest, InboundDownwardMessage, InboundHrmpMessage, InboundHrmpMessages, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, InvalidDisputeStatementKind, LeasePeriod, LeasePeriodOf, LocalValidationData, MessageIngestionType, MessageQueueChain, MessagingStateSnapshot, MessagingStateSnapshotEgressEntry, MultiDisputeStatementSet, NewBidder, OutboundHrmpMessage, ParaGenesisArgs, ParaId, ParaInfo, ParaLifecycle, ParaPastCodeMeta, ParaScheduling, ParaValidatorIndex, ParachainDispatchOrigin, ParachainInherentData, ParachainProposal, ParachainsInherentData, ParathreadClaim, ParathreadClaimQueue, ParathreadEntry, PersistedValidationData, QueuedParathread, RegisteredParachainInfo, RelayBlockNumber, RelayChainBlockNumber, RelayChainHash, RelayHash, Remark, ReplacementTimes, Retriable, Scheduling, ServiceQuality, SessionInfo, SessionInfoValidatorGroup, SignedAvailabilityBitfield, SignedAvailabilityBitfields, SigningContext, SlotRange, SlotRange10, Statement, SubId, SystemInherentData, TransientValidationData, UpgradeGoAhead, UpgradeRestriction, UpwardMessage, ValidDisputeStatementKind, ValidationCode, ValidationCodeHash, ValidationData, ValidationDataType, ValidationFunctionParams, ValidatorSignature, ValidityAttestation, VecInboundHrmpMessage, WinnersData, WinnersData10, WinnersDataTuple, WinnersDataTuple10, WinningData, WinningData10, WinningDataEntry } from '@polkadot/types/interfaces/parachains'; import type { FeeDetails, InclusionFee, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment'; import type { Approvals } from '@polkadot/types/interfaces/poll'; import type { ProxyAnnouncement, ProxyDefinition, ProxyType } from '@polkadot/types/interfaces/proxy'; import type { AccountStatus, AccountValidity } from '@polkadot/types/interfaces/purchase'; import type { ActiveRecovery, RecoveryConfig } from '@polkadot/types/interfaces/recovery'; import type { RpcMethods } from '@polkadot/types/interfaces/rpc'; -import type { AccountId, AccountId20, AccountId32, AccountId33, AccountIdOf, AccountIndex, Address, AssetId, Balance, BalanceOf, Block, BlockNumber, BlockNumberFor, BlockNumberOf, Call, CallHash, CallHashOf, ChangesTrieConfiguration, ChangesTrieSignal, CodecHash, Consensus, ConsensusEngineId, CrateVersion, Digest, DigestItem, EncodedJustification, ExtrinsicsWeight, Fixed128, Fixed64, FixedI128, FixedI64, FixedU128, FixedU64, H1024, H128, H160, H2048, H256, H32, H512, H64, Hash, Header, HeaderPartial, I32F32, Index, IndicesLookupSource, Justification, Justifications, KeyTypeId, KeyValue, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, MultiAddress, MultiSigner, OpaqueCall, Origin, OriginCaller, PalletId, PalletVersion, PalletsOrigin, Pays, PerU16, Perbill, Percent, Permill, Perquintill, Phantom, PhantomData, PreRuntime, Releases, RuntimeDbWeight, Seal, SealV0, SignedBlock, SignedBlockWithJustification, SignedBlockWithJustifications, Slot, SlotDuration, StorageData, StorageInfo, StorageProof, TransactionInfo, TransactionLongevity, TransactionPriority, TransactionStorageProof, TransactionTag, U32F32, ValidatorId, ValidatorIdOf, Weight, WeightMultiplier, WeightV1, WeightV2 } from '@polkadot/types/interfaces/runtime'; +import type { AccountId, AccountId20, AccountId32, AccountIdOf, AccountIndex, Address, AssetId, Balance, BalanceOf, Block, BlockNumber, BlockNumberFor, BlockNumberOf, Call, CallHash, CallHashOf, ChangesTrieConfiguration, ChangesTrieSignal, CodecHash, Consensus, ConsensusEngineId, CrateVersion, Digest, DigestItem, EncodedJustification, ExtrinsicsWeight, Fixed128, Fixed64, FixedI128, FixedI64, FixedU128, FixedU64, H1024, H128, H160, H2048, H256, H32, H512, H64, Hash, Header, HeaderPartial, I32F32, Index, IndicesLookupSource, Justification, Justifications, KeyTypeId, KeyValue, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, MultiAddress, MultiSigner, OpaqueCall, Origin, OriginCaller, PalletId, PalletVersion, PalletsOrigin, Pays, PerU16, Perbill, Percent, Permill, Perquintill, Phantom, PhantomData, PreRuntime, Releases, RuntimeDbWeight, Seal, SealV0, SignedBlock, SignedBlockWithJustification, SignedBlockWithJustifications, Slot, StorageData, StorageProof, TransactionInfo, TransactionPriority, TransactionStorageProof, U32F32, ValidatorId, ValidatorIdOf, Weight, WeightMultiplier } from '@polkadot/types/interfaces/runtime'; import type { Si0Field, Si0LookupTypeId, Si0Path, Si0Type, Si0TypeDef, Si0TypeDefArray, Si0TypeDefBitSequence, Si0TypeDefCompact, Si0TypeDefComposite, Si0TypeDefPhantom, Si0TypeDefPrimitive, Si0TypeDefSequence, Si0TypeDefTuple, Si0TypeDefVariant, Si0TypeParameter, Si0Variant, Si1Field, Si1LookupTypeId, Si1Path, Si1Type, Si1TypeDef, Si1TypeDefArray, Si1TypeDefBitSequence, Si1TypeDefCompact, Si1TypeDefComposite, Si1TypeDefPrimitive, Si1TypeDefSequence, Si1TypeDefTuple, Si1TypeDefVariant, Si1TypeParameter, Si1Variant, SiField, SiLookupTypeId, SiPath, SiType, SiTypeDef, SiTypeDefArray, SiTypeDefBitSequence, SiTypeDefCompact, SiTypeDefComposite, SiTypeDefPrimitive, SiTypeDefSequence, SiTypeDefTuple, SiTypeDefVariant, SiTypeParameter, SiVariant } from '@polkadot/types/interfaces/scaleInfo'; import type { Period, Priority, SchedulePeriod, SchedulePriority, Scheduled, ScheduledTo254, TaskAddress } from '@polkadot/types/interfaces/scheduler'; import type { BeefyKey, FullIdentification, IdentificationTuple, Keys, MembershipProof, SessionIndex, SessionKeys1, SessionKeys10, SessionKeys10B, SessionKeys2, SessionKeys3, SessionKeys4, SessionKeys5, SessionKeys6, SessionKeys6B, SessionKeys7, SessionKeys7B, SessionKeys8, SessionKeys8B, SessionKeys9, SessionKeys9B, ValidatorCount } from '@polkadot/types/interfaces/session'; import type { Bid, BidKind, SocietyJudgement, SocietyVote, StrikeCount, VouchingStatus } from '@polkadot/types/interfaces/society'; import type { ActiveEraInfo, CompactAssignments, CompactAssignmentsTo257, CompactAssignmentsTo265, CompactAssignmentsWith16, CompactAssignmentsWith24, CompactScore, CompactScoreCompact, ElectionCompute, ElectionPhase, ElectionResult, ElectionScore, ElectionSize, ElectionStatus, EraIndex, EraPoints, EraRewardPoints, EraRewards, Exposure, ExtendedBalance, Forcing, IndividualExposure, KeyType, MomentOf, Nominations, NominatorIndex, NominatorIndexCompact, OffchainAccuracy, OffchainAccuracyCompact, PhragmenScore, Points, RawSolution, RawSolutionTo265, RawSolutionWith16, RawSolutionWith24, ReadySolution, RewardDestination, RewardPoint, RoundSnapshot, SeatHolder, SignedSubmission, SignedSubmissionOf, SignedSubmissionTo276, SlashJournalEntry, SlashingSpans, SlashingSpansTo204, SolutionOrSnapshotSize, SolutionSupport, SolutionSupports, SpanIndex, SpanRecord, StakingLedger, StakingLedgerTo223, StakingLedgerTo240, SubmissionIndicesOf, Supports, UnappliedSlash, UnappliedSlashOther, UnlockChunk, ValidatorIndex, ValidatorIndexCompact, ValidatorPrefs, ValidatorPrefsTo145, ValidatorPrefsTo196, ValidatorPrefsWithBlocked, ValidatorPrefsWithCommission, VoteWeight, Voter } from '@polkadot/types/interfaces/staking'; -import type { ApiId, BlockTrace, BlockTraceEvent, BlockTraceEventData, BlockTraceSpan, KeyValueOption, MigrationStatusResult, ReadProof, RuntimeVersion, RuntimeVersionApi, RuntimeVersionPartial, RuntimeVersionPre3, RuntimeVersionPre4, SpecVersion, StorageChangeSet, TraceBlockResponse, TraceError } from '@polkadot/types/interfaces/state'; +import type { ApiId, BlockTrace, BlockTraceEvent, BlockTraceEventData, BlockTraceSpan, KeyValueOption, MigrationStatusResult, ReadProof, RuntimeVersion, RuntimeVersionApi, RuntimeVersionPartial, SpecVersion, StorageChangeSet, TraceBlockResponse, TraceError } from '@polkadot/types/interfaces/state'; import type { WeightToFeeCoefficient } from '@polkadot/types/interfaces/support'; -import type { AccountInfo, AccountInfoWithDualRefCount, AccountInfoWithProviders, AccountInfoWithRefCount, AccountInfoWithRefCountU8, AccountInfoWithTripleRefCount, ApplyExtrinsicResult, ApplyExtrinsicResultPre6, ArithmeticError, BlockLength, BlockWeights, ChainProperties, ChainType, ConsumedWeight, DigestOf, DispatchClass, DispatchError, DispatchErrorModule, DispatchErrorModulePre6, DispatchErrorModuleU8, DispatchErrorModuleU8a, DispatchErrorPre6, DispatchErrorPre6First, DispatchErrorTo198, DispatchInfo, DispatchInfoTo190, DispatchInfoTo244, DispatchOutcome, DispatchOutcomePre6, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, Health, InvalidTransaction, Key, LastRuntimeUpgradeInfo, NetworkState, NetworkStatePeerset, NetworkStatePeersetInfo, NodeRole, NotConnectedPeer, Peer, PeerEndpoint, PeerEndpointAddr, PeerInfo, PeerPing, PerDispatchClassU32, PerDispatchClassWeight, PerDispatchClassWeightsPerClass, Phase, RawOrigin, RefCount, RefCountTo259, SyncState, SystemOrigin, TokenError, TransactionValidityError, TransactionalError, UnknownTransaction, WeightPerClass } from '@polkadot/types/interfaces/system'; +import type { AccountInfo, AccountInfoWithDualRefCount, AccountInfoWithProviders, AccountInfoWithRefCount, AccountInfoWithRefCountU8, AccountInfoWithTripleRefCount, ApplyExtrinsicResult, ArithmeticError, BlockLength, BlockWeights, ChainProperties, ChainType, ConsumedWeight, DigestOf, DispatchClass, DispatchError, DispatchErrorModule, DispatchErrorModuleU8, DispatchErrorModuleU8a, DispatchErrorTo198, DispatchInfo, DispatchInfoTo190, DispatchInfoTo244, DispatchOutcome, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, Health, InvalidTransaction, Key, LastRuntimeUpgradeInfo, NetworkState, NetworkStatePeerset, NetworkStatePeersetInfo, NodeRole, NotConnectedPeer, Peer, PeerEndpoint, PeerEndpointAddr, PeerInfo, PeerPing, PerDispatchClassU32, PerDispatchClassWeight, PerDispatchClassWeightsPerClass, Phase, RawOrigin, RefCount, RefCountTo259, SyncState, SystemOrigin, TokenError, TransactionValidityError, TransactionalError, UnknownTransaction, WeightPerClass } from '@polkadot/types/interfaces/system'; import type { Bounty, BountyIndex, BountyStatus, BountyStatusActive, BountyStatusCuratorProposed, BountyStatusPendingPayout, OpenTip, OpenTipFinderTo225, OpenTipTip, OpenTipTo225, TreasuryProposal } from '@polkadot/types/interfaces/treasury'; import type { Multiplier } from '@polkadot/types/interfaces/txpayment'; -import type { TransactionSource, TransactionValidity, ValidTransaction } from '@polkadot/types/interfaces/txqueue'; import type { ClassDetails, ClassId, ClassMetadata, DepositBalance, DepositBalanceOf, DestroyWitness, InstanceDetails, InstanceId, InstanceMetadata } from '@polkadot/types/interfaces/uniques'; import type { Multisig, Timepoint } from '@polkadot/types/interfaces/utility'; import type { VestingInfo } from '@polkadot/types/interfaces/vesting'; import type { AssetInstance, AssetInstanceV0, AssetInstanceV1, AssetInstanceV2, BodyId, BodyPart, DoubleEncodedCall, Fungibility, FungibilityV0, FungibilityV1, FungibilityV2, InboundStatus, InstructionV2, InteriorMultiLocation, Junction, JunctionV0, JunctionV1, JunctionV2, Junctions, JunctionsV1, JunctionsV2, MultiAsset, MultiAssetFilter, MultiAssetFilterV1, MultiAssetFilterV2, MultiAssetV0, MultiAssetV1, MultiAssetV2, MultiAssets, MultiAssetsV1, MultiAssetsV2, MultiLocation, MultiLocationV0, MultiLocationV1, MultiLocationV2, NetworkId, OriginKindV0, OriginKindV1, OriginKindV2, OutboundStatus, Outcome, QueryId, QueryStatus, QueueConfigData, Response, ResponseV0, ResponseV1, ResponseV2, ResponseV2Error, ResponseV2Result, VersionMigrationStage, VersionedMultiAsset, VersionedMultiAssets, VersionedMultiLocation, VersionedResponse, VersionedXcm, WeightLimitV2, WildFungibility, WildFungibilityV0, WildFungibilityV1, WildFungibilityV2, WildMultiAsset, WildMultiAssetV1, WildMultiAssetV2, Xcm, XcmAssetId, XcmError, XcmErrorV0, XcmErrorV1, XcmErrorV2, XcmOrder, XcmOrderV0, XcmOrderV1, XcmOrderV2, XcmOrigin, XcmOriginKind, XcmV0, XcmV1, XcmV2, XcmVersion, XcmpMessageFormat } from '@polkadot/types/interfaces/xcm'; declare module '@polkadot/types/types/registry' { - interface InterfaceTypes { + export interface InterfaceTypes { AbridgedCandidateReceipt: AbridgedCandidateReceipt; AbridgedHostConfiguration: AbridgedHostConfiguration; AbridgedHrmpChannel: AbridgedHrmpChannel; @@ -79,7 +71,6 @@ declare module '@polkadot/types/types/registry' { AccountId: AccountId; AccountId20: AccountId20; AccountId32: AccountId32; - AccountId33: AccountId33; AccountIdOf: AccountIdOf; AccountIndex: AccountIndex; AccountInfo: AccountInfo; @@ -104,7 +95,6 @@ declare module '@polkadot/types/types/registry' { AnySignature: AnySignature; ApiId: ApiId; ApplyExtrinsicResult: ApplyExtrinsicResult; - ApplyExtrinsicResultPre6: ApplyExtrinsicResultPre6; ApprovalFlag: ApprovalFlag; Approvals: Approvals; ArithmeticError: ArithmeticError; @@ -140,8 +130,6 @@ declare module '@polkadot/types/types/registry' { BabeBlockWeight: BabeBlockWeight; BabeEpochConfiguration: BabeEpochConfiguration; BabeEquivocationProof: BabeEquivocationProof; - BabeGenesisConfiguration: BabeGenesisConfiguration; - BabeGenesisConfigurationV1: BabeGenesisConfigurationV1; BabeWeight: BabeWeight; BackedCandidate: BackedCandidate; Balance: Balance; @@ -149,20 +137,12 @@ declare module '@polkadot/types/types/registry' { BalanceLockTo212: BalanceLockTo212; BalanceOf: BalanceOf; BalanceStatus: BalanceStatus; - BeefyAuthoritySet: BeefyAuthoritySet; BeefyCommitment: BeefyCommitment; BeefyId: BeefyId; BeefyKey: BeefyKey; BeefyNextAuthoritySet: BeefyNextAuthoritySet; BeefyPayload: BeefyPayload; - BeefyPayloadId: BeefyPayloadId; BeefySignedCommitment: BeefySignedCommitment; - BenchmarkBatch: BenchmarkBatch; - BenchmarkConfig: BenchmarkConfig; - BenchmarkList: BenchmarkList; - BenchmarkMetadata: BenchmarkMetadata; - BenchmarkParameter: BenchmarkParameter; - BenchmarkResult: BenchmarkResult; Bid: Bid; Bidder: Bidder; BidKind: BidKind; @@ -206,7 +186,6 @@ declare module '@polkadot/types/types/registry' { CallOrigin: CallOrigin; CandidateCommitments: CandidateCommitments; CandidateDescriptor: CandidateDescriptor; - CandidateEvent: CandidateEvent; CandidateHash: CandidateHash; CandidateInfo: CandidateInfo; CandidatePendingAvailability: CandidatePendingAvailability; @@ -216,7 +195,6 @@ declare module '@polkadot/types/types/registry' { ChainType: ChainType; ChangesTrieConfiguration: ChangesTrieConfiguration; ChangesTrieSignal: ChangesTrieSignal; - CheckInherentsResult: CheckInherentsResult; ClassDetails: ClassDetails; ClassId: ClassId; ClassMetadata: ClassMetadata; @@ -226,8 +204,6 @@ declare module '@polkadot/types/types/registry' { CodeUploadRequest: CodeUploadRequest; CodeUploadResult: CodeUploadResult; CodeUploadResultValue: CodeUploadResultValue; - CollationInfo: CollationInfo; - CollationInfoV1: CollationInfoV1; CollatorId: CollatorId; CollatorSignature: CollatorSignature; CollectiveOrigin: CollectiveOrigin; @@ -254,7 +230,6 @@ declare module '@polkadot/types/types/registry' { ContractContractSpecV1: ContractContractSpecV1; ContractContractSpecV2: ContractContractSpecV2; ContractContractSpecV3: ContractContractSpecV3; - ContractContractSpecV4: ContractContractSpecV4; ContractCryptoHasher: ContractCryptoHasher; ContractDiscriminant: ContractDiscriminant; ContractDisplayName: ContractDisplayName; @@ -298,7 +273,6 @@ declare module '@polkadot/types/types/registry' { ContractMetadataV1: ContractMetadataV1; ContractMetadataV2: ContractMetadataV2; ContractMetadataV3: ContractMetadataV3; - ContractMetadataV4: ContractMetadataV4; ContractProject: ContractProject; ContractProjectContract: ContractProjectContract; ContractProjectInfo: ContractProjectInfo; @@ -313,7 +287,6 @@ declare module '@polkadot/types/types/registry' { CoreAssignment: CoreAssignment; CoreIndex: CoreIndex; CoreOccupied: CoreOccupied; - CoreState: CoreState; CrateVersion: CrateVersion; CreatedBlock: CreatedBlock; CumulusPalletDmpQueueCall: CumulusPalletDmpQueueCall; @@ -355,18 +328,14 @@ declare module '@polkadot/types/types/registry' { DispatchClass: DispatchClass; DispatchError: DispatchError; DispatchErrorModule: DispatchErrorModule; - DispatchErrorModulePre6: DispatchErrorModulePre6; DispatchErrorModuleU8: DispatchErrorModuleU8; DispatchErrorModuleU8a: DispatchErrorModuleU8a; - DispatchErrorPre6: DispatchErrorPre6; - DispatchErrorPre6First: DispatchErrorPre6First; DispatchErrorTo198: DispatchErrorTo198; DispatchFeePayment: DispatchFeePayment; DispatchInfo: DispatchInfo; DispatchInfoTo190: DispatchInfoTo190; DispatchInfoTo244: DispatchInfoTo244; DispatchOutcome: DispatchOutcome; - DispatchOutcomePre6: DispatchOutcomePre6; DispatchResult: DispatchResult; DispatchResultOf: DispatchResultOf; DispatchResultTo198: DispatchResultTo198; @@ -390,7 +359,6 @@ declare module '@polkadot/types/types/registry' { ElectionStatus: ElectionStatus; EncodedFinalityProofs: EncodedFinalityProofs; EncodedJustification: EncodedJustification; - Epoch: Epoch; EpochAuthorship: EpochAuthorship; Era: Era; EraIndex: EraIndex; @@ -429,7 +397,6 @@ declare module '@polkadot/types/types/registry' { EthereumTransactionTransactionSignature: EthereumTransactionTransactionSignature; EthereumTransactionTransactionV2: EthereumTransactionTransactionV2; EthereumTypesHashH64: EthereumTypesHashH64; - EthFeeHistory: EthFeeHistory; EthFilter: EthFilter; EthFilterAddress: EthFilterAddress; EthFilterChanges: EthFilterChanges; @@ -439,8 +406,6 @@ declare module '@polkadot/types/types/registry' { EthHeader: EthHeader; EthLog: EthLog; EthReceipt: EthReceipt; - EthReceiptV0: EthReceiptV0; - EthReceiptV3: EthReceiptV3; EthRichBlock: EthRichBlock; EthRichHeader: EthRichHeader; EthStorageProof: EthStorageProof; @@ -468,13 +433,11 @@ declare module '@polkadot/types/types/registry' { EventMetadataV9: EventMetadataV9; EventRecord: EventRecord; EvmAccount: EvmAccount; - EvmCallInfo: EvmCallInfo; EvmCoreErrorExitError: EvmCoreErrorExitError; EvmCoreErrorExitFatal: EvmCoreErrorExitFatal; EvmCoreErrorExitReason: EvmCoreErrorExitReason; EvmCoreErrorExitRevert: EvmCoreErrorExitRevert; EvmCoreErrorExitSucceed: EvmCoreErrorExitSucceed; - EvmCreateInfo: EvmCreateInfo; EvmLog: EvmLog; EvmVicinity: EvmVicinity; ExecReturnValue: ExecReturnValue; @@ -503,10 +466,6 @@ declare module '@polkadot/types/types/registry' { ExtrinsicsWeight: ExtrinsicsWeight; ExtrinsicUnknown: ExtrinsicUnknown; ExtrinsicV4: ExtrinsicV4; - f32: f32; - F32: F32; - f64: f64; - F64: F64; FeeDetails: FeeDetails; Fixed128: Fixed128; Fixed64: Fixed64; @@ -578,7 +537,6 @@ declare module '@polkadot/types/types/registry' { GrandpaPrevote: GrandpaPrevote; GrandpaSignedPrecommit: GrandpaSignedPrecommit; GroupIndex: GroupIndex; - GroupRotationInfo: GroupRotationInfo; H1024: H1024; H128: H128; H160: H160; @@ -635,8 +593,6 @@ declare module '@polkadot/types/types/registry' { Index: Index; IndicesLookupSource: IndicesLookupSource; IndividualExposure: IndividualExposure; - InherentData: InherentData; - InherentIdentifier: InherentIdentifier; InitializationData: InitializationData; InstanceDetails: InstanceDetails; InstanceId: InstanceId; @@ -707,14 +663,8 @@ declare module '@polkadot/types/types/registry' { MetadataV14: MetadataV14; MetadataV9: MetadataV9; MigrationStatusResult: MigrationStatusResult; - MmrBatchProof: MmrBatchProof; - MmrEncodableOpaqueLeaf: MmrEncodableOpaqueLeaf; - MmrError: MmrError; MmrLeafBatchProof: MmrLeafBatchProof; - MmrLeafIndex: MmrLeafIndex; MmrLeafProof: MmrLeafProof; - MmrNodeIndex: MmrNodeIndex; - MmrProof: MmrProof; MmrRootHash: MmrRootHash; ModuleConstantMetadataV10: ModuleConstantMetadataV10; ModuleConstantMetadataV11: ModuleConstantMetadataV11; @@ -764,21 +714,15 @@ declare module '@polkadot/types/types/registry' { NominatorIndex: NominatorIndex; NominatorIndexCompact: NominatorIndexCompact; NotConnectedPeer: NotConnectedPeer; - NpApiError: NpApiError; Null: Null; - OccupiedCore: OccupiedCore; - OccupiedCoreAssumption: OccupiedCoreAssumption; OffchainAccuracy: OffchainAccuracy; OffchainAccuracyCompact: OffchainAccuracyCompact; OffenceDetails: OffenceDetails; Offender: Offender; - OldV1SessionInfo: OldV1SessionInfo; OpalRuntimeCheckMaintenance: OpalRuntimeCheckMaintenance; OpalRuntimeOriginCaller: OpalRuntimeOriginCaller; OpalRuntimeRuntime: OpalRuntimeRuntime; OpaqueCall: OpaqueCall; - OpaqueKeyOwnershipProof: OpaqueKeyOwnershipProof; - OpaqueMetadata: OpaqueMetadata; OpaqueMultiaddr: OpaqueMultiaddr; OpaqueNetworkState: OpaqueNetworkState; OpaquePeerId: OpaquePeerId; @@ -956,7 +900,6 @@ declare module '@polkadot/types/types/registry' { ProxyDefinition: ProxyDefinition; ProxyState: ProxyState; ProxyType: ProxyType; - PvfCheckStatement: PvfCheckStatement; QueryId: QueryId; QueryStatus: QueryStatus; QueueConfigData: QueueConfigData; @@ -1045,11 +988,8 @@ declare module '@polkadot/types/types/registry' { RuntimeVersion: RuntimeVersion; RuntimeVersionApi: RuntimeVersionApi; RuntimeVersionPartial: RuntimeVersionPartial; - RuntimeVersionPre3: RuntimeVersionPre3; - RuntimeVersionPre4: RuntimeVersionPre4; Schedule: Schedule; Scheduled: Scheduled; - ScheduledCore: ScheduledCore; ScheduledTo254: ScheduledTo254; SchedulePeriod: SchedulePeriod; SchedulePriority: SchedulePriority; @@ -1057,7 +997,6 @@ declare module '@polkadot/types/types/registry' { ScheduleTo258: ScheduleTo258; ScheduleTo264: ScheduleTo264; Scheduling: Scheduling; - ScrapedOnChainVotes: ScrapedOnChainVotes; Seal: Seal; SealV0: SealV0; SeatHolder: SeatHolder; @@ -1146,7 +1085,6 @@ declare module '@polkadot/types/types/registry' { SlashingSpansTo204: SlashingSpansTo204; SlashJournalEntry: SlashJournalEntry; Slot: Slot; - SlotDuration: SlotDuration; SlotNumber: SlotNumber; SlotRange: SlotRange; SlotRange10: SlotRange10; @@ -1209,7 +1147,6 @@ declare module '@polkadot/types/types/registry' { StorageHasherV13: StorageHasherV13; StorageHasherV14: StorageHasherV14; StorageHasherV9: StorageHasherV9; - StorageInfo: StorageInfo; StorageKey: StorageKey; StorageKind: StorageKind; StorageMetadataV10: StorageMetadataV10; @@ -1239,15 +1176,11 @@ declare module '@polkadot/types/types/registry' { TraceError: TraceError; TransactionalError: TransactionalError; TransactionInfo: TransactionInfo; - TransactionLongevity: TransactionLongevity; TransactionPriority: TransactionPriority; - TransactionSource: TransactionSource; TransactionStorageProof: TransactionStorageProof; - TransactionTag: TransactionTag; TransactionV0: TransactionV0; TransactionV1: TransactionV1; TransactionV2: TransactionV2; - TransactionValidity: TransactionValidity; TransactionValidityError: TransactionValidityError; TransientValidationData: TransientValidationData; TreasuryProposal: TreasuryProposal; @@ -1322,12 +1255,10 @@ declare module '@polkadot/types/types/registry' { ValidatorPrefsTo196: ValidatorPrefsTo196; ValidatorPrefsWithBlocked: ValidatorPrefsWithBlocked; ValidatorPrefsWithCommission: ValidatorPrefsWithCommission; - ValidatorSet: ValidatorSet; ValidatorSetId: ValidatorSetId; ValidatorSignature: ValidatorSignature; ValidDisputeStatementKind: ValidDisputeStatementKind; ValidityAttestation: ValidityAttestation; - ValidTransaction: ValidTransaction; VecInboundHrmpMessage: VecInboundHrmpMessage; VersionedMultiAsset: VersionedMultiAsset; VersionedMultiAssets: VersionedMultiAssets; @@ -1358,8 +1289,6 @@ declare module '@polkadot/types/types/registry' { WeightMultiplier: WeightMultiplier; WeightPerClass: WeightPerClass; WeightToFeeCoefficient: WeightToFeeCoefficient; - WeightV1: WeightV1; - WeightV2: WeightV2; WildFungibility: WildFungibility; WildFungibilityV0: WildFungibilityV0; WildFungibilityV1: WildFungibilityV1; diff --git a/tests/src/interfaces/registry.ts b/tests/src/interfaces/registry.ts index faa1fb2946..098e4a6486 100644 --- a/tests/src/interfaces/registry.ts +++ b/tests/src/interfaces/registry.ts @@ -1,14 +1,10 @@ // Auto-generated via `yarn polkadot-types-from-defs`, do not edit /* eslint-disable */ -// import type lookup before we augment - in some environments -// this is required to allow for ambient/previous definitions -import '@polkadot/types/types/registry'; - import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeCheckMaintenance, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerCall, PalletUniqueSchedulerError, PalletUniqueSchedulerEvent, PalletUniqueSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup'; declare module '@polkadot/types/types/registry' { - interface InterfaceTypes { + export interface InterfaceTypes { CumulusPalletDmpQueueCall: CumulusPalletDmpQueueCall; CumulusPalletDmpQueueConfigData: CumulusPalletDmpQueueConfigData; CumulusPalletDmpQueueError: CumulusPalletDmpQueueError; diff --git a/tests/src/interfaces/types-lookup.ts b/tests/src/interfaces/types-lookup.ts index cff4042083..3c7191e2ea 100644 --- a/tests/src/interfaces/types-lookup.ts +++ b/tests/src/interfaces/types-lookup.ts @@ -1,18 +1,14 @@ // Auto-generated via `yarn polkadot-types-from-defs`, do not edit /* eslint-disable */ -// import type lookup before we augment - in some environments -// this is required to allow for ambient/previous definitions -import '@polkadot/types/lookup'; - -import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; -import type { ITuple } from '@polkadot/types-codec/types'; -import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime'; -import type { Event } from '@polkadot/types/interfaces/system'; - declare module '@polkadot/types/lookup' { + import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; + import type { ITuple } from '@polkadot/types-codec/types'; + import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime'; + import type { Event } from '@polkadot/types/interfaces/system'; + /** @name PolkadotPrimitivesV2PersistedValidationData (2) */ - interface PolkadotPrimitivesV2PersistedValidationData extends Struct { + export interface PolkadotPrimitivesV2PersistedValidationData extends Struct { readonly parentHead: Bytes; readonly relayParentNumber: u32; readonly relayParentStorageRoot: H256; @@ -20,18 +16,18 @@ declare module '@polkadot/types/lookup' { } /** @name PolkadotPrimitivesV2UpgradeRestriction (9) */ - interface PolkadotPrimitivesV2UpgradeRestriction extends Enum { + export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum { readonly isPresent: boolean; readonly type: 'Present'; } /** @name SpTrieStorageProof (10) */ - interface SpTrieStorageProof extends Struct { + export interface SpTrieStorageProof extends Struct { readonly trieNodes: BTreeSet; } /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (13) */ - interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct { + export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct { readonly dmqMqcHead: H256; readonly relayDispatchQueueSize: ITuple<[u32, u32]>; readonly ingressChannels: Vec>; @@ -39,7 +35,7 @@ declare module '@polkadot/types/lookup' { } /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (18) */ - interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct { + export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct { readonly maxCapacity: u32; readonly maxTotalSize: u32; readonly maxMessageSize: u32; @@ -49,7 +45,7 @@ declare module '@polkadot/types/lookup' { } /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (20) */ - interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct { + export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct { readonly maxCodeSize: u32; readonly maxHeadDataSize: u32; readonly maxUpwardQueueCount: u32; @@ -62,13 +58,13 @@ declare module '@polkadot/types/lookup' { } /** @name PolkadotCorePrimitivesOutboundHrmpMessage (26) */ - interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct { + export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct { readonly recipient: u32; readonly data: Bytes; } /** @name CumulusPalletParachainSystemCall (28) */ - interface CumulusPalletParachainSystemCall extends Enum { + export interface CumulusPalletParachainSystemCall extends Enum { readonly isSetValidationData: boolean; readonly asSetValidationData: { readonly data: CumulusPrimitivesParachainInherentParachainInherentData; @@ -89,7 +85,7 @@ declare module '@polkadot/types/lookup' { } /** @name CumulusPrimitivesParachainInherentParachainInherentData (29) */ - interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct { + export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct { readonly validationData: PolkadotPrimitivesV2PersistedValidationData; readonly relayChainState: SpTrieStorageProof; readonly downwardMessages: Vec; @@ -97,19 +93,19 @@ declare module '@polkadot/types/lookup' { } /** @name PolkadotCorePrimitivesInboundDownwardMessage (31) */ - interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct { + export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct { readonly sentAt: u32; readonly msg: Bytes; } /** @name PolkadotCorePrimitivesInboundHrmpMessage (34) */ - interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct { + export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct { readonly sentAt: u32; readonly data: Bytes; } /** @name CumulusPalletParachainSystemEvent (37) */ - interface CumulusPalletParachainSystemEvent extends Enum { + export interface CumulusPalletParachainSystemEvent extends Enum { readonly isValidationFunctionStored: boolean; readonly isValidationFunctionApplied: boolean; readonly asValidationFunctionApplied: { @@ -133,7 +129,7 @@ declare module '@polkadot/types/lookup' { } /** @name CumulusPalletParachainSystemError (38) */ - interface CumulusPalletParachainSystemError extends Enum { + export interface CumulusPalletParachainSystemError extends Enum { readonly isOverlappingUpgrades: boolean; readonly isProhibitedByPolkadot: boolean; readonly isTooBig: boolean; @@ -146,7 +142,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletBalancesAccountData (41) */ - interface PalletBalancesAccountData extends Struct { + export interface PalletBalancesAccountData extends Struct { readonly free: u128; readonly reserved: u128; readonly miscFrozen: u128; @@ -154,14 +150,14 @@ declare module '@polkadot/types/lookup' { } /** @name PalletBalancesBalanceLock (43) */ - interface PalletBalancesBalanceLock extends Struct { + export interface PalletBalancesBalanceLock extends Struct { readonly id: U8aFixed; readonly amount: u128; readonly reasons: PalletBalancesReasons; } /** @name PalletBalancesReasons (45) */ - interface PalletBalancesReasons extends Enum { + export interface PalletBalancesReasons extends Enum { readonly isFee: boolean; readonly isMisc: boolean; readonly isAll: boolean; @@ -169,20 +165,20 @@ declare module '@polkadot/types/lookup' { } /** @name PalletBalancesReserveData (48) */ - interface PalletBalancesReserveData extends Struct { + export interface PalletBalancesReserveData extends Struct { readonly id: U8aFixed; readonly amount: u128; } /** @name PalletBalancesReleases (51) */ - interface PalletBalancesReleases extends Enum { + export interface PalletBalancesReleases extends Enum { readonly isV100: boolean; readonly isV200: boolean; readonly type: 'V100' | 'V200'; } /** @name PalletBalancesCall (52) */ - interface PalletBalancesCall extends Enum { + export interface PalletBalancesCall extends Enum { readonly isTransfer: boolean; readonly asTransfer: { readonly dest: MultiAddress; @@ -219,7 +215,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletBalancesEvent (58) */ - interface PalletBalancesEvent extends Enum { + export interface PalletBalancesEvent extends Enum { readonly isEndowed: boolean; readonly asEndowed: { readonly account: AccountId32; @@ -278,14 +274,14 @@ declare module '@polkadot/types/lookup' { } /** @name FrameSupportTokensMiscBalanceStatus (59) */ - interface FrameSupportTokensMiscBalanceStatus extends Enum { + export interface FrameSupportTokensMiscBalanceStatus extends Enum { readonly isFree: boolean; readonly isReserved: boolean; readonly type: 'Free' | 'Reserved'; } /** @name PalletBalancesError (60) */ - interface PalletBalancesError extends Enum { + export interface PalletBalancesError extends Enum { readonly isVestingBalance: boolean; readonly isLiquidityRestrictions: boolean; readonly isInsufficientBalance: boolean; @@ -298,7 +294,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletTimestampCall (63) */ - interface PalletTimestampCall extends Enum { + export interface PalletTimestampCall extends Enum { readonly isSet: boolean; readonly asSet: { readonly now: Compact; @@ -307,14 +303,14 @@ declare module '@polkadot/types/lookup' { } /** @name PalletTransactionPaymentReleases (66) */ - interface PalletTransactionPaymentReleases extends Enum { + export interface PalletTransactionPaymentReleases extends Enum { readonly isV1Ancient: boolean; readonly isV2: boolean; readonly type: 'V1Ancient' | 'V2'; } /** @name PalletTreasuryProposal (67) */ - interface PalletTreasuryProposal extends Struct { + export interface PalletTreasuryProposal extends Struct { readonly proposer: AccountId32; readonly value: u128; readonly beneficiary: AccountId32; @@ -322,7 +318,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletTreasuryCall (70) */ - interface PalletTreasuryCall extends Enum { + export interface PalletTreasuryCall extends Enum { readonly isProposeSpend: boolean; readonly asProposeSpend: { readonly value: Compact; @@ -344,7 +340,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletTreasuryEvent (72) */ - interface PalletTreasuryEvent extends Enum { + export interface PalletTreasuryEvent extends Enum { readonly isProposed: boolean; readonly asProposed: { readonly proposalIndex: u32; @@ -380,10 +376,10 @@ declare module '@polkadot/types/lookup' { } /** @name FrameSupportPalletId (75) */ - interface FrameSupportPalletId extends U8aFixed {} + export interface FrameSupportPalletId extends U8aFixed {} /** @name PalletTreasuryError (76) */ - interface PalletTreasuryError extends Enum { + export interface PalletTreasuryError extends Enum { readonly isInsufficientProposersBalance: boolean; readonly isInvalidIndex: boolean; readonly isTooManyApprovals: boolean; @@ -392,7 +388,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletSudoCall (77) */ - interface PalletSudoCall extends Enum { + export interface PalletSudoCall extends Enum { readonly isSudo: boolean; readonly asSudo: { readonly call: Call; @@ -415,7 +411,7 @@ declare module '@polkadot/types/lookup' { } /** @name FrameSystemCall (79) */ - interface FrameSystemCall extends Enum { + export interface FrameSystemCall extends Enum { readonly isFillBlock: boolean; readonly asFillBlock: { readonly ratio: Perbill; @@ -457,7 +453,7 @@ declare module '@polkadot/types/lookup' { } /** @name OrmlVestingModuleCall (83) */ - interface OrmlVestingModuleCall extends Enum { + export interface OrmlVestingModuleCall extends Enum { readonly isClaim: boolean; readonly isVestedTransfer: boolean; readonly asVestedTransfer: { @@ -477,7 +473,7 @@ declare module '@polkadot/types/lookup' { } /** @name OrmlVestingVestingSchedule (84) */ - interface OrmlVestingVestingSchedule extends Struct { + export interface OrmlVestingVestingSchedule extends Struct { readonly start: u32; readonly period: u32; readonly periodCount: u32; @@ -485,7 +481,7 @@ declare module '@polkadot/types/lookup' { } /** @name CumulusPalletXcmpQueueCall (86) */ - interface CumulusPalletXcmpQueueCall extends Enum { + export interface CumulusPalletXcmpQueueCall extends Enum { readonly isServiceOverweight: boolean; readonly asServiceOverweight: { readonly index: u64; @@ -521,7 +517,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletXcmCall (87) */ - interface PalletXcmCall extends Enum { + export interface PalletXcmCall extends Enum { readonly isSend: boolean; readonly asSend: { readonly dest: XcmVersionedMultiLocation; @@ -583,7 +579,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmVersionedMultiLocation (88) */ - interface XcmVersionedMultiLocation extends Enum { + export interface XcmVersionedMultiLocation extends Enum { readonly isV0: boolean; readonly asV0: XcmV0MultiLocation; readonly isV1: boolean; @@ -592,7 +588,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV0MultiLocation (89) */ - interface XcmV0MultiLocation extends Enum { + export interface XcmV0MultiLocation extends Enum { readonly isNull: boolean; readonly isX1: boolean; readonly asX1: XcmV0Junction; @@ -614,7 +610,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV0Junction (90) */ - interface XcmV0Junction extends Enum { + export interface XcmV0Junction extends Enum { readonly isParent: boolean; readonly isParachain: boolean; readonly asParachain: Compact; @@ -649,7 +645,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV0JunctionNetworkId (91) */ - interface XcmV0JunctionNetworkId extends Enum { + export interface XcmV0JunctionNetworkId extends Enum { readonly isAny: boolean; readonly isNamed: boolean; readonly asNamed: Bytes; @@ -659,7 +655,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV0JunctionBodyId (92) */ - interface XcmV0JunctionBodyId extends Enum { + export interface XcmV0JunctionBodyId extends Enum { readonly isUnit: boolean; readonly isNamed: boolean; readonly asNamed: Bytes; @@ -673,7 +669,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV0JunctionBodyPart (93) */ - interface XcmV0JunctionBodyPart extends Enum { + export interface XcmV0JunctionBodyPart extends Enum { readonly isVoice: boolean; readonly isMembers: boolean; readonly asMembers: { @@ -698,13 +694,13 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV1MultiLocation (94) */ - interface XcmV1MultiLocation extends Struct { + export interface XcmV1MultiLocation extends Struct { readonly parents: u8; readonly interior: XcmV1MultilocationJunctions; } /** @name XcmV1MultilocationJunctions (95) */ - interface XcmV1MultilocationJunctions extends Enum { + export interface XcmV1MultilocationJunctions extends Enum { readonly isHere: boolean; readonly isX1: boolean; readonly asX1: XcmV1Junction; @@ -726,7 +722,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV1Junction (96) */ - interface XcmV1Junction extends Enum { + export interface XcmV1Junction extends Enum { readonly isParachain: boolean; readonly asParachain: Compact; readonly isAccountId32: boolean; @@ -760,7 +756,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmVersionedXcm (97) */ - interface XcmVersionedXcm extends Enum { + export interface XcmVersionedXcm extends Enum { readonly isV0: boolean; readonly asV0: XcmV0Xcm; readonly isV1: boolean; @@ -771,7 +767,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV0Xcm (98) */ - interface XcmV0Xcm extends Enum { + export interface XcmV0Xcm extends Enum { readonly isWithdrawAsset: boolean; readonly asWithdrawAsset: { readonly assets: Vec; @@ -834,7 +830,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV0MultiAsset (100) */ - interface XcmV0MultiAsset extends Enum { + export interface XcmV0MultiAsset extends Enum { readonly isNone: boolean; readonly isAll: boolean; readonly isAllFungible: boolean; @@ -879,7 +875,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV1MultiassetAssetInstance (101) */ - interface XcmV1MultiassetAssetInstance extends Enum { + export interface XcmV1MultiassetAssetInstance extends Enum { readonly isUndefined: boolean; readonly isIndex: boolean; readonly asIndex: Compact; @@ -897,7 +893,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV0Order (104) */ - interface XcmV0Order extends Enum { + export interface XcmV0Order extends Enum { readonly isNull: boolean; readonly isDepositAsset: boolean; readonly asDepositAsset: { @@ -945,14 +941,14 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV0Response (106) */ - interface XcmV0Response extends Enum { + export interface XcmV0Response extends Enum { readonly isAssets: boolean; readonly asAssets: Vec; readonly type: 'Assets'; } /** @name XcmV0OriginKind (107) */ - interface XcmV0OriginKind extends Enum { + export interface XcmV0OriginKind extends Enum { readonly isNative: boolean; readonly isSovereignAccount: boolean; readonly isSuperuser: boolean; @@ -961,12 +957,12 @@ declare module '@polkadot/types/lookup' { } /** @name XcmDoubleEncoded (108) */ - interface XcmDoubleEncoded extends Struct { + export interface XcmDoubleEncoded extends Struct { readonly encoded: Bytes; } /** @name XcmV1Xcm (109) */ - interface XcmV1Xcm extends Enum { + export interface XcmV1Xcm extends Enum { readonly isWithdrawAsset: boolean; readonly asWithdrawAsset: { readonly assets: XcmV1MultiassetMultiAssets; @@ -1035,16 +1031,16 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV1MultiassetMultiAssets (110) */ - interface XcmV1MultiassetMultiAssets extends Vec {} + export interface XcmV1MultiassetMultiAssets extends Vec {} /** @name XcmV1MultiAsset (112) */ - interface XcmV1MultiAsset extends Struct { + export interface XcmV1MultiAsset extends Struct { readonly id: XcmV1MultiassetAssetId; readonly fun: XcmV1MultiassetFungibility; } /** @name XcmV1MultiassetAssetId (113) */ - interface XcmV1MultiassetAssetId extends Enum { + export interface XcmV1MultiassetAssetId extends Enum { readonly isConcrete: boolean; readonly asConcrete: XcmV1MultiLocation; readonly isAbstract: boolean; @@ -1053,7 +1049,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV1MultiassetFungibility (114) */ - interface XcmV1MultiassetFungibility extends Enum { + export interface XcmV1MultiassetFungibility extends Enum { readonly isFungible: boolean; readonly asFungible: Compact; readonly isNonFungible: boolean; @@ -1062,7 +1058,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV1Order (116) */ - interface XcmV1Order extends Enum { + export interface XcmV1Order extends Enum { readonly isNoop: boolean; readonly isDepositAsset: boolean; readonly asDepositAsset: { @@ -1112,7 +1108,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV1MultiassetMultiAssetFilter (117) */ - interface XcmV1MultiassetMultiAssetFilter extends Enum { + export interface XcmV1MultiassetMultiAssetFilter extends Enum { readonly isDefinite: boolean; readonly asDefinite: XcmV1MultiassetMultiAssets; readonly isWild: boolean; @@ -1121,7 +1117,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV1MultiassetWildMultiAsset (118) */ - interface XcmV1MultiassetWildMultiAsset extends Enum { + export interface XcmV1MultiassetWildMultiAsset extends Enum { readonly isAll: boolean; readonly isAllOf: boolean; readonly asAllOf: { @@ -1132,14 +1128,14 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV1MultiassetWildFungibility (119) */ - interface XcmV1MultiassetWildFungibility extends Enum { + export interface XcmV1MultiassetWildFungibility extends Enum { readonly isFungible: boolean; readonly isNonFungible: boolean; readonly type: 'Fungible' | 'NonFungible'; } /** @name XcmV1Response (121) */ - interface XcmV1Response extends Enum { + export interface XcmV1Response extends Enum { readonly isAssets: boolean; readonly asAssets: XcmV1MultiassetMultiAssets; readonly isVersion: boolean; @@ -1148,10 +1144,10 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV2Xcm (122) */ - interface XcmV2Xcm extends Vec {} + export interface XcmV2Xcm extends Vec {} /** @name XcmV2Instruction (124) */ - interface XcmV2Instruction extends Enum { + export interface XcmV2Instruction extends Enum { readonly isWithdrawAsset: boolean; readonly asWithdrawAsset: XcmV1MultiassetMultiAssets; readonly isReserveAssetDeposited: boolean; @@ -1271,7 +1267,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV2Response (125) */ - interface XcmV2Response extends Enum { + export interface XcmV2Response extends Enum { readonly isNull: boolean; readonly isAssets: boolean; readonly asAssets: XcmV1MultiassetMultiAssets; @@ -1283,7 +1279,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV2TraitsError (128) */ - interface XcmV2TraitsError extends Enum { + export interface XcmV2TraitsError extends Enum { readonly isOverflow: boolean; readonly isUnimplemented: boolean; readonly isUntrustedReserveLocation: boolean; @@ -1316,7 +1312,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV2WeightLimit (129) */ - interface XcmV2WeightLimit extends Enum { + export interface XcmV2WeightLimit extends Enum { readonly isUnlimited: boolean; readonly isLimited: boolean; readonly asLimited: Compact; @@ -1324,7 +1320,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmVersionedMultiAssets (130) */ - interface XcmVersionedMultiAssets extends Enum { + export interface XcmVersionedMultiAssets extends Enum { readonly isV0: boolean; readonly asV0: Vec; readonly isV1: boolean; @@ -1333,10 +1329,10 @@ declare module '@polkadot/types/lookup' { } /** @name CumulusPalletXcmCall (145) */ - type CumulusPalletXcmCall = Null; + export type CumulusPalletXcmCall = Null; /** @name CumulusPalletDmpQueueCall (146) */ - interface CumulusPalletDmpQueueCall extends Enum { + export interface CumulusPalletDmpQueueCall extends Enum { readonly isServiceOverweight: boolean; readonly asServiceOverweight: { readonly index: u64; @@ -1346,7 +1342,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletInflationCall (147) */ - interface PalletInflationCall extends Enum { + export interface PalletInflationCall extends Enum { readonly isStartInflation: boolean; readonly asStartInflation: { readonly inflationStartRelayBlock: u32; @@ -1355,7 +1351,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletUniqueCall (148) */ - interface PalletUniqueCall extends Enum { + export interface PalletUniqueCall extends Enum { readonly isCreateCollection: boolean; readonly asCreateCollection: { readonly collectionName: Vec; @@ -1513,7 +1509,7 @@ declare module '@polkadot/types/lookup' { } /** @name UpDataStructsCollectionMode (154) */ - interface UpDataStructsCollectionMode extends Enum { + export interface UpDataStructsCollectionMode extends Enum { readonly isNft: boolean; readonly isFungible: boolean; readonly asFungible: u8; @@ -1522,7 +1518,7 @@ declare module '@polkadot/types/lookup' { } /** @name UpDataStructsCreateCollectionData (155) */ - interface UpDataStructsCreateCollectionData extends Struct { + export interface UpDataStructsCreateCollectionData extends Struct { readonly mode: UpDataStructsCollectionMode; readonly access: Option; readonly name: Vec; @@ -1536,14 +1532,14 @@ declare module '@polkadot/types/lookup' { } /** @name UpDataStructsAccessMode (157) */ - interface UpDataStructsAccessMode extends Enum { + export interface UpDataStructsAccessMode extends Enum { readonly isNormal: boolean; readonly isAllowList: boolean; readonly type: 'Normal' | 'AllowList'; } /** @name UpDataStructsCollectionLimits (160) */ - interface UpDataStructsCollectionLimits extends Struct { + export interface UpDataStructsCollectionLimits extends Struct { readonly accountTokenOwnershipLimit: Option; readonly sponsoredDataSize: Option; readonly sponsoredDataRateLimit: Option; @@ -1556,7 +1552,7 @@ declare module '@polkadot/types/lookup' { } /** @name UpDataStructsSponsoringRateLimit (162) */ - interface UpDataStructsSponsoringRateLimit extends Enum { + export interface UpDataStructsSponsoringRateLimit extends Enum { readonly isSponsoringDisabled: boolean; readonly isBlocks: boolean; readonly asBlocks: u32; @@ -1564,43 +1560,43 @@ declare module '@polkadot/types/lookup' { } /** @name UpDataStructsCollectionPermissions (165) */ - interface UpDataStructsCollectionPermissions extends Struct { + export interface UpDataStructsCollectionPermissions extends Struct { readonly access: Option; readonly mintMode: Option; readonly nesting: Option; } /** @name UpDataStructsNestingPermissions (167) */ - interface UpDataStructsNestingPermissions extends Struct { + export interface UpDataStructsNestingPermissions extends Struct { readonly tokenOwner: bool; readonly collectionAdmin: bool; readonly restricted: Option; } /** @name UpDataStructsOwnerRestrictedSet (169) */ - interface UpDataStructsOwnerRestrictedSet extends BTreeSet {} + export interface UpDataStructsOwnerRestrictedSet extends BTreeSet {} /** @name UpDataStructsPropertyKeyPermission (175) */ - interface UpDataStructsPropertyKeyPermission extends Struct { + export interface UpDataStructsPropertyKeyPermission extends Struct { readonly key: Bytes; readonly permission: UpDataStructsPropertyPermission; } /** @name UpDataStructsPropertyPermission (177) */ - interface UpDataStructsPropertyPermission extends Struct { + export interface UpDataStructsPropertyPermission extends Struct { readonly mutable: bool; readonly collectionAdmin: bool; readonly tokenOwner: bool; } /** @name UpDataStructsProperty (180) */ - interface UpDataStructsProperty extends Struct { + export interface UpDataStructsProperty extends Struct { readonly key: Bytes; readonly value: Bytes; } /** @name PalletEvmAccountBasicCrossAccountIdRepr (183) */ - interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum { + export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum { readonly isSubstrate: boolean; readonly asSubstrate: AccountId32; readonly isEthereum: boolean; @@ -1609,7 +1605,7 @@ declare module '@polkadot/types/lookup' { } /** @name UpDataStructsCreateItemData (185) */ - interface UpDataStructsCreateItemData extends Enum { + export interface UpDataStructsCreateItemData extends Enum { readonly isNft: boolean; readonly asNft: UpDataStructsCreateNftData; readonly isFungible: boolean; @@ -1620,23 +1616,23 @@ declare module '@polkadot/types/lookup' { } /** @name UpDataStructsCreateNftData (186) */ - interface UpDataStructsCreateNftData extends Struct { + export interface UpDataStructsCreateNftData extends Struct { readonly properties: Vec; } /** @name UpDataStructsCreateFungibleData (187) */ - interface UpDataStructsCreateFungibleData extends Struct { + export interface UpDataStructsCreateFungibleData extends Struct { readonly value: u128; } /** @name UpDataStructsCreateReFungibleData (188) */ - interface UpDataStructsCreateReFungibleData extends Struct { + export interface UpDataStructsCreateReFungibleData extends Struct { readonly constData: Bytes; readonly pieces: u128; } /** @name UpDataStructsCreateItemExData (193) */ - interface UpDataStructsCreateItemExData extends Enum { + export interface UpDataStructsCreateItemExData extends Enum { readonly isNft: boolean; readonly asNft: Vec; readonly isFungible: boolean; @@ -1649,19 +1645,19 @@ declare module '@polkadot/types/lookup' { } /** @name UpDataStructsCreateNftExData (195) */ - interface UpDataStructsCreateNftExData extends Struct { + export interface UpDataStructsCreateNftExData extends Struct { readonly properties: Vec; readonly owner: PalletEvmAccountBasicCrossAccountIdRepr; } /** @name UpDataStructsCreateRefungibleExData (202) */ - interface UpDataStructsCreateRefungibleExData extends Struct { + export interface UpDataStructsCreateRefungibleExData extends Struct { readonly constData: Bytes; readonly users: BTreeMap; } /** @name PalletUniqueSchedulerCall (204) */ - interface PalletUniqueSchedulerCall extends Enum { + export interface PalletUniqueSchedulerCall extends Enum { readonly isScheduleNamed: boolean; readonly asScheduleNamed: { readonly id: U8aFixed; @@ -1686,7 +1682,7 @@ declare module '@polkadot/types/lookup' { } /** @name FrameSupportScheduleMaybeHashed (206) */ - interface FrameSupportScheduleMaybeHashed extends Enum { + export interface FrameSupportScheduleMaybeHashed extends Enum { readonly isValue: boolean; readonly asValue: Call; readonly isHash: boolean; @@ -1695,13 +1691,13 @@ declare module '@polkadot/types/lookup' { } /** @name PalletTemplateTransactionPaymentCall (207) */ - type PalletTemplateTransactionPaymentCall = Null; + export type PalletTemplateTransactionPaymentCall = Null; /** @name PalletStructureCall (208) */ - type PalletStructureCall = Null; + export type PalletStructureCall = Null; /** @name PalletRmrkCoreCall (209) */ - interface PalletRmrkCoreCall extends Enum { + export interface PalletRmrkCoreCall extends Enum { readonly isCreateCollection: boolean; readonly asCreateCollection: { readonly metadata: Bytes; @@ -1807,7 +1803,7 @@ declare module '@polkadot/types/lookup' { } /** @name RmrkTraitsResourceResourceTypes (215) */ - interface RmrkTraitsResourceResourceTypes extends Enum { + export interface RmrkTraitsResourceResourceTypes extends Enum { readonly isBasic: boolean; readonly asBasic: RmrkTraitsResourceBasicResource; readonly isComposable: boolean; @@ -1818,7 +1814,7 @@ declare module '@polkadot/types/lookup' { } /** @name RmrkTraitsResourceBasicResource (217) */ - interface RmrkTraitsResourceBasicResource extends Struct { + export interface RmrkTraitsResourceBasicResource extends Struct { readonly src: Option; readonly metadata: Option; readonly license: Option; @@ -1826,7 +1822,7 @@ declare module '@polkadot/types/lookup' { } /** @name RmrkTraitsResourceComposableResource (219) */ - interface RmrkTraitsResourceComposableResource extends Struct { + export interface RmrkTraitsResourceComposableResource extends Struct { readonly parts: Vec; readonly base: u32; readonly src: Option; @@ -1836,7 +1832,7 @@ declare module '@polkadot/types/lookup' { } /** @name RmrkTraitsResourceSlotResource (220) */ - interface RmrkTraitsResourceSlotResource extends Struct { + export interface RmrkTraitsResourceSlotResource extends Struct { readonly base: u32; readonly src: Option; readonly metadata: Option; @@ -1846,7 +1842,7 @@ declare module '@polkadot/types/lookup' { } /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (222) */ - interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum { + export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum { readonly isAccountId: boolean; readonly asAccountId: AccountId32; readonly isCollectionAndNftTuple: boolean; @@ -1855,7 +1851,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletRmrkEquipCall (226) */ - interface PalletRmrkEquipCall extends Enum { + export interface PalletRmrkEquipCall extends Enum { readonly isCreateBase: boolean; readonly asCreateBase: { readonly baseType: Bytes; @@ -1877,7 +1873,7 @@ declare module '@polkadot/types/lookup' { } /** @name RmrkTraitsPartPartType (229) */ - interface RmrkTraitsPartPartType extends Enum { + export interface RmrkTraitsPartPartType extends Enum { readonly isFixedPart: boolean; readonly asFixedPart: RmrkTraitsPartFixedPart; readonly isSlotPart: boolean; @@ -1886,14 +1882,14 @@ declare module '@polkadot/types/lookup' { } /** @name RmrkTraitsPartFixedPart (231) */ - interface RmrkTraitsPartFixedPart extends Struct { + export interface RmrkTraitsPartFixedPart extends Struct { readonly id: u32; readonly z: u32; readonly src: Bytes; } /** @name RmrkTraitsPartSlotPart (232) */ - interface RmrkTraitsPartSlotPart extends Struct { + export interface RmrkTraitsPartSlotPart extends Struct { readonly id: u32; readonly equippable: RmrkTraitsPartEquippableList; readonly src: Bytes; @@ -1901,7 +1897,7 @@ declare module '@polkadot/types/lookup' { } /** @name RmrkTraitsPartEquippableList (233) */ - interface RmrkTraitsPartEquippableList extends Enum { + export interface RmrkTraitsPartEquippableList extends Enum { readonly isAll: boolean; readonly isEmpty: boolean; readonly isCustom: boolean; @@ -1910,20 +1906,20 @@ declare module '@polkadot/types/lookup' { } /** @name RmrkTraitsTheme (235) */ - interface RmrkTraitsTheme extends Struct { + export interface RmrkTraitsTheme extends Struct { readonly name: Bytes; readonly properties: Vec; readonly inherit: bool; } /** @name RmrkTraitsThemeThemeProperty (237) */ - interface RmrkTraitsThemeThemeProperty extends Struct { + export interface RmrkTraitsThemeThemeProperty extends Struct { readonly key: Bytes; readonly value: Bytes; } /** @name PalletEvmCall (239) */ - interface PalletEvmCall extends Enum { + export interface PalletEvmCall extends Enum { readonly isWithdraw: boolean; readonly asWithdraw: { readonly address: H160; @@ -1968,7 +1964,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletEthereumCall (245) */ - interface PalletEthereumCall extends Enum { + export interface PalletEthereumCall extends Enum { readonly isTransact: boolean; readonly asTransact: { readonly transaction: EthereumTransactionTransactionV2; @@ -1977,7 +1973,7 @@ declare module '@polkadot/types/lookup' { } /** @name EthereumTransactionTransactionV2 (246) */ - interface EthereumTransactionTransactionV2 extends Enum { + export interface EthereumTransactionTransactionV2 extends Enum { readonly isLegacy: boolean; readonly asLegacy: EthereumTransactionLegacyTransaction; readonly isEip2930: boolean; @@ -1988,7 +1984,7 @@ declare module '@polkadot/types/lookup' { } /** @name EthereumTransactionLegacyTransaction (247) */ - interface EthereumTransactionLegacyTransaction extends Struct { + export interface EthereumTransactionLegacyTransaction extends Struct { readonly nonce: U256; readonly gasPrice: U256; readonly gasLimit: U256; @@ -1999,7 +1995,7 @@ declare module '@polkadot/types/lookup' { } /** @name EthereumTransactionTransactionAction (248) */ - interface EthereumTransactionTransactionAction extends Enum { + export interface EthereumTransactionTransactionAction extends Enum { readonly isCall: boolean; readonly asCall: H160; readonly isCreate: boolean; @@ -2007,14 +2003,14 @@ declare module '@polkadot/types/lookup' { } /** @name EthereumTransactionTransactionSignature (249) */ - interface EthereumTransactionTransactionSignature extends Struct { + export interface EthereumTransactionTransactionSignature extends Struct { readonly v: u64; readonly r: H256; readonly s: H256; } /** @name EthereumTransactionEip2930Transaction (251) */ - interface EthereumTransactionEip2930Transaction extends Struct { + export interface EthereumTransactionEip2930Transaction extends Struct { readonly chainId: u64; readonly nonce: U256; readonly gasPrice: U256; @@ -2029,13 +2025,13 @@ declare module '@polkadot/types/lookup' { } /** @name EthereumTransactionAccessListItem (253) */ - interface EthereumTransactionAccessListItem extends Struct { + export interface EthereumTransactionAccessListItem extends Struct { readonly address: H160; readonly storageKeys: Vec; } /** @name EthereumTransactionEip1559Transaction (254) */ - interface EthereumTransactionEip1559Transaction extends Struct { + export interface EthereumTransactionEip1559Transaction extends Struct { readonly chainId: u64; readonly nonce: U256; readonly maxPriorityFeePerGas: U256; @@ -2051,7 +2047,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletEvmMigrationCall (255) */ - interface PalletEvmMigrationCall extends Enum { + export interface PalletEvmMigrationCall extends Enum { readonly isBegin: boolean; readonly asBegin: { readonly address: H160; @@ -2070,14 +2066,14 @@ declare module '@polkadot/types/lookup' { } /** @name PalletMaintenanceCall (258) */ - interface PalletMaintenanceCall extends Enum { + export interface PalletMaintenanceCall extends Enum { readonly isEnable: boolean; readonly isDisable: boolean; readonly type: 'Enable' | 'Disable'; } /** @name PalletSudoEvent (259) */ - interface PalletSudoEvent extends Enum { + export interface PalletSudoEvent extends Enum { readonly isSudid: boolean; readonly asSudid: { readonly sudoResult: Result; @@ -2094,7 +2090,7 @@ declare module '@polkadot/types/lookup' { } /** @name SpRuntimeDispatchError (261) */ - interface SpRuntimeDispatchError extends Enum { + export interface SpRuntimeDispatchError extends Enum { readonly isOther: boolean; readonly isCannotLookup: boolean; readonly isBadOrigin: boolean; @@ -2113,13 +2109,13 @@ declare module '@polkadot/types/lookup' { } /** @name SpRuntimeModuleError (262) */ - interface SpRuntimeModuleError extends Struct { + export interface SpRuntimeModuleError extends Struct { readonly index: u8; readonly error: U8aFixed; } /** @name SpRuntimeTokenError (263) */ - interface SpRuntimeTokenError extends Enum { + export interface SpRuntimeTokenError extends Enum { readonly isNoFunds: boolean; readonly isWouldDie: boolean; readonly isBelowMinimum: boolean; @@ -2131,7 +2127,7 @@ declare module '@polkadot/types/lookup' { } /** @name SpRuntimeArithmeticError (264) */ - interface SpRuntimeArithmeticError extends Enum { + export interface SpRuntimeArithmeticError extends Enum { readonly isUnderflow: boolean; readonly isOverflow: boolean; readonly isDivisionByZero: boolean; @@ -2139,20 +2135,20 @@ declare module '@polkadot/types/lookup' { } /** @name SpRuntimeTransactionalError (265) */ - interface SpRuntimeTransactionalError extends Enum { + export interface SpRuntimeTransactionalError extends Enum { readonly isLimitReached: boolean; readonly isNoLayer: boolean; readonly type: 'LimitReached' | 'NoLayer'; } /** @name PalletSudoError (266) */ - interface PalletSudoError extends Enum { + export interface PalletSudoError extends Enum { readonly isRequireSudo: boolean; readonly type: 'RequireSudo'; } /** @name FrameSystemAccountInfo (267) */ - interface FrameSystemAccountInfo extends Struct { + export interface FrameSystemAccountInfo extends Struct { readonly nonce: u32; readonly consumers: u32; readonly providers: u32; @@ -2161,19 +2157,19 @@ declare module '@polkadot/types/lookup' { } /** @name FrameSupportWeightsPerDispatchClassU64 (268) */ - interface FrameSupportWeightsPerDispatchClassU64 extends Struct { + export interface FrameSupportWeightsPerDispatchClassU64 extends Struct { readonly normal: u64; readonly operational: u64; readonly mandatory: u64; } /** @name SpRuntimeDigest (269) */ - interface SpRuntimeDigest extends Struct { + export interface SpRuntimeDigest extends Struct { readonly logs: Vec; } /** @name SpRuntimeDigestDigestItem (271) */ - interface SpRuntimeDigestDigestItem extends Enum { + export interface SpRuntimeDigestDigestItem extends Enum { readonly isOther: boolean; readonly asOther: Bytes; readonly isConsensus: boolean; @@ -2187,14 +2183,14 @@ declare module '@polkadot/types/lookup' { } /** @name FrameSystemEventRecord (273) */ - interface FrameSystemEventRecord extends Struct { + export interface FrameSystemEventRecord extends Struct { readonly phase: FrameSystemPhase; readonly event: Event; readonly topics: Vec; } /** @name FrameSystemEvent (275) */ - interface FrameSystemEvent extends Enum { + export interface FrameSystemEvent extends Enum { readonly isExtrinsicSuccess: boolean; readonly asExtrinsicSuccess: { readonly dispatchInfo: FrameSupportWeightsDispatchInfo; @@ -2222,14 +2218,14 @@ declare module '@polkadot/types/lookup' { } /** @name FrameSupportWeightsDispatchInfo (276) */ - interface FrameSupportWeightsDispatchInfo extends Struct { + export interface FrameSupportWeightsDispatchInfo extends Struct { readonly weight: u64; readonly class: FrameSupportWeightsDispatchClass; readonly paysFee: FrameSupportWeightsPays; } /** @name FrameSupportWeightsDispatchClass (277) */ - interface FrameSupportWeightsDispatchClass extends Enum { + export interface FrameSupportWeightsDispatchClass extends Enum { readonly isNormal: boolean; readonly isOperational: boolean; readonly isMandatory: boolean; @@ -2237,14 +2233,14 @@ declare module '@polkadot/types/lookup' { } /** @name FrameSupportWeightsPays (278) */ - interface FrameSupportWeightsPays extends Enum { + export interface FrameSupportWeightsPays extends Enum { readonly isYes: boolean; readonly isNo: boolean; readonly type: 'Yes' | 'No'; } /** @name OrmlVestingModuleEvent (279) */ - interface OrmlVestingModuleEvent extends Enum { + export interface OrmlVestingModuleEvent extends Enum { readonly isVestingScheduleAdded: boolean; readonly asVestingScheduleAdded: { readonly from: AccountId32; @@ -2264,7 +2260,7 @@ declare module '@polkadot/types/lookup' { } /** @name CumulusPalletXcmpQueueEvent (280) */ - interface CumulusPalletXcmpQueueEvent extends Enum { + export interface CumulusPalletXcmpQueueEvent extends Enum { readonly isSuccess: boolean; readonly asSuccess: Option; readonly isFail: boolean; @@ -2285,7 +2281,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletXcmEvent (281) */ - interface PalletXcmEvent extends Enum { + export interface PalletXcmEvent extends Enum { readonly isAttempted: boolean; readonly asAttempted: XcmV2TraitsOutcome; readonly isSent: boolean; @@ -2322,7 +2318,7 @@ declare module '@polkadot/types/lookup' { } /** @name XcmV2TraitsOutcome (282) */ - interface XcmV2TraitsOutcome extends Enum { + export interface XcmV2TraitsOutcome extends Enum { readonly isComplete: boolean; readonly asComplete: u64; readonly isIncomplete: boolean; @@ -2333,7 +2329,7 @@ declare module '@polkadot/types/lookup' { } /** @name CumulusPalletXcmEvent (284) */ - interface CumulusPalletXcmEvent extends Enum { + export interface CumulusPalletXcmEvent extends Enum { readonly isInvalidFormat: boolean; readonly asInvalidFormat: U8aFixed; readonly isUnsupportedVersion: boolean; @@ -2344,7 +2340,7 @@ declare module '@polkadot/types/lookup' { } /** @name CumulusPalletDmpQueueEvent (285) */ - interface CumulusPalletDmpQueueEvent extends Enum { + export interface CumulusPalletDmpQueueEvent extends Enum { readonly isInvalidFormat: boolean; readonly asInvalidFormat: { readonly messageId: U8aFixed; @@ -2379,7 +2375,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletUniqueRawEvent (286) */ - interface PalletUniqueRawEvent extends Enum { + export interface PalletUniqueRawEvent extends Enum { readonly isCollectionSponsorRemoved: boolean; readonly asCollectionSponsorRemoved: u32; readonly isCollectionAdminAdded: boolean; @@ -2404,7 +2400,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletUniqueSchedulerEvent (287) */ - interface PalletUniqueSchedulerEvent extends Enum { + export interface PalletUniqueSchedulerEvent extends Enum { readonly isScheduled: boolean; readonly asScheduled: { readonly when: u32; @@ -2431,14 +2427,14 @@ declare module '@polkadot/types/lookup' { } /** @name FrameSupportScheduleLookupError (289) */ - interface FrameSupportScheduleLookupError extends Enum { + export interface FrameSupportScheduleLookupError extends Enum { readonly isUnknown: boolean; readonly isBadFormat: boolean; readonly type: 'Unknown' | 'BadFormat'; } /** @name PalletCommonEvent (290) */ - interface PalletCommonEvent extends Enum { + export interface PalletCommonEvent extends Enum { readonly isCollectionCreated: boolean; readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>; readonly isCollectionDestroyed: boolean; @@ -2465,14 +2461,14 @@ declare module '@polkadot/types/lookup' { } /** @name PalletStructureEvent (291) */ - interface PalletStructureEvent extends Enum { + export interface PalletStructureEvent extends Enum { readonly isExecuted: boolean; readonly asExecuted: Result; readonly type: 'Executed'; } /** @name PalletRmrkCoreEvent (292) */ - interface PalletRmrkCoreEvent extends Enum { + export interface PalletRmrkCoreEvent extends Enum { readonly isCollectionCreated: boolean; readonly asCollectionCreated: { readonly issuer: AccountId32; @@ -2562,7 +2558,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletRmrkEquipEvent (293) */ - interface PalletRmrkEquipEvent extends Enum { + export interface PalletRmrkEquipEvent extends Enum { readonly isBaseCreated: boolean; readonly asBaseCreated: { readonly issuer: AccountId32; @@ -2577,7 +2573,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletEvmEvent (294) */ - interface PalletEvmEvent extends Enum { + export interface PalletEvmEvent extends Enum { readonly isLog: boolean; readonly asLog: EthereumLog; readonly isCreated: boolean; @@ -2596,21 +2592,21 @@ declare module '@polkadot/types/lookup' { } /** @name EthereumLog (295) */ - interface EthereumLog extends Struct { + export interface EthereumLog extends Struct { readonly address: H160; readonly topics: Vec; readonly data: Bytes; } /** @name PalletEthereumEvent (296) */ - interface PalletEthereumEvent extends Enum { + export interface PalletEthereumEvent extends Enum { readonly isExecuted: boolean; readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>; readonly type: 'Executed'; } /** @name EvmCoreErrorExitReason (297) */ - interface EvmCoreErrorExitReason extends Enum { + export interface EvmCoreErrorExitReason extends Enum { readonly isSucceed: boolean; readonly asSucceed: EvmCoreErrorExitSucceed; readonly isError: boolean; @@ -2623,7 +2619,7 @@ declare module '@polkadot/types/lookup' { } /** @name EvmCoreErrorExitSucceed (298) */ - interface EvmCoreErrorExitSucceed extends Enum { + export interface EvmCoreErrorExitSucceed extends Enum { readonly isStopped: boolean; readonly isReturned: boolean; readonly isSuicided: boolean; @@ -2631,7 +2627,7 @@ declare module '@polkadot/types/lookup' { } /** @name EvmCoreErrorExitError (299) */ - interface EvmCoreErrorExitError extends Enum { + export interface EvmCoreErrorExitError extends Enum { readonly isStackUnderflow: boolean; readonly isStackOverflow: boolean; readonly isInvalidJump: boolean; @@ -2652,13 +2648,13 @@ declare module '@polkadot/types/lookup' { } /** @name EvmCoreErrorExitRevert (302) */ - interface EvmCoreErrorExitRevert extends Enum { + export interface EvmCoreErrorExitRevert extends Enum { readonly isReverted: boolean; readonly type: 'Reverted'; } /** @name EvmCoreErrorExitFatal (303) */ - interface EvmCoreErrorExitFatal extends Enum { + export interface EvmCoreErrorExitFatal extends Enum { readonly isNotSupported: boolean; readonly isUnhandledInterrupt: boolean; readonly isCallErrorAsFatal: boolean; @@ -2669,14 +2665,14 @@ declare module '@polkadot/types/lookup' { } /** @name PalletMaintenanceEvent (304) */ - interface PalletMaintenanceEvent extends Enum { + export interface PalletMaintenanceEvent extends Enum { readonly isMaintenanceEnabled: boolean; readonly isMaintenanceDisabled: boolean; readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled'; } /** @name FrameSystemPhase (305) */ - interface FrameSystemPhase extends Enum { + export interface FrameSystemPhase extends Enum { readonly isApplyExtrinsic: boolean; readonly asApplyExtrinsic: u32; readonly isFinalization: boolean; @@ -2685,27 +2681,27 @@ declare module '@polkadot/types/lookup' { } /** @name FrameSystemLastRuntimeUpgradeInfo (307) */ - interface FrameSystemLastRuntimeUpgradeInfo extends Struct { + export interface FrameSystemLastRuntimeUpgradeInfo extends Struct { readonly specVersion: Compact; readonly specName: Text; } /** @name FrameSystemLimitsBlockWeights (308) */ - interface FrameSystemLimitsBlockWeights extends Struct { + export interface FrameSystemLimitsBlockWeights extends Struct { readonly baseBlock: u64; readonly maxBlock: u64; readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass; } /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (309) */ - interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct { + export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct { readonly normal: FrameSystemLimitsWeightsPerClass; readonly operational: FrameSystemLimitsWeightsPerClass; readonly mandatory: FrameSystemLimitsWeightsPerClass; } /** @name FrameSystemLimitsWeightsPerClass (310) */ - interface FrameSystemLimitsWeightsPerClass extends Struct { + export interface FrameSystemLimitsWeightsPerClass extends Struct { readonly baseExtrinsic: u64; readonly maxExtrinsic: Option; readonly maxTotal: Option; @@ -2713,25 +2709,25 @@ declare module '@polkadot/types/lookup' { } /** @name FrameSystemLimitsBlockLength (312) */ - interface FrameSystemLimitsBlockLength extends Struct { + export interface FrameSystemLimitsBlockLength extends Struct { readonly max: FrameSupportWeightsPerDispatchClassU32; } /** @name FrameSupportWeightsPerDispatchClassU32 (313) */ - interface FrameSupportWeightsPerDispatchClassU32 extends Struct { + export interface FrameSupportWeightsPerDispatchClassU32 extends Struct { readonly normal: u32; readonly operational: u32; readonly mandatory: u32; } /** @name FrameSupportWeightsRuntimeDbWeight (314) */ - interface FrameSupportWeightsRuntimeDbWeight extends Struct { + export interface FrameSupportWeightsRuntimeDbWeight extends Struct { readonly read: u64; readonly write: u64; } /** @name SpVersionRuntimeVersion (315) */ - interface SpVersionRuntimeVersion extends Struct { + export interface SpVersionRuntimeVersion extends Struct { readonly specName: Text; readonly implName: Text; readonly authoringVersion: u32; @@ -2743,7 +2739,7 @@ declare module '@polkadot/types/lookup' { } /** @name FrameSystemError (319) */ - interface FrameSystemError extends Enum { + export interface FrameSystemError extends Enum { readonly isInvalidSpecName: boolean; readonly isSpecVersionNeedsToIncrease: boolean; readonly isFailedToExtractRuntimeVersion: boolean; @@ -2754,7 +2750,7 @@ declare module '@polkadot/types/lookup' { } /** @name OrmlVestingModuleError (321) */ - interface OrmlVestingModuleError extends Enum { + export interface OrmlVestingModuleError extends Enum { readonly isZeroVestingPeriod: boolean; readonly isZeroVestingPeriodCount: boolean; readonly isInsufficientBalanceToLock: boolean; @@ -2765,21 +2761,21 @@ declare module '@polkadot/types/lookup' { } /** @name CumulusPalletXcmpQueueInboundChannelDetails (323) */ - interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct { + export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct { readonly sender: u32; readonly state: CumulusPalletXcmpQueueInboundState; readonly messageMetadata: Vec>; } /** @name CumulusPalletXcmpQueueInboundState (324) */ - interface CumulusPalletXcmpQueueInboundState extends Enum { + export interface CumulusPalletXcmpQueueInboundState extends Enum { readonly isOk: boolean; readonly isSuspended: boolean; readonly type: 'Ok' | 'Suspended'; } /** @name PolkadotParachainPrimitivesXcmpMessageFormat (327) */ - interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum { + export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum { readonly isConcatenatedVersionedXcm: boolean; readonly isConcatenatedEncodedBlob: boolean; readonly isSignals: boolean; @@ -2787,7 +2783,7 @@ declare module '@polkadot/types/lookup' { } /** @name CumulusPalletXcmpQueueOutboundChannelDetails (330) */ - interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct { + export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct { readonly recipient: u32; readonly state: CumulusPalletXcmpQueueOutboundState; readonly signalsExist: bool; @@ -2796,14 +2792,14 @@ declare module '@polkadot/types/lookup' { } /** @name CumulusPalletXcmpQueueOutboundState (331) */ - interface CumulusPalletXcmpQueueOutboundState extends Enum { + export interface CumulusPalletXcmpQueueOutboundState extends Enum { readonly isOk: boolean; readonly isSuspended: boolean; readonly type: 'Ok' | 'Suspended'; } /** @name CumulusPalletXcmpQueueQueueConfigData (333) */ - interface CumulusPalletXcmpQueueQueueConfigData extends Struct { + export interface CumulusPalletXcmpQueueQueueConfigData extends Struct { readonly suspendThreshold: u32; readonly dropThreshold: u32; readonly resumeThreshold: u32; @@ -2813,7 +2809,7 @@ declare module '@polkadot/types/lookup' { } /** @name CumulusPalletXcmpQueueError (335) */ - interface CumulusPalletXcmpQueueError extends Enum { + export interface CumulusPalletXcmpQueueError extends Enum { readonly isFailedToSend: boolean; readonly isBadXcmOrigin: boolean; readonly isBadXcm: boolean; @@ -2823,7 +2819,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletXcmError (336) */ - interface PalletXcmError extends Enum { + export interface PalletXcmError extends Enum { readonly isUnreachable: boolean; readonly isSendFailure: boolean; readonly isFiltered: boolean; @@ -2841,29 +2837,29 @@ declare module '@polkadot/types/lookup' { } /** @name CumulusPalletXcmError (337) */ - type CumulusPalletXcmError = Null; + export type CumulusPalletXcmError = Null; /** @name CumulusPalletDmpQueueConfigData (338) */ - interface CumulusPalletDmpQueueConfigData extends Struct { + export interface CumulusPalletDmpQueueConfigData extends Struct { readonly maxIndividual: u64; } /** @name CumulusPalletDmpQueuePageIndexData (339) */ - interface CumulusPalletDmpQueuePageIndexData extends Struct { + export interface CumulusPalletDmpQueuePageIndexData extends Struct { readonly beginUsed: u32; readonly endUsed: u32; readonly overweightCount: u64; } /** @name CumulusPalletDmpQueueError (342) */ - interface CumulusPalletDmpQueueError extends Enum { + export interface CumulusPalletDmpQueueError extends Enum { readonly isUnknown: boolean; readonly isOverLimit: boolean; readonly type: 'Unknown' | 'OverLimit'; } /** @name PalletUniqueError (346) */ - interface PalletUniqueError extends Enum { + export interface PalletUniqueError extends Enum { readonly isCollectionDecimalPointLimitExceeded: boolean; readonly isConfirmUnsetSponsorFail: boolean; readonly isEmptyArgument: boolean; @@ -2872,7 +2868,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletUniqueSchedulerScheduledV3 (349) */ - interface PalletUniqueSchedulerScheduledV3 extends Struct { + export interface PalletUniqueSchedulerScheduledV3 extends Struct { readonly maybeId: Option; readonly priority: u8; readonly call: FrameSupportScheduleMaybeHashed; @@ -2881,7 +2877,7 @@ declare module '@polkadot/types/lookup' { } /** @name OpalRuntimeOriginCaller (350) */ - interface OpalRuntimeOriginCaller extends Enum { + export interface OpalRuntimeOriginCaller extends Enum { readonly isVoid: boolean; readonly isSystem: boolean; readonly asSystem: FrameSupportDispatchRawOrigin; @@ -2895,7 +2891,7 @@ declare module '@polkadot/types/lookup' { } /** @name FrameSupportDispatchRawOrigin (351) */ - interface FrameSupportDispatchRawOrigin extends Enum { + export interface FrameSupportDispatchRawOrigin extends Enum { readonly isRoot: boolean; readonly isSigned: boolean; readonly asSigned: AccountId32; @@ -2904,7 +2900,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletXcmOrigin (352) */ - interface PalletXcmOrigin extends Enum { + export interface PalletXcmOrigin extends Enum { readonly isXcm: boolean; readonly asXcm: XcmV1MultiLocation; readonly isResponse: boolean; @@ -2913,7 +2909,7 @@ declare module '@polkadot/types/lookup' { } /** @name CumulusPalletXcmOrigin (353) */ - interface CumulusPalletXcmOrigin extends Enum { + export interface CumulusPalletXcmOrigin extends Enum { readonly isRelay: boolean; readonly isSiblingParachain: boolean; readonly asSiblingParachain: u32; @@ -2921,17 +2917,17 @@ declare module '@polkadot/types/lookup' { } /** @name PalletEthereumRawOrigin (354) */ - interface PalletEthereumRawOrigin extends Enum { + export interface PalletEthereumRawOrigin extends Enum { readonly isEthereumTransaction: boolean; readonly asEthereumTransaction: H160; readonly type: 'EthereumTransaction'; } /** @name SpCoreVoid (355) */ - type SpCoreVoid = Null; + export type SpCoreVoid = Null; /** @name PalletUniqueSchedulerError (356) */ - interface PalletUniqueSchedulerError extends Enum { + export interface PalletUniqueSchedulerError extends Enum { readonly isFailedToSchedule: boolean; readonly isNotFound: boolean; readonly isTargetBlockNumberInPast: boolean; @@ -2940,7 +2936,7 @@ declare module '@polkadot/types/lookup' { } /** @name UpDataStructsCollection (357) */ - interface UpDataStructsCollection extends Struct { + export interface UpDataStructsCollection extends Struct { readonly owner: AccountId32; readonly mode: UpDataStructsCollectionMode; readonly name: Vec; @@ -2953,7 +2949,7 @@ declare module '@polkadot/types/lookup' { } /** @name UpDataStructsSponsorshipState (358) */ - interface UpDataStructsSponsorshipState extends Enum { + export interface UpDataStructsSponsorshipState extends Enum { readonly isDisabled: boolean; readonly isUnconfirmed: boolean; readonly asUnconfirmed: AccountId32; @@ -2963,42 +2959,42 @@ declare module '@polkadot/types/lookup' { } /** @name UpDataStructsProperties (359) */ - interface UpDataStructsProperties extends Struct { + export interface UpDataStructsProperties extends Struct { readonly map: UpDataStructsPropertiesMapBoundedVec; readonly consumedSpace: u32; readonly spaceLimit: u32; } /** @name UpDataStructsPropertiesMapBoundedVec (360) */ - interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap {} + export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap {} /** @name UpDataStructsPropertiesMapPropertyPermission (365) */ - interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap {} + export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap {} /** @name UpDataStructsCollectionStats (372) */ - interface UpDataStructsCollectionStats extends Struct { + export interface UpDataStructsCollectionStats extends Struct { readonly created: u32; readonly destroyed: u32; readonly alive: u32; } /** @name UpDataStructsTokenChild (373) */ - interface UpDataStructsTokenChild extends Struct { + export interface UpDataStructsTokenChild extends Struct { readonly token: u32; readonly collection: u32; } /** @name PhantomTypeUpDataStructs (374) */ - interface PhantomTypeUpDataStructs extends Vec> {} + export interface PhantomTypeUpDataStructs extends Vec> {} /** @name UpDataStructsTokenData (376) */ - interface UpDataStructsTokenData extends Struct { + export interface UpDataStructsTokenData extends Struct { readonly properties: Vec; readonly owner: Option; } /** @name UpDataStructsRpcCollection (378) */ - interface UpDataStructsRpcCollection extends Struct { + export interface UpDataStructsRpcCollection extends Struct { readonly owner: AccountId32; readonly mode: UpDataStructsCollectionMode; readonly name: Vec; @@ -3013,7 +3009,7 @@ declare module '@polkadot/types/lookup' { } /** @name RmrkTraitsCollectionCollectionInfo (379) */ - interface RmrkTraitsCollectionCollectionInfo extends Struct { + export interface RmrkTraitsCollectionCollectionInfo extends Struct { readonly issuer: AccountId32; readonly metadata: Bytes; readonly max: Option; @@ -3022,7 +3018,7 @@ declare module '@polkadot/types/lookup' { } /** @name RmrkTraitsNftNftInfo (380) */ - interface RmrkTraitsNftNftInfo extends Struct { + export interface RmrkTraitsNftNftInfo extends Struct { readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple; readonly royalty: Option; readonly metadata: Bytes; @@ -3031,13 +3027,13 @@ declare module '@polkadot/types/lookup' { } /** @name RmrkTraitsNftRoyaltyInfo (382) */ - interface RmrkTraitsNftRoyaltyInfo extends Struct { + export interface RmrkTraitsNftRoyaltyInfo extends Struct { readonly recipient: AccountId32; readonly amount: Permill; } /** @name RmrkTraitsResourceResourceInfo (383) */ - interface RmrkTraitsResourceResourceInfo extends Struct { + export interface RmrkTraitsResourceResourceInfo extends Struct { readonly id: u32; readonly resource: RmrkTraitsResourceResourceTypes; readonly pending: bool; @@ -3045,26 +3041,26 @@ declare module '@polkadot/types/lookup' { } /** @name RmrkTraitsPropertyPropertyInfo (384) */ - interface RmrkTraitsPropertyPropertyInfo extends Struct { + export interface RmrkTraitsPropertyPropertyInfo extends Struct { readonly key: Bytes; readonly value: Bytes; } /** @name RmrkTraitsBaseBaseInfo (385) */ - interface RmrkTraitsBaseBaseInfo extends Struct { + export interface RmrkTraitsBaseBaseInfo extends Struct { readonly issuer: AccountId32; readonly baseType: Bytes; readonly symbol: Bytes; } /** @name RmrkTraitsNftNftChild (386) */ - interface RmrkTraitsNftNftChild extends Struct { + export interface RmrkTraitsNftNftChild extends Struct { readonly collectionId: u32; readonly nftId: u32; } /** @name PalletCommonError (388) */ - interface PalletCommonError extends Enum { + export interface PalletCommonError extends Enum { readonly isCollectionNotFound: boolean; readonly isMustBeTokenOwner: boolean; readonly isNoPermission: boolean; @@ -3103,7 +3099,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletFungibleError (390) */ - interface PalletFungibleError extends Enum { + export interface PalletFungibleError extends Enum { readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean; readonly isFungibleItemsHaveNoId: boolean; readonly isFungibleItemsDontHaveData: boolean; @@ -3113,12 +3109,12 @@ declare module '@polkadot/types/lookup' { } /** @name PalletRefungibleItemData (391) */ - interface PalletRefungibleItemData extends Struct { + export interface PalletRefungibleItemData extends Struct { readonly constData: Bytes; } /** @name PalletRefungibleError (395) */ - interface PalletRefungibleError extends Enum { + export interface PalletRefungibleError extends Enum { readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean; readonly isWrongRefungiblePieces: boolean; readonly isRepartitionWhileNotOwningAllPieces: boolean; @@ -3128,19 +3124,19 @@ declare module '@polkadot/types/lookup' { } /** @name PalletNonfungibleItemData (396) */ - interface PalletNonfungibleItemData extends Struct { + export interface PalletNonfungibleItemData extends Struct { readonly owner: PalletEvmAccountBasicCrossAccountIdRepr; } /** @name UpDataStructsPropertyScope (398) */ - interface UpDataStructsPropertyScope extends Enum { + export interface UpDataStructsPropertyScope extends Enum { readonly isNone: boolean; readonly isRmrk: boolean; readonly type: 'None' | 'Rmrk'; } /** @name PalletNonfungibleError (400) */ - interface PalletNonfungibleError extends Enum { + export interface PalletNonfungibleError extends Enum { readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean; readonly isNonfungibleItemsHaveNoAmount: boolean; readonly isCantBurnNftWithChildren: boolean; @@ -3148,7 +3144,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletStructureError (401) */ - interface PalletStructureError extends Enum { + export interface PalletStructureError extends Enum { readonly isOuroborosDetected: boolean; readonly isDepthLimit: boolean; readonly isBreadthLimit: boolean; @@ -3157,7 +3153,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletRmrkCoreError (402) */ - interface PalletRmrkCoreError extends Enum { + export interface PalletRmrkCoreError extends Enum { readonly isCorruptedCollectionType: boolean; readonly isNftTypeEncodeError: boolean; readonly isRmrkPropertyKeyIsTooLong: boolean; @@ -3182,7 +3178,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletRmrkEquipError (404) */ - interface PalletRmrkEquipError extends Enum { + export interface PalletRmrkEquipError extends Enum { readonly isPermissionError: boolean; readonly isNoAvailableBaseId: boolean; readonly isNoAvailablePartId: boolean; @@ -3194,7 +3190,7 @@ declare module '@polkadot/types/lookup' { } /** @name PalletEvmError (407) */ - interface PalletEvmError extends Enum { + export interface PalletEvmError extends Enum { readonly isBalanceLow: boolean; readonly isFeeOverflow: boolean; readonly isPaymentOverflow: boolean; @@ -3205,7 +3201,7 @@ declare module '@polkadot/types/lookup' { } /** @name FpRpcTransactionStatus (410) */ - interface FpRpcTransactionStatus extends Struct { + export interface FpRpcTransactionStatus extends Struct { readonly transactionHash: H256; readonly transactionIndex: u32; readonly from: H160; @@ -3216,10 +3212,10 @@ declare module '@polkadot/types/lookup' { } /** @name EthbloomBloom (412) */ - interface EthbloomBloom extends U8aFixed {} + export interface EthbloomBloom extends U8aFixed {} /** @name EthereumReceiptReceiptV3 (414) */ - interface EthereumReceiptReceiptV3 extends Enum { + export interface EthereumReceiptReceiptV3 extends Enum { readonly isLegacy: boolean; readonly asLegacy: EthereumReceiptEip658ReceiptData; readonly isEip2930: boolean; @@ -3230,7 +3226,7 @@ declare module '@polkadot/types/lookup' { } /** @name EthereumReceiptEip658ReceiptData (415) */ - interface EthereumReceiptEip658ReceiptData extends Struct { + export interface EthereumReceiptEip658ReceiptData extends Struct { readonly statusCode: u8; readonly usedGas: U256; readonly logsBloom: EthbloomBloom; @@ -3238,14 +3234,14 @@ declare module '@polkadot/types/lookup' { } /** @name EthereumBlock (416) */ - interface EthereumBlock extends Struct { + export interface EthereumBlock extends Struct { readonly header: EthereumHeader; readonly transactions: Vec; readonly ommers: Vec; } /** @name EthereumHeader (417) */ - interface EthereumHeader extends Struct { + export interface EthereumHeader extends Struct { readonly parentHash: H256; readonly ommersHash: H256; readonly beneficiary: H160; @@ -3264,24 +3260,24 @@ declare module '@polkadot/types/lookup' { } /** @name EthereumTypesHashH64 (418) */ - interface EthereumTypesHashH64 extends U8aFixed {} + export interface EthereumTypesHashH64 extends U8aFixed {} /** @name PalletEthereumError (423) */ - interface PalletEthereumError extends Enum { + export interface PalletEthereumError extends Enum { readonly isInvalidSignature: boolean; readonly isPreLogExists: boolean; readonly type: 'InvalidSignature' | 'PreLogExists'; } /** @name PalletEvmCoderSubstrateError (424) */ - interface PalletEvmCoderSubstrateError extends Enum { + export interface PalletEvmCoderSubstrateError extends Enum { readonly isOutOfGas: boolean; readonly isOutOfFund: boolean; readonly type: 'OutOfGas' | 'OutOfFund'; } /** @name PalletEvmContractHelpersSponsoringModeT (425) */ - interface PalletEvmContractHelpersSponsoringModeT extends Enum { + export interface PalletEvmContractHelpersSponsoringModeT extends Enum { readonly isDisabled: boolean; readonly isAllowlisted: boolean; readonly isGenerous: boolean; @@ -3289,23 +3285,23 @@ declare module '@polkadot/types/lookup' { } /** @name PalletEvmContractHelpersError (427) */ - interface PalletEvmContractHelpersError extends Enum { + export interface PalletEvmContractHelpersError extends Enum { readonly isNoPermission: boolean; readonly type: 'NoPermission'; } /** @name PalletEvmMigrationError (428) */ - interface PalletEvmMigrationError extends Enum { + export interface PalletEvmMigrationError extends Enum { readonly isAccountNotEmpty: boolean; readonly isAccountIsNotMigrating: boolean; readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating'; } /** @name PalletMaintenanceError (429) */ - type PalletMaintenanceError = Null; + export type PalletMaintenanceError = Null; /** @name SpRuntimeMultiSignature (431) */ - interface SpRuntimeMultiSignature extends Enum { + export interface SpRuntimeMultiSignature extends Enum { readonly isEd25519: boolean; readonly asEd25519: SpCoreEd25519Signature; readonly isSr25519: boolean; @@ -3316,36 +3312,36 @@ declare module '@polkadot/types/lookup' { } /** @name SpCoreEd25519Signature (432) */ - interface SpCoreEd25519Signature extends U8aFixed {} + export interface SpCoreEd25519Signature extends U8aFixed {} /** @name SpCoreSr25519Signature (434) */ - interface SpCoreSr25519Signature extends U8aFixed {} + export interface SpCoreSr25519Signature extends U8aFixed {} /** @name SpCoreEcdsaSignature (435) */ - interface SpCoreEcdsaSignature extends U8aFixed {} + export interface SpCoreEcdsaSignature extends U8aFixed {} /** @name FrameSystemExtensionsCheckSpecVersion (438) */ - type FrameSystemExtensionsCheckSpecVersion = Null; + export type FrameSystemExtensionsCheckSpecVersion = Null; /** @name FrameSystemExtensionsCheckGenesis (439) */ - type FrameSystemExtensionsCheckGenesis = Null; + export type FrameSystemExtensionsCheckGenesis = Null; /** @name FrameSystemExtensionsCheckNonce (442) */ - interface FrameSystemExtensionsCheckNonce extends Compact {} + export interface FrameSystemExtensionsCheckNonce extends Compact {} /** @name FrameSystemExtensionsCheckWeight (443) */ - type FrameSystemExtensionsCheckWeight = Null; + export type FrameSystemExtensionsCheckWeight = Null; /** @name OpalRuntimeCheckMaintenance (444) */ - type OpalRuntimeCheckMaintenance = Null; + export type OpalRuntimeCheckMaintenance = Null; /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (445) */ - interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact {} + export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact {} /** @name OpalRuntimeRuntime (446) */ - type OpalRuntimeRuntime = Null; + export type OpalRuntimeRuntime = Null; /** @name PalletEthereumFakeTransactionFinalizer (447) */ - type PalletEthereumFakeTransactionFinalizer = Null; + export type PalletEthereumFakeTransactionFinalizer = Null; } // declare module From bc30f6b07346034b59a257a551694b3eed974f3b Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Fri, 4 Nov 2022 10:08:17 +0000 Subject: [PATCH 28/31] fix: pallet-presence --- tests/src/pallet-presence.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/src/pallet-presence.test.ts b/tests/src/pallet-presence.test.ts index 1b43421d55..cecf67b5a7 100644 --- a/tests/src/pallet-presence.test.ts +++ b/tests/src/pallet-presence.test.ts @@ -52,6 +52,7 @@ const requiredPallets = [ 'refungible', 'scheduler', 'charging', + 'maintenance', ]; // Pallets that depend on consensus and governance configuration From 7d4f539d3fadbc3961dd1acbb1b0b31e290056fa Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Fri, 4 Nov 2022 14:04:11 +0000 Subject: [PATCH 29/31] fix: test scheduled calls during MM --- tests/src/maintenanceMode.test.ts | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/tests/src/maintenanceMode.test.ts b/tests/src/maintenanceMode.test.ts index 1056408bbf..f97129e755 100644 --- a/tests/src/maintenanceMode.test.ts +++ b/tests/src/maintenanceMode.test.ts @@ -16,7 +16,7 @@ import chai from 'chai'; import chaiAsPromised from 'chai-as-promised'; -import {default as usingApi, submitTransactionAsync, submitTransactionExpectFailAsync} from './substrate/substrate-api'; +import {default as usingApi, executeTransaction, submitTransactionAsync, submitTransactionExpectFailAsync} from './substrate/substrate-api'; import {createCollection, createItemExpectSuccess, createItemExpectFailure, createCollectionWithPropsExpectSuccess, waitNewBlocks, getTokenOwner, scheduleTransferExpectSuccess} from './util/helpers'; import {createEthAccount, createEthAccountWithBalance, evmCollection, evmCollectionHelpers, getCollectionAddressFromResult, itWeb3} from './eth/util/helpers'; import {IKeyringPair} from '@polkadot/types/types'; @@ -189,26 +189,26 @@ describe('Integration Test: Maintenance Mode', () => { it('MM blocks scheduled calls and the scheduler itself', async () => { await usingApi(async api => { - const collectionResult = await expect(createCollection(api, superuser)).to.be.fulfilled; + const collectionResult = await expect(createCollection(api, bob)).to.be.fulfilled; const collectionId = collectionResult.collectionId; - const nftBeforeMM = await createItemExpectSuccess(superuser, collectionId, 'NFT'); - const nftDuringMM = await createItemExpectSuccess(superuser, collectionId, 'NFT'); - const nftAfterMM = await createItemExpectSuccess(superuser, collectionId, 'NFT'); + const nftBeforeMM = await createItemExpectSuccess(bob, collectionId, 'NFT'); + const nftDuringMM = await createItemExpectSuccess(bob, collectionId, 'NFT'); + const nftAfterMM = await createItemExpectSuccess(bob, collectionId, 'NFT'); const scheduledIdBeforeMM = '0x' + '0'.repeat(31) + '0'; const scheduledIdDuringMM = '0x' + '0'.repeat(31) + '1'; const scheduledIdAttemptDuringMM = '0x' + '0'.repeat(31) + '2'; const scheduledIdAfterMM = '0x' + '0'.repeat(31) + '3'; - const blocksToWait = 4; + const blocksToWait = 6; // Scheduling works before the maintenance await scheduleTransferExpectSuccess( collectionId, nftBeforeMM, - superuser, bob, + superuser, 1, blocksToWait, scheduledIdBeforeMM, @@ -216,49 +216,49 @@ describe('Integration Test: Maintenance Mode', () => { await waitNewBlocks(blocksToWait + 1); - expect(await getTokenOwner(api, collectionId, nftBeforeMM)).to.be.deep.equal({Substrate: bob.address}); + expect(await getTokenOwner(api, collectionId, nftBeforeMM)).to.be.deep.equal({Substrate: superuser.address}); // Schedule a transaction that should occur *during* the maintenance await scheduleTransferExpectSuccess( collectionId, nftDuringMM, - superuser, bob, + superuser, 1, blocksToWait, scheduledIdDuringMM, ); const txEnable = api.tx.maintenance.enable(); - await submitTransactionAsync(superuser, api.tx.sudo.sudo(txEnable as any)); + await executeTransaction(api, superuser, api.tx.sudo.sudo(txEnable as any)); expect(await maintenanceEnabled(api), 'MM is OFF when it should be ON').to.be.true; await waitNewBlocks(blocksToWait + 1); // The owner should NOT change since the scheduled transaction should be rejected - expect(await getTokenOwner(api, collectionId, nftDuringMM)).to.be.deep.equal({Substrate: superuser.address}); + expect(await getTokenOwner(api, collectionId, nftDuringMM)).to.be.deep.equal({Substrate: bob.address}); // Any attempts to schedule a tx during the MM should be rejected await expect(scheduleTransferExpectSuccess( collectionId, nftDuringMM, - superuser, bob, + superuser, 1, blocksToWait, scheduledIdAttemptDuringMM, )).to.be.rejected; const txDisable = api.tx.maintenance.disable(); - await submitTransactionAsync(superuser, api.tx.sudo.sudo(txDisable as any)); + await executeTransaction(api, superuser, api.tx.sudo.sudo(txDisable as any)); expect(await maintenanceEnabled(api), 'MM is ON when it should be OFF').to.be.false; // Scheduling works after the maintenance await scheduleTransferExpectSuccess( collectionId, nftAfterMM, - superuser, bob, + superuser, 1, blocksToWait, scheduledIdAfterMM, @@ -266,7 +266,7 @@ describe('Integration Test: Maintenance Mode', () => { await waitNewBlocks(blocksToWait + 1); - expect(await getTokenOwner(api, collectionId, nftAfterMM)).to.be.deep.equal({Substrate: bob.address}); + expect(await getTokenOwner(api, collectionId, nftAfterMM)).to.be.deep.equal({Substrate: superuser.address}); }); }); From ac20838438adc7a57e94dd75e721240f7d53390d Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Wed, 5 Oct 2022 10:22:27 +0000 Subject: [PATCH 30/31] fix: skip rmrk if no pallet --- tests/src/rmrk/acceptNft.test.ts | 6 +- tests/src/rmrk/addResource.test.ts | 4 +- tests/src/rmrk/addTheme.test.ts | 6 +- tests/src/rmrk/burnNft.test.ts | 4 +- tests/src/rmrk/changeCollectionIssuer.test.ts | 4 +- tests/src/rmrk/createBase.test.ts | 6 +- tests/src/rmrk/createCollection.test.ts | 6 +- tests/src/rmrk/deleteCollection.test.ts | 4 +- tests/src/rmrk/equipNft.test.ts | 4 +- tests/src/rmrk/getOwnedNfts.test.ts | 6 +- tests/src/rmrk/lockCollection.test.ts | 4 +- tests/src/rmrk/mintNft.test.ts | 6 +- tests/src/rmrk/rejectNft.test.ts | 6 +- tests/src/rmrk/removeResource.test.ts | 5 +- tests/src/rmrk/rmrkIsolation.test.ts | 4 +- tests/src/rmrk/sendNft.test.ts | 6 +- tests/src/rmrk/setCollectionProperty.test.ts | 4 +- tests/src/rmrk/setEquippableList.test.ts | 6 +- tests/src/rmrk/setNftProperty.test.ts | 6 +- tests/src/rmrk/setResourcePriorities.test.ts | 6 +- tests/src/util/helpers.ts | 61 +++++++++++++++++++ 21 files changed, 143 insertions(+), 21 deletions(-) diff --git a/tests/src/rmrk/acceptNft.test.ts b/tests/src/rmrk/acceptNft.test.ts index f3e50f65e7..439f333cce 100644 --- a/tests/src/rmrk/acceptNft.test.ts +++ b/tests/src/rmrk/acceptNft.test.ts @@ -8,10 +8,14 @@ import { } from './util/tx'; import {NftIdTuple} from './util/fetch'; import {isNftChildOfAnother, expectTxFailure} from './util/helpers'; +import {Pallets, requirePallets} from '../util/helpers'; describe('integration test: accept NFT', () => { let api: any; - before(async () => { api = await getApiConnection(); }); + before(async function() { + api = await getApiConnection(); + await requirePallets(this, [Pallets.RmrkCore]); + }); const alice = '//Alice'; const bob = '//Bob'; diff --git a/tests/src/rmrk/addResource.test.ts b/tests/src/rmrk/addResource.test.ts index 9798152053..cddfe8edf7 100644 --- a/tests/src/rmrk/addResource.test.ts +++ b/tests/src/rmrk/addResource.test.ts @@ -12,6 +12,7 @@ import { addNftComposableResource, } from './util/tx'; import {RmrkTraitsResourceResourceInfo as ResourceInfo} from '@polkadot/types/lookup'; +import {Pallets, requirePallets} from '../util/helpers'; describe('integration test: add NFT resource', () => { const Alice = '//Alice'; @@ -24,8 +25,9 @@ describe('integration test: add NFT resource', () => { const nonexistentId = 99999; let api: any; - before(async () => { + before(async function() { api = await getApiConnection(); + await requirePallets(this, [Pallets.RmrkCore]); }); it('add resource', async () => { diff --git a/tests/src/rmrk/addTheme.test.ts b/tests/src/rmrk/addTheme.test.ts index b2bb56e0ff..dad7b728d9 100644 --- a/tests/src/rmrk/addTheme.test.ts +++ b/tests/src/rmrk/addTheme.test.ts @@ -3,10 +3,14 @@ import {getApiConnection} from '../substrate/substrate-api'; import {createBase, addTheme} from './util/tx'; import {expectTxFailure} from './util/helpers'; import {getThemeNames} from './util/fetch'; +import {Pallets, requirePallets} from '../util/helpers'; describe('integration test: add Theme to Base', () => { let api: any; - before(async () => { api = await getApiConnection(); }); + before(async function() { + api = await getApiConnection(); + await requirePallets(this, [Pallets.RmrkCore]); + }); const alice = '//Alice'; const bob = '//Bob'; diff --git a/tests/src/rmrk/burnNft.test.ts b/tests/src/rmrk/burnNft.test.ts index c640e625a6..29864a6709 100644 --- a/tests/src/rmrk/burnNft.test.ts +++ b/tests/src/rmrk/burnNft.test.ts @@ -2,6 +2,7 @@ import {getApiConnection} from '../substrate/substrate-api'; import {expectTxFailure} from './util/helpers'; import {NftIdTuple, getChildren} from './util/fetch'; import {burnNft, createCollection, sendNft, mintNft} from './util/tx'; +import {Pallets, requirePallets} from '../util/helpers'; import chai from 'chai'; import chaiAsPromised from 'chai-as-promised'; @@ -14,8 +15,9 @@ describe('integration test: burn nft', () => { const Bob = '//Bob'; let api: any; - before(async () => { + before(async function() { api = await getApiConnection(); + await requirePallets(this, [Pallets.RmrkCore]); }); it('burn nft', async () => { diff --git a/tests/src/rmrk/changeCollectionIssuer.test.ts b/tests/src/rmrk/changeCollectionIssuer.test.ts index 6d1afec7b0..6d2dd3714a 100644 --- a/tests/src/rmrk/changeCollectionIssuer.test.ts +++ b/tests/src/rmrk/changeCollectionIssuer.test.ts @@ -4,14 +4,16 @@ import { changeIssuer, createCollection, } from './util/tx'; +import {Pallets, requirePallets} from '../util/helpers'; describe('integration test: collection issuer', () => { const Alice = '//Alice'; const Bob = '//Bob'; let api: any; - before(async () => { + before(async function() { api = await getApiConnection(); + await requirePallets(this, [Pallets.RmrkCore]); }); it('change collection issuer', async () => { diff --git a/tests/src/rmrk/createBase.test.ts b/tests/src/rmrk/createBase.test.ts index 5d07489aa9..3f8234b100 100644 --- a/tests/src/rmrk/createBase.test.ts +++ b/tests/src/rmrk/createBase.test.ts @@ -1,9 +1,13 @@ import {getApiConnection} from '../substrate/substrate-api'; import {createCollection, createBase} from './util/tx'; +import {Pallets, requirePallets} from '../util/helpers'; describe('integration test: create new Base', () => { let api: any; - before(async () => { api = await getApiConnection(); }); + before(async function() { + api = await getApiConnection(); + await requirePallets(this, [Pallets.RmrkCore]); + }); const alice = '//Alice'; diff --git a/tests/src/rmrk/createCollection.test.ts b/tests/src/rmrk/createCollection.test.ts index 22c879b2b2..c15e0fe65a 100644 --- a/tests/src/rmrk/createCollection.test.ts +++ b/tests/src/rmrk/createCollection.test.ts @@ -1,9 +1,13 @@ import {getApiConnection} from '../substrate/substrate-api'; import {createCollection} from './util/tx'; +import {Pallets, requirePallets} from '../util/helpers'; describe('Integration test: create new collection', () => { let api: any; - before(async () => { api = await getApiConnection(); }); + before(async function() { + api = await getApiConnection(); + await requirePallets(this, [Pallets.RmrkCore]); + }); const alice = '//Alice'; diff --git a/tests/src/rmrk/deleteCollection.test.ts b/tests/src/rmrk/deleteCollection.test.ts index a6925c2c5b..9ee5e40d91 100644 --- a/tests/src/rmrk/deleteCollection.test.ts +++ b/tests/src/rmrk/deleteCollection.test.ts @@ -1,11 +1,13 @@ import {getApiConnection} from '../substrate/substrate-api'; import {expectTxFailure} from './util/helpers'; import {createCollection, deleteCollection} from './util/tx'; +import {Pallets, requirePallets} from '../util/helpers'; describe('integration test: delete collection', () => { let api: any; - before(async () => { + before(async function() { api = await getApiConnection(); + await requirePallets(this, [Pallets.RmrkCore]); }); const Alice = '//Alice'; diff --git a/tests/src/rmrk/equipNft.test.ts b/tests/src/rmrk/equipNft.test.ts index 76a8a988dd..c9242af73a 100644 --- a/tests/src/rmrk/equipNft.test.ts +++ b/tests/src/rmrk/equipNft.test.ts @@ -13,6 +13,7 @@ import { sendNft, unequipNft, } from './util/tx'; +import {Pallets, requirePallets} from '../util/helpers'; const Alice = '//Alice'; const Bob = '//Bob'; @@ -122,8 +123,9 @@ async function checkEquipStatus( describe.skip('integration test: Equip NFT', () => { let api: any; - before(async () => { + before(async function() { api = await getApiConnection(); + await requirePallets(this, [Pallets.RmrkCore]); }); it('equip nft', async () => { diff --git a/tests/src/rmrk/getOwnedNfts.test.ts b/tests/src/rmrk/getOwnedNfts.test.ts index 6fbf5499d1..039148ae92 100644 --- a/tests/src/rmrk/getOwnedNfts.test.ts +++ b/tests/src/rmrk/getOwnedNfts.test.ts @@ -2,10 +2,14 @@ import {expect} from 'chai'; import {getApiConnection} from '../substrate/substrate-api'; import {getOwnedNfts} from './util/fetch'; import {mintNft, createCollection} from './util/tx'; +import {Pallets, requirePallets} from '../util/helpers'; describe('integration test: get owned NFTs', () => { let api: any; - before(async () => { api = await getApiConnection(); }); + before(async function() { + api = await getApiConnection(); + await requirePallets(this, [Pallets.RmrkCore]); + }); const alice = '//Alice'; diff --git a/tests/src/rmrk/lockCollection.test.ts b/tests/src/rmrk/lockCollection.test.ts index f23294a7e5..361088c96d 100644 --- a/tests/src/rmrk/lockCollection.test.ts +++ b/tests/src/rmrk/lockCollection.test.ts @@ -1,6 +1,7 @@ import {getApiConnection} from '../substrate/substrate-api'; import {expectTxFailure} from './util/helpers'; import {createCollection, lockCollection, mintNft} from './util/tx'; +import {Pallets, requirePallets} from '../util/helpers'; describe('integration test: lock collection', () => { const Alice = '//Alice'; @@ -8,8 +9,9 @@ describe('integration test: lock collection', () => { const Max = 5; let api: any; - before(async () => { + before(async function() { api = await getApiConnection(); + await requirePallets(this, [Pallets.RmrkCore]); }); it('lock collection', async () => { diff --git a/tests/src/rmrk/mintNft.test.ts b/tests/src/rmrk/mintNft.test.ts index 6f77b4ea7f..b0e49dae19 100644 --- a/tests/src/rmrk/mintNft.test.ts +++ b/tests/src/rmrk/mintNft.test.ts @@ -3,10 +3,14 @@ import {getApiConnection} from '../substrate/substrate-api'; import {getNft} from './util/fetch'; import {expectTxFailure} from './util/helpers'; import {createCollection, mintNft} from './util/tx'; +import {Pallets, requirePallets} from '../util/helpers'; describe('integration test: mint new NFT', () => { let api: any; - before(async () => { api = await getApiConnection(); }); + before(async function() { + api = await getApiConnection(); + await requirePallets(this, [Pallets.RmrkCore]); + }); const alice = '//Alice'; const bob = '//Bob'; diff --git a/tests/src/rmrk/rejectNft.test.ts b/tests/src/rmrk/rejectNft.test.ts index 893866c8b3..4721370a5c 100644 --- a/tests/src/rmrk/rejectNft.test.ts +++ b/tests/src/rmrk/rejectNft.test.ts @@ -8,10 +8,14 @@ import { } from './util/tx'; import {getChildren, NftIdTuple} from './util/fetch'; import {isNftChildOfAnother, expectTxFailure} from './util/helpers'; +import {Pallets, requirePallets} from '../util/helpers'; describe('integration test: reject NFT', () => { let api: any; - before(async () => { api = await getApiConnection(); }); + before(async function() { + api = await getApiConnection(); + await requirePallets(this, [Pallets.RmrkCore]); + }); const alice = '//Alice'; const bob = '//Bob'; diff --git a/tests/src/rmrk/removeResource.test.ts b/tests/src/rmrk/removeResource.test.ts index a76c5da796..7e78e120f0 100644 --- a/tests/src/rmrk/removeResource.test.ts +++ b/tests/src/rmrk/removeResource.test.ts @@ -9,16 +9,17 @@ import { createCollection, mintNft, removeNftResource, sendNft, } from './util/tx'; - +import {Pallets, requirePallets} from '../util/helpers'; describe('Integration test: remove nft resource', () => { let api: any; let ss58Format: string; - before(async () => { + before(async function() { api = await getApiConnection(); ss58Format = api.registry.getChainProperties()!.toJSON().ss58Format; + await requirePallets(this, [Pallets.RmrkCore]); }); const Alice = '//Alice'; diff --git a/tests/src/rmrk/rmrkIsolation.test.ts b/tests/src/rmrk/rmrkIsolation.test.ts index 6ea368e20a..7fa7690a2b 100644 --- a/tests/src/rmrk/rmrkIsolation.test.ts +++ b/tests/src/rmrk/rmrkIsolation.test.ts @@ -11,6 +11,7 @@ import { import {IKeyringPair} from '@polkadot/types/types'; import {ApiPromise} from '@polkadot/api'; import {it} from 'mocha'; +import {Pallets, requirePallets} from '../util/helpers'; let alice: IKeyringPair; let bob: IKeyringPair; @@ -59,7 +60,8 @@ async function isUnique(): Promise { describe('RMRK External Integration Test', async () => { const it_rmrk = (await isUnique() ? it : it.skip); - before(async () => { + before(async function() { + await requirePallets(this, [Pallets.RmrkCore]); await usingApi(async (api, privateKeyWrapper) => { alice = privateKeyWrapper('//Alice'); diff --git a/tests/src/rmrk/sendNft.test.ts b/tests/src/rmrk/sendNft.test.ts index 178b1bccad..78a7c65721 100644 --- a/tests/src/rmrk/sendNft.test.ts +++ b/tests/src/rmrk/sendNft.test.ts @@ -3,10 +3,14 @@ import {getApiConnection} from '../substrate/substrate-api'; import {createCollection, mintNft, sendNft} from './util/tx'; import {NftIdTuple} from './util/fetch'; import {isNftChildOfAnother, expectTxFailure} from './util/helpers'; +import {Pallets, requirePallets} from '../util/helpers'; describe('integration test: send NFT', () => { let api: any; - before(async () => { api = await getApiConnection(); }); + before(async function() { + api = await getApiConnection(); + await requirePallets(this, [Pallets.RmrkCore]); + }); const maxNftId = 0xFFFFFFFF; diff --git a/tests/src/rmrk/setCollectionProperty.test.ts b/tests/src/rmrk/setCollectionProperty.test.ts index 39bafa12fc..f19d5ed382 100644 --- a/tests/src/rmrk/setCollectionProperty.test.ts +++ b/tests/src/rmrk/setCollectionProperty.test.ts @@ -1,14 +1,16 @@ import {getApiConnection} from '../substrate/substrate-api'; import {expectTxFailure} from './util/helpers'; import {createCollection, setPropertyCollection} from './util/tx'; +import {Pallets, requirePallets} from '../util/helpers'; describe('integration test: set collection property', () => { const Alice = '//Alice'; const Bob = '//Bob'; let api: any; - before(async () => { + before(async function() { api = await getApiConnection(); + await requirePallets(this, [Pallets.RmrkCore]); }); it('set collection property', async () => { diff --git a/tests/src/rmrk/setEquippableList.test.ts b/tests/src/rmrk/setEquippableList.test.ts index d36ce98a33..5e6d3a009d 100644 --- a/tests/src/rmrk/setEquippableList.test.ts +++ b/tests/src/rmrk/setEquippableList.test.ts @@ -1,10 +1,14 @@ import {getApiConnection} from '../substrate/substrate-api'; import {expectTxFailure} from './util/helpers'; import {createCollection, createBase, setEquippableList} from './util/tx'; +import {Pallets, requirePallets} from '../util/helpers'; describe("integration test: set slot's Equippable List", () => { let api: any; - before(async () => { api = await getApiConnection(); }); + before(async function() { + api = await getApiConnection(); + await requirePallets(this, [Pallets.RmrkCore]); + }); const alice = '//Alice'; const bob = '//Bob'; diff --git a/tests/src/rmrk/setNftProperty.test.ts b/tests/src/rmrk/setNftProperty.test.ts index b1c8c69b0e..6b2ec7173a 100644 --- a/tests/src/rmrk/setNftProperty.test.ts +++ b/tests/src/rmrk/setNftProperty.test.ts @@ -2,10 +2,14 @@ import {getApiConnection} from '../substrate/substrate-api'; import {NftIdTuple} from './util/fetch'; import {expectTxFailure} from './util/helpers'; import {createCollection, mintNft, sendNft, setNftProperty} from './util/tx'; +import {Pallets, requirePallets} from '../util/helpers'; describe('integration test: set NFT property', () => { let api: any; - before(async () => { api = await getApiConnection(); }); + before(async function() { + api = await getApiConnection(); + await requirePallets(this, [Pallets.RmrkCore]); + }); const alice = '//Alice'; const bob = '//Bob'; diff --git a/tests/src/rmrk/setResourcePriorities.test.ts b/tests/src/rmrk/setResourcePriorities.test.ts index 6f7f1503c7..c425abe68a 100644 --- a/tests/src/rmrk/setResourcePriorities.test.ts +++ b/tests/src/rmrk/setResourcePriorities.test.ts @@ -1,10 +1,14 @@ import {getApiConnection} from '../substrate/substrate-api'; import {expectTxFailure} from './util/helpers'; import {mintNft, createCollection, setResourcePriorities} from './util/tx'; +import {Pallets, requirePallets} from '../util/helpers'; describe('integration test: set NFT resource priorities', () => { let api: any; - before(async () => { api = await getApiConnection(); }); + before(async function() { + api = await getApiConnection(); + await requirePallets(this, [Pallets.RmrkCore]); + }); const alice = '//Alice'; const bob = '//Bob'; diff --git a/tests/src/util/helpers.ts b/tests/src/util/helpers.ts index a2c0ff054f..e6537c5035 100644 --- a/tests/src/util/helpers.ts +++ b/tests/src/util/helpers.ts @@ -28,6 +28,7 @@ import {default as usingApi, executeTransaction, submitTransactionAsync, submitT import {hexToStr, strToUTF16, utf16ToStr} from './util'; import {UpDataStructsRpcCollection, UpDataStructsCreateItemData, UpDataStructsProperty} from '@polkadot/types/lookup'; import {UpDataStructsTokenChild} from '../interfaces'; +import { Context } from 'mocha'; chai.use(chaiAsPromised); const expect = chai.expect; @@ -38,6 +39,66 @@ export type CrossAccountId = { Ethereum: string, }; +export enum Pallets { + Inflation = 'inflation', + RmrkCore = 'rmrkcore', + RmrkEquip = 'rmrkequip', + ReFungible = 'refungible', + Fungible = 'fungible', + NFT = 'nonfungible', + Scheduler = 'scheduler', + AppPromotion = 'apppromotion', +} + +export async function isUnique(): Promise { + return usingApi(async api => { + const chain = await api.rpc.system.chain(); + + return chain.eq('UNIQUE'); + }); +} + +export async function isQuartz(): Promise { + return usingApi(async api => { + const chain = await api.rpc.system.chain(); + + return chain.eq('QUARTZ'); + }); +} + +let modulesNames: any; +export function getModuleNames(api: ApiPromise): string[] { + if (typeof modulesNames === 'undefined') + modulesNames = api.runtimeMetadata.asLatest.pallets.map(m => m.name.toString().toLowerCase()); + return modulesNames; +} + +export async function missingRequiredPallets(requiredPallets: string[]): Promise { + return await usingApi(async api => { + const pallets = getModuleNames(api); + + return requiredPallets.filter(p => !pallets.includes(p)); + }); +} + +export async function checkPalletsPresence(requiredPallets: string[]): Promise { + return (await missingRequiredPallets(requiredPallets)).length == 0; +} + +export async function requirePallets(mocha: Context, requiredPallets: string[]) { + const missingPallets = await missingRequiredPallets(requiredPallets); + + if (missingPallets.length > 0) { + const skippingTestMsg = `\tSkipping test "${mocha.test?.title}".`; + const missingPalletsMsg = `\tThe following pallets are missing:\n\t- ${missingPallets.join('\n\t- ')}`; + const skipMsg = `${skippingTestMsg}\n${missingPalletsMsg}`; + + console.error('\x1b[38:5:208m%s\x1b[0m', skipMsg); + + mocha.skip(); + } +} + export function normalizeAccountId(input: string | AccountId | CrossAccountId | IKeyringPair): CrossAccountId { if (typeof input === 'string') { if (input.length >= 47) { From fad7b76ff8680dbe91718975228b3dc9ca8411ae Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Wed, 5 Oct 2022 10:54:23 +0000 Subject: [PATCH 31/31] fix: skip xcm test --- tests/src/xcmTransfer.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/src/xcmTransfer.test.ts b/tests/src/xcmTransfer.test.ts index dae291f2a4..a1c6c336c8 100644 --- a/tests/src/xcmTransfer.test.ts +++ b/tests/src/xcmTransfer.test.ts @@ -32,7 +32,7 @@ const UNIQUE_CHAIN = 1000; const KARURA_CHAIN = 2000; const KARURA_PORT = '9946'; -describe('Integration test: Exchanging QTZ with Karura', () => { +describe.skip('Integration test: Exchanging QTZ with Karura', () => { let alice: IKeyringPair; before(async () => { @@ -184,4 +184,4 @@ describe('Integration test: Exchanging QTZ with Karura', () => { expect(balanceAfter > balanceBefore).to.be.true; }); }); -}); \ No newline at end of file +});