From b9f5419095b31b64421fef1edea6facea607c915 Mon Sep 17 00:00:00 2001 From: James Wilson Date: Thu, 25 May 2023 10:35:21 +0100 Subject: [PATCH] Introduce Metadata type (#974) * WIP new Metadata type * Finish basic Metadata impl inc hashing and validation * remove caching from metadata; can add that higher up * remove caches * update retain to use Metadata * clippy fixes * update codegen to use Metadata * clippy * WIP fixing subxt lib * WIP fixing tests, rebuild artifacts, fix OrderedMap::retain * get --all-targets compiling * move DispatchError type lookup back to being optional * cargo clippy * fix docs * re-use VariantIndex to get variants * add docs and enforce docs on metadata crate * fix docs * add test and fix docs * cargo fmt * address review comments * update lockfiles * ExactSizeIter so we can ask for len() of things (and hopefully soon is_empty() --- Cargo.lock | 278 +- Cargo.toml | 3 +- artifacts/polkadot_metadata_full.scale | Bin 406034 -> 406078 bytes artifacts/polkadot_metadata_small.scale | Bin 141585 -> 141603 bytes artifacts/polkadot_metadata_tiny.scale | Bin 33895 -> 33913 bytes cli/src/commands/compatibility.rs | 37 +- cli/src/commands/explore/calls.rs | 59 +- cli/src/commands/explore/constants.rs | 39 +- cli/src/commands/explore/mod.rs | 21 +- cli/src/commands/explore/storage.rs | 46 +- cli/src/commands/metadata.rs | 46 +- codegen/src/api/calls.rs | 31 +- codegen/src/api/constants.rs | 23 +- codegen/src/api/errors.rs | 11 +- codegen/src/api/events.rs | 15 +- codegen/src/api/mod.rs | 117 +- codegen/src/api/runtime_apis.rs | 64 +- codegen/src/api/storage.rs | 69 +- codegen/src/lib.rs | 4 +- examples/examples/runtime_apis_dynamic.rs | 3 +- examples/examples/setup_client_offline.rs | 4 +- metadata/Cargo.toml | 9 +- metadata/benches/bench.rs | 80 +- metadata/src/from_into/mod.rs | 82 + metadata/src/from_into/v14.rs | 194 + metadata/src/from_into/v15.rs | 390 + metadata/src/lib.rs | 710 +- metadata/src/utils/mod.rs | 8 + metadata/src/utils/ordered_map.rs | 137 + metadata/src/{ => utils}/retain.rs | 167 +- metadata/src/{ => utils}/validation.rs | 426 +- metadata/src/utils/variant_index.rs | 86 + subxt/Cargo.toml | 1 - subxt/src/blocks/block_types.rs | 2 +- subxt/src/blocks/extrinsic_types.rs | 78 +- subxt/src/book/usage/runtime_apis.rs | 3 +- subxt/src/client/offline_client.rs | 4 +- subxt/src/client/online_client.rs | 29 +- subxt/src/constants/constants_client.rs | 31 +- subxt/src/error/dispatch_error.rs | 48 +- subxt/src/error/mod.rs | 62 +- subxt/src/events/events_type.rs | 73 +- subxt/src/metadata/hash_cache.rs | 92 - subxt/src/metadata/metadata_location.rs | 14 - subxt/src/metadata/metadata_type.rs | 887 +-- subxt/src/metadata/mod.rs | 13 +- subxt/src/rpc/rpc.rs | 12 +- subxt/src/runtime_api/runtime_payload.rs | 78 +- subxt/src/runtime_api/runtime_types.rs | 41 +- subxt/src/storage/storage_address.rs | 28 +- subxt/src/storage/storage_client.rs | 8 +- subxt/src/storage/storage_type.rs | 113 +- subxt/src/tx/tx_client.rs | 18 +- subxt/src/tx/tx_payload.rs | 18 +- testing/integration-tests/src/blocks/mod.rs | 28 +- testing/integration-tests/src/client/mod.rs | 32 +- .../src/codegen/codegen_tests.rs | 3 + .../src/codegen/documentation.rs | 35 +- .../integration-tests/src/codegen/polkadot.rs | 7026 +++++++++-------- .../integration-tests/src/frame/balances.rs | 8 +- .../integration-tests/src/frame/staking.rs | 16 +- .../src/metadata/validation.rs | 134 +- .../src/utils/pallet_metadata_test_runner.rs | 57 +- testing/wasm-tests/Cargo.lock | 386 +- 64 files changed, 6818 insertions(+), 5719 deletions(-) create mode 100644 metadata/src/from_into/mod.rs create mode 100644 metadata/src/from_into/v14.rs create mode 100644 metadata/src/from_into/v15.rs create mode 100644 metadata/src/utils/mod.rs create mode 100644 metadata/src/utils/ordered_map.rs rename metadata/src/{ => utils}/retain.rs (65%) rename metadata/src/{ => utils}/validation.rs (67%) create mode 100644 metadata/src/utils/variant_index.rs delete mode 100644 subxt/src/metadata/hash_cache.rs delete mode 100644 subxt/src/metadata/metadata_location.rs diff --git a/Cargo.lock b/Cargo.lock index 4ee8487cb7..087839b241 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -194,7 +194,7 @@ checksum = "b9ccdd8f2a161be9bd5c023df56f1b2a0bd1d83872ae53b71a84a12c9bf6e842" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] @@ -243,9 +243,9 @@ checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" [[package]] name = "base64" -version = "0.21.0" +version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a4ddaa51a5bc52a6948f74c06d20aaaddb71924eab79b8c97a8c556e942d6a" +checksum = "3f1e31e207a6b8fb791a38ea3105e6cb541f55e4d029902d3039a4ad07cc4105" [[package]] name = "basic-toml" @@ -298,7 +298,7 @@ version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "46502ad458c9a52b69d4d4d32775c788b7a1b85e8bc9d482d92250fc0e3f8efe" dependencies = [ - "digest 0.10.6", + "digest 0.10.7", ] [[package]] @@ -353,9 +353,9 @@ dependencies = [ [[package]] name = "bounded-collections" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3888522b497857eb606bf51695988dba7096941822c1bcf676e3a929a9ae7a0" +checksum = "07fbd1d11282a1eb134d3c3b7cf8ce213b5161c6e5f73fb1b98618482c606b64" dependencies = [ "log", "parity-scale-codec", @@ -371,9 +371,9 @@ checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" [[package]] name = "bumpalo" -version = "3.12.1" +version = "3.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b1ce199063694f33ffb7dd4e0ee620741495c32833cde5aa08f02a0bf96f0c8" +checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1" [[package]] name = "byte-slice-cast" @@ -431,9 +431,9 @@ dependencies = [ [[package]] name = "ciborium" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0c137568cc60b904a7724001b35ce2630fd00d5d84805fbb608ab89509d788f" +checksum = "effd91f6c78e5a4ace8a5d3c0b6bfaec9e2baaef55f3efc00e45fb2e477ee926" dependencies = [ "ciborium-io", "ciborium-ll", @@ -442,15 +442,15 @@ dependencies = [ [[package]] name = "ciborium-io" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "346de753af073cc87b52b2083a506b38ac176a44cfb05497b622e27be899b369" +checksum = "cdf919175532b369853f5d5e20b26b43112613fd6fe7aee757e35f7a44642656" [[package]] name = "ciborium-ll" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "213030a2b5a4e0c0892b6652260cf6ccac84827b83a85a534e178e3906c4cf1b" +checksum = "defaa24ecc093c77630e6c15e17c51f5e187bf35ee514f4e2d67baaa96dae22b" dependencies = [ "ciborium-io", "half", @@ -502,7 +502,7 @@ dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] @@ -529,16 +529,6 @@ dependencies = [ "cc", ] -[[package]] -name = "codespan-reporting" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e" -dependencies = [ - "termcolor", - "unicode-width", -] - [[package]] name = "color-eyre" version = "0.6.2" @@ -781,50 +771,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "cxx" -version = "1.0.94" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f61f1b6389c3fe1c316bf8a4dccc90a38208354b330925bce1f74a6c4756eb93" -dependencies = [ - "cc", - "cxxbridge-flags", - "cxxbridge-macro", - "link-cplusplus", -] - -[[package]] -name = "cxx-build" -version = "1.0.94" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12cee708e8962df2aeb38f594aae5d827c022b6460ac71a7a3e2c3c2aae5a07b" -dependencies = [ - "cc", - "codespan-reporting", - "once_cell", - "proc-macro2", - "quote", - "scratch", - "syn 2.0.15", -] - -[[package]] -name = "cxxbridge-flags" -version = "1.0.94" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7944172ae7e4068c533afbb984114a56c46e9ccddda550499caa222902c7f7bb" - -[[package]] -name = "cxxbridge-macro" -version = "1.0.94" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2345488264226bf682893e25de0769f3360aac9957980ec49361b083ddaa5bc5" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.15", -] - [[package]] name = "darling" version = "0.14.4" @@ -870,7 +816,7 @@ dependencies = [ "proc-macro2", "quote", "strsim", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] @@ -892,7 +838,7 @@ checksum = "29a358ff9f12ec09c3e61fef9b5a9902623a695a46a917b07f269bff1445611a" dependencies = [ "darling_core 0.20.1", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] @@ -943,9 +889,9 @@ dependencies = [ [[package]] name = "digest" -version = "0.10.6" +version = "0.10.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8168378f4e5023e7218c89c891c0fd8ecdb5e5e4f18cb78f38cf245dd021e76f" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ "block-buffer 0.10.4", "crypto-common", @@ -1183,7 +1129,7 @@ checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] @@ -1344,9 +1290,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.3.18" +version = "0.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17f8a914c2987b688368b5138aa05321db91f4090cf26118185672ad588bce21" +checksum = "d357c7ae988e7d2182f7d7871d0b963962420b0678b0997ce7de72001aeab782" dependencies = [ "bytes", "fnv", @@ -1462,7 +1408,7 @@ version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" dependencies = [ - "digest 0.10.6", + "digest 0.10.7", ] [[package]] @@ -1566,12 +1512,11 @@ dependencies = [ [[package]] name = "iana-time-zone-haiku" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0703ae284fc167426161c2e3f1da3ea71d94b21bedbcc9494e92b28e334e3dca" +checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" dependencies = [ - "cxx", - "cxx-build", + "cc", ] [[package]] @@ -1663,7 +1608,7 @@ dependencies = [ "subxt", "subxt-codegen", "subxt-metadata", - "syn 2.0.15", + "syn 2.0.16", "test-runtime", "tokio", "tracing", @@ -1674,9 +1619,9 @@ dependencies = [ [[package]] name = "io-lifetimes" -version = "1.0.10" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c66c74d2ae7e79a5a8f7ac924adbe38ee42a859c6539ad869eb51f0b52dc220" +checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" dependencies = [ "hermit-abi 0.3.1", "libc", @@ -1712,9 +1657,9 @@ checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6" [[package]] name = "js-sys" -version = "0.3.61" +version = "0.3.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "445dde2150c55e483f3d8416706b97ec8e8237c307e5b7b4b8dd15e6af2a0730" +checksum = "2f37a4a5928311ac501dee68b3c7613a1037d0edb30c8e5427bd832d55d1b790" dependencies = [ "wasm-bindgen", ] @@ -1815,9 +1760,9 @@ dependencies = [ [[package]] name = "keccak" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3afef3b6eff9ce9d8ff9b3601125eec7f0c8cbac7abd14f355d053fa56c98768" +checksum = "8f6d5ed8676d904364de097082f4e7d240b571b67989ced0240f08b7f966f940" dependencies = [ "cpufeatures", ] @@ -1830,15 +1775,15 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.142" +version = "0.2.144" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a987beff54b60ffa6d51982e1aa1146bc42f19bd26be28b0586f252fccf5317" +checksum = "2b00cc1c228a6782d0f076e7b232802e0c5689d41bb5df366f2a6b6621cfdfe1" [[package]] name = "libm" -version = "0.2.6" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "348108ab3fba42ec82ff6e9564fc4ca0247bdccdc68dd8af9764bbc79c3c8ffb" +checksum = "f7012b1bbb0719e1097c47611d3898568c546d597c2e74d66f6087edd5233ff4" [[package]] name = "libsecp256k1" @@ -1888,15 +1833,6 @@ dependencies = [ "libsecp256k1-core", ] -[[package]] -name = "link-cplusplus" -version = "1.0.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ecd207c9c713c34f95a097a5b029ac2ce6010530c7b49d7fea24d977dede04f5" -dependencies = [ - "cc", -] - [[package]] name = "linux-raw-sys" version = "0.1.4" @@ -1905,9 +1841,9 @@ checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" [[package]] name = "linux-raw-sys" -version = "0.3.7" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ece97ea872ece730aed82664c424eb4c8291e1ff2480247ccf7409044bc6479f" +checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" [[package]] name = "lock_api" @@ -2185,9 +2121,9 @@ checksum = "c1b04fb49957986fdce4d6ee7a65027d55d4b6d2265e5848bbb507b58ccfdb6f" [[package]] name = "parity-scale-codec" -version = "3.4.0" +version = "3.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "637935964ff85a605d114591d4d2c13c5d1ba2806dae97cea6bf180238a749ac" +checksum = "5ddb756ca205bd108aee3c62c6d3c994e1df84a59b9d6d4a5ea42ee1fd5a9a28" dependencies = [ "arrayvec 0.7.2", "bitvec", @@ -2260,7 +2196,7 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" dependencies = [ - "digest 0.10.6", + "digest 0.10.7", ] [[package]] @@ -2271,22 +2207,22 @@ checksum = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e" [[package]] name = "pin-project" -version = "1.0.12" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad29a609b6bcd67fee905812e544992d216af9d755757c05ed2d0e15a74c6ecc" +checksum = "c95a7476719eab1e366eaf73d0260af3021184f18177925b07f54b30089ceead" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.0.12" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "069bdb1e05adc7a8990dce9cc75370895fbe4e3d58b9b73bf1aee56359344a55" +checksum = "39407670928234ebc5e6e580247dd567ad73a3578460c5990f9503df207e8f07" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.16", ] [[package]] @@ -2546,18 +2482,18 @@ checksum = "8d2275aab483050ab2a7364c1a46604865ee7d6906684e08db0f090acf74f9e7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] name = "regex" -version = "1.8.1" +version = "1.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af83e617f331cc6ae2da5443c602dfa5af81e517212d9d611a5b3ba1777b5370" +checksum = "d1a59b5d8e97dee33696bf13c5ba8ab85341c002922fba050069326b9c498974" dependencies = [ "aho-corasick", "memchr", - "regex-syntax 0.7.1", + "regex-syntax 0.7.2", ] [[package]] @@ -2577,9 +2513,9 @@ checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" [[package]] name = "regex-syntax" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5996294f19bd3aae0453a862ad728f60e6600695733dd5df01da90c54363a3c" +checksum = "436b050e76ed2903236f032a59761c1eb99e1b0aead2c257922771dab1fc8c78" [[package]] name = "ring" @@ -2616,9 +2552,9 @@ checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6" [[package]] name = "rustix" -version = "0.36.13" +version = "0.36.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a38f9520be93aba504e8ca974197f46158de5dcaa9fa04b57c57cd6a679d658" +checksum = "14e4d67015953998ad0eb82887a0eb0129e18a7e2f3b7b0f6c422fddcd503d62" dependencies = [ "bitflags", "errno", @@ -2638,7 +2574,7 @@ dependencies = [ "errno", "io-lifetimes", "libc", - "linux-raw-sys 0.3.7", + "linux-raw-sys 0.3.8", "windows-sys 0.48.0", ] @@ -2672,7 +2608,7 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d194b56d58803a43635bdc398cd17e383d6f71f9182b9a192c127ca42494a59b" dependencies = [ - "base64 0.21.0", + "base64 0.21.1", ] [[package]] @@ -2849,12 +2785,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" -[[package]] -name = "scratch" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1792db035ce95be60c3f8853017b3999209281c24e2ba5bc8e59bf97a0c590c1" - [[package]] name = "sct" version = "0.7.0" @@ -2894,9 +2824,9 @@ dependencies = [ [[package]] name = "security-framework" -version = "2.8.2" +version = "2.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a332be01508d814fed64bf28f798a146d73792121129962fdf335bb3c49a4254" +checksum = "1fc758eb7bffce5b308734e9b0c1468893cae9ff70ebf13e7090be8dcbcc83a8" dependencies = [ "bitflags", "core-foundation", @@ -2907,9 +2837,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.8.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31c9bb296072e961fcbd8853511dd39c2d8be2deb1e17c6860b1d30732b323b4" +checksum = "f51d0c0d83bec45f16480d0ce0058397a69e48fcdc52d1dc8855fb68acbd31a7" dependencies = [ "core-foundation-sys", "libc", @@ -2938,7 +2868,7 @@ checksum = "8c805777e3930c8883389c602315a24224bcc738b63905ef87cd1420353ea93e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] @@ -2998,16 +2928,16 @@ checksum = "82e6b795fe2e3b1e845bafcb27aa35405c4d47cdfc92af5fc8d3002f76cebdc0" dependencies = [ "cfg-if", "cpufeatures", - "digest 0.10.6", + "digest 0.10.7", ] [[package]] name = "sha3" -version = "0.10.7" +version = "0.10.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54c2bb1a323307527314a36bfb73f24febb08ce2b8a554bf4ffd6f51ad15198c" +checksum = "75872d278a8f37ef87fa0ddbda7802605cb18344497949862c0d4dcb291eba60" dependencies = [ - "digest 0.10.6", + "digest 0.10.7", "keccak", ] @@ -3147,7 +3077,7 @@ checksum = "27449abdfbe41b473e625bce8113745e81d65777dd1d5a8462cf24137930dad8" dependencies = [ "blake2b_simd", "byteorder", - "digest 0.10.6", + "digest 0.10.7", "sha2 0.10.6", "sha3", "sp-std", @@ -3550,7 +3480,6 @@ dependencies = [ "impl-serde", "jsonrpsee", "parity-scale-codec", - "parking_lot", "primitive-types", "scale-bits", "scale-decode", @@ -3588,7 +3517,7 @@ dependencies = [ "subxt", "subxt-codegen", "subxt-metadata", - "syn 2.0.15", + "syn 2.0.16", "tokio", ] @@ -3607,7 +3536,7 @@ dependencies = [ "quote", "scale-info", "subxt-metadata", - "syn 2.0.15", + "syn 2.0.16", "thiserror", "tokio", ] @@ -3630,7 +3559,7 @@ dependencies = [ "darling 0.20.1", "proc-macro-error", "subxt-codegen", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] @@ -3643,6 +3572,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-core-hashing", + "thiserror", ] [[package]] @@ -3658,9 +3588,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.15" +version = "2.0.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a34fcf3e8b60f57e6a14301a2e916d323af98b0ea63c599441eec8558660c822" +checksum = "a6f671d4b5ffdb8eadec19c0ae67fe2639df8684bd7bc4b83d986b8db549cf01" dependencies = [ "proc-macro2", "quote", @@ -3726,7 +3656,7 @@ checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] @@ -3808,7 +3738,7 @@ checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] @@ -3839,15 +3769,15 @@ dependencies = [ [[package]] name = "toml_datetime" -version = "0.6.1" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ab8ed2edee10b50132aed5f331333428b011c99402b5a534154ed15746f9622" +checksum = "5a76a9312f5ba4c2dec6b9161fdf25d87ad8a09256ccea5a556fef03c706a10f" [[package]] name = "toml_edit" -version = "0.19.8" +version = "0.19.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "239410c8609e8125456927e6707163a3b1fdb40561e4b803bc041f466ccfdc13" +checksum = "2380d56e8670370eee6566b0bfd4265f65b3f432e8c6d85623f728d4fa31f739" dependencies = [ "indexmap", "toml_datetime", @@ -3880,14 +3810,14 @@ checksum = "0f57e3ca2a01450b1a921183a9c9cbfda207fd822cef4ccb00a65402cbba7a74" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] name = "tracing-core" -version = "0.1.30" +version = "0.1.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24eb03ba0eab1fd845050058ce5e616558e8f8d8fca633e6b163fe25c797213a" +checksum = "0955b8137a1df6f1a2e9a37d8a6656291ff0297c1a97c24e0d8425fe2312f79a" dependencies = [ "once_cell", "valuable", @@ -4010,7 +3940,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ "cfg-if", - "digest 0.10.6", + "digest 0.10.7", "rand 0.8.5", "static_assertions", ] @@ -4066,12 +3996,6 @@ dependencies = [ "tinyvec", ] -[[package]] -name = "unicode-width" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" - [[package]] name = "unicode-xid" version = "0.2.4" @@ -4170,9 +4094,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.84" +version = "0.2.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31f8dcbc21f30d9b8f2ea926ecb58f6b91192c17e9d33594b3df58b2007ca53b" +checksum = "5bba0e8cb82ba49ff4e229459ff22a191bbe9a1cb3a341610c9c33efc27ddf73" dependencies = [ "cfg-if", "wasm-bindgen-macro", @@ -4180,24 +4104,24 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.84" +version = "0.2.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95ce90fd5bcc06af55a641a86428ee4229e44e07033963a2290a8e241607ccb9" +checksum = "19b04bc93f9d6bdee709f6bd2118f57dd6679cf1176a1af464fca3ab0d66d8fb" dependencies = [ "bumpalo", "log", "once_cell", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.16", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.34" +version = "0.4.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f219e0d211ba40266969f6dbdd90636da12f75bee4fc9d6c23d1260dadb51454" +checksum = "2d1985d03709c53167ce907ff394f5316aa22cb4e12761295c5dc57dacb6297e" dependencies = [ "cfg-if", "js-sys", @@ -4207,9 +4131,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.84" +version = "0.2.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c21f77c0bedc37fd5dc21f897894a5ca01e7bb159884559461862ae90c0b4c5" +checksum = "14d6b024f1a526bb0234f52840389927257beb670610081360e5a03c5df9c258" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -4217,22 +4141,22 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.84" +version = "0.2.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2aff81306fcac3c7515ad4e177f521b5c9a15f2b08f4e32d823066102f35a5f6" +checksum = "e128beba882dd1eb6200e1dc92ae6c5dbaa4311aa7bb211ca035779e5efc39f8" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.16", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.84" +version = "0.2.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0046fef7e28c3804e5e38bfa31ea2a0f73905319b677e57ebe37e49358989b5d" +checksum = "ed9d5b4305409d1fc9482fee2d7f9bcbf24b3972bf59817ef757e23982242a93" [[package]] name = "wasmi" @@ -4390,7 +4314,7 @@ dependencies = [ "memoffset 0.6.5", "paste", "rand 0.8.5", - "rustix 0.36.13", + "rustix 0.36.14", "wasmtime-asm-macros", "wasmtime-environ", "wasmtime-jit-debug", @@ -4411,9 +4335,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.61" +version = "0.3.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e33b99f4b23ba3eec1a53ac264e35a755f00e966e0065077d6027c0f575b0b97" +checksum = "3bdd9ef4e984da1187bf8110c5cf5b845fbc87a23602cdf912386a76fcd3a7c2" dependencies = [ "js-sys", "wasm-bindgen", @@ -4683,5 +4607,5 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] diff --git a/Cargo.toml b/Cargo.toml index 3d547d15e5..0928ad06fe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -48,9 +48,9 @@ hex = "0.4.3" heck = "0.4.1" impl-serde = { version = "0.4.0" } jsonrpsee = { version = "0.16" } -parking_lot = "0.12.0" pretty_assertions = "1.0.0" primitive-types = { version = "0.12.1", default-features = false, features = ["codec", "scale-info", "serde"] } +proc-macro-error = "1.0.4" proc-macro2 = "1.0.58" quote = "1.0.27" regex = "1.8.1" @@ -68,7 +68,6 @@ tracing = "0.1.34" tracing-wasm = "0.2.1" tracing-subscriber = "0.3.17" trybuild = "1.0.79" -proc-macro-error = "1.0.4" wabt = "0.10.0" wasm-bindgen-test = "0.3.24" which = "4.4.0" diff --git a/artifacts/polkadot_metadata_full.scale b/artifacts/polkadot_metadata_full.scale index d85b0defd7a432aad368e9d433b363ebf1a3842e..b6be3b8f751dafdb19afcbdd19532225e001f1c2 100644 GIT binary patch delta 98 zcmbRAL}K3)i48mgj24@D1y~pbErRm%OZ@Un9CLE=%TrSrc$)u35c12m}R@NAZt@HBg^zp$^#q diff --git a/artifacts/polkadot_metadata_small.scale b/artifacts/polkadot_metadata_small.scale index fba6da3a21005daff0eff1e1080bd6f59c9d4b30..3adf33c93a84cfb1baf4d1984612f6987661107e 100644 GIT binary patch delta 47 zcmbPuiDU64jtv29j24>%*;p6_ErRm%OZ@Un9CLE=%TrSrc$-7m+e6qHw}-GZ?NtN- Dd`=GC delta 29 lcmZ2{iDTj=jtv29j3%1{*;p8x)7jh8*%`N|voq~c1OS;62_66d diff --git a/artifacts/polkadot_metadata_tiny.scale b/artifacts/polkadot_metadata_tiny.scale index bb0ead8d79ce85203acedebb709b24da21dfa376..c4a9bb285c513dd1f15365682c102c7558c440c1 100644 GIT binary patch delta 39 vcmaFf!Su6(X+sYaqs8W4CKg6Pi=h1c62JTs$DEw}^3)Ut-pv!3uQvbyA4(2G delta 21 dcmey_!SuX?X+sYaqsiu8CKkrci { - let hash = get_pallet_hash(&metadata.types, pallet_metadata); + let hash = pallet_metadata.hash(); let hex_hash = hex::encode(hash); println!("Node {node:?} has pallet metadata hash {hex_hash:?}"); @@ -97,7 +94,7 @@ async fn handle_full_metadata(nodes: &[Uri], version: MetadataVersion) -> color_ let mut compatibility_map: HashMap> = HashMap::new(); for node in nodes.iter() { let metadata = fetch_runtime_metadata(node, version).await?; - let hash = MetadataHasher::new().hash(&metadata); + let hash = metadata.hasher().hash(); let hex_hash = hex::encode(hash); println!("Node {node:?} has metadata hash {hex_hash:?}",); @@ -119,26 +116,8 @@ async fn handle_full_metadata(nodes: &[Uri], version: MetadataVersion) -> color_ async fn fetch_runtime_metadata( url: &Uri, version: MetadataVersion, -) -> color_eyre::Result { +) -> color_eyre::Result { let bytes = subxt_codegen::utils::fetch_metadata_bytes(url, version).await?; - - let metadata = ::decode(&mut &bytes[..])?; - if metadata.0 != META_RESERVED { - return Err(eyre::eyre!( - "Node {:?} has invalid metadata prefix: {:?} expected prefix: {:?}", - url, - metadata.0, - META_RESERVED - )); - } - - match metadata.1 { - RuntimeMetadata::V14(v14) => Ok(metadata_v14_to_latest(v14)), - RuntimeMetadata::V15(v15) => Ok(v15), - _ => Err(eyre::eyre!( - "Node {:?} with unsupported metadata version: {:?}", - url, - metadata.1 - )), - } + let metadata = Metadata::decode(&mut &bytes[..])?; + Ok(metadata) } diff --git a/cli/src/commands/explore/calls.rs b/cli/src/commands/explore/calls.rs index 14e37f79fa..b605309192 100644 --- a/cli/src/commands/explore/calls.rs +++ b/cli/src/commands/explore/calls.rs @@ -1,22 +1,23 @@ -use crate::utils::type_description::print_type_description; -use crate::utils::type_example::print_type_examples; -use crate::utils::with_indent; use clap::Args; - -use std::fmt::Write; -use std::str::FromStr; -use std::write; - use color_eyre::eyre::eyre; -use frame_metadata::v15::PalletMetadata; - use scale_info::form::PortableForm; use scale_info::{PortableRegistry, Type, TypeDef, TypeDefVariant}; use scale_value::{Composite, ValueDef}; +use std::fmt::Write; +use std::str::FromStr; +use std::write; use subxt::tx; use subxt::utils::H256; -use subxt::{config::SubstrateConfig, Metadata, OfflineClient}; +use subxt::{ + config::SubstrateConfig, + metadata::{types::PalletMetadata, Metadata}, + OfflineClient, +}; + +use crate::utils::type_description::print_type_description; +use crate::utils::type_example::print_type_examples; +use crate::utils::with_indent; #[derive(Debug, Clone, Args)] pub struct CallsSubcommand { @@ -28,13 +29,13 @@ pub struct CallsSubcommand { pub(crate) fn explore_calls( command: CallsSubcommand, metadata: &Metadata, - pallet_metadata: &PalletMetadata, + pallet_metadata: PalletMetadata, ) -> color_eyre::Result<()> { - let pallet_name = pallet_metadata.name.as_str(); + let pallet_name = pallet_metadata.name(); // get the enum that stores the possible calls: let (calls_enum_type_def, _calls_enum_type) = - get_calls_enum_type(pallet_metadata, &metadata.runtime_metadata().types)?; + get_calls_enum_type(pallet_metadata, metadata.types())?; // if no call specified, show user the calls to choose from: let Some(call_name) = command.call else { @@ -55,14 +56,9 @@ pub(crate) fn explore_calls( // if no trailing arguments specified show user the expected type of arguments with examples: if trailing_args.is_empty() { - let mut type_description = - print_type_description(&call.fields, &metadata.runtime_metadata().types)?; + let mut type_description = print_type_description(&call.fields, metadata.types())?; type_description = with_indent(type_description, 4); - let mut type_examples = print_type_examples( - &call.fields, - &metadata.runtime_metadata().types, - "SCALE_VALUE", - )?; + let mut type_examples = print_type_examples(&call.fields, metadata.types(), "SCALE_VALUE")?; type_examples = with_indent(type_examples, 4); let mut output = String::new(); write!(output, "Usage:\n subxt explore {pallet_name} calls {call_name} \n construct the call by providing a valid argument\n\n")?; @@ -102,22 +98,19 @@ fn print_available_calls(pallet_calls: &TypeDefVariant, pallet_nam } fn get_calls_enum_type<'a>( - pallet: &'a frame_metadata::v15::PalletMetadata, + pallet: PalletMetadata, registry: &'a PortableRegistry, ) -> color_eyre::Result<(&'a TypeDefVariant, &'a Type)> { - let calls = pallet - .calls - .as_ref() - .ok_or(eyre!("The \"{}\" pallet has no calls.", pallet.name))?; + let call_ty = pallet + .call_ty_id() + .ok_or(eyre!("The \"{}\" pallet has no calls.", pallet.name()))?; let calls_enum_type = registry - .resolve(calls.ty.id) - .ok_or(eyre!("calls type with id {} not found.", calls.ty.id))?; + .resolve(call_ty) + .ok_or(eyre!("calls type with id {} not found.", call_ty))?; + // should always be a variant type, where each variant corresponds to one call. - let calls_enum_type_def = match &calls_enum_type.type_def { - TypeDef::Variant(variant) => variant, - _ => { - return Err(eyre!("calls type is not a variant")); - } + let TypeDef::Variant(calls_enum_type_def) = &calls_enum_type.type_def else { + return Err(eyre!("calls type is not a variant")); }; Ok((calls_enum_type_def, calls_enum_type)) } diff --git a/cli/src/commands/explore/constants.rs b/cli/src/commands/explore/constants.rs index 36c3c32ea1..21b8969037 100644 --- a/cli/src/commands/explore/constants.rs +++ b/cli/src/commands/explore/constants.rs @@ -1,16 +1,11 @@ -use crate::utils::type_description::print_type_description; -use crate::utils::{print_docs_with_indent, with_indent}; use clap::Args; - +use color_eyre::eyre::eyre; use std::fmt::Write; use std::write; +use subxt::metadata::{types::PalletMetadata, Metadata}; -use color_eyre::eyre::eyre; -use frame_metadata::v15::PalletMetadata; - -use scale_info::form::PortableForm; - -use subxt::Metadata; +use crate::utils::type_description::print_type_description; +use crate::utils::{print_docs_with_indent, with_indent}; #[derive(Debug, Clone, Args)] pub struct ConstantsSubcommand { @@ -20,9 +15,9 @@ pub struct ConstantsSubcommand { pub(crate) fn explore_constants( command: ConstantsSubcommand, metadata: &Metadata, - pallet_metadata: &PalletMetadata, + pallet_metadata: PalletMetadata, ) -> color_eyre::Result<()> { - let pallet_name = pallet_metadata.name.as_str(); + let pallet_name = pallet_metadata.name(); let Some(constant_name) = command.constant else { let available_constants = print_available_constants(pallet_metadata, pallet_name); println!("Usage:\n subxt explore {pallet_name} constants \n explore a specific call within this pallet\n\n{available_constants}", ); @@ -30,7 +25,7 @@ pub(crate) fn explore_constants( }; // if specified constant is wrong, show user the constants to choose from (but this time as an error): - let Some(constant) = pallet_metadata.constants.iter().find(|constant| constant.name.to_lowercase() == constant_name.to_lowercase()) else { + let Some(constant) = pallet_metadata.constants().find(|constant| constant.name().to_lowercase() == constant_name.to_lowercase()) else { let available_constants = print_available_constants(pallet_metadata, pallet_name); let description = format!("Usage:\n subxt explore {pallet_name} constants \n explore a specific call within this pallet\n\n{available_constants}", ); let err = eyre!("constant \"{constant_name}\" not found in \"{pallet_name}\" pallet!\n\n{description}"); @@ -39,13 +34,13 @@ pub(crate) fn explore_constants( // docs let mut output = String::new(); - let doc_string = print_docs_with_indent(&constant.docs, 4); + let doc_string = print_docs_with_indent(constant.docs(), 4); if !doc_string.is_empty() { write!(output, "Description:\n{doc_string}")?; } // shape - let mut type_description = print_type_description(&constant.ty.id, metadata.types())?; + let mut type_description = print_type_description(&constant.ty(), metadata.types())?; type_description = with_indent(type_description, 4); write!( output, @@ -53,11 +48,8 @@ pub(crate) fn explore_constants( )?; // value - let scale_val = scale_value::scale::decode_as_type( - &mut &constant.value[..], - constant.ty.id, - metadata.types(), - )?; + let scale_val = + scale_value::scale::decode_as_type(&mut constant.value(), constant.ty(), metadata.types())?; write!( output, "\n\nThe value of the constant is:\n {}", @@ -68,15 +60,12 @@ pub(crate) fn explore_constants( Ok(()) } -fn print_available_constants( - pallet_metadata: &PalletMetadata, - pallet_name: &str, -) -> String { - if pallet_metadata.constants.is_empty() { +fn print_available_constants(pallet_metadata: PalletMetadata, pallet_name: &str) -> String { + if pallet_metadata.constants().len() == 0 { return format!("No 's available in the \"{pallet_name}\" pallet."); } let mut output = format!("Available 's in the \"{pallet_name}\" pallet:"); - let mut strings: Vec<_> = pallet_metadata.constants.iter().map(|c| &c.name).collect(); + let mut strings: Vec<_> = pallet_metadata.constants().map(|c| c.name()).collect(); strings.sort(); for constant in strings { output.push_str("\n "); diff --git a/cli/src/commands/explore/mod.rs b/cli/src/commands/explore/mod.rs index c35cf01f89..269c719531 100644 --- a/cli/src/commands/explore/mod.rs +++ b/cli/src/commands/explore/mod.rs @@ -7,10 +7,6 @@ use std::write; use codec::Decode; use color_eyre::eyre::eyre; -use frame_metadata::v15::RuntimeMetadataV15; -use frame_metadata::RuntimeMetadataPrefixed; - -use syn::__private::str; use crate::commands::explore::calls::{explore_calls, CallsSubcommand}; use crate::commands::explore::constants::{explore_constants, ConstantsSubcommand}; @@ -89,24 +85,23 @@ pub enum PalletSubcommand { pub async fn run(opts: Opts) -> color_eyre::Result<()> { // get the metadata let bytes = opts.file_or_url.fetch().await?; - let metadata_prefixed = ::decode(&mut &bytes[..])?; - let metadata = Metadata::try_from(metadata_prefixed)?; + let metadata = Metadata::decode(&mut &bytes[..])?; // if no pallet specified, show user the pallets to choose from: let Some(pallet_name) = opts.pallet else { - let available_pallets = print_available_pallets(metadata.runtime_metadata()); + let available_pallets = print_available_pallets(&metadata); println!("Usage:\n subxt explore \n explore a specific pallet\n\n{available_pallets}", ); return Ok(()); }; // if specified pallet is wrong, show user the pallets to choose from (but this time as an error): - let Some(pallet_metadata) = metadata.runtime_metadata().pallets.iter().find(|pallet| pallet.name.to_lowercase() == pallet_name.to_lowercase())else { - return Err(eyre!("pallet \"{}\" not found in metadata!\n{}", pallet_name, print_available_pallets(metadata.runtime_metadata()))); + let Some(pallet_metadata) = metadata.pallets().find(|pallet| pallet.name().to_lowercase() == pallet_name.to_lowercase()) else { + return Err(eyre!("pallet \"{}\" not found in metadata!\n{}", pallet_name, print_available_pallets(&metadata))); }; // if correct pallet was specified but no subcommand, instruct the user how to proceed: let Some(pallet_subcomand) = opts.pallet_subcommand else { - let docs_string = print_docs_with_indent(&pallet_metadata.docs, 4); + let docs_string = print_docs_with_indent(pallet_metadata.docs(), 4); let mut output = String::new(); if !docs_string.is_empty() { write!(output, "Description:\n{docs_string}")?; @@ -132,12 +127,12 @@ pub async fn run(opts: Opts) -> color_eyre::Result<()> { } } -fn print_available_pallets(metadata_v15: &RuntimeMetadataV15) -> String { - if metadata_v15.pallets.is_empty() { +fn print_available_pallets(metadata: &Metadata) -> String { + if metadata.pallets().len() == 0 { "There are no values available.".to_string() } else { let mut output = "Available values are:".to_string(); - let mut strings: Vec<_> = metadata_v15.pallets.iter().map(|p| &p.name).collect(); + let mut strings: Vec<_> = metadata.pallets().map(|p| p.name()).collect(); strings.sort(); for pallet in strings { write!(output, "\n {}", pallet).unwrap(); diff --git a/cli/src/commands/explore/storage.rs b/cli/src/commands/explore/storage.rs index e942e6d8e9..22609d9116 100644 --- a/cli/src/commands/explore/storage.rs +++ b/cli/src/commands/explore/storage.rs @@ -1,18 +1,20 @@ -use crate::utils::type_description::print_type_description; -use crate::utils::type_example::print_type_examples; -use crate::utils::{print_docs_with_indent, with_indent}; use clap::Args; - +use color_eyre::eyre::eyre; use std::fmt::Write; use std::write; -use color_eyre::eyre::eyre; -use frame_metadata::v15::{PalletMetadata, PalletStorageMetadata, StorageEntryType}; - -use scale_info::form::PortableForm; - use subxt::OnlineClient; -use subxt::{config::SubstrateConfig, Metadata}; +use subxt::{ + config::SubstrateConfig, + metadata::{ + types::{PalletMetadata, StorageEntryType, StorageMetadata}, + Metadata, + }, +}; + +use crate::utils::type_description::print_type_description; +use crate::utils::type_example::print_type_examples; +use crate::utils::{print_docs_with_indent, with_indent}; #[derive(Debug, Clone, Args)] pub struct StorageSubcommand { @@ -24,14 +26,14 @@ pub struct StorageSubcommand { pub(crate) async fn explore_storage( command: StorageSubcommand, metadata: &Metadata, - pallet_metadata: &PalletMetadata, + pallet_metadata: PalletMetadata<'_>, custom_online_client_url: Option, ) -> color_eyre::Result<()> { - let pallet_name = pallet_metadata.name.as_str(); + let pallet_name = pallet_metadata.name(); let trailing_args = command.trailing_args.join(" "); let trailing_args = trailing_args.trim(); - let Some(storage_metadata) = &pallet_metadata.storage else { + let Some(storage_metadata) = pallet_metadata.storage() else { println!("The \"{pallet_name}\" pallet has no storage entries."); return Ok(()); }; @@ -44,15 +46,17 @@ pub(crate) async fn explore_storage( }; // if specified call storage entry wrong, show user the storage entries to choose from (but this time as an error): - let Some(storage) = storage_metadata.entries.iter().find(|entry| entry.name.to_lowercase() == entry_name.to_lowercase()) else { + let Some(storage) = storage_metadata.entries().find(|entry| entry.name().to_lowercase() == entry_name.to_lowercase()) else { let storage_entries = print_available_storage_entries(storage_metadata, pallet_name); let description = format!("Usage:\n subxt explore {pallet_name} storage \n view details for a specific storage entry\n\n{storage_entries}"); return Err(eyre!("Storage entry \"{entry_name}\" not found in \"{pallet_name}\" pallet!\n\n{description}")); }; - let (return_ty_id, key_ty_id) = match storage.ty { - StorageEntryType::Plain(value) => (value.id, None), - StorageEntryType::Map { value, key, .. } => (value.id, Some(key.id)), + let (return_ty_id, key_ty_id) = match storage.entry_type() { + StorageEntryType::Plain(value) => (*value, None), + StorageEntryType::Map { + value_ty, key_ty, .. + } => (*value_ty, Some(*key_ty)), }; // get the type and type description for the return and key type: @@ -66,7 +70,7 @@ pub(crate) async fn explore_storage( )?; } - let docs_string = print_docs_with_indent(&storage.docs, 4); + let docs_string = print_docs_with_indent(storage.docs(), 4); if !docs_string.is_empty() { write!(output, "Description:\n{docs_string}")?; } @@ -156,17 +160,17 @@ pub(crate) async fn explore_storage( } fn print_available_storage_entries( - storage_metadata: &PalletStorageMetadata, + storage_metadata: &StorageMetadata, pallet_name: &str, ) -> String { - if storage_metadata.entries.is_empty() { + if storage_metadata.entries().len() == 0 { format!("No 's available in the \"{pallet_name}\" pallet.") } else { let mut output = format!( "Available 's in the \"{}\" pallet:", pallet_name ); - let mut strings: Vec<_> = storage_metadata.entries.iter().map(|s| &s.name).collect(); + let mut strings: Vec<_> = storage_metadata.entries().map(|s| s.name()).collect(); strings.sort(); for entry in strings { write!(output, "\n {}", entry).unwrap(); diff --git a/cli/src/commands/metadata.rs b/cli/src/commands/metadata.rs index 56c92986f1..337f04150c 100644 --- a/cli/src/commands/metadata.rs +++ b/cli/src/commands/metadata.rs @@ -5,10 +5,10 @@ use crate::utils::FileOrUrl; use clap::Parser as ClapParser; use codec::{Decode, Encode}; -use color_eyre::eyre; -use frame_metadata::{RuntimeMetadata, RuntimeMetadataPrefixed}; +use color_eyre::eyre::{self, bail}; +use frame_metadata::{v15::RuntimeMetadataV15, RuntimeMetadata, RuntimeMetadataPrefixed}; use std::io::{self, Write}; -use subxt_metadata::{metadata_v14_to_latest, retain_metadata}; +use subxt_metadata::Metadata; /// Download metadata from a substrate node, for use with `subxt` codegen. #[derive(Debug, ClapParser)] @@ -36,19 +36,19 @@ pub struct Opts { pub async fn run(opts: Opts) -> color_eyre::Result<()> { let bytes = opts.file_or_url.fetch().await?; - let mut metadata = ::decode(&mut &bytes[..])?; + let mut metadata = RuntimeMetadataPrefixed::decode(&mut &bytes[..])?; + + let version = match &metadata.1 { + RuntimeMetadata::V14(_) => Version::V14, + RuntimeMetadata::V15(_) => Version::V15, + _ => Version::Unknown, + }; if opts.pallets.is_some() || opts.runtime_apis.is_some() { - let mut metadata_v15 = match metadata.1 { - RuntimeMetadata::V14(metadata_v14) => metadata_v14_to_latest(metadata_v14), - RuntimeMetadata::V15(metadata_v15) => metadata_v15, - _ => { - return Err(eyre::eyre!( - "Unsupported metadata version {:?}, expected V14.", - metadata.1 - )); - } - }; + // convert to internal type: + let mut md = Metadata::try_from(metadata)?; + + // retain pallets and/or runtime APIs given: let retain_pallets_fn: Box bool> = match opts.pallets.as_ref() { Some(pallets) => Box::new(|name| pallets.iter().any(|p| &**p == name)), None => Box::new(|_| true), @@ -57,8 +57,16 @@ pub async fn run(opts: Opts) -> color_eyre::Result<()> { Some(apis) => Box::new(|name| apis.iter().any(|p| &**p == name)), None => Box::new(|_| true), }; - retain_metadata(&mut metadata_v15, retain_pallets_fn, retain_runtime_apis_fn); - metadata = metadata_v15.into(); + md.retain(retain_pallets_fn, retain_runtime_apis_fn); + + // Convert back to wire format, preserving version: + metadata = match version { + Version::V14 => RuntimeMetadataV15::from(md).into(), + Version::V15 => RuntimeMetadataV15::from(md).into(), + Version::Unknown => { + bail!("Unsupported metadata version; V14 or V15 metadata is expected.") + } + } } match opts.format.as_str() { @@ -82,3 +90,9 @@ pub async fn run(opts: Opts) -> color_eyre::Result<()> { )), } } + +enum Version { + V14, + V15, + Unknown, +} diff --git a/codegen/src/api/calls.rs b/codegen/src/api/calls.rs index 23b579ed89..4282973f51 100644 --- a/codegen/src/api/calls.rs +++ b/codegen/src/api/calls.rs @@ -7,11 +7,10 @@ use crate::{ types::{CompositeDefFields, TypeGenerator}, CratePath, }; -use frame_metadata::v15::{PalletMetadata, RuntimeMetadataV15}; use heck::{ToSnakeCase as _, ToUpperCamelCase as _}; use proc_macro2::TokenStream as TokenStream2; use quote::{format_ident, quote}; -use scale_info::form::PortableForm; +use subxt_metadata::PalletMetadata; /// Generate calls from the provided pallet's metadata. Each call returns a `StaticTxPayload` /// that can be passed to the subxt client to submit/sign/encode. @@ -23,21 +22,20 @@ use scale_info::form::PortableForm; /// - `pallet` - Pallet metadata from which the calls are generated. /// - `types_mod_ident` - The ident of the base module that we can use to access the generated types from. pub fn generate_calls( - metadata: &RuntimeMetadataV15, type_gen: &TypeGenerator, - pallet: &PalletMetadata, + pallet: &PalletMetadata, types_mod_ident: &syn::Ident, crate_path: &CratePath, should_gen_docs: bool, ) -> Result { // Early return if the pallet has no calls. - let Some(call) = &pallet.calls else { + let Some(call_ty) = pallet.call_ty_id() else { return Ok(quote!()); }; let mut struct_defs = super::generate_structs_from_variants( type_gen, - call.ty.id, + call_ty, |name| name.to_upper_camel_case().into(), "Call", crate_path, @@ -61,20 +59,19 @@ pub fn generate_calls( .unzip(), CompositeDefFields::NoFields => Default::default(), CompositeDefFields::Unnamed(_) => { - return Err(CodegenError::InvalidCallVariant(call.ty.id)) + return Err(CodegenError::InvalidCallVariant(call_ty)) } }; - let pallet_name = &pallet.name; + let pallet_name = pallet.name(); let call_name = &variant_name; let struct_name = &struct_def.name; - let Ok(call_hash) = - subxt_metadata::get_call_hash(metadata, pallet_name, call_name) else { - return Err(CodegenError::MissingCallMetadata( - pallet_name.into(), - call_name.to_string(), - )) - }; + let Some(call_hash) = pallet.call_hash(call_name) else { + return Err(CodegenError::MissingCallMetadata( + pallet_name.into(), + call_name.to_string(), + )) + }; let fn_name = format_ident!("{}", variant_name.to_snake_case()); // Propagate the documentation just to `TransactionApi` methods, while // draining the documentation of inner call structures. @@ -111,8 +108,8 @@ pub fn generate_calls( .into_iter() .unzip(); - let call_type = type_gen.resolve_type_path(call.ty.id); - let call_ty = type_gen.resolve_type(call.ty.id); + let call_type = type_gen.resolve_type_path(call_ty); + let call_ty = type_gen.resolve_type(call_ty); let docs = &call_ty.docs; let docs = should_gen_docs .then_some(quote! { #( #[doc = #docs ] )* }) diff --git a/codegen/src/api/constants.rs b/codegen/src/api/constants.rs index c08745e826..f176644a00 100644 --- a/codegen/src/api/constants.rs +++ b/codegen/src/api/constants.rs @@ -3,11 +3,10 @@ // see LICENSE for license details. use crate::{types::TypeGenerator, CratePath}; -use frame_metadata::v15::{PalletMetadata, RuntimeMetadataV15}; use heck::ToSnakeCase as _; use proc_macro2::TokenStream as TokenStream2; use quote::{format_ident, quote}; -use scale_info::form::PortableForm; +use subxt_metadata::PalletMetadata; use super::CodegenError; @@ -35,29 +34,27 @@ use super::CodegenError; /// - `pallet` - Pallet metadata from which the calls are generated. /// - `types_mod_ident` - The ident of the base module that we can use to access the generated types from. pub fn generate_constants( - metadata: &RuntimeMetadataV15, type_gen: &TypeGenerator, - pallet: &PalletMetadata, + pallet: &PalletMetadata, types_mod_ident: &syn::Ident, crate_path: &CratePath, should_gen_docs: bool, ) -> Result { // Early return if the pallet has no constants. - if pallet.constants.is_empty() { + if pallet.constants().len() == 0 { return Ok(quote!()); } - let constants = &pallet.constants; - let constant_fns = constants.iter().map(|constant| { - let fn_name = format_ident!("{}", constant.name.to_snake_case()); - let pallet_name = &pallet.name; - let constant_name = &constant.name; - let Ok(constant_hash) = subxt_metadata::get_constant_hash(metadata, pallet_name, constant_name) else { + let constant_fns = pallet.constants().map(|constant| { + let fn_name = format_ident!("{}", constant.name().to_snake_case()); + let pallet_name = pallet.name(); + let constant_name = constant.name(); + let Some(constant_hash) = pallet.constant_hash(constant_name) else { return Err(CodegenError::MissingConstantMetadata(constant_name.into(), pallet_name.into())); }; - let return_ty = type_gen.resolve_type_path(constant.ty.id); - let docs = &constant.docs; + let return_ty = type_gen.resolve_type_path(constant.ty()); + let docs = constant.docs(); let docs = should_gen_docs .then_some(quote! { #( #[doc = #docs ] )* }) .unwrap_or_default(); diff --git a/codegen/src/api/errors.rs b/codegen/src/api/errors.rs index 0722c8e9a8..6a7503699e 100644 --- a/codegen/src/api/errors.rs +++ b/codegen/src/api/errors.rs @@ -2,10 +2,9 @@ // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. -use frame_metadata::v15::PalletMetadata; use proc_macro2::TokenStream as TokenStream2; use quote::quote; -use scale_info::form::PortableForm; +use subxt_metadata::PalletMetadata; use crate::types::TypeGenerator; @@ -14,15 +13,15 @@ use super::CodegenError; /// Generate error type alias from the provided pallet metadata. pub fn generate_error_type_alias( type_gen: &TypeGenerator, - pallet: &PalletMetadata, + pallet: &PalletMetadata, should_gen_docs: bool, ) -> Result { - let Some(error) = &pallet.error else { + let Some(error_ty) = pallet.error_ty_id() else { return Ok(quote!()); }; - let error_type = type_gen.resolve_type_path(error.ty.id); - let error_ty = type_gen.resolve_type(error.ty.id); + let error_type = type_gen.resolve_type_path(error_ty); + let error_ty = type_gen.resolve_type(error_ty); let docs = &error_ty.docs; let docs = should_gen_docs .then_some(quote! { #( #[doc = #docs ] )* }) diff --git a/codegen/src/api/events.rs b/codegen/src/api/events.rs index 01f46e989d..1ef54452b5 100644 --- a/codegen/src/api/events.rs +++ b/codegen/src/api/events.rs @@ -3,10 +3,9 @@ // see LICENSE for license details. use crate::{types::TypeGenerator, CratePath}; -use frame_metadata::v15::PalletMetadata; use proc_macro2::TokenStream as TokenStream2; use quote::quote; -use scale_info::form::PortableForm; +use subxt_metadata::PalletMetadata; use super::CodegenError; @@ -41,19 +40,19 @@ use super::CodegenError; /// - `types_mod_ident` - The ident of the base module that we can use to access the generated types from. pub fn generate_events( type_gen: &TypeGenerator, - pallet: &PalletMetadata, + pallet: &PalletMetadata, types_mod_ident: &syn::Ident, crate_path: &CratePath, should_gen_docs: bool, ) -> Result { // Early return if the pallet has no events. - let Some(event) = &pallet.event else { + let Some(event_ty) = pallet.event_ty_id() else { return Ok(quote!()) }; let struct_defs = super::generate_structs_from_variants( type_gen, - event.ty.id, + event_ty, |name| name.into(), "Event", crate_path, @@ -61,7 +60,7 @@ pub fn generate_events( )?; let event_structs = struct_defs.iter().map(|(variant_name, struct_def)| { - let pallet_name = &pallet.name; + let pallet_name = pallet.name(); let event_struct = &struct_def.name; let event_name = variant_name; @@ -74,8 +73,8 @@ pub fn generate_events( } } }); - let event_type = type_gen.resolve_type_path(event.ty.id); - let event_ty = type_gen.resolve_type(event.ty.id); + let event_type = type_gen.resolve_type_path(event_ty); + let event_ty = type_gen.resolve_type(event_ty); let docs = &event_ty.docs; let docs = should_gen_docs .then_some(quote! { #( #[doc = #docs ] )* }) diff --git a/codegen/src/api/mod.rs b/codegen/src/api/mod.rs index 17a0b8a7ac..4dc5cb33ac 100644 --- a/codegen/src/api/mod.rs +++ b/codegen/src/api/mod.rs @@ -11,8 +11,7 @@ mod events; mod runtime_apis; mod storage; -use frame_metadata::v15::RuntimeMetadataV15; -use subxt_metadata::{metadata_v14_to_latest, MetadataHasher}; +use subxt_metadata::Metadata; use super::DerivesRegistry; use crate::error::CodegenError; @@ -23,7 +22,6 @@ use crate::{ CratePath, }; use codec::Decode; -use frame_metadata::{RuntimeMetadata, RuntimeMetadataPrefixed}; use heck::ToSnakeCase as _; use proc_macro2::TokenStream as TokenStream2; use quote::{format_ident, quote}; @@ -135,7 +133,7 @@ pub fn generate_runtime_api_from_bytes( should_gen_docs: bool, runtime_types_only: bool, ) -> Result { - let metadata = frame_metadata::RuntimeMetadataPrefixed::decode(&mut &bytes[..])?; + let metadata = Metadata::decode(&mut &bytes[..])?; let generator = RuntimeGenerator::new(metadata); if runtime_types_only { @@ -159,7 +157,7 @@ pub fn generate_runtime_api_from_bytes( /// Create the API for interacting with a Substrate runtime. pub struct RuntimeGenerator { - metadata: RuntimeMetadataV15, + metadata: Metadata, } impl RuntimeGenerator { @@ -174,15 +172,8 @@ impl RuntimeGenerator { /// Panics if the runtime metadata version is not supported. /// /// Supported versions: v14 and v15. - pub fn new(metadata: RuntimeMetadataPrefixed) -> Self { - let mut metadata = match metadata.1 { - RuntimeMetadata::V14(v14) => metadata_v14_to_latest(v14), - RuntimeMetadata::V15(v15) => v15, - _ => panic!("Unsupported metadata version {:?}", metadata.1), - }; - + pub fn new(mut metadata: Metadata) -> Self { Self::ensure_unique_type_paths(&mut metadata); - RuntimeGenerator { metadata } } @@ -190,9 +181,9 @@ impl RuntimeGenerator { /// unique path, so that types with matching paths don't end up overwriting each other /// in the codegen. We ignore any types with generics; Subxt actually endeavours to /// de-duplicate those into single types with a generic. - fn ensure_unique_type_paths(metadata: &mut RuntimeMetadataV15) { + fn ensure_unique_type_paths(metadata: &mut Metadata) { let mut visited_path_counts = HashMap::, usize>::new(); - for ty in &mut metadata.types.types { + for ty in metadata.types_mut().types.iter_mut() { // Ignore types without a path (ie prelude types). if ty.ty.path.namespace().is_empty() { continue; @@ -249,7 +240,7 @@ impl RuntimeGenerator { let rust_items = item_mod_ir.rust_items(); let type_gen = TypeGenerator::new( - &self.metadata.types, + self.metadata.types(), "runtime_types", type_substitutes, derives, @@ -300,7 +291,7 @@ impl RuntimeGenerator { let default_derives = derives.default_derives(); let type_gen = TypeGenerator::new( - &self.metadata.types, + self.metadata.types(), "runtime_types", type_substitutes, derives.clone(), @@ -311,12 +302,11 @@ impl RuntimeGenerator { let types_mod_ident = types_mod.ident(); let pallets_with_mod_names = self .metadata - .pallets - .iter() + .pallets() .map(|pallet| { ( pallet, - format_ident!("{}", pallet.name.to_string().to_snake_case()), + format_ident!("{}", pallet.name().to_string().to_snake_case()), ) }) .collect::>(); @@ -326,21 +316,21 @@ impl RuntimeGenerator { // validation of just those pallets. let pallet_names: Vec<_> = self .metadata - .pallets - .iter() - .map(|pallet| &pallet.name) + .pallets() + .map(|pallet| pallet.name()) .collect(); let pallet_names_len = pallet_names.len(); - let metadata_hash = MetadataHasher::new() + let metadata_hash = self + .metadata + .hasher() .only_these_pallets(&pallet_names) - .hash(&self.metadata); + .hash(); let modules = pallets_with_mod_names .iter() .map(|(pallet, mod_name)| { let calls = calls::generate_calls( - &self.metadata, &type_gen, pallet, types_mod_ident, @@ -357,7 +347,6 @@ impl RuntimeGenerator { )?; let storage_mod = storage::generate_storage( - &self.metadata, &type_gen, pallet, types_mod_ident, @@ -366,7 +355,6 @@ impl RuntimeGenerator { )?; let constants_mod = constants::generate_constants( - &self.metadata, &type_gen, pallet, types_mod_ident, @@ -390,12 +378,12 @@ impl RuntimeGenerator { }) .collect::, CodegenError>>()?; - let outer_event_variants = self.metadata.pallets.iter().filter_map(|p| { - let variant_name = format_ident!("{}", p.name); - let mod_name = format_ident!("{}", p.name.to_string().to_snake_case()); - let index = proc_macro2::Literal::u8_unsuffixed(p.index); + let outer_event_variants = self.metadata.pallets().filter_map(|p| { + let variant_name = format_ident!("{}", p.name()); + let mod_name = format_ident!("{}", p.name().to_string().to_snake_case()); + let index = proc_macro2::Literal::u8_unsuffixed(p.index()); - p.event.as_ref().map(|_| { + p.event_ty_id().map(|_| { quote! { #[codec(index = #index)] #variant_name(#mod_name::Event), @@ -410,12 +398,12 @@ impl RuntimeGenerator { } }; - let outer_extrinsic_variants = self.metadata.pallets.iter().filter_map(|p| { - let variant_name = format_ident!("{}", p.name); - let mod_name = format_ident!("{}", p.name.to_string().to_snake_case()); - let index = proc_macro2::Literal::u8_unsuffixed(p.index); + let outer_extrinsic_variants = self.metadata.pallets().filter_map(|p| { + let variant_name = format_ident!("{}", p.name()); + let mod_name = format_ident!("{}", p.name().to_string().to_snake_case()); + let index = proc_macro2::Literal::u8_unsuffixed(p.index()); - p.calls.as_ref().map(|_| { + p.call_ty_id().map(|_| { quote! { #[codec(index = #index)] #variant_name(#mod_name::Call), @@ -430,11 +418,12 @@ impl RuntimeGenerator { } }; - let root_event_if_arms = self.metadata.pallets.iter().filter_map(|p| { - let variant_name_str = &p.name; + let root_event_if_arms = self.metadata.pallets().filter_map(|p| { + let variant_name_str = &p.name(); let variant_name = format_ident!("{}", variant_name_str); let mod_name = format_ident!("{}", variant_name_str.to_string().to_snake_case()); - p.event.as_ref().map(|_| { + + p.event_ty_id().map(|_| { // An 'if' arm for the RootEvent impl to match this variant name: quote! { if pallet_name == #variant_name_str { @@ -448,11 +437,11 @@ impl RuntimeGenerator { }) }); - let root_extrinsic_if_arms = self.metadata.pallets.iter().filter_map(|p| { - let variant_name_str = &p.name; + let root_extrinsic_if_arms = self.metadata.pallets().filter_map(|p| { + let variant_name_str = p.name(); let variant_name = format_ident!("{}", variant_name_str); let mod_name = format_ident!("{}", variant_name_str.to_string().to_snake_case()); - p.calls.as_ref().map(|_| { + p.call_ty_id().map(|_| { // An 'if' arm for the RootExtrinsic impl to match this variant name: quote! { if pallet_name == #variant_name_str { @@ -466,12 +455,12 @@ impl RuntimeGenerator { }) }); - let outer_error_variants = self.metadata.pallets.iter().filter_map(|p| { - let variant_name = format_ident!("{}", p.name); - let mod_name = format_ident!("{}", p.name.to_string().to_snake_case()); - let index = proc_macro2::Literal::u8_unsuffixed(p.index); + let outer_error_variants = self.metadata.pallets().filter_map(|p| { + let variant_name = format_ident!("{}", p.name()); + let mod_name = format_ident!("{}", p.name().to_string().to_snake_case()); + let index = proc_macro2::Literal::u8_unsuffixed(p.index()); - p.error.as_ref().map(|_| { + p.error_ty_id().map(|_| { quote! { #[codec(index = #index)] #variant_name(#mod_name::Error), @@ -486,41 +475,41 @@ impl RuntimeGenerator { } }; - let root_error_if_arms = self.metadata.pallets.iter().filter_map(|p| { - let variant_name_str = &p.name; + let root_error_if_arms = self.metadata.pallets().filter_map(|p| { + let variant_name_str = &p.name(); let variant_name = format_ident!("{}", variant_name_str); let mod_name = format_ident!("{}", variant_name_str.to_string().to_snake_case()); - p.error.as_ref().map(|err| - { - let type_id = err.ty.id; - quote! { + + p.error_ty_id().map(|type_id| { + quote! { if pallet_name == #variant_name_str { let variant_error = #mod_name::Error::decode_with_metadata(cursor, #type_id, metadata)?; return Ok(Error::#variant_name(variant_error)); } } - } - ) + }) }); let mod_ident = &item_mod_ir.ident; let pallets_with_constants: Vec<_> = pallets_with_mod_names .iter() .filter_map(|(pallet, pallet_mod_name)| { - (!pallet.constants.is_empty()).then_some(pallet_mod_name) + pallet + .constants() + .next() + .is_some() + .then_some(pallet_mod_name) }) .collect(); let pallets_with_storage: Vec<_> = pallets_with_mod_names .iter() - .filter_map(|(pallet, pallet_mod_name)| { - pallet.storage.as_ref().map(|_| pallet_mod_name) - }) + .filter_map(|(pallet, pallet_mod_name)| pallet.storage().map(|_| pallet_mod_name)) .collect(); let pallets_with_calls: Vec<_> = pallets_with_mod_names .iter() - .filter_map(|(pallet, pallet_mod_name)| pallet.calls.as_ref().map(|_| pallet_mod_name)) + .filter_map(|(pallet, pallet_mod_name)| pallet.call_ty_id().map(|_| pallet_mod_name)) .collect(); let rust_items = item_mod_ir.rust_items(); @@ -632,9 +621,9 @@ impl RuntimeGenerator { /// check whether the Client you are using is aligned with the statically generated codegen. pub fn validate_codegen>(client: &C) -> Result<(), #crate_path::error::MetadataError> { - let runtime_metadata_hash = client.metadata().metadata_hash(&PALLETS); + let runtime_metadata_hash = client.metadata().hasher().only_these_pallets(&PALLETS).hash(); if runtime_metadata_hash != [ #(#metadata_hash,)* ] { - Err(#crate_path::error::MetadataError::IncompatibleMetadata) + Err(#crate_path::error::MetadataError::IncompatibleCodegen) } else { Ok(()) } diff --git a/codegen/src/api/runtime_apis.rs b/codegen/src/api/runtime_apis.rs index 3b96ad4397..9c3e548736 100644 --- a/codegen/src/api/runtime_apis.rs +++ b/codegen/src/api/runtime_apis.rs @@ -3,45 +3,42 @@ // see LICENSE for license details. use crate::{types::TypeGenerator, CodegenError, CratePath}; -use frame_metadata::v15::{RuntimeApiMetadata, RuntimeMetadataV15}; use heck::ToSnakeCase as _; use heck::ToUpperCamelCase as _; +use subxt_metadata::{Metadata, RuntimeApiMetadata}; use proc_macro2::TokenStream as TokenStream2; use quote::{format_ident, quote}; -use scale_info::form::PortableForm; /// Generates runtime functions for the given API metadata. fn generate_runtime_api( - metadata: &RuntimeMetadataV15, - api: &RuntimeApiMetadata, + api: RuntimeApiMetadata, type_gen: &TypeGenerator, types_mod_ident: &syn::Ident, crate_path: &CratePath, should_gen_docs: bool, ) -> Result<(TokenStream2, TokenStream2), CodegenError> { // Trait name must remain as is (upper case) to identity the runtime call. - let trait_name = &api.name; + let trait_name_str = api.name(); // The snake case for the trait name. - let trait_name_snake = format_ident!("{}", api.name.to_snake_case()); - let docs = &api.docs; + let trait_name_snake = format_ident!("{}", api.name().to_snake_case()); + let docs = api.docs(); let docs: TokenStream2 = should_gen_docs .then_some(quote! { #( #[doc = #docs ] )* }) .unwrap_or_default(); - let structs_and_methods: Vec<_> = api.methods.iter().map(|method| { - let method_name = format_ident!("{}", method.name); + let structs_and_methods: Vec<_> = api.methods().map(|method| { + let method_name = format_ident!("{}", method.name()); + let method_name_str = method.name(); - // Runtime function name is `TraitName_MethodName`. - let runtime_fn_name = format!("{}_{}", trait_name, method_name); - let docs = &method.docs; + let docs = method.docs(); let docs: TokenStream2 = should_gen_docs .then_some(quote! { #( #[doc = #docs ] )* }) .unwrap_or_default(); - let inputs: Vec<_> = method.inputs.iter().map(|input| { + let inputs: Vec<_> = method.inputs().map(|input| { let name = format_ident!("{}", &input.name); - let ty = type_gen.resolve_type_path(input.ty.id); + let ty = type_gen.resolve_type_path(input.ty); let param = quote!(#name: #ty); (param, name) @@ -54,7 +51,7 @@ fn generate_runtime_api( // all parameter types. This structure is used with metadata // to encode parameters to the call via `encode_as_fields_to`. let derives = type_gen.default_derives(); - let struct_name = format_ident!("{}", method.name.to_upper_camel_case()); + let struct_name = format_ident!("{}", method.name().to_upper_camel_case()); let struct_params = params.clone(); let struct_input = quote!( #derives @@ -63,21 +60,21 @@ fn generate_runtime_api( } ); - let output = type_gen.resolve_type_path(method.output.id); + let output = type_gen.resolve_type_path(method.output_ty()); - let Ok(call_hash) = - subxt_metadata::get_runtime_api_hash(metadata, trait_name, &method.name) else { - return Err(CodegenError::MissingRuntimeApiMetadata( - trait_name.into(), - method.name.clone(), - )) - }; + let Some(call_hash) = api.method_hash(method.name()) else { + return Err(CodegenError::MissingRuntimeApiMetadata( + trait_name_str.to_owned(), + method_name_str.to_owned(), + )) + }; let method = quote!( #docs pub fn #method_name(&self, #( #params, )* ) -> #crate_path::runtime_api::Payload { #crate_path::runtime_api::Payload::new_static( - #runtime_fn_name, + #trait_name_str, + #method_name_str, types::#struct_name { #( #param_names, )* }, [#(#call_hash,)*], ) @@ -87,7 +84,7 @@ fn generate_runtime_api( Ok((struct_input, method)) }).collect::>()?; - let trait_name = format_ident!("{}", trait_name); + let trait_name = format_ident!("{}", trait_name_str); let structs = structs_and_methods.iter().map(|(struct_, _)| struct_); let methods = structs_and_methods.iter().map(|(_, method)| method); @@ -124,25 +121,16 @@ fn generate_runtime_api( /// Generate the runtime APIs. pub fn generate_runtime_apis( - metadata: &RuntimeMetadataV15, + metadata: &Metadata, type_gen: &TypeGenerator, types_mod_ident: &syn::Ident, crate_path: &CratePath, should_gen_docs: bool, ) -> Result { - let apis = &metadata.apis; - - let runtime_fns: Vec<_> = apis - .iter() + let runtime_fns: Vec<_> = metadata + .runtime_api_traits() .map(|api| { - generate_runtime_api( - metadata, - api, - type_gen, - types_mod_ident, - crate_path, - should_gen_docs, - ) + generate_runtime_api(api, type_gen, types_mod_ident, crate_path, should_gen_docs) }) .collect::>()?; diff --git a/codegen/src/api/storage.rs b/codegen/src/api/storage.rs index 058730db43..ca432082e8 100644 --- a/codegen/src/api/storage.rs +++ b/codegen/src/api/storage.rs @@ -3,14 +3,13 @@ // see LICENSE for license details. use crate::{types::TypeGenerator, CratePath}; -use frame_metadata::v15::{ - PalletMetadata, RuntimeMetadataV15, StorageEntryMetadata, StorageEntryModifier, - StorageEntryType, -}; use heck::ToSnakeCase as _; use proc_macro2::TokenStream as TokenStream2; use quote::{format_ident, quote}; -use scale_info::{form::PortableForm, TypeDef}; +use scale_info::TypeDef; +use subxt_metadata::{ + PalletMetadata, StorageEntryMetadata, StorageEntryModifier, StorageEntryType, +}; use super::CodegenError; @@ -24,29 +23,20 @@ use super::CodegenError; /// - `pallet` - Pallet metadata from which the storages are generated. /// - `types_mod_ident` - The ident of the base module that we can use to access the generated types from. pub fn generate_storage( - metadata: &RuntimeMetadataV15, type_gen: &TypeGenerator, - pallet: &PalletMetadata, + pallet: &PalletMetadata, types_mod_ident: &syn::Ident, crate_path: &CratePath, should_gen_docs: bool, ) -> Result { - let Some(storage) = &pallet.storage else { + let Some(storage) = pallet.storage() else { return Ok(quote!()) }; let storage_fns = storage - .entries - .iter() + .entries() .map(|entry| { - generate_storage_entry_fns( - metadata, - type_gen, - pallet, - entry, - crate_path, - should_gen_docs, - ) + generate_storage_entry_fns(type_gen, pallet, entry, crate_path, should_gen_docs) }) .collect::, CodegenError>>()?; @@ -64,18 +54,16 @@ pub fn generate_storage( } fn generate_storage_entry_fns( - metadata: &RuntimeMetadataV15, type_gen: &TypeGenerator, - pallet: &PalletMetadata, - storage_entry: &StorageEntryMetadata, + pallet: &PalletMetadata, + storage_entry: &StorageEntryMetadata, crate_path: &CratePath, should_gen_docs: bool, ) -> Result { - let (fields, key_impl) = match &storage_entry.ty { + let (fields, key_impl) = match storage_entry.entry_type() { StorageEntryType::Plain(_) => (vec![], quote!(vec![])), - StorageEntryType::Map { key, .. } => { - let key_ty = type_gen.resolve_type(key.id); - match &key_ty.type_def { + StorageEntryType::Map { key_ty, .. } => { + match &type_gen.resolve_type(*key_ty).type_def { // An N-map; return each of the keys separately. TypeDef::Tuple(tuple) => { let fields = tuple @@ -102,7 +90,7 @@ fn generate_storage_entry_fns( } // A map with a single key; return the single key. _ => { - let ty_path = type_gen.resolve_type_path(key.id); + let ty_path = type_gen.resolve_type_path(*key_ty); let fields = vec![(format_ident!("_0"), ty_path)]; let key_impl = quote! { vec![ #crate_path::storage::address::make_static_storage_map_key(_0.borrow()) ] @@ -113,21 +101,20 @@ fn generate_storage_entry_fns( } }; - let pallet_name = &pallet.name; - let storage_name = &storage_entry.name; - let storage_hash = subxt_metadata::get_storage_hash(metadata, pallet_name, storage_name) - .map_err(|_| { - CodegenError::MissingStorageMetadata(pallet_name.into(), storage_name.into()) - })?; - - let fn_name = format_ident!("{}", storage_entry.name.to_snake_case()); - let storage_entry_ty = match storage_entry.ty { - StorageEntryType::Plain(ref ty) => ty, - StorageEntryType::Map { ref value, .. } => value, + let pallet_name = pallet.name(); + let storage_name = storage_entry.name(); + let Some(storage_hash) = pallet.storage_hash(storage_name) else { + return Err(CodegenError::MissingStorageMetadata(pallet_name.into(), storage_name.into())) + }; + + let fn_name = format_ident!("{}", storage_entry.name().to_snake_case()); + let storage_entry_ty = match storage_entry.entry_type() { + StorageEntryType::Plain(ty) => *ty, + StorageEntryType::Map { value_ty, .. } => *value_ty, }; - let storage_entry_value_ty = type_gen.resolve_type_path(storage_entry_ty.id); + let storage_entry_value_ty = type_gen.resolve_type_path(storage_entry_ty); - let docs = &storage_entry.docs; + let docs = storage_entry.docs(); let docs = should_gen_docs .then_some(quote! { #( #[doc = #docs ] )* }) .unwrap_or_default(); @@ -145,7 +132,7 @@ fn generate_storage_entry_fns( quote!( #field_name: impl ::std::borrow::Borrow<#field_ty> ) }); - let is_map_type = matches!(storage_entry.ty, StorageEntryType::Map { .. }); + let is_map_type = matches!(storage_entry.entry_type(), StorageEntryType::Map { .. }); // Is the entry iterable? let is_iterable_type = if is_map_type { @@ -154,7 +141,7 @@ fn generate_storage_entry_fns( quote!(()) }; - let has_default_value = match storage_entry.modifier { + let has_default_value = match storage_entry.modifier() { StorageEntryModifier::Default => true, StorageEntryModifier::Optional => false, }; diff --git a/codegen/src/lib.rs b/codegen/src/lib.rs index 39d0f826b5..2719c106a6 100644 --- a/codegen/src/lib.rs +++ b/codegen/src/lib.rs @@ -20,13 +20,13 @@ //! ```no_run //! use std::fs; //! use codec::Decode; -//! use frame_metadata::RuntimeMetadataPrefixed; +//! use subxt_metadata::Metadata; //! use subxt_codegen::{CratePath, DerivesRegistry, TypeSubstitutes}; //! //! let encoded = fs::read("../artifacts/polkadot_metadata_full.scale").unwrap(); //! //! // Runtime metadata obtained from a node. -//! let metadata = ::decode(&mut &*encoded).unwrap(); +//! let metadata = Metadata::decode(&mut &*encoded).unwrap(); //! // Module under which the API is generated. //! let item_mod = syn::parse_quote!( //! pub mod api {} diff --git a/examples/examples/runtime_apis_dynamic.rs b/examples/examples/runtime_apis_dynamic.rs index bc2690bcf0..85bcf2f07e 100644 --- a/examples/examples/runtime_apis_dynamic.rs +++ b/examples/examples/runtime_apis_dynamic.rs @@ -14,7 +14,8 @@ async fn main() -> Result<(), Box> { // `AccountNonceApi_account_nonce` function. let account = AccountKeyring::Alice.to_account_id(); let runtime_api_call = subxt::dynamic::runtime_api_call( - "AccountNonceApi_account_nonce", + "AccountNonceApi", + "account_nonce", vec![Value::from_bytes(account)], ); diff --git a/examples/examples/setup_client_offline.rs b/examples/examples/setup_client_offline.rs index f6fbb77ba8..10c606e3ce 100644 --- a/examples/examples/setup_client_offline.rs +++ b/examples/examples/setup_client_offline.rs @@ -1,5 +1,4 @@ use subxt::ext::codec::Decode; -use subxt::ext::frame_metadata::RuntimeMetadataPrefixed; use subxt::metadata::Metadata; use subxt::utils::H256; use subxt::{config::PolkadotConfig, OfflineClient}; @@ -26,8 +25,7 @@ async fn main() -> Result<(), Box> { // `subxt metadata > file.scale` to download it): let metadata = { let bytes = std::fs::read("./artifacts/polkadot_metadata_small.scale").unwrap(); - let metadata = RuntimeMetadataPrefixed::decode(&mut &*bytes).unwrap(); - Metadata::try_from(metadata).unwrap() + Metadata::decode(&mut &*bytes).unwrap() }; // Create an offline client using the details obtained above: diff --git a/metadata/Cargo.toml b/metadata/Cargo.toml index e78223927e..2024466d12 100644 --- a/metadata/Cargo.toml +++ b/metadata/Cargo.toml @@ -14,10 +14,11 @@ homepage.workspace = true description = "Command line utilities for checking metadata compatibility between nodes." [dependencies] -codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } -frame-metadata = { version = "15.1.0", features = ["v14", "v15-unstable", "std"] } -scale-info = "2.7.0" -sp-core-hashing = "8.0.0" +codec = { package = "parity-scale-codec", workspace = true, features = ["derive"] } +frame-metadata = { workspace = true } +scale-info = { workspace = true } +sp-core-hashing = { workspace = true } +thiserror = { workspace = true } [dev-dependencies] bitvec = { workspace = true, features = ["alloc"] } diff --git a/metadata/benches/bench.rs b/metadata/benches/bench.rs index ff208517ce..5ec58a8daf 100644 --- a/metadata/benches/bench.rs +++ b/metadata/benches/bench.rs @@ -4,73 +4,39 @@ use codec::Decode; use criterion::*; -use frame_metadata::{v15::RuntimeMetadataV15, RuntimeMetadata, RuntimeMetadataPrefixed}; -use scale_info::{form::PortableForm, TypeDef, TypeDefVariant}; +use frame_metadata::{RuntimeMetadata, RuntimeMetadataPrefixed}; use std::{fs, path::Path}; -use subxt_metadata::{ - get_call_hash, get_constant_hash, get_pallet_hash, get_storage_hash, metadata_v14_to_latest, - MetadataHasher, -}; +use subxt_metadata::Metadata; -fn load_metadata() -> RuntimeMetadataV15 { +fn load_metadata() -> Metadata { let bytes = fs::read(Path::new("../artifacts/polkadot_metadata_full.scale")) .expect("Cannot read metadata blob"); let meta: RuntimeMetadataPrefixed = Decode::decode(&mut &*bytes).expect("Cannot decode scale metadata"); match meta.1 { - RuntimeMetadata::V14(v14) => metadata_v14_to_latest(v14), - RuntimeMetadata::V15(v15) => v15, + RuntimeMetadata::V14(v14) => v14.try_into().unwrap(), + RuntimeMetadata::V15(v15) => v15.try_into().unwrap(), _ => panic!("Unsupported metadata version {:?}", meta.1), } } -fn expect_variant(def: &TypeDef) -> &TypeDefVariant { - match def { - TypeDef::Variant(variant) => variant, - _ => panic!("Expected a variant type, got {def:?}"), - } -} - fn bench_get_metadata_hash(c: &mut Criterion) { let metadata = load_metadata(); - c.bench_function("get_metadata_hash", |b| { - b.iter(|| MetadataHasher::new().hash(&metadata)) - }); -} - -fn bench_get_pallet_hash(c: &mut Criterion) { - let metadata = load_metadata(); - let mut group = c.benchmark_group("get_pallet_hash"); - - for pallet in metadata.pallets.iter() { - let pallet_name = &pallet.name; - group.bench_function(pallet_name, |b| { - b.iter(|| get_pallet_hash(&metadata.types, pallet)) - }); - } + c.bench_function("get_metadata_hash", |b| b.iter(|| metadata.hasher().hash())); } fn bench_get_call_hash(c: &mut Criterion) { let metadata = load_metadata(); let mut group = c.benchmark_group("get_call_hash"); - for pallet in metadata.pallets.iter() { - let pallet_name = &pallet.name; - let call_type_id = match &pallet.calls { - Some(calls) => calls.ty.id, - None => continue, - }; - let call_type = metadata.types.resolve(call_type_id).unwrap(); - let variants = expect_variant(&call_type.type_def); - - for variant in &variants.variants { + for pallet in metadata.pallets() { + let pallet_name = pallet.name(); + for variant in pallet.call_variants().unwrap() { let call_name = &variant.name; let bench_name = format!("{pallet_name}/{call_name}"); - group.bench_function(&bench_name, |b| { - b.iter(|| get_call_hash(&metadata, &pallet.name, call_name)) - }); + group.bench_function(&bench_name, |b| b.iter(|| pallet.call_hash(call_name))); } } } @@ -79,13 +45,13 @@ fn bench_get_constant_hash(c: &mut Criterion) { let metadata = load_metadata(); let mut group = c.benchmark_group("get_constant_hash"); - for pallet in metadata.pallets.iter() { - let pallet_name = &pallet.name; - for constant in &pallet.constants { - let constant_name = &constant.name; + for pallet in metadata.pallets() { + let pallet_name = pallet.name(); + for constant in pallet.constants() { + let constant_name = constant.name(); let bench_name = format!("{pallet_name}/{constant_name}"); group.bench_function(&bench_name, |b| { - b.iter(|| get_constant_hash(&metadata, &pallet.name, constant_name)) + b.iter(|| pallet.constant_hash(constant_name)) }); } } @@ -95,18 +61,17 @@ fn bench_get_storage_hash(c: &mut Criterion) { let metadata = load_metadata(); let mut group = c.benchmark_group("get_storage_hash"); - for pallet in metadata.pallets.iter() { - let pallet_name = &pallet.name; - let storage_entries = match &pallet.storage { - Some(storage) => &storage.entries, - None => continue, + for pallet in metadata.pallets() { + let pallet_name = pallet.name(); + let Some(storage_entries) = pallet.storage() else { + continue; }; - for storage in storage_entries { - let storage_name = &storage.name; + for storage in storage_entries.entries() { + let storage_name = storage.name(); let bench_name = format!("{pallet_name}/{storage_name}"); group.bench_function(&bench_name, |b| { - b.iter(|| get_storage_hash(&metadata, &pallet.name, storage_name)) + b.iter(|| pallet.storage_hash(storage_name)) }); } } @@ -117,7 +82,6 @@ criterion_group!( config = Criterion::default(); targets = bench_get_metadata_hash, - bench_get_pallet_hash, bench_get_call_hash, bench_get_constant_hash, bench_get_storage_hash, diff --git a/metadata/src/from_into/mod.rs b/metadata/src/from_into/mod.rs new file mode 100644 index 0000000000..a88ca56fc7 --- /dev/null +++ b/metadata/src/from_into/mod.rs @@ -0,0 +1,82 @@ +// Copyright 2019-2023 Parity Technologies (UK) Ltd. +// This file is dual-licensed as Apache-2.0 or GPL-3.0. +// see LICENSE for license details. + +mod v14; +mod v15; + +/// An error emitted if something goes wrong converting [`frame_metadata`] +/// types into [`crate::Metadata`]. +#[derive(Debug, thiserror::Error)] +#[non_exhaustive] +pub enum TryFromError { + /// Type missing from type registry + #[error("Type {0} is expected but not found in the type registry")] + TypeNotFound(u32), + /// Type was not a variant/enum type + #[error("Type {0} was not a variant/enum type, but is expected to be one")] + VariantExpected(u32), + /// An unsupported metadata version was provided. + #[error("Cannot convert v{0} metadata into Metadata type")] + UnsupportedMetadataVersion(u32), +} + +impl From for frame_metadata::RuntimeMetadataPrefixed { + fn from(value: crate::Metadata) -> Self { + let m: frame_metadata::v15::RuntimeMetadataV15 = value.into(); + m.into() + } +} + +impl TryFrom for crate::Metadata { + type Error = TryFromError; + + fn try_from(value: frame_metadata::RuntimeMetadataPrefixed) -> Result { + match value.1 { + frame_metadata::RuntimeMetadata::V0(_) => { + Err(TryFromError::UnsupportedMetadataVersion(0)) + } + frame_metadata::RuntimeMetadata::V1(_) => { + Err(TryFromError::UnsupportedMetadataVersion(1)) + } + frame_metadata::RuntimeMetadata::V2(_) => { + Err(TryFromError::UnsupportedMetadataVersion(2)) + } + frame_metadata::RuntimeMetadata::V3(_) => { + Err(TryFromError::UnsupportedMetadataVersion(3)) + } + frame_metadata::RuntimeMetadata::V4(_) => { + Err(TryFromError::UnsupportedMetadataVersion(4)) + } + frame_metadata::RuntimeMetadata::V5(_) => { + Err(TryFromError::UnsupportedMetadataVersion(5)) + } + frame_metadata::RuntimeMetadata::V6(_) => { + Err(TryFromError::UnsupportedMetadataVersion(6)) + } + frame_metadata::RuntimeMetadata::V7(_) => { + Err(TryFromError::UnsupportedMetadataVersion(7)) + } + frame_metadata::RuntimeMetadata::V8(_) => { + Err(TryFromError::UnsupportedMetadataVersion(8)) + } + frame_metadata::RuntimeMetadata::V9(_) => { + Err(TryFromError::UnsupportedMetadataVersion(9)) + } + frame_metadata::RuntimeMetadata::V10(_) => { + Err(TryFromError::UnsupportedMetadataVersion(10)) + } + frame_metadata::RuntimeMetadata::V11(_) => { + Err(TryFromError::UnsupportedMetadataVersion(11)) + } + frame_metadata::RuntimeMetadata::V12(_) => { + Err(TryFromError::UnsupportedMetadataVersion(12)) + } + frame_metadata::RuntimeMetadata::V13(_) => { + Err(TryFromError::UnsupportedMetadataVersion(13)) + } + frame_metadata::RuntimeMetadata::V14(m) => m.try_into(), + frame_metadata::RuntimeMetadata::V15(m) => m.try_into(), + } + } +} diff --git a/metadata/src/from_into/v14.rs b/metadata/src/from_into/v14.rs new file mode 100644 index 0000000000..677ebe27c7 --- /dev/null +++ b/metadata/src/from_into/v14.rs @@ -0,0 +1,194 @@ +// Copyright 2019-2023 Parity Technologies (UK) Ltd. +// This file is dual-licensed as Apache-2.0 or GPL-3.0. +// see LICENSE for license details. + +use super::TryFromError; +use crate::Metadata; +use frame_metadata::{v14, v15}; + +impl TryFrom for Metadata { + type Error = TryFromError; + fn try_from(value: v14::RuntimeMetadataV14) -> Result { + // Convert to v15 and then convert that into Metadata. + v14_to_v15(value).try_into() + } +} + +impl From for v14::RuntimeMetadataV14 { + fn from(val: Metadata) -> Self { + let v15 = val.into(); + v15_to_v14(v15) + } +} + +fn v15_to_v14(metadata: v15::RuntimeMetadataV15) -> v14::RuntimeMetadataV14 { + v14::RuntimeMetadataV14 { + types: metadata.types, + pallets: metadata + .pallets + .into_iter() + .map(|pallet| frame_metadata::v14::PalletMetadata { + name: pallet.name, + storage: pallet + .storage + .map(|storage| frame_metadata::v14::PalletStorageMetadata { + prefix: storage.prefix, + entries: storage + .entries + .into_iter() + .map(|entry| { + let modifier = match entry.modifier { + frame_metadata::v15::StorageEntryModifier::Optional => { + frame_metadata::v14::StorageEntryModifier::Optional + } + frame_metadata::v15::StorageEntryModifier::Default => { + frame_metadata::v14::StorageEntryModifier::Default + } + }; + + let ty = match entry.ty { + frame_metadata::v15::StorageEntryType::Plain(ty) => { + frame_metadata::v14::StorageEntryType::Plain(ty) + }, + frame_metadata::v15::StorageEntryType::Map { + hashers, + key, + value, + } => frame_metadata::v14::StorageEntryType::Map { + hashers: hashers.into_iter().map(|hasher| match hasher { + frame_metadata::v15::StorageHasher::Blake2_128 => frame_metadata::v14::StorageHasher::Blake2_128, + frame_metadata::v15::StorageHasher::Blake2_256 => frame_metadata::v14::StorageHasher::Blake2_256, + frame_metadata::v15::StorageHasher::Blake2_128Concat => frame_metadata::v14::StorageHasher::Blake2_128Concat , + frame_metadata::v15::StorageHasher::Twox128 => frame_metadata::v14::StorageHasher::Twox128, + frame_metadata::v15::StorageHasher::Twox256 => frame_metadata::v14::StorageHasher::Twox256, + frame_metadata::v15::StorageHasher::Twox64Concat => frame_metadata::v14::StorageHasher::Twox64Concat, + frame_metadata::v15::StorageHasher::Identity=> frame_metadata::v14::StorageHasher::Identity, + }).collect(), + key, + value, + }, + }; + + frame_metadata::v14::StorageEntryMetadata { + name: entry.name, + modifier, + ty, + default: entry.default, + docs: entry.docs, + } + }) + .collect(), + }), + calls: pallet.calls.map(|calls| frame_metadata::v14::PalletCallMetadata { ty: calls.ty } ), + event: pallet.event.map(|event| frame_metadata::v14::PalletEventMetadata { ty: event.ty } ), + constants: pallet.constants.into_iter().map(|constant| frame_metadata::v14::PalletConstantMetadata { + name: constant.name, + ty: constant.ty, + value: constant.value, + docs: constant.docs, + } ).collect(), + error: pallet.error.map(|error| frame_metadata::v14::PalletErrorMetadata { ty: error.ty } ), + index: pallet.index, + }) + .collect(), + extrinsic: frame_metadata::v14::ExtrinsicMetadata { + ty: metadata.extrinsic.ty, + version: metadata.extrinsic.version, + signed_extensions: metadata.extrinsic.signed_extensions.into_iter().map(|ext| { + frame_metadata::v14::SignedExtensionMetadata { + identifier: ext.identifier, + ty: ext.ty, + additional_signed: ext.additional_signed, + } + }).collect() + }, + ty: metadata.ty, + } +} + +fn v14_to_v15(metadata: v14::RuntimeMetadataV14) -> v15::RuntimeMetadataV15 { + v15::RuntimeMetadataV15 { + types: metadata.types, + pallets: metadata + .pallets + .into_iter() + .map(|pallet| frame_metadata::v15::PalletMetadata { + name: pallet.name, + storage: pallet + .storage + .map(|storage| frame_metadata::v15::PalletStorageMetadata { + prefix: storage.prefix, + entries: storage + .entries + .into_iter() + .map(|entry| { + let modifier = match entry.modifier { + frame_metadata::v14::StorageEntryModifier::Optional => { + frame_metadata::v15::StorageEntryModifier::Optional + } + frame_metadata::v14::StorageEntryModifier::Default => { + frame_metadata::v15::StorageEntryModifier::Default + } + }; + + let ty = match entry.ty { + frame_metadata::v14::StorageEntryType::Plain(ty) => { + frame_metadata::v15::StorageEntryType::Plain(ty) + }, + frame_metadata::v14::StorageEntryType::Map { + hashers, + key, + value, + } => frame_metadata::v15::StorageEntryType::Map { + hashers: hashers.into_iter().map(|hasher| match hasher { + frame_metadata::v14::StorageHasher::Blake2_128 => frame_metadata::v15::StorageHasher::Blake2_128, + frame_metadata::v14::StorageHasher::Blake2_256 => frame_metadata::v15::StorageHasher::Blake2_256, + frame_metadata::v14::StorageHasher::Blake2_128Concat => frame_metadata::v15::StorageHasher::Blake2_128Concat , + frame_metadata::v14::StorageHasher::Twox128 => frame_metadata::v15::StorageHasher::Twox128, + frame_metadata::v14::StorageHasher::Twox256 => frame_metadata::v15::StorageHasher::Twox256, + frame_metadata::v14::StorageHasher::Twox64Concat => frame_metadata::v15::StorageHasher::Twox64Concat, + frame_metadata::v14::StorageHasher::Identity=> frame_metadata::v15::StorageHasher::Identity, + }).collect(), + key, + value, + }, + }; + + frame_metadata::v15::StorageEntryMetadata { + name: entry.name, + modifier, + ty, + default: entry.default, + docs: entry.docs, + } + }) + .collect(), + }), + calls: pallet.calls.map(|calls| frame_metadata::v15::PalletCallMetadata { ty: calls.ty } ), + event: pallet.event.map(|event| frame_metadata::v15::PalletEventMetadata { ty: event.ty } ), + constants: pallet.constants.into_iter().map(|constant| frame_metadata::v15::PalletConstantMetadata { + name: constant.name, + ty: constant.ty, + value: constant.value, + docs: constant.docs, + } ).collect(), + error: pallet.error.map(|error| frame_metadata::v15::PalletErrorMetadata { ty: error.ty } ), + index: pallet.index, + docs: Default::default(), + }) + .collect(), + extrinsic: frame_metadata::v15::ExtrinsicMetadata { + ty: metadata.extrinsic.ty, + version: metadata.extrinsic.version, + signed_extensions: metadata.extrinsic.signed_extensions.into_iter().map(|ext| { + frame_metadata::v15::SignedExtensionMetadata { + identifier: ext.identifier, + ty: ext.ty, + additional_signed: ext.additional_signed, + } + }).collect() + }, + ty: metadata.ty, + apis: Default::default(), + } +} diff --git a/metadata/src/from_into/v15.rs b/metadata/src/from_into/v15.rs new file mode 100644 index 0000000000..50972cfbbe --- /dev/null +++ b/metadata/src/from_into/v15.rs @@ -0,0 +1,390 @@ +// Copyright 2019-2023 Parity Technologies (UK) Ltd. +// This file is dual-licensed as Apache-2.0 or GPL-3.0. +// see LICENSE for license details. + +use super::TryFromError; +use crate::utils::variant_index::VariantIndex; +use crate::{ + utils::ordered_map::OrderedMap, ArcStr, ConstantMetadata, ExtrinsicMetadata, Metadata, + PalletMetadataInner, RuntimeApiMetadataInner, RuntimeApiMethodMetadata, + RuntimeApiMethodParamMetadata, SignedExtensionMetadata, StorageEntryMetadata, + StorageEntryModifier, StorageEntryType, StorageHasher, StorageMetadata, +}; +use frame_metadata::v15; +use scale_info::form::PortableForm; +use std::collections::HashMap; + +// Converting from V15 metadata into our Subxt repr. +mod from_v15 { + use super::*; + + impl TryFrom for Metadata { + type Error = TryFromError; + fn try_from(m: v15::RuntimeMetadataV15) -> Result { + let mut pallets = OrderedMap::new(); + let mut pallets_by_index = HashMap::new(); + for (pos, p) in m.pallets.into_iter().enumerate() { + let name: ArcStr = p.name.into(); + + let storage = p.storage.map(|s| StorageMetadata { + prefix: s.prefix, + entries: s + .entries + .into_iter() + .map(|s| { + let name: ArcStr = s.name.clone().into(); + (name.clone(), from_storage_entry_metadata(name, s)) + }) + .collect(), + }); + let constants = p.constants.into_iter().map(|c| { + let name: ArcStr = c.name.clone().into(); + (name.clone(), from_constant_metadata(name, c)) + }); + + let call_variant_index = + VariantIndex::build(p.calls.as_ref().map(|c| c.ty.id), &m.types); + let error_variant_index = + VariantIndex::build(p.error.as_ref().map(|e| e.ty.id), &m.types); + let event_variant_index = + VariantIndex::build(p.event.as_ref().map(|e| e.ty.id), &m.types); + + pallets_by_index.insert(p.index, pos); + pallets.push_insert( + name.clone(), + PalletMetadataInner { + name, + index: p.index, + storage, + call_ty: p.calls.map(|c| c.ty.id), + call_variant_index, + event_ty: p.event.map(|e| e.ty.id), + event_variant_index, + error_ty: p.error.map(|e| e.ty.id), + error_variant_index, + constants: constants.collect(), + docs: p.docs, + }, + ); + } + + let apis = m.apis.into_iter().map(|api| { + let name: ArcStr = api.name.clone().into(); + (name.clone(), from_runtime_api_metadata(name, api)) + }); + + let dispatch_error_ty = m + .types + .types + .iter() + .find(|ty| ty.ty.path.segments == ["sp_runtime", "DispatchError"]) + .map(|ty| ty.id); + + Ok(Metadata { + types: m.types, + pallets, + pallets_by_index, + extrinsic: from_extrinsic_metadata(m.extrinsic), + runtime_ty: m.ty.id, + dispatch_error_ty, + apis: apis.collect(), + }) + } + } + + fn from_signed_extension_metadata( + value: v15::SignedExtensionMetadata, + ) -> SignedExtensionMetadata { + SignedExtensionMetadata { + identifier: value.identifier, + extra_ty: value.ty.id, + additional_ty: value.additional_signed.id, + } + } + + fn from_extrinsic_metadata(value: v15::ExtrinsicMetadata) -> ExtrinsicMetadata { + ExtrinsicMetadata { + ty: value.ty.id, + version: value.version, + signed_extensions: value + .signed_extensions + .into_iter() + .map(from_signed_extension_metadata) + .collect(), + } + } + + fn from_storage_hasher(value: v15::StorageHasher) -> StorageHasher { + match value { + v15::StorageHasher::Blake2_128 => StorageHasher::Blake2_128, + v15::StorageHasher::Blake2_256 => StorageHasher::Blake2_256, + v15::StorageHasher::Blake2_128Concat => StorageHasher::Blake2_128Concat, + v15::StorageHasher::Twox128 => StorageHasher::Twox128, + v15::StorageHasher::Twox256 => StorageHasher::Twox256, + v15::StorageHasher::Twox64Concat => StorageHasher::Twox64Concat, + v15::StorageHasher::Identity => StorageHasher::Identity, + } + } + + fn from_storage_entry_type(value: v15::StorageEntryType) -> StorageEntryType { + match value { + v15::StorageEntryType::Plain(ty) => StorageEntryType::Plain(ty.id), + v15::StorageEntryType::Map { + hashers, + key, + value, + } => StorageEntryType::Map { + hashers: hashers.into_iter().map(from_storage_hasher).collect(), + key_ty: key.id, + value_ty: value.id, + }, + } + } + + fn from_storage_entry_modifier(value: v15::StorageEntryModifier) -> StorageEntryModifier { + match value { + v15::StorageEntryModifier::Optional => StorageEntryModifier::Optional, + v15::StorageEntryModifier::Default => StorageEntryModifier::Default, + } + } + + fn from_storage_entry_metadata( + name: ArcStr, + s: v15::StorageEntryMetadata, + ) -> StorageEntryMetadata { + StorageEntryMetadata { + name, + modifier: from_storage_entry_modifier(s.modifier), + entry_type: from_storage_entry_type(s.ty), + default: s.default, + docs: s.docs, + } + } + + fn from_constant_metadata( + name: ArcStr, + s: v15::PalletConstantMetadata, + ) -> ConstantMetadata { + ConstantMetadata { + name, + ty: s.ty.id, + value: s.value, + docs: s.docs, + } + } + + fn from_runtime_api_metadata( + name: ArcStr, + s: v15::RuntimeApiMetadata, + ) -> RuntimeApiMetadataInner { + RuntimeApiMetadataInner { + name, + docs: s.docs, + methods: s + .methods + .into_iter() + .map(|m| { + let name: ArcStr = m.name.clone().into(); + (name.clone(), from_runtime_api_method_metadata(name, m)) + }) + .collect(), + } + } + + fn from_runtime_api_method_metadata( + name: ArcStr, + s: v15::RuntimeApiMethodMetadata, + ) -> RuntimeApiMethodMetadata { + RuntimeApiMethodMetadata { + name, + inputs: s + .inputs + .into_iter() + .map(from_runtime_api_method_param_metadata) + .collect(), + output_ty: s.output.id, + docs: s.docs, + } + } + + fn from_runtime_api_method_param_metadata( + s: v15::RuntimeApiMethodParamMetadata, + ) -> RuntimeApiMethodParamMetadata { + RuntimeApiMethodParamMetadata { + name: s.name, + ty: s.ty.id, + } + } +} + +// Converting from our metadata repr to V15 metadata. +mod into_v15 { + use super::*; + + impl From for v15::RuntimeMetadataV15 { + fn from(m: Metadata) -> Self { + let pallets = m.pallets.into_values().into_iter().map(|p| { + let storage = p.storage.map(|s| v15::PalletStorageMetadata { + prefix: s.prefix, + entries: s + .entries + .into_values() + .into_iter() + .map(from_storage_entry_metadata) + .collect(), + }); + + v15::PalletMetadata { + name: (*p.name).to_owned(), + calls: p + .call_ty + .map(|id| v15::PalletCallMetadata { ty: id.into() }), + event: p + .event_ty + .map(|id| v15::PalletEventMetadata { ty: id.into() }), + error: p + .error_ty + .map(|id| v15::PalletErrorMetadata { ty: id.into() }), + storage, + constants: p + .constants + .into_values() + .into_iter() + .map(from_constant_metadata) + .collect(), + index: p.index, + docs: p.docs, + } + }); + + v15::RuntimeMetadataV15 { + types: m.types, + pallets: pallets.collect(), + ty: m.runtime_ty.into(), + extrinsic: from_extrinsic_metadata(m.extrinsic), + apis: m + .apis + .into_values() + .into_iter() + .map(from_runtime_api_metadata) + .collect(), + } + } + } + + fn from_runtime_api_metadata( + r: RuntimeApiMetadataInner, + ) -> v15::RuntimeApiMetadata { + v15::RuntimeApiMetadata { + name: (*r.name).to_owned(), + methods: r + .methods + .into_values() + .into_iter() + .map(from_runtime_api_method_metadata) + .collect(), + docs: r.docs, + } + } + + fn from_runtime_api_method_metadata( + m: RuntimeApiMethodMetadata, + ) -> v15::RuntimeApiMethodMetadata { + v15::RuntimeApiMethodMetadata { + name: (*m.name).to_owned(), + inputs: m + .inputs + .into_iter() + .map(from_runtime_api_method_param_metadata) + .collect(), + output: m.output_ty.into(), + docs: m.docs, + } + } + + fn from_runtime_api_method_param_metadata( + p: RuntimeApiMethodParamMetadata, + ) -> v15::RuntimeApiMethodParamMetadata { + v15::RuntimeApiMethodParamMetadata { + name: p.name, + ty: p.ty.into(), + } + } + + fn from_extrinsic_metadata(e: ExtrinsicMetadata) -> v15::ExtrinsicMetadata { + v15::ExtrinsicMetadata { + ty: e.ty.into(), + version: e.version, + signed_extensions: e + .signed_extensions + .into_iter() + .map(from_signed_extension_metadata) + .collect(), + } + } + + fn from_signed_extension_metadata( + s: SignedExtensionMetadata, + ) -> v15::SignedExtensionMetadata { + v15::SignedExtensionMetadata { + identifier: s.identifier, + ty: s.extra_ty.into(), + additional_signed: s.additional_ty.into(), + } + } + + fn from_constant_metadata(c: ConstantMetadata) -> v15::PalletConstantMetadata { + v15::PalletConstantMetadata { + name: (*c.name).to_owned(), + ty: c.ty.into(), + value: c.value, + docs: c.docs, + } + } + + fn from_storage_entry_metadata( + s: StorageEntryMetadata, + ) -> v15::StorageEntryMetadata { + v15::StorageEntryMetadata { + docs: s.docs, + default: s.default, + name: (*s.name).to_owned(), + ty: from_storage_entry_type(s.entry_type), + modifier: from_storage_entry_modifier(s.modifier), + } + } + + fn from_storage_entry_modifier(s: StorageEntryModifier) -> v15::StorageEntryModifier { + match s { + StorageEntryModifier::Default => v15::StorageEntryModifier::Default, + StorageEntryModifier::Optional => v15::StorageEntryModifier::Optional, + } + } + + fn from_storage_entry_type(s: StorageEntryType) -> v15::StorageEntryType { + match s { + StorageEntryType::Plain(ty) => v15::StorageEntryType::Plain(ty.into()), + StorageEntryType::Map { + hashers, + key_ty, + value_ty, + } => v15::StorageEntryType::Map { + hashers: hashers.into_iter().map(from_storage_hasher).collect(), + key: key_ty.into(), + value: value_ty.into(), + }, + } + } + + fn from_storage_hasher(s: StorageHasher) -> v15::StorageHasher { + match s { + StorageHasher::Blake2_128 => v15::StorageHasher::Blake2_128, + StorageHasher::Blake2_256 => v15::StorageHasher::Blake2_256, + StorageHasher::Blake2_128Concat => v15::StorageHasher::Blake2_128Concat, + StorageHasher::Twox128 => v15::StorageHasher::Twox128, + StorageHasher::Twox256 => v15::StorageHasher::Twox256, + StorageHasher::Twox64Concat => v15::StorageHasher::Twox64Concat, + StorageHasher::Identity => v15::StorageHasher::Identity, + } + } +} diff --git a/metadata/src/lib.rs b/metadata/src/lib.rs index 7c8ff22ca8..b629cbe47e 100644 --- a/metadata/src/lib.rs +++ b/metadata/src/lib.rs @@ -2,101 +2,619 @@ // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. -mod retain; -mod validation; - -use frame_metadata::{v14::RuntimeMetadataV14, v15::RuntimeMetadataV15}; - -pub use retain::retain_metadata; -pub use validation::{ - get_call_hash, get_constant_hash, get_pallet_hash, get_runtime_api_hash, get_storage_hash, - MetadataHasher, NotFound, -}; - -/// Convert the metadata V14 to the latest metadata version. -pub fn metadata_v14_to_latest(metadata: RuntimeMetadataV14) -> RuntimeMetadataV15 { - RuntimeMetadataV15 { - types: metadata.types, - pallets: metadata - .pallets - .into_iter() - .map(|pallet| frame_metadata::v15::PalletMetadata { - name: pallet.name, - storage: pallet - .storage - .map(|storage| frame_metadata::v15::PalletStorageMetadata { - prefix: storage.prefix, - entries: storage - .entries - .into_iter() - .map(|entry| { - let modifier = match entry.modifier { - frame_metadata::v14::StorageEntryModifier::Optional => { - frame_metadata::v15::StorageEntryModifier::Optional - } - frame_metadata::v14::StorageEntryModifier::Default => { - frame_metadata::v15::StorageEntryModifier::Default - } - }; - - let ty = match entry.ty { - frame_metadata::v14::StorageEntryType::Plain(ty) => { - frame_metadata::v15::StorageEntryType::Plain(ty) - }, - frame_metadata::v14::StorageEntryType::Map { - hashers, - key, - value, - } => frame_metadata::v15::StorageEntryType::Map { - hashers: hashers.into_iter().map(|hasher| match hasher { - frame_metadata::v14::StorageHasher::Blake2_128 => frame_metadata::v15::StorageHasher::Blake2_128, - frame_metadata::v14::StorageHasher::Blake2_256 => frame_metadata::v15::StorageHasher::Blake2_256, - frame_metadata::v14::StorageHasher::Blake2_128Concat => frame_metadata::v15::StorageHasher::Blake2_128Concat , - frame_metadata::v14::StorageHasher::Twox128 => frame_metadata::v15::StorageHasher::Twox128, - frame_metadata::v14::StorageHasher::Twox256 => frame_metadata::v15::StorageHasher::Twox256, - frame_metadata::v14::StorageHasher::Twox64Concat => frame_metadata::v15::StorageHasher::Twox64Concat, - frame_metadata::v14::StorageHasher::Identity=> frame_metadata::v15::StorageHasher::Identity, - }).collect(), - key, - value, - }, - }; - - frame_metadata::v15::StorageEntryMetadata { - name: entry.name, - modifier, - ty, - default: entry.default, - docs: entry.docs, - } - }) - .collect(), - }), - calls: pallet.calls.map(|calls| frame_metadata::v15::PalletCallMetadata { ty: calls.ty } ), - event: pallet.event.map(|event| frame_metadata::v15::PalletEventMetadata { ty: event.ty } ), - constants: pallet.constants.into_iter().map(|constant| frame_metadata::v15::PalletConstantMetadata { - name: constant.name, - ty: constant.ty, - value: constant.value, - docs: constant.docs, - } ).collect(), - error: pallet.error.map(|error| frame_metadata::v15::PalletErrorMetadata { ty: error.ty } ), - index: pallet.index, - docs: Default::default(), - }) - .collect(), - extrinsic: frame_metadata::v15::ExtrinsicMetadata { - ty: metadata.extrinsic.ty, - version: metadata.extrinsic.version, - signed_extensions: metadata.extrinsic.signed_extensions.into_iter().map(|ext| { - frame_metadata::v15::SignedExtensionMetadata { - identifier: ext.identifier, - ty: ext.ty, - additional_signed: ext.additional_signed, - } - }).collect() - }, - ty: metadata.ty, - apis: Default::default(), +//! A representation of the metadata provided by a substrate based node. +//! This representation is optimized to be used by Subxt and related crates, +//! and is independent of the different versions of metadata that can be +//! provided from a node. +//! +//! Typically, this will be constructed by either: +//! +//! 1. Calling `Metadata::decode()` given some metadata bytes obtained +//! from a node (this uses [`codec::Decode`]). +//! 2. Obtaining [`frame_metadata::RuntimeMetadataPrefixed`], and then +//! using `.try_into()` to convert it into [`Metadata`]. + +#![deny(missing_docs)] + +mod from_into; +mod utils; + +use scale_info::{form::PortableForm, PortableRegistry, Variant}; +use std::collections::HashMap; +use std::sync::Arc; +use utils::ordered_map::OrderedMap; +use utils::variant_index::VariantIndex; + +type ArcStr = Arc; + +pub use from_into::TryFromError; +pub use utils::validation::MetadataHasher; + +/// Node metadata. This can be constructed by providing some compatible [`frame_metadata`] +/// which is then decoded into this. We aim to preserve all of the existing information in +/// the incoming metadata while optimizing the format a little for Subxt's use cases. +#[derive(Debug, Clone)] +pub struct Metadata { + /// Type registry containing all types used in the metadata. + types: PortableRegistry, + /// Metadata of all the pallets. + pallets: OrderedMap, + /// Find the location in the pallet Vec by pallet index. + pallets_by_index: HashMap, + /// Metadata of the extrinsic. + extrinsic: ExtrinsicMetadata, + /// The type ID of the `Runtime` type. + runtime_ty: u32, + /// The type Id of the `DispatchError` type, which Subxt makes use of. + dispatch_error_ty: Option, + /// Details about each of the runtime API traits. + apis: OrderedMap, +} + +impl Metadata { + /// Access the underlying type registry. + pub fn types(&self) -> &PortableRegistry { + &self.types + } + + /// Mutable access to the underlying type registry. + pub fn types_mut(&mut self) -> &mut PortableRegistry { + &mut self.types + } + + /// The type ID of the `Runtime` type. + pub fn runtime_ty(&self) -> u32 { + self.runtime_ty + } + + /// The type ID of the `DispatchError` type, if it exists. + pub fn dispatch_error_ty(&self) -> Option { + self.dispatch_error_ty + } + + /// Return details about the extrinsic format. + pub fn extrinsic(&self) -> &ExtrinsicMetadata { + &self.extrinsic + } + + /// An iterator over all of the available pallets. + pub fn pallets(&self) -> impl ExactSizeIterator> { + self.pallets.values().iter().map(|inner| PalletMetadata { + inner, + types: self.types(), + }) + } + + /// Access a pallet given its encoded variant index. + pub fn pallet_by_index(&self, variant_index: u8) -> Option> { + let inner = self + .pallets_by_index + .get(&variant_index) + .and_then(|i| self.pallets.get_by_index(*i))?; + + Some(PalletMetadata { + inner, + types: self.types(), + }) + } + + /// Access a pallet given its name. + pub fn pallet_by_name(&self, pallet_name: &str) -> Option> { + let inner = self.pallets.get_by_key(pallet_name)?; + + Some(PalletMetadata { + inner, + types: self.types(), + }) + } + + /// An iterator over all of the runtime APIs. + pub fn runtime_api_traits(&self) -> impl ExactSizeIterator> { + self.apis.values().iter().map(|inner| RuntimeApiMetadata { + inner, + types: self.types(), + }) + } + + /// Access a runtime API trait given its name. + pub fn runtime_api_trait_by_name(&'_ self, name: &str) -> Option> { + let inner = self.apis.get_by_key(name)?; + Some(RuntimeApiMetadata { + inner, + types: self.types(), + }) + } + + /// Obtain a unique hash representing this metadata or specific parts of it. + pub fn hasher(&self) -> MetadataHasher { + MetadataHasher::new(self) + } + + /// Filter out any pallets that we don't want to keep, retaining only those that we do. + pub fn retain(&mut self, pallet_filter: F, api_filter: G) + where + F: FnMut(&str) -> bool, + G: FnMut(&str) -> bool, + { + utils::retain::retain_metadata(self, pallet_filter, api_filter); + } +} + +/// Metadata for a specific pallet. +#[derive(Debug, Clone, Copy)] +pub struct PalletMetadata<'a> { + inner: &'a PalletMetadataInner, + types: &'a PortableRegistry, +} + +impl<'a> PalletMetadata<'a> { + /// The pallet name. + pub fn name(&self) -> &'a str { + &self.inner.name + } + + /// The pallet index. + pub fn index(&self) -> u8 { + self.inner.index + } + + /// The pallet docs. + pub fn docs(&self) -> &'a [String] { + &self.inner.docs + } + + /// Type ID for the pallet's Call type, if it exists. + pub fn call_ty_id(&self) -> Option { + self.inner.call_ty + } + + /// Type ID for the pallet's Event type, if it exists. + pub fn event_ty_id(&self) -> Option { + self.inner.event_ty + } + + /// Type ID for the pallet's Error type, if it exists. + pub fn error_ty_id(&self) -> Option { + self.inner.error_ty + } + + /// Return metadata about the pallet's storage entries. + pub fn storage(&self) -> Option<&'a StorageMetadata> { + self.inner.storage.as_ref() + } + + /// Return all of the event variants, if an event type exists. + pub fn event_variants(&self) -> Option<&'a [Variant]> { + VariantIndex::get(self.inner.event_ty, self.types) + } + + /// Return an event variant given it's encoded variant index. + pub fn event_variant_by_index(&self, variant_index: u8) -> Option<&'a Variant> { + self.inner.event_variant_index.lookup_by_index( + variant_index, + self.inner.event_ty, + self.types, + ) + } + + /// Return all of the call variants, if a call type exists. + pub fn call_variants(&self) -> Option<&'a [Variant]> { + VariantIndex::get(self.inner.call_ty, self.types) + } + + /// Return a call variant given it's encoded variant index. + pub fn call_variant_by_index(&self, variant_index: u8) -> Option<&'a Variant> { + self.inner + .call_variant_index + .lookup_by_index(variant_index, self.inner.call_ty, self.types) + } + + /// Return a call variant given it's name. + pub fn call_variant_by_name(&self, call_name: &str) -> Option<&'a Variant> { + self.inner + .call_variant_index + .lookup_by_name(call_name, self.inner.call_ty, self.types) + } + + /// Return all of the error variants, if an error type exists. + pub fn error_variants(&self) -> Option<&'a [Variant]> { + VariantIndex::get(self.inner.error_ty, self.types) + } + + /// Return an error variant given it's encoded variant index. + pub fn error_variant_by_index(&self, variant_index: u8) -> Option<&'a Variant> { + self.inner.error_variant_index.lookup_by_index( + variant_index, + self.inner.error_ty, + self.types, + ) + } + + /// Return constant details given the constant name. + pub fn constant_by_name(&self, name: &str) -> Option<&'a ConstantMetadata> { + self.inner.constants.get_by_key(name) + } + + /// An iterator over the constants in this pallet. + pub fn constants(&self) -> impl ExactSizeIterator { + self.inner.constants.values().iter() + } + + /// Return a hash for the storage entry, or None if it was not found. + pub fn storage_hash(&self, entry_name: &str) -> Option<[u8; 32]> { + crate::utils::validation::get_storage_hash(self, entry_name) + } + + /// Return a hash for the constant, or None if it was not found. + pub fn constant_hash(&self, constant_name: &str) -> Option<[u8; 32]> { + crate::utils::validation::get_constant_hash(self, constant_name) + } + + /// Return a hash for the call, or None if it was not found. + pub fn call_hash(&self, call_name: &str) -> Option<[u8; 32]> { + crate::utils::validation::get_call_hash(self, call_name) + } + + /// Return a hash for the entire pallet. + pub fn hash(&self) -> [u8; 32] { + crate::utils::validation::get_pallet_hash(*self) + } +} + +#[derive(Debug, Clone)] +struct PalletMetadataInner { + /// Pallet name. + name: ArcStr, + /// Pallet index. + index: u8, + /// Pallet storage metadata. + storage: Option, + /// Type ID for the pallet Call enum. + call_ty: Option, + /// Call variants by name/u8. + call_variant_index: VariantIndex, + /// Type ID for the pallet Event enum. + event_ty: Option, + /// Event variants by name/u8. + event_variant_index: VariantIndex, + /// Type ID for the pallet Error enum. + error_ty: Option, + /// Error variants by name/u8. + error_variant_index: VariantIndex, + /// Map from constant name to constant details. + constants: OrderedMap, + /// Pallet documentation. + docs: Vec, +} + +/// Metadata for the storage entries in a pallet. +#[derive(Debug, Clone)] +pub struct StorageMetadata { + /// The common prefix used by all storage entries. + prefix: String, + /// Map from storage entry name to details. + entries: OrderedMap, +} + +impl StorageMetadata { + /// The common prefix used by all storage entries. + pub fn prefix(&self) -> &str { + &self.prefix + } + + /// An iterator over the storage entries. + pub fn entries(&self) -> impl ExactSizeIterator { + self.entries.values().iter() + } + + /// Return a specific storage entry given its name. + pub fn entry_by_name(&self, name: &str) -> Option<&StorageEntryMetadata> { + self.entries.get_by_key(name) + } +} + +/// Metadata for a single storage entry. +#[derive(Debug, Clone)] +pub struct StorageEntryMetadata { + /// Variable name of the storage entry. + name: ArcStr, + /// An `Option` modifier of that storage entry. + modifier: StorageEntryModifier, + /// Type of the value stored in the entry. + entry_type: StorageEntryType, + /// Default value (SCALE encoded). + default: Vec, + /// Storage entry documentation. + docs: Vec, +} + +impl StorageEntryMetadata { + /// Name of this entry. + pub fn name(&self) -> &str { + &self.name + } + /// Is the entry value optional or does it have a default value. + pub fn modifier(&self) -> StorageEntryModifier { + self.modifier + } + /// Type of the storage entry. + pub fn entry_type(&self) -> &StorageEntryType { + &self.entry_type + } + /// The SCALE encoded default value for this entry. + pub fn default_bytes(&self) -> &[u8] { + &self.default + } + /// Storage entry documentation. + pub fn docs(&self) -> &[String] { + &self.docs + } +} + +/// The type of a storage entry. +#[derive(Debug, Clone)] +pub enum StorageEntryType { + /// Plain storage entry (just the value). + Plain(u32), + /// A storage map. + Map { + /// One or more hashers, should be one hasher per key element. + hashers: Vec, + /// The type of the key, can be a tuple with elements for each of the hashers. + key_ty: u32, + /// The type of the value. + value_ty: u32, + }, +} + +/// Hasher used by storage maps. +#[derive(Debug, Clone, Copy)] +pub enum StorageHasher { + /// 128-bit Blake2 hash. + Blake2_128, + /// 256-bit Blake2 hash. + Blake2_256, + /// Multiple 128-bit Blake2 hashes concatenated. + Blake2_128Concat, + /// 128-bit XX hash. + Twox128, + /// 256-bit XX hash. + Twox256, + /// Multiple 64-bit XX hashes concatenated. + Twox64Concat, + /// Identity hashing (no hashing). + Identity, +} + +/// Is the storage entry optional, or does it have a default value. +#[derive(Debug, Clone, Copy)] +pub enum StorageEntryModifier { + /// The storage entry returns an `Option`, with `None` if the key is not present. + Optional, + /// The storage entry returns `T::Default` if the key is not present. + Default, +} + +/// Metadata for a single constant. +#[derive(Debug, Clone)] +pub struct ConstantMetadata { + /// Name of the pallet constant. + name: ArcStr, + /// Type of the pallet constant. + ty: u32, + /// Value stored in the constant (SCALE encoded). + value: Vec, + /// Constant documentation. + docs: Vec, +} + +impl ConstantMetadata { + /// Name of the pallet constant. + pub fn name(&self) -> &str { + &self.name + } + /// Type of the pallet constant. + pub fn ty(&self) -> u32 { + self.ty + } + /// Value stored in the constant (SCALE encoded). + pub fn value(&self) -> &[u8] { + &self.value + } + /// Constant documentation. + pub fn docs(&self) -> &[String] { + &self.docs + } +} + +/// Metadata for the extrinsic type. +#[derive(Debug, Clone)] +pub struct ExtrinsicMetadata { + /// The type of the extrinsic. + ty: u32, + /// Extrinsic version. + version: u8, + /// The signed extensions in the order they appear in the extrinsic. + signed_extensions: Vec, +} + +impl ExtrinsicMetadata { + /// Type of the extrinsic. + pub fn ty(&self) -> u32 { + self.ty + } + + /// Extrinsic version. + pub fn version(&self) -> u8 { + self.version + } + + /// The extra/additional information associated with the extrinsic. + pub fn signed_extensions(&self) -> &[SignedExtensionMetadata] { + &self.signed_extensions + } +} + +/// Metadata for the signed extensions used by extrinsics. +#[derive(Debug, Clone)] +pub struct SignedExtensionMetadata { + /// The unique signed extension identifier, which may be different from the type name. + identifier: String, + /// The type of the signed extension, with the data to be included in the extrinsic. + extra_ty: u32, + /// The type of the additional signed data, with the data to be included in the signed payload + additional_ty: u32, +} + +impl SignedExtensionMetadata { + /// The unique signed extension identifier, which may be different from the type name. + pub fn identifier(&self) -> &str { + &self.identifier + } + /// The type of the signed extension, with the data to be included in the extrinsic. + pub fn extra_ty(&self) -> u32 { + self.extra_ty + } + /// The type of the additional signed data, with the data to be included in the signed payload + pub fn additional_ty(&self) -> u32 { + self.additional_ty + } +} + +/// Metadata for the available runtime APIs. +#[derive(Debug, Clone, Copy)] +pub struct RuntimeApiMetadata<'a> { + inner: &'a RuntimeApiMetadataInner, + types: &'a PortableRegistry, +} + +impl<'a> RuntimeApiMetadata<'a> { + /// Trait name. + pub fn name(&self) -> &str { + &self.inner.name + } + /// Trait documentation. + pub fn docs(&self) -> &[String] { + &self.inner.docs + } + /// An iterator over the trait methods. + pub fn methods(&self) -> impl ExactSizeIterator { + self.inner.methods.values().iter() + } + /// Get a specific trait method given its name. + pub fn method_by_name(&self, name: &str) -> Option<&'a RuntimeApiMethodMetadata> { + self.inner.methods.get_by_key(name) + } + /// Return a hash for the constant, or None if it was not found. + pub fn method_hash(&self, method_name: &str) -> Option<[u8; 32]> { + crate::utils::validation::get_runtime_api_hash(self, method_name) + } +} + +#[derive(Debug, Clone)] +struct RuntimeApiMetadataInner { + /// Trait name. + name: ArcStr, + /// Trait methods. + methods: OrderedMap, + /// Trait documentation. + docs: Vec, +} + +/// Metadata for a single runtime API method. +#[derive(Debug, Clone)] +pub struct RuntimeApiMethodMetadata { + /// Method name. + name: ArcStr, + /// Method parameters. + inputs: Vec, + /// Method output type. + output_ty: u32, + /// Method documentation. + docs: Vec, +} + +impl RuntimeApiMethodMetadata { + /// Method name. + pub fn name(&self) -> &str { + &self.name + } + /// Method documentation. + pub fn docs(&self) -> &[String] { + &self.docs + } + /// Method inputs. + pub fn inputs(&self) -> impl ExactSizeIterator { + self.inputs.iter() + } + /// Method return type. + pub fn output_ty(&self) -> u32 { + self.output_ty + } +} + +/// Metadata for a single input parameter to a runtime API method. +#[derive(Debug, Clone)] +pub struct RuntimeApiMethodParamMetadata { + /// Parameter name. + pub name: String, + /// Parameter type. + pub ty: u32, +} + +// Support decoding metadata from the "wire" format directly into this. +// Errors may be lost in the case that the metadata content is somehow invalid. +impl codec::Decode for Metadata { + fn decode(input: &mut I) -> Result { + let metadata = frame_metadata::RuntimeMetadataPrefixed::decode(input)?; + let metadata = match metadata.1 { + frame_metadata::RuntimeMetadata::V14(md) => md.try_into(), + frame_metadata::RuntimeMetadata::V15(md) => md.try_into(), + _ => return Err("Cannot try_into() to Metadata: unsupported metadata version".into()), + }; + + metadata.map_err(|_e| "Cannot try_into() to Metadata.".into()) + } +} + +// Metadata can be encoded, too. It will encode into a format that's compatible with what +// Subxt requires, and that it can be decoded back from. The actual specifics of the format +// can change over time. +impl codec::Encode for Metadata { + fn encode_to(&self, dest: &mut T) { + let m: frame_metadata::v15::RuntimeMetadataV15 = self.clone().into(); + let m: frame_metadata::RuntimeMetadataPrefixed = m.into(); + m.encode_to(dest) + } +} + +#[cfg(test)] +mod test { + use super::*; + use codec::{Decode, Encode}; + + fn load_metadata() -> Vec { + std::fs::read("../artifacts/polkadot_metadata_full.scale").unwrap() + } + + // We don't expect to lose any information converting back and forth between + // our own representation and the latest version emitted from a node that we can + // work with. + #[test] + fn is_isomorphic_to_v15() { + let bytes = load_metadata(); + + // Decode into our metadata struct: + let metadata = Metadata::decode(&mut &*bytes).unwrap(); + + // Convert into v15 metadata: + let v15: frame_metadata::v15::RuntimeMetadataV15 = metadata.into(); + let prefixed = frame_metadata::RuntimeMetadataPrefixed::from(v15); + + // Re-encode that: + let new_bytes = prefixed.encode(); + + // The bytes should be identical: + assert_eq!(bytes, new_bytes); } } diff --git a/metadata/src/utils/mod.rs b/metadata/src/utils/mod.rs new file mode 100644 index 0000000000..818035cba1 --- /dev/null +++ b/metadata/src/utils/mod.rs @@ -0,0 +1,8 @@ +// Copyright 2019-2023 Parity Technologies (UK) Ltd. +// This file is dual-licensed as Apache-2.0 or GPL-3.0. +// see LICENSE for license details. + +pub mod ordered_map; +pub mod retain; +pub mod validation; +pub mod variant_index; diff --git a/metadata/src/utils/ordered_map.rs b/metadata/src/utils/ordered_map.rs new file mode 100644 index 0000000000..c9a9a40f46 --- /dev/null +++ b/metadata/src/utils/ordered_map.rs @@ -0,0 +1,137 @@ +// Copyright 2019-2023 Parity Technologies (UK) Ltd. +// This file is dual-licensed as Apache-2.0 or GPL-3.0. +// see LICENSE for license details. + +use std::collections::HashMap; + +/// A minimal ordered map to let one search for +/// things by key or get the values in insert order. +#[derive(Debug, Clone)] +pub struct OrderedMap { + values: Vec, + map: HashMap, +} + +impl Default for OrderedMap { + fn default() -> Self { + Self { + values: Default::default(), + map: Default::default(), + } + } +} + +impl OrderedMap +where + K: PartialEq + Eq + std::hash::Hash, +{ + /// Create a new, empty [`OrderedMap`]. + pub fn new() -> Self { + Self::default() + } + + /// Number of entries in the map. + #[allow(dead_code)] + pub fn len(&self) -> usize { + self.values.len() + } + + /// Is the map empty. + #[allow(dead_code)] + pub fn is_empty(&self) -> bool { + self.values.is_empty() + } + + /// Retain specific entries. + pub fn retain(&mut self, mut f: F) + where + F: FnMut(&V) -> bool, + { + let values = std::mem::take(&mut self.values); + let map = std::mem::take(&mut self.map); + + // Filter the values, storing a map from old to new positions: + let mut new_values = Vec::new(); + let mut old_pos_to_new_pos = HashMap::new(); + for (pos, value) in values.into_iter().enumerate().filter(|(_, v)| f(v)) { + old_pos_to_new_pos.insert(pos, new_values.len()); + new_values.push(value); + } + + // Update the values now we've filtered them: + self.values = new_values; + + // Rebuild the map using the new positions: + self.map = map + .into_iter() + .filter_map(|(k, v)| old_pos_to_new_pos.get(&v).map(|v2| (k, *v2))) + .collect(); + } + + /// Push/insert an item to the end of the map. + pub fn push_insert(&mut self, key: K, value: V) { + let idx = self.values.len(); + self.values.push(value); + self.map.insert(key, idx); + } + + /// Get an item by its key. + pub fn get_by_key(&self, key: &Q) -> Option<&V> + where + K: std::borrow::Borrow, + Q: std::hash::Hash + Eq + ?Sized, + { + self.map.get(key).and_then(|&v| self.values.get(v)) + } + + /// Get an item by its index. + pub fn get_by_index(&self, i: usize) -> Option<&V> { + self.values.get(i) + } + + /// Access the underlying values. + pub fn values(&self) -> &[V] { + &self.values + } + + /// Mutable access to the underlying values. + pub fn values_mut(&mut self) -> &mut [V] { + &mut self.values + } + + /// Return the underlying values. + pub fn into_values(self) -> Vec { + self.values + } +} + +impl FromIterator<(K, V)> for OrderedMap +where + K: PartialEq + Eq + std::hash::Hash, +{ + fn from_iter>(iter: T) -> Self { + let mut map = OrderedMap::new(); + for (k, v) in iter { + map.push_insert(k, v) + } + map + } +} + +#[cfg(test)] +mod test { + use super::*; + + #[test] + fn retain() { + let mut m = OrderedMap::from_iter([(1, 'a'), (2, 'b'), (3, 'c')]); + + m.retain(|v| *v != 'b'); + + assert_eq!(m.get_by_key(&1), Some(&'a')); + assert_eq!(m.get_by_key(&2), None); + assert_eq!(m.get_by_key(&3), Some(&'c')); + + assert_eq!(m.values(), &['a', 'c']) + } +} diff --git a/metadata/src/retain.rs b/metadata/src/utils/retain.rs similarity index 65% rename from metadata/src/retain.rs rename to metadata/src/utils/retain.rs index ee858923b4..9453d0e309 100644 --- a/metadata/src/retain.rs +++ b/metadata/src/utils/retain.rs @@ -4,128 +4,120 @@ //! Utility functions to generate a subset of the metadata. -use frame_metadata::v15::{ - ExtrinsicMetadata, PalletMetadata, RuntimeApiMetadata, RuntimeMetadataV15, StorageEntryType, -}; -use scale_info::{form::PortableForm, interner::UntrackedSymbol, TypeDef}; -use std::{ - any::TypeId, - collections::{BTreeMap, HashSet}, +use crate::{ + ExtrinsicMetadata, Metadata, PalletMetadataInner, RuntimeApiMetadataInner, StorageEntryType, }; +use scale_info::TypeDef; +use std::collections::{BTreeMap, HashSet}; /// Collect all type IDs needed to represent the provided pallet. -fn collect_pallet_types(pallet: &PalletMetadata, type_ids: &mut HashSet) { +fn collect_pallet_types(pallet: &PalletMetadataInner, type_ids: &mut HashSet) { if let Some(storage) = &pallet.storage { - for entry in &storage.entries { - match entry.ty { + for entry in storage.entries() { + match entry.entry_type { StorageEntryType::Plain(ty) => { - type_ids.insert(ty.id); + type_ids.insert(ty); } - StorageEntryType::Map { key, value, .. } => { - type_ids.insert(key.id); - type_ids.insert(value.id); + StorageEntryType::Map { + key_ty, value_ty, .. + } => { + type_ids.insert(key_ty); + type_ids.insert(value_ty); } } } } - if let Some(calls) = &pallet.calls { - type_ids.insert(calls.ty.id); + if let Some(ty) = pallet.call_ty { + type_ids.insert(ty); } - if let Some(event) = &pallet.event { - type_ids.insert(event.ty.id); + if let Some(ty) = pallet.event_ty { + type_ids.insert(ty); } - for constant in &pallet.constants { - type_ids.insert(constant.ty.id); + for constant in pallet.constants.values() { + type_ids.insert(constant.ty); } - if let Some(error) = &pallet.error { - type_ids.insert(error.ty.id); + if let Some(ty) = pallet.error_ty { + type_ids.insert(ty); } } /// Update all type IDs of the provided pallet using the new type IDs from the portable registry. -fn update_pallet_types(pallet: &mut PalletMetadata, map_ids: &BTreeMap) { +fn update_pallet_types(pallet: &mut PalletMetadataInner, map_ids: &BTreeMap) { if let Some(storage) = &mut pallet.storage { - for entry in &mut storage.entries { - match &mut entry.ty { + for entry in storage.entries.values_mut() { + match &mut entry.entry_type { StorageEntryType::Plain(ty) => { update_type(ty, map_ids); } - StorageEntryType::Map { key, value, .. } => { - update_type(key, map_ids); - update_type(value, map_ids); + StorageEntryType::Map { + key_ty, value_ty, .. + } => { + update_type(key_ty, map_ids); + update_type(value_ty, map_ids); } } } } - if let Some(calls) = &mut pallet.calls { - update_type(&mut calls.ty, map_ids); + if let Some(ty) = &mut pallet.call_ty { + update_type(ty, map_ids); } - if let Some(event) = &mut pallet.event { - update_type(&mut event.ty, map_ids); + if let Some(ty) = &mut pallet.event_ty { + update_type(ty, map_ids); } - for constant in &mut pallet.constants { - update_type(&mut constant.ty, map_ids); + if let Some(ty) = &mut pallet.error_ty { + update_type(ty, map_ids); } - if let Some(error) = &mut pallet.error { - update_type(&mut error.ty, map_ids); + for constant in pallet.constants.values_mut() { + update_type(&mut constant.ty, map_ids); } } /// Collect all type IDs needed to represent the extrinsic metadata. -fn collect_extrinsic_types( - extrinsic: &ExtrinsicMetadata, - type_ids: &mut HashSet, -) { - type_ids.insert(extrinsic.ty.id); +fn collect_extrinsic_types(extrinsic: &ExtrinsicMetadata, type_ids: &mut HashSet) { + type_ids.insert(extrinsic.ty); for signed in &extrinsic.signed_extensions { - type_ids.insert(signed.ty.id); - type_ids.insert(signed.additional_signed.id); + type_ids.insert(signed.extra_ty); + type_ids.insert(signed.additional_ty); } } /// Update all type IDs of the provided extrinsic metadata using the new type IDs from the portable registry. -fn update_extrinsic_types( - extrinsic: &mut ExtrinsicMetadata, - map_ids: &BTreeMap, -) { +fn update_extrinsic_types(extrinsic: &mut ExtrinsicMetadata, map_ids: &BTreeMap) { update_type(&mut extrinsic.ty, map_ids); for signed in &mut extrinsic.signed_extensions { - update_type(&mut signed.ty, map_ids); - update_type(&mut signed.additional_signed, map_ids); + update_type(&mut signed.extra_ty, map_ids); + update_type(&mut signed.additional_ty, map_ids); } } /// Collect all type IDs needed to represent the runtime APIs. -fn collect_runtime_api_types(api: &RuntimeApiMetadata, type_ids: &mut HashSet) { - for method in &api.methods { +fn collect_runtime_api_types(api: &RuntimeApiMetadataInner, type_ids: &mut HashSet) { + for method in api.methods.values() { for input in &method.inputs { - type_ids.insert(input.ty.id); + type_ids.insert(input.ty); } - type_ids.insert(method.output.id); + type_ids.insert(method.output_ty); } } /// Update all type IDs of the provided runtime APIs metadata using the new type IDs from the portable registry. -fn update_runtime_api_types( - apis: &mut [RuntimeApiMetadata], - map_ids: &BTreeMap, -) { +fn update_runtime_api_types(apis: &mut [RuntimeApiMetadataInner], map_ids: &BTreeMap) { for api in apis { - for method in &mut api.methods { + for method in api.methods.values_mut() { for input in &mut method.inputs { update_type(&mut input.ty, map_ids); } - update_type(&mut method.output, map_ids); + update_type(&mut method.output_ty, map_ids); } } } @@ -135,26 +127,26 @@ fn update_runtime_api_types( /// # Panics /// /// Panics if the [`scale_info::PortableRegistry`] did not retain all needed types. -fn update_type(ty: &mut UntrackedSymbol, map_ids: &BTreeMap) { - let old_id = ty.id; +fn update_type(ty: &mut u32, map_ids: &BTreeMap) { + let old_id = *ty; let new_id = map_ids .get(&old_id) .copied() .unwrap_or_else(|| panic!("PortableRegistry did not retain type id {old_id}. This is a bug. Please open an issue.")); - *ty = new_id.into(); + *ty = new_id; } /// Strip any pallets out of the RuntimeCall type that aren't the ones we want to keep. /// The RuntimeCall type is referenced in a bunch of places, so doing this prevents us from /// holding on to stuff in pallets we've asked not to keep. -fn retain_pallets_in_runtime_call_type(metadata: &mut RuntimeMetadataV15, mut filter: F) +fn retain_pallets_in_runtime_call_type(metadata: &mut Metadata, mut filter: F) where F: FnMut(&str) -> bool, { let extrinsic_ty = metadata .types .types - .get_mut(metadata.extrinsic.ty.id as usize) + .get_mut(metadata.extrinsic.ty as usize) .expect("Metadata should contain extrinsic type in registry"); let Some(call_ty) = extrinsic_ty.ty.type_params @@ -189,7 +181,7 @@ where /// Panics if the [`scale_info::PortableRegistry`] did not retain all needed types, /// or the metadata does not contain the "sp_runtime::DispatchError" type. pub fn retain_metadata( - metadata: &mut RuntimeMetadataV15, + metadata: &mut Metadata, mut pallets_filter: F, mut runtime_apis_filter: G, ) where @@ -213,11 +205,20 @@ pub fn retain_metadata( should_retain }); + // We index pallets by their u8 index for easy access. Rebuild this index. + metadata.pallets_by_index = metadata + .pallets + .values() + .iter() + .enumerate() + .map(|(pos, p)| (p.index, pos)) + .collect(); + // Keep the extrinsic stuff referenced in our metadata. collect_extrinsic_types(&metadata.extrinsic, &mut type_ids); // Keep the "runtime" type ID, since it's referenced in our metadata. - type_ids.insert(metadata.ty.id); + type_ids.insert(metadata.runtime_ty); // Keep only the runtime API types that the filter allows for. Keep hold of all // type IDs in the runtime apis we're keeping. Retain all, if no filter specified. @@ -244,31 +245,31 @@ pub fn retain_metadata( let map_ids = metadata.types.retain(|id| type_ids.contains(&id)); // And finally, we can go and update all of our type IDs in the metadata as a result of this: - for pallets in &mut metadata.pallets { + for pallets in metadata.pallets.values_mut() { update_pallet_types(pallets, &map_ids); } update_extrinsic_types(&mut metadata.extrinsic, &map_ids); - update_type(&mut metadata.ty, &map_ids); - update_runtime_api_types(&mut metadata.apis, &map_ids); + update_type(&mut metadata.runtime_ty, &map_ids); + update_runtime_api_types(metadata.apis.values_mut(), &map_ids); } #[cfg(test)] mod tests { use super::*; - use crate::metadata_v14_to_latest; + use crate::Metadata; use codec::Decode; - use frame_metadata::{v15::RuntimeMetadataV15, RuntimeMetadata, RuntimeMetadataPrefixed}; + use frame_metadata::{RuntimeMetadata, RuntimeMetadataPrefixed}; use std::{fs, path::Path}; - fn load_metadata() -> RuntimeMetadataV15 { + fn load_metadata() -> Metadata { let bytes = fs::read(Path::new("../artifacts/polkadot_metadata_full.scale")) .expect("Cannot read metadata blob"); let meta: RuntimeMetadataPrefixed = Decode::decode(&mut &*bytes).expect("Cannot decode scale metadata"); match meta.1 { - RuntimeMetadata::V14(v14) => metadata_v14_to_latest(v14), - RuntimeMetadata::V15(v15) => v15, + RuntimeMetadata::V14(v14) => v14.try_into().unwrap(), + RuntimeMetadata::V15(v15) => v15.try_into().unwrap(), _ => panic!("Unsupported metadata version {:?}", meta.1), } } @@ -278,16 +279,19 @@ mod tests { let metadata_cache = load_metadata(); // Retain one pallet at a time ensuring the test does not panic. - for pallet in &metadata_cache.pallets { + for pallet in metadata_cache.pallets() { let mut metadata = metadata_cache.clone(); retain_metadata( &mut metadata, - |pallet_name| pallet_name == pallet.name, + |pallet_name| pallet_name == pallet.name(), |_| true, ); assert_eq!(metadata.pallets.len(), 1); - assert_eq!(metadata.pallets.get(0).unwrap().name, pallet.name); + assert_eq!( + &*metadata.pallets.get_by_index(0).unwrap().name, + pallet.name() + ); } } @@ -296,16 +300,19 @@ mod tests { let metadata_cache = load_metadata(); // Retain one runtime API at a time ensuring the test does not panic. - for runtime_api in &metadata_cache.apis { + for runtime_api in metadata_cache.runtime_api_traits() { let mut metadata = metadata_cache.clone(); retain_metadata( &mut metadata, |_| true, - |runtime_api_name| runtime_api_name == runtime_api.name, + |runtime_api_name| runtime_api_name == runtime_api.name(), ); assert_eq!(metadata.apis.len(), 1); - assert_eq!(metadata.apis.get(0).unwrap().name, runtime_api.name); + assert_eq!( + &*metadata.apis.get_by_index(0).unwrap().name, + runtime_api.name() + ); } } } diff --git a/metadata/src/validation.rs b/metadata/src/utils/validation.rs similarity index 67% rename from metadata/src/validation.rs rename to metadata/src/utils/validation.rs index 47a2d6c5c1..9fa41923a9 100644 --- a/metadata/src/validation.rs +++ b/metadata/src/utils/validation.rs @@ -4,9 +4,9 @@ //! Utility functions for metadata validation. -use frame_metadata::v15::{ - ExtrinsicMetadata, PalletMetadata, RuntimeApiMetadata, RuntimeApiMethodMetadata, - RuntimeMetadataV15, StorageEntryMetadata, StorageEntryType, +use crate::{ + ExtrinsicMetadata, Metadata, PalletMetadata, RuntimeApiMetadata, RuntimeApiMethodMetadata, + StorageEntryMetadata, StorageEntryType, }; use scale_info::{form::PortableForm, Field, PortableRegistry, TypeDef, Variant}; use std::collections::HashSet; @@ -194,12 +194,12 @@ fn get_type_hash( /// Obtain the hash representation of a `frame_metadata::v15::ExtrinsicMetadata`. fn get_extrinsic_hash( registry: &PortableRegistry, - extrinsic: &ExtrinsicMetadata, + extrinsic: &ExtrinsicMetadata, ) -> [u8; HASH_LEN] { let mut visited_ids = HashSet::::new(); let mut bytes = concat_and_hash2( - &get_type_hash(registry, extrinsic.ty.id, &mut visited_ids), + &get_type_hash(registry, extrinsic.ty, &mut visited_ids), &[extrinsic.version; 32], ); @@ -207,12 +207,8 @@ fn get_extrinsic_hash( bytes = concat_and_hash4( &bytes, &hash(signed_extension.identifier.as_bytes()), - &get_type_hash(registry, signed_extension.ty.id, &mut visited_ids), - &get_type_hash( - registry, - signed_extension.additional_signed.id, - &mut visited_ids, - ), + &get_type_hash(registry, signed_extension.extra_ty, &mut visited_ids), + &get_type_hash(registry, signed_extension.additional_ty, &mut visited_ids), ) } @@ -222,33 +218,33 @@ fn get_extrinsic_hash( /// Get the hash corresponding to a single storage entry. fn get_storage_entry_hash( registry: &PortableRegistry, - entry: &StorageEntryMetadata, + entry: &StorageEntryMetadata, visited_ids: &mut HashSet, ) -> [u8; HASH_LEN] { let mut bytes = concat_and_hash3( &hash(entry.name.as_bytes()), // Cloning 'entry.modifier' should essentially be a copy. - &[entry.modifier.clone() as u8; HASH_LEN], + &[entry.modifier as u8; HASH_LEN], &hash(&entry.default), ); - match &entry.ty { + match &entry.entry_type { StorageEntryType::Plain(ty) => { - concat_and_hash2(&bytes, &get_type_hash(registry, ty.id, visited_ids)) + concat_and_hash2(&bytes, &get_type_hash(registry, *ty, visited_ids)) } StorageEntryType::Map { hashers, - key, - value, + key_ty, + value_ty, } => { for hasher in hashers { // Cloning the hasher should essentially be a copy. - bytes = concat_and_hash2(&bytes, &[hasher.clone() as u8; HASH_LEN]); + bytes = concat_and_hash2(&bytes, &[*hasher as u8; HASH_LEN]); } concat_and_hash3( &bytes, - &get_type_hash(registry, key.id, visited_ids), - &get_type_hash(registry, value.id, visited_ids), + &get_type_hash(registry, *key_ty, visited_ids), + &get_type_hash(registry, *value_ty, visited_ids), ) } } @@ -256,9 +252,9 @@ fn get_storage_entry_hash( /// Get the hash corresponding to a single runtime API method. fn get_runtime_method_hash( - metadata: &RuntimeMetadataV15, - trait_metadata: &RuntimeApiMetadata, - method_metadata: &RuntimeApiMethodMetadata, + registry: &PortableRegistry, + trait_name: &str, + method_metadata: &RuntimeApiMethodMetadata, visited_ids: &mut HashSet, ) -> [u8; HASH_LEN] { // The trait name is part of the runtime API call that is being @@ -266,7 +262,7 @@ fn get_runtime_method_hash( // connected to the method in the same way as a parameter is // to the method. let mut bytes = concat_and_hash2( - &hash(trait_metadata.name.as_bytes()), + &hash(trait_name.as_bytes()), &hash(method_metadata.name.as_bytes()), ); @@ -274,198 +270,123 @@ fn get_runtime_method_hash( bytes = concat_and_hash3( &bytes, &hash(input.name.as_bytes()), - &get_type_hash(&metadata.types, input.ty.id, visited_ids), + &get_type_hash(registry, input.ty, visited_ids), ); } bytes = concat_and_hash2( &bytes, - &get_type_hash(&metadata.types, method_metadata.output.id, visited_ids), + &get_type_hash(registry, method_metadata.output_ty, visited_ids), ); bytes } /// Obtain the hash of all of a runtime API trait, including all of its methods. -fn get_runtime_trait_hash( - metadata: &RuntimeMetadataV15, - trait_metadata: &RuntimeApiMetadata, -) -> [u8; HASH_LEN] { +fn get_runtime_trait_hash(trait_metadata: RuntimeApiMetadata) -> [u8; HASH_LEN] { let mut visited_ids = HashSet::new(); - let method_name = hash(trait_metadata.name.as_bytes()); - - let method_bytes = - trait_metadata - .methods - .iter() - .fold([0u8; HASH_LEN], |bytes, method_metadata| { - // We don't care what order the trait methods exist in, and want the hash to - // be identical regardless. For this, we can just XOR the hashes for each method - // together; we'll get the same output whichever order they are XOR'd together in, - // so long as each individual method is the same. - xor( - bytes, - get_runtime_method_hash( - metadata, - trait_metadata, - method_metadata, - &mut visited_ids, - ), - ) - }); + let trait_name = &*trait_metadata.inner.name; + let method_bytes = trait_metadata + .methods() + .fold([0u8; HASH_LEN], |bytes, method_metadata| { + // We don't care what order the trait methods exist in, and want the hash to + // be identical regardless. For this, we can just XOR the hashes for each method + // together; we'll get the same output whichever order they are XOR'd together in, + // so long as each individual method is the same. + xor( + bytes, + get_runtime_method_hash( + trait_metadata.types, + trait_name, + method_metadata, + &mut visited_ids, + ), + ) + }); - concat_and_hash2(&method_name, &method_bytes) + concat_and_hash2(&hash(trait_name.as_bytes()), &method_bytes) } /// Obtain the hash for a specific storage item, or an error if it's not found. -pub fn get_storage_hash( - metadata: &RuntimeMetadataV15, - pallet_name: &str, - storage_name: &str, -) -> Result<[u8; HASH_LEN], NotFound> { - let pallet = metadata - .pallets - .iter() - .find(|p| p.name == pallet_name) - .ok_or(NotFound::Root)?; - - let storage = pallet.storage.as_ref().ok_or(NotFound::Item)?; - - let entry = storage - .entries - .iter() - .find(|s| s.name == storage_name) - .ok_or(NotFound::Item)?; - - let hash = get_storage_entry_hash(&metadata.types, entry, &mut HashSet::new()); - Ok(hash) +pub fn get_storage_hash(pallet: &PalletMetadata, entry_name: &str) -> Option<[u8; HASH_LEN]> { + let storage = pallet.storage()?; + let entry = storage.entry_by_name(entry_name)?; + + let hash = get_storage_entry_hash(pallet.types, entry, &mut HashSet::new()); + Some(hash) } /// Obtain the hash for a specific constant, or an error if it's not found. -pub fn get_constant_hash( - metadata: &RuntimeMetadataV15, - pallet_name: &str, - constant_name: &str, -) -> Result<[u8; HASH_LEN], NotFound> { - let pallet = metadata - .pallets - .iter() - .find(|p| p.name == pallet_name) - .ok_or(NotFound::Root)?; - - let constant = pallet - .constants - .iter() - .find(|c| c.name == constant_name) - .ok_or(NotFound::Item)?; +pub fn get_constant_hash(pallet: &PalletMetadata, constant_name: &str) -> Option<[u8; HASH_LEN]> { + let constant = pallet.constant_by_name(constant_name)?; // We only need to check that the type of the constant asked for matches. - let bytes = get_type_hash(&metadata.types, constant.ty.id, &mut HashSet::new()); - Ok(bytes) + let bytes = get_type_hash(pallet.types, constant.ty, &mut HashSet::new()); + Some(bytes) } /// Obtain the hash for a specific call, or an error if it's not found. -pub fn get_call_hash( - metadata: &RuntimeMetadataV15, - pallet_name: &str, - call_name: &str, -) -> Result<[u8; HASH_LEN], NotFound> { - let pallet = metadata - .pallets - .iter() - .find(|p| p.name == pallet_name) - .ok_or(NotFound::Root)?; - - let call_id = pallet.calls.as_ref().ok_or(NotFound::Item)?.ty.id; - - let call_ty = metadata.types.resolve(call_id).ok_or(NotFound::Item)?; - - let call_variants = match &call_ty.type_def { - TypeDef::Variant(variant) => &variant.variants, - _ => return Err(NotFound::Item), - }; - - let variant = call_variants - .iter() - .find(|v| v.name == call_name) - .ok_or(NotFound::Item)?; +pub fn get_call_hash(pallet: &PalletMetadata, call_name: &str) -> Option<[u8; HASH_LEN]> { + let call_variant = pallet.call_variant_by_name(call_name)?; // hash the specific variant representing the call we are interested in. - let hash = get_variant_hash(&metadata.types, variant, &mut HashSet::new()); - Ok(hash) + let hash = get_variant_hash(pallet.types, call_variant, &mut HashSet::new()); + Some(hash) } /// Obtain the hash of a specific runtime API function, or an error if it's not found. pub fn get_runtime_api_hash( - metadata: &RuntimeMetadataV15, - trait_name: &str, + runtime_apis: &RuntimeApiMetadata, method_name: &str, -) -> Result<[u8; HASH_LEN], NotFound> { - let trait_metadata = metadata - .apis - .iter() - .find(|m| m.name == trait_name) - .ok_or(NotFound::Root)?; - - let method_metadata = trait_metadata - .methods - .iter() - .find(|m| m.name == method_name) - .ok_or(NotFound::Item)?; - - Ok(get_runtime_method_hash( - metadata, - trait_metadata, +) -> Option<[u8; HASH_LEN]> { + let trait_name = &*runtime_apis.inner.name; + let method_metadata = runtime_apis.method_by_name(method_name)?; + + Some(get_runtime_method_hash( + runtime_apis.types, + trait_name, method_metadata, &mut HashSet::new(), )) } /// Obtain the hash representation of a `frame_metadata::v15::PalletMetadata`. -pub fn get_pallet_hash( - registry: &PortableRegistry, - pallet: &PalletMetadata, -) -> [u8; HASH_LEN] { +pub fn get_pallet_hash(pallet: PalletMetadata) -> [u8; HASH_LEN] { let mut visited_ids = HashSet::::new(); + let registry = pallet.types; - let call_bytes = match &pallet.calls { - Some(calls) => get_type_hash(registry, calls.ty.id, &mut visited_ids), + let call_bytes = match pallet.call_ty_id() { + Some(calls) => get_type_hash(registry, calls, &mut visited_ids), None => [0u8; HASH_LEN], }; - let event_bytes = match &pallet.event { - Some(event) => get_type_hash(registry, event.ty.id, &mut visited_ids), + let event_bytes = match pallet.event_ty_id() { + Some(event) => get_type_hash(registry, event, &mut visited_ids), None => [0u8; HASH_LEN], }; - let error_bytes = match &pallet.error { - Some(error) => get_type_hash(registry, error.ty.id, &mut visited_ids), + let error_bytes = match pallet.error_ty_id() { + Some(error) => get_type_hash(registry, error, &mut visited_ids), None => [0u8; HASH_LEN], }; - let constant_bytes = pallet - .constants - .iter() - .fold([0u8; HASH_LEN], |bytes, constant| { - // We don't care what order the constants occur in, so XOR together the combinations - // of (constantName, constantType) to make the order we see them irrelevant. - let constant_hash = concat_and_hash2( - &hash(constant.name.as_bytes()), - &get_type_hash(registry, constant.ty.id, &mut visited_ids), - ); - xor(bytes, constant_hash) - }); - let storage_bytes = match &pallet.storage { + let constant_bytes = pallet.constants().fold([0u8; HASH_LEN], |bytes, constant| { + // We don't care what order the constants occur in, so XOR together the combinations + // of (constantName, constantType) to make the order we see them irrelevant. + let constant_hash = concat_and_hash2( + &hash(constant.name.as_bytes()), + &get_type_hash(registry, constant.ty(), &mut visited_ids), + ); + xor(bytes, constant_hash) + }); + let storage_bytes = match pallet.storage() { Some(storage) => { - let prefix_hash = hash(storage.prefix.as_bytes()); - let entries_hash = storage - .entries - .iter() - .fold([0u8; HASH_LEN], |bytes, entry| { - // We don't care what order the storage entries occur in, so XOR them together - // to make the order irrelevant. - xor( - bytes, - get_storage_entry_hash(registry, entry, &mut visited_ids), - ) - }); + let prefix_hash = hash(storage.prefix().as_bytes()); + let entries_hash = storage.entries().fold([0u8; HASH_LEN], |bytes, entry| { + // We don't care what order the storage entries occur in, so XOR them together + // to make the order irrelevant. + xor( + bytes, + get_storage_entry_hash(registry, entry, &mut visited_ids), + ) + }); concat_and_hash2(&prefix_hash, &entries_hash) } None => [0u8; HASH_LEN], @@ -481,21 +402,18 @@ pub fn get_pallet_hash( ) } -/// Obtain the hash representation of a `frame_metadata::v15::RuntimeMetadataV15`. +/// Obtain a hash representation of our metadata or some part of it. +/// This is obtained by calling [`crate::Metadata::hasher()`]. pub struct MetadataHasher<'a> { + metadata: &'a Metadata, specific_pallets: Option>, } -impl<'a> Default for MetadataHasher<'a> { - fn default() -> Self { - MetadataHasher::new() - } -} - impl<'a> MetadataHasher<'a> { /// Create a new [`MetadataHasher`] - pub fn new() -> Self { + pub(crate) fn new(metadata: &'a Metadata) -> Self { Self { + metadata, specific_pallets: None, } } @@ -507,67 +425,43 @@ impl<'a> MetadataHasher<'a> { } /// Hash the given metadata. - pub fn hash(&self, metadata: &RuntimeMetadataV15) -> [u8; HASH_LEN] { + pub fn hash(&self) -> [u8; HASH_LEN] { let mut visited_ids = HashSet::::new(); - let pallet_hash = metadata - .pallets - .iter() - .fold([0u8; HASH_LEN], |bytes, pallet| { - // If specific pallets are given, only include this pallet if it's - // in the list. - if let Some(specific_pallets) = &self.specific_pallets { - if specific_pallets.iter().all(|&p| p != pallet.name) { - return bytes; - } - } - // We don't care what order the pallets are seen in, so XOR their - // hashes together to be order independent. - xor(bytes, get_pallet_hash(&metadata.types, pallet)) - }); + let metadata = self.metadata; - let apis_hash = metadata.apis.iter().fold([0u8; HASH_LEN], |bytes, api| { - // We don't care what order the runtime APIs are seen in, so XOR - xor(bytes, get_runtime_trait_hash(metadata, api)) + let pallet_hash = metadata.pallets().fold([0u8; HASH_LEN], |bytes, pallet| { + // If specific pallets are given, only include this pallet if it's + // in the list. + if let Some(specific_pallets) = &self.specific_pallets { + if specific_pallets.iter().all(|&p| p != pallet.name()) { + return bytes; + } + } + // We don't care what order the pallets are seen in, so XOR their + // hashes together to be order independent. + xor(bytes, get_pallet_hash(pallet)) }); + let apis_hash = metadata + .runtime_api_traits() + .fold([0u8; HASH_LEN], |bytes, api| { + // We don't care what order the runtime APIs are seen in, so XOR + xor(bytes, get_runtime_trait_hash(api)) + }); + let extrinsic_hash = get_extrinsic_hash(&metadata.types, &metadata.extrinsic); - let runtime_hash = get_type_hash(&metadata.types, metadata.ty.id, &mut visited_ids); + let runtime_hash = get_type_hash(&metadata.types, metadata.runtime_ty(), &mut visited_ids); concat_and_hash4(&pallet_hash, &apis_hash, &extrinsic_hash, &runtime_hash) } } -/// An error returned if we attempt to get the hash for a specific call, constant, -/// storage or runtime API function does not exist. -/// -/// The location of the specific item (call, constant, storage or runtime API function) -/// is stored with two indirections: -/// - Root -/// The root location of the item. For calls, constants, storage this represents the -/// pallet name. While for runtime API function this represents the trait name. -/// - Item -/// The actual item. For calls, constants, storage this represents the actual name. -/// While for runtime API functions this represents the method name. -#[derive(Clone, Debug)] -pub enum NotFound { - /// The root location of the item cannot be found. - /// - pallet name: for calls, constants, storage - /// - trait name: for runtime API functions - Root, - /// The actual item name cannot be found. - Item, -} - #[cfg(test)] mod tests { use super::*; use bitvec::{order::Lsb0, vec::BitVec}; - use frame_metadata::v15::{ - ExtrinsicMetadata, PalletCallMetadata, PalletConstantMetadata, PalletErrorMetadata, - PalletEventMetadata, PalletMetadata, PalletStorageMetadata, RuntimeMetadataV15, - StorageEntryMetadata, StorageEntryModifier, - }; + use frame_metadata::v15; use scale_info::meta_type; // Define recursive types. @@ -623,16 +517,16 @@ mod tests { Remark { remark: DigestItem }, } - fn build_default_extrinsic() -> ExtrinsicMetadata { - ExtrinsicMetadata { + fn build_default_extrinsic() -> v15::ExtrinsicMetadata { + v15::ExtrinsicMetadata { ty: meta_type::<()>(), version: 0, signed_extensions: vec![], } } - fn default_pallet() -> PalletMetadata { - PalletMetadata { + fn default_pallet() -> v15::PalletMetadata { + v15::PalletMetadata { name: "Test", storage: None, calls: None, @@ -644,19 +538,19 @@ mod tests { } } - fn build_default_pallets() -> Vec { + fn build_default_pallets() -> Vec { vec![ - PalletMetadata { + v15::PalletMetadata { name: "First", - calls: Some(PalletCallMetadata { + calls: Some(v15::PalletCallMetadata { ty: meta_type::(), }), ..default_pallet() }, - PalletMetadata { + v15::PalletMetadata { name: "Second", index: 1, - calls: Some(PalletCallMetadata { + calls: Some(v15::PalletCallMetadata { ty: meta_type::<(DigestItem, AccountId32, A)>(), }), ..default_pallet() @@ -664,13 +558,15 @@ mod tests { ] } - fn pallets_to_metadata(pallets: Vec) -> RuntimeMetadataV15 { - RuntimeMetadataV15::new( + fn pallets_to_metadata(pallets: Vec) -> Metadata { + v15::RuntimeMetadataV15::new( pallets, build_default_extrinsic(), meta_type::<()>(), vec![], ) + .try_into() + .expect("can build valid metadata") } #[test] @@ -686,8 +582,8 @@ mod tests { pallets_swap[1].index = 1; let metadata_swap = pallets_to_metadata(pallets_swap); - let hash = MetadataHasher::new().hash(&metadata); - let hash_swap = MetadataHasher::new().hash(&metadata_swap); + let hash = MetadataHasher::new(&metadata).hash(); + let hash_swap = MetadataHasher::new(&metadata_swap).hash(); // Changing pallet order must still result in a deterministic unique hash. assert_eq!(hash, hash_swap); @@ -696,13 +592,13 @@ mod tests { #[test] fn recursive_type() { let mut pallet = default_pallet(); - pallet.calls = Some(PalletCallMetadata { + pallet.calls = Some(v15::PalletCallMetadata { ty: meta_type::(), }); let metadata = pallets_to_metadata(vec![pallet]); // Check hashing algorithm finishes on a recursive type. - MetadataHasher::new().hash(&metadata); + MetadataHasher::new(&metadata).hash(); } #[test] @@ -713,10 +609,10 @@ mod tests { /// must produce the same deterministic hashing value. fn recursive_types_different_order() { let mut pallets = build_default_pallets(); - pallets[0].calls = Some(PalletCallMetadata { + pallets[0].calls = Some(v15::PalletCallMetadata { ty: meta_type::(), }); - pallets[1].calls = Some(PalletCallMetadata { + pallets[1].calls = Some(v15::PalletCallMetadata { ty: meta_type::(), }); pallets[1].index = 1; @@ -728,8 +624,8 @@ mod tests { pallets_swap[1].index = 1; let metadata_swap = pallets_to_metadata(pallets_swap); - let hash = MetadataHasher::new().hash(&metadata); - let hash_swap = MetadataHasher::new().hash(&metadata_swap); + let hash = MetadataHasher::new(&metadata).hash(); + let hash_swap = MetadataHasher::new(&metadata_swap).hash(); // Changing pallet order must still result in a deterministic unique hash. assert_eq!(hash, hash_swap); @@ -737,12 +633,12 @@ mod tests { #[test] fn pallet_hash_correctness() { - let compare_pallets_hash = |lhs: &PalletMetadata, rhs: &PalletMetadata| { + let compare_pallets_hash = |lhs: &v15::PalletMetadata, rhs: &v15::PalletMetadata| { let metadata = pallets_to_metadata(vec![lhs.clone()]); - let hash = MetadataHasher::new().hash(&metadata); + let hash = MetadataHasher::new(&metadata).hash(); let metadata = pallets_to_metadata(vec![rhs.clone()]); - let new_hash = MetadataHasher::new().hash(&metadata); + let new_hash = MetadataHasher::new(&metadata).hash(); assert_ne!(hash, new_hash); }; @@ -750,12 +646,12 @@ mod tests { // Build metadata progressively from an empty pallet to a fully populated pallet. let mut pallet = default_pallet(); let pallet_lhs = pallet.clone(); - pallet.storage = Some(PalletStorageMetadata { + pallet.storage = Some(v15::PalletStorageMetadata { prefix: "Storage", - entries: vec![StorageEntryMetadata { + entries: vec![v15::StorageEntryMetadata { name: "BlockWeight", - modifier: StorageEntryModifier::Default, - ty: StorageEntryType::Plain(meta_type::()), + modifier: v15::StorageEntryModifier::Default, + ty: v15::StorageEntryType::Plain(meta_type::()), default: vec![], docs: vec![], }], @@ -771,20 +667,20 @@ mod tests { // call_name_02 { arg01: type, arg02: type } // } // ``` - pallet.calls = Some(PalletCallMetadata { + pallet.calls = Some(v15::PalletCallMetadata { ty: meta_type::(), }); compare_pallets_hash(&pallet_lhs, &pallet); let pallet_lhs = pallet.clone(); // Events are similar to Calls. - pallet.event = Some(PalletEventMetadata { + pallet.event = Some(v15::PalletEventMetadata { ty: meta_type::(), }); compare_pallets_hash(&pallet_lhs, &pallet); let pallet_lhs = pallet.clone(); - pallet.constants = vec![PalletConstantMetadata { + pallet.constants = vec![v15::PalletConstantMetadata { name: "BlockHashCount", ty: meta_type::(), value: vec![96u8, 0, 0, 0], @@ -793,7 +689,7 @@ mod tests { compare_pallets_hash(&pallet_lhs, &pallet); let pallet_lhs = pallet.clone(); - pallet.error = Some(PalletErrorMetadata { + pallet.error = Some(v15::PalletErrorMetadata { ty: meta_type::(), }); compare_pallets_hash(&pallet_lhs, &pallet); @@ -809,27 +705,27 @@ mod tests { let metadata_both = pallets_to_metadata(pallets); // Hashing will ignore any non-existant pallet and return the same result. - let hash = MetadataHasher::new() + let hash = MetadataHasher::new(&metadata_one) .only_these_pallets(&["First", "Second"]) - .hash(&metadata_one); - let hash_rhs = MetadataHasher::new() + .hash(); + let hash_rhs = MetadataHasher::new(&metadata_one) .only_these_pallets(&["First"]) - .hash(&metadata_one); + .hash(); assert_eq!(hash, hash_rhs, "hashing should ignore non-existant pallets"); // Hashing one pallet from metadata with 2 pallets inserted will ignore the second pallet. - let hash_second = MetadataHasher::new() + let hash_second = MetadataHasher::new(&metadata_both) .only_these_pallets(&["First"]) - .hash(&metadata_both); + .hash(); assert_eq!( hash_second, hash, "hashing one pallet should ignore the others" ); // Check hashing with all pallets. - let hash_second = MetadataHasher::new() + let hash_second = MetadataHasher::new(&metadata_both) .only_these_pallets(&["First", "Second"]) - .hash(&metadata_both); + .hash(); assert_ne!( hash_second, hash, "hashing both pallets should produce a different result from hashing just one pallet" @@ -841,12 +737,12 @@ mod tests { // Get a hash representation of the provided meta type, // inserted in the context of pallet metadata call. let to_hash = |meta_ty| { - let pallet = PalletMetadata { - calls: Some(PalletCallMetadata { ty: meta_ty }), + let pallet = v15::PalletMetadata { + calls: Some(v15::PalletCallMetadata { ty: meta_ty }), ..default_pallet() }; let metadata = pallets_to_metadata(vec![pallet]); - MetadataHasher::new().hash(&metadata) + MetadataHasher::new(&metadata).hash() }; #[allow(dead_code)] diff --git a/metadata/src/utils/variant_index.rs b/metadata/src/utils/variant_index.rs new file mode 100644 index 0000000000..8f0ce4935f --- /dev/null +++ b/metadata/src/utils/variant_index.rs @@ -0,0 +1,86 @@ +// Copyright 2019-2023 Parity Technologies (UK) Ltd. +// This file is dual-licensed as Apache-2.0 or GPL-3.0. +// see LICENSE for license details. + +use scale_info::{form::PortableForm, PortableRegistry, TypeDef, Variant}; +use std::collections::HashMap; + +/// Given some type ID and type registry, build a couple of +/// indexes to look up variants by index or name. If the ID provided +/// is not a variant, the index will be empty. +/// +/// API optimized for dealing with the `Option` variant type IDs +/// that we get in metadata pallets. +#[derive(Debug, Clone)] +pub struct VariantIndex { + by_name: HashMap, + by_index: HashMap, +} + +impl VariantIndex { + /// Build indexes from the optional variant ID. + pub fn build(variant_id: Option, types: &PortableRegistry) -> Self { + let Some(variants) = Self::get(variant_id, types) else { + return Self::empty() + }; + + let mut by_name = HashMap::new(); + let mut by_index = HashMap::new(); + for (pos, variant) in variants.iter().enumerate() { + by_name.insert(variant.name.to_owned(), pos); + by_index.insert(variant.index, pos); + } + + Self { by_name, by_index } + } + + /// Build an empty index. + pub fn empty() -> Self { + Self { + by_name: Default::default(), + by_index: Default::default(), + } + } + + /// Get the variants we're pointing at; None if this isn't possible. + pub fn get( + variant_id: Option, + types: &PortableRegistry, + ) -> Option<&[Variant]> { + let Some(variant_id) = variant_id else { + return None + }; + let TypeDef::Variant(v) = &types.resolve(variant_id)?.type_def else { + return None + }; + Some(&v.variants) + } + + /// Lookup a variant by name; `None` if the type is not a variant or name isn't found. + pub fn lookup_by_name<'a, K>( + &self, + name: &K, + variant_id: Option, + types: &'a PortableRegistry, + ) -> Option<&'a Variant> + where + String: std::borrow::Borrow, + K: std::hash::Hash + Eq + ?Sized, + { + let pos = *self.by_name.get(name)?; + let variants = Self::get(variant_id, types)?; + variants.get(pos) + } + + /// Lookup a variant by index; `None` if the type is not a variant or index isn't found. + pub fn lookup_by_index<'a>( + &self, + index: u8, + variant_id: Option, + types: &'a PortableRegistry, + ) -> Option<&'a Variant> { + let pos = *self.by_index.get(&index)?; + let variants = Self::get(variant_id, types)?; + variants.get(pos) + } +} diff --git a/subxt/Cargo.toml b/subxt/Cargo.toml index f32ce34947..2264bfa9dc 100644 --- a/subxt/Cargo.toml +++ b/subxt/Cargo.toml @@ -53,7 +53,6 @@ serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true, features = ["raw_value"] } thiserror = { workspace = true } tracing = { workspace = true } -parking_lot = { workspace = true } frame-metadata = { workspace = true } derivative = { workspace = true } either = { workspace = true } diff --git a/subxt/src/blocks/block_types.rs b/subxt/src/blocks/block_types.rs index 37830973ee..b4cea291f7 100644 --- a/subxt/src/blocks/block_types.rs +++ b/subxt/src/blocks/block_types.rs @@ -70,7 +70,7 @@ where /// Fetch and return the block body. pub async fn body(&self) -> Result, Error> { - let ids = ExtrinsicPartTypeIds::new(self.client.metadata().runtime_metadata())?; + let ids = ExtrinsicPartTypeIds::new(&self.client.metadata())?; let block_hash = self.header.hash(); let Some(block_details) = self.client.rpc().block(Some(block_hash)).await? else { return Err(BlockError::not_found(block_hash).into()); diff --git a/subxt/src/blocks/extrinsic_types.rs b/subxt/src/blocks/extrinsic_types.rs index 1783ca3a3e..6dd9e3f2b7 100644 --- a/subxt/src/blocks/extrinsic_types.rs +++ b/subxt/src/blocks/extrinsic_types.rs @@ -6,16 +6,15 @@ use crate::{ blocks::block_types::{get_events, CachedEvents}, client::{OfflineClientT, OnlineClientT}, config::{Config, Hasher}, - error::{BlockError, Error}, + error::{BlockError, Error, MetadataError}, events, - metadata::ExtrinsicMetadata, + metadata::types::PalletMetadata, rpc::types::ChainBlockExtrinsic, Metadata, }; use codec::Decode; use derivative::Derivative; -use frame_metadata::v15::RuntimeMetadataV15; use scale_decode::DecodeAsFields; use std::{collections::HashMap, sync::Arc}; @@ -242,7 +241,7 @@ where scale_decode::visitor::decode_with_visitor( cursor, ids.address, - &metadata.runtime_metadata().types, + metadata.types(), scale_decode::visitor::IgnoreVisitor, ) .map_err(scale_decode::Error::from)?; @@ -251,7 +250,7 @@ where scale_decode::visitor::decode_with_visitor( cursor, ids.signature, - &metadata.runtime_metadata().types, + metadata.types(), scale_decode::visitor::IgnoreVisitor, ) .map_err(scale_decode::Error::from)?; @@ -259,7 +258,7 @@ where scale_decode::visitor::decode_with_visitor( cursor, ids.extra, - &metadata.runtime_metadata().types, + metadata.types(), scale_decode::visitor::IgnoreVisitor, ) .map_err(scale_decode::Error::from)?; @@ -357,19 +356,25 @@ where /// The name of the pallet from whence the extrinsic originated. pub fn pallet_name(&self) -> Result<&str, Error> { - Ok(self.extrinsic_metadata()?.pallet()) + Ok(self.extrinsic_metadata()?.pallet.name()) } /// The name of the call (ie the name of the variant that it corresponds to). pub fn variant_name(&self) -> Result<&str, Error> { - Ok(self.extrinsic_metadata()?.call()) + Ok(&self.extrinsic_metadata()?.variant.name) } /// Fetch the metadata for this extrinsic. - pub fn extrinsic_metadata(&self) -> Result<&ExtrinsicMetadata, Error> { - Ok(self + pub fn extrinsic_metadata(&self) -> Result { + let pallet = self .metadata - .extrinsic(self.pallet_index(), self.variant_index())?) + .pallet_by_index(self.pallet_index()) + .ok_or_else(|| MetadataError::PalletIndexNotFound(self.pallet_index()))?; + let variant = pallet + .call_variant_by_index(self.variant_index()) + .ok_or_else(|| MetadataError::VariantIndexNotFound(self.variant_index()))?; + + Ok(ExtrinsicMetadataDetails { pallet, variant }) } /// Decode and provide the extrinsic fields back in the form of a [`scale_value::Composite`] @@ -382,8 +387,8 @@ where let decoded = >::decode_as_fields( bytes, - extrinsic_metadata.fields(), - &self.metadata.runtime_metadata().types, + &extrinsic_metadata.variant.fields, + self.metadata.types(), )?; Ok(decoded) @@ -393,10 +398,12 @@ where /// Such types are exposed in the codegen as `pallet_name::calls::types::CallName` types. pub fn as_extrinsic(&self) -> Result, Error> { let extrinsic_metadata = self.extrinsic_metadata()?; - if extrinsic_metadata.pallet() == E::PALLET && extrinsic_metadata.call() == E::CALL { + if extrinsic_metadata.pallet.name() == E::PALLET + && extrinsic_metadata.variant.name == E::CALL + { let decoded = E::decode_as_fields( &mut self.field_bytes(), - extrinsic_metadata.fields(), + &extrinsic_metadata.variant.fields, self.metadata.types(), )?; Ok(Some(decoded)) @@ -409,18 +416,15 @@ where /// the pallet and extrinsic enum variants as well as the extrinsic fields). A compatible /// type for this is exposed via static codegen as a root level `Call` type. pub fn as_root_extrinsic(&self) -> Result { - let pallet = self.metadata.pallet(self.pallet_name()?)?; - let pallet_extrinsic_ty = pallet.call_ty_id().ok_or_else(|| { - Error::Metadata(crate::metadata::MetadataError::ExtrinsicNotFound( - pallet.index(), - self.variant_index(), - )) + let md = self.extrinsic_metadata()?; + let pallet_extrinsic_ty = md.pallet.call_ty_id().ok_or_else(|| { + Error::Metadata(MetadataError::CallTypeNotFoundInPallet(md.pallet.index())) })?; // Ignore root enum index. E::root_extrinsic( &self.call_bytes()[1..], - self.pallet_name()?, + md.pallet.name(), pallet_extrinsic_ty, &self.metadata, ) @@ -440,6 +444,12 @@ where } } +/// Details for the given extrinsic plucked from the metadata. +pub struct ExtrinsicMetadataDetails<'a> { + pub pallet: PalletMetadata<'a>, + pub variant: &'a scale_info::Variant, +} + /// The type IDs extracted from the metadata that represent the /// generic type parameters passed to the `UncheckedExtrinsic` from /// the substrate-based chain. @@ -459,15 +469,15 @@ pub(crate) struct ExtrinsicPartTypeIds { impl ExtrinsicPartTypeIds { /// Extract the generic type parameters IDs from the extrinsic type. - pub(crate) fn new(metadata: &RuntimeMetadataV15) -> Result { + pub(crate) fn new(metadata: &Metadata) -> Result { const ADDRESS: &str = "Address"; const CALL: &str = "Call"; const SIGNATURE: &str = "Signature"; const EXTRA: &str = "Extra"; - let id = metadata.extrinsic.ty.id; + let id = metadata.extrinsic().ty(); - let Some(ty) = metadata.types.resolve(id) else { + let Some(ty) = metadata.types().resolve(id) else { return Err(BlockError::MissingType); }; @@ -732,7 +742,7 @@ mod tests { let meta = RuntimeMetadataV15::new(pallets, extrinsic, meta_type::<()>(), vec![]); let runtime_metadata: RuntimeMetadataPrefixed = meta.into(); - Metadata::try_from(runtime_metadata).unwrap() + Metadata::new(runtime_metadata.try_into().unwrap()) } /// Build an offline client to work with the test metadata. @@ -752,18 +762,20 @@ mod tests { let metadata = metadata(); // Except our metadata to contain the registered types. - let extrinsic = metadata - .extrinsic(0, 2) + let pallet = metadata.pallet_by_index(0).expect("pallet exists"); + let extrinsic = pallet + .call_variant_by_index(2) .expect("metadata contains the RuntimeCall enum with this pallet"); - assert_eq!(extrinsic.pallet(), "Test"); - assert_eq!(extrinsic.call(), "TestCall"); + + assert_eq!(pallet.name(), "Test"); + assert_eq!(&extrinsic.name, "TestCall"); } #[test] fn insufficient_extrinsic_bytes() { let metadata = metadata(); let client = client(metadata.clone()); - let ids = ExtrinsicPartTypeIds::new(metadata.runtime_metadata()).unwrap(); + let ids = ExtrinsicPartTypeIds::new(&metadata).unwrap(); // Decode with empty bytes. let result = ExtrinsicDetails::decode_from( @@ -781,7 +793,7 @@ mod tests { fn unsupported_version_extrinsic() { let metadata = metadata(); let client = client(metadata.clone()); - let ids = ExtrinsicPartTypeIds::new(metadata.runtime_metadata()).unwrap(); + let ids = ExtrinsicPartTypeIds::new(&metadata).unwrap(); // Decode with invalid version. let result = ExtrinsicDetails::decode_from( @@ -805,7 +817,7 @@ mod tests { fn statically_decode_extrinsic() { let metadata = metadata(); let client = client(metadata.clone()); - let ids = ExtrinsicPartTypeIds::new(metadata.runtime_metadata()).unwrap(); + let ids = ExtrinsicPartTypeIds::new(&metadata).unwrap(); let tx = crate::tx::dynamic( "Test", diff --git a/subxt/src/book/usage/runtime_apis.rs b/subxt/src/book/usage/runtime_apis.rs index 37ec878f42..9279bed078 100644 --- a/subxt/src/book/usage/runtime_apis.rs +++ b/subxt/src/book/usage/runtime_apis.rs @@ -38,7 +38,8 @@ //! //! let account = AccountKeyring::Alice.to_account_id(); //! let runtime_call = subxt::dynamic::runtime_api_call( -//! "Metadata_metadata_versions", +//! "Metadata", +//! "metadata_versions", //! Vec::>::new() //! ); //! ``` diff --git a/subxt/src/client/offline_client.rs b/subxt/src/client/offline_client.rs index 815ca2a071..e93f786f66 100644 --- a/subxt/src/client/offline_client.rs +++ b/subxt/src/client/offline_client.rs @@ -73,13 +73,13 @@ impl OfflineClient { pub fn new( genesis_hash: T::Hash, runtime_version: RuntimeVersion, - metadata: Metadata, + metadata: impl Into, ) -> OfflineClient { OfflineClient { inner: Arc::new(Inner { genesis_hash, runtime_version, - metadata, + metadata: metadata.into(), }), } } diff --git a/subxt/src/client/online_client.rs b/subxt/src/client/online_client.rs index 44f68635fc..5eeb9ef182 100644 --- a/subxt/src/client/online_client.rs +++ b/subxt/src/client/online_client.rs @@ -19,8 +19,7 @@ use crate::{ }; use derivative::Derivative; use futures::future; -use parking_lot::RwLock; -use std::sync::Arc; +use std::sync::{Arc, RwLock}; /// A trait representing a client that can perform /// online actions. @@ -119,14 +118,14 @@ impl OnlineClient { pub fn from_rpc_client_with( genesis_hash: T::Hash, runtime_version: RuntimeVersion, - metadata: Metadata, + metadata: impl Into, rpc_client: Arc, ) -> Result, Error> { Ok(OnlineClient { inner: Arc::new(RwLock::new(Inner { genesis_hash, runtime_version, - metadata, + metadata: metadata.into(), })), rpc: Rpc::new(rpc_client), }) @@ -196,7 +195,7 @@ impl OnlineClient { /// Return the [`Metadata`] used in this client. pub fn metadata(&self) -> Metadata { - let inner = self.inner.read(); + let inner = self.inner.read().expect("shouldn't be poisoned"); inner.metadata.clone() } @@ -206,14 +205,14 @@ impl OnlineClient { /// /// Setting custom metadata may leave Subxt unable to work with certain blocks, /// subscribe to latest blocks or submit valid transactions. - pub fn set_metadata(&self, metadata: Metadata) { - let mut inner = self.inner.write(); - inner.metadata = metadata; + pub fn set_metadata(&self, metadata: impl Into) { + let mut inner = self.inner.write().expect("shouldn't be poisoned"); + inner.metadata = metadata.into(); } /// Return the genesis hash. pub fn genesis_hash(&self) -> T::Hash { - let inner = self.inner.read(); + let inner = self.inner.read().expect("shouldn't be poisoned"); inner.genesis_hash } @@ -224,13 +223,13 @@ impl OnlineClient { /// Setting a custom genesis hash may leave Subxt unable to /// submit valid transactions. pub fn set_genesis_hash(&self, genesis_hash: T::Hash) { - let mut inner = self.inner.write(); + let mut inner = self.inner.write().expect("shouldn't be poisoned"); inner.genesis_hash = genesis_hash; } /// Return the runtime version. pub fn runtime_version(&self) -> RuntimeVersion { - let inner = self.inner.read(); + let inner = self.inner.read().expect("shouldn't be poisoned"); inner.runtime_version.clone() } @@ -241,7 +240,7 @@ impl OnlineClient { /// Setting a custom runtime version may leave Subxt unable to /// submit valid transactions. pub fn set_runtime_version(&self, runtime_version: RuntimeVersion) { - let mut inner = self.inner.write(); + let mut inner = self.inner.write().expect("shouldn't be poisoned"); inner.runtime_version = runtime_version; } @@ -252,7 +251,7 @@ impl OnlineClient { /// Return an offline client with the same configuration as this. pub fn offline(&self) -> OfflineClient { - let inner = self.inner.read(); + let inner = self.inner.read().expect("shouldn't be poisoned"); OfflineClient::new( inner.genesis_hash, inner.runtime_version.clone(), @@ -318,12 +317,12 @@ pub struct ClientRuntimeUpdater(OnlineClient); impl ClientRuntimeUpdater { fn is_runtime_version_different(&self, new: &RuntimeVersion) -> bool { - let curr = self.0.inner.read(); + let curr = self.0.inner.read().expect("shouldn't be poisoned"); &curr.runtime_version != new } fn do_update(&self, update: Update) { - let mut writable = self.0.inner.write(); + let mut writable = self.0.inner.write().expect("shouldn't be poisoned"); writable.metadata = update.metadata; writable.runtime_version = update.runtime_version; } diff --git a/subxt/src/constants/constants_client.rs b/subxt/src/constants/constants_client.rs index e81a25b9dc..6db520c4fa 100644 --- a/subxt/src/constants/constants_client.rs +++ b/subxt/src/constants/constants_client.rs @@ -5,8 +5,8 @@ use super::ConstantAddress; use crate::{ client::OfflineClientT, - error::Error, - metadata::{DecodeWithMetadata, MetadataError}, + error::{Error, MetadataError}, + metadata::DecodeWithMetadata, Config, }; use derivative::Derivative; @@ -39,13 +39,14 @@ impl> ConstantsClient { let expected_hash = self .client .metadata() - .constant_hash(address.pallet_name(), address.constant_name())?; + .pallet_by_name(address.pallet_name()) + .ok_or_else(|| MetadataError::PalletNameNotFound(address.pallet_name().to_owned()))? + .constant_hash(address.constant_name()) + .ok_or_else(|| { + MetadataError::ConstantNameNotFound(address.constant_name().to_owned()) + })?; if actual_hash != expected_hash { - return Err(MetadataError::IncompatibleConstantMetadata( - address.pallet_name().into(), - address.constant_name().into(), - ) - .into()); + return Err(MetadataError::IncompatibleCodegen.into()); } } Ok(()) @@ -64,11 +65,17 @@ impl> ConstantsClient { self.validate(address)?; // 2. Attempt to decode the constant into the type given: - let pallet = metadata.pallet(address.pallet_name())?; - let constant = pallet.constant(address.constant_name())?; + let pallet = metadata + .pallet_by_name(address.pallet_name()) + .ok_or_else(|| MetadataError::PalletNameNotFound(address.pallet_name().to_owned()))?; + let constant = pallet + .constant_by_name(address.constant_name()) + .ok_or_else(|| { + MetadataError::ConstantNameNotFound(address.constant_name().to_owned()) + })?; let value = ::decode_with_metadata( - &mut &*constant.value, - constant.ty.id, + &mut constant.value(), + constant.ty(), &metadata, )?; Ok(value) diff --git a/subxt/src/error/dispatch_error.rs b/subxt/src/error/dispatch_error.rs index aa730b0bc6..64a4378b39 100644 --- a/subxt/src/error/dispatch_error.rs +++ b/subxt/src/error/dispatch_error.rs @@ -10,7 +10,7 @@ use core::fmt::Debug; use scale_decode::visitor::DecodeAsTypeResult; use std::borrow::Cow; -use super::Error; +use super::{Error, MetadataError}; use crate::error::RootError; /// An error dispatching a transaction. @@ -145,20 +145,27 @@ impl std::fmt::Display for ModuleError { return f.write_str("Unknown pallet error (pallet and error details cannot be retrieved)"); }; - let pallet = details.pallet(); - let error = details.error(); + let pallet = details.pallet.name(); + let error = &details.variant.name; write!(f, "Pallet error {pallet}::{error}") } } impl ModuleError { /// Return more details about this error. - pub fn details(&self) -> Result<&crate::metadata::ErrorMetadata, super::Error> { - let error_details = self + pub fn details(&self) -> Result { + let pallet = self .metadata - .error(self.raw.pallet_index, self.raw.error[0])?; - Ok(error_details) + .pallet_by_index(self.raw.pallet_index) + .ok_or(MetadataError::PalletIndexNotFound(self.raw.pallet_index))?; + + let variant = pallet + .error_variant_by_index(self.raw.error[0]) + .ok_or_else(|| MetadataError::VariantIndexNotFound(self.raw.error[0]))?; + + Ok(ModuleErrorDetails { pallet, variant }) } + /// Return the underlying module error data that was decoded. pub fn raw(&self) -> RawModuleError { self.raw @@ -167,10 +174,22 @@ impl ModuleError { /// Attempts to decode the ModuleError into a value implementing the trait `RootError` /// where the actual type of value is the generated top level enum `Error`. pub fn as_root_error(&self) -> Result { - E::root_error(&self.raw.error, self.details()?.pallet(), &self.metadata) + E::root_error( + &self.raw.error, + self.details()?.pallet.name(), + &self.metadata, + ) } } +/// Details about the module error. +pub struct ModuleErrorDetails<'a> { + /// The pallet that the error came from + pub pallet: crate::metadata::types::PalletMetadata<'a>, + /// The variant representing the error + pub variant: &'a scale_info::Variant, +} + /// The error details about a module error that has occurred. /// /// **Note**: Structure used to obtain the underlying bytes of a ModuleError. @@ -198,16 +217,9 @@ impl DispatchError { metadata: Metadata, ) -> Result { let bytes = bytes.into(); - - let dispatch_error_ty_id = match metadata.dispatch_error_ty() { - Some(id) => id, - None => { - tracing::warn!( - "Can't decode error: sp_runtime::DispatchError was not found in Metadata" - ); - return Err(super::Error::Unknown(bytes.into_owned())); - } - }; + let dispatch_error_ty_id = metadata + .dispatch_error_ty() + .ok_or(MetadataError::DispatchErrorNotFound)?; // The aim is to decode our bytes into roughly this shape. This is copied from // `sp_runtime::DispatchError`; we need the variant names and any inner variant diff --git a/subxt/src/error/mod.rs b/subxt/src/error/mod.rs index 96fb6dfad2..70685f1a31 100644 --- a/subxt/src/error/mod.rs +++ b/subxt/src/error/mod.rs @@ -14,9 +14,10 @@ pub use dispatch_error::{ }; // Re-expose the errors we use from other crates here: -pub use crate::metadata::{InvalidMetadataError, Metadata, MetadataError}; +pub use crate::metadata::Metadata; pub use scale_decode::Error as DecodeError; pub use scale_encode::Error as EncodeError; +pub use subxt_metadata::TryFromError as MetadataTryFromError; /// The underlying error enum, generic over the type held by the `Runtime` /// variant. Prefer to use the [`Error`] and [`Error`] aliases over @@ -36,12 +37,12 @@ pub enum Error { /// Serde serialization error #[error("Serde json error: {0}")] Serialization(#[from] serde_json::error::Error), - /// Invalid metadata error - #[error("Invalid Metadata: {0}")] - InvalidMetadata(#[from] InvalidMetadataError), - /// Invalid metadata error + /// Error working with metadata. #[error("Metadata: {0}")] Metadata(#[from] MetadataError), + /// Error decoding metadata. + #[error("Metadata: {0}")] + MetadataDecoding(#[from] MetadataTryFromError), /// Runtime error. #[error("Runtime error: {0:?}")] Runtime(#[from] DispatchError), @@ -160,9 +161,6 @@ pub enum StorageAddressError { /// The number of keys provided in the storage address. expected: usize, }, - /// Storage lookup requires a type that wasn't found in the metadata. - #[error("Storage lookup requires type {0} to exist in the metadata, but it was not found")] - TypeNotFound(u32), /// This storage entry in the metadata does not have the correct number of hashers to fields. #[error("Storage entry in metadata does not have the correct number of hashers to fields")] WrongNumberOfHashers { @@ -173,6 +171,54 @@ pub enum StorageAddressError { }, } +/// Something went wrong trying to access details in the metadata. +#[derive(Clone, Debug, PartialEq, thiserror::Error)] +#[non_exhaustive] +pub enum MetadataError { + /// The DispatchError type isn't available in the metadata + #[error("The DispatchError type isn't available")] + DispatchErrorNotFound, + /// Type not found in metadata. + #[error("Type with ID {0} not found")] + TypeNotFound(u32), + /// Pallet not found (index). + #[error("Pallet with index {0} not found")] + PalletIndexNotFound(u8), + /// Pallet not found (name). + #[error("Pallet with name {0} not found")] + PalletNameNotFound(String), + /// Variant not found. + #[error("Variant with index {0} not found")] + VariantIndexNotFound(u8), + /// Constant not found. + #[error("Constant with name {0} not found")] + ConstantNameNotFound(String), + /// Call not found. + #[error("Call with name {0} not found")] + CallNameNotFound(String), + /// Runtime trait not found. + #[error("Runtime trait with name {0} not found")] + RuntimeTraitNotFound(String), + /// Runtime method not found. + #[error("Runtime method with name {0} not found")] + RuntimeMethodNotFound(String), + /// Call type not found in metadata. + #[error("Call type not found in pallet with index {0}")] + CallTypeNotFoundInPallet(u8), + /// Event type not found in metadata. + #[error("Event type not found in pallet with index {0}")] + EventTypeNotFoundInPallet(u8), + /// Storage details not found in metadata. + #[error("Storage details not found in pallet with name {0}")] + StorageNotFoundInPallet(String), + /// Storage entry not found. + #[error("Storage entry {0} not found")] + StorageEntryNotFound(String), + /// The generated interface used is not compatible with the node. + #[error("The generated code is not compatible with the node")] + IncompatibleCodegen, +} + /// This trait is implemented on the statically generated root ModuleError type #[doc(hidden)] pub trait RootError: Sized { diff --git a/subxt/src/events/events_type.rs b/subxt/src/events/events_type.rs index 6dc48de8c1..177f5da440 100644 --- a/subxt/src/events/events_type.rs +++ b/subxt/src/events/events_type.rs @@ -6,8 +6,11 @@ use super::{Phase, StaticEvent}; use crate::{ - client::OnlineClientT, error::Error, events::events_client::get_event_bytes, - metadata::EventMetadata, Config, Metadata, + client::OnlineClientT, + error::{Error, MetadataError}, + events::events_client::get_event_bytes, + metadata::types::PalletMetadata, + Config, Metadata, }; use codec::{Compact, Decode}; use derivative::Derivative; @@ -224,20 +227,25 @@ impl EventDetails { let event_fields_start_idx = all_bytes.len() - input.len(); // Get metadata for the event: - let event_metadata = metadata.event(pallet_index, variant_index)?; + let event_pallet = metadata + .pallet_by_index(pallet_index) + .ok_or(MetadataError::PalletIndexNotFound(pallet_index))?; + let event_variant = event_pallet + .event_variant_by_index(variant_index) + .ok_or(MetadataError::VariantIndexNotFound(variant_index))?; tracing::debug!( "Decoding Event '{}::{}'", - event_metadata.pallet(), - event_metadata.event() + event_pallet.name(), + &event_variant.name ); // Skip over the bytes belonging to this event. - for field_metadata in event_metadata.fields() { + for field_metadata in &event_variant.fields { // Skip over the bytes for this field: scale_decode::visitor::decode_with_visitor( input, field_metadata.ty.id, - &metadata.runtime_metadata().types, + metadata.types(), scale_decode::visitor::IgnoreVisitor, ) .map_err(scale_decode::Error::from)?; @@ -292,19 +300,25 @@ impl EventDetails { /// The name of the pallet from whence the Event originated. pub fn pallet_name(&self) -> &str { - self.event_metadata().pallet() + self.event_metadata().pallet.name() } /// The name of the event (ie the name of the variant that it corresponds to). pub fn variant_name(&self) -> &str { - self.event_metadata().event() + &self.event_metadata().variant.name } - /// Fetch the metadata for this event. - pub fn event_metadata(&self) -> &EventMetadata { - self.metadata - .event(self.pallet_index(), self.variant_index()) - .expect("this must exist in order to have produced the EventDetails") + /// Fetch details from the metadata for this event. + pub fn event_metadata(&self) -> EventMetadataDetails { + let pallet = self + .metadata + .pallet_by_index(self.pallet_index()) + .expect("event pallet to be found; we did this already during decoding"); + let variant = pallet + .event_variant_by_index(self.variant_index()) + .expect("event variant to be found; we did this already during decoding"); + + EventMetadataDetails { pallet, variant } } /// Return _all_ of the bytes representing this event, which include, in order: @@ -332,8 +346,8 @@ impl EventDetails { use scale_decode::DecodeAsFields; let decoded = >::decode_as_fields( bytes, - event_metadata.fields(), - &self.metadata.runtime_metadata().types, + &event_metadata.variant.fields, + self.metadata.types(), )?; Ok(decoded) @@ -343,10 +357,10 @@ impl EventDetails { /// Such types are exposed in the codegen as `pallet_name::events::EventName` types. pub fn as_event(&self) -> Result, Error> { let ev_metadata = self.event_metadata(); - if ev_metadata.pallet() == E::PALLET && ev_metadata.event() == E::EVENT { + if ev_metadata.pallet.name() == E::PALLET && ev_metadata.variant.name == E::EVENT { let decoded = E::decode_as_fields( &mut self.field_bytes(), - ev_metadata.fields(), + &ev_metadata.variant.fields, self.metadata.types(), )?; Ok(Some(decoded)) @@ -359,14 +373,12 @@ impl EventDetails { /// the pallet and event enum variants as well as the event fields). A compatible /// type for this is exposed via static codegen as a root level `Event` type. pub fn as_root_event(&self) -> Result { + let ev_metadata = self.event_metadata(); let pallet_bytes = &self.all_bytes[self.event_start_idx + 1..self.event_fields_end_idx]; - let pallet = self.metadata.pallet(self.pallet_name())?; - let pallet_event_ty = pallet.event_ty_id().ok_or_else(|| { - Error::Metadata(crate::metadata::MetadataError::EventNotFound( - pallet.index(), - self.variant_index(), - )) - })?; + let pallet_event_ty = ev_metadata + .pallet + .event_ty_id() + .ok_or_else(|| MetadataError::EventTypeNotFoundInPallet(ev_metadata.pallet.index()))?; E::root_event( pallet_bytes, @@ -377,6 +389,12 @@ impl EventDetails { } } +/// Details for the given event plucked from the metadata. +pub struct EventMetadataDetails<'a> { + pub pallet: PalletMetadata<'a>, + pub variant: &'a scale_info::Variant, +} + /// This trait is implemented on the statically generated root event type, so that we're able /// to decode it properly via a pallet event that impls `DecodeAsMetadata`. This is necessary /// becasue the "root event" type is generated using pallet info but doesn't actually exist in the @@ -406,7 +424,6 @@ pub(crate) mod test_utils { RuntimeMetadataPrefixed, }; use scale_info::{meta_type, TypeInfo}; - use std::convert::TryFrom; /// An "outer" events enum containing exactly one event. #[derive( @@ -511,7 +528,7 @@ pub(crate) mod test_utils { let meta = RuntimeMetadataV15::new(pallets, extrinsic, meta_type::<()>(), vec![]); let runtime_metadata: RuntimeMetadataPrefixed = meta.into(); - Metadata::try_from(runtime_metadata).unwrap() + Metadata::new(runtime_metadata.try_into().unwrap()) } /// Build an `Events` object for test purposes, based on the details provided, @@ -584,7 +601,7 @@ mod tests { actual: EventDetails, expected: TestRawEventDetails, ) { - let types = &metadata.runtime_metadata().types; + let types = &metadata.types(); // Make sure that the bytes handed back line up with the fields handed back; // encode the fields back into bytes and they should be equal. diff --git a/subxt/src/metadata/hash_cache.rs b/subxt/src/metadata/hash_cache.rs deleted file mode 100644 index 0ece71c788..0000000000 --- a/subxt/src/metadata/hash_cache.rs +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright 2019-2023 Parity Technologies (UK) Ltd. -// This file is dual-licensed as Apache-2.0 or GPL-3.0. -// see LICENSE for license details. - -use parking_lot::RwLock; -use std::{borrow::Cow, collections::HashMap}; - -/// A cache with the simple goal of storing 32 byte hashes against root+item keys -#[derive(Default, Debug)] -pub struct HashCache { - inner: RwLock, [u8; 32]>>, -} - -impl HashCache { - /// get a hash out of the cache by its root and item key. If the item doesn't exist, - /// run the function provided to obtain a hash to insert (or bail with some error on failure). - pub fn get_or_insert(&self, root: &str, item: &str, f: F) -> Result<[u8; 32], E> - where - F: FnOnce() -> Result<[u8; 32], E>, - { - let maybe_hash = self - .inner - .read() - .get(&RootItemKey::new(root, item)) - .copied(); - - if let Some(hash) = maybe_hash { - return Ok(hash); - } - - let hash = f()?; - self.inner - .write() - .insert(RootItemKey::new(root.to_string(), item.to_string()), hash); - - Ok(hash) - } -} - -/// This exists so that we can look items up in the cache using &strs, without having to allocate -/// Strings first (as you'd have to do to construct something like an `&(String,String)` key). -#[derive(Debug, PartialEq, Eq, Hash)] -struct RootItemKey<'a> { - pallet: Cow<'a, str>, - item: Cow<'a, str>, -} - -impl<'a> RootItemKey<'a> { - fn new(pallet: impl Into>, item: impl Into>) -> Self { - RootItemKey { - pallet: pallet.into(), - item: item.into(), - } - } -} - -#[cfg(test)] -mod tests { - use super::*; - - #[test] - fn hash_cache_validation() { - let cache = HashCache::default(); - - let pallet = "System"; - let item = "Account"; - let mut call_number = 0; - let value = cache.get_or_insert(pallet, item, || -> Result<[u8; 32], ()> { - call_number += 1; - Ok([0; 32]) - }); - - assert_eq!( - cache - .inner - .read() - .get(&RootItemKey::new(pallet, item)) - .unwrap(), - &value.unwrap() - ); - assert_eq!(value.unwrap(), [0; 32]); - assert_eq!(call_number, 1); - - // Further calls must be hashed. - let value = cache.get_or_insert(pallet, item, || -> Result<[u8; 32], ()> { - call_number += 1; - Ok([0; 32]) - }); - assert_eq!(call_number, 1); - assert_eq!(value.unwrap(), [0; 32]); - } -} diff --git a/subxt/src/metadata/metadata_location.rs b/subxt/src/metadata/metadata_location.rs deleted file mode 100644 index 710e98fd29..0000000000 --- a/subxt/src/metadata/metadata_location.rs +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2019-2023 Parity Technologies (UK) Ltd. -// This file is dual-licensed as Apache-2.0 or GPL-3.0. -// see LICENSE for license details. - -/// Locate an item of a known type in the metadata. -/// We should already know that the item we're looking -/// for is a call or event for instance, and then with this, -/// we can dig up details for that item in the metadata. -pub trait MetadataLocation { - /// The pallet in which the item lives. - fn pallet(&self) -> &str; - /// The name of the item. - fn item(&self) -> &str; -} diff --git a/subxt/src/metadata/metadata_type.rs b/subxt/src/metadata/metadata_type.rs index 9987fec49c..30c73d1f72 100644 --- a/subxt/src/metadata/metadata_type.rs +++ b/subxt/src/metadata/metadata_type.rs @@ -2,888 +2,37 @@ // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. -use super::hash_cache::HashCache; -use codec::Error as CodecError; -use frame_metadata::{ - v15::PalletConstantMetadata, v15::RuntimeMetadataV15, v15::StorageEntryMetadata, - RuntimeMetadata, RuntimeMetadataPrefixed, META_RESERVED, -}; -use parking_lot::RwLock; -use scale_info::{form::PortableForm, PortableRegistry, Type}; -use std::{collections::HashMap, convert::TryFrom, sync::Arc}; +use std::sync::Arc; -/// Metadata error originated from inspecting the internal representation of the runtime metadata. -#[derive(Debug, thiserror::Error, PartialEq, Eq)] -pub enum MetadataError { - /// Module is not in metadata. - #[error("Pallet not found")] - PalletNotFound, - /// Pallet is not in metadata. - #[error("Pallet index {0} not found")] - PalletIndexNotFound(u8), - /// Call is not in metadata. - #[error("Call not found")] - CallNotFound, - /// Event is not in metadata. - #[error("Pallet {0}, Event {0} not found")] - EventNotFound(u8, u8), - /// Extrinsic is not in metadata. - #[error("Pallet {0}, Extrinsic {0} not found")] - ExtrinsicNotFound(u8, u8), - /// Event is not in metadata. - #[error("Pallet {0}, Error {0} not found")] - ErrorNotFound(u8, u8), - /// Runtime function is not in metadata. - #[error("Runtime function not found")] - RuntimeFnNotFound, - /// Storage is not in metadata. - #[error("Storage not found")] - StorageNotFound, - /// Storage type does not match requested type. - #[error("Storage type error")] - StorageTypeError, - /// Default error. - #[error("Failed to decode default: {0}")] - DefaultError(CodecError), - /// Failure to decode constant value. - #[error("Failed to decode constant value: {0}")] - ConstantValueError(CodecError), - /// Constant is not in metadata. - #[error("Constant not found")] - ConstantNotFound, - /// Type is not in metadata. - #[error("Type {0} missing from type registry")] - TypeNotFound(u32), - /// Runtime constant metadata is incompatible with the static one. - #[error("Pallet {0} Constant {0} has incompatible metadata")] - IncompatibleConstantMetadata(String, String), - /// Runtime call metadata is incompatible with the static one. - #[error("Pallet {0} Call {0} has incompatible metadata")] - IncompatibleCallMetadata(String, String), - /// Runtime storage metadata is incompatible with the static one. - #[error("Pallet {0} Storage {0} has incompatible metadata")] - IncompatibleStorageMetadata(String, String), - /// Runtime API metadata is incompatible with the static one. - #[error("Runtime API Trait {0} Method {0} has incompatible metadata")] - IncompatibleRuntimeApiMetadata(String, String), - /// Runtime metadata is not fully compatible with the static one. - #[error("Node metadata is not fully compatible")] - IncompatibleMetadata, -} - -// We hide the innards behind an Arc so that it's easy to clone and share. -#[derive(Debug)] -struct MetadataInner { - metadata: RuntimeMetadataV15, - - // Events are hashed by pallet an error index (decode oriented) - events: HashMap<(u8, u8), EventMetadata>, - // Extrinsics are hashed by pallet an error index (decode oriented) - extrinsics: HashMap<(u8, u8), ExtrinsicMetadata>, - // Errors are hashed by pallet and error index (decode oriented) - errors: HashMap<(u8, u8), ErrorMetadata>, - - // Other pallet details are hashed by pallet name. - pallets: HashMap, - - // Type of the DispatchError type, which is what comes back if - // an extrinsic fails. - dispatch_error_ty: Option, - - // Runtime API metadata - runtime_apis: HashMap, - - // The hashes uniquely identify parts of the metadata; different - // hashes mean some type difference exists between static and runtime - // versions. We cache them here to avoid recalculating: - cached_metadata_hash: RwLock>, - cached_call_hashes: HashCache, - cached_constant_hashes: HashCache, - cached_storage_hashes: HashCache, - cached_runtime_hashes: HashCache, -} - -/// A representation of the runtime metadata received from a node. +/// A cheaply clone-able representation of the runtime metadata received from a node. #[derive(Clone, Debug)] pub struct Metadata { - inner: Arc, -} - -impl Metadata { - /// Returns a reference to [`RuntimeFnMetadata`]. - pub fn runtime_fn(&self, name: &str) -> Result<&RuntimeFnMetadata, MetadataError> { - self.inner - .runtime_apis - .get(name) - .ok_or(MetadataError::RuntimeFnNotFound) - } - - /// Returns a reference to [`PalletMetadata`]. - pub fn pallet(&self, name: &str) -> Result<&PalletMetadata, MetadataError> { - self.inner - .pallets - .get(name) - .ok_or(MetadataError::PalletNotFound) - } - - /// Returns the metadata for the event at the given pallet and event indices. - pub fn event( - &self, - pallet_index: u8, - event_index: u8, - ) -> Result<&EventMetadata, MetadataError> { - let event = self - .inner - .events - .get(&(pallet_index, event_index)) - .ok_or(MetadataError::EventNotFound(pallet_index, event_index))?; - Ok(event) - } - - /// Returns the metadata for the extrinsic at the given pallet and call indices. - pub fn extrinsic( - &self, - pallet_index: u8, - call_index: u8, - ) -> Result<&ExtrinsicMetadata, MetadataError> { - let event = self - .inner - .extrinsics - .get(&(pallet_index, call_index)) - .ok_or(MetadataError::ExtrinsicNotFound(pallet_index, call_index))?; - Ok(event) - } - - /// Returns the metadata for the error at the given pallet and error indices. - pub fn error( - &self, - pallet_index: u8, - error_index: u8, - ) -> Result<&ErrorMetadata, MetadataError> { - let error = self - .inner - .errors - .get(&(pallet_index, error_index)) - .ok_or(MetadataError::ErrorNotFound(pallet_index, error_index))?; - Ok(error) - } - - /// Return the DispatchError type ID if it exists. - pub fn dispatch_error_ty(&self) -> Option { - self.inner.dispatch_error_ty - } - - /// Return the type registry embedded within the metadata. - pub fn types(&self) -> &PortableRegistry { - &self.inner.metadata.types - } - - /// Resolve a type definition. - pub fn resolve_type(&self, id: u32) -> Option<&Type> { - self.inner.metadata.types.resolve(id) - } - - /// Return the runtime metadata. - pub fn runtime_metadata(&self) -> &RuntimeMetadataV15 { - &self.inner.metadata - } - - /// Obtain the unique hash for a specific storage entry. - pub fn storage_hash(&self, pallet: &str, storage: &str) -> Result<[u8; 32], MetadataError> { - self.inner - .cached_storage_hashes - .get_or_insert(pallet, storage, || { - subxt_metadata::get_storage_hash(&self.inner.metadata, pallet, storage).map_err( - |e| match e { - subxt_metadata::NotFound::Root => MetadataError::PalletNotFound, - subxt_metadata::NotFound::Item => MetadataError::StorageNotFound, - }, - ) - }) - } - - /// Obtain the unique hash for a constant. - pub fn constant_hash(&self, pallet: &str, constant: &str) -> Result<[u8; 32], MetadataError> { - self.inner - .cached_constant_hashes - .get_or_insert(pallet, constant, || { - subxt_metadata::get_constant_hash(&self.inner.metadata, pallet, constant).map_err( - |e| match e { - subxt_metadata::NotFound::Root => MetadataError::PalletNotFound, - subxt_metadata::NotFound::Item => MetadataError::ConstantNotFound, - }, - ) - }) - } - - /// Obtain the unique hash for a call. - pub fn call_hash(&self, pallet: &str, function: &str) -> Result<[u8; 32], MetadataError> { - self.inner - .cached_call_hashes - .get_or_insert(pallet, function, || { - subxt_metadata::get_call_hash(&self.inner.metadata, pallet, function).map_err(|e| { - match e { - subxt_metadata::NotFound::Root => MetadataError::PalletNotFound, - subxt_metadata::NotFound::Item => MetadataError::CallNotFound, - } - }) - }) - } - - /// Obtain the unique hash for a runtime API function. - pub fn runtime_api_hash( - &self, - trait_name: &str, - method_name: &str, - ) -> Result<[u8; 32], MetadataError> { - self.inner - .cached_runtime_hashes - .get_or_insert(trait_name, method_name, || { - subxt_metadata::get_runtime_api_hash(&self.inner.metadata, trait_name, method_name) - .map_err(|_| MetadataError::RuntimeFnNotFound) - }) - } - - /// Obtain the unique hash for this metadata. - pub fn metadata_hash>(&self, pallets: &[T]) -> [u8; 32] { - if let Some(hash) = *self.inner.cached_metadata_hash.read() { - return hash; - } - - let hash = subxt_metadata::MetadataHasher::new() - .only_these_pallets(pallets) - .hash(self.runtime_metadata()); - *self.inner.cached_metadata_hash.write() = Some(hash); - - hash - } -} - -/// Metadata for a specific runtime API function. -#[derive(Clone, Debug)] -pub struct RuntimeFnMetadata { - /// The trait name of the runtime function. - trait_name: String, - /// The method name of the runtime function. - method_name: String, - /// The parameter name and type IDs interpreted as `scale_info::Field` - /// for ease of decoding. - fields: Vec>, - /// The type ID of the return type. - return_id: u32, -} - -impl RuntimeFnMetadata { - /// Get the parameters as fields. - pub fn fields(&self) -> &[scale_info::Field] { - &self.fields - } - - /// Return the trait name of the runtime function. - pub fn trait_name(&self) -> &str { - &self.trait_name - } - - /// Return the method name of the runtime function. - pub fn method_name(&self) -> &str { - &self.method_name - } - - /// Get the type ID of the return type. - pub fn return_id(&self) -> u32 { - self.return_id - } -} - -/// Metadata for a specific pallet. -#[derive(Clone, Debug)] -pub struct PalletMetadata { - index: u8, - name: String, - call_metadata: HashMap, - call_ty_id: Option, - event_ty_id: Option, - storage: HashMap>, - constants: HashMap>, -} - -impl PalletMetadata { - /// Get the name of the pallet. - pub fn name(&self) -> &str { - &self.name - } - - /// Get the index of this pallet. - pub fn index(&self) -> u8 { - self.index - } - - /// If calls exist for this pallet, this returns the type ID of the variant - /// representing the different possible calls. - pub fn call_ty_id(&self) -> Option { - self.call_ty_id - } - - /// If events exist for this pallet, this returns the type ID of the variant - /// representing the different possible events. - pub fn event_ty_id(&self) -> Option { - self.event_ty_id - } - - /// Attempt to resolve a call into an index in this pallet, failing - /// if the call is not found in this pallet. - pub fn call(&self, function: &str) -> Result<&CallMetadata, MetadataError> { - let fn_index = self - .call_metadata - .get(function) - .ok_or(MetadataError::CallNotFound)?; - Ok(fn_index) - } - - /// Return [`StorageEntryMetadata`] given some storage key. - pub fn storage(&self, key: &str) -> Result<&StorageEntryMetadata, MetadataError> { - self.storage.get(key).ok_or(MetadataError::StorageNotFound) - } - - /// Get a constant's metadata by name. - pub fn constant( - &self, - key: &str, - ) -> Result<&PalletConstantMetadata, MetadataError> { - self.constants - .get(key) - .ok_or(MetadataError::ConstantNotFound) - } -} - -#[derive(Clone, Debug)] -pub struct CallMetadata { - call_index: u8, - fields: Vec>, -} - -impl CallMetadata { - /// Index of this call. - pub fn index(&self) -> u8 { - self.call_index - } - - /// The names, type names & types of each field in the call data. - pub fn fields(&self) -> &[scale_info::Field] { - &self.fields - } -} - -/// Metadata for specific events. -#[derive(Clone, Debug)] -pub struct EventMetadata { - // The pallet name is shared across every event, so put it - // behind an Arc to avoid lots of needless clones of it existing. - pallet: Arc, - event: String, - fields: Vec>, - docs: Vec, + inner: Arc, } -impl EventMetadata { - /// Get the name of the pallet from which the event was emitted. - pub fn pallet(&self) -> &str { - &self.pallet - } - - /// Get the name of the pallet event which was emitted. - pub fn event(&self) -> &str { - &self.event - } - - /// The names, type names & types of each field in the event. - pub fn fields(&self) -> &[scale_info::Field] { - &self.fields - } - - /// Documentation for this event. - pub fn docs(&self) -> &[String] { - &self.docs +impl std::ops::Deref for Metadata { + type Target = subxt_metadata::Metadata; + fn deref(&self) -> &Self::Target { + &self.inner } } -/// Metadata for specific extrinsics. -#[derive(Clone, Debug)] -pub struct ExtrinsicMetadata { - // The pallet name is shared across every extrinsic, so put it - // behind an Arc to avoid lots of needless clones of it existing. - pallet: Arc, - call: String, - fields: Vec>, - docs: Vec, -} - -impl ExtrinsicMetadata { - /// Get the name of the pallet from which the extrinsic was emitted. - pub fn pallet(&self) -> &str { - &self.pallet - } - - /// Get the name of the extrinsic call. - pub fn call(&self) -> &str { - &self.call - } - - /// The names, type names & types of each field in the extrinsic. - pub fn fields(&self) -> &[scale_info::Field] { - &self.fields - } - - /// Documentation for this extrinsic. - pub fn docs(&self) -> &[String] { - &self.docs - } -} - -/// Details about a specific runtime error. -#[derive(Clone, Debug)] -pub struct ErrorMetadata { - // The pallet name is shared across every event, so put it - // behind an Arc to avoid lots of needless clones of it existing. - pallet: Arc, - error: String, - docs: Vec, -} - -impl ErrorMetadata { - /// Get the name of the pallet from which the error originates. - pub fn pallet(&self) -> &str { - &self.pallet - } - - /// The name of the error. - pub fn error(&self) -> &str { - &self.error - } - - /// Documentation for the error. - pub fn docs(&self) -> &[String] { - &self.docs - } -} - -/// Error originated from converting a runtime metadata [RuntimeMetadataPrefixed] to -/// the internal [Metadata] representation. -#[derive(Debug, thiserror::Error)] -pub enum InvalidMetadataError { - /// Invalid prefix - #[error("Invalid prefix")] - InvalidPrefix, - /// Invalid version - #[error("Invalid version")] - InvalidVersion, - /// Type missing from type registry - #[error("Type {0} missing from type registry")] - MissingType(u32), - /// Type missing extrinsic "Call" type - #[error("Missing extrinsic Call type")] - MissingCallType, - /// The extrinsic variant expected to contain a single field. - #[error("Extrinsic variant at index {0} expected to contain a single field")] - InvalidExtrinsicVariant(u8), - /// Type was not a variant/enum type - #[error("Type {0} was not a variant/enum type")] - TypeDefNotVariant(u32), -} - -impl TryFrom for Metadata { - type Error = InvalidMetadataError; - - fn try_from(metadata: RuntimeMetadataPrefixed) -> Result { - if metadata.0 != META_RESERVED { - return Err(InvalidMetadataError::InvalidPrefix); - } - let metadata = match metadata.1 { - RuntimeMetadata::V14(v14) => subxt_metadata::metadata_v14_to_latest(v14), - RuntimeMetadata::V15(v15) => v15, - _ => return Err(InvalidMetadataError::InvalidVersion), - }; - - let runtime_apis: HashMap = metadata - .apis - .iter() - .flat_map(|trait_metadata| { - let trait_name = &trait_metadata.name; - - trait_metadata - .methods - .iter() - .map(|method_metadata| { - // Function named used by substrate to identify the runtime call. - let fn_name = format!("{}_{}", trait_name, method_metadata.name); - - // Parameters mapped as `scale_info::Field` to allow dynamic decoding. - let fields: Vec<_> = method_metadata - .inputs - .iter() - .map(|input| { - let name = input.name.clone(); - let ty = input.ty.id; - scale_info::Field { - name: Some(name), - ty: ty.into(), - type_name: None, - docs: Default::default(), - } - }) - .collect(); - - let return_id = method_metadata.output.id; - let metadata = RuntimeFnMetadata { - fields, - return_id, - trait_name: trait_name.clone(), - method_name: method_metadata.name.clone(), - }; - - (fn_name, metadata) - }) - .collect::>() - }) - .collect(); - - let get_type_def_variant = |type_id: u32| { - let ty = metadata - .types - .resolve(type_id) - .ok_or(InvalidMetadataError::MissingType(type_id))?; - if let scale_info::TypeDef::Variant(var) = &ty.type_def { - Ok(var) - } else { - Err(InvalidMetadataError::TypeDefNotVariant(type_id)) - } - }; - let pallets = metadata - .pallets - .iter() - .map(|pallet| { - let call_ty_id = pallet.calls.as_ref().map(|c| c.ty.id); - let event_ty_id = pallet.event.as_ref().map(|e| e.ty.id); - - let call_metadata = pallet.calls.as_ref().map_or(Ok(HashMap::new()), |call| { - let type_def_variant = get_type_def_variant(call.ty.id)?; - let call_indexes = type_def_variant - .variants - .iter() - .map(|v| { - ( - v.name.clone(), - CallMetadata { - call_index: v.index, - fields: v.fields.clone(), - }, - ) - }) - .collect(); - Ok(call_indexes) - })?; - - let storage = pallet.storage.as_ref().map_or(HashMap::new(), |storage| { - storage - .entries - .iter() - .map(|entry| (entry.name.clone(), entry.clone())) - .collect() - }); - - let constants = pallet - .constants - .iter() - .map(|constant| (constant.name.clone(), constant.clone())) - .collect(); - - let pallet_metadata = PalletMetadata { - index: pallet.index, - name: pallet.name.to_string(), - call_metadata, - call_ty_id, - event_ty_id, - storage, - constants, - }; - - Ok((pallet.name.to_string(), pallet_metadata)) - }) - .collect::>()?; - - let mut events = HashMap::<(u8, u8), EventMetadata>::new(); - for pallet in &metadata.pallets { - if let Some(event) = &pallet.event { - let pallet_name: Arc = pallet.name.to_string().into(); - let event_type_id = event.ty.id; - let event_variant = get_type_def_variant(event_type_id)?; - for variant in &event_variant.variants { - events.insert( - (pallet.index, variant.index), - EventMetadata { - pallet: pallet_name.clone(), - event: variant.name.clone(), - fields: variant.fields.clone(), - docs: variant.docs.clone(), - }, - ); - } - } - } - - let mut errors = HashMap::<(u8, u8), ErrorMetadata>::new(); - for pallet in &metadata.pallets { - if let Some(error) = &pallet.error { - let pallet_name: Arc = pallet.name.to_string().into(); - let error_variant = get_type_def_variant(error.ty.id)?; - for variant in &error_variant.variants { - errors.insert( - (pallet.index, variant.index), - ErrorMetadata { - pallet: pallet_name.clone(), - error: variant.name.clone(), - docs: variant.docs.clone(), - }, - ); - } - } - } - - let dispatch_error_ty = metadata - .types - .types - .iter() - .find(|ty| ty.ty.path.segments == ["sp_runtime", "DispatchError"]) - .map(|ty| ty.id); - - let extrinsic_ty = metadata - .types - .resolve(metadata.extrinsic.ty.id) - .ok_or(InvalidMetadataError::MissingType(metadata.extrinsic.ty.id))?; - - let Some(call_id) = extrinsic_ty.type_params - .iter() - .find(|ty| ty.name == "Call") - .and_then(|ty| ty.ty) - .map(|ty| ty.id) else { - return Err(InvalidMetadataError::MissingCallType); - }; - - let call_type_variants = get_type_def_variant(call_id)?; - - let mut extrinsics = HashMap::<(u8, u8), ExtrinsicMetadata>::new(); - for variant in &call_type_variants.variants { - let pallet_name: Arc = variant.name.to_string().into(); - let pallet_index = variant.index; - - // Pallet variants must contain one single call variant. - // In the following form: - // - // enum RuntimeCall { - // Pallet(pallet_call) - // } - if variant.fields.len() != 1 { - return Err(InvalidMetadataError::InvalidExtrinsicVariant(pallet_index)); - } - let Some(ty) = variant.fields.first() else { - return Err(InvalidMetadataError::InvalidExtrinsicVariant(pallet_index)); - }; - - // Get the call variant. - let call_type_variant = get_type_def_variant(ty.ty.id)?; - for variant in &call_type_variant.variants { - extrinsics.insert( - (pallet_index, variant.index), - ExtrinsicMetadata { - pallet: pallet_name.clone(), - call: variant.name.to_string(), - fields: variant.fields.clone(), - docs: variant.docs.clone(), - }, - ); - } +impl Metadata { + pub(crate) fn new(md: subxt_metadata::Metadata) -> Self { + Metadata { + inner: Arc::new(md), } - - Ok(Metadata { - inner: Arc::new(MetadataInner { - metadata, - pallets, - events, - extrinsics, - errors, - dispatch_error_ty, - runtime_apis, - cached_metadata_hash: Default::default(), - cached_call_hashes: Default::default(), - cached_constant_hashes: Default::default(), - cached_storage_hashes: Default::default(), - cached_runtime_hashes: Default::default(), - }), - }) } } -#[cfg(test)] -mod tests { - use super::*; - use frame_metadata::v15::{ - ExtrinsicMetadata, PalletCallMetadata, PalletMetadata, PalletStorageMetadata, - StorageEntryModifier, StorageEntryType, - }; - use scale_info::{meta_type, TypeInfo}; - - fn load_metadata() -> Metadata { - // Extrinsic needs to contain at least the generic type parameter "Call" - // for the metadata to be valid. - // The "Call" type from the metadata is used to decode extrinsics. - // In reality, the extrinsic type has "Call", "Address", "Extra", "Signature" generic types. - #[allow(unused)] - #[derive(TypeInfo)] - struct ExtrinsicType { - call: Call, - } - // Because this type is used to decode extrinsics, we expect this to be a TypeDefVariant. - // Each pallet must contain one single variant. - #[allow(unused)] - #[derive(TypeInfo)] - enum RuntimeCall { - PalletName(Pallet), - } - // The calls of the pallet. - #[allow(unused)] - #[derive(TypeInfo)] - enum Pallet { - #[allow(unused)] - SomeCall, - } - - #[allow(dead_code)] - #[allow(non_camel_case_types)] - #[derive(TypeInfo)] - enum Call { - fill_block { param: u128 }, - } - let storage = PalletStorageMetadata { - prefix: "System", - entries: vec![StorageEntryMetadata { - name: "Account", - modifier: StorageEntryModifier::Optional, - ty: StorageEntryType::Plain(meta_type::()), - default: vec![0], - docs: vec![], - }], - }; - let constant = PalletConstantMetadata { - name: "BlockWeights", - ty: meta_type::(), - value: vec![1, 2, 3], - docs: vec![], - }; - let pallet = PalletMetadata { - index: 0, - name: "System", - calls: Some(PalletCallMetadata { - ty: meta_type::(), - }), - storage: Some(storage), - constants: vec![constant], - event: None, - error: None, - docs: vec![], - }; - - let metadata = RuntimeMetadataV15::new( - vec![pallet], - ExtrinsicMetadata { - ty: meta_type::>(), - version: 0, - signed_extensions: vec![], - }, - meta_type::<()>(), - vec![], - ); - let prefixed = RuntimeMetadataPrefixed::from(metadata); - - Metadata::try_from(prefixed) - .expect("Cannot translate runtime metadata to internal Metadata") - } - - #[test] - fn metadata_inner_cache() { - // Note: Dependency on test_runtime can be removed if complex metadata - // is manually constructed. - let metadata = load_metadata(); - - let hash = metadata.metadata_hash(&["System"]); - // Check inner caching. - assert_eq!(metadata.inner.cached_metadata_hash.read().unwrap(), hash); - - // The cache `metadata.inner.cached_metadata_hash` is already populated from - // the previous call. Therefore, changing the pallets argument must not - // change the methods behavior. - let hash_old = metadata.metadata_hash(&["no-pallet"]); - assert_eq!(hash_old, hash); - } - - #[test] - fn metadata_call_inner_cache() { - let metadata = load_metadata(); - - let hash = metadata.call_hash("System", "fill_block"); - - let mut call_number = 0; - let hash_cached = metadata.inner.cached_call_hashes.get_or_insert( - "System", - "fill_block", - || -> Result<[u8; 32], MetadataError> { - call_number += 1; - Ok([0; 32]) - }, - ); - - // Check function is never called (e.i, value fetched from cache). - assert_eq!(call_number, 0); - assert_eq!(hash.unwrap(), hash_cached.unwrap()); - } - - #[test] - fn metadata_constant_inner_cache() { - let metadata = load_metadata(); - - let hash = metadata.constant_hash("System", "BlockWeights"); - - let mut call_number = 0; - let hash_cached = metadata.inner.cached_constant_hashes.get_or_insert( - "System", - "BlockWeights", - || -> Result<[u8; 32], MetadataError> { - call_number += 1; - Ok([0; 32]) - }, - ); - - // Check function is never called (e.i, value fetched from cache). - assert_eq!(call_number, 0); - assert_eq!(hash.unwrap(), hash_cached.unwrap()); +impl From for Metadata { + fn from(md: subxt_metadata::Metadata) -> Self { + Metadata::new(md) } +} - #[test] - fn metadata_storage_inner_cache() { - let metadata = load_metadata(); - let hash = metadata.storage_hash("System", "Account"); - - let mut call_number = 0; - let hash_cached = metadata.inner.cached_storage_hashes.get_or_insert( - "System", - "Account", - || -> Result<[u8; 32], MetadataError> { - call_number += 1; - Ok([0; 32]) - }, - ); - - // Check function is never called (e.i, value fetched from cache). - assert_eq!(call_number, 0); - assert_eq!(hash.unwrap(), hash_cached.unwrap()); +impl codec::Decode for Metadata { + fn decode(input: &mut I) -> Result { + subxt_metadata::Metadata::decode(input).map(Metadata::new) } } diff --git a/subxt/src/metadata/mod.rs b/subxt/src/metadata/mod.rs index d46793ee40..a6ef00ae6f 100644 --- a/subxt/src/metadata/mod.rs +++ b/subxt/src/metadata/mod.rs @@ -5,15 +5,10 @@ //! Types representing the metadata obtained from a node. mod decode_encode_traits; -mod hash_cache; -mod metadata_location; mod metadata_type; -pub use metadata_location::MetadataLocation; - -pub use metadata_type::{ - ErrorMetadata, EventMetadata, ExtrinsicMetadata, InvalidMetadataError, Metadata, MetadataError, - PalletMetadata, RuntimeFnMetadata, -}; - pub use decode_encode_traits::{DecodeWithMetadata, EncodeWithMetadata}; +pub use metadata_type::Metadata; + +// Expose metadata types under a sub module in case somebody needs to reference them: +pub use subxt_metadata as types; diff --git a/subxt/src/rpc/rpc.rs b/subxt/src/rpc/rpc.rs index 13b8ad202c..64e1fc6cc8 100644 --- a/subxt/src/rpc/rpc.rs +++ b/subxt/src/rpc/rpc.rs @@ -34,7 +34,6 @@ use std::sync::Arc; use codec::{Decode, Encode}; -use frame_metadata::RuntimeMetadataPrefixed; use serde::Serialize; use crate::{error::Error, utils::PhantomDataSendSync, Config, Metadata}; @@ -149,8 +148,7 @@ impl Rpc { .client .request("state_getMetadata", rpc_params![at]) .await?; - let meta: RuntimeMetadataPrefixed = Decode::decode(&mut &bytes[..])?; - let metadata: Metadata = meta.try_into()?; + let metadata = Metadata::decode(&mut &bytes[..])?; Ok(metadata) } @@ -387,9 +385,7 @@ impl Rpc { let bytes = opaque.ok_or(Error::Other("Metadata version not found".into()))?; - let meta: RuntimeMetadataPrefixed = Decode::decode(&mut &bytes.0[..])?; - - let metadata: Metadata = meta.try_into()?; + let metadata: Metadata = Decode::decode(&mut &bytes.0[..])?; Ok(metadata) } @@ -404,9 +400,7 @@ impl Rpc { let bytes: frame_metadata::OpaqueMetadata = self.state_call("Metadata_metadata", None, None).await?; - let meta: RuntimeMetadataPrefixed = Decode::decode(&mut &bytes.0[..])?; - - let metadata: Metadata = meta.try_into()?; + let metadata: Metadata = Decode::decode(&mut &bytes.0[..])?; Ok(metadata) } diff --git a/subxt/src/runtime_api/runtime_payload.rs b/subxt/src/runtime_api/runtime_payload.rs index c264742e84..e129a75d24 100644 --- a/subxt/src/runtime_api/runtime_payload.rs +++ b/subxt/src/runtime_api/runtime_payload.rs @@ -8,6 +8,7 @@ use scale_value::Composite; use std::borrow::Cow; use crate::dynamic::DecodedValueThunk; +use crate::error::MetadataError; use crate::{metadata::DecodeWithMetadata, Error, Metadata}; /// This represents a runtime API payload that can call into the runtime of node. @@ -36,8 +37,11 @@ pub trait RuntimeApiPayload { // with the `subxt::Metadata. type ReturnType: DecodeWithMetadata; - /// The runtime API function name. - fn fn_name(&self) -> &str; + /// The runtime API trait name. + fn trait_name(&self) -> &str; + + /// The runtime API method name. + fn method_name(&self) -> &str; /// Scale encode the arguments data. fn encode_args_to(&self, metadata: &Metadata, out: &mut Vec) -> Result<(), Error>; @@ -63,7 +67,8 @@ pub trait RuntimeApiPayload { /// via the `subxt` macro) or dynamic values via [`dynamic`]. #[derive(Clone, Debug)] pub struct Payload { - fn_name: Cow<'static, str>, + trait_name: Cow<'static, str>, + method_name: Cow<'static, str>, args_data: ArgsData, validation_hash: Option<[u8; 32]>, _marker: PhantomData, @@ -74,16 +79,42 @@ impl RuntimeApiPayload { type ReturnType = ReturnTy; - fn fn_name(&self) -> &str { - &self.fn_name + fn trait_name(&self) -> &str { + &self.trait_name + } + + fn method_name(&self) -> &str { + &self.method_name } fn encode_args_to(&self, metadata: &Metadata, out: &mut Vec) -> Result<(), Error> { - let fn_metadata = metadata.runtime_fn(&self.fn_name)?; + let api_trait = metadata + .runtime_api_trait_by_name(&self.trait_name) + .ok_or_else(|| MetadataError::RuntimeTraitNotFound((*self.trait_name).to_owned()))?; + let api_method = api_trait + .method_by_name(&self.method_name) + .ok_or_else(|| MetadataError::RuntimeMethodNotFound((*self.method_name).to_owned()))?; + + // TODO [jsdw]: This isn't good. The options are: + // 1. Tweak the Metadata to store things in this way (not great, but + // it's what we did previously). + // 2. Tweak scale-encode's methods to accept iterators over + // { name: Option<&str>, type_id: u32 }, because they shouldn't + // need to allocate anyway. I'd like us to do this, and then we can + // remove allocations from this code and probably a couple of other + // places. + let fields: Vec<_> = api_method + .inputs() + .map(|input| scale_info::Field { + name: Some(input.name.to_owned()), + ty: input.ty.into(), + type_name: None, + docs: Default::default(), + }) + .collect(); self.args_data - .encode_as_fields_to(fn_metadata.fields(), metadata.types(), out)?; - + .encode_as_fields_to(&fields, metadata.types(), out)?; Ok(()) } @@ -97,9 +128,14 @@ pub type DynamicRuntimeApiPayload = Payload, DecodedValueThunk>; impl Payload { /// Create a new [`Payload`]. - pub fn new(fn_name: impl Into, args_data: ArgsData) -> Self { + pub fn new( + trait_name: impl Into, + method_name: impl Into, + args_data: ArgsData, + ) -> Self { Payload { - fn_name: Cow::Owned(fn_name.into()), + trait_name: Cow::Owned(trait_name.into()), + method_name: Cow::Owned(method_name.into()), args_data, validation_hash: None, _marker: PhantomData, @@ -112,12 +148,14 @@ impl Payload { /// This is only expected to be used from codegen. #[doc(hidden)] pub fn new_static( - fn_name: &'static str, + trait_name: &'static str, + method_name: &'static str, args_data: ArgsData, hash: [u8; 32], ) -> Payload { Payload { - fn_name: Cow::Borrowed(fn_name), + trait_name: Cow::Borrowed(trait_name), + method_name: Cow::Borrowed(method_name), args_data, validation_hash: Some(hash), _marker: std::marker::PhantomData, @@ -132,9 +170,14 @@ impl Payload { } } - /// Returns the function name. - pub fn fn_name(&self) -> &str { - &self.fn_name + /// Returns the trait name. + pub fn trait_name(&self) -> &str { + &self.trait_name + } + + /// Returns the method name. + pub fn method_name(&self) -> &str { + &self.method_name } /// Returns the arguments data. @@ -145,8 +188,9 @@ impl Payload { /// Create a new [`DynamicRuntimeApiPayload`]. pub fn dynamic( - fn_name: impl Into, + trait_name: impl Into, + method_name: impl Into, args_data: impl Into>, ) -> DynamicRuntimeApiPayload { - Payload::new(fn_name, args_data.into()) + Payload::new(trait_name, method_name, args_data.into()) } diff --git a/subxt/src/runtime_api/runtime_types.rs b/subxt/src/runtime_api/runtime_types.rs index 8f9fd5dd21..9594c0859c 100644 --- a/subxt/src/runtime_api/runtime_types.rs +++ b/subxt/src/runtime_api/runtime_types.rs @@ -2,7 +2,12 @@ // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. -use crate::{client::OnlineClientT, error::Error, metadata::DecodeWithMetadata, Config}; +use crate::{ + client::OnlineClientT, + error::{Error, MetadataError}, + metadata::DecodeWithMetadata, + Config, +}; use codec::Decode; use derivative::Derivative; use std::{future::Future, marker::PhantomData}; @@ -64,26 +69,25 @@ where // which is a temporary thing we'll be throwing away quickly: async move { let metadata = client.metadata(); - let function = payload.fn_name(); - // Check if the function is present in the runtime metadata. - let fn_metadata = metadata.runtime_fn(function)?; - // Return type ID used for dynamic decoding. - let return_id = fn_metadata.return_id(); + let api_trait = metadata + .runtime_api_trait_by_name(payload.trait_name()) + .ok_or_else(|| { + MetadataError::RuntimeTraitNotFound(payload.trait_name().to_owned()) + })?; + let api_method = api_trait + .method_by_name(payload.method_name()) + .ok_or_else(|| { + MetadataError::RuntimeMethodNotFound(payload.method_name().to_owned()) + })?; // Validate the runtime API payload hash against the compile hash from codegen. if let Some(static_hash) = payload.validation_hash() { - let runtime_hash = metadata - .runtime_api_hash(fn_metadata.trait_name(), fn_metadata.method_name())?; - + let Some(runtime_hash) = api_trait.method_hash(payload.method_name()) else { + return Err(MetadataError::IncompatibleCodegen.into()); + }; if static_hash != runtime_hash { - return Err( - crate::metadata::MetadataError::IncompatibleRuntimeApiMetadata( - fn_metadata.trait_name().into(), - fn_metadata.method_name().into(), - ) - .into(), - ); + return Err(MetadataError::IncompatibleCodegen.into()); } } @@ -91,15 +95,16 @@ where // For static payloads (codegen) this is pass-through, bytes are not altered. // For dynamic payloads this relies on `scale_value::encode_as_fields_to`. let params = payload.encode_args(&metadata)?; + let call_name = format!("{}_{}", payload.trait_name(), payload.method_name()); let bytes = client .rpc() - .state_call_raw(function, Some(params.as_slice()), Some(block_hash)) + .state_call_raw(&call_name, Some(params.as_slice()), Some(block_hash)) .await?; let value = ::decode_with_metadata( &mut &bytes[..], - return_id, + api_method.output_ty(), &metadata, )?; Ok(value) diff --git a/subxt/src/storage/storage_address.rs b/subxt/src/storage/storage_address.rs index 527d8c31bd..9f97b0bf82 100644 --- a/subxt/src/storage/storage_address.rs +++ b/subxt/src/storage/storage_address.rs @@ -4,13 +4,13 @@ use crate::{ dynamic::{DecodedValueThunk, Value}, - error::{Error, StorageAddressError}, + error::{Error, MetadataError, StorageAddressError}, metadata::{DecodeWithMetadata, EncodeWithMetadata, Metadata}, utils::{Encoded, Static}, }; -use frame_metadata::v15::{StorageEntryType, StorageHasher}; use scale_info::TypeDef; use std::borrow::Cow; +use subxt_metadata::{StorageEntryType, StorageHasher}; /// This represents a storage address. Anything implementing this trait /// can be used to fetch and iterate over storage entries. @@ -138,10 +138,17 @@ where } fn append_entry_bytes(&self, metadata: &Metadata, bytes: &mut Vec) -> Result<(), Error> { - let pallet = metadata.pallet(&self.pallet_name)?; - let storage = pallet.storage(&self.entry_name)?; + let pallet = metadata + .pallet_by_name(self.pallet_name()) + .ok_or_else(|| MetadataError::PalletNameNotFound(self.pallet_name().to_owned()))?; + let storage = pallet + .storage() + .ok_or_else(|| MetadataError::StorageNotFoundInPallet(self.pallet_name().to_owned()))?; + let entry = storage + .entry_by_name(self.entry_name()) + .ok_or_else(|| MetadataError::StorageEntryNotFound(self.entry_name().to_owned()))?; - match &storage.ty { + match entry.entry_type() { StorageEntryType::Plain(_) => { if !self.storage_entry_keys.is_empty() { Err(StorageAddressError::WrongNumberOfKeys { @@ -153,10 +160,13 @@ where Ok(()) } } - StorageEntryType::Map { hashers, key, .. } => { + StorageEntryType::Map { + hashers, key_ty, .. + } => { let ty = metadata - .resolve_type(key.id) - .ok_or(StorageAddressError::TypeNotFound(key.id))?; + .types() + .resolve(*key_ty) + .ok_or(MetadataError::TypeNotFound(*key_ty))?; // If the key is a tuple, we encode each value to the corresponding tuple type. // If the key is not a tuple, encode a single value to the key type. @@ -164,7 +174,7 @@ where TypeDef::Tuple(tuple) => { either::Either::Left(tuple.fields.iter().map(|f| f.id)) } - _other => either::Either::Right(std::iter::once(key.id)), + _other => either::Either::Right(std::iter::once(*key_ty)), }; if type_ids.len() != self.storage_entry_keys.len() { diff --git a/subxt/src/storage/storage_client.rs b/subxt/src/storage/storage_client.rs index 64a0af8a00..a85bbeb5d2 100644 --- a/subxt/src/storage/storage_client.rs +++ b/subxt/src/storage/storage_client.rs @@ -9,7 +9,7 @@ use super::{ use crate::{ client::{OfflineClientT, OnlineClientT}, - error::Error, + error::{Error, MetadataError}, Config, }; use derivative::Derivative; @@ -43,7 +43,11 @@ where /// Return an error if the address was not valid or something went wrong trying to validate it (ie /// the pallet or storage entry in question do not exist at all). pub fn validate(&self, address: &Address) -> Result<(), Error> { - validate_storage_address(address, &self.client.metadata()) + let metadata = self.client.metadata(); + let pallet_metadata = metadata + .pallet_by_name(address.pallet_name()) + .ok_or_else(|| MetadataError::PalletNameNotFound(address.pallet_name().to_owned()))?; + validate_storage_address(address, pallet_metadata) } /// Convert some storage address into the raw bytes that would be submitted to the node in order diff --git a/subxt/src/storage/storage_type.rs b/subxt/src/storage/storage_type.rs index 51d2e978b5..30d61edd01 100644 --- a/subxt/src/storage/storage_type.rs +++ b/subxt/src/storage/storage_type.rs @@ -5,15 +5,14 @@ use super::storage_address::{StorageAddress, Yes}; use crate::{ client::OnlineClientT, - error::Error, + error::{Error, MetadataError}, metadata::{DecodeWithMetadata, Metadata}, rpc::types::{StorageData, StorageKey}, Config, }; use derivative::Derivative; -use frame_metadata::v15::StorageEntryType; -use scale_info::form::PortableForm; use std::{future::Future, marker::PhantomData}; +use subxt_metadata::{PalletMetadata, StorageEntryMetadata, StorageEntryType}; /// Query the runtime storage. #[derive(Derivative)] @@ -94,22 +93,21 @@ where { let client = self.clone(); async move { + let metadata = client.client.metadata(); + let (pallet, entry) = + lookup_entry_details(address.pallet_name(), address.entry_name(), &metadata)?; + // Metadata validation checks whether the static address given // is likely to actually correspond to a real storage entry or not. // if not, it means static codegen doesn't line up with runtime // metadata. - validate_storage_address(address, &client.client.metadata())?; + validate_storage_address(address, pallet)?; // Look up the return type ID to enable DecodeWithMetadata: - let metadata = client.client.metadata(); let lookup_bytes = super::utils::storage_address_bytes(address, &metadata)?; if let Some(data) = client.fetch_raw(&lookup_bytes).await? { - let val = decode_storage_with_metadata::( - &mut &*data, - address.pallet_name(), - address.entry_name(), - &metadata, - )?; + let val = + decode_storage_with_metadata::(&mut &*data, &metadata, entry)?; Ok(Some(val)) } else { Ok(None) @@ -128,18 +126,17 @@ where let client = self.clone(); async move { let pallet_name = address.pallet_name(); - let storage_name = address.entry_name(); + let entry_name = address.entry_name(); // Metadata validation happens via .fetch(): if let Some(data) = client.fetch(address).await? { Ok(data) } else { let metadata = client.client.metadata(); + let (_pallet_metadata, storage_entry) = + lookup_entry_details(pallet_name, entry_name, &metadata)?; - // We have to dig into metadata already, so no point using the optimised `decode_storage_with_metadata` call. - let pallet_metadata = metadata.pallet(pallet_name)?; - let storage_metadata = pallet_metadata.storage(storage_name)?; - let return_ty_id = return_type_from_storage_entry_type(&storage_metadata.ty); - let bytes = &mut &storage_metadata.default[..]; + let return_ty_id = return_type_from_storage_entry_type(storage_entry.entry_type()); + let bytes = &mut storage_entry.default_bytes(); let val = Address::Target::decode_with_metadata(bytes, return_ty_id, &metadata)?; Ok(val) @@ -209,19 +206,20 @@ where let client = self.clone(); let block_hash = self.block_hash; async move { + let metadata = client.client.metadata(); + let (pallet, entry) = + lookup_entry_details(address.pallet_name(), address.entry_name(), &metadata)?; + // Metadata validation checks whether the static address given // is likely to actually correspond to a real storage entry or not. // if not, it means static codegen doesn't line up with runtime // metadata. - validate_storage_address(&address, &client.client.metadata())?; - - let metadata = client.client.metadata(); + validate_storage_address(&address, pallet)?; // Look up the return type for flexible decoding. Do this once here to avoid // potentially doing it every iteration if we used `decode_storage_with_metadata` // in the iterator. - let return_type_id = - lookup_storage_return_type(&metadata, address.pallet_name(), address.entry_name())?; + let return_type_id = return_type_from_storage_entry_type(entry.entry_type()); // The root pallet/entry bytes for this storage entry: let address_root_bytes = super::utils::storage_address_root_bytes(&address); @@ -309,68 +307,63 @@ where /// Validate a storage address against the metadata. pub(crate) fn validate_storage_address( address: &Address, - metadata: &Metadata, + pallet: PalletMetadata<'_>, ) -> Result<(), Error> { if let Some(hash) = address.validation_hash() { - validate_storage(address.pallet_name(), address.entry_name(), hash, metadata)?; + validate_storage(pallet, address.entry_name(), hash)?; } Ok(()) } +/// Return details about the given storage entry. +fn lookup_entry_details<'a>( + pallet_name: &str, + entry_name: &str, + metadata: &'a Metadata, +) -> Result<(PalletMetadata<'a>, &'a StorageEntryMetadata), Error> { + let pallet_metadata = metadata + .pallet_by_name(pallet_name) + .ok_or_else(|| MetadataError::PalletNameNotFound(pallet_name.to_owned()))?; + let storage_metadata = pallet_metadata + .storage() + .ok_or_else(|| MetadataError::StorageNotFoundInPallet(pallet_name.to_owned()))?; + let storage_entry = storage_metadata + .entry_by_name(entry_name) + .ok_or_else(|| MetadataError::StorageEntryNotFound(entry_name.to_owned()))?; + Ok((pallet_metadata, storage_entry)) +} + /// Validate a storage entry against the metadata. fn validate_storage( - pallet_name: &str, + pallet: PalletMetadata<'_>, storage_name: &str, hash: [u8; 32], - metadata: &Metadata, ) -> Result<(), Error> { - let expected_hash = match metadata.storage_hash(pallet_name, storage_name) { - Ok(hash) => hash, - Err(e) => return Err(e.into()), + let Some(expected_hash) = pallet.storage_hash(storage_name) else { + return Err(MetadataError::IncompatibleCodegen.into()) }; - match expected_hash == hash { - true => Ok(()), - false => Err(crate::error::MetadataError::IncompatibleStorageMetadata( - pallet_name.into(), - storage_name.into(), - ) - .into()), + if expected_hash != hash { + return Err(MetadataError::IncompatibleCodegen.into()); } -} - -/// look up a return type ID for some storage entry. -fn lookup_storage_return_type( - metadata: &Metadata, - pallet: &str, - entry: &str, -) -> Result { - let storage_entry_type = &metadata.pallet(pallet)?.storage(entry)?.ty; - - Ok(return_type_from_storage_entry_type(storage_entry_type)) + Ok(()) } /// Fetch the return type out of a [`StorageEntryType`]. -fn return_type_from_storage_entry_type(entry: &StorageEntryType) -> u32 { +fn return_type_from_storage_entry_type(entry: &StorageEntryType) -> u32 { match entry { - StorageEntryType::Plain(ty) => ty.id, - StorageEntryType::Map { value, .. } => value.id, + StorageEntryType::Plain(ty) => *ty, + StorageEntryType::Map { value_ty, .. } => *value_ty, } } /// Given some bytes, a pallet and storage name, decode the response. fn decode_storage_with_metadata( bytes: &mut &[u8], - pallet_name: &str, - storage_entry: &str, metadata: &Metadata, + storage_metadata: &StorageEntryMetadata, ) -> Result { - let ty = &metadata.pallet(pallet_name)?.storage(storage_entry)?.ty; - - let id = match ty { - StorageEntryType::Plain(ty) => ty.id, - StorageEntryType::Map { value, .. } => value.id, - }; - - let val = T::decode_with_metadata(bytes, id, metadata)?; + let ty = storage_metadata.entry_type(); + let return_ty = return_type_from_storage_entry_type(ty); + let val = T::decode_with_metadata(bytes, return_ty, metadata)?; Ok(val) } diff --git a/subxt/src/tx/tx_client.rs b/subxt/src/tx/tx_client.rs index 58b59bc67b..ac9a59d495 100644 --- a/subxt/src/tx/tx_client.rs +++ b/subxt/src/tx/tx_client.rs @@ -11,7 +11,7 @@ use sp_core_hashing::blake2_256; use crate::{ client::{OfflineClientT, OnlineClientT}, config::{Config, ExtrinsicParams, Hasher}, - error::Error, + error::{Error, MetadataError}, tx::{Signer as SignerT, TxPayload, TxProgress}, utils::{Encoded, PhantomDataSendSync}, }; @@ -47,14 +47,16 @@ impl> TxClient { Call: TxPayload, { if let Some(details) = call.validation_details() { - let metadata = self.client.metadata(); - let expected_hash = metadata.call_hash(details.pallet_name, details.call_name)?; + let expected_hash = self + .client + .metadata() + .pallet_by_name(details.pallet_name) + .ok_or_else(|| MetadataError::PalletNameNotFound(details.pallet_name.to_owned()))? + .call_hash(details.call_name) + .ok_or_else(|| MetadataError::CallNameNotFound(details.call_name.to_owned()))?; + if details.hash != expected_hash { - return Err(crate::metadata::MetadataError::IncompatibleCallMetadata( - details.pallet_name.into(), - details.call_name.into(), - ) - .into()); + return Err(MetadataError::IncompatibleCodegen.into()); } } Ok(()) diff --git a/subxt/src/tx/tx_payload.rs b/subxt/src/tx/tx_payload.rs index 894cade163..a92b7f56f4 100644 --- a/subxt/src/tx/tx_payload.rs +++ b/subxt/src/tx/tx_payload.rs @@ -5,7 +5,11 @@ //! This module contains the trait and types used to represent //! transactions that can be submitted. -use crate::{dynamic::Value, error::Error, metadata::Metadata}; +use crate::{ + dynamic::Value, + error::{Error, MetadataError}, + metadata::Metadata, +}; use codec::Encode; use scale_encode::EncodeAsFields; use scale_value::{Composite, ValueDef, Variant}; @@ -137,17 +141,21 @@ impl Payload> { impl TxPayload for Payload { fn encode_call_data_to(&self, metadata: &Metadata, out: &mut Vec) -> Result<(), Error> { - let pallet = metadata.pallet(&self.pallet_name)?; - let call = pallet.call(&self.call_name)?; + let pallet = metadata + .pallet_by_name(&self.pallet_name) + .ok_or_else(|| MetadataError::PalletNameNotFound((*self.pallet_name).to_owned()))?; + let call = pallet + .call_variant_by_name(&self.call_name) + .ok_or_else(|| MetadataError::CallNameNotFound((*self.call_name).to_owned()))?; let pallet_index = pallet.index(); - let call_index = call.index(); + let call_index = call.index; pallet_index.encode_to(out); call_index.encode_to(out); self.call_data - .encode_as_fields_to(call.fields(), metadata.types(), out)?; + .encode_as_fields_to(&call.fields, metadata.types(), out)?; Ok(()) } diff --git a/testing/integration-tests/src/blocks/mod.rs b/testing/integration-tests/src/blocks/mod.rs index a54df4c6d0..e2b3b914c1 100644 --- a/testing/integration-tests/src/blocks/mod.rs +++ b/testing/integration-tests/src/blocks/mod.rs @@ -3,11 +3,11 @@ // see LICENSE for license details. use crate::{pair_signer, test_context, utils::node_runtime}; -use codec::Compact; -use frame_metadata::RuntimeMetadataPrefixed; +use codec::{Compact, Encode}; use futures::StreamExt; use sp_keyring::AccountKeyring; use subxt::blocks::BlocksClient; +use subxt_metadata::Metadata; // Check that we can subscribe to non-finalized blocks. #[tokio::test] @@ -103,21 +103,17 @@ async fn runtime_api_call() -> Result<(), subxt::Error> { let block = sub.next().await.unwrap()?; let rt = block.runtime_api().await?; - let (_, meta) = rt - .call_raw::<(Compact, RuntimeMetadataPrefixed)>("Metadata_metadata", None) + // get metadata via state_call. + let (_, meta1) = rt + .call_raw::<(Compact, Metadata)>("Metadata_metadata", None) .await?; - let metadata_call = match meta.1 { - frame_metadata::RuntimeMetadata::V14(metadata) => { - subxt_metadata::metadata_v14_to_latest(metadata) - } - frame_metadata::RuntimeMetadata::V15(metadata) => metadata, - _ => panic!("Metadata V14 or V15 unavailable"), - }; - - // Compare the runtime API call against the `state_getMetadata`. - let metadata = api.rpc().metadata_legacy(None).await?; - let metadata = metadata.runtime_metadata(); - assert_eq!(&metadata_call, metadata); + + // get metadata via `state_getMetadata`. + let meta2 = api.rpc().metadata_legacy(None).await?; + + // They should be the same. + assert_eq!(meta1.encode(), meta2.encode()); + Ok(()) } diff --git a/testing/integration-tests/src/client/mod.rs b/testing/integration-tests/src/client/mod.rs index aeaa30ec43..a33d13d64b 100644 --- a/testing/integration-tests/src/client/mod.rs +++ b/testing/integration-tests/src/client/mod.rs @@ -8,7 +8,6 @@ use crate::{ }; use assert_matches::assert_matches; use codec::{Compact, Decode, Encode}; -use frame_metadata::RuntimeMetadataPrefixed; use sp_core::storage::well_known_keys; use sp_core::{sr25519::Pair as Sr25519Pair, Pair}; use sp_keyring::AccountKeyring; @@ -21,6 +20,7 @@ use subxt::{ tx::Signer, utils::AccountId32, }; +use subxt_metadata::Metadata; #[tokio::test] async fn insert_key() { @@ -420,27 +420,23 @@ async fn unsigned_extrinsic_is_same_shape_as_polkadotjs() { } #[tokio::test] -async fn rpc_state_call() { +async fn rpc_state_call() -> Result<(), subxt::Error> { let ctx = test_context().await; let api = ctx.client(); - // Call into the runtime of the chain to get the Metadata. - let (_, meta) = api + // get metadata via state_call. + let (_, meta1) = api .rpc() - .state_call::<(Compact, RuntimeMetadataPrefixed)>("Metadata_metadata", None, None) - .await - .unwrap(); - let metadata_call = match meta.1 { - frame_metadata::RuntimeMetadata::V14(metadata) => { - subxt_metadata::metadata_v14_to_latest(metadata) - } - frame_metadata::RuntimeMetadata::V15(metadata) => metadata, - _ => panic!("Metadata V14 or V15 unavailable"), - }; - // Compare the runtime API call against the `state_getMetadata`. - let metadata = api.rpc().metadata_legacy(None).await.unwrap(); - let metadata = metadata.runtime_metadata(); - assert_eq!(&metadata_call, metadata); + .state_call::<(Compact, Metadata)>("Metadata_metadata", None, None) + .await?; + + // get metadata via `state_getMetadata`. + let meta2 = api.rpc().metadata_legacy(None).await?; + + // They should be the same. + assert_eq!(meta1.encode(), meta2.encode()); + + Ok(()) } #[tokio::test] diff --git a/testing/integration-tests/src/codegen/codegen_tests.rs b/testing/integration-tests/src/codegen/codegen_tests.rs index 23237ef5bf..50aea8a744 100644 --- a/testing/integration-tests/src/codegen/codegen_tests.rs +++ b/testing/integration-tests/src/codegen/codegen_tests.rs @@ -11,6 +11,9 @@ use subxt_codegen::{CratePath, DerivesRegistry, RuntimeGenerator, TypeSubstitute fn generate_runtime_interface_from_metadata(metadata: RuntimeMetadataPrefixed) -> String { // Generate a runtime interface from the provided metadata. + let metadata = metadata + .try_into() + .expect("frame_metadata should be convertible into Metadata"); let generator = RuntimeGenerator::new(metadata); let item_mod = syn::parse_quote!( pub mod api {} diff --git a/testing/integration-tests/src/codegen/documentation.rs b/testing/integration-tests/src/codegen/documentation.rs index e371b24a70..9eb79c0ecc 100644 --- a/testing/integration-tests/src/codegen/documentation.rs +++ b/testing/integration-tests/src/codegen/documentation.rs @@ -2,49 +2,46 @@ // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. +use codec::Decode; use regex::Regex; use subxt_codegen::{CratePath, DerivesRegistry, RuntimeGenerator, TypeSubstitutes}; +use subxt_metadata::Metadata; -fn load_test_metadata() -> frame_metadata::RuntimeMetadataPrefixed { +fn load_test_metadata() -> Metadata { let bytes = test_runtime::METADATA; - codec::Decode::decode(&mut &*bytes).expect("Cannot decode scale metadata") + Metadata::decode(&mut &*bytes).expect("Cannot decode scale metadata") } fn metadata_docs() -> Vec { // Load the runtime metadata downloaded from a node via `test-runtime`. - let meta = load_test_metadata(); - let metadata = match meta.1 { - frame_metadata::RuntimeMetadata::V14(v14) => subxt_metadata::metadata_v14_to_latest(v14), - frame_metadata::RuntimeMetadata::V15(v15) => v15, - _ => panic!("Unsupported metadata version {:?}", meta.1), - }; + let metadata = load_test_metadata(); // Inspect the metadata types and collect the documentation. let mut docs = Vec::new(); - for ty in &metadata.types.types { + for ty in &metadata.types().types { docs.extend_from_slice(&ty.ty.docs); } - for pallet in metadata.pallets { - if let Some(storage) = pallet.storage { - for entry in storage.entries { - docs.extend(entry.docs); + for pallet in metadata.pallets() { + if let Some(storage) = pallet.storage() { + for entry in storage.entries() { + docs.extend_from_slice(entry.docs()); } } // Note: Calls, Events and Errors are deduced directly to // PortableTypes which are handled above. - for constant in pallet.constants { - docs.extend(constant.docs); + for constant in pallet.constants() { + docs.extend_from_slice(constant.docs()); } } // Note: Extrinsics do not have associated documentation, but is implied by // associated Type. // Inspect the runtime API types and collect the documentation. - for api in metadata.apis { - docs.extend(api.docs); - for method in api.methods { - docs.extend(method.docs); + for api in metadata.runtime_api_traits() { + docs.extend_from_slice(api.docs()); + for method in api.methods() { + docs.extend_from_slice(method.docs()); } } diff --git a/testing/integration-tests/src/codegen/polkadot.rs b/testing/integration-tests/src/codegen/polkadot.rs index 37746296a1..d49eed96e0 100644 --- a/testing/integration-tests/src/codegen/polkadot.rs +++ b/testing/integration-tests/src/codegen/polkadot.rs @@ -1404,12 +1404,13 @@ pub mod api { runtime_types::sp_version::RuntimeVersion, > { ::subxt::runtime_api::Payload::new_static( - "Core_version", + "Core", + "version", types::Version {}, [ - 209u8, 59u8, 156u8, 128u8, 14u8, 210u8, 96u8, 63u8, 140u8, 0u8, 65u8, - 211u8, 118u8, 177u8, 9u8, 208u8, 105u8, 124u8, 132u8, 203u8, 157u8, - 207u8, 186u8, 177u8, 91u8, 170u8, 22u8, 224u8, 88u8, 56u8, 56u8, 13u8, + 208u8, 156u8, 242u8, 175u8, 91u8, 142u8, 140u8, 147u8, 202u8, 252u8, + 59u8, 236u8, 42u8, 221u8, 134u8, 39u8, 177u8, 160u8, 223u8, 74u8, 36u8, + 141u8, 74u8, 4u8, 248u8, 111u8, 254u8, 214u8, 23u8, 59u8, 59u8, 160u8, ], ) } @@ -1419,12 +1420,14 @@ pub mod api { block : runtime_types :: sp_runtime :: generic :: block :: Block < runtime_types :: sp_runtime :: generic :: header :: Header < :: core :: primitive :: u32 , runtime_types :: sp_runtime :: traits :: BlakeTwo256 > , runtime_types :: sp_runtime :: generic :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt :: utils :: MultiAddress < :: subxt :: utils :: AccountId32 , () > , runtime_types :: polkadot_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment , runtime_types :: polkadot_runtime_common :: claims :: PrevalidateAttests ,) > >, ) -> ::subxt::runtime_api::Payload { ::subxt::runtime_api::Payload::new_static( - "Core_execute_block", + "Core", + "execute_block", types::ExecuteBlock { block }, [ - 199u8, 164u8, 96u8, 78u8, 188u8, 134u8, 19u8, 247u8, 63u8, 58u8, 93u8, - 227u8, 122u8, 157u8, 93u8, 196u8, 16u8, 7u8, 20u8, 17u8, 178u8, 152u8, - 211u8, 185u8, 56u8, 153u8, 118u8, 241u8, 118u8, 105u8, 85u8, 3u8, + 101u8, 219u8, 22u8, 226u8, 108u8, 12u8, 117u8, 235u8, 185u8, 6u8, + 210u8, 196u8, 241u8, 124u8, 122u8, 100u8, 196u8, 226u8, 6u8, 228u8, + 75u8, 247u8, 160u8, 208u8, 56u8, 53u8, 18u8, 69u8, 235u8, 125u8, 86u8, + 54u8, ], ) } @@ -1437,13 +1440,14 @@ pub mod api { >, ) -> ::subxt::runtime_api::Payload { ::subxt::runtime_api::Payload::new_static( - "Core_initialize_block", + "Core", + "initialize_block", types::InitializeBlock { header }, [ - 45u8, 232u8, 143u8, 132u8, 33u8, 211u8, 71u8, 186u8, 169u8, 91u8, - 143u8, 156u8, 174u8, 156u8, 10u8, 25u8, 203u8, 16u8, 208u8, 226u8, - 12u8, 233u8, 145u8, 228u8, 63u8, 118u8, 66u8, 247u8, 71u8, 48u8, 44u8, - 243u8, + 49u8, 128u8, 189u8, 185u8, 156u8, 217u8, 149u8, 251u8, 64u8, 175u8, + 28u8, 121u8, 111u8, 219u8, 161u8, 62u8, 176u8, 22u8, 167u8, 137u8, + 137u8, 14u8, 56u8, 29u8, 3u8, 98u8, 204u8, 14u8, 65u8, 79u8, 199u8, + 112u8, ], ) } @@ -1504,13 +1508,13 @@ pub mod api { runtime_types::sp_core::OpaqueMetadata, > { ::subxt::runtime_api::Payload::new_static( - "Metadata_metadata", + "Metadata", + "metadata", types::Metadata {}, [ - 158u8, 223u8, 229u8, 177u8, 228u8, 49u8, 24u8, 219u8, 143u8, 82u8, - 255u8, 132u8, 245u8, 210u8, 160u8, 197u8, 218u8, 10u8, 63u8, 165u8, - 115u8, 91u8, 70u8, 151u8, 246u8, 51u8, 18u8, 235u8, 91u8, 143u8, 27u8, - 127u8, + 231u8, 24u8, 67u8, 152u8, 23u8, 26u8, 188u8, 82u8, 229u8, 6u8, 185u8, + 27u8, 175u8, 68u8, 83u8, 122u8, 69u8, 89u8, 185u8, 74u8, 248u8, 87u8, + 217u8, 124u8, 193u8, 252u8, 199u8, 186u8, 196u8, 179u8, 179u8, 96u8, ], ) } @@ -1526,12 +1530,14 @@ pub mod api { ::core::option::Option, > { ::subxt::runtime_api::Payload::new_static( - "Metadata_metadata_at_version", + "Metadata", + "metadata_at_version", types::MetadataAtVersion { version }, [ - 50u8, 164u8, 234u8, 88u8, 65u8, 62u8, 176u8, 66u8, 188u8, 114u8, 205u8, - 29u8, 137u8, 173u8, 194u8, 54u8, 237u8, 48u8, 221u8, 46u8, 166u8, 44u8, - 220u8, 137u8, 97u8, 128u8, 204u8, 137u8, 29u8, 229u8, 31u8, 134u8, + 131u8, 53u8, 212u8, 234u8, 16u8, 25u8, 120u8, 252u8, 153u8, 153u8, + 216u8, 28u8, 54u8, 113u8, 52u8, 236u8, 146u8, 68u8, 142u8, 8u8, 10u8, + 169u8, 131u8, 142u8, 204u8, 38u8, 48u8, 108u8, 134u8, 86u8, 226u8, + 61u8, ], ) } @@ -1545,13 +1551,14 @@ pub mod api { ::std::vec::Vec<::core::primitive::u32>, > { ::subxt::runtime_api::Payload::new_static( - "Metadata_metadata_versions", + "Metadata", + "metadata_versions", types::MetadataVersions {}, [ - 255u8, 234u8, 86u8, 244u8, 238u8, 175u8, 175u8, 54u8, 181u8, 181u8, - 23u8, 185u8, 231u8, 242u8, 153u8, 246u8, 205u8, 142u8, 184u8, 21u8, - 240u8, 217u8, 195u8, 231u8, 32u8, 163u8, 127u8, 3u8, 51u8, 130u8, 68u8, - 124u8, + 23u8, 144u8, 137u8, 91u8, 188u8, 39u8, 231u8, 208u8, 252u8, 218u8, + 224u8, 176u8, 77u8, 32u8, 130u8, 212u8, 223u8, 76u8, 100u8, 190u8, + 82u8, 94u8, 190u8, 8u8, 82u8, 244u8, 225u8, 179u8, 85u8, 176u8, 56u8, + 16u8, ], ) } @@ -1616,13 +1623,14 @@ pub mod api { >, > { ::subxt::runtime_api::Payload::new_static( - "BlockBuilder_apply_extrinsic", + "BlockBuilder", + "apply_extrinsic", types::ApplyExtrinsic { extrinsic }, [ - 151u8, 89u8, 106u8, 151u8, 95u8, 29u8, 10u8, 68u8, 85u8, 149u8, 144u8, - 132u8, 47u8, 46u8, 164u8, 91u8, 225u8, 219u8, 85u8, 120u8, 101u8, - 105u8, 45u8, 79u8, 171u8, 133u8, 121u8, 170u8, 197u8, 248u8, 24u8, - 10u8, + 103u8, 239u8, 152u8, 72u8, 246u8, 79u8, 116u8, 229u8, 172u8, 86u8, + 78u8, 239u8, 153u8, 135u8, 150u8, 250u8, 37u8, 149u8, 129u8, 188u8, + 20u8, 237u8, 108u8, 146u8, 164u8, 117u8, 199u8, 147u8, 199u8, 93u8, + 195u8, 101u8, ], ) } @@ -1637,24 +1645,26 @@ pub mod api { >, > { ::subxt::runtime_api::Payload::new_static( - "BlockBuilder_finalize_block", + "BlockBuilder", + "finalize_block", types::FinalizeBlock {}, [ - 78u8, 179u8, 67u8, 170u8, 213u8, 230u8, 122u8, 98u8, 76u8, 244u8, - 225u8, 219u8, 83u8, 115u8, 94u8, 229u8, 93u8, 142u8, 120u8, 172u8, - 87u8, 99u8, 120u8, 41u8, 143u8, 184u8, 71u8, 49u8, 126u8, 55u8, 240u8, - 125u8, + 23u8, 247u8, 179u8, 24u8, 180u8, 7u8, 52u8, 202u8, 187u8, 15u8, 199u8, + 213u8, 193u8, 75u8, 103u8, 56u8, 190u8, 154u8, 81u8, 21u8, 209u8, + 178u8, 133u8, 136u8, 180u8, 112u8, 213u8, 76u8, 117u8, 156u8, 126u8, + 30u8, ], ) } #[doc = " Generate inherent extrinsics. The inherent data will vary from chain to chain."] pub fn inherent_extrinsics (& self , inherent : runtime_types :: sp_inherents :: InherentData ,) -> :: subxt :: runtime_api :: Payload < types :: InherentExtrinsics , :: std :: vec :: Vec < runtime_types :: sp_runtime :: generic :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt :: utils :: MultiAddress < :: subxt :: utils :: AccountId32 , () > , runtime_types :: polkadot_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment , runtime_types :: polkadot_runtime_common :: claims :: PrevalidateAttests ,) > > >{ ::subxt::runtime_api::Payload::new_static( - "BlockBuilder_inherent_extrinsics", + "BlockBuilder", + "inherent_extrinsics", types::InherentExtrinsics { inherent }, [ - 75u8, 86u8, 85u8, 104u8, 125u8, 169u8, 23u8, 92u8, 162u8, 73u8, 65u8, - 223u8, 100u8, 24u8, 201u8, 157u8, 145u8, 208u8, 238u8, 11u8, 255u8, - 98u8, 0u8, 211u8, 189u8, 94u8, 5u8, 123u8, 25u8, 1u8, 88u8, 234u8, + 98u8, 190u8, 193u8, 3u8, 42u8, 89u8, 80u8, 230u8, 153u8, 241u8, 71u8, + 43u8, 108u8, 107u8, 63u8, 181u8, 9u8, 86u8, 244u8, 9u8, 237u8, 198u8, + 249u8, 164u8, 242u8, 137u8, 216u8, 210u8, 2u8, 197u8, 33u8, 169u8, ], ) } @@ -1668,13 +1678,14 @@ pub mod api { runtime_types::sp_inherents::CheckInherentsResult, > { ::subxt::runtime_api::Payload::new_static( - "BlockBuilder_check_inherents", + "BlockBuilder", + "check_inherents", types::CheckInherents { block, data }, [ - 162u8, 99u8, 46u8, 228u8, 124u8, 158u8, 224u8, 212u8, 90u8, 101u8, - 133u8, 173u8, 82u8, 61u8, 131u8, 131u8, 254u8, 209u8, 17u8, 181u8, - 87u8, 190u8, 80u8, 165u8, 172u8, 179u8, 121u8, 202u8, 126u8, 48u8, - 254u8, 112u8, + 195u8, 85u8, 54u8, 114u8, 231u8, 129u8, 188u8, 241u8, 167u8, 99u8, + 249u8, 100u8, 0u8, 48u8, 234u8, 88u8, 140u8, 75u8, 180u8, 233u8, 135u8, + 186u8, 31u8, 179u8, 64u8, 199u8, 12u8, 212u8, 191u8, 179u8, 71u8, + 226u8, ], ) } @@ -1742,12 +1753,14 @@ pub mod api { ) -> ::subxt::runtime_api::Payload { ::subxt::runtime_api::Payload::new_static( - "NominationPoolsApi_pending_rewards", + "NominationPoolsApi", + "pending_rewards", types::PendingRewards { who }, [ - 235u8, 64u8, 57u8, 70u8, 111u8, 27u8, 62u8, 236u8, 36u8, 192u8, 103u8, - 89u8, 221u8, 194u8, 46u8, 223u8, 71u8, 249u8, 33u8, 135u8, 43u8, 42u8, - 147u8, 57u8, 130u8, 44u8, 35u8, 132u8, 163u8, 153u8, 201u8, 105u8, + 78u8, 79u8, 88u8, 196u8, 232u8, 243u8, 82u8, 234u8, 115u8, 130u8, + 124u8, 165u8, 217u8, 64u8, 17u8, 48u8, 245u8, 181u8, 130u8, 120u8, + 217u8, 158u8, 146u8, 242u8, 41u8, 206u8, 90u8, 201u8, 244u8, 10u8, + 137u8, 19u8, ], ) } @@ -1759,13 +1772,14 @@ pub mod api { ) -> ::subxt::runtime_api::Payload { ::subxt::runtime_api::Payload::new_static( - "NominationPoolsApi_points_to_balance", + "NominationPoolsApi", + "points_to_balance", types::PointsToBalance { pool_id, points }, [ - 30u8, 7u8, 5u8, 95u8, 146u8, 43u8, 110u8, 21u8, 148u8, 160u8, 74u8, - 92u8, 168u8, 188u8, 74u8, 41u8, 129u8, 172u8, 138u8, 30u8, 232u8, - 214u8, 154u8, 18u8, 52u8, 87u8, 71u8, 127u8, 141u8, 177u8, 216u8, - 158u8, + 185u8, 86u8, 75u8, 107u8, 174u8, 197u8, 17u8, 216u8, 194u8, 41u8, + 170u8, 1u8, 113u8, 207u8, 77u8, 143u8, 211u8, 210u8, 181u8, 131u8, + 16u8, 223u8, 77u8, 134u8, 152u8, 8u8, 160u8, 20u8, 83u8, 241u8, 195u8, + 2u8, ], ) } @@ -1777,13 +1791,14 @@ pub mod api { ) -> ::subxt::runtime_api::Payload { ::subxt::runtime_api::Payload::new_static( - "NominationPoolsApi_balance_to_points", + "NominationPoolsApi", + "balance_to_points", types::BalanceToPoints { pool_id, new_funds }, [ - 152u8, 165u8, 227u8, 129u8, 31u8, 108u8, 224u8, 174u8, 74u8, 192u8, - 102u8, 139u8, 17u8, 119u8, 173u8, 220u8, 52u8, 157u8, 125u8, 107u8, - 110u8, 236u8, 9u8, 93u8, 239u8, 3u8, 18u8, 140u8, 203u8, 136u8, 183u8, - 215u8, + 95u8, 31u8, 119u8, 229u8, 217u8, 163u8, 94u8, 190u8, 149u8, 114u8, + 81u8, 21u8, 215u8, 86u8, 237u8, 48u8, 232u8, 142u8, 114u8, 162u8, + 176u8, 6u8, 210u8, 190u8, 56u8, 45u8, 229u8, 161u8, 201u8, 84u8, 137u8, + 76u8, ], ) } @@ -1845,12 +1860,14 @@ pub mod api { ) -> ::subxt::runtime_api::Payload { ::subxt::runtime_api::Payload::new_static( - "StakingApi_nominations_quota", + "StakingApi", + "nominations_quota", types::NominationsQuota { balance }, [ - 181u8, 19u8, 6u8, 134u8, 234u8, 67u8, 127u8, 210u8, 53u8, 38u8, 175u8, - 160u8, 243u8, 71u8, 187u8, 206u8, 178u8, 91u8, 26u8, 115u8, 18u8, - 214u8, 50u8, 208u8, 161u8, 197u8, 81u8, 13u8, 98u8, 53u8, 124u8, 62u8, + 221u8, 113u8, 50u8, 150u8, 51u8, 181u8, 158u8, 235u8, 25u8, 160u8, + 135u8, 47u8, 196u8, 129u8, 90u8, 137u8, 157u8, 167u8, 212u8, 104u8, + 33u8, 48u8, 83u8, 106u8, 84u8, 220u8, 62u8, 85u8, 25u8, 151u8, 189u8, + 114u8, ], ) } @@ -1900,16 +1917,17 @@ pub mod api { >, > { ::subxt::runtime_api::Payload::new_static( - "TaggedTransactionQueue_validate_transaction", + "TaggedTransactionQueue", + "validate_transaction", types::ValidateTransaction { source, tx, block_hash, }, [ - 93u8, 180u8, 253u8, 37u8, 212u8, 54u8, 180u8, 214u8, 33u8, 5u8, 113u8, - 181u8, 25u8, 48u8, 153u8, 221u8, 78u8, 6u8, 115u8, 191u8, 72u8, 75u8, - 203u8, 171u8, 129u8, 75u8, 56u8, 60u8, 243u8, 92u8, 173u8, 12u8, + 0u8, 184u8, 223u8, 131u8, 207u8, 216u8, 71u8, 7u8, 51u8, 252u8, 130u8, + 189u8, 9u8, 21u8, 39u8, 75u8, 0u8, 1u8, 21u8, 157u8, 208u8, 5u8, 110u8, + 10u8, 212u8, 177u8, 59u8, 194u8, 178u8, 244u8, 238u8, 238u8, ], ) } @@ -1944,13 +1962,14 @@ pub mod api { >, ) -> ::subxt::runtime_api::Payload { ::subxt::runtime_api::Payload::new_static( - "OffchainWorkerApi_offchain_worker", + "OffchainWorkerApi", + "offchain_worker", types::OffchainWorker { header }, [ - 187u8, 145u8, 211u8, 0u8, 200u8, 151u8, 231u8, 42u8, 187u8, 128u8, - 157u8, 64u8, 191u8, 64u8, 31u8, 158u8, 13u8, 159u8, 227u8, 120u8, - 155u8, 215u8, 228u8, 215u8, 44u8, 8u8, 206u8, 116u8, 241u8, 133u8, 2u8, - 234u8, + 203u8, 137u8, 171u8, 220u8, 51u8, 190u8, 230u8, 10u8, 77u8, 8u8, 141u8, + 224u8, 144u8, 82u8, 45u8, 116u8, 23u8, 223u8, 254u8, 209u8, 49u8, + 228u8, 161u8, 170u8, 202u8, 99u8, 200u8, 20u8, 61u8, 17u8, 191u8, + 203u8, ], ) } @@ -1989,13 +2008,14 @@ pub mod api { ::std::vec::Vec, > { ::subxt::runtime_api::Payload::new_static( - "ParachainHost_validators", + "ParachainHost", + "validators", types::Validators {}, [ - 105u8, 23u8, 110u8, 209u8, 38u8, 112u8, 199u8, 134u8, 145u8, 131u8, - 38u8, 221u8, 254u8, 147u8, 242u8, 149u8, 94u8, 76u8, 197u8, 67u8, - 228u8, 113u8, 196u8, 50u8, 122u8, 1u8, 121u8, 225u8, 163u8, 210u8, - 66u8, 68u8, + 56u8, 64u8, 189u8, 234u8, 85u8, 75u8, 2u8, 212u8, 192u8, 95u8, 230u8, + 201u8, 98u8, 220u8, 78u8, 20u8, 101u8, 16u8, 153u8, 192u8, 133u8, + 179u8, 217u8, 98u8, 247u8, 143u8, 104u8, 147u8, 47u8, 255u8, 111u8, + 72u8, ], ) } @@ -2016,12 +2036,13 @@ pub mod api { ), > { ::subxt::runtime_api::Payload::new_static( - "ParachainHost_validator_groups", + "ParachainHost", + "validator_groups", types::ValidatorGroups {}, [ - 185u8, 206u8, 229u8, 10u8, 93u8, 19u8, 23u8, 44u8, 159u8, 13u8, 235u8, - 236u8, 78u8, 153u8, 144u8, 82u8, 106u8, 248u8, 8u8, 92u8, 250u8, 54u8, - 153u8, 53u8, 183u8, 60u8, 67u8, 216u8, 201u8, 88u8, 217u8, 120u8, + 24u8, 171u8, 23u8, 86u8, 7u8, 140u8, 37u8, 124u8, 240u8, 134u8, 32u8, + 107u8, 1u8, 57u8, 195u8, 88u8, 93u8, 176u8, 76u8, 58u8, 213u8, 209u8, + 45u8, 37u8, 176u8, 231u8, 95u8, 153u8, 127u8, 100u8, 188u8, 219u8, ], ) } @@ -2039,13 +2060,13 @@ pub mod api { >, > { ::subxt::runtime_api::Payload::new_static( - "ParachainHost_availability_cores", + "ParachainHost", + "availability_cores", types::AvailabilityCores {}, [ - 107u8, 20u8, 115u8, 26u8, 118u8, 211u8, 207u8, 122u8, 134u8, 174u8, - 98u8, 237u8, 216u8, 175u8, 39u8, 176u8, 211u8, 78u8, 142u8, 29u8, - 127u8, 56u8, 160u8, 249u8, 174u8, 244u8, 146u8, 181u8, 4u8, 166u8, - 93u8, 13u8, + 20u8, 38u8, 87u8, 56u8, 94u8, 85u8, 87u8, 37u8, 142u8, 86u8, 34u8, + 211u8, 142u8, 20u8, 245u8, 111u8, 124u8, 96u8, 235u8, 130u8, 233u8, + 20u8, 112u8, 60u8, 100u8, 2u8, 173u8, 55u8, 167u8, 233u8, 213u8, 98u8, ], ) } @@ -2068,15 +2089,16 @@ pub mod api { >, > { ::subxt::runtime_api::Payload::new_static( - "ParachainHost_persisted_validation_data", + "ParachainHost", + "persisted_validation_data", types::PersistedValidationData { para_id, assumption, }, [ - 230u8, 186u8, 57u8, 116u8, 47u8, 20u8, 186u8, 89u8, 108u8, 211u8, 22u8, - 57u8, 124u8, 234u8, 140u8, 3u8, 104u8, 89u8, 89u8, 188u8, 156u8, 130u8, - 146u8, 77u8, 129u8, 66u8, 227u8, 157u8, 4u8, 134u8, 7u8, 237u8, + 237u8, 50u8, 182u8, 228u8, 164u8, 127u8, 74u8, 248u8, 33u8, 12u8, 18u8, + 216u8, 135u8, 121u8, 146u8, 255u8, 242u8, 161u8, 227u8, 39u8, 107u8, + 78u8, 106u8, 54u8, 50u8, 26u8, 194u8, 91u8, 221u8, 207u8, 119u8, 25u8, ], ) } @@ -2098,16 +2120,16 @@ pub mod api { )>, > { ::subxt::runtime_api::Payload::new_static( - "ParachainHost_assumed_validation_data", + "ParachainHost", + "assumed_validation_data", types::AssumedValidationData { para_id, expected_persisted_validation_data_hash, }, [ - 53u8, 137u8, 220u8, 72u8, 155u8, 9u8, 200u8, 207u8, 158u8, 108u8, - 204u8, 15u8, 188u8, 162u8, 129u8, 158u8, 62u8, 200u8, 13u8, 0u8, 217u8, - 195u8, 19u8, 151u8, 187u8, 231u8, 197u8, 235u8, 128u8, 244u8, 51u8, - 85u8, + 217u8, 79u8, 215u8, 232u8, 170u8, 10u8, 5u8, 200u8, 85u8, 10u8, 250u8, + 106u8, 7u8, 181u8, 176u8, 208u8, 18u8, 28u8, 95u8, 68u8, 227u8, 42u8, + 150u8, 20u8, 236u8, 253u8, 89u8, 217u8, 251u8, 131u8, 37u8, 109u8, ], ) } @@ -2123,13 +2145,13 @@ pub mod api { ::core::primitive::bool, > { ::subxt::runtime_api::Payload::new_static( - "ParachainHost_check_validation_outputs", + "ParachainHost", + "check_validation_outputs", types::CheckValidationOutputs { para_id, outputs }, [ - 99u8, 191u8, 194u8, 26u8, 245u8, 216u8, 224u8, 232u8, 26u8, 184u8, - 120u8, 64u8, 32u8, 134u8, 215u8, 138u8, 195u8, 30u8, 220u8, 111u8, - 119u8, 182u8, 62u8, 72u8, 5u8, 144u8, 87u8, 157u8, 125u8, 125u8, 237u8, - 34u8, + 130u8, 83u8, 118u8, 171u8, 9u8, 170u8, 167u8, 159u8, 82u8, 50u8, 197u8, + 71u8, 14u8, 124u8, 149u8, 187u8, 54u8, 52u8, 115u8, 109u8, 163u8, 58u8, + 138u8, 0u8, 197u8, 193u8, 50u8, 215u8, 223u8, 40u8, 94u8, 43u8, ], ) } @@ -2143,12 +2165,13 @@ pub mod api { ::core::primitive::u32, > { ::subxt::runtime_api::Payload::new_static( - "ParachainHost_session_index_for_child", + "ParachainHost", + "session_index_for_child", types::SessionIndexForChild {}, [ - 224u8, 173u8, 95u8, 16u8, 57u8, 180u8, 35u8, 148u8, 243u8, 77u8, 123u8, - 242u8, 212u8, 122u8, 27u8, 32u8, 44u8, 166u8, 66u8, 124u8, 1u8, 190u8, - 93u8, 124u8, 57u8, 127u8, 249u8, 141u8, 173u8, 92u8, 137u8, 165u8, + 135u8, 9u8, 1u8, 244u8, 174u8, 151u8, 247u8, 75u8, 226u8, 216u8, 53u8, + 78u8, 26u8, 109u8, 44u8, 77u8, 208u8, 151u8, 94u8, 212u8, 115u8, 43u8, + 118u8, 22u8, 140u8, 117u8, 15u8, 224u8, 163u8, 252u8, 90u8, 255u8, ], ) } @@ -2167,15 +2190,17 @@ pub mod api { >, > { ::subxt::runtime_api::Payload::new_static( - "ParachainHost_validation_code", + "ParachainHost", + "validation_code", types::ValidationCode { para_id, assumption, }, [ - 231u8, 64u8, 145u8, 133u8, 197u8, 196u8, 177u8, 229u8, 152u8, 70u8, - 16u8, 159u8, 65u8, 66u8, 172u8, 58u8, 60u8, 50u8, 232u8, 28u8, 36u8, - 211u8, 161u8, 28u8, 192u8, 153u8, 89u8, 186u8, 9u8, 246u8, 228u8, 84u8, + 231u8, 15u8, 35u8, 159u8, 96u8, 23u8, 246u8, 125u8, 78u8, 79u8, 158u8, + 116u8, 36u8, 199u8, 53u8, 61u8, 242u8, 136u8, 227u8, 174u8, 136u8, + 71u8, 143u8, 47u8, 216u8, 21u8, 225u8, 117u8, 50u8, 104u8, 161u8, + 232u8, ], ) } @@ -2193,13 +2218,13 @@ pub mod api { >, > { ::subxt::runtime_api::Payload::new_static( - "ParachainHost_candidate_pending_availability", + "ParachainHost", + "candidate_pending_availability", types::CandidatePendingAvailability { para_id }, [ - 175u8, 68u8, 187u8, 74u8, 138u8, 129u8, 153u8, 251u8, 216u8, 70u8, - 251u8, 151u8, 169u8, 252u8, 31u8, 16u8, 61u8, 242u8, 169u8, 15u8, - 123u8, 58u8, 177u8, 131u8, 6u8, 79u8, 30u8, 105u8, 51u8, 67u8, 19u8, - 208u8, + 154u8, 125u8, 63u8, 252u8, 163u8, 113u8, 154u8, 109u8, 73u8, 53u8, + 211u8, 166u8, 170u8, 8u8, 225u8, 175u8, 62u8, 234u8, 76u8, 210u8, 87u8, + 82u8, 41u8, 21u8, 138u8, 223u8, 68u8, 91u8, 42u8, 6u8, 92u8, 83u8, ], ) } @@ -2215,12 +2240,13 @@ pub mod api { >, > { ::subxt::runtime_api::Payload::new_static( - "ParachainHost_candidate_events", + "ParachainHost", + "candidate_events", types::CandidateEvents {}, [ - 50u8, 177u8, 192u8, 138u8, 139u8, 179u8, 76u8, 167u8, 238u8, 92u8, - 255u8, 249u8, 223u8, 61u8, 112u8, 7u8, 0u8, 6u8, 43u8, 71u8, 209u8, - 21u8, 14u8, 184u8, 19u8, 68u8, 106u8, 193u8, 38u8, 251u8, 19u8, 208u8, + 218u8, 47u8, 143u8, 92u8, 30u8, 179u8, 238u8, 141u8, 23u8, 90u8, 106u8, + 220u8, 164u8, 111u8, 198u8, 194u8, 157u8, 30u8, 141u8, 161u8, 111u8, + 18u8, 67u8, 161u8, 15u8, 10u8, 135u8, 117u8, 102u8, 46u8, 253u8, 200u8, ], ) } @@ -2237,12 +2263,13 @@ pub mod api { >, > { ::subxt::runtime_api::Payload::new_static( - "ParachainHost_dmq_contents", + "ParachainHost", + "dmq_contents", types::DmqContents { recipient }, [ - 34u8, 66u8, 1u8, 92u8, 223u8, 240u8, 222u8, 128u8, 190u8, 242u8, 160u8, - 140u8, 60u8, 57u8, 155u8, 105u8, 10u8, 162u8, 212u8, 72u8, 1u8, 192u8, - 36u8, 26u8, 127u8, 86u8, 8u8, 255u8, 57u8, 210u8, 148u8, 254u8, + 101u8, 11u8, 228u8, 155u8, 29u8, 171u8, 197u8, 250u8, 190u8, 12u8, + 91u8, 126u8, 61u8, 245u8, 62u8, 84u8, 87u8, 188u8, 214u8, 179u8, 93u8, + 2u8, 253u8, 81u8, 173u8, 68u8, 202u8, 12u8, 153u8, 209u8, 195u8, 218u8, ], ) } @@ -2263,12 +2290,13 @@ pub mod api { >, > { ::subxt::runtime_api::Payload::new_static( - "ParachainHost_inbound_hrmp_channels_contents", + "ParachainHost", + "inbound_hrmp_channels_contents", types::InboundHrmpChannelsContents { recipient }, [ - 209u8, 72u8, 244u8, 143u8, 167u8, 234u8, 8u8, 33u8, 80u8, 154u8, 132u8, - 22u8, 62u8, 174u8, 3u8, 89u8, 78u8, 115u8, 119u8, 77u8, 169u8, 80u8, - 98u8, 164u8, 8u8, 8u8, 50u8, 120u8, 58u8, 12u8, 114u8, 57u8, + 137u8, 234u8, 23u8, 131u8, 16u8, 41u8, 19u8, 174u8, 230u8, 103u8, 68u8, + 163u8, 29u8, 47u8, 228u8, 22u8, 198u8, 42u8, 227u8, 88u8, 186u8, 140u8, + 137u8, 176u8, 26u8, 116u8, 172u8, 186u8, 39u8, 27u8, 50u8, 249u8, ], ) } @@ -2283,13 +2311,14 @@ pub mod api { >, > { ::subxt::runtime_api::Payload::new_static( - "ParachainHost_validation_code_by_hash", + "ParachainHost", + "validation_code_by_hash", types::ValidationCodeByHash { hash }, [ - 143u8, 146u8, 97u8, 197u8, 138u8, 122u8, 186u8, 0u8, 86u8, 105u8, - 207u8, 55u8, 53u8, 47u8, 131u8, 101u8, 24u8, 71u8, 204u8, 71u8, 96u8, - 100u8, 252u8, 127u8, 21u8, 248u8, 70u8, 187u8, 111u8, 112u8, 77u8, - 208u8, + 212u8, 83u8, 91u8, 51u8, 38u8, 58u8, 129u8, 5u8, 135u8, 147u8, 201u8, + 44u8, 104u8, 153u8, 22u8, 208u8, 205u8, 86u8, 132u8, 249u8, 194u8, + 207u8, 171u8, 60u8, 238u8, 180u8, 212u8, 153u8, 111u8, 220u8, 16u8, + 60u8, ], ) } @@ -2305,12 +2334,14 @@ pub mod api { >, > { ::subxt::runtime_api::Payload::new_static( - "ParachainHost_on_chain_votes", + "ParachainHost", + "on_chain_votes", types::OnChainVotes {}, [ - 37u8, 2u8, 32u8, 215u8, 117u8, 137u8, 242u8, 168u8, 57u8, 175u8, 59u8, - 243u8, 132u8, 133u8, 246u8, 37u8, 154u8, 205u8, 191u8, 114u8, 114u8, - 167u8, 104u8, 27u8, 144u8, 56u8, 61u8, 159u8, 9u8, 79u8, 190u8, 239u8, + 70u8, 204u8, 61u8, 216u8, 163u8, 243u8, 112u8, 157u8, 65u8, 106u8, + 165u8, 165u8, 101u8, 152u8, 219u8, 125u8, 225u8, 224u8, 202u8, 121u8, + 43u8, 227u8, 83u8, 67u8, 122u8, 186u8, 33u8, 33u8, 54u8, 97u8, 99u8, + 161u8, ], ) } @@ -2325,13 +2356,13 @@ pub mod api { ::core::option::Option, > { ::subxt::runtime_api::Payload::new_static( - "ParachainHost_session_info", + "ParachainHost", + "session_info", types::SessionInfo { index }, [ - 107u8, 247u8, 186u8, 88u8, 134u8, 234u8, 251u8, 220u8, 134u8, 138u8, - 130u8, 168u8, 253u8, 101u8, 235u8, 126u8, 190u8, 37u8, 77u8, 182u8, - 195u8, 100u8, 63u8, 173u8, 147u8, 98u8, 217u8, 235u8, 220u8, 87u8, - 83u8, 198u8, + 197u8, 235u8, 25u8, 97u8, 207u8, 55u8, 83u8, 79u8, 10u8, 50u8, 90u8, + 28u8, 35u8, 53u8, 98u8, 128u8, 169u8, 228u8, 146u8, 131u8, 211u8, + 195u8, 98u8, 24u8, 209u8, 242u8, 118u8, 240u8, 194u8, 82u8, 77u8, 84u8, ], ) } @@ -2345,12 +2376,13 @@ pub mod api { ) -> ::subxt::runtime_api::Payload { ::subxt::runtime_api::Payload::new_static( - "ParachainHost_submit_pvf_check_statement", + "ParachainHost", + "submit_pvf_check_statement", types::SubmitPvfCheckStatement { stmt, signature }, [ - 228u8, 45u8, 8u8, 229u8, 69u8, 35u8, 3u8, 231u8, 235u8, 184u8, 19u8, - 96u8, 72u8, 62u8, 15u8, 218u8, 27u8, 134u8, 19u8, 179u8, 239u8, 1u8, - 207u8, 39u8, 50u8, 171u8, 59u8, 204u8, 143u8, 247u8, 27u8, 179u8, + 253u8, 165u8, 60u8, 122u8, 179u8, 73u8, 243u8, 228u8, 171u8, 146u8, + 223u8, 182u8, 87u8, 228u8, 72u8, 96u8, 5u8, 231u8, 46u8, 50u8, 69u8, + 13u8, 210u8, 244u8, 96u8, 218u8, 114u8, 68u8, 114u8, 82u8, 40u8, 233u8, ], ) } @@ -2366,13 +2398,13 @@ pub mod api { >, > { ::subxt::runtime_api::Payload::new_static( - "ParachainHost_pvfs_require_precheck", + "ParachainHost", + "pvfs_require_precheck", types::PvfsRequirePrecheck {}, [ - 58u8, 208u8, 110u8, 249u8, 77u8, 56u8, 39u8, 46u8, 196u8, 209u8, 189u8, - 200u8, 147u8, 235u8, 247u8, 235u8, 125u8, 230u8, 11u8, 151u8, 137u8, - 118u8, 110u8, 179u8, 72u8, 53u8, 127u8, 149u8, 252u8, 20u8, 165u8, - 239u8, + 251u8, 162u8, 214u8, 223u8, 70u8, 67u8, 170u8, 19u8, 191u8, 37u8, + 233u8, 249u8, 89u8, 28u8, 76u8, 213u8, 194u8, 28u8, 15u8, 199u8, 167u8, + 23u8, 139u8, 220u8, 218u8, 223u8, 115u8, 4u8, 95u8, 24u8, 32u8, 29u8, ], ) } @@ -2390,16 +2422,17 @@ pub mod api { >, > { ::subxt::runtime_api::Payload::new_static( - "ParachainHost_validation_code_hash", + "ParachainHost", + "validation_code_hash", types::ValidationCodeHash { para_id, assumption, }, [ - 232u8, 173u8, 117u8, 125u8, 245u8, 188u8, 20u8, 124u8, 255u8, 219u8, - 2u8, 95u8, 131u8, 3u8, 122u8, 190u8, 240u8, 184u8, 8u8, 239u8, 85u8, - 107u8, 59u8, 105u8, 206u8, 130u8, 65u8, 142u8, 130u8, 193u8, 143u8, - 199u8, + 226u8, 142u8, 121u8, 182u8, 206u8, 180u8, 8u8, 19u8, 237u8, 84u8, + 121u8, 1u8, 126u8, 211u8, 241u8, 133u8, 195u8, 182u8, 116u8, 128u8, + 58u8, 81u8, 12u8, 68u8, 79u8, 212u8, 108u8, 178u8, 237u8, 25u8, 203u8, + 135u8, ], ) } @@ -2417,13 +2450,14 @@ pub mod api { )>, > { ::subxt::runtime_api::Payload::new_static( - "ParachainHost_disputes", + "ParachainHost", + "disputes", types::Disputes {}, [ - 90u8, 171u8, 12u8, 104u8, 109u8, 92u8, 149u8, 72u8, 109u8, 39u8, 75u8, - 241u8, 239u8, 78u8, 46u8, 134u8, 139u8, 200u8, 144u8, 213u8, 218u8, - 64u8, 98u8, 102u8, 159u8, 211u8, 154u8, 178u8, 187u8, 146u8, 193u8, - 34u8, + 117u8, 4u8, 163u8, 44u8, 248u8, 183u8, 136u8, 222u8, 238u8, 108u8, + 92u8, 220u8, 5u8, 184u8, 43u8, 233u8, 36u8, 11u8, 221u8, 71u8, 48u8, + 162u8, 45u8, 218u8, 99u8, 252u8, 48u8, 244u8, 203u8, 215u8, 149u8, + 116u8, ], ) } @@ -2438,13 +2472,14 @@ pub mod api { >, > { ::subxt::runtime_api::Payload::new_static( - "ParachainHost_session_executor_params", + "ParachainHost", + "session_executor_params", types::SessionExecutorParams { session_index }, [ - 129u8, 198u8, 157u8, 37u8, 138u8, 132u8, 5u8, 183u8, 233u8, 119u8, - 99u8, 173u8, 22u8, 240u8, 182u8, 246u8, 101u8, 3u8, 149u8, 130u8, - 107u8, 60u8, 152u8, 217u8, 86u8, 150u8, 253u8, 170u8, 10u8, 86u8, - 183u8, 33u8, + 187u8, 45u8, 218u8, 244u8, 148u8, 61u8, 108u8, 160u8, 113u8, 79u8, + 160u8, 106u8, 69u8, 189u8, 42u8, 197u8, 226u8, 233u8, 111u8, 178u8, + 169u8, 81u8, 68u8, 235u8, 67u8, 140u8, 45u8, 13u8, 135u8, 162u8, 229u8, + 23u8, ], ) } @@ -2719,13 +2754,14 @@ pub mod api { ::core::option::Option<::core::primitive::u32>, > { ::subxt::runtime_api::Payload::new_static( - "BeefyApi_beefy_genesis", + "BeefyApi", + "beefy_genesis", types::BeefyGenesis {}, [ - 80u8, 47u8, 5u8, 126u8, 16u8, 213u8, 203u8, 179u8, 124u8, 14u8, 227u8, - 61u8, 164u8, 158u8, 115u8, 127u8, 132u8, 90u8, 222u8, 87u8, 249u8, - 214u8, 100u8, 13u8, 201u8, 186u8, 229u8, 217u8, 21u8, 152u8, 197u8, - 60u8, + 246u8, 129u8, 31u8, 77u8, 24u8, 47u8, 5u8, 156u8, 64u8, 222u8, 180u8, + 78u8, 110u8, 77u8, 218u8, 149u8, 210u8, 151u8, 164u8, 220u8, 165u8, + 119u8, 116u8, 220u8, 20u8, 122u8, 37u8, 176u8, 75u8, 218u8, 194u8, + 244u8, ], ) } @@ -2741,12 +2777,13 @@ pub mod api { >, > { ::subxt::runtime_api::Payload::new_static( - "BeefyApi_validator_set", + "BeefyApi", + "validator_set", types::ValidatorSet {}, [ - 49u8, 44u8, 188u8, 42u8, 35u8, 233u8, 181u8, 44u8, 232u8, 88u8, 1u8, - 100u8, 90u8, 42u8, 139u8, 239u8, 25u8, 44u8, 183u8, 164u8, 161u8, - 129u8, 12u8, 158u8, 41u8, 39u8, 218u8, 43u8, 78u8, 70u8, 156u8, 159u8, + 26u8, 174u8, 151u8, 215u8, 199u8, 11u8, 123u8, 18u8, 209u8, 187u8, + 70u8, 245u8, 59u8, 23u8, 11u8, 26u8, 167u8, 202u8, 83u8, 213u8, 99u8, + 74u8, 143u8, 140u8, 34u8, 9u8, 225u8, 217u8, 244u8, 169u8, 30u8, 217u8, ], ) } @@ -2771,15 +2808,17 @@ pub mod api { ::core::option::Option<()>, > { ::subxt::runtime_api::Payload::new_static( - "BeefyApi_submit_report_equivocation_unsigned_extrinsic", + "BeefyApi", + "submit_report_equivocation_unsigned_extrinsic", types::SubmitReportEquivocationUnsignedExtrinsic { equivocation_proof, key_owner_proof, }, [ - 232u8, 114u8, 155u8, 57u8, 178u8, 76u8, 154u8, 140u8, 49u8, 60u8, 71u8, - 98u8, 167u8, 4u8, 248u8, 159u8, 0u8, 36u8, 119u8, 102u8, 188u8, 10u8, - 137u8, 252u8, 249u8, 124u8, 208u8, 173u8, 252u8, 185u8, 117u8, 35u8, + 92u8, 203u8, 82u8, 194u8, 186u8, 242u8, 194u8, 177u8, 61u8, 148u8, + 127u8, 61u8, 96u8, 119u8, 185u8, 139u8, 74u8, 35u8, 77u8, 108u8, 157u8, + 80u8, 29u8, 226u8, 136u8, 136u8, 241u8, 212u8, 254u8, 192u8, 39u8, + 149u8, ], ) } @@ -2805,16 +2844,17 @@ pub mod api { >, > { ::subxt::runtime_api::Payload::new_static( - "BeefyApi_generate_key_ownership_proof", + "BeefyApi", + "generate_key_ownership_proof", types::GenerateKeyOwnershipProof { set_id, authority_id, }, [ - 219u8, 146u8, 168u8, 108u8, 180u8, 133u8, 182u8, 104u8, 153u8, 14u8, - 209u8, 207u8, 32u8, 226u8, 81u8, 196u8, 243u8, 208u8, 0u8, 94u8, 197u8, - 232u8, 181u8, 251u8, 182u8, 12u8, 245u8, 231u8, 198u8, 76u8, 59u8, - 53u8, + 4u8, 194u8, 19u8, 164u8, 208u8, 221u8, 178u8, 109u8, 116u8, 85u8, + 175u8, 105u8, 85u8, 29u8, 191u8, 114u8, 169u8, 124u8, 196u8, 198u8, + 207u8, 241u8, 248u8, 212u8, 243u8, 153u8, 248u8, 17u8, 220u8, 198u8, + 250u8, 73u8, ], ) } @@ -2894,13 +2934,13 @@ pub mod api { >, > { ::subxt::runtime_api::Payload::new_static( - "MmrApi_mmr_root", + "MmrApi", + "mmr_root", types::MmrRoot {}, [ - 83u8, 202u8, 15u8, 77u8, 255u8, 136u8, 129u8, 210u8, 154u8, 178u8, - 197u8, 94u8, 231u8, 151u8, 68u8, 172u8, 112u8, 116u8, 30u8, 138u8, - 142u8, 166u8, 16u8, 4u8, 24u8, 204u8, 18u8, 48u8, 43u8, 103u8, 30u8, - 96u8, + 148u8, 252u8, 77u8, 233u8, 236u8, 8u8, 119u8, 105u8, 207u8, 161u8, + 109u8, 158u8, 211u8, 64u8, 67u8, 216u8, 242u8, 52u8, 122u8, 4u8, 83u8, + 113u8, 54u8, 77u8, 165u8, 89u8, 61u8, 159u8, 98u8, 51u8, 45u8, 90u8, ], ) } @@ -2915,12 +2955,14 @@ pub mod api { >, > { ::subxt::runtime_api::Payload::new_static( - "MmrApi_mmr_leaf_count", + "MmrApi", + "mmr_leaf_count", types::MmrLeafCount {}, [ - 81u8, 145u8, 75u8, 170u8, 197u8, 235u8, 92u8, 81u8, 54u8, 16u8, 239u8, - 136u8, 174u8, 255u8, 90u8, 27u8, 24u8, 51u8, 152u8, 130u8, 249u8, - 247u8, 44u8, 173u8, 4u8, 21u8, 72u8, 44u8, 198u8, 145u8, 94u8, 77u8, + 165u8, 141u8, 127u8, 184u8, 27u8, 185u8, 251u8, 25u8, 44u8, 93u8, + 239u8, 158u8, 104u8, 91u8, 22u8, 87u8, 101u8, 166u8, 90u8, 90u8, 45u8, + 105u8, 254u8, 136u8, 233u8, 121u8, 9u8, 216u8, 179u8, 55u8, 126u8, + 158u8, ], ) } @@ -2941,16 +2983,16 @@ pub mod api { >, > { ::subxt::runtime_api::Payload::new_static( - "MmrApi_generate_proof", + "MmrApi", + "generate_proof", types::GenerateProof { block_numbers, best_known_block_number, }, [ - 180u8, 123u8, 115u8, 227u8, 101u8, 119u8, 103u8, 230u8, 66u8, 255u8, - 15u8, 197u8, 60u8, 180u8, 27u8, 47u8, 73u8, 121u8, 179u8, 219u8, 161u8, - 37u8, 57u8, 131u8, 104u8, 106u8, 206u8, 230u8, 168u8, 185u8, 206u8, - 32u8, + 56u8, 239u8, 77u8, 199u8, 40u8, 38u8, 113u8, 43u8, 65u8, 189u8, 21u8, + 81u8, 216u8, 8u8, 3u8, 155u8, 202u8, 186u8, 117u8, 31u8, 140u8, 237u8, + 114u8, 30u8, 228u8, 77u8, 171u8, 183u8, 198u8, 198u8, 20u8, 98u8, ], ) } @@ -2968,13 +3010,14 @@ pub mod api { ::core::result::Result<(), runtime_types::sp_mmr_primitives::Error>, > { ::subxt::runtime_api::Payload::new_static( - "MmrApi_verify_proof", + "MmrApi", + "verify_proof", types::VerifyProof { leaves, proof }, [ - 118u8, 13u8, 68u8, 159u8, 27u8, 144u8, 229u8, 72u8, 88u8, 106u8, 193u8, - 86u8, 228u8, 243u8, 28u8, 243u8, 99u8, 241u8, 153u8, 169u8, 121u8, - 139u8, 60u8, 244u8, 153u8, 110u8, 239u8, 149u8, 122u8, 164u8, 53u8, - 9u8, + 94u8, 245u8, 92u8, 162u8, 169u8, 237u8, 220u8, 144u8, 134u8, 89u8, + 164u8, 205u8, 28u8, 67u8, 164u8, 15u8, 185u8, 160u8, 255u8, 91u8, + 167u8, 63u8, 147u8, 199u8, 99u8, 103u8, 43u8, 182u8, 227u8, 1u8, 118u8, + 174u8, ], ) } @@ -2995,17 +3038,18 @@ pub mod api { ::core::result::Result<(), runtime_types::sp_mmr_primitives::Error>, > { ::subxt::runtime_api::Payload::new_static( - "MmrApi_verify_proof_stateless", + "MmrApi", + "verify_proof_stateless", types::VerifyProofStateless { root, leaves, proof, }, [ - 152u8, 237u8, 225u8, 199u8, 238u8, 151u8, 87u8, 236u8, 210u8, 38u8, - 168u8, 160u8, 166u8, 27u8, 186u8, 227u8, 160u8, 154u8, 120u8, 127u8, - 98u8, 247u8, 111u8, 99u8, 211u8, 236u8, 39u8, 221u8, 250u8, 110u8, - 232u8, 0u8, + 100u8, 183u8, 97u8, 190u8, 137u8, 183u8, 228u8, 70u8, 184u8, 42u8, + 195u8, 139u8, 234u8, 166u8, 137u8, 206u8, 128u8, 217u8, 40u8, 149u8, + 55u8, 107u8, 30u8, 154u8, 234u8, 132u8, 247u8, 37u8, 133u8, 19u8, + 141u8, 9u8, ], ) } @@ -3111,12 +3155,14 @@ pub mod api { )>, > { ::subxt::runtime_api::Payload::new_static( - "GrandpaApi_grandpa_authorities", + "GrandpaApi", + "grandpa_authorities", types::GrandpaAuthorities {}, [ - 78u8, 213u8, 85u8, 178u8, 49u8, 70u8, 10u8, 221u8, 93u8, 91u8, 250u8, - 59u8, 80u8, 141u8, 62u8, 126u8, 55u8, 235u8, 163u8, 12u8, 21u8, 199u8, - 240u8, 209u8, 95u8, 63u8, 65u8, 73u8, 141u8, 42u8, 78u8, 154u8, + 166u8, 76u8, 160u8, 101u8, 242u8, 145u8, 213u8, 10u8, 16u8, 130u8, + 230u8, 196u8, 125u8, 152u8, 92u8, 143u8, 119u8, 223u8, 140u8, 189u8, + 203u8, 95u8, 52u8, 105u8, 147u8, 107u8, 135u8, 228u8, 62u8, 178u8, + 128u8, 33u8, ], ) } @@ -3140,16 +3186,16 @@ pub mod api { ::core::option::Option<()>, > { ::subxt::runtime_api::Payload::new_static( - "GrandpaApi_submit_report_equivocation_unsigned_extrinsic", + "GrandpaApi", + "submit_report_equivocation_unsigned_extrinsic", types::SubmitReportEquivocationUnsignedExtrinsic { equivocation_proof, key_owner_proof, }, [ - 226u8, 83u8, 137u8, 173u8, 45u8, 138u8, 210u8, 202u8, 113u8, 196u8, - 110u8, 68u8, 31u8, 192u8, 127u8, 100u8, 125u8, 225u8, 30u8, 252u8, - 160u8, 109u8, 251u8, 96u8, 52u8, 214u8, 38u8, 91u8, 158u8, 71u8, 125u8, - 220u8, + 125u8, 230u8, 200u8, 151u8, 177u8, 13u8, 231u8, 44u8, 254u8, 4u8, 31u8, + 47u8, 190u8, 197u8, 208u8, 155u8, 198u8, 236u8, 136u8, 50u8, 81u8, + 35u8, 182u8, 150u8, 200u8, 56u8, 160u8, 180u8, 18u8, 85u8, 4u8, 253u8, ], ) } @@ -3175,16 +3221,16 @@ pub mod api { >, > { ::subxt::runtime_api::Payload::new_static( - "GrandpaApi_generate_key_ownership_proof", + "GrandpaApi", + "generate_key_ownership_proof", types::GenerateKeyOwnershipProof { set_id, authority_id, }, [ - 149u8, 80u8, 146u8, 102u8, 63u8, 184u8, 111u8, 153u8, 143u8, 71u8, - 109u8, 162u8, 117u8, 45u8, 139u8, 245u8, 154u8, 252u8, 117u8, 224u8, - 10u8, 6u8, 143u8, 137u8, 58u8, 213u8, 215u8, 110u8, 180u8, 142u8, - 234u8, 182u8, + 192u8, 4u8, 250u8, 56u8, 51u8, 13u8, 210u8, 127u8, 92u8, 159u8, 91u8, + 139u8, 62u8, 18u8, 63u8, 52u8, 162u8, 69u8, 57u8, 186u8, 134u8, 63u8, + 31u8, 88u8, 23u8, 137u8, 131u8, 131u8, 117u8, 253u8, 46u8, 133u8, ], ) } @@ -3194,13 +3240,14 @@ pub mod api { ) -> ::subxt::runtime_api::Payload { ::subxt::runtime_api::Payload::new_static( - "GrandpaApi_current_set_id", + "GrandpaApi", + "current_set_id", types::CurrentSetId {}, [ - 39u8, 245u8, 166u8, 229u8, 239u8, 200u8, 179u8, 64u8, 193u8, 93u8, - 41u8, 40u8, 208u8, 231u8, 75u8, 197u8, 45u8, 119u8, 131u8, 245u8, 84u8, - 249u8, 60u8, 7u8, 180u8, 176u8, 119u8, 130u8, 247u8, 134u8, 211u8, - 240u8, + 42u8, 230u8, 120u8, 211u8, 156u8, 245u8, 109u8, 86u8, 100u8, 146u8, + 234u8, 205u8, 41u8, 183u8, 109u8, 42u8, 17u8, 33u8, 156u8, 25u8, 139u8, + 84u8, 101u8, 75u8, 232u8, 198u8, 87u8, 136u8, 218u8, 233u8, 103u8, + 156u8, ], ) } @@ -3277,12 +3324,14 @@ pub mod api { runtime_types::sp_consensus_babe::BabeConfiguration, > { ::subxt::runtime_api::Payload::new_static( - "BabeApi_configuration", + "BabeApi", + "configuration", types::Configuration {}, [ - 101u8, 27u8, 68u8, 108u8, 36u8, 12u8, 205u8, 58u8, 238u8, 195u8, 171u8, - 167u8, 248u8, 76u8, 92u8, 226u8, 241u8, 192u8, 151u8, 31u8, 6u8, 200u8, - 69u8, 180u8, 107u8, 134u8, 221u8, 99u8, 237u8, 223u8, 50u8, 175u8, + 94u8, 3u8, 187u8, 249u8, 239u8, 178u8, 74u8, 180u8, 159u8, 1u8, 114u8, + 106u8, 121u8, 13u8, 242u8, 142u8, 148u8, 59u8, 232u8, 229u8, 242u8, + 166u8, 230u8, 134u8, 161u8, 101u8, 45u8, 95u8, 118u8, 139u8, 144u8, + 168u8, ], ) } @@ -3294,13 +3343,14 @@ pub mod api { runtime_types::sp_consensus_slots::Slot, > { ::subxt::runtime_api::Payload::new_static( - "BabeApi_current_epoch_start", + "BabeApi", + "current_epoch_start", types::CurrentEpochStart {}, [ - 67u8, 178u8, 67u8, 242u8, 228u8, 74u8, 93u8, 166u8, 160u8, 9u8, 109u8, - 174u8, 12u8, 82u8, 239u8, 200u8, 96u8, 54u8, 235u8, 184u8, 159u8, - 221u8, 72u8, 244u8, 83u8, 24u8, 239u8, 24u8, 152u8, 177u8, 211u8, - 205u8, + 122u8, 125u8, 246u8, 170u8, 27u8, 50u8, 128u8, 137u8, 228u8, 62u8, + 145u8, 64u8, 65u8, 119u8, 166u8, 237u8, 115u8, 92u8, 125u8, 124u8, + 11u8, 33u8, 96u8, 88u8, 88u8, 122u8, 141u8, 137u8, 58u8, 182u8, 148u8, + 170u8, ], ) } @@ -3312,12 +3362,13 @@ pub mod api { runtime_types::sp_consensus_babe::Epoch, > { ::subxt::runtime_api::Payload::new_static( - "BabeApi_current_epoch", + "BabeApi", + "current_epoch", types::CurrentEpoch {}, [ - 166u8, 104u8, 201u8, 148u8, 149u8, 137u8, 223u8, 165u8, 82u8, 4u8, - 130u8, 58u8, 52u8, 193u8, 201u8, 80u8, 120u8, 212u8, 76u8, 221u8, 11u8, - 131u8, 115u8, 8u8, 9u8, 59u8, 191u8, 165u8, 148u8, 24u8, 194u8, 162u8, + 232u8, 243u8, 129u8, 8u8, 254u8, 134u8, 15u8, 29u8, 174u8, 98u8, 249u8, + 165u8, 104u8, 134u8, 102u8, 116u8, 92u8, 70u8, 116u8, 107u8, 161u8, + 131u8, 122u8, 23u8, 108u8, 88u8, 11u8, 95u8, 175u8, 21u8, 54u8, 158u8, ], ) } @@ -3330,13 +3381,13 @@ pub mod api { runtime_types::sp_consensus_babe::Epoch, > { ::subxt::runtime_api::Payload::new_static( - "BabeApi_next_epoch", + "BabeApi", + "next_epoch", types::NextEpoch {}, [ - 251u8, 29u8, 230u8, 254u8, 174u8, 38u8, 55u8, 30u8, 93u8, 42u8, 254u8, - 172u8, 183u8, 250u8, 104u8, 211u8, 79u8, 211u8, 55u8, 98u8, 253u8, - 73u8, 137u8, 185u8, 116u8, 94u8, 20u8, 232u8, 224u8, 136u8, 86u8, - 182u8, + 185u8, 92u8, 222u8, 66u8, 8u8, 41u8, 95u8, 28u8, 145u8, 214u8, 27u8, + 236u8, 228u8, 42u8, 184u8, 185u8, 255u8, 169u8, 59u8, 63u8, 68u8, 50u8, + 97u8, 72u8, 77u8, 181u8, 120u8, 30u8, 233u8, 217u8, 89u8, 80u8, ], ) } @@ -3362,13 +3413,13 @@ pub mod api { >, > { ::subxt::runtime_api::Payload::new_static( - "BabeApi_generate_key_ownership_proof", + "BabeApi", + "generate_key_ownership_proof", types::GenerateKeyOwnershipProof { slot, authority_id }, [ - 16u8, 78u8, 1u8, 172u8, 172u8, 253u8, 240u8, 175u8, 90u8, 130u8, 90u8, - 69u8, 249u8, 12u8, 192u8, 134u8, 131u8, 248u8, 186u8, 166u8, 240u8, - 182u8, 177u8, 0u8, 107u8, 151u8, 200u8, 41u8, 157u8, 150u8, 162u8, - 244u8, + 129u8, 33u8, 146u8, 23u8, 214u8, 217u8, 211u8, 76u8, 213u8, 195u8, + 64u8, 182u8, 252u8, 42u8, 94u8, 121u8, 115u8, 198u8, 9u8, 45u8, 213u8, + 239u8, 48u8, 237u8, 16u8, 104u8, 233u8, 246u8, 99u8, 66u8, 177u8, 60u8, ], ) } @@ -3395,15 +3446,16 @@ pub mod api { ::core::option::Option<()>, > { ::subxt::runtime_api::Payload::new_static( - "BabeApi_submit_report_equivocation_unsigned_extrinsic", + "BabeApi", + "submit_report_equivocation_unsigned_extrinsic", types::SubmitReportEquivocationUnsignedExtrinsic { equivocation_proof, key_owner_proof, }, [ - 255u8, 136u8, 248u8, 244u8, 155u8, 51u8, 20u8, 157u8, 93u8, 19u8, 24u8, - 170u8, 72u8, 199u8, 222u8, 111u8, 164u8, 126u8, 159u8, 209u8, 198u8, - 37u8, 113u8, 12u8, 36u8, 117u8, 131u8, 7u8, 130u8, 85u8, 177u8, 109u8, + 246u8, 96u8, 99u8, 104u8, 13u8, 88u8, 201u8, 38u8, 92u8, 57u8, 253u8, + 173u8, 123u8, 68u8, 14u8, 101u8, 57u8, 89u8, 153u8, 236u8, 99u8, 117u8, + 202u8, 79u8, 213u8, 216u8, 216u8, 97u8, 107u8, 68u8, 89u8, 138u8, ], ) } @@ -3507,13 +3559,13 @@ pub mod api { ::std::vec::Vec, > { ::subxt::runtime_api::Payload::new_static( - "AuthorityDiscoveryApi_authorities", + "AuthorityDiscoveryApi", + "authorities", types::Authorities {}, [ - 104u8, 50u8, 187u8, 116u8, 97u8, 112u8, 203u8, 212u8, 27u8, 108u8, - 253u8, 8u8, 103u8, 104u8, 63u8, 176u8, 178u8, 179u8, 154u8, 104u8, - 167u8, 241u8, 76u8, 136u8, 102u8, 130u8, 88u8, 115u8, 104u8, 64u8, - 224u8, 98u8, + 231u8, 109u8, 175u8, 33u8, 103u8, 6u8, 157u8, 241u8, 62u8, 92u8, 246u8, + 9u8, 109u8, 137u8, 233u8, 96u8, 103u8, 59u8, 201u8, 132u8, 102u8, 32u8, + 19u8, 183u8, 106u8, 146u8, 41u8, 172u8, 147u8, 55u8, 156u8, 77u8, ], ) } @@ -3554,12 +3606,14 @@ pub mod api { ::std::vec::Vec<::core::primitive::u8>, > { ::subxt::runtime_api::Payload::new_static( - "SessionKeys_generate_session_keys", + "SessionKeys", + "generate_session_keys", types::GenerateSessionKeys { seed }, [ - 238u8, 35u8, 56u8, 56u8, 5u8, 183u8, 237u8, 233u8, 220u8, 77u8, 245u8, - 218u8, 120u8, 21u8, 3u8, 95u8, 106u8, 140u8, 212u8, 37u8, 14u8, 180u8, - 24u8, 11u8, 137u8, 193u8, 111u8, 91u8, 235u8, 127u8, 202u8, 230u8, + 169u8, 35u8, 108u8, 136u8, 239u8, 85u8, 250u8, 171u8, 92u8, 77u8, + 200u8, 52u8, 59u8, 248u8, 134u8, 208u8, 101u8, 170u8, 160u8, 251u8, + 245u8, 224u8, 34u8, 132u8, 85u8, 24u8, 162u8, 180u8, 151u8, 65u8, 51u8, + 62u8, ], ) } @@ -3579,12 +3633,14 @@ pub mod api { >, > { ::subxt::runtime_api::Payload::new_static( - "SessionKeys_decode_session_keys", + "SessionKeys", + "decode_session_keys", types::DecodeSessionKeys { encoded }, [ - 134u8, 106u8, 224u8, 190u8, 133u8, 212u8, 253u8, 184u8, 222u8, 76u8, - 44u8, 75u8, 168u8, 18u8, 3u8, 169u8, 32u8, 8u8, 46u8, 5u8, 155u8, 45u8, - 149u8, 144u8, 41u8, 174u8, 130u8, 133u8, 22u8, 150u8, 89u8, 196u8, + 156u8, 244u8, 114u8, 80u8, 184u8, 235u8, 37u8, 160u8, 130u8, 28u8, + 209u8, 72u8, 5u8, 200u8, 200u8, 213u8, 216u8, 137u8, 160u8, 10u8, 6u8, + 238u8, 89u8, 31u8, 165u8, 174u8, 51u8, 198u8, 161u8, 156u8, 202u8, + 151u8, ], ) } @@ -3632,13 +3688,14 @@ pub mod api { ) -> ::subxt::runtime_api::Payload { ::subxt::runtime_api::Payload::new_static( - "AccountNonceApi_account_nonce", + "AccountNonceApi", + "account_nonce", types::AccountNonce { account }, [ - 115u8, 50u8, 18u8, 201u8, 220u8, 171u8, 244u8, 16u8, 58u8, 183u8, - 173u8, 196u8, 253u8, 239u8, 241u8, 100u8, 246u8, 179u8, 50u8, 32u8, - 22u8, 245u8, 109u8, 191u8, 232u8, 76u8, 152u8, 87u8, 156u8, 187u8, - 175u8, 202u8, + 231u8, 82u8, 7u8, 227u8, 131u8, 2u8, 215u8, 252u8, 173u8, 82u8, 11u8, + 103u8, 200u8, 25u8, 114u8, 116u8, 79u8, 229u8, 152u8, 150u8, 236u8, + 37u8, 101u8, 26u8, 220u8, 146u8, 182u8, 101u8, 73u8, 55u8, 191u8, + 171u8, ], ) } @@ -3677,13 +3734,13 @@ pub mod api { >, > { ::subxt::runtime_api::Payload::new_static( - "TransactionPaymentApi_query_info", + "TransactionPaymentApi", + "query_info", types::QueryInfo { uxt, len }, [ - 157u8, 139u8, 132u8, 17u8, 44u8, 153u8, 215u8, 139u8, 196u8, 107u8, - 225u8, 39u8, 78u8, 134u8, 147u8, 168u8, 134u8, 89u8, 51u8, 144u8, - 101u8, 117u8, 35u8, 131u8, 108u8, 17u8, 74u8, 1u8, 167u8, 7u8, 165u8, - 98u8, + 105u8, 184u8, 31u8, 255u8, 154u8, 206u8, 112u8, 245u8, 135u8, 114u8, + 63u8, 219u8, 244u8, 245u8, 90u8, 185u8, 99u8, 24u8, 80u8, 67u8, 29u8, + 137u8, 42u8, 248u8, 19u8, 227u8, 200u8, 7u8, 253u8, 118u8, 140u8, 53u8, ], ) } @@ -3698,12 +3755,14 @@ pub mod api { >, > { ::subxt::runtime_api::Payload::new_static( - "TransactionPaymentApi_query_fee_details", + "TransactionPaymentApi", + "query_fee_details", types::QueryFeeDetails { uxt, len }, [ - 113u8, 100u8, 16u8, 128u8, 108u8, 95u8, 91u8, 255u8, 46u8, 255u8, 52u8, - 225u8, 92u8, 186u8, 175u8, 126u8, 96u8, 25u8, 206u8, 207u8, 16u8, 94u8, - 204u8, 138u8, 227u8, 38u8, 125u8, 14u8, 38u8, 58u8, 84u8, 71u8, + 226u8, 161u8, 181u8, 195u8, 172u8, 51u8, 19u8, 162u8, 77u8, 23u8, + 200u8, 239u8, 132u8, 197u8, 106u8, 138u8, 122u8, 34u8, 234u8, 116u8, + 104u8, 181u8, 213u8, 72u8, 154u8, 44u8, 110u8, 149u8, 49u8, 16u8, + 223u8, 245u8, ], ) } @@ -3713,13 +3772,13 @@ pub mod api { ) -> ::subxt::runtime_api::Payload { ::subxt::runtime_api::Payload::new_static( - "TransactionPaymentApi_query_weight_to_fee", + "TransactionPaymentApi", + "query_weight_to_fee", types::QueryWeightToFee { weight }, [ - 179u8, 108u8, 155u8, 39u8, 134u8, 220u8, 72u8, 45u8, 230u8, 232u8, - 150u8, 146u8, 61u8, 198u8, 145u8, 250u8, 19u8, 157u8, 204u8, 217u8, - 111u8, 171u8, 197u8, 21u8, 75u8, 6u8, 16u8, 26u8, 244u8, 101u8, 134u8, - 95u8, + 45u8, 47u8, 133u8, 75u8, 72u8, 23u8, 150u8, 14u8, 71u8, 36u8, 148u8, + 48u8, 133u8, 175u8, 154u8, 76u8, 168u8, 104u8, 47u8, 33u8, 96u8, 206u8, + 67u8, 133u8, 104u8, 206u8, 126u8, 53u8, 225u8, 134u8, 14u8, 140u8, ], ) } @@ -3729,12 +3788,13 @@ pub mod api { ) -> ::subxt::runtime_api::Payload { ::subxt::runtime_api::Payload::new_static( - "TransactionPaymentApi_query_length_to_fee", + "TransactionPaymentApi", + "query_length_to_fee", types::QueryLengthToFee { length }, [ - 228u8, 141u8, 164u8, 186u8, 169u8, 249u8, 75u8, 2u8, 160u8, 73u8, 73u8, - 214u8, 141u8, 76u8, 180u8, 222u8, 230u8, 161u8, 131u8, 88u8, 25u8, - 192u8, 77u8, 124u8, 158u8, 113u8, 72u8, 147u8, 13u8, 11u8, 42u8, 30u8, + 92u8, 132u8, 29u8, 119u8, 66u8, 11u8, 196u8, 224u8, 129u8, 23u8, 249u8, + 12u8, 32u8, 28u8, 92u8, 50u8, 188u8, 101u8, 203u8, 229u8, 248u8, 216u8, + 130u8, 150u8, 212u8, 161u8, 81u8, 254u8, 116u8, 89u8, 162u8, 48u8, ], ) } @@ -3809,13 +3869,13 @@ pub mod api { >, > { ::subxt::runtime_api::Payload::new_static( - "TransactionPaymentCallApi_query_call_info", + "TransactionPaymentCallApi", + "query_call_info", types::QueryCallInfo { call, len }, [ - 218u8, 54u8, 230u8, 230u8, 47u8, 1u8, 213u8, 144u8, 43u8, 21u8, 63u8, - 245u8, 81u8, 157u8, 189u8, 79u8, 108u8, 173u8, 142u8, 208u8, 47u8, - 90u8, 208u8, 125u8, 214u8, 233u8, 78u8, 29u8, 213u8, 198u8, 237u8, - 54u8, + 29u8, 82u8, 32u8, 251u8, 3u8, 82u8, 211u8, 160u8, 52u8, 215u8, 106u8, + 79u8, 177u8, 140u8, 42u8, 162u8, 112u8, 210u8, 88u8, 98u8, 197u8, 84u8, + 252u8, 67u8, 118u8, 163u8, 230u8, 207u8, 14u8, 119u8, 12u8, 15u8, ], ) } @@ -3831,13 +3891,14 @@ pub mod api { >, > { ::subxt::runtime_api::Payload::new_static( - "TransactionPaymentCallApi_query_call_fee_details", + "TransactionPaymentCallApi", + "query_call_fee_details", types::QueryCallFeeDetails { call, len }, [ - 117u8, 194u8, 140u8, 175u8, 222u8, 226u8, 47u8, 206u8, 231u8, 61u8, - 90u8, 113u8, 66u8, 118u8, 129u8, 235u8, 145u8, 217u8, 255u8, 169u8, - 207u8, 24u8, 64u8, 140u8, 39u8, 42u8, 34u8, 179u8, 219u8, 33u8, 107u8, - 1u8, + 201u8, 59u8, 240u8, 67u8, 68u8, 119u8, 113u8, 28u8, 165u8, 247u8, + 174u8, 107u8, 143u8, 107u8, 97u8, 129u8, 145u8, 128u8, 211u8, 4u8, + 229u8, 154u8, 31u8, 108u8, 78u8, 9u8, 41u8, 153u8, 251u8, 115u8, 126u8, + 252u8, ], ) } @@ -3848,12 +3909,14 @@ pub mod api { ) -> ::subxt::runtime_api::Payload { ::subxt::runtime_api::Payload::new_static( - "TransactionPaymentCallApi_query_weight_to_fee", + "TransactionPaymentCallApi", + "query_weight_to_fee", types::QueryWeightToFee { weight }, [ - 235u8, 177u8, 255u8, 102u8, 0u8, 237u8, 63u8, 37u8, 144u8, 142u8, 86u8, - 43u8, 82u8, 41u8, 25u8, 149u8, 75u8, 238u8, 118u8, 216u8, 84u8, 241u8, - 54u8, 157u8, 81u8, 246u8, 140u8, 240u8, 210u8, 208u8, 235u8, 172u8, + 88u8, 171u8, 36u8, 225u8, 227u8, 44u8, 19u8, 249u8, 142u8, 183u8, + 164u8, 31u8, 32u8, 26u8, 157u8, 81u8, 128u8, 24u8, 163u8, 191u8, 228u8, + 17u8, 217u8, 197u8, 135u8, 10u8, 178u8, 253u8, 155u8, 209u8, 136u8, + 253u8, ], ) } @@ -3864,13 +3927,13 @@ pub mod api { ) -> ::subxt::runtime_api::Payload { ::subxt::runtime_api::Payload::new_static( - "TransactionPaymentCallApi_query_length_to_fee", + "TransactionPaymentCallApi", + "query_length_to_fee", types::QueryLengthToFee { length }, [ - 188u8, 80u8, 192u8, 251u8, 47u8, 200u8, 60u8, 10u8, 214u8, 47u8, 137u8, - 111u8, 226u8, 163u8, 60u8, 177u8, 190u8, 210u8, 57u8, 89u8, 34u8, - 154u8, 190u8, 244u8, 132u8, 129u8, 212u8, 121u8, 43u8, 190u8, 71u8, - 237u8, + 246u8, 40u8, 4u8, 160u8, 152u8, 94u8, 170u8, 53u8, 205u8, 122u8, 5u8, + 69u8, 70u8, 25u8, 128u8, 156u8, 119u8, 134u8, 116u8, 147u8, 14u8, + 164u8, 65u8, 140u8, 86u8, 13u8, 250u8, 218u8, 89u8, 95u8, 234u8, 228u8, ], ) } @@ -4361,15 +4424,19 @@ pub mod api { pub fn validate_codegen>( client: &C, ) -> Result<(), ::subxt::error::MetadataError> { - let runtime_metadata_hash = client.metadata().metadata_hash(&PALLETS); + let runtime_metadata_hash = client + .metadata() + .hasher() + .only_these_pallets(&PALLETS) + .hash(); if runtime_metadata_hash != [ - 193u8, 126u8, 5u8, 68u8, 158u8, 198u8, 107u8, 140u8, 166u8, 77u8, 81u8, 160u8, - 213u8, 179u8, 210u8, 41u8, 130u8, 34u8, 133u8, 228u8, 10u8, 134u8, 182u8, 62u8, - 72u8, 116u8, 209u8, 70u8, 115u8, 234u8, 227u8, 18u8, + 151u8, 83u8, 251u8, 44u8, 149u8, 59u8, 20u8, 183u8, 19u8, 173u8, 234u8, 48u8, + 114u8, 104u8, 69u8, 102u8, 189u8, 208u8, 10u8, 87u8, 154u8, 252u8, 54u8, 185u8, + 248u8, 199u8, 45u8, 173u8, 199u8, 95u8, 189u8, 253u8, ] { - Err(::subxt::error::MetadataError::IncompatibleMetadata) + Err(::subxt::error::MetadataError::IncompatibleCodegen) } else { Ok(()) } @@ -4544,10 +4611,10 @@ pub mod api { "remark", types::Remark { remark }, [ - 101u8, 80u8, 195u8, 226u8, 224u8, 247u8, 60u8, 128u8, 3u8, 101u8, 51u8, - 147u8, 96u8, 126u8, 76u8, 230u8, 194u8, 227u8, 191u8, 73u8, 160u8, - 146u8, 87u8, 147u8, 243u8, 28u8, 228u8, 116u8, 224u8, 181u8, 129u8, - 160u8, + 43u8, 126u8, 180u8, 174u8, 141u8, 48u8, 52u8, 125u8, 166u8, 212u8, + 216u8, 98u8, 100u8, 24u8, 132u8, 71u8, 101u8, 64u8, 246u8, 169u8, 33u8, + 250u8, 147u8, 208u8, 2u8, 40u8, 129u8, 209u8, 232u8, 207u8, 207u8, + 13u8, ], ) } @@ -4561,9 +4628,10 @@ pub mod api { "set_heap_pages", types::SetHeapPages { pages }, [ - 43u8, 103u8, 128u8, 49u8, 156u8, 136u8, 11u8, 204u8, 80u8, 6u8, 244u8, - 86u8, 171u8, 44u8, 140u8, 225u8, 142u8, 198u8, 43u8, 87u8, 26u8, 45u8, - 125u8, 222u8, 165u8, 254u8, 172u8, 158u8, 39u8, 178u8, 86u8, 87u8, + 188u8, 191u8, 99u8, 216u8, 219u8, 109u8, 141u8, 50u8, 78u8, 235u8, + 215u8, 242u8, 195u8, 24u8, 111u8, 76u8, 229u8, 64u8, 99u8, 225u8, + 134u8, 121u8, 81u8, 209u8, 127u8, 223u8, 98u8, 215u8, 150u8, 70u8, + 57u8, 147u8, ], ) } @@ -4580,9 +4648,9 @@ pub mod api { "set_code", types::SetCode { code }, [ - 27u8, 104u8, 244u8, 205u8, 188u8, 254u8, 121u8, 13u8, 106u8, 120u8, - 244u8, 108u8, 97u8, 84u8, 100u8, 68u8, 26u8, 69u8, 93u8, 128u8, 107u8, - 4u8, 3u8, 142u8, 13u8, 134u8, 196u8, 62u8, 113u8, 181u8, 14u8, 40u8, + 233u8, 248u8, 88u8, 245u8, 28u8, 65u8, 25u8, 169u8, 35u8, 237u8, 19u8, + 203u8, 136u8, 160u8, 18u8, 3u8, 20u8, 197u8, 81u8, 169u8, 244u8, 188u8, + 27u8, 147u8, 147u8, 236u8, 65u8, 25u8, 3u8, 143u8, 182u8, 22u8, ], ) } @@ -4599,9 +4667,10 @@ pub mod api { "set_code_without_checks", types::SetCodeWithoutChecks { code }, [ - 102u8, 160u8, 125u8, 235u8, 30u8, 23u8, 45u8, 239u8, 112u8, 148u8, - 159u8, 158u8, 42u8, 93u8, 206u8, 94u8, 80u8, 250u8, 66u8, 195u8, 60u8, - 40u8, 142u8, 169u8, 183u8, 80u8, 80u8, 96u8, 3u8, 231u8, 99u8, 216u8, + 82u8, 212u8, 157u8, 44u8, 70u8, 0u8, 143u8, 15u8, 109u8, 109u8, 107u8, + 157u8, 141u8, 42u8, 169u8, 11u8, 15u8, 186u8, 252u8, 138u8, 10u8, + 147u8, 15u8, 178u8, 247u8, 229u8, 213u8, 98u8, 207u8, 231u8, 119u8, + 115u8, ], ) } @@ -4618,9 +4687,9 @@ pub mod api { "set_storage", types::SetStorage { items }, [ - 74u8, 43u8, 106u8, 255u8, 50u8, 151u8, 192u8, 155u8, 14u8, 90u8, 19u8, - 45u8, 165u8, 16u8, 235u8, 242u8, 21u8, 131u8, 33u8, 172u8, 119u8, 78u8, - 140u8, 10u8, 107u8, 202u8, 122u8, 235u8, 181u8, 191u8, 22u8, 116u8, + 184u8, 169u8, 248u8, 68u8, 40u8, 193u8, 190u8, 151u8, 96u8, 159u8, + 19u8, 237u8, 241u8, 156u8, 5u8, 158u8, 191u8, 237u8, 9u8, 13u8, 86u8, + 213u8, 77u8, 58u8, 48u8, 139u8, 1u8, 85u8, 220u8, 233u8, 139u8, 164u8, ], ) } @@ -4634,10 +4703,10 @@ pub mod api { "kill_storage", types::KillStorage { keys }, [ - 174u8, 174u8, 13u8, 174u8, 75u8, 138u8, 128u8, 235u8, 222u8, 216u8, - 85u8, 18u8, 198u8, 1u8, 138u8, 70u8, 19u8, 108u8, 209u8, 41u8, 228u8, - 67u8, 130u8, 230u8, 160u8, 207u8, 11u8, 180u8, 139u8, 242u8, 41u8, - 15u8, + 73u8, 63u8, 196u8, 36u8, 144u8, 114u8, 34u8, 213u8, 108u8, 93u8, 209u8, + 234u8, 153u8, 185u8, 33u8, 91u8, 187u8, 195u8, 223u8, 130u8, 58u8, + 156u8, 63u8, 47u8, 228u8, 249u8, 216u8, 139u8, 143u8, 177u8, 41u8, + 35u8, ], ) } @@ -4655,10 +4724,10 @@ pub mod api { "kill_prefix", types::KillPrefix { prefix, subkeys }, [ - 203u8, 116u8, 217u8, 42u8, 154u8, 215u8, 77u8, 217u8, 13u8, 22u8, - 193u8, 2u8, 128u8, 115u8, 179u8, 115u8, 187u8, 218u8, 129u8, 34u8, - 80u8, 4u8, 173u8, 120u8, 92u8, 35u8, 237u8, 112u8, 201u8, 207u8, 200u8, - 48u8, + 184u8, 57u8, 139u8, 24u8, 208u8, 87u8, 108u8, 215u8, 198u8, 189u8, + 175u8, 242u8, 167u8, 215u8, 97u8, 63u8, 110u8, 166u8, 238u8, 98u8, + 67u8, 236u8, 111u8, 110u8, 234u8, 81u8, 102u8, 5u8, 182u8, 5u8, 214u8, + 85u8, ], ) } @@ -4672,10 +4741,9 @@ pub mod api { "remark_with_event", types::RemarkWithEvent { remark }, [ - 123u8, 225u8, 180u8, 179u8, 144u8, 74u8, 27u8, 85u8, 101u8, 75u8, - 134u8, 44u8, 181u8, 25u8, 183u8, 158u8, 14u8, 213u8, 56u8, 225u8, - 136u8, 88u8, 26u8, 114u8, 178u8, 43u8, 176u8, 43u8, 240u8, 84u8, 116u8, - 46u8, + 120u8, 120u8, 153u8, 92u8, 184u8, 85u8, 34u8, 2u8, 174u8, 206u8, 105u8, + 228u8, 233u8, 130u8, 80u8, 246u8, 228u8, 59u8, 234u8, 240u8, 4u8, 49u8, + 147u8, 170u8, 115u8, 91u8, 149u8, 200u8, 228u8, 181u8, 8u8, 154u8, ], ) } @@ -4819,10 +4887,9 @@ pub mod api { _0.borrow(), )], [ - 248u8, 178u8, 160u8, 222u8, 45u8, 231u8, 115u8, 164u8, 98u8, 184u8, - 174u8, 206u8, 149u8, 190u8, 175u8, 34u8, 202u8, 230u8, 69u8, 218u8, - 83u8, 43u8, 170u8, 41u8, 106u8, 77u8, 233u8, 97u8, 114u8, 14u8, 155u8, - 131u8, + 234u8, 12u8, 167u8, 96u8, 2u8, 244u8, 235u8, 62u8, 153u8, 200u8, 96u8, + 74u8, 135u8, 8u8, 35u8, 188u8, 146u8, 249u8, 246u8, 40u8, 224u8, 22u8, + 15u8, 99u8, 150u8, 222u8, 82u8, 85u8, 123u8, 123u8, 19u8, 110u8, ], ) } @@ -4844,10 +4911,9 @@ pub mod api { "Account", Vec::new(), [ - 248u8, 178u8, 160u8, 222u8, 45u8, 231u8, 115u8, 164u8, 98u8, 184u8, - 174u8, 206u8, 149u8, 190u8, 175u8, 34u8, 202u8, 230u8, 69u8, 218u8, - 83u8, 43u8, 170u8, 41u8, 106u8, 77u8, 233u8, 97u8, 114u8, 14u8, 155u8, - 131u8, + 234u8, 12u8, 167u8, 96u8, 2u8, 244u8, 235u8, 62u8, 153u8, 200u8, 96u8, + 74u8, 135u8, 8u8, 35u8, 188u8, 146u8, 249u8, 246u8, 40u8, 224u8, 22u8, + 15u8, 99u8, 150u8, 222u8, 82u8, 85u8, 123u8, 123u8, 19u8, 110u8, ], ) } @@ -4866,9 +4932,10 @@ pub mod api { "ExtrinsicCount", vec![], [ - 223u8, 60u8, 201u8, 120u8, 36u8, 44u8, 180u8, 210u8, 242u8, 53u8, - 222u8, 154u8, 123u8, 176u8, 249u8, 8u8, 225u8, 28u8, 232u8, 4u8, 136u8, - 41u8, 151u8, 82u8, 189u8, 149u8, 49u8, 166u8, 139u8, 9u8, 163u8, 231u8, + 102u8, 76u8, 236u8, 42u8, 40u8, 231u8, 33u8, 222u8, 123u8, 147u8, + 153u8, 148u8, 234u8, 203u8, 181u8, 119u8, 6u8, 187u8, 177u8, 199u8, + 120u8, 47u8, 137u8, 254u8, 96u8, 100u8, 165u8, 182u8, 249u8, 230u8, + 159u8, 79u8, ], ) } @@ -4889,10 +4956,10 @@ pub mod api { "BlockWeight", vec![], [ - 120u8, 67u8, 71u8, 163u8, 36u8, 202u8, 52u8, 106u8, 143u8, 155u8, - 144u8, 87u8, 142u8, 241u8, 232u8, 183u8, 56u8, 235u8, 27u8, 237u8, - 20u8, 202u8, 33u8, 85u8, 189u8, 0u8, 28u8, 52u8, 198u8, 40u8, 219u8, - 54u8, + 52u8, 191u8, 212u8, 137u8, 26u8, 39u8, 239u8, 35u8, 182u8, 32u8, 39u8, + 103u8, 56u8, 184u8, 60u8, 159u8, 167u8, 232u8, 193u8, 116u8, 105u8, + 56u8, 98u8, 127u8, 124u8, 188u8, 214u8, 154u8, 160u8, 41u8, 20u8, + 162u8, ], ) } @@ -4911,10 +4978,10 @@ pub mod api { "AllExtrinsicsLen", vec![], [ - 202u8, 145u8, 209u8, 225u8, 40u8, 220u8, 174u8, 74u8, 93u8, 164u8, - 254u8, 248u8, 254u8, 192u8, 32u8, 117u8, 96u8, 149u8, 53u8, 145u8, - 219u8, 64u8, 234u8, 18u8, 217u8, 200u8, 203u8, 141u8, 145u8, 28u8, - 134u8, 60u8, + 117u8, 86u8, 61u8, 243u8, 41u8, 51u8, 102u8, 214u8, 137u8, 100u8, + 243u8, 185u8, 122u8, 174u8, 187u8, 117u8, 86u8, 189u8, 63u8, 135u8, + 101u8, 218u8, 203u8, 201u8, 237u8, 254u8, 128u8, 183u8, 169u8, 221u8, + 242u8, 65u8, ], ) } @@ -4936,9 +5003,10 @@ pub mod api { _0.borrow(), )], [ - 50u8, 112u8, 176u8, 239u8, 175u8, 18u8, 205u8, 20u8, 241u8, 195u8, - 21u8, 228u8, 186u8, 57u8, 200u8, 25u8, 38u8, 44u8, 106u8, 20u8, 168u8, - 80u8, 76u8, 235u8, 12u8, 51u8, 137u8, 149u8, 200u8, 4u8, 220u8, 237u8, + 217u8, 32u8, 215u8, 253u8, 24u8, 182u8, 207u8, 178u8, 157u8, 24u8, + 103u8, 100u8, 195u8, 165u8, 69u8, 152u8, 112u8, 181u8, 56u8, 192u8, + 164u8, 16u8, 20u8, 222u8, 28u8, 214u8, 144u8, 142u8, 146u8, 69u8, + 202u8, 118u8, ], ) } @@ -4957,9 +5025,10 @@ pub mod api { "BlockHash", Vec::new(), [ - 50u8, 112u8, 176u8, 239u8, 175u8, 18u8, 205u8, 20u8, 241u8, 195u8, - 21u8, 228u8, 186u8, 57u8, 200u8, 25u8, 38u8, 44u8, 106u8, 20u8, 168u8, - 80u8, 76u8, 235u8, 12u8, 51u8, 137u8, 149u8, 200u8, 4u8, 220u8, 237u8, + 217u8, 32u8, 215u8, 253u8, 24u8, 182u8, 207u8, 178u8, 157u8, 24u8, + 103u8, 100u8, 195u8, 165u8, 69u8, 152u8, 112u8, 181u8, 56u8, 192u8, + 164u8, 16u8, 20u8, 222u8, 28u8, 214u8, 144u8, 142u8, 146u8, 69u8, + 202u8, 118u8, ], ) } @@ -4981,9 +5050,9 @@ pub mod api { _0.borrow(), )], [ - 210u8, 224u8, 211u8, 186u8, 118u8, 210u8, 185u8, 194u8, 238u8, 211u8, - 254u8, 73u8, 67u8, 184u8, 31u8, 229u8, 168u8, 125u8, 98u8, 23u8, 241u8, - 59u8, 49u8, 86u8, 126u8, 9u8, 114u8, 163u8, 160u8, 62u8, 50u8, 67u8, + 160u8, 180u8, 122u8, 18u8, 196u8, 26u8, 2u8, 37u8, 115u8, 232u8, 133u8, + 220u8, 106u8, 245u8, 4u8, 129u8, 42u8, 84u8, 241u8, 45u8, 199u8, 179u8, + 128u8, 61u8, 170u8, 137u8, 231u8, 156u8, 247u8, 57u8, 47u8, 38u8, ], ) } @@ -5002,9 +5071,9 @@ pub mod api { "ExtrinsicData", Vec::new(), [ - 210u8, 224u8, 211u8, 186u8, 118u8, 210u8, 185u8, 194u8, 238u8, 211u8, - 254u8, 73u8, 67u8, 184u8, 31u8, 229u8, 168u8, 125u8, 98u8, 23u8, 241u8, - 59u8, 49u8, 86u8, 126u8, 9u8, 114u8, 163u8, 160u8, 62u8, 50u8, 67u8, + 160u8, 180u8, 122u8, 18u8, 196u8, 26u8, 2u8, 37u8, 115u8, 232u8, 133u8, + 220u8, 106u8, 245u8, 4u8, 129u8, 42u8, 84u8, 241u8, 45u8, 199u8, 179u8, + 128u8, 61u8, 170u8, 137u8, 231u8, 156u8, 247u8, 57u8, 47u8, 38u8, ], ) } @@ -5023,10 +5092,9 @@ pub mod api { "Number", vec![], [ - 228u8, 96u8, 102u8, 190u8, 252u8, 130u8, 239u8, 172u8, 126u8, 235u8, - 246u8, 139u8, 208u8, 15u8, 88u8, 245u8, 141u8, 232u8, 43u8, 204u8, - 36u8, 87u8, 211u8, 141u8, 187u8, 68u8, 236u8, 70u8, 193u8, 235u8, - 164u8, 191u8, + 30u8, 194u8, 177u8, 90u8, 194u8, 232u8, 46u8, 180u8, 85u8, 129u8, 14u8, + 9u8, 8u8, 8u8, 23u8, 95u8, 230u8, 5u8, 13u8, 105u8, 125u8, 2u8, 22u8, + 200u8, 78u8, 93u8, 115u8, 28u8, 150u8, 113u8, 48u8, 53u8, ], ) } @@ -5045,10 +5113,9 @@ pub mod api { "ParentHash", vec![], [ - 232u8, 206u8, 177u8, 119u8, 38u8, 57u8, 233u8, 50u8, 225u8, 49u8, - 169u8, 176u8, 210u8, 51u8, 231u8, 176u8, 234u8, 186u8, 188u8, 112u8, - 15u8, 152u8, 195u8, 232u8, 201u8, 97u8, 208u8, 249u8, 9u8, 163u8, 69u8, - 36u8, + 26u8, 130u8, 11u8, 216u8, 155u8, 71u8, 128u8, 170u8, 30u8, 153u8, 21u8, + 192u8, 62u8, 93u8, 137u8, 80u8, 120u8, 81u8, 202u8, 94u8, 248u8, 125u8, + 71u8, 82u8, 141u8, 229u8, 32u8, 56u8, 73u8, 50u8, 101u8, 78u8, ], ) } @@ -5067,9 +5134,10 @@ pub mod api { "Digest", vec![], [ - 83u8, 141u8, 200u8, 132u8, 182u8, 55u8, 197u8, 122u8, 13u8, 159u8, - 31u8, 42u8, 60u8, 191u8, 89u8, 221u8, 242u8, 47u8, 199u8, 213u8, 48u8, - 216u8, 131u8, 168u8, 245u8, 82u8, 56u8, 190u8, 62u8, 69u8, 96u8, 37u8, + 70u8, 156u8, 127u8, 89u8, 115u8, 250u8, 103u8, 62u8, 185u8, 153u8, + 26u8, 72u8, 39u8, 226u8, 181u8, 97u8, 137u8, 225u8, 45u8, 158u8, 212u8, + 254u8, 142u8, 136u8, 90u8, 22u8, 243u8, 125u8, 226u8, 49u8, 235u8, + 215u8, ], ) } @@ -5099,9 +5167,10 @@ pub mod api { "Events", vec![], [ - 78u8, 158u8, 91u8, 165u8, 29u8, 179u8, 204u8, 195u8, 39u8, 3u8, 127u8, - 199u8, 132u8, 93u8, 252u8, 17u8, 84u8, 58u8, 51u8, 56u8, 159u8, 51u8, - 188u8, 138u8, 75u8, 109u8, 148u8, 73u8, 227u8, 56u8, 162u8, 246u8, + 144u8, 114u8, 184u8, 254u8, 50u8, 194u8, 165u8, 20u8, 204u8, 189u8, + 147u8, 226u8, 53u8, 106u8, 27u8, 98u8, 252u8, 31u8, 77u8, 158u8, 211u8, + 36u8, 67u8, 241u8, 139u8, 173u8, 171u8, 71u8, 146u8, 10u8, 157u8, + 200u8, ], ) } @@ -5120,10 +5189,10 @@ pub mod api { "EventCount", vec![], [ - 236u8, 93u8, 90u8, 177u8, 250u8, 211u8, 138u8, 187u8, 26u8, 208u8, - 203u8, 113u8, 221u8, 233u8, 227u8, 9u8, 249u8, 25u8, 202u8, 185u8, - 161u8, 144u8, 167u8, 104u8, 127u8, 187u8, 38u8, 18u8, 52u8, 61u8, 66u8, - 112u8, + 175u8, 24u8, 252u8, 184u8, 210u8, 167u8, 146u8, 143u8, 164u8, 80u8, + 151u8, 205u8, 189u8, 189u8, 55u8, 220u8, 47u8, 101u8, 181u8, 33u8, + 254u8, 131u8, 13u8, 143u8, 3u8, 244u8, 245u8, 45u8, 2u8, 210u8, 79u8, + 133u8, ], ) } @@ -5154,10 +5223,9 @@ pub mod api { _0.borrow(), )], [ - 205u8, 90u8, 142u8, 190u8, 176u8, 37u8, 94u8, 82u8, 98u8, 1u8, 129u8, - 63u8, 246u8, 101u8, 130u8, 58u8, 216u8, 16u8, 139u8, 196u8, 154u8, - 111u8, 110u8, 178u8, 24u8, 44u8, 183u8, 176u8, 232u8, 82u8, 223u8, - 38u8, + 154u8, 29u8, 31u8, 148u8, 254u8, 7u8, 124u8, 251u8, 241u8, 77u8, 24u8, + 37u8, 28u8, 75u8, 205u8, 17u8, 159u8, 79u8, 239u8, 62u8, 67u8, 60u8, + 252u8, 112u8, 215u8, 145u8, 103u8, 170u8, 110u8, 186u8, 221u8, 76u8, ], ) } @@ -5185,10 +5253,9 @@ pub mod api { "EventTopics", Vec::new(), [ - 205u8, 90u8, 142u8, 190u8, 176u8, 37u8, 94u8, 82u8, 98u8, 1u8, 129u8, - 63u8, 246u8, 101u8, 130u8, 58u8, 216u8, 16u8, 139u8, 196u8, 154u8, - 111u8, 110u8, 178u8, 24u8, 44u8, 183u8, 176u8, 232u8, 82u8, 223u8, - 38u8, + 154u8, 29u8, 31u8, 148u8, 254u8, 7u8, 124u8, 251u8, 241u8, 77u8, 24u8, + 37u8, 28u8, 75u8, 205u8, 17u8, 159u8, 79u8, 239u8, 62u8, 67u8, 60u8, + 252u8, 112u8, 215u8, 145u8, 103u8, 170u8, 110u8, 186u8, 221u8, 76u8, ], ) } @@ -5207,9 +5274,9 @@ pub mod api { "LastRuntimeUpgrade", vec![], [ - 52u8, 37u8, 117u8, 111u8, 57u8, 130u8, 196u8, 14u8, 99u8, 77u8, 91u8, - 126u8, 178u8, 249u8, 78u8, 34u8, 9u8, 194u8, 92u8, 105u8, 113u8, 81u8, - 185u8, 127u8, 245u8, 184u8, 60u8, 29u8, 234u8, 182u8, 96u8, 196u8, + 137u8, 29u8, 175u8, 75u8, 197u8, 208u8, 91u8, 207u8, 156u8, 87u8, + 148u8, 68u8, 91u8, 140u8, 22u8, 233u8, 1u8, 229u8, 56u8, 34u8, 40u8, + 194u8, 253u8, 30u8, 163u8, 39u8, 54u8, 209u8, 13u8, 27u8, 139u8, 184u8, ], ) } @@ -5228,9 +5295,9 @@ pub mod api { "UpgradedToU32RefCount", vec![], [ - 171u8, 88u8, 244u8, 92u8, 122u8, 67u8, 27u8, 18u8, 59u8, 175u8, 175u8, - 178u8, 20u8, 150u8, 213u8, 59u8, 222u8, 141u8, 32u8, 107u8, 3u8, 114u8, - 83u8, 250u8, 180u8, 233u8, 152u8, 54u8, 187u8, 99u8, 131u8, 204u8, + 229u8, 73u8, 9u8, 132u8, 186u8, 116u8, 151u8, 171u8, 145u8, 29u8, 34u8, + 130u8, 52u8, 146u8, 124u8, 175u8, 79u8, 189u8, 147u8, 230u8, 234u8, + 107u8, 124u8, 31u8, 2u8, 22u8, 86u8, 190u8, 4u8, 147u8, 50u8, 245u8, ], ) } @@ -5250,10 +5317,10 @@ pub mod api { "UpgradedToTripleRefCount", vec![], [ - 90u8, 33u8, 56u8, 86u8, 90u8, 101u8, 89u8, 133u8, 203u8, 56u8, 201u8, - 210u8, 244u8, 232u8, 150u8, 18u8, 51u8, 105u8, 14u8, 230u8, 103u8, - 155u8, 246u8, 99u8, 53u8, 207u8, 225u8, 128u8, 186u8, 76u8, 40u8, - 185u8, + 97u8, 66u8, 124u8, 243u8, 27u8, 167u8, 147u8, 81u8, 254u8, 201u8, + 101u8, 24u8, 40u8, 231u8, 14u8, 179u8, 154u8, 163u8, 71u8, 81u8, 185u8, + 167u8, 82u8, 254u8, 189u8, 3u8, 101u8, 207u8, 206u8, 194u8, 155u8, + 151u8, ], ) } @@ -5272,10 +5339,9 @@ pub mod api { "ExecutionPhase", vec![], [ - 230u8, 183u8, 221u8, 135u8, 226u8, 223u8, 55u8, 104u8, 138u8, 224u8, - 103u8, 156u8, 222u8, 99u8, 203u8, 199u8, 164u8, 168u8, 193u8, 133u8, - 201u8, 155u8, 63u8, 95u8, 17u8, 206u8, 165u8, 123u8, 161u8, 33u8, - 172u8, 93u8, + 191u8, 129u8, 100u8, 134u8, 126u8, 116u8, 154u8, 203u8, 220u8, 200u8, + 0u8, 26u8, 161u8, 250u8, 133u8, 205u8, 146u8, 24u8, 5u8, 156u8, 158u8, + 35u8, 36u8, 253u8, 52u8, 235u8, 86u8, 167u8, 35u8, 100u8, 119u8, 27u8, ], ) } @@ -5294,10 +5360,9 @@ pub mod api { "System", "BlockWeights", [ - 118u8, 253u8, 239u8, 217u8, 145u8, 115u8, 85u8, 86u8, 172u8, 248u8, - 139u8, 32u8, 158u8, 126u8, 172u8, 188u8, 197u8, 105u8, 145u8, 235u8, - 171u8, 50u8, 31u8, 225u8, 167u8, 187u8, 241u8, 87u8, 6u8, 17u8, 234u8, - 185u8, + 238u8, 20u8, 221u8, 11u8, 146u8, 236u8, 47u8, 103u8, 8u8, 239u8, 13u8, + 176u8, 202u8, 10u8, 151u8, 68u8, 110u8, 162u8, 99u8, 40u8, 211u8, + 136u8, 71u8, 82u8, 50u8, 80u8, 244u8, 211u8, 231u8, 198u8, 36u8, 152u8, ], ) } @@ -5310,10 +5375,10 @@ pub mod api { "System", "BlockLength", [ - 116u8, 184u8, 225u8, 228u8, 207u8, 203u8, 4u8, 220u8, 234u8, 198u8, - 150u8, 108u8, 205u8, 87u8, 194u8, 131u8, 229u8, 51u8, 140u8, 4u8, 47u8, - 12u8, 200u8, 144u8, 153u8, 62u8, 51u8, 39u8, 138u8, 205u8, 203u8, - 236u8, + 117u8, 144u8, 154u8, 125u8, 106u8, 34u8, 224u8, 228u8, 80u8, 76u8, + 126u8, 0u8, 177u8, 223u8, 116u8, 244u8, 167u8, 23u8, 253u8, 44u8, + 128u8, 116u8, 155u8, 245u8, 163u8, 20u8, 21u8, 222u8, 174u8, 237u8, + 162u8, 240u8, ], ) } @@ -5341,10 +5406,9 @@ pub mod api { "System", "DbWeight", [ - 124u8, 162u8, 190u8, 149u8, 49u8, 177u8, 162u8, 231u8, 62u8, 167u8, - 199u8, 181u8, 43u8, 232u8, 185u8, 116u8, 195u8, 51u8, 233u8, 223u8, - 20u8, 129u8, 246u8, 13u8, 65u8, 180u8, 64u8, 9u8, 157u8, 59u8, 245u8, - 118u8, + 206u8, 53u8, 134u8, 247u8, 42u8, 38u8, 197u8, 59u8, 191u8, 83u8, 160u8, + 9u8, 207u8, 133u8, 108u8, 152u8, 150u8, 103u8, 109u8, 228u8, 218u8, + 24u8, 27u8, 210u8, 106u8, 252u8, 74u8, 93u8, 27u8, 63u8, 109u8, 252u8, ], ) } @@ -5357,9 +5421,10 @@ pub mod api { "System", "Version", [ - 93u8, 98u8, 57u8, 243u8, 229u8, 8u8, 234u8, 231u8, 72u8, 230u8, 139u8, - 47u8, 63u8, 181u8, 17u8, 2u8, 220u8, 231u8, 104u8, 237u8, 185u8, 143u8, - 165u8, 253u8, 188u8, 76u8, 147u8, 12u8, 170u8, 26u8, 74u8, 200u8, + 134u8, 0u8, 23u8, 0u8, 199u8, 213u8, 89u8, 240u8, 194u8, 186u8, 239u8, + 157u8, 168u8, 211u8, 223u8, 156u8, 138u8, 140u8, 194u8, 23u8, 167u8, + 158u8, 195u8, 233u8, 25u8, 165u8, 27u8, 237u8, 198u8, 206u8, 233u8, + 28u8, ], ) } @@ -5540,10 +5605,10 @@ pub mod api { call: ::std::boxed::Box::new(call), }, [ - 225u8, 142u8, 54u8, 240u8, 129u8, 69u8, 56u8, 230u8, 207u8, 110u8, - 78u8, 150u8, 87u8, 254u8, 95u8, 73u8, 74u8, 204u8, 165u8, 239u8, 246u8, - 132u8, 251u8, 183u8, 36u8, 102u8, 236u8, 244u8, 201u8, 2u8, 233u8, - 255u8, + 79u8, 205u8, 253u8, 246u8, 221u8, 94u8, 229u8, 6u8, 48u8, 3u8, 5u8, + 145u8, 225u8, 209u8, 208u8, 85u8, 151u8, 208u8, 235u8, 210u8, 131u8, + 195u8, 179u8, 14u8, 243u8, 47u8, 230u8, 128u8, 55u8, 226u8, 242u8, + 217u8, ], ) } @@ -5558,9 +5623,10 @@ pub mod api { "cancel", types::Cancel { when, index }, [ - 81u8, 251u8, 234u8, 17u8, 214u8, 75u8, 19u8, 59u8, 19u8, 30u8, 89u8, - 74u8, 6u8, 216u8, 238u8, 165u8, 7u8, 19u8, 153u8, 253u8, 161u8, 103u8, - 178u8, 227u8, 152u8, 180u8, 80u8, 156u8, 82u8, 126u8, 132u8, 120u8, + 32u8, 107u8, 14u8, 102u8, 56u8, 200u8, 68u8, 186u8, 192u8, 100u8, + 152u8, 124u8, 171u8, 154u8, 230u8, 115u8, 62u8, 140u8, 88u8, 178u8, + 119u8, 210u8, 222u8, 31u8, 134u8, 225u8, 133u8, 241u8, 42u8, 110u8, + 147u8, 47u8, ], ) } @@ -5587,10 +5653,10 @@ pub mod api { call: ::std::boxed::Box::new(call), }, [ - 158u8, 202u8, 183u8, 44u8, 48u8, 102u8, 44u8, 53u8, 74u8, 193u8, 176u8, - 21u8, 240u8, 144u8, 135u8, 240u8, 87u8, 70u8, 132u8, 36u8, 229u8, - 233u8, 249u8, 55u8, 129u8, 81u8, 37u8, 193u8, 207u8, 252u8, 49u8, - 165u8, + 34u8, 68u8, 235u8, 184u8, 76u8, 184u8, 201u8, 126u8, 239u8, 104u8, + 118u8, 155u8, 155u8, 195u8, 153u8, 121u8, 186u8, 241u8, 223u8, 173u8, + 65u8, 247u8, 11u8, 93u8, 83u8, 243u8, 231u8, 33u8, 57u8, 89u8, 73u8, + 182u8, ], ) } @@ -5604,9 +5670,9 @@ pub mod api { "cancel_named", types::CancelNamed { id }, [ - 51u8, 3u8, 140u8, 50u8, 214u8, 211u8, 50u8, 4u8, 19u8, 43u8, 230u8, - 114u8, 18u8, 108u8, 138u8, 67u8, 99u8, 24u8, 255u8, 11u8, 246u8, 37u8, - 192u8, 207u8, 90u8, 157u8, 171u8, 93u8, 233u8, 189u8, 64u8, 180u8, + 205u8, 35u8, 28u8, 57u8, 224u8, 7u8, 49u8, 233u8, 236u8, 163u8, 93u8, + 236u8, 103u8, 69u8, 65u8, 51u8, 121u8, 84u8, 9u8, 196u8, 147u8, 122u8, + 227u8, 200u8, 181u8, 233u8, 62u8, 240u8, 174u8, 83u8, 129u8, 193u8, ], ) } @@ -5631,10 +5697,9 @@ pub mod api { call: ::std::boxed::Box::new(call), }, [ - 73u8, 79u8, 70u8, 138u8, 189u8, 239u8, 243u8, 180u8, 250u8, 183u8, - 246u8, 40u8, 204u8, 164u8, 154u8, 219u8, 87u8, 144u8, 44u8, 185u8, - 181u8, 130u8, 147u8, 11u8, 156u8, 54u8, 201u8, 207u8, 238u8, 76u8, - 61u8, 179u8, + 103u8, 222u8, 6u8, 157u8, 93u8, 110u8, 116u8, 140u8, 17u8, 239u8, 58u8, + 133u8, 241u8, 102u8, 182u8, 32u8, 113u8, 57u8, 116u8, 31u8, 127u8, + 156u8, 50u8, 8u8, 33u8, 94u8, 23u8, 86u8, 93u8, 169u8, 189u8, 203u8, ], ) } @@ -5661,10 +5726,10 @@ pub mod api { call: ::std::boxed::Box::new(call), }, [ - 158u8, 154u8, 219u8, 160u8, 184u8, 209u8, 41u8, 234u8, 126u8, 157u8, - 63u8, 92u8, 143u8, 2u8, 82u8, 145u8, 45u8, 145u8, 148u8, 27u8, 48u8, - 255u8, 95u8, 70u8, 182u8, 146u8, 199u8, 252u8, 87u8, 105u8, 12u8, - 187u8, + 242u8, 52u8, 21u8, 208u8, 40u8, 50u8, 170u8, 129u8, 232u8, 151u8, + 130u8, 105u8, 157u8, 156u8, 65u8, 224u8, 170u8, 65u8, 169u8, 223u8, + 27u8, 37u8, 136u8, 36u8, 250u8, 40u8, 134u8, 100u8, 138u8, 36u8, 86u8, + 226u8, ], ) } @@ -5808,10 +5873,9 @@ pub mod api { "IncompleteSince", vec![], [ - 149u8, 66u8, 239u8, 67u8, 235u8, 219u8, 101u8, 182u8, 145u8, 56u8, - 252u8, 150u8, 253u8, 221u8, 125u8, 57u8, 38u8, 152u8, 153u8, 31u8, - 92u8, 238u8, 66u8, 246u8, 104u8, 163u8, 94u8, 73u8, 222u8, 168u8, - 193u8, 227u8, + 250u8, 83u8, 64u8, 167u8, 205u8, 59u8, 225u8, 97u8, 205u8, 12u8, 76u8, + 130u8, 197u8, 4u8, 111u8, 208u8, 92u8, 217u8, 145u8, 119u8, 38u8, + 135u8, 1u8, 242u8, 228u8, 143u8, 56u8, 25u8, 115u8, 233u8, 227u8, 66u8, ], ) } @@ -5845,10 +5909,9 @@ pub mod api { _0.borrow(), )], [ - 130u8, 206u8, 243u8, 81u8, 169u8, 223u8, 74u8, 102u8, 75u8, 207u8, - 232u8, 175u8, 233u8, 167u8, 109u8, 190u8, 242u8, 24u8, 203u8, 144u8, - 31u8, 68u8, 147u8, 110u8, 77u8, 175u8, 2u8, 129u8, 127u8, 198u8, 49u8, - 151u8, + 209u8, 79u8, 142u8, 79u8, 230u8, 98u8, 182u8, 113u8, 13u8, 147u8, + 144u8, 21u8, 255u8, 211u8, 76u8, 71u8, 3u8, 104u8, 97u8, 108u8, 137u8, + 63u8, 32u8, 239u8, 90u8, 143u8, 3u8, 61u8, 57u8, 20u8, 17u8, 30u8, ], ) } @@ -5879,10 +5942,9 @@ pub mod api { "Agenda", Vec::new(), [ - 130u8, 206u8, 243u8, 81u8, 169u8, 223u8, 74u8, 102u8, 75u8, 207u8, - 232u8, 175u8, 233u8, 167u8, 109u8, 190u8, 242u8, 24u8, 203u8, 144u8, - 31u8, 68u8, 147u8, 110u8, 77u8, 175u8, 2u8, 129u8, 127u8, 198u8, 49u8, - 151u8, + 209u8, 79u8, 142u8, 79u8, 230u8, 98u8, 182u8, 113u8, 13u8, 147u8, + 144u8, 21u8, 255u8, 211u8, 76u8, 71u8, 3u8, 104u8, 97u8, 108u8, 137u8, + 63u8, 32u8, 239u8, 90u8, 143u8, 3u8, 61u8, 57u8, 20u8, 17u8, 30u8, ], ) } @@ -5907,10 +5969,10 @@ pub mod api { _0.borrow(), )], [ - 82u8, 20u8, 178u8, 101u8, 108u8, 198u8, 71u8, 99u8, 16u8, 175u8, 15u8, - 187u8, 229u8, 243u8, 140u8, 200u8, 99u8, 77u8, 248u8, 178u8, 45u8, - 121u8, 193u8, 67u8, 165u8, 43u8, 234u8, 211u8, 158u8, 250u8, 103u8, - 243u8, + 157u8, 102u8, 210u8, 65u8, 190u8, 48u8, 168u8, 20u8, 197u8, 184u8, + 74u8, 119u8, 176u8, 22u8, 244u8, 186u8, 231u8, 239u8, 97u8, 175u8, + 34u8, 133u8, 165u8, 73u8, 223u8, 113u8, 78u8, 150u8, 83u8, 127u8, + 126u8, 204u8, ], ) } @@ -5932,10 +5994,10 @@ pub mod api { "Lookup", Vec::new(), [ - 82u8, 20u8, 178u8, 101u8, 108u8, 198u8, 71u8, 99u8, 16u8, 175u8, 15u8, - 187u8, 229u8, 243u8, 140u8, 200u8, 99u8, 77u8, 248u8, 178u8, 45u8, - 121u8, 193u8, 67u8, 165u8, 43u8, 234u8, 211u8, 158u8, 250u8, 103u8, - 243u8, + 157u8, 102u8, 210u8, 65u8, 190u8, 48u8, 168u8, 20u8, 197u8, 184u8, + 74u8, 119u8, 176u8, 22u8, 244u8, 186u8, 231u8, 239u8, 97u8, 175u8, + 34u8, 133u8, 165u8, 73u8, 223u8, 113u8, 78u8, 150u8, 83u8, 127u8, + 126u8, 204u8, ], ) } @@ -5954,10 +6016,9 @@ pub mod api { "Scheduler", "MaximumWeight", [ - 206u8, 61u8, 253u8, 247u8, 163u8, 40u8, 161u8, 52u8, 134u8, 140u8, - 206u8, 83u8, 44u8, 166u8, 226u8, 115u8, 181u8, 14u8, 227u8, 130u8, - 210u8, 32u8, 85u8, 29u8, 230u8, 97u8, 130u8, 165u8, 147u8, 134u8, - 106u8, 76u8, + 222u8, 183u8, 203u8, 169u8, 31u8, 134u8, 28u8, 12u8, 47u8, 140u8, 71u8, + 74u8, 61u8, 55u8, 71u8, 236u8, 215u8, 83u8, 28u8, 70u8, 45u8, 128u8, + 184u8, 57u8, 101u8, 83u8, 42u8, 165u8, 34u8, 155u8, 64u8, 145u8, ], ) } @@ -6080,9 +6141,9 @@ pub mod api { "note_preimage", types::NotePreimage { bytes }, [ - 77u8, 48u8, 104u8, 3u8, 254u8, 65u8, 106u8, 95u8, 204u8, 89u8, 149u8, - 29u8, 144u8, 188u8, 99u8, 23u8, 146u8, 142u8, 35u8, 17u8, 125u8, 130u8, - 31u8, 206u8, 106u8, 83u8, 163u8, 192u8, 81u8, 23u8, 232u8, 230u8, + 121u8, 88u8, 18u8, 92u8, 176u8, 15u8, 192u8, 198u8, 146u8, 198u8, 38u8, + 242u8, 213u8, 83u8, 7u8, 230u8, 14u8, 110u8, 235u8, 32u8, 215u8, 26u8, + 192u8, 217u8, 113u8, 224u8, 206u8, 96u8, 177u8, 198u8, 246u8, 33u8, ], ) } @@ -6101,9 +6162,10 @@ pub mod api { "unnote_preimage", types::UnnotePreimage { hash }, [ - 211u8, 204u8, 205u8, 58u8, 33u8, 179u8, 68u8, 74u8, 149u8, 138u8, - 213u8, 45u8, 140u8, 27u8, 106u8, 81u8, 68u8, 212u8, 147u8, 116u8, 27u8, - 130u8, 84u8, 34u8, 231u8, 197u8, 135u8, 8u8, 19u8, 242u8, 207u8, 17u8, + 188u8, 116u8, 222u8, 22u8, 127u8, 215u8, 2u8, 133u8, 96u8, 202u8, + 190u8, 123u8, 203u8, 43u8, 200u8, 161u8, 226u8, 24u8, 49u8, 36u8, + 221u8, 160u8, 130u8, 119u8, 30u8, 138u8, 144u8, 85u8, 5u8, 164u8, + 252u8, 222u8, ], ) } @@ -6120,9 +6182,9 @@ pub mod api { "request_preimage", types::RequestPreimage { hash }, [ - 195u8, 26u8, 146u8, 255u8, 79u8, 43u8, 73u8, 60u8, 115u8, 78u8, 99u8, - 197u8, 137u8, 95u8, 139u8, 141u8, 79u8, 213u8, 170u8, 169u8, 127u8, - 30u8, 236u8, 65u8, 38u8, 16u8, 118u8, 228u8, 141u8, 83u8, 162u8, 233u8, + 87u8, 0u8, 204u8, 111u8, 43u8, 115u8, 64u8, 209u8, 133u8, 13u8, 83u8, + 45u8, 164u8, 166u8, 233u8, 105u8, 242u8, 238u8, 235u8, 208u8, 113u8, + 134u8, 93u8, 242u8, 86u8, 32u8, 7u8, 152u8, 107u8, 208u8, 79u8, 59u8, ], ) } @@ -6138,9 +6200,10 @@ pub mod api { "unrequest_preimage", types::UnrequestPreimage { hash }, [ - 143u8, 225u8, 239u8, 44u8, 237u8, 83u8, 18u8, 105u8, 101u8, 68u8, - 111u8, 116u8, 66u8, 212u8, 63u8, 190u8, 38u8, 32u8, 105u8, 152u8, 69u8, - 177u8, 193u8, 15u8, 60u8, 26u8, 95u8, 130u8, 11u8, 113u8, 187u8, 108u8, + 55u8, 37u8, 224u8, 149u8, 142u8, 120u8, 8u8, 68u8, 183u8, 225u8, 255u8, + 240u8, 254u8, 111u8, 58u8, 200u8, 113u8, 217u8, 177u8, 203u8, 107u8, + 104u8, 233u8, 87u8, 252u8, 53u8, 33u8, 112u8, 116u8, 254u8, 117u8, + 134u8, ], ) } @@ -6230,9 +6293,10 @@ pub mod api { _0.borrow(), )], [ - 103u8, 208u8, 88u8, 167u8, 244u8, 198u8, 129u8, 134u8, 182u8, 80u8, - 71u8, 192u8, 73u8, 92u8, 190u8, 15u8, 20u8, 132u8, 37u8, 108u8, 88u8, - 233u8, 18u8, 145u8, 9u8, 235u8, 5u8, 132u8, 42u8, 17u8, 227u8, 56u8, + 176u8, 174u8, 255u8, 131u8, 156u8, 64u8, 181u8, 119u8, 81u8, 243u8, + 144u8, 55u8, 19u8, 140u8, 119u8, 30u8, 210u8, 112u8, 201u8, 247u8, + 13u8, 19u8, 120u8, 190u8, 253u8, 89u8, 4u8, 109u8, 122u8, 62u8, 87u8, + 186u8, ], ) } @@ -6254,9 +6318,10 @@ pub mod api { "StatusFor", Vec::new(), [ - 103u8, 208u8, 88u8, 167u8, 244u8, 198u8, 129u8, 134u8, 182u8, 80u8, - 71u8, 192u8, 73u8, 92u8, 190u8, 15u8, 20u8, 132u8, 37u8, 108u8, 88u8, - 233u8, 18u8, 145u8, 9u8, 235u8, 5u8, 132u8, 42u8, 17u8, 227u8, 56u8, + 176u8, 174u8, 255u8, 131u8, 156u8, 64u8, 181u8, 119u8, 81u8, 243u8, + 144u8, 55u8, 19u8, 140u8, 119u8, 30u8, 210u8, 112u8, 201u8, 247u8, + 13u8, 19u8, 120u8, 190u8, 253u8, 89u8, 4u8, 109u8, 122u8, 62u8, 87u8, + 186u8, ], ) } @@ -6281,9 +6346,9 @@ pub mod api { ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 96u8, 74u8, 30u8, 112u8, 120u8, 41u8, 52u8, 187u8, 252u8, 68u8, 42u8, - 5u8, 61u8, 228u8, 250u8, 192u8, 224u8, 61u8, 53u8, 222u8, 95u8, 148u8, - 6u8, 53u8, 43u8, 152u8, 88u8, 58u8, 185u8, 234u8, 131u8, 124u8, + 20u8, 5u8, 33u8, 71u8, 153u8, 129u8, 98u8, 23u8, 214u8, 138u8, 96u8, + 113u8, 245u8, 128u8, 51u8, 55u8, 123u8, 218u8, 165u8, 247u8, 14u8, + 104u8, 119u8, 87u8, 71u8, 222u8, 200u8, 103u8, 58u8, 10u8, 97u8, 134u8, ], ) } @@ -6303,9 +6368,9 @@ pub mod api { "PreimageFor", Vec::new(), [ - 96u8, 74u8, 30u8, 112u8, 120u8, 41u8, 52u8, 187u8, 252u8, 68u8, 42u8, - 5u8, 61u8, 228u8, 250u8, 192u8, 224u8, 61u8, 53u8, 222u8, 95u8, 148u8, - 6u8, 53u8, 43u8, 152u8, 88u8, 58u8, 185u8, 234u8, 131u8, 124u8, + 20u8, 5u8, 33u8, 71u8, 153u8, 129u8, 98u8, 23u8, 214u8, 138u8, 96u8, + 113u8, 245u8, 128u8, 51u8, 55u8, 123u8, 218u8, 165u8, 247u8, 14u8, + 104u8, 119u8, 87u8, 71u8, 222u8, 200u8, 103u8, 58u8, 10u8, 97u8, 134u8, ], ) } @@ -6420,10 +6485,9 @@ pub mod api { key_owner_proof, }, [ - 177u8, 237u8, 107u8, 138u8, 237u8, 233u8, 30u8, 195u8, 112u8, 176u8, - 185u8, 113u8, 157u8, 221u8, 134u8, 151u8, 62u8, 151u8, 64u8, 164u8, - 254u8, 112u8, 2u8, 94u8, 175u8, 79u8, 160u8, 3u8, 72u8, 145u8, 244u8, - 137u8, + 112u8, 178u8, 160u8, 11u8, 51u8, 221u8, 60u8, 95u8, 15u8, 167u8, 168u8, + 70u8, 155u8, 189u8, 58u8, 243u8, 79u8, 173u8, 99u8, 82u8, 251u8, 179u8, + 132u8, 84u8, 12u8, 32u8, 191u8, 217u8, 116u8, 65u8, 86u8, 123u8, ], ) } @@ -6454,10 +6518,10 @@ pub mod api { key_owner_proof, }, [ - 56u8, 103u8, 238u8, 118u8, 61u8, 192u8, 222u8, 87u8, 254u8, 24u8, - 138u8, 219u8, 210u8, 85u8, 201u8, 147u8, 128u8, 49u8, 199u8, 144u8, - 46u8, 158u8, 163u8, 31u8, 101u8, 224u8, 72u8, 98u8, 68u8, 120u8, 215u8, - 19u8, + 155u8, 41u8, 95u8, 173u8, 63u8, 104u8, 36u8, 189u8, 159u8, 197u8, + 201u8, 219u8, 89u8, 137u8, 114u8, 123u8, 200u8, 209u8, 69u8, 124u8, + 253u8, 170u8, 159u8, 144u8, 12u8, 166u8, 159u8, 231u8, 223u8, 243u8, + 103u8, 121u8, ], ) } @@ -6474,9 +6538,10 @@ pub mod api { "plan_config_change", types::PlanConfigChange { config }, [ - 229u8, 157u8, 41u8, 58u8, 56u8, 4u8, 52u8, 107u8, 104u8, 20u8, 42u8, - 110u8, 1u8, 17u8, 45u8, 196u8, 30u8, 135u8, 63u8, 46u8, 40u8, 137u8, - 209u8, 37u8, 24u8, 108u8, 251u8, 189u8, 77u8, 208u8, 74u8, 32u8, + 165u8, 26u8, 134u8, 130u8, 137u8, 42u8, 127u8, 161u8, 117u8, 251u8, + 215u8, 241u8, 69u8, 224u8, 134u8, 1u8, 187u8, 203u8, 168u8, 139u8, + 121u8, 243u8, 235u8, 223u8, 135u8, 128u8, 227u8, 129u8, 183u8, 51u8, + 135u8, 79u8, ], ) } @@ -6501,9 +6566,10 @@ pub mod api { "EpochIndex", vec![], [ - 51u8, 27u8, 91u8, 156u8, 118u8, 99u8, 46u8, 219u8, 190u8, 147u8, 205u8, - 23u8, 106u8, 169u8, 121u8, 218u8, 208u8, 235u8, 135u8, 127u8, 243u8, - 41u8, 55u8, 243u8, 235u8, 122u8, 57u8, 86u8, 37u8, 90u8, 208u8, 71u8, + 32u8, 82u8, 130u8, 31u8, 190u8, 162u8, 237u8, 189u8, 104u8, 244u8, + 30u8, 199u8, 179u8, 0u8, 161u8, 107u8, 72u8, 240u8, 201u8, 222u8, + 177u8, 222u8, 35u8, 156u8, 81u8, 132u8, 162u8, 118u8, 238u8, 84u8, + 112u8, 89u8, ], ) } @@ -6525,9 +6591,10 @@ pub mod api { "Authorities", vec![], [ - 61u8, 8u8, 133u8, 111u8, 169u8, 120u8, 0u8, 213u8, 31u8, 159u8, 204u8, - 212u8, 18u8, 205u8, 93u8, 84u8, 140u8, 108u8, 136u8, 209u8, 234u8, - 107u8, 145u8, 9u8, 204u8, 224u8, 105u8, 9u8, 238u8, 241u8, 65u8, 30u8, + 67u8, 196u8, 244u8, 13u8, 246u8, 245u8, 198u8, 98u8, 81u8, 55u8, 182u8, + 187u8, 214u8, 5u8, 181u8, 76u8, 251u8, 213u8, 144u8, 166u8, 36u8, + 153u8, 234u8, 181u8, 252u8, 55u8, 198u8, 175u8, 55u8, 211u8, 105u8, + 85u8, ], ) } @@ -6547,10 +6614,10 @@ pub mod api { "GenesisSlot", vec![], [ - 234u8, 127u8, 243u8, 100u8, 124u8, 160u8, 66u8, 248u8, 48u8, 218u8, - 61u8, 52u8, 54u8, 142u8, 158u8, 77u8, 32u8, 63u8, 156u8, 39u8, 94u8, - 255u8, 192u8, 238u8, 170u8, 118u8, 58u8, 42u8, 199u8, 61u8, 199u8, - 77u8, + 218u8, 174u8, 152u8, 76u8, 188u8, 214u8, 7u8, 88u8, 253u8, 187u8, + 139u8, 234u8, 51u8, 28u8, 220u8, 57u8, 73u8, 1u8, 18u8, 205u8, 80u8, + 160u8, 120u8, 216u8, 139u8, 191u8, 100u8, 108u8, 162u8, 106u8, 175u8, + 107u8, ], ) } @@ -6569,10 +6636,10 @@ pub mod api { "CurrentSlot", vec![], [ - 139u8, 237u8, 185u8, 137u8, 251u8, 179u8, 69u8, 167u8, 133u8, 168u8, - 204u8, 64u8, 178u8, 123u8, 92u8, 250u8, 119u8, 190u8, 208u8, 178u8, - 208u8, 176u8, 124u8, 187u8, 74u8, 165u8, 33u8, 78u8, 161u8, 206u8, 8u8, - 108u8, + 112u8, 199u8, 115u8, 248u8, 217u8, 242u8, 45u8, 231u8, 178u8, 53u8, + 236u8, 167u8, 219u8, 238u8, 81u8, 243u8, 39u8, 140u8, 68u8, 19u8, + 201u8, 169u8, 211u8, 133u8, 135u8, 213u8, 150u8, 105u8, 60u8, 252u8, + 43u8, 57u8, ], ) } @@ -6600,10 +6667,10 @@ pub mod api { "Randomness", vec![], [ - 191u8, 197u8, 25u8, 164u8, 104u8, 248u8, 247u8, 193u8, 244u8, 60u8, - 181u8, 195u8, 248u8, 90u8, 41u8, 199u8, 82u8, 123u8, 72u8, 126u8, 18u8, - 17u8, 128u8, 215u8, 34u8, 251u8, 227u8, 70u8, 166u8, 10u8, 104u8, - 140u8, + 36u8, 15u8, 52u8, 73u8, 195u8, 177u8, 186u8, 125u8, 134u8, 11u8, 103u8, + 248u8, 170u8, 237u8, 105u8, 239u8, 168u8, 204u8, 147u8, 52u8, 15u8, + 226u8, 126u8, 176u8, 133u8, 186u8, 169u8, 241u8, 156u8, 118u8, 67u8, + 58u8, ], ) } @@ -6622,9 +6689,10 @@ pub mod api { "PendingEpochConfigChange", vec![], [ - 4u8, 201u8, 0u8, 204u8, 47u8, 246u8, 4u8, 185u8, 163u8, 242u8, 242u8, - 152u8, 29u8, 222u8, 71u8, 127u8, 49u8, 203u8, 206u8, 180u8, 244u8, - 50u8, 80u8, 49u8, 199u8, 97u8, 3u8, 170u8, 156u8, 139u8, 106u8, 113u8, + 71u8, 143u8, 197u8, 44u8, 242u8, 120u8, 71u8, 244u8, 41u8, 201u8, + 132u8, 103u8, 96u8, 23u8, 111u8, 232u8, 30u8, 35u8, 154u8, 251u8, + 183u8, 23u8, 144u8, 80u8, 101u8, 117u8, 43u8, 228u8, 174u8, 221u8, + 183u8, 165u8, ], ) } @@ -6643,10 +6711,9 @@ pub mod api { "NextRandomness", vec![], [ - 185u8, 98u8, 45u8, 109u8, 253u8, 38u8, 238u8, 221u8, 240u8, 29u8, 38u8, - 107u8, 118u8, 117u8, 131u8, 115u8, 21u8, 255u8, 203u8, 81u8, 243u8, - 251u8, 91u8, 60u8, 163u8, 202u8, 125u8, 193u8, 173u8, 234u8, 166u8, - 92u8, + 96u8, 191u8, 139u8, 171u8, 144u8, 92u8, 33u8, 58u8, 23u8, 219u8, 164u8, + 121u8, 59u8, 209u8, 112u8, 244u8, 50u8, 8u8, 14u8, 244u8, 103u8, 125u8, + 120u8, 210u8, 16u8, 250u8, 54u8, 192u8, 72u8, 8u8, 219u8, 152u8, ], ) } @@ -6668,9 +6735,10 @@ pub mod api { "NextAuthorities", vec![], [ - 201u8, 193u8, 164u8, 18u8, 155u8, 253u8, 124u8, 163u8, 143u8, 73u8, - 212u8, 20u8, 241u8, 108u8, 110u8, 5u8, 171u8, 66u8, 224u8, 208u8, 10u8, - 65u8, 148u8, 164u8, 1u8, 12u8, 216u8, 83u8, 20u8, 226u8, 254u8, 183u8, + 116u8, 95u8, 126u8, 199u8, 237u8, 90u8, 202u8, 227u8, 247u8, 56u8, + 201u8, 113u8, 239u8, 191u8, 151u8, 56u8, 156u8, 133u8, 61u8, 64u8, + 141u8, 26u8, 8u8, 95u8, 177u8, 255u8, 54u8, 223u8, 132u8, 74u8, 210u8, + 128u8, ], ) } @@ -6697,9 +6765,10 @@ pub mod api { "SegmentIndex", vec![], [ - 128u8, 45u8, 87u8, 58u8, 174u8, 152u8, 241u8, 156u8, 56u8, 192u8, 19u8, - 45u8, 75u8, 160u8, 35u8, 253u8, 145u8, 11u8, 178u8, 81u8, 114u8, 117u8, - 112u8, 107u8, 163u8, 208u8, 240u8, 151u8, 102u8, 176u8, 246u8, 5u8, + 145u8, 91u8, 142u8, 240u8, 184u8, 94u8, 68u8, 52u8, 130u8, 3u8, 75u8, + 175u8, 155u8, 130u8, 66u8, 9u8, 150u8, 242u8, 123u8, 111u8, 124u8, + 241u8, 100u8, 128u8, 220u8, 133u8, 96u8, 227u8, 164u8, 241u8, 170u8, + 34u8, ], ) } @@ -6723,9 +6792,9 @@ pub mod api { _0.borrow(), )], [ - 180u8, 4u8, 149u8, 245u8, 231u8, 92u8, 99u8, 170u8, 254u8, 172u8, - 182u8, 3u8, 152u8, 156u8, 132u8, 196u8, 140u8, 97u8, 7u8, 84u8, 220u8, - 89u8, 195u8, 177u8, 235u8, 51u8, 98u8, 144u8, 73u8, 238u8, 59u8, 164u8, + 120u8, 120u8, 59u8, 247u8, 50u8, 6u8, 220u8, 14u8, 2u8, 76u8, 203u8, + 244u8, 232u8, 144u8, 253u8, 191u8, 101u8, 35u8, 99u8, 85u8, 111u8, + 168u8, 31u8, 110u8, 187u8, 124u8, 72u8, 32u8, 43u8, 66u8, 8u8, 215u8, ], ) } @@ -6746,9 +6815,9 @@ pub mod api { "UnderConstruction", Vec::new(), [ - 180u8, 4u8, 149u8, 245u8, 231u8, 92u8, 99u8, 170u8, 254u8, 172u8, - 182u8, 3u8, 152u8, 156u8, 132u8, 196u8, 140u8, 97u8, 7u8, 84u8, 220u8, - 89u8, 195u8, 177u8, 235u8, 51u8, 98u8, 144u8, 73u8, 238u8, 59u8, 164u8, + 120u8, 120u8, 59u8, 247u8, 50u8, 6u8, 220u8, 14u8, 2u8, 76u8, 203u8, + 244u8, 232u8, 144u8, 253u8, 191u8, 101u8, 35u8, 99u8, 85u8, 111u8, + 168u8, 31u8, 110u8, 187u8, 124u8, 72u8, 32u8, 43u8, 66u8, 8u8, 215u8, ], ) } @@ -6768,9 +6837,9 @@ pub mod api { "Initialized", vec![], [ - 40u8, 135u8, 28u8, 144u8, 247u8, 208u8, 48u8, 220u8, 46u8, 60u8, 131u8, - 190u8, 196u8, 235u8, 126u8, 66u8, 34u8, 14u8, 32u8, 131u8, 71u8, 46u8, - 62u8, 207u8, 177u8, 213u8, 167u8, 34u8, 199u8, 29u8, 16u8, 236u8, + 61u8, 100u8, 12u8, 43u8, 50u8, 166u8, 173u8, 130u8, 86u8, 36u8, 92u8, + 221u8, 44u8, 235u8, 241u8, 150u8, 231u8, 108u8, 15u8, 134u8, 12u8, 6u8, + 198u8, 102u8, 63u8, 69u8, 201u8, 171u8, 14u8, 135u8, 254u8, 239u8, ], ) } @@ -6792,10 +6861,10 @@ pub mod api { "AuthorVrfRandomness", vec![], [ - 66u8, 235u8, 74u8, 252u8, 222u8, 135u8, 19u8, 28u8, 74u8, 191u8, 170u8, - 197u8, 207u8, 127u8, 77u8, 121u8, 138u8, 138u8, 110u8, 187u8, 34u8, - 14u8, 230u8, 43u8, 241u8, 241u8, 63u8, 163u8, 53u8, 179u8, 250u8, - 247u8, + 160u8, 157u8, 62u8, 48u8, 196u8, 136u8, 63u8, 132u8, 155u8, 183u8, + 91u8, 201u8, 146u8, 29u8, 192u8, 142u8, 168u8, 152u8, 197u8, 233u8, + 5u8, 25u8, 0u8, 154u8, 234u8, 180u8, 146u8, 132u8, 106u8, 164u8, 149u8, + 63u8, ], ) } @@ -6818,10 +6887,10 @@ pub mod api { "EpochStart", vec![], [ - 196u8, 39u8, 241u8, 20u8, 150u8, 180u8, 136u8, 4u8, 195u8, 205u8, - 218u8, 10u8, 130u8, 131u8, 168u8, 243u8, 207u8, 249u8, 58u8, 195u8, - 177u8, 119u8, 110u8, 243u8, 241u8, 3u8, 245u8, 56u8, 157u8, 5u8, 68u8, - 60u8, + 246u8, 69u8, 165u8, 217u8, 181u8, 138u8, 201u8, 64u8, 251u8, 121u8, + 50u8, 231u8, 221u8, 144u8, 225u8, 249u8, 42u8, 135u8, 31u8, 136u8, + 21u8, 160u8, 186u8, 148u8, 139u8, 232u8, 182u8, 121u8, 82u8, 110u8, + 14u8, 160u8, ], ) } @@ -6844,10 +6913,10 @@ pub mod api { "Lateness", vec![], [ - 229u8, 230u8, 224u8, 89u8, 49u8, 213u8, 198u8, 236u8, 144u8, 56u8, - 193u8, 234u8, 62u8, 242u8, 191u8, 199u8, 105u8, 131u8, 74u8, 63u8, - 75u8, 1u8, 210u8, 49u8, 3u8, 128u8, 18u8, 77u8, 219u8, 146u8, 60u8, - 88u8, + 229u8, 214u8, 133u8, 149u8, 32u8, 159u8, 26u8, 22u8, 252u8, 131u8, + 200u8, 191u8, 231u8, 176u8, 178u8, 127u8, 33u8, 212u8, 139u8, 220u8, + 157u8, 38u8, 4u8, 226u8, 204u8, 32u8, 55u8, 20u8, 205u8, 141u8, 29u8, + 87u8, ], ) } @@ -6867,10 +6936,10 @@ pub mod api { "EpochConfig", vec![], [ - 41u8, 118u8, 141u8, 244u8, 72u8, 17u8, 125u8, 203u8, 43u8, 153u8, - 203u8, 119u8, 117u8, 223u8, 123u8, 133u8, 73u8, 235u8, 130u8, 21u8, - 160u8, 167u8, 16u8, 173u8, 177u8, 35u8, 117u8, 97u8, 149u8, 49u8, - 220u8, 24u8, + 23u8, 188u8, 70u8, 119u8, 36u8, 199u8, 230u8, 191u8, 131u8, 219u8, + 85u8, 201u8, 237u8, 70u8, 214u8, 149u8, 212u8, 94u8, 87u8, 87u8, 62u8, + 16u8, 46u8, 143u8, 73u8, 169u8, 42u8, 139u8, 157u8, 139u8, 190u8, + 166u8, ], ) } @@ -6890,10 +6959,9 @@ pub mod api { "NextEpochConfig", vec![], [ - 111u8, 182u8, 144u8, 180u8, 92u8, 146u8, 102u8, 249u8, 196u8, 229u8, - 226u8, 30u8, 25u8, 198u8, 133u8, 9u8, 136u8, 95u8, 11u8, 151u8, 139u8, - 156u8, 105u8, 228u8, 181u8, 12u8, 175u8, 148u8, 174u8, 33u8, 233u8, - 228u8, + 35u8, 132u8, 198u8, 33u8, 167u8, 69u8, 180u8, 215u8, 207u8, 40u8, 35u8, + 78u8, 167u8, 22u8, 32u8, 246u8, 111u8, 207u8, 88u8, 13u8, 28u8, 86u8, + 220u8, 102u8, 35u8, 105u8, 160u8, 163u8, 13u8, 99u8, 142u8, 69u8, ], ) } @@ -6922,9 +6990,9 @@ pub mod api { "SkippedEpochs", vec![], [ - 187u8, 66u8, 178u8, 110u8, 247u8, 41u8, 128u8, 194u8, 173u8, 197u8, - 28u8, 219u8, 112u8, 75u8, 9u8, 184u8, 51u8, 12u8, 121u8, 117u8, 176u8, - 213u8, 139u8, 144u8, 122u8, 72u8, 243u8, 105u8, 248u8, 63u8, 6u8, 87u8, + 120u8, 167u8, 144u8, 97u8, 41u8, 216u8, 103u8, 90u8, 3u8, 86u8, 196u8, + 35u8, 160u8, 150u8, 144u8, 233u8, 128u8, 35u8, 119u8, 66u8, 6u8, 63u8, + 114u8, 140u8, 182u8, 228u8, 192u8, 30u8, 50u8, 145u8, 217u8, 108u8, ], ) } @@ -7041,9 +7109,9 @@ pub mod api { "set", types::Set { now }, [ - 6u8, 97u8, 172u8, 236u8, 118u8, 238u8, 228u8, 114u8, 15u8, 115u8, - 102u8, 85u8, 66u8, 151u8, 16u8, 33u8, 187u8, 17u8, 166u8, 88u8, 127u8, - 214u8, 182u8, 51u8, 168u8, 88u8, 43u8, 101u8, 185u8, 8u8, 1u8, 28u8, + 37u8, 95u8, 49u8, 218u8, 24u8, 22u8, 0u8, 95u8, 72u8, 35u8, 155u8, + 199u8, 213u8, 54u8, 207u8, 22u8, 185u8, 193u8, 221u8, 70u8, 18u8, + 200u8, 4u8, 231u8, 195u8, 173u8, 6u8, 122u8, 11u8, 203u8, 231u8, 227u8, ], ) } @@ -7068,9 +7136,9 @@ pub mod api { "Now", vec![], [ - 148u8, 53u8, 50u8, 54u8, 13u8, 161u8, 57u8, 150u8, 16u8, 83u8, 144u8, - 221u8, 59u8, 75u8, 158u8, 130u8, 39u8, 123u8, 106u8, 134u8, 202u8, - 185u8, 83u8, 85u8, 60u8, 41u8, 120u8, 96u8, 210u8, 34u8, 2u8, 250u8, + 44u8, 50u8, 80u8, 30u8, 195u8, 146u8, 123u8, 238u8, 8u8, 163u8, 187u8, + 92u8, 61u8, 39u8, 51u8, 29u8, 173u8, 169u8, 217u8, 158u8, 85u8, 187u8, + 141u8, 26u8, 12u8, 115u8, 51u8, 11u8, 200u8, 244u8, 138u8, 152u8, ], ) } @@ -7089,9 +7157,10 @@ pub mod api { "DidUpdate", vec![], [ - 70u8, 13u8, 92u8, 186u8, 80u8, 151u8, 167u8, 90u8, 158u8, 232u8, 175u8, - 13u8, 103u8, 135u8, 2u8, 78u8, 16u8, 6u8, 39u8, 158u8, 167u8, 85u8, - 27u8, 47u8, 122u8, 73u8, 127u8, 26u8, 35u8, 168u8, 72u8, 204u8, + 229u8, 175u8, 246u8, 102u8, 237u8, 158u8, 212u8, 229u8, 238u8, 214u8, + 205u8, 160u8, 164u8, 252u8, 195u8, 75u8, 139u8, 110u8, 22u8, 34u8, + 248u8, 204u8, 107u8, 46u8, 20u8, 200u8, 238u8, 167u8, 71u8, 41u8, + 214u8, 140u8, ], ) } @@ -7250,9 +7319,9 @@ pub mod api { "claim", types::Claim { index }, [ - 5u8, 24u8, 11u8, 173u8, 226u8, 170u8, 0u8, 30u8, 193u8, 102u8, 214u8, - 59u8, 252u8, 32u8, 221u8, 88u8, 196u8, 189u8, 244u8, 18u8, 233u8, 37u8, - 228u8, 248u8, 76u8, 175u8, 212u8, 233u8, 238u8, 203u8, 162u8, 68u8, + 146u8, 58u8, 246u8, 135u8, 59u8, 90u8, 3u8, 5u8, 140u8, 169u8, 232u8, + 195u8, 11u8, 107u8, 36u8, 141u8, 118u8, 174u8, 160u8, 160u8, 19u8, + 205u8, 177u8, 193u8, 18u8, 102u8, 115u8, 31u8, 72u8, 29u8, 91u8, 235u8, ], ) } @@ -7278,9 +7347,9 @@ pub mod api { "transfer", types::Transfer { new, index }, [ - 154u8, 191u8, 183u8, 50u8, 185u8, 69u8, 126u8, 132u8, 12u8, 77u8, - 146u8, 189u8, 254u8, 7u8, 72u8, 191u8, 118u8, 102u8, 180u8, 2u8, 161u8, - 151u8, 68u8, 93u8, 79u8, 45u8, 97u8, 202u8, 131u8, 103u8, 174u8, 189u8, + 177u8, 21u8, 139u8, 124u8, 88u8, 41u8, 95u8, 240u8, 196u8, 208u8, 48u8, + 105u8, 251u8, 100u8, 207u8, 144u8, 101u8, 101u8, 2u8, 161u8, 134u8, + 91u8, 194u8, 8u8, 254u8, 110u8, 58u8, 21u8, 57u8, 112u8, 11u8, 217u8, ], ) } @@ -7305,10 +7374,10 @@ pub mod api { "free", types::Free { index }, [ - 133u8, 202u8, 225u8, 127u8, 69u8, 145u8, 43u8, 13u8, 160u8, 248u8, - 215u8, 243u8, 232u8, 166u8, 74u8, 203u8, 235u8, 138u8, 255u8, 27u8, - 163u8, 71u8, 254u8, 217u8, 6u8, 208u8, 202u8, 204u8, 238u8, 70u8, - 126u8, 252u8, + 241u8, 211u8, 234u8, 102u8, 189u8, 22u8, 209u8, 27u8, 8u8, 229u8, 80u8, + 227u8, 138u8, 252u8, 222u8, 111u8, 77u8, 201u8, 235u8, 51u8, 163u8, + 247u8, 13u8, 126u8, 216u8, 136u8, 57u8, 222u8, 56u8, 66u8, 215u8, + 244u8, ], ) } @@ -7336,10 +7405,10 @@ pub mod api { "force_transfer", types::ForceTransfer { new, index, freeze }, [ - 37u8, 220u8, 91u8, 118u8, 222u8, 81u8, 225u8, 131u8, 101u8, 203u8, - 60u8, 149u8, 102u8, 92u8, 58u8, 91u8, 227u8, 64u8, 229u8, 62u8, 201u8, - 57u8, 168u8, 11u8, 51u8, 149u8, 146u8, 156u8, 209u8, 226u8, 11u8, - 181u8, + 155u8, 118u8, 154u8, 203u8, 130u8, 145u8, 83u8, 132u8, 42u8, 145u8, + 210u8, 241u8, 217u8, 31u8, 126u8, 114u8, 2u8, 31u8, 210u8, 5u8, 93u8, + 57u8, 122u8, 238u8, 151u8, 244u8, 234u8, 251u8, 5u8, 153u8, 217u8, + 204u8, ], ) } @@ -7364,9 +7433,10 @@ pub mod api { "freeze", types::Freeze { index }, [ - 121u8, 45u8, 118u8, 2u8, 72u8, 48u8, 38u8, 7u8, 234u8, 204u8, 68u8, - 20u8, 76u8, 251u8, 205u8, 246u8, 149u8, 31u8, 168u8, 186u8, 208u8, - 90u8, 40u8, 47u8, 100u8, 228u8, 188u8, 33u8, 79u8, 220u8, 105u8, 209u8, + 238u8, 215u8, 108u8, 156u8, 84u8, 240u8, 130u8, 229u8, 27u8, 132u8, + 93u8, 78u8, 2u8, 251u8, 43u8, 203u8, 2u8, 142u8, 147u8, 48u8, 92u8, + 101u8, 207u8, 24u8, 51u8, 16u8, 36u8, 229u8, 188u8, 129u8, 160u8, + 117u8, ], ) } @@ -7460,10 +7530,10 @@ pub mod api { _0.borrow(), )], [ - 211u8, 169u8, 54u8, 254u8, 88u8, 57u8, 22u8, 223u8, 108u8, 27u8, 38u8, - 9u8, 202u8, 209u8, 111u8, 209u8, 144u8, 13u8, 211u8, 114u8, 239u8, - 127u8, 75u8, 166u8, 234u8, 222u8, 225u8, 35u8, 160u8, 163u8, 112u8, - 242u8, + 48u8, 189u8, 43u8, 119u8, 32u8, 168u8, 28u8, 12u8, 245u8, 81u8, 119u8, + 182u8, 23u8, 201u8, 33u8, 147u8, 128u8, 171u8, 155u8, 134u8, 71u8, + 87u8, 100u8, 248u8, 107u8, 129u8, 36u8, 197u8, 220u8, 90u8, 11u8, + 238u8, ], ) } @@ -7486,10 +7556,10 @@ pub mod api { "Accounts", Vec::new(), [ - 211u8, 169u8, 54u8, 254u8, 88u8, 57u8, 22u8, 223u8, 108u8, 27u8, 38u8, - 9u8, 202u8, 209u8, 111u8, 209u8, 144u8, 13u8, 211u8, 114u8, 239u8, - 127u8, 75u8, 166u8, 234u8, 222u8, 225u8, 35u8, 160u8, 163u8, 112u8, - 242u8, + 48u8, 189u8, 43u8, 119u8, 32u8, 168u8, 28u8, 12u8, 245u8, 81u8, 119u8, + 182u8, 23u8, 201u8, 33u8, 147u8, 128u8, 171u8, 155u8, 134u8, 71u8, + 87u8, 100u8, 248u8, 107u8, 129u8, 36u8, 197u8, 220u8, 90u8, 11u8, + 238u8, ], ) } @@ -7717,9 +7787,9 @@ pub mod api { "transfer_allow_death", types::TransferAllowDeath { dest, value }, [ - 234u8, 130u8, 149u8, 36u8, 235u8, 112u8, 159u8, 189u8, 104u8, 148u8, - 108u8, 230u8, 25u8, 198u8, 71u8, 158u8, 112u8, 3u8, 162u8, 25u8, 145u8, - 252u8, 44u8, 63u8, 47u8, 34u8, 47u8, 158u8, 61u8, 14u8, 120u8, 255u8, + 113u8, 146u8, 7u8, 108u8, 132u8, 222u8, 204u8, 107u8, 142u8, 47u8, + 46u8, 72u8, 140u8, 22u8, 128u8, 135u8, 132u8, 10u8, 116u8, 41u8, 253u8, + 65u8, 140u8, 1u8, 50u8, 153u8, 47u8, 243u8, 210u8, 62u8, 23u8, 181u8, ], ) } @@ -7744,10 +7814,9 @@ pub mod api { old_reserved, }, [ - 240u8, 107u8, 184u8, 206u8, 78u8, 106u8, 115u8, 152u8, 130u8, 56u8, - 156u8, 176u8, 105u8, 27u8, 176u8, 187u8, 49u8, 171u8, 229u8, 79u8, - 254u8, 248u8, 8u8, 162u8, 134u8, 12u8, 89u8, 100u8, 137u8, 102u8, - 132u8, 158u8, + 43u8, 86u8, 149u8, 26u8, 133u8, 41u8, 43u8, 16u8, 98u8, 65u8, 244u8, + 123u8, 233u8, 146u8, 76u8, 116u8, 48u8, 164u8, 23u8, 211u8, 42u8, + 111u8, 245u8, 16u8, 54u8, 92u8, 163u8, 66u8, 193u8, 58u8, 58u8, 185u8, ], ) } @@ -7768,10 +7837,10 @@ pub mod api { value, }, [ - 79u8, 174u8, 212u8, 108u8, 184u8, 33u8, 170u8, 29u8, 232u8, 254u8, - 195u8, 218u8, 221u8, 134u8, 57u8, 99u8, 6u8, 70u8, 181u8, 227u8, 56u8, - 239u8, 243u8, 158u8, 157u8, 245u8, 36u8, 162u8, 11u8, 237u8, 147u8, - 15u8, + 105u8, 201u8, 253u8, 250u8, 151u8, 193u8, 29u8, 188u8, 132u8, 138u8, + 84u8, 243u8, 170u8, 22u8, 169u8, 161u8, 202u8, 233u8, 79u8, 122u8, + 77u8, 198u8, 84u8, 149u8, 151u8, 238u8, 174u8, 179u8, 201u8, 150u8, + 184u8, 20u8, ], ) } @@ -7791,10 +7860,10 @@ pub mod api { "transfer_keep_alive", types::TransferKeepAlive { dest, value }, [ - 112u8, 179u8, 75u8, 168u8, 193u8, 221u8, 9u8, 82u8, 190u8, 113u8, - 253u8, 13u8, 130u8, 134u8, 170u8, 216u8, 136u8, 111u8, 242u8, 220u8, - 202u8, 112u8, 47u8, 79u8, 73u8, 244u8, 226u8, 59u8, 240u8, 188u8, - 210u8, 208u8, + 31u8, 197u8, 106u8, 219u8, 164u8, 234u8, 37u8, 214u8, 112u8, 211u8, + 149u8, 238u8, 162u8, 234u8, 226u8, 11u8, 182u8, 178u8, 182u8, 19u8, + 43u8, 172u8, 122u8, 175u8, 16u8, 253u8, 193u8, 116u8, 199u8, 158u8, + 255u8, 188u8, ], ) } @@ -7823,10 +7892,9 @@ pub mod api { "transfer_all", types::TransferAll { dest, keep_alive }, [ - 46u8, 129u8, 29u8, 177u8, 221u8, 107u8, 245u8, 69u8, 238u8, 126u8, - 145u8, 26u8, 219u8, 208u8, 14u8, 80u8, 149u8, 1u8, 214u8, 63u8, 67u8, - 201u8, 144u8, 45u8, 129u8, 145u8, 174u8, 71u8, 238u8, 113u8, 208u8, - 34u8, + 167u8, 120u8, 58u8, 200u8, 65u8, 248u8, 240u8, 141u8, 208u8, 240u8, + 89u8, 13u8, 62u8, 169u8, 228u8, 29u8, 219u8, 56u8, 137u8, 224u8, 16u8, + 111u8, 13u8, 65u8, 65u8, 84u8, 123u8, 173u8, 12u8, 82u8, 101u8, 226u8, ], ) } @@ -7843,10 +7911,9 @@ pub mod api { "force_unreserve", types::ForceUnreserve { who, amount }, [ - 160u8, 146u8, 137u8, 76u8, 157u8, 187u8, 66u8, 148u8, 207u8, 76u8, - 32u8, 254u8, 82u8, 215u8, 35u8, 161u8, 213u8, 52u8, 32u8, 98u8, 102u8, - 106u8, 234u8, 123u8, 6u8, 175u8, 184u8, 188u8, 174u8, 106u8, 176u8, - 78u8, + 244u8, 207u8, 86u8, 147u8, 199u8, 152u8, 130u8, 38u8, 248u8, 32u8, + 97u8, 0u8, 243u8, 58u8, 74u8, 238u8, 68u8, 144u8, 213u8, 168u8, 21u8, + 151u8, 62u8, 78u8, 8u8, 159u8, 89u8, 1u8, 255u8, 23u8, 83u8, 18u8, ], ) } @@ -7867,9 +7934,9 @@ pub mod api { "upgrade_accounts", types::UpgradeAccounts { who }, [ - 164u8, 61u8, 119u8, 24u8, 165u8, 46u8, 197u8, 59u8, 39u8, 198u8, 228u8, - 96u8, 228u8, 45u8, 85u8, 51u8, 37u8, 5u8, 75u8, 40u8, 241u8, 163u8, - 86u8, 228u8, 151u8, 217u8, 47u8, 105u8, 203u8, 103u8, 207u8, 4u8, + 66u8, 200u8, 179u8, 104u8, 65u8, 2u8, 101u8, 56u8, 130u8, 161u8, 224u8, + 233u8, 255u8, 124u8, 70u8, 122u8, 8u8, 49u8, 103u8, 178u8, 68u8, 47u8, + 214u8, 166u8, 217u8, 116u8, 178u8, 50u8, 212u8, 164u8, 98u8, 226u8, ], ) } @@ -7886,10 +7953,9 @@ pub mod api { "transfer", types::Transfer { dest, value }, [ - 111u8, 222u8, 32u8, 56u8, 171u8, 77u8, 252u8, 29u8, 194u8, 155u8, - 200u8, 192u8, 198u8, 81u8, 23u8, 115u8, 236u8, 91u8, 218u8, 114u8, - 107u8, 141u8, 138u8, 100u8, 237u8, 21u8, 58u8, 172u8, 3u8, 20u8, 216u8, - 38u8, + 155u8, 139u8, 211u8, 134u8, 163u8, 226u8, 249u8, 125u8, 15u8, 236u8, + 254u8, 100u8, 49u8, 104u8, 68u8, 71u8, 121u8, 120u8, 66u8, 159u8, 49u8, + 1u8, 125u8, 223u8, 43u8, 174u8, 19u8, 186u8, 110u8, 190u8, 87u8, 6u8, ], ) } @@ -7906,9 +7972,9 @@ pub mod api { "force_set_balance", types::ForceSetBalance { who, new_free }, [ - 237u8, 4u8, 41u8, 58u8, 62u8, 179u8, 160u8, 4u8, 50u8, 71u8, 178u8, - 36u8, 130u8, 130u8, 92u8, 229u8, 16u8, 245u8, 169u8, 109u8, 165u8, - 72u8, 94u8, 70u8, 196u8, 136u8, 37u8, 94u8, 140u8, 215u8, 125u8, 125u8, + 22u8, 6u8, 147u8, 252u8, 116u8, 39u8, 228u8, 198u8, 229u8, 92u8, 141u8, + 236u8, 192u8, 108u8, 45u8, 242u8, 100u8, 148u8, 47u8, 5u8, 249u8, 49u8, + 81u8, 156u8, 81u8, 79u8, 216u8, 6u8, 15u8, 192u8, 97u8, 65u8, ], ) } @@ -8342,9 +8408,10 @@ pub mod api { "TotalIssuance", vec![], [ - 1u8, 206u8, 252u8, 237u8, 6u8, 30u8, 20u8, 232u8, 164u8, 115u8, 51u8, - 156u8, 156u8, 206u8, 241u8, 187u8, 44u8, 84u8, 25u8, 164u8, 235u8, - 20u8, 86u8, 242u8, 124u8, 23u8, 28u8, 140u8, 26u8, 73u8, 231u8, 51u8, + 116u8, 70u8, 119u8, 194u8, 69u8, 37u8, 116u8, 206u8, 171u8, 70u8, + 171u8, 210u8, 226u8, 111u8, 184u8, 204u8, 206u8, 11u8, 68u8, 72u8, + 255u8, 19u8, 194u8, 11u8, 27u8, 194u8, 81u8, 204u8, 59u8, 224u8, 202u8, + 185u8, ], ) } @@ -8363,10 +8430,9 @@ pub mod api { "InactiveIssuance", vec![], [ - 74u8, 203u8, 111u8, 142u8, 225u8, 104u8, 173u8, 51u8, 226u8, 12u8, - 85u8, 135u8, 41u8, 206u8, 177u8, 238u8, 94u8, 246u8, 184u8, 250u8, - 140u8, 213u8, 91u8, 118u8, 163u8, 111u8, 211u8, 46u8, 204u8, 160u8, - 154u8, 21u8, + 212u8, 185u8, 19u8, 50u8, 250u8, 72u8, 173u8, 50u8, 4u8, 104u8, 161u8, + 249u8, 77u8, 247u8, 204u8, 248u8, 11u8, 18u8, 57u8, 4u8, 82u8, 110u8, + 30u8, 216u8, 16u8, 37u8, 87u8, 67u8, 189u8, 235u8, 214u8, 155u8, ], ) } @@ -8411,10 +8477,10 @@ pub mod api { _0.borrow(), )], [ - 109u8, 250u8, 18u8, 96u8, 139u8, 232u8, 4u8, 139u8, 133u8, 239u8, 30u8, - 237u8, 73u8, 209u8, 143u8, 160u8, 94u8, 248u8, 124u8, 43u8, 224u8, - 165u8, 11u8, 6u8, 176u8, 144u8, 189u8, 161u8, 174u8, 210u8, 56u8, - 225u8, + 47u8, 253u8, 83u8, 165u8, 18u8, 176u8, 62u8, 239u8, 78u8, 85u8, 231u8, + 235u8, 157u8, 145u8, 251u8, 35u8, 225u8, 171u8, 82u8, 167u8, 68u8, + 206u8, 28u8, 169u8, 8u8, 93u8, 169u8, 101u8, 180u8, 206u8, 231u8, + 143u8, ], ) } @@ -8456,10 +8522,10 @@ pub mod api { "Account", Vec::new(), [ - 109u8, 250u8, 18u8, 96u8, 139u8, 232u8, 4u8, 139u8, 133u8, 239u8, 30u8, - 237u8, 73u8, 209u8, 143u8, 160u8, 94u8, 248u8, 124u8, 43u8, 224u8, - 165u8, 11u8, 6u8, 176u8, 144u8, 189u8, 161u8, 174u8, 210u8, 56u8, - 225u8, + 47u8, 253u8, 83u8, 165u8, 18u8, 176u8, 62u8, 239u8, 78u8, 85u8, 231u8, + 235u8, 157u8, 145u8, 251u8, 35u8, 225u8, 171u8, 82u8, 167u8, 68u8, + 206u8, 28u8, 169u8, 8u8, 93u8, 169u8, 101u8, 180u8, 206u8, 231u8, + 143u8, ], ) } @@ -8484,9 +8550,9 @@ pub mod api { _0.borrow(), )], [ - 216u8, 253u8, 87u8, 73u8, 24u8, 218u8, 35u8, 0u8, 244u8, 134u8, 195u8, - 58u8, 255u8, 64u8, 153u8, 212u8, 210u8, 232u8, 4u8, 122u8, 90u8, 212u8, - 136u8, 14u8, 127u8, 232u8, 8u8, 192u8, 40u8, 233u8, 18u8, 250u8, + 44u8, 44u8, 48u8, 20u8, 121u8, 168u8, 200u8, 87u8, 205u8, 172u8, 111u8, + 208u8, 62u8, 243u8, 225u8, 223u8, 181u8, 36u8, 197u8, 9u8, 52u8, 182u8, + 113u8, 55u8, 126u8, 164u8, 82u8, 209u8, 151u8, 126u8, 186u8, 85u8, ], ) } @@ -8508,9 +8574,9 @@ pub mod api { "Locks", Vec::new(), [ - 216u8, 253u8, 87u8, 73u8, 24u8, 218u8, 35u8, 0u8, 244u8, 134u8, 195u8, - 58u8, 255u8, 64u8, 153u8, 212u8, 210u8, 232u8, 4u8, 122u8, 90u8, 212u8, - 136u8, 14u8, 127u8, 232u8, 8u8, 192u8, 40u8, 233u8, 18u8, 250u8, + 44u8, 44u8, 48u8, 20u8, 121u8, 168u8, 200u8, 87u8, 205u8, 172u8, 111u8, + 208u8, 62u8, 243u8, 225u8, 223u8, 181u8, 36u8, 197u8, 9u8, 52u8, 182u8, + 113u8, 55u8, 126u8, 164u8, 82u8, 209u8, 151u8, 126u8, 186u8, 85u8, ], ) } @@ -8537,9 +8603,10 @@ pub mod api { _0.borrow(), )], [ - 17u8, 32u8, 191u8, 46u8, 76u8, 220u8, 101u8, 100u8, 42u8, 250u8, 128u8, - 167u8, 117u8, 44u8, 85u8, 96u8, 105u8, 216u8, 16u8, 147u8, 74u8, 55u8, - 183u8, 94u8, 160u8, 177u8, 26u8, 187u8, 71u8, 197u8, 187u8, 163u8, + 192u8, 99u8, 91u8, 129u8, 195u8, 73u8, 153u8, 126u8, 82u8, 52u8, 56u8, + 85u8, 105u8, 178u8, 113u8, 101u8, 229u8, 37u8, 242u8, 174u8, 166u8, + 244u8, 68u8, 173u8, 14u8, 225u8, 172u8, 70u8, 181u8, 211u8, 165u8, + 134u8, ], ) } @@ -8563,9 +8630,10 @@ pub mod api { "Reserves", Vec::new(), [ - 17u8, 32u8, 191u8, 46u8, 76u8, 220u8, 101u8, 100u8, 42u8, 250u8, 128u8, - 167u8, 117u8, 44u8, 85u8, 96u8, 105u8, 216u8, 16u8, 147u8, 74u8, 55u8, - 183u8, 94u8, 160u8, 177u8, 26u8, 187u8, 71u8, 197u8, 187u8, 163u8, + 192u8, 99u8, 91u8, 129u8, 195u8, 73u8, 153u8, 126u8, 82u8, 52u8, 56u8, + 85u8, 105u8, 178u8, 113u8, 101u8, 229u8, 37u8, 242u8, 174u8, 166u8, + 244u8, 68u8, 173u8, 14u8, 225u8, 172u8, 70u8, 181u8, 211u8, 165u8, + 134u8, ], ) } @@ -8592,9 +8660,10 @@ pub mod api { _0.borrow(), )], [ - 247u8, 81u8, 4u8, 220u8, 77u8, 205u8, 28u8, 131u8, 215u8, 74u8, 197u8, - 137u8, 113u8, 214u8, 249u8, 91u8, 81u8, 216u8, 8u8, 5u8, 233u8, 39u8, - 104u8, 250u8, 3u8, 228u8, 148u8, 78u8, 4u8, 34u8, 45u8, 143u8, + 53u8, 126u8, 215u8, 237u8, 42u8, 223u8, 188u8, 150u8, 230u8, 107u8, + 95u8, 24u8, 26u8, 235u8, 158u8, 149u8, 193u8, 191u8, 10u8, 194u8, + 231u8, 59u8, 35u8, 167u8, 186u8, 89u8, 43u8, 126u8, 215u8, 117u8, 1u8, + 202u8, ], ) } @@ -8618,9 +8687,10 @@ pub mod api { "Holds", Vec::new(), [ - 247u8, 81u8, 4u8, 220u8, 77u8, 205u8, 28u8, 131u8, 215u8, 74u8, 197u8, - 137u8, 113u8, 214u8, 249u8, 91u8, 81u8, 216u8, 8u8, 5u8, 233u8, 39u8, - 104u8, 250u8, 3u8, 228u8, 148u8, 78u8, 4u8, 34u8, 45u8, 143u8, + 53u8, 126u8, 215u8, 237u8, 42u8, 223u8, 188u8, 150u8, 230u8, 107u8, + 95u8, 24u8, 26u8, 235u8, 158u8, 149u8, 193u8, 191u8, 10u8, 194u8, + 231u8, 59u8, 35u8, 167u8, 186u8, 89u8, 43u8, 126u8, 215u8, 117u8, 1u8, + 202u8, ], ) } @@ -8647,9 +8717,9 @@ pub mod api { _0.borrow(), )], [ - 211u8, 24u8, 237u8, 217u8, 47u8, 230u8, 147u8, 39u8, 112u8, 209u8, - 193u8, 47u8, 242u8, 13u8, 241u8, 0u8, 100u8, 45u8, 116u8, 130u8, 246u8, - 196u8, 50u8, 134u8, 135u8, 112u8, 206u8, 1u8, 12u8, 53u8, 106u8, 131u8, + 69u8, 49u8, 165u8, 76u8, 135u8, 142u8, 179u8, 118u8, 50u8, 109u8, 53u8, + 112u8, 110u8, 94u8, 30u8, 93u8, 173u8, 38u8, 27u8, 142u8, 19u8, 5u8, + 163u8, 4u8, 68u8, 218u8, 179u8, 224u8, 118u8, 218u8, 115u8, 64u8, ], ) } @@ -8673,9 +8743,9 @@ pub mod api { "Freezes", Vec::new(), [ - 211u8, 24u8, 237u8, 217u8, 47u8, 230u8, 147u8, 39u8, 112u8, 209u8, - 193u8, 47u8, 242u8, 13u8, 241u8, 0u8, 100u8, 45u8, 116u8, 130u8, 246u8, - 196u8, 50u8, 134u8, 135u8, 112u8, 206u8, 1u8, 12u8, 53u8, 106u8, 131u8, + 69u8, 49u8, 165u8, 76u8, 135u8, 142u8, 179u8, 118u8, 50u8, 109u8, 53u8, + 112u8, 110u8, 94u8, 30u8, 93u8, 173u8, 38u8, 27u8, 142u8, 19u8, 5u8, + 163u8, 4u8, 68u8, 218u8, 179u8, 224u8, 118u8, 218u8, 115u8, 64u8, ], ) } @@ -8809,10 +8879,10 @@ pub mod api { "NextFeeMultiplier", vec![], [ - 210u8, 0u8, 206u8, 165u8, 183u8, 10u8, 206u8, 52u8, 14u8, 90u8, 218u8, - 197u8, 189u8, 125u8, 113u8, 216u8, 52u8, 161u8, 45u8, 24u8, 245u8, - 237u8, 121u8, 41u8, 106u8, 29u8, 45u8, 129u8, 250u8, 203u8, 206u8, - 180u8, + 247u8, 39u8, 81u8, 170u8, 225u8, 226u8, 82u8, 147u8, 34u8, 113u8, + 147u8, 213u8, 59u8, 80u8, 139u8, 35u8, 36u8, 196u8, 152u8, 19u8, 9u8, + 159u8, 176u8, 79u8, 249u8, 201u8, 170u8, 1u8, 129u8, 79u8, 146u8, + 197u8, ], ) } @@ -8830,9 +8900,10 @@ pub mod api { "StorageVersion", vec![], [ - 219u8, 243u8, 82u8, 176u8, 65u8, 5u8, 132u8, 114u8, 8u8, 82u8, 176u8, - 200u8, 97u8, 150u8, 177u8, 164u8, 166u8, 11u8, 34u8, 12u8, 12u8, 198u8, - 58u8, 191u8, 186u8, 221u8, 221u8, 119u8, 181u8, 253u8, 154u8, 228u8, + 105u8, 243u8, 158u8, 241u8, 159u8, 231u8, 253u8, 6u8, 4u8, 32u8, 85u8, + 178u8, 126u8, 31u8, 203u8, 134u8, 154u8, 38u8, 122u8, 155u8, 150u8, + 251u8, 174u8, 15u8, 74u8, 134u8, 216u8, 244u8, 168u8, 175u8, 158u8, + 144u8, ], ) } @@ -8902,10 +8973,10 @@ pub mod api { "Author", vec![], [ - 149u8, 42u8, 33u8, 147u8, 190u8, 207u8, 174u8, 227u8, 190u8, 110u8, - 25u8, 131u8, 5u8, 167u8, 237u8, 188u8, 188u8, 33u8, 177u8, 126u8, - 181u8, 49u8, 126u8, 118u8, 46u8, 128u8, 154u8, 95u8, 15u8, 91u8, 103u8, - 113u8, + 247u8, 192u8, 118u8, 227u8, 47u8, 20u8, 203u8, 199u8, 216u8, 87u8, + 220u8, 50u8, 166u8, 61u8, 168u8, 213u8, 253u8, 62u8, 202u8, 199u8, + 61u8, 192u8, 237u8, 53u8, 22u8, 148u8, 164u8, 245u8, 99u8, 24u8, 146u8, + 18u8, ], ) } @@ -9434,10 +9505,9 @@ pub mod api { payee, }, [ - 215u8, 211u8, 69u8, 215u8, 33u8, 158u8, 62u8, 3u8, 31u8, 216u8, 213u8, - 188u8, 151u8, 43u8, 165u8, 154u8, 117u8, 163u8, 190u8, 227u8, 116u8, - 70u8, 155u8, 178u8, 64u8, 174u8, 203u8, 179u8, 214u8, 187u8, 176u8, - 10u8, + 0u8, 34u8, 21u8, 115u8, 57u8, 40u8, 95u8, 125u8, 71u8, 15u8, 255u8, + 34u8, 125u8, 8u8, 192u8, 54u8, 185u8, 187u8, 193u8, 214u8, 222u8, + 202u8, 161u8, 115u8, 83u8, 46u8, 247u8, 75u8, 166u8, 209u8, 87u8, 91u8, ], ) } @@ -9464,9 +9534,9 @@ pub mod api { "bond_extra", types::BondExtra { max_additional }, [ - 60u8, 45u8, 82u8, 223u8, 113u8, 95u8, 0u8, 71u8, 59u8, 108u8, 228u8, - 9u8, 95u8, 210u8, 113u8, 106u8, 252u8, 15u8, 19u8, 128u8, 11u8, 187u8, - 4u8, 151u8, 103u8, 143u8, 24u8, 33u8, 149u8, 82u8, 35u8, 192u8, + 9u8, 143u8, 179u8, 99u8, 91u8, 254u8, 114u8, 189u8, 202u8, 245u8, 48u8, + 130u8, 103u8, 17u8, 183u8, 177u8, 172u8, 156u8, 227u8, 145u8, 191u8, + 134u8, 81u8, 3u8, 170u8, 85u8, 40u8, 56u8, 216u8, 95u8, 232u8, 52u8, ], ) } @@ -9498,10 +9568,9 @@ pub mod api { "unbond", types::Unbond { value }, [ - 85u8, 62u8, 34u8, 127u8, 60u8, 241u8, 134u8, 60u8, 125u8, 91u8, 31u8, - 193u8, 50u8, 230u8, 237u8, 42u8, 114u8, 230u8, 240u8, 146u8, 14u8, - 109u8, 185u8, 151u8, 148u8, 44u8, 147u8, 182u8, 192u8, 253u8, 51u8, - 87u8, + 70u8, 201u8, 146u8, 56u8, 51u8, 237u8, 90u8, 193u8, 69u8, 42u8, 168u8, + 96u8, 215u8, 128u8, 253u8, 22u8, 239u8, 14u8, 214u8, 103u8, 170u8, + 140u8, 2u8, 182u8, 3u8, 190u8, 184u8, 191u8, 231u8, 137u8, 50u8, 16u8, ], ) } @@ -9528,10 +9597,10 @@ pub mod api { "withdraw_unbonded", types::WithdrawUnbonded { num_slashing_spans }, [ - 95u8, 223u8, 122u8, 217u8, 76u8, 208u8, 86u8, 129u8, 31u8, 104u8, 70u8, - 154u8, 23u8, 250u8, 165u8, 192u8, 149u8, 249u8, 158u8, 159u8, 194u8, - 224u8, 118u8, 134u8, 204u8, 157u8, 72u8, 136u8, 19u8, 193u8, 183u8, - 84u8, + 229u8, 128u8, 177u8, 224u8, 197u8, 118u8, 239u8, 142u8, 179u8, 164u8, + 10u8, 205u8, 124u8, 254u8, 209u8, 157u8, 172u8, 87u8, 58u8, 120u8, + 74u8, 12u8, 150u8, 117u8, 234u8, 32u8, 191u8, 182u8, 92u8, 97u8, 77u8, + 59u8, ], ) } @@ -9549,10 +9618,9 @@ pub mod api { "validate", types::Validate { prefs }, [ - 191u8, 116u8, 139u8, 35u8, 250u8, 211u8, 86u8, 240u8, 35u8, 9u8, 19u8, - 44u8, 148u8, 35u8, 91u8, 106u8, 200u8, 172u8, 108u8, 145u8, 194u8, - 146u8, 61u8, 145u8, 233u8, 168u8, 2u8, 26u8, 145u8, 101u8, 114u8, - 157u8, + 63u8, 83u8, 12u8, 16u8, 56u8, 84u8, 41u8, 141u8, 202u8, 0u8, 37u8, + 30u8, 115u8, 2u8, 145u8, 101u8, 168u8, 89u8, 94u8, 98u8, 8u8, 45u8, + 140u8, 237u8, 101u8, 136u8, 179u8, 162u8, 205u8, 41u8, 88u8, 248u8, ], ) } @@ -9577,10 +9645,10 @@ pub mod api { "nominate", types::Nominate { targets }, [ - 112u8, 162u8, 70u8, 26u8, 74u8, 7u8, 188u8, 193u8, 210u8, 247u8, 27u8, - 189u8, 133u8, 137u8, 33u8, 155u8, 255u8, 171u8, 122u8, 68u8, 175u8, - 247u8, 139u8, 253u8, 97u8, 187u8, 254u8, 201u8, 66u8, 166u8, 226u8, - 90u8, + 149u8, 155u8, 120u8, 232u8, 57u8, 168u8, 218u8, 230u8, 97u8, 234u8, + 38u8, 247u8, 103u8, 88u8, 243u8, 182u8, 97u8, 77u8, 192u8, 4u8, 147u8, + 11u8, 52u8, 45u8, 108u8, 73u8, 183u8, 106u8, 198u8, 157u8, 246u8, + 145u8, ], ) } @@ -9600,10 +9668,9 @@ pub mod api { "chill", types::Chill {}, [ - 94u8, 20u8, 196u8, 31u8, 220u8, 125u8, 115u8, 167u8, 140u8, 3u8, 20u8, - 132u8, 81u8, 120u8, 215u8, 166u8, 230u8, 56u8, 16u8, 222u8, 31u8, - 153u8, 120u8, 62u8, 153u8, 67u8, 220u8, 239u8, 11u8, 234u8, 127u8, - 122u8, + 157u8, 75u8, 243u8, 69u8, 110u8, 192u8, 22u8, 27u8, 107u8, 68u8, 236u8, + 58u8, 179u8, 34u8, 118u8, 98u8, 131u8, 62u8, 242u8, 84u8, 149u8, 24u8, + 83u8, 223u8, 78u8, 12u8, 192u8, 22u8, 111u8, 11u8, 171u8, 149u8, ], ) } @@ -9630,9 +9697,10 @@ pub mod api { "set_payee", types::SetPayee { payee }, [ - 96u8, 8u8, 254u8, 164u8, 87u8, 46u8, 120u8, 11u8, 197u8, 63u8, 20u8, - 178u8, 167u8, 236u8, 149u8, 245u8, 14u8, 171u8, 108u8, 195u8, 250u8, - 133u8, 0u8, 75u8, 192u8, 159u8, 84u8, 220u8, 242u8, 133u8, 60u8, 62u8, + 86u8, 172u8, 187u8, 98u8, 106u8, 240u8, 184u8, 60u8, 163u8, 244u8, 7u8, + 64u8, 147u8, 168u8, 192u8, 177u8, 211u8, 138u8, 73u8, 188u8, 159u8, + 154u8, 175u8, 219u8, 231u8, 235u8, 93u8, 195u8, 204u8, 100u8, 196u8, + 241u8, ], ) } @@ -9656,9 +9724,10 @@ pub mod api { "set_controller", types::SetController { controller }, [ - 165u8, 250u8, 213u8, 32u8, 179u8, 163u8, 15u8, 35u8, 14u8, 152u8, 56u8, - 171u8, 43u8, 101u8, 7u8, 167u8, 178u8, 60u8, 89u8, 186u8, 59u8, 28u8, - 82u8, 159u8, 13u8, 96u8, 168u8, 123u8, 194u8, 212u8, 205u8, 184u8, + 230u8, 253u8, 112u8, 246u8, 188u8, 255u8, 116u8, 241u8, 200u8, 175u8, + 185u8, 229u8, 191u8, 180u8, 37u8, 62u8, 114u8, 226u8, 90u8, 181u8, + 112u8, 7u8, 194u8, 42u8, 190u8, 161u8, 14u8, 9u8, 40u8, 32u8, 223u8, + 118u8, ], ) } @@ -9677,9 +9746,10 @@ pub mod api { "set_validator_count", types::SetValidatorCount { new }, [ - 55u8, 232u8, 95u8, 66u8, 228u8, 217u8, 11u8, 27u8, 3u8, 202u8, 199u8, - 242u8, 70u8, 160u8, 250u8, 187u8, 194u8, 91u8, 15u8, 36u8, 215u8, 36u8, - 160u8, 108u8, 251u8, 60u8, 240u8, 202u8, 249u8, 235u8, 28u8, 94u8, + 172u8, 225u8, 157u8, 48u8, 242u8, 217u8, 126u8, 206u8, 26u8, 156u8, + 203u8, 100u8, 116u8, 189u8, 98u8, 89u8, 151u8, 101u8, 77u8, 236u8, + 101u8, 8u8, 148u8, 236u8, 180u8, 175u8, 232u8, 146u8, 141u8, 141u8, + 78u8, 165u8, ], ) } @@ -9699,9 +9769,10 @@ pub mod api { "increase_validator_count", types::IncreaseValidatorCount { additional }, [ - 239u8, 184u8, 155u8, 213u8, 25u8, 22u8, 193u8, 13u8, 102u8, 192u8, - 82u8, 153u8, 249u8, 192u8, 60u8, 158u8, 8u8, 78u8, 175u8, 219u8, 46u8, - 51u8, 222u8, 193u8, 193u8, 201u8, 78u8, 90u8, 58u8, 86u8, 196u8, 17u8, + 108u8, 67u8, 131u8, 248u8, 139u8, 227u8, 224u8, 221u8, 248u8, 94u8, + 141u8, 104u8, 131u8, 250u8, 127u8, 164u8, 137u8, 211u8, 5u8, 27u8, + 185u8, 251u8, 120u8, 243u8, 165u8, 50u8, 197u8, 161u8, 125u8, 195u8, + 16u8, 29u8, ], ) } @@ -9721,10 +9792,10 @@ pub mod api { "scale_validator_count", types::ScaleValidatorCount { factor }, [ - 198u8, 68u8, 227u8, 94u8, 110u8, 157u8, 209u8, 217u8, 112u8, 37u8, - 78u8, 142u8, 12u8, 193u8, 219u8, 167u8, 149u8, 112u8, 49u8, 139u8, - 74u8, 81u8, 172u8, 72u8, 253u8, 224u8, 56u8, 194u8, 185u8, 90u8, 87u8, - 125u8, + 93u8, 200u8, 119u8, 240u8, 148u8, 144u8, 175u8, 135u8, 102u8, 130u8, + 183u8, 216u8, 28u8, 215u8, 155u8, 233u8, 152u8, 65u8, 49u8, 125u8, + 196u8, 79u8, 31u8, 195u8, 233u8, 79u8, 150u8, 138u8, 103u8, 161u8, + 78u8, 154u8, ], ) } @@ -9747,9 +9818,10 @@ pub mod api { "force_no_eras", types::ForceNoEras {}, [ - 16u8, 81u8, 207u8, 168u8, 23u8, 236u8, 11u8, 75u8, 141u8, 107u8, 92u8, - 2u8, 53u8, 111u8, 252u8, 116u8, 91u8, 120u8, 75u8, 24u8, 125u8, 53u8, - 9u8, 28u8, 242u8, 87u8, 245u8, 55u8, 40u8, 103u8, 151u8, 178u8, + 77u8, 5u8, 105u8, 167u8, 251u8, 78u8, 52u8, 80u8, 177u8, 226u8, 28u8, + 130u8, 106u8, 62u8, 40u8, 210u8, 110u8, 62u8, 21u8, 113u8, 234u8, + 227u8, 171u8, 205u8, 240u8, 46u8, 32u8, 84u8, 184u8, 208u8, 61u8, + 207u8, ], ) } @@ -9773,9 +9845,9 @@ pub mod api { "force_new_era", types::ForceNewEra {}, [ - 230u8, 242u8, 169u8, 196u8, 78u8, 145u8, 24u8, 191u8, 113u8, 68u8, 5u8, - 138u8, 48u8, 51u8, 109u8, 126u8, 73u8, 136u8, 162u8, 158u8, 174u8, - 201u8, 213u8, 230u8, 215u8, 44u8, 200u8, 32u8, 75u8, 27u8, 23u8, 254u8, + 119u8, 45u8, 11u8, 87u8, 236u8, 189u8, 41u8, 142u8, 130u8, 10u8, 132u8, + 140u8, 210u8, 134u8, 66u8, 152u8, 149u8, 55u8, 60u8, 31u8, 190u8, 41u8, + 177u8, 103u8, 245u8, 193u8, 95u8, 255u8, 29u8, 79u8, 112u8, 188u8, ], ) } @@ -9791,9 +9863,9 @@ pub mod api { "set_invulnerables", types::SetInvulnerables { invulnerables }, [ - 2u8, 148u8, 221u8, 111u8, 153u8, 48u8, 222u8, 36u8, 228u8, 84u8, 18u8, - 35u8, 168u8, 239u8, 53u8, 245u8, 27u8, 76u8, 18u8, 203u8, 206u8, 9u8, - 8u8, 81u8, 35u8, 224u8, 22u8, 133u8, 58u8, 99u8, 103u8, 39u8, + 31u8, 115u8, 221u8, 229u8, 187u8, 61u8, 33u8, 22u8, 126u8, 142u8, + 248u8, 190u8, 213u8, 35u8, 49u8, 208u8, 193u8, 0u8, 58u8, 18u8, 136u8, + 220u8, 32u8, 8u8, 121u8, 36u8, 184u8, 57u8, 6u8, 125u8, 199u8, 245u8, ], ) } @@ -9813,10 +9885,9 @@ pub mod api { num_slashing_spans, }, [ - 94u8, 247u8, 238u8, 47u8, 250u8, 6u8, 96u8, 175u8, 173u8, 123u8, 161u8, - 187u8, 162u8, 214u8, 176u8, 233u8, 33u8, 33u8, 167u8, 239u8, 40u8, - 223u8, 19u8, 131u8, 230u8, 39u8, 175u8, 200u8, 36u8, 182u8, 76u8, - 207u8, + 205u8, 115u8, 222u8, 58u8, 168u8, 3u8, 59u8, 58u8, 220u8, 98u8, 204u8, + 90u8, 36u8, 250u8, 178u8, 45u8, 213u8, 158u8, 92u8, 107u8, 3u8, 94u8, + 118u8, 194u8, 187u8, 196u8, 101u8, 250u8, 36u8, 119u8, 21u8, 19u8, ], ) } @@ -9837,10 +9908,9 @@ pub mod api { "force_new_era_always", types::ForceNewEraAlways {}, [ - 179u8, 118u8, 189u8, 54u8, 248u8, 141u8, 207u8, 142u8, 80u8, 37u8, - 241u8, 185u8, 138u8, 254u8, 117u8, 147u8, 225u8, 118u8, 34u8, 177u8, - 197u8, 158u8, 8u8, 82u8, 202u8, 108u8, 208u8, 26u8, 64u8, 33u8, 74u8, - 43u8, + 102u8, 153u8, 116u8, 85u8, 80u8, 52u8, 89u8, 215u8, 173u8, 159u8, 96u8, + 99u8, 180u8, 5u8, 62u8, 142u8, 181u8, 101u8, 160u8, 57u8, 177u8, 182u8, + 6u8, 252u8, 107u8, 252u8, 225u8, 104u8, 147u8, 123u8, 244u8, 134u8, ], ) } @@ -9859,10 +9929,10 @@ pub mod api { "cancel_deferred_slash", types::CancelDeferredSlash { era, slash_indices }, [ - 120u8, 57u8, 162u8, 105u8, 91u8, 250u8, 129u8, 240u8, 110u8, 234u8, - 170u8, 98u8, 164u8, 65u8, 106u8, 101u8, 19u8, 88u8, 146u8, 210u8, - 171u8, 44u8, 37u8, 50u8, 65u8, 178u8, 37u8, 223u8, 239u8, 197u8, 116u8, - 168u8, + 65u8, 90u8, 54u8, 7u8, 89u8, 238u8, 254u8, 76u8, 219u8, 26u8, 137u8, + 181u8, 154u8, 49u8, 35u8, 99u8, 181u8, 193u8, 209u8, 181u8, 212u8, + 153u8, 49u8, 83u8, 77u8, 170u8, 175u8, 142u8, 63u8, 187u8, 183u8, + 199u8, ], ) } @@ -9890,9 +9960,9 @@ pub mod api { era, }, [ - 184u8, 194u8, 33u8, 118u8, 7u8, 203u8, 89u8, 119u8, 214u8, 76u8, 178u8, - 20u8, 82u8, 111u8, 57u8, 132u8, 212u8, 43u8, 232u8, 91u8, 252u8, 49u8, - 42u8, 115u8, 1u8, 181u8, 154u8, 207u8, 144u8, 206u8, 205u8, 33u8, + 69u8, 67u8, 140u8, 197u8, 89u8, 20u8, 59u8, 55u8, 142u8, 197u8, 62u8, + 107u8, 239u8, 50u8, 237u8, 52u8, 4u8, 65u8, 119u8, 73u8, 138u8, 57u8, + 46u8, 78u8, 252u8, 157u8, 187u8, 14u8, 232u8, 244u8, 217u8, 171u8, ], ) } @@ -9912,10 +9982,9 @@ pub mod api { "rebond", types::Rebond { value }, [ - 25u8, 22u8, 191u8, 172u8, 133u8, 101u8, 139u8, 102u8, 134u8, 16u8, - 136u8, 56u8, 137u8, 162u8, 4u8, 253u8, 196u8, 30u8, 234u8, 49u8, 102u8, - 68u8, 145u8, 96u8, 148u8, 219u8, 162u8, 17u8, 177u8, 184u8, 34u8, - 113u8, + 204u8, 209u8, 27u8, 219u8, 45u8, 129u8, 15u8, 39u8, 105u8, 165u8, + 255u8, 55u8, 0u8, 59u8, 115u8, 79u8, 139u8, 82u8, 163u8, 197u8, 44u8, + 89u8, 41u8, 234u8, 116u8, 214u8, 248u8, 123u8, 250u8, 49u8, 15u8, 77u8, ], ) } @@ -9944,10 +10013,9 @@ pub mod api { num_slashing_spans, }, [ - 34u8, 168u8, 120u8, 161u8, 95u8, 199u8, 106u8, 233u8, 61u8, 240u8, - 166u8, 31u8, 183u8, 165u8, 158u8, 179u8, 32u8, 130u8, 27u8, 164u8, - 112u8, 44u8, 14u8, 125u8, 227u8, 87u8, 70u8, 203u8, 194u8, 24u8, 212u8, - 177u8, + 231u8, 240u8, 152u8, 33u8, 10u8, 60u8, 18u8, 233u8, 0u8, 229u8, 90u8, + 45u8, 118u8, 29u8, 98u8, 109u8, 89u8, 7u8, 228u8, 254u8, 119u8, 125u8, + 172u8, 209u8, 217u8, 107u8, 50u8, 226u8, 31u8, 5u8, 153u8, 93u8, ], ) } @@ -9973,9 +10041,9 @@ pub mod api { "kick", types::Kick { who }, [ - 32u8, 26u8, 202u8, 6u8, 186u8, 180u8, 58u8, 121u8, 185u8, 208u8, 123u8, - 10u8, 53u8, 179u8, 167u8, 203u8, 96u8, 229u8, 7u8, 144u8, 231u8, 172u8, - 145u8, 141u8, 162u8, 180u8, 212u8, 42u8, 34u8, 5u8, 199u8, 82u8, + 78u8, 76u8, 77u8, 41u8, 59u8, 131u8, 44u8, 252u8, 69u8, 34u8, 206u8, + 104u8, 178u8, 193u8, 79u8, 110u8, 103u8, 132u8, 183u8, 100u8, 228u8, + 248u8, 102u8, 228u8, 76u8, 69u8, 11u8, 35u8, 108u8, 188u8, 96u8, 72u8, ], ) } @@ -10029,9 +10097,10 @@ pub mod api { min_commission, }, [ - 176u8, 168u8, 155u8, 176u8, 27u8, 79u8, 223u8, 92u8, 88u8, 93u8, 223u8, - 69u8, 179u8, 250u8, 138u8, 138u8, 87u8, 220u8, 36u8, 3u8, 126u8, 213u8, - 16u8, 68u8, 3u8, 16u8, 218u8, 151u8, 98u8, 169u8, 217u8, 75u8, + 198u8, 212u8, 176u8, 138u8, 79u8, 177u8, 241u8, 104u8, 72u8, 170u8, + 35u8, 178u8, 205u8, 167u8, 218u8, 118u8, 42u8, 226u8, 180u8, 17u8, + 112u8, 175u8, 55u8, 248u8, 64u8, 127u8, 51u8, 65u8, 132u8, 210u8, 88u8, + 213u8, ], ) } @@ -10070,9 +10139,9 @@ pub mod api { "chill_other", types::ChillOther { controller }, [ - 140u8, 98u8, 4u8, 203u8, 91u8, 131u8, 123u8, 119u8, 169u8, 47u8, 188u8, - 23u8, 205u8, 170u8, 82u8, 220u8, 166u8, 170u8, 135u8, 176u8, 68u8, - 228u8, 14u8, 67u8, 42u8, 52u8, 140u8, 231u8, 62u8, 167u8, 80u8, 173u8, + 143u8, 82u8, 167u8, 43u8, 102u8, 136u8, 78u8, 139u8, 110u8, 159u8, + 235u8, 226u8, 237u8, 140u8, 142u8, 47u8, 77u8, 57u8, 209u8, 208u8, 9u8, + 193u8, 3u8, 77u8, 147u8, 41u8, 182u8, 122u8, 178u8, 185u8, 32u8, 182u8, ], ) } @@ -10088,10 +10157,9 @@ pub mod api { "force_apply_min_commission", types::ForceApplyMinCommission { validator_stash }, [ - 136u8, 163u8, 85u8, 134u8, 240u8, 247u8, 183u8, 227u8, 226u8, 202u8, - 102u8, 186u8, 138u8, 119u8, 78u8, 123u8, 229u8, 135u8, 129u8, 241u8, - 119u8, 106u8, 41u8, 182u8, 121u8, 181u8, 242u8, 175u8, 74u8, 207u8, - 64u8, 106u8, + 158u8, 27u8, 152u8, 23u8, 97u8, 53u8, 54u8, 49u8, 179u8, 236u8, 69u8, + 65u8, 253u8, 136u8, 232u8, 44u8, 207u8, 66u8, 5u8, 186u8, 49u8, 91u8, + 173u8, 5u8, 84u8, 45u8, 154u8, 91u8, 239u8, 97u8, 62u8, 42u8, ], ) } @@ -10108,10 +10176,10 @@ pub mod api { "set_min_commission", types::SetMinCommission { new }, [ - 62u8, 139u8, 175u8, 245u8, 212u8, 113u8, 117u8, 130u8, 191u8, 173u8, - 78u8, 97u8, 19u8, 104u8, 185u8, 207u8, 201u8, 14u8, 200u8, 208u8, - 184u8, 195u8, 242u8, 175u8, 158u8, 156u8, 51u8, 58u8, 118u8, 154u8, - 68u8, 221u8, + 96u8, 168u8, 55u8, 79u8, 79u8, 49u8, 8u8, 127u8, 98u8, 158u8, 106u8, + 187u8, 177u8, 201u8, 68u8, 181u8, 219u8, 172u8, 63u8, 120u8, 172u8, + 173u8, 251u8, 167u8, 84u8, 165u8, 238u8, 115u8, 110u8, 97u8, 144u8, + 50u8, ], ) } @@ -10427,9 +10495,10 @@ pub mod api { "ValidatorCount", vec![], [ - 245u8, 75u8, 214u8, 110u8, 66u8, 164u8, 86u8, 206u8, 69u8, 89u8, 12u8, - 111u8, 117u8, 16u8, 228u8, 184u8, 207u8, 6u8, 0u8, 126u8, 221u8, 67u8, - 125u8, 218u8, 188u8, 245u8, 156u8, 188u8, 34u8, 85u8, 208u8, 197u8, + 105u8, 251u8, 193u8, 198u8, 232u8, 118u8, 73u8, 115u8, 205u8, 78u8, + 49u8, 253u8, 140u8, 193u8, 161u8, 205u8, 13u8, 147u8, 125u8, 102u8, + 142u8, 244u8, 210u8, 227u8, 225u8, 46u8, 144u8, 122u8, 254u8, 48u8, + 44u8, 169u8, ], ) } @@ -10448,9 +10517,9 @@ pub mod api { "MinimumValidatorCount", vec![], [ - 82u8, 95u8, 128u8, 55u8, 136u8, 134u8, 71u8, 117u8, 135u8, 76u8, 44u8, - 46u8, 174u8, 34u8, 170u8, 228u8, 175u8, 1u8, 234u8, 162u8, 91u8, 252u8, - 127u8, 68u8, 243u8, 241u8, 13u8, 107u8, 214u8, 70u8, 87u8, 249u8, + 103u8, 178u8, 29u8, 91u8, 90u8, 31u8, 49u8, 9u8, 11u8, 58u8, 178u8, + 30u8, 219u8, 55u8, 58u8, 181u8, 80u8, 155u8, 9u8, 11u8, 38u8, 46u8, + 125u8, 179u8, 220u8, 20u8, 212u8, 181u8, 136u8, 103u8, 58u8, 48u8, ], ) } @@ -10471,9 +10540,10 @@ pub mod api { "Invulnerables", vec![], [ - 77u8, 78u8, 63u8, 199u8, 150u8, 167u8, 135u8, 130u8, 192u8, 51u8, - 202u8, 119u8, 68u8, 49u8, 241u8, 68u8, 82u8, 90u8, 226u8, 201u8, 96u8, - 170u8, 21u8, 173u8, 236u8, 116u8, 148u8, 8u8, 174u8, 92u8, 7u8, 11u8, + 199u8, 35u8, 0u8, 229u8, 160u8, 128u8, 139u8, 245u8, 27u8, 133u8, 47u8, + 240u8, 86u8, 195u8, 90u8, 169u8, 158u8, 231u8, 128u8, 58u8, 24u8, + 173u8, 138u8, 122u8, 226u8, 104u8, 239u8, 114u8, 91u8, 165u8, 207u8, + 150u8, ], ) } @@ -10497,9 +10567,10 @@ pub mod api { _0.borrow(), )], [ - 35u8, 197u8, 156u8, 60u8, 22u8, 59u8, 103u8, 83u8, 77u8, 15u8, 118u8, - 193u8, 155u8, 97u8, 229u8, 36u8, 119u8, 128u8, 224u8, 162u8, 21u8, - 46u8, 199u8, 221u8, 15u8, 74u8, 59u8, 70u8, 77u8, 218u8, 73u8, 165u8, + 146u8, 230u8, 48u8, 190u8, 166u8, 127u8, 237u8, 216u8, 71u8, 33u8, + 108u8, 121u8, 204u8, 211u8, 133u8, 123u8, 52u8, 164u8, 201u8, 209u8, + 236u8, 35u8, 190u8, 77u8, 126u8, 150u8, 79u8, 244u8, 15u8, 247u8, + 161u8, 107u8, ], ) } @@ -10520,9 +10591,10 @@ pub mod api { "Bonded", Vec::new(), [ - 35u8, 197u8, 156u8, 60u8, 22u8, 59u8, 103u8, 83u8, 77u8, 15u8, 118u8, - 193u8, 155u8, 97u8, 229u8, 36u8, 119u8, 128u8, 224u8, 162u8, 21u8, - 46u8, 199u8, 221u8, 15u8, 74u8, 59u8, 70u8, 77u8, 218u8, 73u8, 165u8, + 146u8, 230u8, 48u8, 190u8, 166u8, 127u8, 237u8, 216u8, 71u8, 33u8, + 108u8, 121u8, 204u8, 211u8, 133u8, 123u8, 52u8, 164u8, 201u8, 209u8, + 236u8, 35u8, 190u8, 77u8, 126u8, 150u8, 79u8, 244u8, 15u8, 247u8, + 161u8, 107u8, ], ) } @@ -10541,9 +10613,10 @@ pub mod api { "MinNominatorBond", vec![], [ - 187u8, 66u8, 149u8, 226u8, 72u8, 219u8, 57u8, 246u8, 102u8, 47u8, 71u8, - 12u8, 219u8, 204u8, 127u8, 223u8, 58u8, 134u8, 81u8, 165u8, 200u8, - 142u8, 196u8, 158u8, 26u8, 38u8, 165u8, 19u8, 91u8, 251u8, 119u8, 84u8, + 102u8, 115u8, 254u8, 15u8, 191u8, 228u8, 85u8, 249u8, 112u8, 190u8, + 129u8, 243u8, 236u8, 39u8, 195u8, 232u8, 10u8, 230u8, 11u8, 144u8, + 115u8, 1u8, 45u8, 70u8, 181u8, 161u8, 17u8, 92u8, 19u8, 70u8, 100u8, + 94u8, ], ) } @@ -10562,9 +10635,10 @@ pub mod api { "MinValidatorBond", vec![], [ - 48u8, 105u8, 85u8, 178u8, 142u8, 208u8, 208u8, 19u8, 236u8, 130u8, - 129u8, 169u8, 35u8, 245u8, 66u8, 182u8, 92u8, 20u8, 22u8, 109u8, 155u8, - 174u8, 87u8, 118u8, 242u8, 216u8, 193u8, 154u8, 4u8, 5u8, 66u8, 56u8, + 146u8, 249u8, 26u8, 52u8, 224u8, 81u8, 85u8, 153u8, 118u8, 169u8, + 140u8, 37u8, 208u8, 242u8, 8u8, 29u8, 156u8, 73u8, 154u8, 162u8, 186u8, + 159u8, 119u8, 100u8, 109u8, 227u8, 6u8, 139u8, 155u8, 203u8, 167u8, + 244u8, ], ) } @@ -10583,9 +10657,9 @@ pub mod api { "MinimumActiveStake", vec![], [ - 172u8, 190u8, 228u8, 47u8, 47u8, 192u8, 182u8, 59u8, 9u8, 18u8, 103u8, - 46u8, 175u8, 54u8, 17u8, 79u8, 89u8, 107u8, 255u8, 200u8, 182u8, 107u8, - 89u8, 157u8, 55u8, 16u8, 77u8, 46u8, 154u8, 169u8, 103u8, 151u8, + 166u8, 211u8, 59u8, 23u8, 2u8, 160u8, 244u8, 52u8, 153u8, 12u8, 103u8, + 113u8, 51u8, 232u8, 145u8, 188u8, 54u8, 67u8, 227u8, 221u8, 186u8, 6u8, + 28u8, 63u8, 146u8, 212u8, 233u8, 173u8, 134u8, 41u8, 169u8, 153u8, ], ) } @@ -10606,9 +10680,9 @@ pub mod api { "MinCommission", vec![], [ - 61u8, 101u8, 69u8, 27u8, 220u8, 179u8, 5u8, 71u8, 66u8, 227u8, 84u8, - 98u8, 18u8, 141u8, 183u8, 49u8, 98u8, 46u8, 123u8, 114u8, 198u8, 85u8, - 15u8, 175u8, 243u8, 239u8, 133u8, 129u8, 146u8, 174u8, 254u8, 158u8, + 220u8, 197u8, 232u8, 212u8, 205u8, 242u8, 121u8, 165u8, 255u8, 199u8, + 122u8, 20u8, 145u8, 245u8, 175u8, 26u8, 45u8, 70u8, 207u8, 26u8, 112u8, + 234u8, 181u8, 167u8, 140u8, 75u8, 15u8, 1u8, 221u8, 168u8, 17u8, 211u8, ], ) } @@ -10630,10 +10704,10 @@ pub mod api { _0.borrow(), )], [ - 31u8, 205u8, 3u8, 165u8, 22u8, 22u8, 62u8, 92u8, 33u8, 189u8, 124u8, - 120u8, 177u8, 70u8, 27u8, 242u8, 188u8, 184u8, 204u8, 188u8, 242u8, - 140u8, 128u8, 230u8, 85u8, 99u8, 181u8, 173u8, 67u8, 252u8, 37u8, - 236u8, + 77u8, 39u8, 230u8, 122u8, 108u8, 191u8, 251u8, 28u8, 233u8, 225u8, + 195u8, 224u8, 234u8, 90u8, 173u8, 170u8, 143u8, 246u8, 246u8, 21u8, + 38u8, 187u8, 112u8, 111u8, 206u8, 181u8, 183u8, 186u8, 96u8, 8u8, + 225u8, 224u8, ], ) } @@ -10652,10 +10726,10 @@ pub mod api { "Ledger", Vec::new(), [ - 31u8, 205u8, 3u8, 165u8, 22u8, 22u8, 62u8, 92u8, 33u8, 189u8, 124u8, - 120u8, 177u8, 70u8, 27u8, 242u8, 188u8, 184u8, 204u8, 188u8, 242u8, - 140u8, 128u8, 230u8, 85u8, 99u8, 181u8, 173u8, 67u8, 252u8, 37u8, - 236u8, + 77u8, 39u8, 230u8, 122u8, 108u8, 191u8, 251u8, 28u8, 233u8, 225u8, + 195u8, 224u8, 234u8, 90u8, 173u8, 170u8, 143u8, 246u8, 246u8, 21u8, + 38u8, 187u8, 112u8, 111u8, 206u8, 181u8, 183u8, 186u8, 96u8, 8u8, + 225u8, 224u8, ], ) } @@ -10679,10 +10753,9 @@ pub mod api { _0.borrow(), )], [ - 195u8, 125u8, 82u8, 213u8, 216u8, 64u8, 76u8, 63u8, 187u8, 163u8, 20u8, - 230u8, 153u8, 13u8, 189u8, 232u8, 119u8, 118u8, 107u8, 17u8, 102u8, - 245u8, 36u8, 42u8, 232u8, 137u8, 177u8, 165u8, 169u8, 246u8, 199u8, - 57u8, + 198u8, 238u8, 10u8, 104u8, 204u8, 7u8, 193u8, 254u8, 169u8, 18u8, + 187u8, 212u8, 90u8, 243u8, 73u8, 29u8, 216u8, 144u8, 93u8, 140u8, 11u8, + 124u8, 4u8, 191u8, 107u8, 61u8, 15u8, 152u8, 70u8, 82u8, 60u8, 75u8, ], ) } @@ -10703,10 +10776,9 @@ pub mod api { "Payee", Vec::new(), [ - 195u8, 125u8, 82u8, 213u8, 216u8, 64u8, 76u8, 63u8, 187u8, 163u8, 20u8, - 230u8, 153u8, 13u8, 189u8, 232u8, 119u8, 118u8, 107u8, 17u8, 102u8, - 245u8, 36u8, 42u8, 232u8, 137u8, 177u8, 165u8, 169u8, 246u8, 199u8, - 57u8, + 198u8, 238u8, 10u8, 104u8, 204u8, 7u8, 193u8, 254u8, 169u8, 18u8, + 187u8, 212u8, 90u8, 243u8, 73u8, 29u8, 216u8, 144u8, 93u8, 140u8, 11u8, + 124u8, 4u8, 191u8, 107u8, 61u8, 15u8, 152u8, 70u8, 82u8, 60u8, 75u8, ], ) } @@ -10730,10 +10802,9 @@ pub mod api { _0.borrow(), )], [ - 80u8, 77u8, 66u8, 18u8, 197u8, 250u8, 41u8, 185u8, 43u8, 24u8, 149u8, - 164u8, 208u8, 60u8, 144u8, 29u8, 251u8, 195u8, 236u8, 196u8, 108u8, - 58u8, 80u8, 115u8, 246u8, 66u8, 226u8, 241u8, 201u8, 172u8, 229u8, - 152u8, + 149u8, 207u8, 68u8, 38u8, 24u8, 220u8, 207u8, 84u8, 236u8, 33u8, 210u8, + 124u8, 200u8, 99u8, 98u8, 29u8, 235u8, 46u8, 124u8, 4u8, 203u8, 6u8, + 209u8, 21u8, 124u8, 236u8, 112u8, 118u8, 180u8, 85u8, 78u8, 13u8, ], ) } @@ -10754,10 +10825,9 @@ pub mod api { "Validators", Vec::new(), [ - 80u8, 77u8, 66u8, 18u8, 197u8, 250u8, 41u8, 185u8, 43u8, 24u8, 149u8, - 164u8, 208u8, 60u8, 144u8, 29u8, 251u8, 195u8, 236u8, 196u8, 108u8, - 58u8, 80u8, 115u8, 246u8, 66u8, 226u8, 241u8, 201u8, 172u8, 229u8, - 152u8, + 149u8, 207u8, 68u8, 38u8, 24u8, 220u8, 207u8, 84u8, 236u8, 33u8, 210u8, + 124u8, 200u8, 99u8, 98u8, 29u8, 235u8, 46u8, 124u8, 4u8, 203u8, 6u8, + 209u8, 21u8, 124u8, 236u8, 112u8, 118u8, 180u8, 85u8, 78u8, 13u8, ], ) } @@ -10776,9 +10846,10 @@ pub mod api { "CounterForValidators", vec![], [ - 139u8, 25u8, 223u8, 6u8, 160u8, 239u8, 212u8, 85u8, 36u8, 185u8, 69u8, - 63u8, 21u8, 156u8, 144u8, 241u8, 112u8, 85u8, 49u8, 78u8, 88u8, 11u8, - 8u8, 48u8, 118u8, 34u8, 62u8, 159u8, 239u8, 122u8, 90u8, 45u8, + 169u8, 146u8, 194u8, 114u8, 57u8, 232u8, 137u8, 93u8, 214u8, 98u8, + 176u8, 151u8, 237u8, 165u8, 176u8, 252u8, 73u8, 124u8, 22u8, 166u8, + 225u8, 217u8, 65u8, 56u8, 174u8, 12u8, 32u8, 2u8, 7u8, 173u8, 125u8, + 235u8, ], ) } @@ -10799,9 +10870,10 @@ pub mod api { "MaxValidatorsCount", vec![], [ - 250u8, 62u8, 16u8, 68u8, 192u8, 216u8, 236u8, 211u8, 217u8, 9u8, 213u8, - 49u8, 41u8, 37u8, 58u8, 62u8, 131u8, 112u8, 64u8, 26u8, 133u8, 7u8, - 130u8, 1u8, 71u8, 158u8, 14u8, 55u8, 169u8, 239u8, 223u8, 245u8, + 139u8, 116u8, 236u8, 217u8, 110u8, 47u8, 140u8, 197u8, 184u8, 246u8, + 180u8, 188u8, 233u8, 99u8, 102u8, 21u8, 114u8, 23u8, 143u8, 163u8, + 224u8, 250u8, 248u8, 185u8, 235u8, 94u8, 110u8, 83u8, 170u8, 123u8, + 113u8, 168u8, ], ) } @@ -10840,10 +10912,9 @@ pub mod api { _0.borrow(), )], [ - 1u8, 154u8, 55u8, 170u8, 215u8, 64u8, 56u8, 83u8, 254u8, 19u8, 152u8, - 85u8, 164u8, 171u8, 206u8, 129u8, 184u8, 45u8, 221u8, 181u8, 229u8, - 133u8, 200u8, 231u8, 16u8, 146u8, 247u8, 21u8, 77u8, 122u8, 165u8, - 134u8, + 114u8, 45u8, 86u8, 23u8, 12u8, 98u8, 114u8, 3u8, 170u8, 11u8, 100u8, + 17u8, 122u8, 158u8, 192u8, 21u8, 160u8, 87u8, 85u8, 142u8, 241u8, + 232u8, 25u8, 6u8, 36u8, 85u8, 155u8, 79u8, 124u8, 173u8, 0u8, 252u8, ], ) } @@ -10879,10 +10950,9 @@ pub mod api { "Nominators", Vec::new(), [ - 1u8, 154u8, 55u8, 170u8, 215u8, 64u8, 56u8, 83u8, 254u8, 19u8, 152u8, - 85u8, 164u8, 171u8, 206u8, 129u8, 184u8, 45u8, 221u8, 181u8, 229u8, - 133u8, 200u8, 231u8, 16u8, 146u8, 247u8, 21u8, 77u8, 122u8, 165u8, - 134u8, + 114u8, 45u8, 86u8, 23u8, 12u8, 98u8, 114u8, 3u8, 170u8, 11u8, 100u8, + 17u8, 122u8, 158u8, 192u8, 21u8, 160u8, 87u8, 85u8, 142u8, 241u8, + 232u8, 25u8, 6u8, 36u8, 85u8, 155u8, 79u8, 124u8, 173u8, 0u8, 252u8, ], ) } @@ -10901,9 +10971,9 @@ pub mod api { "CounterForNominators", vec![], [ - 31u8, 94u8, 130u8, 138u8, 75u8, 8u8, 38u8, 162u8, 181u8, 5u8, 125u8, - 116u8, 9u8, 51u8, 22u8, 234u8, 40u8, 117u8, 215u8, 46u8, 82u8, 117u8, - 225u8, 1u8, 9u8, 208u8, 83u8, 63u8, 39u8, 187u8, 207u8, 191u8, + 150u8, 236u8, 184u8, 12u8, 224u8, 26u8, 13u8, 204u8, 208u8, 178u8, + 68u8, 148u8, 232u8, 85u8, 74u8, 248u8, 167u8, 61u8, 88u8, 126u8, 40u8, + 20u8, 73u8, 47u8, 94u8, 57u8, 144u8, 77u8, 156u8, 179u8, 55u8, 49u8, ], ) } @@ -10924,10 +10994,9 @@ pub mod api { "MaxNominatorsCount", vec![], [ - 180u8, 190u8, 180u8, 66u8, 235u8, 173u8, 76u8, 160u8, 197u8, 92u8, - 96u8, 165u8, 220u8, 188u8, 32u8, 119u8, 3u8, 73u8, 86u8, 49u8, 104u8, - 17u8, 186u8, 98u8, 221u8, 175u8, 109u8, 254u8, 207u8, 245u8, 125u8, - 179u8, + 11u8, 234u8, 179u8, 254u8, 95u8, 119u8, 35u8, 255u8, 141u8, 95u8, + 148u8, 209u8, 43u8, 202u8, 19u8, 57u8, 185u8, 50u8, 152u8, 192u8, 95u8, + 13u8, 158u8, 245u8, 113u8, 199u8, 255u8, 187u8, 37u8, 44u8, 8u8, 119u8, ], ) } @@ -10949,9 +11018,10 @@ pub mod api { "CurrentEra", vec![], [ - 105u8, 150u8, 49u8, 122u8, 4u8, 78u8, 8u8, 121u8, 34u8, 136u8, 157u8, - 227u8, 59u8, 139u8, 7u8, 253u8, 7u8, 10u8, 117u8, 71u8, 240u8, 74u8, - 86u8, 36u8, 198u8, 37u8, 153u8, 93u8, 196u8, 22u8, 192u8, 243u8, + 247u8, 239u8, 171u8, 18u8, 137u8, 240u8, 213u8, 3u8, 173u8, 173u8, + 236u8, 141u8, 202u8, 191u8, 228u8, 120u8, 196u8, 188u8, 13u8, 66u8, + 253u8, 117u8, 90u8, 8u8, 158u8, 11u8, 236u8, 141u8, 178u8, 44u8, 119u8, + 25u8, ], ) } @@ -10973,9 +11043,10 @@ pub mod api { "ActiveEra", vec![], [ - 15u8, 112u8, 251u8, 183u8, 108u8, 61u8, 28u8, 71u8, 44u8, 150u8, 162u8, - 4u8, 143u8, 121u8, 11u8, 37u8, 83u8, 29u8, 193u8, 21u8, 210u8, 116u8, - 190u8, 236u8, 213u8, 235u8, 49u8, 97u8, 189u8, 142u8, 251u8, 124u8, + 24u8, 229u8, 66u8, 56u8, 111u8, 234u8, 139u8, 93u8, 245u8, 137u8, + 110u8, 110u8, 121u8, 15u8, 216u8, 207u8, 97u8, 120u8, 125u8, 45u8, + 61u8, 2u8, 50u8, 100u8, 3u8, 106u8, 12u8, 233u8, 123u8, 156u8, 145u8, + 38u8, ], ) } @@ -11000,10 +11071,10 @@ pub mod api { _0.borrow(), )], [ - 92u8, 157u8, 168u8, 144u8, 132u8, 3u8, 212u8, 80u8, 230u8, 229u8, - 251u8, 218u8, 97u8, 55u8, 79u8, 100u8, 163u8, 91u8, 32u8, 246u8, 122u8, - 78u8, 149u8, 214u8, 103u8, 249u8, 119u8, 20u8, 101u8, 116u8, 110u8, - 185u8, + 72u8, 185u8, 246u8, 202u8, 79u8, 127u8, 173u8, 74u8, 216u8, 238u8, + 58u8, 82u8, 235u8, 222u8, 76u8, 144u8, 97u8, 84u8, 17u8, 164u8, 132u8, + 167u8, 24u8, 195u8, 175u8, 132u8, 156u8, 87u8, 234u8, 147u8, 103u8, + 58u8, ], ) } @@ -11025,10 +11096,10 @@ pub mod api { "ErasStartSessionIndex", Vec::new(), [ - 92u8, 157u8, 168u8, 144u8, 132u8, 3u8, 212u8, 80u8, 230u8, 229u8, - 251u8, 218u8, 97u8, 55u8, 79u8, 100u8, 163u8, 91u8, 32u8, 246u8, 122u8, - 78u8, 149u8, 214u8, 103u8, 249u8, 119u8, 20u8, 101u8, 116u8, 110u8, - 185u8, + 72u8, 185u8, 246u8, 202u8, 79u8, 127u8, 173u8, 74u8, 216u8, 238u8, + 58u8, 82u8, 235u8, 222u8, 76u8, 144u8, 97u8, 84u8, 17u8, 164u8, 132u8, + 167u8, 24u8, 195u8, 175u8, 132u8, 156u8, 87u8, 234u8, 147u8, 103u8, + 58u8, ], ) } @@ -11060,9 +11131,9 @@ pub mod api { ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 192u8, 50u8, 152u8, 151u8, 92u8, 180u8, 206u8, 15u8, 139u8, 210u8, - 128u8, 65u8, 92u8, 253u8, 43u8, 35u8, 139u8, 171u8, 73u8, 185u8, 32u8, - 78u8, 20u8, 197u8, 154u8, 90u8, 233u8, 231u8, 23u8, 22u8, 187u8, 156u8, + 103u8, 38u8, 198u8, 91u8, 133u8, 9u8, 10u8, 201u8, 103u8, 169u8, 159u8, + 172u8, 59u8, 238u8, 21u8, 30u8, 140u8, 183u8, 160u8, 61u8, 36u8, 162u8, + 244u8, 61u8, 78u8, 33u8, 134u8, 176u8, 112u8, 153u8, 192u8, 252u8, ], ) } @@ -11089,9 +11160,9 @@ pub mod api { "ErasStakers", Vec::new(), [ - 192u8, 50u8, 152u8, 151u8, 92u8, 180u8, 206u8, 15u8, 139u8, 210u8, - 128u8, 65u8, 92u8, 253u8, 43u8, 35u8, 139u8, 171u8, 73u8, 185u8, 32u8, - 78u8, 20u8, 197u8, 154u8, 90u8, 233u8, 231u8, 23u8, 22u8, 187u8, 156u8, + 103u8, 38u8, 198u8, 91u8, 133u8, 9u8, 10u8, 201u8, 103u8, 169u8, 159u8, + 172u8, 59u8, 238u8, 21u8, 30u8, 140u8, 183u8, 160u8, 61u8, 36u8, 162u8, + 244u8, 61u8, 78u8, 33u8, 134u8, 176u8, 112u8, 153u8, 192u8, 252u8, ], ) } @@ -11128,10 +11199,10 @@ pub mod api { ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 43u8, 159u8, 113u8, 223u8, 122u8, 169u8, 98u8, 153u8, 26u8, 55u8, 71u8, - 119u8, 174u8, 48u8, 158u8, 45u8, 214u8, 26u8, 136u8, 215u8, 46u8, - 161u8, 185u8, 17u8, 174u8, 204u8, 206u8, 246u8, 49u8, 87u8, 134u8, - 169u8, + 119u8, 253u8, 51u8, 32u8, 173u8, 173u8, 49u8, 121u8, 141u8, 128u8, + 219u8, 112u8, 173u8, 42u8, 145u8, 37u8, 8u8, 12u8, 27u8, 37u8, 232u8, + 187u8, 130u8, 227u8, 113u8, 111u8, 185u8, 197u8, 157u8, 136u8, 205u8, + 32u8, ], ) } @@ -11163,10 +11234,10 @@ pub mod api { "ErasStakersClipped", Vec::new(), [ - 43u8, 159u8, 113u8, 223u8, 122u8, 169u8, 98u8, 153u8, 26u8, 55u8, 71u8, - 119u8, 174u8, 48u8, 158u8, 45u8, 214u8, 26u8, 136u8, 215u8, 46u8, - 161u8, 185u8, 17u8, 174u8, 204u8, 206u8, 246u8, 49u8, 87u8, 134u8, - 169u8, + 119u8, 253u8, 51u8, 32u8, 173u8, 173u8, 49u8, 121u8, 141u8, 128u8, + 219u8, 112u8, 173u8, 42u8, 145u8, 37u8, 8u8, 12u8, 27u8, 37u8, 232u8, + 187u8, 130u8, 227u8, 113u8, 111u8, 185u8, 197u8, 157u8, 136u8, 205u8, + 32u8, ], ) } @@ -11194,10 +11265,10 @@ pub mod api { ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 6u8, 196u8, 209u8, 138u8, 252u8, 18u8, 203u8, 86u8, 129u8, 62u8, 4u8, - 56u8, 234u8, 114u8, 141u8, 136u8, 127u8, 224u8, 142u8, 89u8, 150u8, - 33u8, 31u8, 50u8, 140u8, 108u8, 124u8, 77u8, 188u8, 102u8, 230u8, - 174u8, + 201u8, 204u8, 230u8, 197u8, 37u8, 83u8, 124u8, 26u8, 10u8, 75u8, 164u8, + 102u8, 83u8, 24u8, 158u8, 127u8, 27u8, 173u8, 125u8, 63u8, 251u8, + 128u8, 239u8, 182u8, 115u8, 109u8, 13u8, 97u8, 211u8, 104u8, 189u8, + 127u8, ], ) } @@ -11220,10 +11291,10 @@ pub mod api { "ErasValidatorPrefs", Vec::new(), [ - 6u8, 196u8, 209u8, 138u8, 252u8, 18u8, 203u8, 86u8, 129u8, 62u8, 4u8, - 56u8, 234u8, 114u8, 141u8, 136u8, 127u8, 224u8, 142u8, 89u8, 150u8, - 33u8, 31u8, 50u8, 140u8, 108u8, 124u8, 77u8, 188u8, 102u8, 230u8, - 174u8, + 201u8, 204u8, 230u8, 197u8, 37u8, 83u8, 124u8, 26u8, 10u8, 75u8, 164u8, + 102u8, 83u8, 24u8, 158u8, 127u8, 27u8, 173u8, 125u8, 63u8, 251u8, + 128u8, 239u8, 182u8, 115u8, 109u8, 13u8, 97u8, 211u8, 104u8, 189u8, + 127u8, ], ) } @@ -11247,9 +11318,9 @@ pub mod api { _0.borrow(), )], [ - 87u8, 80u8, 156u8, 123u8, 107u8, 77u8, 203u8, 37u8, 231u8, 84u8, 124u8, - 155u8, 227u8, 212u8, 212u8, 179u8, 84u8, 161u8, 223u8, 255u8, 254u8, - 107u8, 52u8, 89u8, 98u8, 169u8, 136u8, 241u8, 104u8, 3u8, 244u8, 161u8, + 185u8, 85u8, 179u8, 163u8, 178u8, 168u8, 141u8, 200u8, 59u8, 77u8, 2u8, + 197u8, 36u8, 188u8, 133u8, 117u8, 2u8, 25u8, 105u8, 132u8, 44u8, 75u8, + 15u8, 82u8, 57u8, 89u8, 242u8, 234u8, 70u8, 244u8, 198u8, 126u8, ], ) } @@ -11270,9 +11341,9 @@ pub mod api { "ErasValidatorReward", Vec::new(), [ - 87u8, 80u8, 156u8, 123u8, 107u8, 77u8, 203u8, 37u8, 231u8, 84u8, 124u8, - 155u8, 227u8, 212u8, 212u8, 179u8, 84u8, 161u8, 223u8, 255u8, 254u8, - 107u8, 52u8, 89u8, 98u8, 169u8, 136u8, 241u8, 104u8, 3u8, 244u8, 161u8, + 185u8, 85u8, 179u8, 163u8, 178u8, 168u8, 141u8, 200u8, 59u8, 77u8, 2u8, + 197u8, 36u8, 188u8, 133u8, 117u8, 2u8, 25u8, 105u8, 132u8, 44u8, 75u8, + 15u8, 82u8, 57u8, 89u8, 242u8, 234u8, 70u8, 244u8, 198u8, 126u8, ], ) } @@ -11295,9 +11366,9 @@ pub mod api { _0.borrow(), )], [ - 194u8, 29u8, 20u8, 83u8, 200u8, 47u8, 158u8, 102u8, 88u8, 65u8, 24u8, - 255u8, 120u8, 178u8, 23u8, 232u8, 15u8, 64u8, 206u8, 0u8, 170u8, 40u8, - 18u8, 149u8, 45u8, 90u8, 179u8, 127u8, 52u8, 59u8, 37u8, 192u8, + 237u8, 135u8, 146u8, 156u8, 172u8, 48u8, 147u8, 207u8, 15u8, 86u8, + 55u8, 38u8, 29u8, 253u8, 198u8, 192u8, 99u8, 213u8, 80u8, 72u8, 212u8, + 60u8, 60u8, 180u8, 33u8, 17u8, 77u8, 0u8, 165u8, 225u8, 60u8, 213u8, ], ) } @@ -11317,9 +11388,9 @@ pub mod api { "ErasRewardPoints", Vec::new(), [ - 194u8, 29u8, 20u8, 83u8, 200u8, 47u8, 158u8, 102u8, 88u8, 65u8, 24u8, - 255u8, 120u8, 178u8, 23u8, 232u8, 15u8, 64u8, 206u8, 0u8, 170u8, 40u8, - 18u8, 149u8, 45u8, 90u8, 179u8, 127u8, 52u8, 59u8, 37u8, 192u8, + 237u8, 135u8, 146u8, 156u8, 172u8, 48u8, 147u8, 207u8, 15u8, 86u8, + 55u8, 38u8, 29u8, 253u8, 198u8, 192u8, 99u8, 213u8, 80u8, 72u8, 212u8, + 60u8, 60u8, 180u8, 33u8, 17u8, 77u8, 0u8, 165u8, 225u8, 60u8, 213u8, ], ) } @@ -11342,9 +11413,10 @@ pub mod api { _0.borrow(), )], [ - 224u8, 240u8, 168u8, 69u8, 148u8, 140u8, 249u8, 240u8, 4u8, 46u8, 77u8, - 11u8, 224u8, 65u8, 26u8, 239u8, 1u8, 110u8, 53u8, 11u8, 247u8, 235u8, - 142u8, 234u8, 22u8, 43u8, 24u8, 36u8, 37u8, 43u8, 170u8, 40u8, + 8u8, 78u8, 101u8, 62u8, 124u8, 126u8, 66u8, 26u8, 47u8, 126u8, 239u8, + 204u8, 222u8, 104u8, 19u8, 108u8, 238u8, 160u8, 112u8, 242u8, 56u8, + 2u8, 250u8, 164u8, 250u8, 213u8, 201u8, 84u8, 193u8, 117u8, 108u8, + 146u8, ], ) } @@ -11364,9 +11436,10 @@ pub mod api { "ErasTotalStake", Vec::new(), [ - 224u8, 240u8, 168u8, 69u8, 148u8, 140u8, 249u8, 240u8, 4u8, 46u8, 77u8, - 11u8, 224u8, 65u8, 26u8, 239u8, 1u8, 110u8, 53u8, 11u8, 247u8, 235u8, - 142u8, 234u8, 22u8, 43u8, 24u8, 36u8, 37u8, 43u8, 170u8, 40u8, + 8u8, 78u8, 101u8, 62u8, 124u8, 126u8, 66u8, 26u8, 47u8, 126u8, 239u8, + 204u8, 222u8, 104u8, 19u8, 108u8, 238u8, 160u8, 112u8, 242u8, 56u8, + 2u8, 250u8, 164u8, 250u8, 213u8, 201u8, 84u8, 193u8, 117u8, 108u8, + 146u8, ], ) } @@ -11385,9 +11458,10 @@ pub mod api { "ForceEra", vec![], [ - 221u8, 41u8, 71u8, 21u8, 28u8, 193u8, 65u8, 97u8, 103u8, 37u8, 145u8, - 146u8, 183u8, 194u8, 57u8, 131u8, 214u8, 136u8, 68u8, 156u8, 140u8, - 194u8, 69u8, 151u8, 115u8, 177u8, 92u8, 147u8, 29u8, 40u8, 41u8, 31u8, + 177u8, 148u8, 73u8, 108u8, 136u8, 126u8, 89u8, 18u8, 124u8, 66u8, 30u8, + 102u8, 133u8, 164u8, 78u8, 214u8, 184u8, 163u8, 75u8, 164u8, 117u8, + 233u8, 209u8, 158u8, 99u8, 208u8, 21u8, 194u8, 152u8, 82u8, 16u8, + 222u8, ], ) } @@ -11408,10 +11482,10 @@ pub mod api { "SlashRewardFraction", vec![], [ - 167u8, 79u8, 143u8, 202u8, 199u8, 100u8, 129u8, 162u8, 23u8, 165u8, - 106u8, 170u8, 244u8, 86u8, 144u8, 242u8, 65u8, 207u8, 115u8, 224u8, - 231u8, 155u8, 55u8, 139u8, 101u8, 129u8, 242u8, 196u8, 130u8, 50u8, - 3u8, 117u8, + 53u8, 88u8, 253u8, 237u8, 84u8, 228u8, 187u8, 130u8, 108u8, 195u8, + 135u8, 25u8, 75u8, 52u8, 238u8, 62u8, 133u8, 38u8, 139u8, 129u8, 216u8, + 193u8, 197u8, 216u8, 245u8, 171u8, 128u8, 207u8, 125u8, 246u8, 248u8, + 7u8, ], ) } @@ -11431,9 +11505,10 @@ pub mod api { "CanceledSlashPayout", vec![], [ - 126u8, 218u8, 66u8, 92u8, 82u8, 124u8, 145u8, 161u8, 40u8, 176u8, 14u8, - 211u8, 178u8, 216u8, 8u8, 156u8, 83u8, 14u8, 91u8, 15u8, 200u8, 170u8, - 3u8, 127u8, 141u8, 139u8, 151u8, 98u8, 74u8, 96u8, 238u8, 29u8, + 221u8, 88u8, 134u8, 81u8, 22u8, 229u8, 100u8, 27u8, 86u8, 244u8, 229u8, + 107u8, 251u8, 119u8, 58u8, 153u8, 19u8, 20u8, 254u8, 169u8, 248u8, + 220u8, 98u8, 118u8, 48u8, 213u8, 22u8, 79u8, 242u8, 250u8, 147u8, + 173u8, ], ) } @@ -11460,9 +11535,10 @@ pub mod api { _0.borrow(), )], [ - 130u8, 4u8, 163u8, 163u8, 28u8, 85u8, 34u8, 156u8, 47u8, 125u8, 57u8, - 0u8, 133u8, 176u8, 130u8, 2u8, 175u8, 180u8, 167u8, 203u8, 230u8, 82u8, - 198u8, 183u8, 55u8, 82u8, 221u8, 248u8, 100u8, 173u8, 206u8, 151u8, + 121u8, 1u8, 135u8, 243u8, 99u8, 254u8, 238u8, 207u8, 145u8, 172u8, + 186u8, 131u8, 181u8, 109u8, 199u8, 93u8, 129u8, 65u8, 106u8, 118u8, + 197u8, 83u8, 65u8, 45u8, 149u8, 1u8, 85u8, 99u8, 239u8, 148u8, 40u8, + 177u8, ], ) } @@ -11486,9 +11562,10 @@ pub mod api { "UnappliedSlashes", Vec::new(), [ - 130u8, 4u8, 163u8, 163u8, 28u8, 85u8, 34u8, 156u8, 47u8, 125u8, 57u8, - 0u8, 133u8, 176u8, 130u8, 2u8, 175u8, 180u8, 167u8, 203u8, 230u8, 82u8, - 198u8, 183u8, 55u8, 82u8, 221u8, 248u8, 100u8, 173u8, 206u8, 151u8, + 121u8, 1u8, 135u8, 243u8, 99u8, 254u8, 238u8, 207u8, 145u8, 172u8, + 186u8, 131u8, 181u8, 109u8, 199u8, 93u8, 129u8, 65u8, 106u8, 118u8, + 197u8, 83u8, 65u8, 45u8, 149u8, 1u8, 85u8, 99u8, 239u8, 148u8, 40u8, + 177u8, ], ) } @@ -11510,10 +11587,10 @@ pub mod api { "BondedEras", vec![], [ - 243u8, 162u8, 236u8, 198u8, 122u8, 182u8, 37u8, 55u8, 171u8, 156u8, - 235u8, 223u8, 226u8, 129u8, 89u8, 206u8, 2u8, 155u8, 222u8, 154u8, - 116u8, 124u8, 4u8, 119u8, 155u8, 94u8, 248u8, 30u8, 171u8, 51u8, 78u8, - 106u8, + 187u8, 216u8, 245u8, 253u8, 194u8, 182u8, 60u8, 244u8, 203u8, 84u8, + 228u8, 163u8, 149u8, 205u8, 57u8, 176u8, 203u8, 156u8, 20u8, 29u8, + 52u8, 234u8, 200u8, 63u8, 88u8, 49u8, 89u8, 117u8, 252u8, 75u8, 172u8, + 53u8, ], ) } @@ -11541,10 +11618,9 @@ pub mod api { ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 237u8, 80u8, 3u8, 237u8, 9u8, 40u8, 212u8, 15u8, 251u8, 196u8, 85u8, - 29u8, 27u8, 151u8, 98u8, 122u8, 189u8, 147u8, 205u8, 40u8, 202u8, - 194u8, 158u8, 96u8, 138u8, 16u8, 116u8, 71u8, 140u8, 163u8, 121u8, - 197u8, + 224u8, 141u8, 93u8, 44u8, 47u8, 157u8, 205u8, 12u8, 68u8, 41u8, 221u8, + 210u8, 141u8, 225u8, 253u8, 22u8, 175u8, 11u8, 92u8, 76u8, 180u8, 4u8, + 106u8, 135u8, 166u8, 47u8, 201u8, 43u8, 165u8, 42u8, 232u8, 219u8, ], ) } @@ -11567,10 +11643,9 @@ pub mod api { "ValidatorSlashInEra", Vec::new(), [ - 237u8, 80u8, 3u8, 237u8, 9u8, 40u8, 212u8, 15u8, 251u8, 196u8, 85u8, - 29u8, 27u8, 151u8, 98u8, 122u8, 189u8, 147u8, 205u8, 40u8, 202u8, - 194u8, 158u8, 96u8, 138u8, 16u8, 116u8, 71u8, 140u8, 163u8, 121u8, - 197u8, + 224u8, 141u8, 93u8, 44u8, 47u8, 157u8, 205u8, 12u8, 68u8, 41u8, 221u8, + 210u8, 141u8, 225u8, 253u8, 22u8, 175u8, 11u8, 92u8, 76u8, 180u8, 4u8, + 106u8, 135u8, 166u8, 47u8, 201u8, 43u8, 165u8, 42u8, 232u8, 219u8, ], ) } @@ -11594,9 +11669,9 @@ pub mod api { ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 249u8, 85u8, 170u8, 41u8, 179u8, 194u8, 180u8, 12u8, 53u8, 101u8, 80u8, - 96u8, 166u8, 71u8, 239u8, 23u8, 153u8, 19u8, 152u8, 38u8, 138u8, 136u8, - 221u8, 200u8, 18u8, 165u8, 26u8, 228u8, 195u8, 199u8, 62u8, 4u8, + 8u8, 89u8, 171u8, 183u8, 64u8, 29u8, 44u8, 185u8, 11u8, 204u8, 67u8, + 60u8, 208u8, 132u8, 9u8, 214u8, 13u8, 148u8, 205u8, 26u8, 5u8, 7u8, + 250u8, 191u8, 83u8, 118u8, 95u8, 17u8, 40u8, 126u8, 16u8, 135u8, ], ) } @@ -11615,9 +11690,9 @@ pub mod api { "NominatorSlashInEra", Vec::new(), [ - 249u8, 85u8, 170u8, 41u8, 179u8, 194u8, 180u8, 12u8, 53u8, 101u8, 80u8, - 96u8, 166u8, 71u8, 239u8, 23u8, 153u8, 19u8, 152u8, 38u8, 138u8, 136u8, - 221u8, 200u8, 18u8, 165u8, 26u8, 228u8, 195u8, 199u8, 62u8, 4u8, + 8u8, 89u8, 171u8, 183u8, 64u8, 29u8, 44u8, 185u8, 11u8, 204u8, 67u8, + 60u8, 208u8, 132u8, 9u8, 214u8, 13u8, 148u8, 205u8, 26u8, 5u8, 7u8, + 250u8, 191u8, 83u8, 118u8, 95u8, 17u8, 40u8, 126u8, 16u8, 135u8, ], ) } @@ -11639,9 +11714,10 @@ pub mod api { _0.borrow(), )], [ - 106u8, 115u8, 118u8, 52u8, 89u8, 77u8, 246u8, 5u8, 255u8, 204u8, 44u8, - 5u8, 66u8, 36u8, 227u8, 252u8, 86u8, 159u8, 186u8, 152u8, 196u8, 21u8, - 74u8, 201u8, 133u8, 93u8, 142u8, 191u8, 20u8, 27u8, 218u8, 157u8, + 160u8, 190u8, 57u8, 128u8, 105u8, 73u8, 194u8, 75u8, 12u8, 120u8, + 141u8, 190u8, 235u8, 250u8, 221u8, 200u8, 141u8, 162u8, 31u8, 85u8, + 239u8, 108u8, 200u8, 148u8, 155u8, 48u8, 44u8, 89u8, 5u8, 177u8, 236u8, + 182u8, ], ) } @@ -11660,9 +11736,10 @@ pub mod api { "SlashingSpans", Vec::new(), [ - 106u8, 115u8, 118u8, 52u8, 89u8, 77u8, 246u8, 5u8, 255u8, 204u8, 44u8, - 5u8, 66u8, 36u8, 227u8, 252u8, 86u8, 159u8, 186u8, 152u8, 196u8, 21u8, - 74u8, 201u8, 133u8, 93u8, 142u8, 191u8, 20u8, 27u8, 218u8, 157u8, + 160u8, 190u8, 57u8, 128u8, 105u8, 73u8, 194u8, 75u8, 12u8, 120u8, + 141u8, 190u8, 235u8, 250u8, 221u8, 200u8, 141u8, 162u8, 31u8, 85u8, + 239u8, 108u8, 200u8, 148u8, 155u8, 48u8, 44u8, 89u8, 5u8, 177u8, 236u8, + 182u8, ], ) } @@ -11687,10 +11764,9 @@ pub mod api { ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 160u8, 63u8, 115u8, 190u8, 233u8, 148u8, 75u8, 3u8, 11u8, 59u8, 184u8, - 220u8, 205u8, 64u8, 28u8, 190u8, 116u8, 210u8, 225u8, 230u8, 224u8, - 163u8, 103u8, 157u8, 100u8, 29u8, 86u8, 167u8, 84u8, 217u8, 109u8, - 200u8, + 6u8, 241u8, 205u8, 89u8, 62u8, 181u8, 211u8, 216u8, 190u8, 41u8, 81u8, + 136u8, 136u8, 139u8, 57u8, 243u8, 174u8, 150u8, 132u8, 211u8, 79u8, + 138u8, 108u8, 218u8, 19u8, 225u8, 60u8, 26u8, 135u8, 6u8, 21u8, 116u8, ], ) } @@ -11710,10 +11786,9 @@ pub mod api { "SpanSlash", Vec::new(), [ - 160u8, 63u8, 115u8, 190u8, 233u8, 148u8, 75u8, 3u8, 11u8, 59u8, 184u8, - 220u8, 205u8, 64u8, 28u8, 190u8, 116u8, 210u8, 225u8, 230u8, 224u8, - 163u8, 103u8, 157u8, 100u8, 29u8, 86u8, 167u8, 84u8, 217u8, 109u8, - 200u8, + 6u8, 241u8, 205u8, 89u8, 62u8, 181u8, 211u8, 216u8, 190u8, 41u8, 81u8, + 136u8, 136u8, 139u8, 57u8, 243u8, 174u8, 150u8, 132u8, 211u8, 79u8, + 138u8, 108u8, 218u8, 19u8, 225u8, 60u8, 26u8, 135u8, 6u8, 21u8, 116u8, ], ) } @@ -11734,9 +11809,9 @@ pub mod api { "CurrentPlannedSession", vec![], [ - 38u8, 22u8, 56u8, 250u8, 17u8, 154u8, 99u8, 37u8, 155u8, 253u8, 100u8, - 117u8, 5u8, 239u8, 31u8, 190u8, 53u8, 241u8, 11u8, 185u8, 163u8, 227u8, - 10u8, 77u8, 210u8, 64u8, 156u8, 218u8, 105u8, 16u8, 1u8, 57u8, + 12u8, 47u8, 20u8, 104u8, 155u8, 181u8, 35u8, 91u8, 172u8, 97u8, 206u8, + 135u8, 185u8, 142u8, 46u8, 72u8, 32u8, 118u8, 225u8, 191u8, 28u8, + 130u8, 7u8, 38u8, 181u8, 233u8, 201u8, 8u8, 160u8, 161u8, 86u8, 204u8, ], ) } @@ -11763,9 +11838,10 @@ pub mod api { "OffendingValidators", vec![], [ - 94u8, 254u8, 0u8, 50u8, 76u8, 232u8, 51u8, 153u8, 118u8, 14u8, 70u8, - 101u8, 112u8, 215u8, 173u8, 82u8, 182u8, 104u8, 167u8, 103u8, 187u8, - 168u8, 86u8, 16u8, 51u8, 235u8, 51u8, 119u8, 38u8, 154u8, 42u8, 113u8, + 201u8, 31u8, 141u8, 182u8, 160u8, 180u8, 37u8, 226u8, 50u8, 65u8, + 103u8, 11u8, 38u8, 120u8, 200u8, 219u8, 219u8, 98u8, 185u8, 137u8, + 154u8, 20u8, 130u8, 163u8, 126u8, 185u8, 33u8, 194u8, 76u8, 172u8, + 70u8, 220u8, ], ) } @@ -11786,9 +11862,9 @@ pub mod api { "ChillThreshold", vec![], [ - 174u8, 165u8, 249u8, 105u8, 24u8, 151u8, 115u8, 166u8, 199u8, 251u8, - 28u8, 5u8, 50u8, 95u8, 144u8, 110u8, 220u8, 76u8, 14u8, 23u8, 179u8, - 41u8, 11u8, 248u8, 28u8, 154u8, 159u8, 255u8, 156u8, 109u8, 98u8, 92u8, + 133u8, 222u8, 1u8, 208u8, 212u8, 216u8, 247u8, 66u8, 178u8, 96u8, 35u8, + 112u8, 33u8, 245u8, 11u8, 249u8, 255u8, 212u8, 204u8, 161u8, 44u8, + 38u8, 126u8, 151u8, 140u8, 42u8, 253u8, 101u8, 1u8, 23u8, 239u8, 39u8, ], ) } @@ -11998,9 +12074,10 @@ pub mod api { _0.borrow(), )], [ - 144u8, 30u8, 66u8, 199u8, 102u8, 236u8, 175u8, 201u8, 206u8, 170u8, - 55u8, 162u8, 137u8, 120u8, 220u8, 213u8, 57u8, 252u8, 0u8, 88u8, 210u8, - 68u8, 5u8, 25u8, 77u8, 114u8, 204u8, 23u8, 190u8, 32u8, 211u8, 30u8, + 242u8, 69u8, 20u8, 130u8, 250u8, 223u8, 68u8, 121u8, 187u8, 215u8, + 62u8, 204u8, 100u8, 51u8, 76u8, 164u8, 188u8, 182u8, 215u8, 93u8, + 161u8, 100u8, 187u8, 205u8, 73u8, 158u8, 57u8, 198u8, 239u8, 66u8, + 42u8, 65u8, ], ) } @@ -12028,9 +12105,10 @@ pub mod api { "Reports", Vec::new(), [ - 144u8, 30u8, 66u8, 199u8, 102u8, 236u8, 175u8, 201u8, 206u8, 170u8, - 55u8, 162u8, 137u8, 120u8, 220u8, 213u8, 57u8, 252u8, 0u8, 88u8, 210u8, - 68u8, 5u8, 25u8, 77u8, 114u8, 204u8, 23u8, 190u8, 32u8, 211u8, 30u8, + 242u8, 69u8, 20u8, 130u8, 250u8, 223u8, 68u8, 121u8, 187u8, 215u8, + 62u8, 204u8, 100u8, 51u8, 76u8, 164u8, 188u8, 182u8, 215u8, 93u8, + 161u8, 100u8, 187u8, 205u8, 73u8, 158u8, 57u8, 198u8, 239u8, 66u8, + 42u8, 65u8, ], ) } @@ -12054,9 +12132,10 @@ pub mod api { ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 106u8, 21u8, 104u8, 5u8, 4u8, 66u8, 28u8, 70u8, 161u8, 195u8, 238u8, - 28u8, 69u8, 241u8, 221u8, 113u8, 140u8, 103u8, 181u8, 143u8, 60u8, - 177u8, 13u8, 129u8, 224u8, 149u8, 77u8, 32u8, 75u8, 74u8, 101u8, 65u8, + 125u8, 222u8, 9u8, 162u8, 38u8, 89u8, 77u8, 187u8, 129u8, 103u8, 21u8, + 31u8, 117u8, 101u8, 43u8, 115u8, 170u8, 205u8, 142u8, 26u8, 27u8, + 184u8, 152u8, 133u8, 76u8, 203u8, 78u8, 113u8, 51u8, 141u8, 118u8, + 171u8, ], ) } @@ -12075,9 +12154,10 @@ pub mod api { "ConcurrentReportsIndex", Vec::new(), [ - 106u8, 21u8, 104u8, 5u8, 4u8, 66u8, 28u8, 70u8, 161u8, 195u8, 238u8, - 28u8, 69u8, 241u8, 221u8, 113u8, 140u8, 103u8, 181u8, 143u8, 60u8, - 177u8, 13u8, 129u8, 224u8, 149u8, 77u8, 32u8, 75u8, 74u8, 101u8, 65u8, + 125u8, 222u8, 9u8, 162u8, 38u8, 89u8, 77u8, 187u8, 129u8, 103u8, 21u8, + 31u8, 117u8, 101u8, 43u8, 115u8, 170u8, 205u8, 142u8, 26u8, 27u8, + 184u8, 152u8, 133u8, 76u8, 203u8, 78u8, 113u8, 51u8, 141u8, 118u8, + 171u8, ], ) } @@ -12156,9 +12236,9 @@ pub mod api { "set_keys", types::SetKeys { keys, proof }, [ - 17u8, 127u8, 23u8, 71u8, 118u8, 133u8, 89u8, 105u8, 93u8, 52u8, 46u8, - 201u8, 151u8, 19u8, 124u8, 195u8, 228u8, 229u8, 22u8, 216u8, 32u8, - 54u8, 67u8, 222u8, 91u8, 175u8, 206u8, 7u8, 238u8, 118u8, 81u8, 112u8, + 196u8, 19u8, 135u8, 231u8, 6u8, 18u8, 193u8, 169u8, 221u8, 1u8, 11u8, + 230u8, 158u8, 75u8, 179u8, 84u8, 128u8, 236u8, 95u8, 156u8, 219u8, 5u8, + 240u8, 82u8, 65u8, 73u8, 134u8, 239u8, 164u8, 233u8, 109u8, 51u8, ], ) } @@ -12180,9 +12260,10 @@ pub mod api { "purge_keys", types::PurgeKeys {}, [ - 200u8, 255u8, 4u8, 213u8, 188u8, 92u8, 99u8, 116u8, 163u8, 152u8, 29u8, - 35u8, 133u8, 119u8, 246u8, 44u8, 91u8, 31u8, 145u8, 23u8, 213u8, 64u8, - 71u8, 242u8, 207u8, 239u8, 231u8, 37u8, 61u8, 63u8, 190u8, 35u8, + 215u8, 204u8, 146u8, 236u8, 32u8, 78u8, 198u8, 79u8, 85u8, 214u8, 15u8, + 151u8, 158u8, 31u8, 146u8, 119u8, 119u8, 204u8, 151u8, 169u8, 226u8, + 67u8, 217u8, 39u8, 241u8, 245u8, 203u8, 240u8, 203u8, 172u8, 16u8, + 209u8, ], ) } @@ -12232,10 +12313,10 @@ pub mod api { "Validators", vec![], [ - 144u8, 235u8, 200u8, 43u8, 151u8, 57u8, 147u8, 172u8, 201u8, 202u8, - 242u8, 96u8, 57u8, 76u8, 124u8, 77u8, 42u8, 113u8, 218u8, 220u8, 230u8, - 32u8, 151u8, 152u8, 172u8, 106u8, 60u8, 227u8, 122u8, 118u8, 137u8, - 68u8, + 50u8, 86u8, 154u8, 222u8, 249u8, 209u8, 156u8, 22u8, 155u8, 25u8, + 133u8, 194u8, 210u8, 50u8, 38u8, 28u8, 139u8, 201u8, 90u8, 139u8, + 115u8, 12u8, 12u8, 141u8, 4u8, 178u8, 201u8, 241u8, 223u8, 234u8, 6u8, + 86u8, ], ) } @@ -12254,10 +12335,10 @@ pub mod api { "CurrentIndex", vec![], [ - 148u8, 179u8, 159u8, 15u8, 197u8, 95u8, 214u8, 30u8, 209u8, 251u8, - 183u8, 231u8, 91u8, 25u8, 181u8, 191u8, 143u8, 252u8, 227u8, 80u8, - 159u8, 66u8, 194u8, 67u8, 113u8, 74u8, 111u8, 91u8, 218u8, 187u8, - 130u8, 40u8, + 167u8, 151u8, 125u8, 150u8, 159u8, 21u8, 78u8, 217u8, 237u8, 183u8, + 135u8, 65u8, 187u8, 114u8, 188u8, 206u8, 16u8, 32u8, 69u8, 208u8, + 134u8, 159u8, 232u8, 224u8, 243u8, 27u8, 31u8, 166u8, 145u8, 44u8, + 221u8, 230u8, ], ) } @@ -12277,9 +12358,10 @@ pub mod api { "QueuedChanged", vec![], [ - 105u8, 140u8, 235u8, 218u8, 96u8, 100u8, 252u8, 10u8, 58u8, 221u8, - 244u8, 251u8, 67u8, 91u8, 80u8, 202u8, 152u8, 42u8, 50u8, 113u8, 200u8, - 247u8, 59u8, 213u8, 77u8, 195u8, 1u8, 150u8, 220u8, 18u8, 245u8, 46u8, + 184u8, 137u8, 224u8, 137u8, 31u8, 236u8, 95u8, 164u8, 102u8, 225u8, + 198u8, 227u8, 140u8, 37u8, 113u8, 57u8, 59u8, 4u8, 202u8, 102u8, 117u8, + 36u8, 226u8, 64u8, 113u8, 141u8, 199u8, 111u8, 99u8, 144u8, 198u8, + 153u8, ], ) } @@ -12302,10 +12384,10 @@ pub mod api { "QueuedKeys", vec![], [ - 197u8, 174u8, 245u8, 219u8, 36u8, 118u8, 73u8, 184u8, 156u8, 93u8, - 167u8, 107u8, 142u8, 7u8, 41u8, 51u8, 77u8, 191u8, 68u8, 95u8, 71u8, - 76u8, 253u8, 137u8, 73u8, 194u8, 169u8, 234u8, 217u8, 76u8, 157u8, - 223u8, + 252u8, 177u8, 138u8, 47u8, 254u8, 168u8, 165u8, 96u8, 182u8, 36u8, + 23u8, 235u8, 10u8, 134u8, 96u8, 248u8, 167u8, 117u8, 188u8, 170u8, + 143u8, 184u8, 115u8, 6u8, 138u8, 118u8, 192u8, 171u8, 64u8, 205u8, + 185u8, 189u8, ], ) } @@ -12328,10 +12410,9 @@ pub mod api { "DisabledValidators", vec![], [ - 135u8, 22u8, 22u8, 97u8, 82u8, 217u8, 144u8, 141u8, 121u8, 240u8, - 189u8, 16u8, 176u8, 88u8, 177u8, 31u8, 20u8, 242u8, 73u8, 104u8, 11u8, - 110u8, 214u8, 34u8, 52u8, 217u8, 106u8, 33u8, 174u8, 174u8, 198u8, - 84u8, + 213u8, 19u8, 168u8, 234u8, 187u8, 200u8, 180u8, 97u8, 234u8, 189u8, + 36u8, 233u8, 158u8, 184u8, 45u8, 35u8, 129u8, 213u8, 133u8, 8u8, 104u8, + 183u8, 46u8, 68u8, 154u8, 240u8, 132u8, 22u8, 247u8, 11u8, 54u8, 221u8, ], ) } @@ -12353,10 +12434,9 @@ pub mod api { _0.borrow(), )], [ - 94u8, 197u8, 147u8, 245u8, 165u8, 97u8, 186u8, 57u8, 142u8, 66u8, - 132u8, 213u8, 126u8, 3u8, 77u8, 88u8, 191u8, 33u8, 82u8, 153u8, 11u8, - 109u8, 96u8, 252u8, 193u8, 171u8, 158u8, 131u8, 29u8, 192u8, 248u8, - 166u8, + 241u8, 163u8, 41u8, 123u8, 225u8, 80u8, 136u8, 229u8, 85u8, 122u8, + 31u8, 187u8, 249u8, 216u8, 182u8, 218u8, 66u8, 62u8, 95u8, 35u8, 91u8, + 0u8, 143u8, 113u8, 151u8, 63u8, 241u8, 176u8, 99u8, 246u8, 239u8, 35u8, ], ) } @@ -12375,10 +12455,9 @@ pub mod api { "NextKeys", Vec::new(), [ - 94u8, 197u8, 147u8, 245u8, 165u8, 97u8, 186u8, 57u8, 142u8, 66u8, - 132u8, 213u8, 126u8, 3u8, 77u8, 88u8, 191u8, 33u8, 82u8, 153u8, 11u8, - 109u8, 96u8, 252u8, 193u8, 171u8, 158u8, 131u8, 29u8, 192u8, 248u8, - 166u8, + 241u8, 163u8, 41u8, 123u8, 225u8, 80u8, 136u8, 229u8, 85u8, 122u8, + 31u8, 187u8, 249u8, 216u8, 182u8, 218u8, 66u8, 62u8, 95u8, 35u8, 91u8, + 0u8, 143u8, 113u8, 151u8, 63u8, 241u8, 176u8, 99u8, 246u8, 239u8, 35u8, ], ) } @@ -12402,9 +12481,9 @@ pub mod api { ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 4u8, 91u8, 25u8, 84u8, 250u8, 201u8, 174u8, 129u8, 201u8, 58u8, 197u8, - 199u8, 137u8, 240u8, 118u8, 33u8, 99u8, 2u8, 195u8, 57u8, 53u8, 172u8, - 0u8, 148u8, 203u8, 144u8, 149u8, 64u8, 135u8, 254u8, 242u8, 215u8, + 177u8, 90u8, 148u8, 24u8, 251u8, 26u8, 65u8, 235u8, 46u8, 25u8, 109u8, + 212u8, 208u8, 218u8, 58u8, 196u8, 29u8, 73u8, 145u8, 41u8, 30u8, 251u8, + 185u8, 26u8, 205u8, 50u8, 32u8, 200u8, 206u8, 178u8, 255u8, 146u8, ], ) } @@ -12423,9 +12502,9 @@ pub mod api { "KeyOwner", Vec::new(), [ - 4u8, 91u8, 25u8, 84u8, 250u8, 201u8, 174u8, 129u8, 201u8, 58u8, 197u8, - 199u8, 137u8, 240u8, 118u8, 33u8, 99u8, 2u8, 195u8, 57u8, 53u8, 172u8, - 0u8, 148u8, 203u8, 144u8, 149u8, 64u8, 135u8, 254u8, 242u8, 215u8, + 177u8, 90u8, 148u8, 24u8, 251u8, 26u8, 65u8, 235u8, 46u8, 25u8, 109u8, + 212u8, 208u8, 218u8, 58u8, 196u8, 29u8, 73u8, 145u8, 41u8, 30u8, 251u8, + 185u8, 26u8, 205u8, 50u8, 32u8, 200u8, 206u8, 178u8, 255u8, 146u8, ], ) } @@ -12532,9 +12611,10 @@ pub mod api { key_owner_proof, }, [ - 156u8, 162u8, 189u8, 89u8, 60u8, 156u8, 129u8, 176u8, 62u8, 35u8, - 214u8, 7u8, 68u8, 245u8, 130u8, 117u8, 30u8, 3u8, 73u8, 218u8, 142u8, - 82u8, 13u8, 141u8, 124u8, 19u8, 53u8, 138u8, 70u8, 4u8, 40u8, 32u8, + 239u8, 120u8, 210u8, 103u8, 106u8, 180u8, 41u8, 20u8, 164u8, 142u8, + 156u8, 209u8, 183u8, 254u8, 192u8, 178u8, 22u8, 64u8, 91u8, 4u8, 222u8, + 103u8, 37u8, 184u8, 252u8, 181u8, 65u8, 136u8, 103u8, 199u8, 250u8, + 66u8, ], ) } @@ -12563,10 +12643,9 @@ pub mod api { key_owner_proof, }, [ - 166u8, 26u8, 217u8, 185u8, 215u8, 37u8, 174u8, 170u8, 137u8, 160u8, - 151u8, 43u8, 246u8, 86u8, 58u8, 18u8, 248u8, 73u8, 99u8, 161u8, 158u8, - 93u8, 212u8, 186u8, 224u8, 253u8, 234u8, 18u8, 151u8, 111u8, 227u8, - 249u8, + 238u8, 22u8, 92u8, 27u8, 26u8, 218u8, 114u8, 129u8, 133u8, 211u8, 34u8, + 239u8, 8u8, 11u8, 62u8, 201u8, 29u8, 38u8, 231u8, 63u8, 204u8, 13u8, + 82u8, 164u8, 83u8, 149u8, 0u8, 0u8, 102u8, 113u8, 106u8, 156u8, ], ) } @@ -12595,10 +12674,10 @@ pub mod api { best_finalized_block_number, }, [ - 197u8, 236u8, 137u8, 32u8, 46u8, 200u8, 144u8, 13u8, 89u8, 181u8, - 235u8, 73u8, 167u8, 131u8, 174u8, 93u8, 42u8, 136u8, 238u8, 59u8, - 129u8, 60u8, 83u8, 100u8, 5u8, 182u8, 99u8, 250u8, 145u8, 180u8, 1u8, - 199u8, + 232u8, 162u8, 42u8, 199u8, 101u8, 116u8, 38u8, 27u8, 147u8, 15u8, + 224u8, 76u8, 229u8, 244u8, 13u8, 49u8, 218u8, 232u8, 253u8, 37u8, 7u8, + 222u8, 97u8, 158u8, 201u8, 199u8, 169u8, 218u8, 201u8, 136u8, 192u8, + 128u8, ], ) } @@ -12681,10 +12760,9 @@ pub mod api { "State", vec![], [ - 211u8, 149u8, 114u8, 217u8, 206u8, 194u8, 115u8, 67u8, 12u8, 218u8, - 246u8, 213u8, 208u8, 29u8, 216u8, 104u8, 2u8, 39u8, 123u8, 172u8, - 252u8, 210u8, 52u8, 129u8, 147u8, 237u8, 244u8, 68u8, 252u8, 169u8, - 97u8, 148u8, + 254u8, 81u8, 54u8, 203u8, 26u8, 74u8, 162u8, 215u8, 165u8, 247u8, + 143u8, 139u8, 242u8, 164u8, 67u8, 27u8, 97u8, 172u8, 66u8, 98u8, 28u8, + 151u8, 32u8, 38u8, 209u8, 82u8, 41u8, 209u8, 72u8, 3u8, 167u8, 42u8, ], ) } @@ -12703,9 +12781,9 @@ pub mod api { "PendingChange", vec![], [ - 178u8, 24u8, 140u8, 7u8, 8u8, 196u8, 18u8, 58u8, 3u8, 226u8, 181u8, - 47u8, 155u8, 160u8, 70u8, 12u8, 75u8, 189u8, 38u8, 255u8, 104u8, 141u8, - 64u8, 34u8, 134u8, 201u8, 102u8, 21u8, 75u8, 81u8, 218u8, 60u8, + 207u8, 134u8, 15u8, 77u8, 9u8, 253u8, 20u8, 132u8, 226u8, 115u8, 150u8, + 184u8, 18u8, 15u8, 143u8, 172u8, 71u8, 114u8, 221u8, 162u8, 174u8, + 205u8, 46u8, 144u8, 70u8, 116u8, 18u8, 105u8, 250u8, 44u8, 75u8, 27u8, ], ) } @@ -12724,9 +12802,9 @@ pub mod api { "NextForced", vec![], [ - 99u8, 43u8, 245u8, 201u8, 60u8, 9u8, 122u8, 99u8, 188u8, 29u8, 67u8, - 6u8, 193u8, 133u8, 179u8, 67u8, 202u8, 208u8, 62u8, 179u8, 19u8, 169u8, - 196u8, 119u8, 107u8, 75u8, 100u8, 3u8, 121u8, 18u8, 80u8, 156u8, + 3u8, 231u8, 56u8, 18u8, 87u8, 112u8, 227u8, 126u8, 180u8, 131u8, 255u8, + 141u8, 82u8, 34u8, 61u8, 47u8, 234u8, 37u8, 95u8, 62u8, 33u8, 235u8, + 231u8, 122u8, 125u8, 8u8, 223u8, 95u8, 255u8, 204u8, 40u8, 97u8, ], ) } @@ -12745,10 +12823,9 @@ pub mod api { "Stalled", vec![], [ - 219u8, 8u8, 37u8, 78u8, 150u8, 55u8, 0u8, 57u8, 201u8, 170u8, 186u8, - 189u8, 56u8, 161u8, 44u8, 15u8, 53u8, 178u8, 224u8, 208u8, 231u8, - 109u8, 14u8, 209u8, 57u8, 205u8, 237u8, 153u8, 231u8, 156u8, 24u8, - 185u8, + 146u8, 18u8, 59u8, 59u8, 21u8, 246u8, 5u8, 167u8, 221u8, 8u8, 230u8, + 74u8, 81u8, 217u8, 67u8, 158u8, 136u8, 36u8, 23u8, 106u8, 136u8, 89u8, + 110u8, 217u8, 31u8, 138u8, 107u8, 251u8, 164u8, 10u8, 119u8, 18u8, ], ) } @@ -12768,10 +12845,10 @@ pub mod api { "CurrentSetId", vec![], [ - 129u8, 7u8, 62u8, 101u8, 199u8, 60u8, 56u8, 33u8, 54u8, 158u8, 20u8, - 178u8, 244u8, 145u8, 189u8, 197u8, 157u8, 163u8, 116u8, 36u8, 105u8, - 52u8, 149u8, 244u8, 108u8, 94u8, 109u8, 111u8, 244u8, 137u8, 7u8, - 108u8, + 234u8, 215u8, 218u8, 42u8, 30u8, 76u8, 129u8, 40u8, 125u8, 137u8, + 207u8, 47u8, 46u8, 213u8, 159u8, 50u8, 175u8, 81u8, 155u8, 123u8, + 246u8, 175u8, 156u8, 68u8, 22u8, 113u8, 135u8, 137u8, 163u8, 18u8, + 115u8, 73u8, ], ) } @@ -12802,10 +12879,9 @@ pub mod api { _0.borrow(), )], [ - 91u8, 175u8, 145u8, 127u8, 242u8, 81u8, 13u8, 231u8, 110u8, 11u8, - 166u8, 169u8, 103u8, 146u8, 123u8, 133u8, 157u8, 15u8, 33u8, 234u8, - 108u8, 13u8, 88u8, 115u8, 254u8, 9u8, 145u8, 199u8, 102u8, 47u8, 53u8, - 134u8, + 47u8, 0u8, 239u8, 121u8, 187u8, 213u8, 254u8, 50u8, 238u8, 10u8, 162u8, + 65u8, 189u8, 166u8, 37u8, 74u8, 82u8, 81u8, 160u8, 20u8, 180u8, 253u8, + 238u8, 18u8, 209u8, 203u8, 38u8, 148u8, 16u8, 105u8, 72u8, 169u8, ], ) } @@ -12833,10 +12909,9 @@ pub mod api { "SetIdSession", Vec::new(), [ - 91u8, 175u8, 145u8, 127u8, 242u8, 81u8, 13u8, 231u8, 110u8, 11u8, - 166u8, 169u8, 103u8, 146u8, 123u8, 133u8, 157u8, 15u8, 33u8, 234u8, - 108u8, 13u8, 88u8, 115u8, 254u8, 9u8, 145u8, 199u8, 102u8, 47u8, 53u8, - 134u8, + 47u8, 0u8, 239u8, 121u8, 187u8, 213u8, 254u8, 50u8, 238u8, 10u8, 162u8, + 65u8, 189u8, 166u8, 37u8, 74u8, 82u8, 81u8, 160u8, 20u8, 180u8, 253u8, + 238u8, 18u8, 209u8, 203u8, 38u8, 148u8, 16u8, 105u8, 72u8, 169u8, ], ) } @@ -12937,10 +13012,10 @@ pub mod api { signature, }, [ - 212u8, 23u8, 174u8, 246u8, 60u8, 220u8, 178u8, 137u8, 53u8, 146u8, - 165u8, 225u8, 179u8, 209u8, 233u8, 152u8, 129u8, 210u8, 126u8, 32u8, - 216u8, 22u8, 76u8, 196u8, 255u8, 128u8, 246u8, 161u8, 30u8, 186u8, - 249u8, 34u8, + 191u8, 155u8, 217u8, 65u8, 8u8, 34u8, 41u8, 185u8, 187u8, 199u8, 164u8, + 48u8, 76u8, 123u8, 235u8, 182u8, 85u8, 107u8, 48u8, 158u8, 110u8, + 206u8, 145u8, 119u8, 165u8, 253u8, 27u8, 59u8, 0u8, 112u8, 241u8, + 242u8, ], ) } @@ -13038,10 +13113,9 @@ pub mod api { "HeartbeatAfter", vec![], [ - 108u8, 100u8, 85u8, 198u8, 226u8, 122u8, 94u8, 225u8, 97u8, 154u8, - 135u8, 95u8, 106u8, 28u8, 185u8, 78u8, 192u8, 196u8, 35u8, 191u8, 12u8, - 19u8, 163u8, 46u8, 232u8, 235u8, 193u8, 81u8, 126u8, 204u8, 25u8, - 228u8, + 36u8, 179u8, 76u8, 254u8, 3u8, 184u8, 154u8, 142u8, 70u8, 104u8, 44u8, + 244u8, 39u8, 97u8, 31u8, 31u8, 93u8, 228u8, 185u8, 224u8, 13u8, 160u8, + 231u8, 210u8, 110u8, 143u8, 116u8, 29u8, 0u8, 215u8, 217u8, 137u8, ], ) } @@ -13062,10 +13136,10 @@ pub mod api { "Keys", vec![], [ - 6u8, 198u8, 221u8, 58u8, 14u8, 166u8, 245u8, 103u8, 191u8, 20u8, 69u8, - 233u8, 147u8, 245u8, 24u8, 64u8, 207u8, 180u8, 39u8, 208u8, 252u8, - 236u8, 247u8, 112u8, 187u8, 97u8, 70u8, 11u8, 248u8, 148u8, 208u8, - 106u8, + 111u8, 104u8, 188u8, 46u8, 152u8, 140u8, 137u8, 244u8, 52u8, 214u8, + 115u8, 156u8, 39u8, 239u8, 15u8, 168u8, 193u8, 125u8, 57u8, 195u8, + 250u8, 156u8, 234u8, 222u8, 222u8, 253u8, 135u8, 232u8, 196u8, 163u8, + 29u8, 218u8, ], ) } @@ -13092,10 +13166,10 @@ pub mod api { ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 233u8, 128u8, 140u8, 233u8, 55u8, 146u8, 172u8, 54u8, 54u8, 57u8, - 141u8, 106u8, 168u8, 59u8, 147u8, 253u8, 119u8, 48u8, 50u8, 251u8, - 242u8, 109u8, 251u8, 2u8, 136u8, 80u8, 146u8, 121u8, 180u8, 219u8, - 245u8, 37u8, + 244u8, 195u8, 226u8, 146u8, 31u8, 109u8, 70u8, 31u8, 198u8, 97u8, + 116u8, 249u8, 115u8, 191u8, 13u8, 96u8, 12u8, 200u8, 235u8, 254u8, 3u8, + 36u8, 51u8, 43u8, 224u8, 251u8, 76u8, 197u8, 157u8, 173u8, 125u8, + 161u8, ], ) } @@ -13117,10 +13191,10 @@ pub mod api { "ReceivedHeartbeats", Vec::new(), [ - 233u8, 128u8, 140u8, 233u8, 55u8, 146u8, 172u8, 54u8, 54u8, 57u8, - 141u8, 106u8, 168u8, 59u8, 147u8, 253u8, 119u8, 48u8, 50u8, 251u8, - 242u8, 109u8, 251u8, 2u8, 136u8, 80u8, 146u8, 121u8, 180u8, 219u8, - 245u8, 37u8, + 244u8, 195u8, 226u8, 146u8, 31u8, 109u8, 70u8, 31u8, 198u8, 97u8, + 116u8, 249u8, 115u8, 191u8, 13u8, 96u8, 12u8, 200u8, 235u8, 254u8, 3u8, + 36u8, 51u8, 43u8, 224u8, 251u8, 76u8, 197u8, 157u8, 173u8, 125u8, + 161u8, ], ) } @@ -13145,10 +13219,10 @@ pub mod api { ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 50u8, 4u8, 242u8, 240u8, 247u8, 184u8, 114u8, 245u8, 233u8, 170u8, - 24u8, 197u8, 18u8, 245u8, 8u8, 28u8, 33u8, 115u8, 166u8, 245u8, 221u8, - 223u8, 56u8, 144u8, 33u8, 139u8, 10u8, 227u8, 228u8, 223u8, 103u8, - 151u8, + 121u8, 246u8, 100u8, 191u8, 5u8, 211u8, 190u8, 244u8, 61u8, 73u8, + 169u8, 127u8, 116u8, 80u8, 118u8, 139u8, 115u8, 58u8, 125u8, 81u8, + 75u8, 20u8, 194u8, 74u8, 97u8, 188u8, 55u8, 160u8, 33u8, 155u8, 186u8, + 74u8, ], ) } @@ -13168,10 +13242,10 @@ pub mod api { "AuthoredBlocks", Vec::new(), [ - 50u8, 4u8, 242u8, 240u8, 247u8, 184u8, 114u8, 245u8, 233u8, 170u8, - 24u8, 197u8, 18u8, 245u8, 8u8, 28u8, 33u8, 115u8, 166u8, 245u8, 221u8, - 223u8, 56u8, 144u8, 33u8, 139u8, 10u8, 227u8, 228u8, 223u8, 103u8, - 151u8, + 121u8, 246u8, 100u8, 191u8, 5u8, 211u8, 190u8, 244u8, 61u8, 73u8, + 169u8, 127u8, 116u8, 80u8, 118u8, 139u8, 115u8, 58u8, 125u8, 81u8, + 75u8, 20u8, 194u8, 74u8, 97u8, 188u8, 55u8, 160u8, 33u8, 155u8, 186u8, + 74u8, ], ) } @@ -13587,9 +13661,10 @@ pub mod api { "propose", types::Propose { proposal, value }, [ - 123u8, 3u8, 204u8, 140u8, 194u8, 195u8, 214u8, 39u8, 167u8, 126u8, - 45u8, 4u8, 219u8, 17u8, 143u8, 185u8, 29u8, 224u8, 230u8, 68u8, 253u8, - 15u8, 170u8, 90u8, 232u8, 123u8, 46u8, 255u8, 168u8, 39u8, 204u8, 63u8, + 230u8, 248u8, 57u8, 131u8, 96u8, 178u8, 225u8, 150u8, 97u8, 77u8, + 246u8, 143u8, 151u8, 204u8, 201u8, 252u8, 133u8, 53u8, 34u8, 27u8, + 156u8, 2u8, 242u8, 170u8, 198u8, 157u8, 166u8, 84u8, 246u8, 86u8, 78u8, + 128u8, ], ) } @@ -13608,9 +13683,10 @@ pub mod api { "second", types::Second { proposal }, [ - 59u8, 240u8, 183u8, 218u8, 61u8, 93u8, 184u8, 67u8, 10u8, 4u8, 138u8, - 196u8, 168u8, 49u8, 42u8, 69u8, 154u8, 42u8, 90u8, 112u8, 179u8, 69u8, - 51u8, 148u8, 159u8, 212u8, 221u8, 226u8, 132u8, 228u8, 51u8, 83u8, + 195u8, 55u8, 178u8, 55u8, 129u8, 64u8, 10u8, 131u8, 217u8, 79u8, 1u8, + 187u8, 73u8, 126u8, 191u8, 221u8, 110u8, 10u8, 13u8, 65u8, 190u8, + 107u8, 21u8, 236u8, 175u8, 130u8, 227u8, 179u8, 173u8, 39u8, 32u8, + 147u8, ], ) } @@ -13633,9 +13709,10 @@ pub mod api { "vote", types::Vote { ref_index, vote }, [ - 138u8, 213u8, 229u8, 111u8, 1u8, 191u8, 73u8, 3u8, 145u8, 28u8, 44u8, - 88u8, 163u8, 188u8, 129u8, 188u8, 64u8, 15u8, 64u8, 103u8, 250u8, 97u8, - 234u8, 188u8, 29u8, 205u8, 51u8, 6u8, 116u8, 58u8, 156u8, 201u8, + 39u8, 113u8, 23u8, 175u8, 197u8, 225u8, 225u8, 129u8, 66u8, 50u8, + 236u8, 220u8, 50u8, 49u8, 98u8, 163u8, 176u8, 96u8, 17u8, 91u8, 28u8, + 187u8, 139u8, 148u8, 108u8, 110u8, 78u8, 253u8, 229u8, 3u8, 244u8, + 126u8, ], ) } @@ -13656,10 +13733,9 @@ pub mod api { "emergency_cancel", types::EmergencyCancel { ref_index }, [ - 139u8, 213u8, 133u8, 75u8, 34u8, 206u8, 124u8, 245u8, 35u8, 237u8, - 132u8, 92u8, 49u8, 167u8, 117u8, 80u8, 188u8, 93u8, 198u8, 237u8, - 132u8, 77u8, 195u8, 65u8, 29u8, 37u8, 86u8, 74u8, 214u8, 119u8, 71u8, - 204u8, + 82u8, 232u8, 19u8, 158u8, 88u8, 69u8, 96u8, 225u8, 106u8, 253u8, 6u8, + 136u8, 87u8, 0u8, 68u8, 128u8, 122u8, 16u8, 107u8, 76u8, 209u8, 14u8, + 230u8, 49u8, 228u8, 100u8, 187u8, 10u8, 76u8, 71u8, 197u8, 72u8, ], ) } @@ -13680,9 +13756,10 @@ pub mod api { "external_propose", types::ExternalPropose { proposal }, [ - 164u8, 193u8, 14u8, 122u8, 105u8, 232u8, 20u8, 194u8, 99u8, 227u8, - 36u8, 105u8, 218u8, 146u8, 16u8, 208u8, 56u8, 62u8, 100u8, 65u8, 35u8, - 33u8, 51u8, 208u8, 17u8, 43u8, 223u8, 198u8, 202u8, 16u8, 56u8, 75u8, + 247u8, 47u8, 180u8, 40u8, 205u8, 53u8, 99u8, 158u8, 4u8, 45u8, 157u8, + 247u8, 32u8, 117u8, 153u8, 170u8, 226u8, 250u8, 142u8, 38u8, 237u8, + 238u8, 75u8, 245u8, 184u8, 27u8, 157u8, 255u8, 213u8, 163u8, 92u8, + 251u8, ], ) } @@ -13708,10 +13785,10 @@ pub mod api { "external_propose_majority", types::ExternalProposeMajority { proposal }, [ - 129u8, 124u8, 147u8, 253u8, 69u8, 115u8, 230u8, 186u8, 155u8, 4u8, - 220u8, 103u8, 28u8, 132u8, 115u8, 153u8, 196u8, 88u8, 9u8, 130u8, - 129u8, 234u8, 75u8, 96u8, 202u8, 216u8, 145u8, 189u8, 231u8, 101u8, - 127u8, 11u8, + 107u8, 81u8, 160u8, 130u8, 242u8, 208u8, 22u8, 70u8, 237u8, 235u8, + 236u8, 60u8, 206u8, 172u8, 251u8, 138u8, 168u8, 124u8, 136u8, 95u8, + 3u8, 184u8, 12u8, 55u8, 125u8, 233u8, 20u8, 148u8, 36u8, 189u8, 16u8, + 245u8, ], ) } @@ -13737,9 +13814,10 @@ pub mod api { "external_propose_default", types::ExternalProposeDefault { proposal }, [ - 96u8, 15u8, 108u8, 208u8, 141u8, 247u8, 4u8, 73u8, 2u8, 30u8, 231u8, - 40u8, 184u8, 250u8, 42u8, 161u8, 248u8, 45u8, 217u8, 50u8, 53u8, 13u8, - 181u8, 214u8, 136u8, 51u8, 93u8, 95u8, 165u8, 3u8, 83u8, 190u8, + 238u8, 247u8, 252u8, 35u8, 78u8, 158u8, 221u8, 87u8, 252u8, 98u8, 67u8, + 44u8, 200u8, 206u8, 28u8, 19u8, 204u8, 13u8, 253u8, 133u8, 229u8, + 195u8, 166u8, 218u8, 114u8, 69u8, 23u8, 169u8, 67u8, 168u8, 46u8, + 176u8, ], ) } @@ -13774,9 +13852,10 @@ pub mod api { delay, }, [ - 125u8, 209u8, 107u8, 120u8, 93u8, 205u8, 129u8, 147u8, 254u8, 126u8, - 45u8, 126u8, 39u8, 0u8, 56u8, 14u8, 233u8, 49u8, 245u8, 220u8, 156u8, - 10u8, 252u8, 31u8, 102u8, 90u8, 163u8, 236u8, 178u8, 85u8, 13u8, 24u8, + 147u8, 226u8, 166u8, 105u8, 149u8, 171u8, 86u8, 165u8, 168u8, 78u8, + 233u8, 182u8, 118u8, 36u8, 82u8, 155u8, 209u8, 55u8, 153u8, 141u8, + 120u8, 223u8, 46u8, 170u8, 48u8, 94u8, 32u8, 144u8, 84u8, 203u8, 68u8, + 62u8, ], ) } @@ -13798,10 +13877,10 @@ pub mod api { "veto_external", types::VetoExternal { proposal_hash }, [ - 209u8, 18u8, 18u8, 103u8, 186u8, 160u8, 214u8, 124u8, 150u8, 207u8, - 112u8, 90u8, 84u8, 197u8, 95u8, 157u8, 165u8, 65u8, 109u8, 101u8, 75u8, - 201u8, 41u8, 149u8, 75u8, 154u8, 37u8, 178u8, 239u8, 121u8, 124u8, - 23u8, + 121u8, 217u8, 249u8, 134u8, 45u8, 19u8, 126u8, 166u8, 218u8, 223u8, + 165u8, 124u8, 162u8, 59u8, 56u8, 200u8, 227u8, 125u8, 23u8, 133u8, + 196u8, 93u8, 210u8, 15u8, 39u8, 26u8, 58u8, 236u8, 9u8, 101u8, 202u8, + 168u8, ], ) } @@ -13821,10 +13900,10 @@ pub mod api { "cancel_referendum", types::CancelReferendum { ref_index }, [ - 51u8, 25u8, 25u8, 251u8, 236u8, 115u8, 130u8, 230u8, 72u8, 186u8, - 119u8, 71u8, 165u8, 137u8, 55u8, 167u8, 187u8, 128u8, 55u8, 8u8, 212u8, - 139u8, 245u8, 232u8, 103u8, 136u8, 229u8, 113u8, 125u8, 36u8, 1u8, - 149u8, + 149u8, 120u8, 70u8, 20u8, 126u8, 21u8, 30u8, 33u8, 82u8, 124u8, 229u8, + 179u8, 169u8, 243u8, 173u8, 146u8, 140u8, 22u8, 124u8, 154u8, 228u8, + 117u8, 109u8, 88u8, 11u8, 100u8, 235u8, 243u8, 118u8, 99u8, 250u8, + 140u8, ], ) } @@ -13863,10 +13942,9 @@ pub mod api { balance, }, [ - 22u8, 205u8, 202u8, 196u8, 63u8, 1u8, 196u8, 109u8, 4u8, 190u8, 38u8, - 142u8, 248u8, 200u8, 136u8, 12u8, 194u8, 170u8, 237u8, 176u8, 70u8, - 21u8, 112u8, 154u8, 93u8, 169u8, 211u8, 120u8, 156u8, 68u8, 14u8, - 231u8, + 88u8, 58u8, 42u8, 172u8, 33u8, 212u8, 13u8, 24u8, 172u8, 217u8, 147u8, + 144u8, 62u8, 28u8, 38u8, 65u8, 90u8, 94u8, 212u8, 217u8, 74u8, 38u8, + 133u8, 168u8, 136u8, 43u8, 46u8, 136u8, 149u8, 22u8, 200u8, 217u8, ], ) } @@ -13888,10 +13966,10 @@ pub mod api { "undelegate", types::Undelegate {}, [ - 165u8, 40u8, 183u8, 209u8, 57u8, 153u8, 111u8, 29u8, 114u8, 109u8, - 107u8, 235u8, 97u8, 61u8, 53u8, 155u8, 44u8, 245u8, 28u8, 220u8, 56u8, - 134u8, 43u8, 122u8, 248u8, 156u8, 191u8, 154u8, 4u8, 121u8, 152u8, - 153u8, + 225u8, 156u8, 102u8, 1u8, 172u8, 145u8, 88u8, 12u8, 89u8, 32u8, 51u8, + 83u8, 25u8, 149u8, 132u8, 203u8, 246u8, 98u8, 155u8, 36u8, 165u8, + 206u8, 233u8, 169u8, 91u8, 85u8, 105u8, 67u8, 46u8, 134u8, 244u8, + 250u8, ], ) } @@ -13908,10 +13986,10 @@ pub mod api { "clear_public_proposals", types::ClearPublicProposals {}, [ - 59u8, 126u8, 254u8, 223u8, 252u8, 225u8, 75u8, 185u8, 188u8, 181u8, - 42u8, 179u8, 211u8, 73u8, 12u8, 141u8, 243u8, 197u8, 46u8, 130u8, - 215u8, 196u8, 225u8, 88u8, 48u8, 199u8, 231u8, 249u8, 195u8, 53u8, - 184u8, 204u8, + 116u8, 160u8, 246u8, 216u8, 23u8, 188u8, 144u8, 63u8, 97u8, 198u8, + 11u8, 243u8, 165u8, 84u8, 159u8, 153u8, 235u8, 169u8, 166u8, 15u8, + 23u8, 116u8, 30u8, 56u8, 133u8, 31u8, 158u8, 114u8, 158u8, 86u8, 106u8, + 93u8, ], ) } @@ -13931,9 +14009,9 @@ pub mod api { "unlock", types::Unlock { target }, [ - 126u8, 151u8, 230u8, 89u8, 49u8, 247u8, 242u8, 139u8, 190u8, 15u8, - 47u8, 2u8, 132u8, 165u8, 48u8, 205u8, 196u8, 66u8, 230u8, 222u8, 164u8, - 249u8, 152u8, 107u8, 0u8, 99u8, 238u8, 167u8, 72u8, 77u8, 145u8, 236u8, + 158u8, 211u8, 121u8, 157u8, 250u8, 194u8, 139u8, 166u8, 111u8, 66u8, + 114u8, 82u8, 190u8, 51u8, 40u8, 78u8, 35u8, 217u8, 91u8, 204u8, 85u8, + 253u8, 175u8, 14u8, 205u8, 37u8, 22u8, 118u8, 0u8, 6u8, 235u8, 143u8, ], ) } @@ -13973,10 +14051,10 @@ pub mod api { "remove_vote", types::RemoveVote { index }, [ - 148u8, 120u8, 14u8, 172u8, 81u8, 152u8, 159u8, 178u8, 106u8, 244u8, - 36u8, 98u8, 120u8, 189u8, 213u8, 93u8, 119u8, 156u8, 112u8, 34u8, - 241u8, 72u8, 206u8, 113u8, 212u8, 161u8, 164u8, 126u8, 122u8, 82u8, - 160u8, 74u8, + 98u8, 146u8, 215u8, 63u8, 222u8, 70u8, 61u8, 186u8, 90u8, 34u8, 63u8, + 25u8, 195u8, 119u8, 228u8, 189u8, 38u8, 163u8, 58u8, 210u8, 216u8, + 156u8, 20u8, 204u8, 136u8, 192u8, 33u8, 210u8, 124u8, 65u8, 153u8, + 105u8, ], ) } @@ -14005,9 +14083,9 @@ pub mod api { "remove_other_vote", types::RemoveOtherVote { target, index }, [ - 151u8, 190u8, 115u8, 124u8, 185u8, 43u8, 70u8, 147u8, 98u8, 167u8, - 120u8, 25u8, 231u8, 143u8, 214u8, 25u8, 240u8, 74u8, 35u8, 58u8, 206u8, - 78u8, 121u8, 215u8, 190u8, 42u8, 2u8, 206u8, 241u8, 44u8, 92u8, 23u8, + 130u8, 92u8, 224u8, 67u8, 200u8, 201u8, 9u8, 178u8, 138u8, 81u8, 37u8, + 130u8, 216u8, 75u8, 233u8, 119u8, 141u8, 89u8, 188u8, 61u8, 162u8, + 43u8, 136u8, 92u8, 227u8, 1u8, 160u8, 240u8, 26u8, 77u8, 222u8, 245u8, ], ) } @@ -14039,10 +14117,10 @@ pub mod api { maybe_ref_index, }, [ - 48u8, 144u8, 81u8, 164u8, 54u8, 111u8, 197u8, 134u8, 6u8, 98u8, 121u8, - 179u8, 254u8, 191u8, 204u8, 212u8, 84u8, 255u8, 86u8, 110u8, 225u8, - 130u8, 26u8, 65u8, 133u8, 56u8, 231u8, 15u8, 245u8, 137u8, 146u8, - 242u8, + 227u8, 200u8, 88u8, 154u8, 134u8, 121u8, 131u8, 177u8, 94u8, 119u8, + 12u8, 129u8, 150u8, 59u8, 108u8, 103u8, 109u8, 55u8, 220u8, 211u8, + 250u8, 103u8, 160u8, 170u8, 63u8, 142u8, 112u8, 244u8, 29u8, 238u8, + 101u8, 24u8, ], ) } @@ -14062,10 +14140,9 @@ pub mod api { "cancel_proposal", types::CancelProposal { prop_index }, [ - 179u8, 3u8, 198u8, 244u8, 241u8, 124u8, 205u8, 58u8, 100u8, 80u8, - 177u8, 254u8, 98u8, 220u8, 189u8, 63u8, 229u8, 60u8, 157u8, 83u8, - 142u8, 6u8, 236u8, 183u8, 193u8, 235u8, 253u8, 126u8, 153u8, 185u8, - 74u8, 117u8, + 213u8, 5u8, 215u8, 209u8, 71u8, 229u8, 66u8, 38u8, 171u8, 38u8, 14u8, + 103u8, 248u8, 176u8, 217u8, 143u8, 234u8, 89u8, 110u8, 250u8, 3u8, + 190u8, 151u8, 74u8, 55u8, 58u8, 249u8, 138u8, 25u8, 191u8, 55u8, 142u8, ], ) } @@ -14094,9 +14171,10 @@ pub mod api { "set_metadata", types::SetMetadata { owner, maybe_hash }, [ - 182u8, 2u8, 168u8, 244u8, 247u8, 35u8, 65u8, 9u8, 39u8, 164u8, 30u8, - 141u8, 69u8, 137u8, 75u8, 156u8, 158u8, 107u8, 67u8, 28u8, 145u8, 65u8, - 175u8, 30u8, 254u8, 231u8, 4u8, 77u8, 207u8, 166u8, 157u8, 73u8, + 192u8, 174u8, 122u8, 229u8, 149u8, 49u8, 155u8, 209u8, 226u8, 255u8, + 46u8, 43u8, 77u8, 164u8, 226u8, 254u8, 207u8, 110u8, 222u8, 131u8, + 220u8, 53u8, 95u8, 170u8, 128u8, 212u8, 236u8, 168u8, 156u8, 29u8, + 151u8, 40u8, ], ) } @@ -14448,10 +14526,10 @@ pub mod api { "PublicPropCount", vec![], [ - 91u8, 14u8, 171u8, 94u8, 37u8, 157u8, 46u8, 157u8, 254u8, 13u8, 68u8, - 144u8, 23u8, 146u8, 128u8, 159u8, 9u8, 174u8, 74u8, 174u8, 218u8, - 197u8, 23u8, 235u8, 152u8, 226u8, 216u8, 4u8, 120u8, 121u8, 27u8, - 138u8, + 51u8, 175u8, 184u8, 94u8, 91u8, 212u8, 100u8, 108u8, 127u8, 162u8, + 233u8, 137u8, 12u8, 209u8, 29u8, 130u8, 125u8, 179u8, 208u8, 160u8, + 173u8, 149u8, 12u8, 111u8, 1u8, 82u8, 196u8, 137u8, 51u8, 204u8, 153u8, + 198u8, ], ) } @@ -14476,10 +14554,9 @@ pub mod api { "PublicProps", vec![], [ - 63u8, 172u8, 211u8, 85u8, 27u8, 14u8, 86u8, 49u8, 133u8, 5u8, 132u8, - 189u8, 138u8, 137u8, 219u8, 37u8, 209u8, 49u8, 172u8, 86u8, 240u8, - 235u8, 42u8, 201u8, 203u8, 12u8, 122u8, 225u8, 0u8, 109u8, 205u8, - 103u8, + 156u8, 21u8, 84u8, 229u8, 193u8, 34u8, 28u8, 230u8, 11u8, 108u8, 2u8, + 84u8, 188u8, 11u8, 25u8, 55u8, 130u8, 80u8, 164u8, 239u8, 150u8, 77u8, + 4u8, 246u8, 174u8, 16u8, 232u8, 23u8, 9u8, 194u8, 177u8, 73u8, ], ) } @@ -14508,9 +14585,9 @@ pub mod api { _0.borrow(), )], [ - 9u8, 219u8, 11u8, 58u8, 17u8, 194u8, 248u8, 154u8, 135u8, 119u8, 123u8, - 235u8, 252u8, 176u8, 190u8, 162u8, 236u8, 45u8, 237u8, 125u8, 98u8, - 176u8, 184u8, 160u8, 8u8, 181u8, 213u8, 65u8, 14u8, 84u8, 200u8, 64u8, + 115u8, 12u8, 250u8, 191u8, 201u8, 165u8, 90u8, 140u8, 101u8, 47u8, + 46u8, 3u8, 78u8, 30u8, 180u8, 22u8, 28u8, 154u8, 36u8, 99u8, 255u8, + 84u8, 33u8, 21u8, 65u8, 110u8, 52u8, 245u8, 19u8, 6u8, 104u8, 167u8, ], ) } @@ -14536,9 +14613,9 @@ pub mod api { "DepositOf", Vec::new(), [ - 9u8, 219u8, 11u8, 58u8, 17u8, 194u8, 248u8, 154u8, 135u8, 119u8, 123u8, - 235u8, 252u8, 176u8, 190u8, 162u8, 236u8, 45u8, 237u8, 125u8, 98u8, - 176u8, 184u8, 160u8, 8u8, 181u8, 213u8, 65u8, 14u8, 84u8, 200u8, 64u8, + 115u8, 12u8, 250u8, 191u8, 201u8, 165u8, 90u8, 140u8, 101u8, 47u8, + 46u8, 3u8, 78u8, 30u8, 180u8, 22u8, 28u8, 154u8, 36u8, 99u8, 255u8, + 84u8, 33u8, 21u8, 65u8, 110u8, 52u8, 245u8, 19u8, 6u8, 104u8, 167u8, ], ) } @@ -14557,10 +14634,10 @@ pub mod api { "ReferendumCount", vec![], [ - 153u8, 210u8, 106u8, 244u8, 156u8, 70u8, 124u8, 251u8, 123u8, 75u8, - 7u8, 189u8, 199u8, 145u8, 95u8, 119u8, 137u8, 11u8, 240u8, 160u8, - 151u8, 248u8, 229u8, 231u8, 89u8, 222u8, 18u8, 237u8, 144u8, 78u8, - 99u8, 58u8, + 64u8, 145u8, 232u8, 153u8, 121u8, 87u8, 128u8, 253u8, 170u8, 192u8, + 139u8, 18u8, 0u8, 33u8, 243u8, 11u8, 238u8, 222u8, 244u8, 5u8, 247u8, + 198u8, 149u8, 31u8, 122u8, 208u8, 86u8, 179u8, 166u8, 167u8, 93u8, + 67u8, ], ) } @@ -14580,9 +14657,9 @@ pub mod api { "LowestUnbaked", vec![], [ - 4u8, 51u8, 108u8, 11u8, 48u8, 165u8, 19u8, 251u8, 182u8, 76u8, 163u8, - 73u8, 227u8, 2u8, 212u8, 74u8, 128u8, 27u8, 165u8, 164u8, 111u8, 22u8, - 209u8, 190u8, 103u8, 7u8, 116u8, 16u8, 160u8, 144u8, 123u8, 64u8, + 237u8, 222u8, 144u8, 214u8, 0u8, 186u8, 81u8, 176u8, 51u8, 14u8, 204u8, + 184u8, 147u8, 97u8, 187u8, 84u8, 40u8, 8u8, 86u8, 241u8, 16u8, 157u8, + 202u8, 44u8, 185u8, 111u8, 70u8, 114u8, 40u8, 135u8, 1u8, 155u8, ], ) } @@ -14612,10 +14689,10 @@ pub mod api { _0.borrow(), )], [ - 167u8, 58u8, 230u8, 197u8, 185u8, 56u8, 181u8, 32u8, 81u8, 150u8, 29u8, - 138u8, 142u8, 38u8, 255u8, 216u8, 139u8, 93u8, 56u8, 148u8, 196u8, - 169u8, 168u8, 144u8, 193u8, 200u8, 187u8, 5u8, 141u8, 201u8, 254u8, - 248u8, + 250u8, 201u8, 144u8, 220u8, 13u8, 14u8, 69u8, 171u8, 240u8, 119u8, + 158u8, 200u8, 86u8, 77u8, 115u8, 156u8, 156u8, 101u8, 215u8, 233u8, + 165u8, 96u8, 62u8, 201u8, 83u8, 203u8, 58u8, 67u8, 49u8, 174u8, 86u8, + 242u8, ], ) } @@ -14642,10 +14719,10 @@ pub mod api { "ReferendumInfoOf", Vec::new(), [ - 167u8, 58u8, 230u8, 197u8, 185u8, 56u8, 181u8, 32u8, 81u8, 150u8, 29u8, - 138u8, 142u8, 38u8, 255u8, 216u8, 139u8, 93u8, 56u8, 148u8, 196u8, - 169u8, 168u8, 144u8, 193u8, 200u8, 187u8, 5u8, 141u8, 201u8, 254u8, - 248u8, + 250u8, 201u8, 144u8, 220u8, 13u8, 14u8, 69u8, 171u8, 240u8, 119u8, + 158u8, 200u8, 86u8, 77u8, 115u8, 156u8, 156u8, 101u8, 215u8, 233u8, + 165u8, 96u8, 62u8, 201u8, 83u8, 203u8, 58u8, 67u8, 49u8, 174u8, 86u8, + 242u8, ], ) } @@ -14674,9 +14751,10 @@ pub mod api { _0.borrow(), )], [ - 125u8, 121u8, 167u8, 170u8, 18u8, 194u8, 183u8, 38u8, 176u8, 48u8, - 30u8, 88u8, 233u8, 196u8, 33u8, 119u8, 160u8, 201u8, 29u8, 183u8, 88u8, - 67u8, 219u8, 137u8, 6u8, 195u8, 11u8, 63u8, 162u8, 181u8, 82u8, 243u8, + 170u8, 234u8, 179u8, 190u8, 153u8, 172u8, 83u8, 105u8, 57u8, 88u8, + 183u8, 54u8, 172u8, 149u8, 222u8, 240u8, 128u8, 46u8, 25u8, 10u8, + 205u8, 69u8, 164u8, 173u8, 55u8, 188u8, 196u8, 51u8, 129u8, 206u8, + 87u8, 249u8, ], ) } @@ -14702,9 +14780,10 @@ pub mod api { "VotingOf", Vec::new(), [ - 125u8, 121u8, 167u8, 170u8, 18u8, 194u8, 183u8, 38u8, 176u8, 48u8, - 30u8, 88u8, 233u8, 196u8, 33u8, 119u8, 160u8, 201u8, 29u8, 183u8, 88u8, - 67u8, 219u8, 137u8, 6u8, 195u8, 11u8, 63u8, 162u8, 181u8, 82u8, 243u8, + 170u8, 234u8, 179u8, 190u8, 153u8, 172u8, 83u8, 105u8, 57u8, 88u8, + 183u8, 54u8, 172u8, 149u8, 222u8, 240u8, 128u8, 46u8, 25u8, 10u8, + 205u8, 69u8, 164u8, 173u8, 55u8, 188u8, 196u8, 51u8, 129u8, 206u8, + 87u8, 249u8, ], ) } @@ -14724,9 +14803,9 @@ pub mod api { "LastTabledWasExternal", vec![], [ - 3u8, 67u8, 106u8, 1u8, 89u8, 204u8, 4u8, 145u8, 121u8, 44u8, 34u8, - 76u8, 18u8, 206u8, 65u8, 214u8, 222u8, 82u8, 31u8, 223u8, 144u8, 169u8, - 17u8, 6u8, 138u8, 36u8, 113u8, 155u8, 241u8, 106u8, 189u8, 218u8, + 162u8, 201u8, 72u8, 9u8, 78u8, 49u8, 72u8, 62u8, 240u8, 69u8, 20u8, + 135u8, 26u8, 59u8, 71u8, 46u8, 19u8, 25u8, 195u8, 11u8, 99u8, 31u8, + 104u8, 4u8, 24u8, 129u8, 47u8, 69u8, 219u8, 178u8, 104u8, 190u8, ], ) } @@ -14753,10 +14832,9 @@ pub mod api { "NextExternal", vec![], [ - 213u8, 36u8, 235u8, 75u8, 153u8, 33u8, 140u8, 121u8, 191u8, 197u8, - 17u8, 57u8, 234u8, 67u8, 81u8, 55u8, 123u8, 179u8, 207u8, 124u8, 238u8, - 147u8, 243u8, 126u8, 200u8, 2u8, 16u8, 143u8, 165u8, 143u8, 159u8, - 93u8, + 130u8, 253u8, 139u8, 228u8, 253u8, 181u8, 172u8, 14u8, 214u8, 128u8, + 17u8, 195u8, 104u8, 64u8, 64u8, 132u8, 40u8, 212u8, 80u8, 47u8, 225u8, + 224u8, 9u8, 186u8, 80u8, 118u8, 120u8, 174u8, 174u8, 20u8, 150u8, 13u8, ], ) } @@ -14784,10 +14862,9 @@ pub mod api { _0.borrow(), )], [ - 8u8, 227u8, 185u8, 179u8, 192u8, 92u8, 171u8, 125u8, 237u8, 224u8, - 109u8, 207u8, 44u8, 181u8, 78u8, 17u8, 254u8, 183u8, 199u8, 241u8, - 49u8, 90u8, 101u8, 168u8, 46u8, 89u8, 253u8, 155u8, 38u8, 183u8, 112u8, - 35u8, + 238u8, 119u8, 98u8, 220u8, 11u8, 209u8, 90u8, 9u8, 69u8, 51u8, 59u8, + 177u8, 169u8, 113u8, 138u8, 13u8, 134u8, 14u8, 184u8, 6u8, 80u8, 182u8, + 154u8, 10u8, 100u8, 71u8, 117u8, 2u8, 150u8, 170u8, 154u8, 255u8, ], ) } @@ -14812,10 +14889,9 @@ pub mod api { "Blacklist", Vec::new(), [ - 8u8, 227u8, 185u8, 179u8, 192u8, 92u8, 171u8, 125u8, 237u8, 224u8, - 109u8, 207u8, 44u8, 181u8, 78u8, 17u8, 254u8, 183u8, 199u8, 241u8, - 49u8, 90u8, 101u8, 168u8, 46u8, 89u8, 253u8, 155u8, 38u8, 183u8, 112u8, - 35u8, + 238u8, 119u8, 98u8, 220u8, 11u8, 209u8, 90u8, 9u8, 69u8, 51u8, 59u8, + 177u8, 169u8, 113u8, 138u8, 13u8, 134u8, 14u8, 184u8, 6u8, 80u8, 182u8, + 154u8, 10u8, 100u8, 71u8, 117u8, 2u8, 150u8, 170u8, 154u8, 255u8, ], ) } @@ -14837,10 +14913,10 @@ pub mod api { _0.borrow(), )], [ - 154u8, 36u8, 172u8, 46u8, 65u8, 218u8, 30u8, 151u8, 173u8, 186u8, - 166u8, 79u8, 35u8, 226u8, 94u8, 200u8, 67u8, 44u8, 47u8, 7u8, 17u8, - 89u8, 169u8, 166u8, 236u8, 101u8, 68u8, 54u8, 114u8, 141u8, 177u8, - 135u8, + 80u8, 190u8, 98u8, 105u8, 129u8, 25u8, 167u8, 180u8, 74u8, 128u8, + 232u8, 29u8, 193u8, 209u8, 185u8, 60u8, 18u8, 180u8, 59u8, 192u8, + 149u8, 13u8, 123u8, 232u8, 34u8, 208u8, 48u8, 104u8, 35u8, 181u8, + 186u8, 244u8, ], ) } @@ -14859,10 +14935,10 @@ pub mod api { "Cancellations", Vec::new(), [ - 154u8, 36u8, 172u8, 46u8, 65u8, 218u8, 30u8, 151u8, 173u8, 186u8, - 166u8, 79u8, 35u8, 226u8, 94u8, 200u8, 67u8, 44u8, 47u8, 7u8, 17u8, - 89u8, 169u8, 166u8, 236u8, 101u8, 68u8, 54u8, 114u8, 141u8, 177u8, - 135u8, + 80u8, 190u8, 98u8, 105u8, 129u8, 25u8, 167u8, 180u8, 74u8, 128u8, + 232u8, 29u8, 193u8, 209u8, 185u8, 60u8, 18u8, 180u8, 59u8, 192u8, + 149u8, 13u8, 123u8, 232u8, 34u8, 208u8, 48u8, 104u8, 35u8, 181u8, + 186u8, 244u8, ], ) } @@ -14891,10 +14967,10 @@ pub mod api { _0.borrow(), )], [ - 157u8, 252u8, 120u8, 151u8, 76u8, 82u8, 189u8, 77u8, 196u8, 65u8, - 113u8, 138u8, 138u8, 57u8, 199u8, 136u8, 22u8, 35u8, 114u8, 144u8, - 172u8, 42u8, 130u8, 19u8, 19u8, 245u8, 76u8, 177u8, 145u8, 146u8, - 107u8, 23u8, + 241u8, 106u8, 118u8, 66u8, 219u8, 192u8, 185u8, 117u8, 144u8, 174u8, + 171u8, 207u8, 181u8, 32u8, 133u8, 127u8, 160u8, 218u8, 113u8, 153u8, + 160u8, 7u8, 72u8, 58u8, 187u8, 96u8, 51u8, 236u8, 64u8, 80u8, 123u8, + 254u8, ], ) } @@ -14918,10 +14994,10 @@ pub mod api { "MetadataOf", Vec::new(), [ - 157u8, 252u8, 120u8, 151u8, 76u8, 82u8, 189u8, 77u8, 196u8, 65u8, - 113u8, 138u8, 138u8, 57u8, 199u8, 136u8, 22u8, 35u8, 114u8, 144u8, - 172u8, 42u8, 130u8, 19u8, 19u8, 245u8, 76u8, 177u8, 145u8, 146u8, - 107u8, 23u8, + 241u8, 106u8, 118u8, 66u8, 219u8, 192u8, 185u8, 117u8, 144u8, 174u8, + 171u8, 207u8, 181u8, 32u8, 133u8, 127u8, 160u8, 218u8, 113u8, 153u8, + 160u8, 7u8, 72u8, 58u8, 187u8, 96u8, 51u8, 236u8, 64u8, 80u8, 123u8, + 254u8, ], ) } @@ -15287,10 +15363,10 @@ pub mod api { old_count, }, [ - 196u8, 103u8, 123u8, 125u8, 226u8, 177u8, 126u8, 37u8, 160u8, 114u8, - 34u8, 136u8, 219u8, 84u8, 199u8, 94u8, 242u8, 20u8, 126u8, 126u8, - 166u8, 190u8, 198u8, 33u8, 162u8, 113u8, 237u8, 222u8, 90u8, 1u8, 2u8, - 234u8, + 141u8, 113u8, 137u8, 46u8, 75u8, 22u8, 143u8, 204u8, 50u8, 24u8, 137u8, + 25u8, 226u8, 166u8, 121u8, 161u8, 54u8, 144u8, 12u8, 145u8, 157u8, + 153u8, 47u8, 144u8, 94u8, 34u8, 217u8, 115u8, 125u8, 152u8, 110u8, + 28u8, ], ) } @@ -15316,9 +15392,10 @@ pub mod api { length_bound, }, [ - 0u8, 74u8, 70u8, 223u8, 112u8, 196u8, 199u8, 189u8, 93u8, 14u8, 101u8, - 211u8, 221u8, 38u8, 32u8, 220u8, 90u8, 120u8, 94u8, 107u8, 46u8, 121u8, - 250u8, 150u8, 26u8, 24u8, 20u8, 242u8, 253u8, 229u8, 43u8, 195u8, + 118u8, 178u8, 220u8, 249u8, 127u8, 175u8, 151u8, 231u8, 41u8, 91u8, + 48u8, 28u8, 181u8, 249u8, 95u8, 131u8, 89u8, 144u8, 70u8, 9u8, 58u8, + 172u8, 78u8, 224u8, 166u8, 166u8, 159u8, 110u8, 248u8, 32u8, 35u8, + 213u8, ], ) } @@ -15351,9 +15428,9 @@ pub mod api { length_bound, }, [ - 157u8, 103u8, 73u8, 75u8, 15u8, 79u8, 50u8, 64u8, 5u8, 151u8, 194u8, - 216u8, 45u8, 47u8, 128u8, 206u8, 191u8, 52u8, 5u8, 104u8, 70u8, 6u8, - 139u8, 184u8, 12u8, 190u8, 109u8, 132u8, 195u8, 177u8, 197u8, 179u8, + 196u8, 235u8, 52u8, 130u8, 42u8, 10u8, 1u8, 177u8, 190u8, 43u8, 229u8, + 23u8, 17u8, 69u8, 209u8, 120u8, 238u8, 245u8, 250u8, 237u8, 137u8, + 42u8, 100u8, 193u8, 18u8, 89u8, 81u8, 108u8, 30u8, 0u8, 253u8, 92u8, ], ) } @@ -15381,9 +15458,10 @@ pub mod api { approve, }, [ - 108u8, 46u8, 180u8, 148u8, 145u8, 24u8, 173u8, 56u8, 36u8, 100u8, - 216u8, 43u8, 178u8, 202u8, 26u8, 136u8, 93u8, 84u8, 80u8, 134u8, 14u8, - 42u8, 248u8, 205u8, 68u8, 92u8, 79u8, 11u8, 113u8, 115u8, 157u8, 100u8, + 110u8, 141u8, 24u8, 33u8, 91u8, 7u8, 89u8, 198u8, 54u8, 10u8, 76u8, + 129u8, 45u8, 20u8, 216u8, 104u8, 231u8, 246u8, 174u8, 205u8, 190u8, + 176u8, 171u8, 113u8, 33u8, 37u8, 155u8, 203u8, 251u8, 34u8, 25u8, + 120u8, ], ) } @@ -15406,9 +15484,9 @@ pub mod api { "disapprove_proposal", types::DisapproveProposal { proposal_hash }, [ - 25u8, 123u8, 1u8, 8u8, 74u8, 37u8, 3u8, 40u8, 97u8, 37u8, 175u8, 224u8, - 72u8, 155u8, 123u8, 109u8, 104u8, 43u8, 91u8, 125u8, 199u8, 51u8, 17u8, - 225u8, 133u8, 38u8, 120u8, 76u8, 164u8, 5u8, 194u8, 201u8, + 26u8, 140u8, 111u8, 193u8, 229u8, 59u8, 53u8, 196u8, 230u8, 60u8, 7u8, + 155u8, 168u8, 7u8, 201u8, 177u8, 70u8, 103u8, 190u8, 57u8, 244u8, + 156u8, 67u8, 101u8, 228u8, 6u8, 213u8, 83u8, 225u8, 95u8, 148u8, 96u8, ], ) } @@ -15453,9 +15531,9 @@ pub mod api { length_bound, }, [ - 191u8, 138u8, 89u8, 247u8, 97u8, 51u8, 45u8, 193u8, 76u8, 16u8, 80u8, - 225u8, 197u8, 83u8, 204u8, 133u8, 169u8, 16u8, 86u8, 32u8, 125u8, 16u8, - 116u8, 185u8, 45u8, 20u8, 76u8, 148u8, 206u8, 163u8, 154u8, 30u8, + 189u8, 149u8, 125u8, 63u8, 39u8, 201u8, 247u8, 4u8, 220u8, 74u8, 78u8, + 14u8, 113u8, 163u8, 1u8, 159u8, 81u8, 248u8, 141u8, 111u8, 34u8, 243u8, + 67u8, 70u8, 60u8, 92u8, 47u8, 70u8, 66u8, 246u8, 236u8, 153u8, ], ) } @@ -15626,10 +15704,9 @@ pub mod api { "Proposals", vec![], [ - 10u8, 133u8, 82u8, 54u8, 193u8, 41u8, 253u8, 159u8, 56u8, 96u8, 249u8, - 148u8, 43u8, 57u8, 116u8, 43u8, 222u8, 243u8, 237u8, 231u8, 238u8, - 60u8, 26u8, 225u8, 19u8, 203u8, 213u8, 220u8, 114u8, 217u8, 100u8, - 27u8, + 210u8, 234u8, 7u8, 29u8, 231u8, 80u8, 17u8, 36u8, 189u8, 34u8, 175u8, + 147u8, 56u8, 92u8, 201u8, 104u8, 207u8, 150u8, 58u8, 110u8, 90u8, 28u8, + 198u8, 79u8, 236u8, 245u8, 19u8, 38u8, 68u8, 59u8, 215u8, 74u8, ], ) } @@ -15651,9 +15728,10 @@ pub mod api { _0.borrow(), )], [ - 6u8, 23u8, 244u8, 48u8, 73u8, 203u8, 222u8, 109u8, 218u8, 166u8, 6u8, - 137u8, 121u8, 88u8, 54u8, 188u8, 37u8, 8u8, 229u8, 217u8, 170u8, 108u8, - 198u8, 66u8, 36u8, 92u8, 107u8, 168u8, 162u8, 204u8, 210u8, 20u8, + 121u8, 123u8, 184u8, 84u8, 246u8, 113u8, 189u8, 253u8, 37u8, 96u8, + 99u8, 188u8, 43u8, 159u8, 53u8, 140u8, 148u8, 127u8, 87u8, 178u8, + 240u8, 104u8, 9u8, 10u8, 84u8, 21u8, 217u8, 6u8, 247u8, 69u8, 87u8, + 151u8, ], ) } @@ -15672,9 +15750,10 @@ pub mod api { "ProposalOf", Vec::new(), [ - 6u8, 23u8, 244u8, 48u8, 73u8, 203u8, 222u8, 109u8, 218u8, 166u8, 6u8, - 137u8, 121u8, 88u8, 54u8, 188u8, 37u8, 8u8, 229u8, 217u8, 170u8, 108u8, - 198u8, 66u8, 36u8, 92u8, 107u8, 168u8, 162u8, 204u8, 210u8, 20u8, + 121u8, 123u8, 184u8, 84u8, 246u8, 113u8, 189u8, 253u8, 37u8, 96u8, + 99u8, 188u8, 43u8, 159u8, 53u8, 140u8, 148u8, 127u8, 87u8, 178u8, + 240u8, 104u8, 9u8, 10u8, 84u8, 21u8, 217u8, 6u8, 247u8, 69u8, 87u8, + 151u8, ], ) } @@ -15699,10 +15778,9 @@ pub mod api { _0.borrow(), )], [ - 89u8, 108u8, 65u8, 58u8, 60u8, 116u8, 54u8, 68u8, 179u8, 73u8, 161u8, - 168u8, 78u8, 213u8, 208u8, 54u8, 244u8, 58u8, 70u8, 209u8, 170u8, - 136u8, 215u8, 3u8, 2u8, 105u8, 229u8, 217u8, 240u8, 230u8, 107u8, - 221u8, + 56u8, 192u8, 111u8, 180u8, 253u8, 5u8, 232u8, 126u8, 177u8, 48u8, + 135u8, 39u8, 89u8, 71u8, 62u8, 239u8, 216u8, 17u8, 64u8, 82u8, 130u8, + 236u8, 96u8, 89u8, 167u8, 2u8, 118u8, 113u8, 63u8, 176u8, 124u8, 73u8, ], ) } @@ -15724,10 +15802,9 @@ pub mod api { "Voting", Vec::new(), [ - 89u8, 108u8, 65u8, 58u8, 60u8, 116u8, 54u8, 68u8, 179u8, 73u8, 161u8, - 168u8, 78u8, 213u8, 208u8, 54u8, 244u8, 58u8, 70u8, 209u8, 170u8, - 136u8, 215u8, 3u8, 2u8, 105u8, 229u8, 217u8, 240u8, 230u8, 107u8, - 221u8, + 56u8, 192u8, 111u8, 180u8, 253u8, 5u8, 232u8, 126u8, 177u8, 48u8, + 135u8, 39u8, 89u8, 71u8, 62u8, 239u8, 216u8, 17u8, 64u8, 82u8, 130u8, + 236u8, 96u8, 89u8, 167u8, 2u8, 118u8, 113u8, 63u8, 176u8, 124u8, 73u8, ], ) } @@ -15746,10 +15823,9 @@ pub mod api { "ProposalCount", vec![], [ - 132u8, 145u8, 78u8, 218u8, 51u8, 189u8, 55u8, 172u8, 143u8, 33u8, - 140u8, 99u8, 124u8, 208u8, 57u8, 232u8, 154u8, 110u8, 32u8, 142u8, - 24u8, 149u8, 109u8, 105u8, 30u8, 83u8, 39u8, 177u8, 127u8, 160u8, 34u8, - 70u8, + 91u8, 238u8, 246u8, 106u8, 95u8, 66u8, 83u8, 134u8, 1u8, 225u8, 164u8, + 216u8, 113u8, 101u8, 203u8, 200u8, 113u8, 97u8, 246u8, 228u8, 140u8, + 29u8, 29u8, 48u8, 176u8, 137u8, 93u8, 230u8, 56u8, 75u8, 51u8, 149u8, ], ) } @@ -15768,10 +15844,9 @@ pub mod api { "Members", vec![], [ - 162u8, 72u8, 174u8, 204u8, 140u8, 105u8, 205u8, 176u8, 197u8, 117u8, - 206u8, 134u8, 157u8, 110u8, 139u8, 54u8, 43u8, 233u8, 25u8, 51u8, 36u8, - 238u8, 94u8, 124u8, 221u8, 52u8, 237u8, 71u8, 125u8, 56u8, 129u8, - 222u8, + 16u8, 29u8, 32u8, 222u8, 175u8, 136u8, 111u8, 101u8, 43u8, 74u8, 209u8, + 81u8, 47u8, 97u8, 129u8, 39u8, 225u8, 243u8, 110u8, 229u8, 237u8, 21u8, + 90u8, 127u8, 80u8, 239u8, 156u8, 32u8, 90u8, 109u8, 179u8, 0u8, ], ) } @@ -15790,10 +15865,9 @@ pub mod api { "Prime", vec![], [ - 108u8, 118u8, 54u8, 193u8, 207u8, 227u8, 119u8, 97u8, 23u8, 239u8, - 157u8, 69u8, 56u8, 142u8, 106u8, 17u8, 215u8, 159u8, 48u8, 42u8, 185u8, - 209u8, 49u8, 159u8, 32u8, 168u8, 111u8, 158u8, 159u8, 217u8, 244u8, - 158u8, + 72u8, 128u8, 214u8, 72u8, 78u8, 80u8, 100u8, 198u8, 114u8, 215u8, 59u8, + 3u8, 103u8, 14u8, 152u8, 202u8, 12u8, 165u8, 224u8, 10u8, 41u8, 154u8, + 77u8, 95u8, 116u8, 143u8, 250u8, 250u8, 176u8, 92u8, 238u8, 154u8, ], ) } @@ -15812,10 +15886,9 @@ pub mod api { "Council", "MaxProposalWeight", [ - 206u8, 61u8, 253u8, 247u8, 163u8, 40u8, 161u8, 52u8, 134u8, 140u8, - 206u8, 83u8, 44u8, 166u8, 226u8, 115u8, 181u8, 14u8, 227u8, 130u8, - 210u8, 32u8, 85u8, 29u8, 230u8, 97u8, 130u8, 165u8, 147u8, 134u8, - 106u8, 76u8, + 222u8, 183u8, 203u8, 169u8, 31u8, 134u8, 28u8, 12u8, 47u8, 140u8, 71u8, + 74u8, 61u8, 55u8, 71u8, 236u8, 215u8, 83u8, 28u8, 70u8, 45u8, 128u8, + 184u8, 57u8, 101u8, 83u8, 42u8, 165u8, 34u8, 155u8, 64u8, 145u8, ], ) } @@ -15826,9 +15899,9 @@ pub mod api { use super::root_mod; use super::runtime_types; #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] - pub type Error = runtime_types::pallet_collective::pallet::Error; + pub type Error = runtime_types::pallet_collective::pallet::Error2; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] - pub type Call = runtime_types::pallet_collective::pallet::Call; + pub type Call = runtime_types::pallet_collective::pallet::Call2; pub mod calls { use super::root_mod; use super::runtime_types; @@ -15995,10 +16068,10 @@ pub mod api { old_count, }, [ - 196u8, 103u8, 123u8, 125u8, 226u8, 177u8, 126u8, 37u8, 160u8, 114u8, - 34u8, 136u8, 219u8, 84u8, 199u8, 94u8, 242u8, 20u8, 126u8, 126u8, - 166u8, 190u8, 198u8, 33u8, 162u8, 113u8, 237u8, 222u8, 90u8, 1u8, 2u8, - 234u8, + 141u8, 113u8, 137u8, 46u8, 75u8, 22u8, 143u8, 204u8, 50u8, 24u8, 137u8, + 25u8, 226u8, 166u8, 121u8, 161u8, 54u8, 144u8, 12u8, 145u8, 157u8, + 153u8, 47u8, 144u8, 94u8, 34u8, 217u8, 115u8, 125u8, 152u8, 110u8, + 28u8, ], ) } @@ -16024,9 +16097,10 @@ pub mod api { length_bound, }, [ - 0u8, 74u8, 70u8, 223u8, 112u8, 196u8, 199u8, 189u8, 93u8, 14u8, 101u8, - 211u8, 221u8, 38u8, 32u8, 220u8, 90u8, 120u8, 94u8, 107u8, 46u8, 121u8, - 250u8, 150u8, 26u8, 24u8, 20u8, 242u8, 253u8, 229u8, 43u8, 195u8, + 118u8, 178u8, 220u8, 249u8, 127u8, 175u8, 151u8, 231u8, 41u8, 91u8, + 48u8, 28u8, 181u8, 249u8, 95u8, 131u8, 89u8, 144u8, 70u8, 9u8, 58u8, + 172u8, 78u8, 224u8, 166u8, 166u8, 159u8, 110u8, 248u8, 32u8, 35u8, + 213u8, ], ) } @@ -16059,9 +16133,9 @@ pub mod api { length_bound, }, [ - 157u8, 103u8, 73u8, 75u8, 15u8, 79u8, 50u8, 64u8, 5u8, 151u8, 194u8, - 216u8, 45u8, 47u8, 128u8, 206u8, 191u8, 52u8, 5u8, 104u8, 70u8, 6u8, - 139u8, 184u8, 12u8, 190u8, 109u8, 132u8, 195u8, 177u8, 197u8, 179u8, + 196u8, 235u8, 52u8, 130u8, 42u8, 10u8, 1u8, 177u8, 190u8, 43u8, 229u8, + 23u8, 17u8, 69u8, 209u8, 120u8, 238u8, 245u8, 250u8, 237u8, 137u8, + 42u8, 100u8, 193u8, 18u8, 89u8, 81u8, 108u8, 30u8, 0u8, 253u8, 92u8, ], ) } @@ -16089,9 +16163,10 @@ pub mod api { approve, }, [ - 108u8, 46u8, 180u8, 148u8, 145u8, 24u8, 173u8, 56u8, 36u8, 100u8, - 216u8, 43u8, 178u8, 202u8, 26u8, 136u8, 93u8, 84u8, 80u8, 134u8, 14u8, - 42u8, 248u8, 205u8, 68u8, 92u8, 79u8, 11u8, 113u8, 115u8, 157u8, 100u8, + 110u8, 141u8, 24u8, 33u8, 91u8, 7u8, 89u8, 198u8, 54u8, 10u8, 76u8, + 129u8, 45u8, 20u8, 216u8, 104u8, 231u8, 246u8, 174u8, 205u8, 190u8, + 176u8, 171u8, 113u8, 33u8, 37u8, 155u8, 203u8, 251u8, 34u8, 25u8, + 120u8, ], ) } @@ -16114,9 +16189,9 @@ pub mod api { "disapprove_proposal", types::DisapproveProposal { proposal_hash }, [ - 25u8, 123u8, 1u8, 8u8, 74u8, 37u8, 3u8, 40u8, 97u8, 37u8, 175u8, 224u8, - 72u8, 155u8, 123u8, 109u8, 104u8, 43u8, 91u8, 125u8, 199u8, 51u8, 17u8, - 225u8, 133u8, 38u8, 120u8, 76u8, 164u8, 5u8, 194u8, 201u8, + 26u8, 140u8, 111u8, 193u8, 229u8, 59u8, 53u8, 196u8, 230u8, 60u8, 7u8, + 155u8, 168u8, 7u8, 201u8, 177u8, 70u8, 103u8, 190u8, 57u8, 244u8, + 156u8, 67u8, 101u8, 228u8, 6u8, 213u8, 83u8, 225u8, 95u8, 148u8, 96u8, ], ) } @@ -16161,16 +16236,16 @@ pub mod api { length_bound, }, [ - 191u8, 138u8, 89u8, 247u8, 97u8, 51u8, 45u8, 193u8, 76u8, 16u8, 80u8, - 225u8, 197u8, 83u8, 204u8, 133u8, 169u8, 16u8, 86u8, 32u8, 125u8, 16u8, - 116u8, 185u8, 45u8, 20u8, 76u8, 148u8, 206u8, 163u8, 154u8, 30u8, + 189u8, 149u8, 125u8, 63u8, 39u8, 201u8, 247u8, 4u8, 220u8, 74u8, 78u8, + 14u8, 113u8, 163u8, 1u8, 159u8, 81u8, 248u8, 141u8, 111u8, 34u8, 243u8, + 67u8, 70u8, 60u8, 92u8, 47u8, 70u8, 66u8, 246u8, 236u8, 153u8, ], ) } } } #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] - pub type Event = runtime_types::pallet_collective::pallet::Event; + pub type Event = runtime_types::pallet_collective::pallet::Event2; pub mod events { use super::runtime_types; #[derive( @@ -16334,10 +16409,9 @@ pub mod api { "Proposals", vec![], [ - 10u8, 133u8, 82u8, 54u8, 193u8, 41u8, 253u8, 159u8, 56u8, 96u8, 249u8, - 148u8, 43u8, 57u8, 116u8, 43u8, 222u8, 243u8, 237u8, 231u8, 238u8, - 60u8, 26u8, 225u8, 19u8, 203u8, 213u8, 220u8, 114u8, 217u8, 100u8, - 27u8, + 210u8, 234u8, 7u8, 29u8, 231u8, 80u8, 17u8, 36u8, 189u8, 34u8, 175u8, + 147u8, 56u8, 92u8, 201u8, 104u8, 207u8, 150u8, 58u8, 110u8, 90u8, 28u8, + 198u8, 79u8, 236u8, 245u8, 19u8, 38u8, 68u8, 59u8, 215u8, 74u8, ], ) } @@ -16359,9 +16433,10 @@ pub mod api { _0.borrow(), )], [ - 6u8, 23u8, 244u8, 48u8, 73u8, 203u8, 222u8, 109u8, 218u8, 166u8, 6u8, - 137u8, 121u8, 88u8, 54u8, 188u8, 37u8, 8u8, 229u8, 217u8, 170u8, 108u8, - 198u8, 66u8, 36u8, 92u8, 107u8, 168u8, 162u8, 204u8, 210u8, 20u8, + 121u8, 123u8, 184u8, 84u8, 246u8, 113u8, 189u8, 253u8, 37u8, 96u8, + 99u8, 188u8, 43u8, 159u8, 53u8, 140u8, 148u8, 127u8, 87u8, 178u8, + 240u8, 104u8, 9u8, 10u8, 84u8, 21u8, 217u8, 6u8, 247u8, 69u8, 87u8, + 151u8, ], ) } @@ -16380,9 +16455,10 @@ pub mod api { "ProposalOf", Vec::new(), [ - 6u8, 23u8, 244u8, 48u8, 73u8, 203u8, 222u8, 109u8, 218u8, 166u8, 6u8, - 137u8, 121u8, 88u8, 54u8, 188u8, 37u8, 8u8, 229u8, 217u8, 170u8, 108u8, - 198u8, 66u8, 36u8, 92u8, 107u8, 168u8, 162u8, 204u8, 210u8, 20u8, + 121u8, 123u8, 184u8, 84u8, 246u8, 113u8, 189u8, 253u8, 37u8, 96u8, + 99u8, 188u8, 43u8, 159u8, 53u8, 140u8, 148u8, 127u8, 87u8, 178u8, + 240u8, 104u8, 9u8, 10u8, 84u8, 21u8, 217u8, 6u8, 247u8, 69u8, 87u8, + 151u8, ], ) } @@ -16407,10 +16483,9 @@ pub mod api { _0.borrow(), )], [ - 89u8, 108u8, 65u8, 58u8, 60u8, 116u8, 54u8, 68u8, 179u8, 73u8, 161u8, - 168u8, 78u8, 213u8, 208u8, 54u8, 244u8, 58u8, 70u8, 209u8, 170u8, - 136u8, 215u8, 3u8, 2u8, 105u8, 229u8, 217u8, 240u8, 230u8, 107u8, - 221u8, + 56u8, 192u8, 111u8, 180u8, 253u8, 5u8, 232u8, 126u8, 177u8, 48u8, + 135u8, 39u8, 89u8, 71u8, 62u8, 239u8, 216u8, 17u8, 64u8, 82u8, 130u8, + 236u8, 96u8, 89u8, 167u8, 2u8, 118u8, 113u8, 63u8, 176u8, 124u8, 73u8, ], ) } @@ -16432,10 +16507,9 @@ pub mod api { "Voting", Vec::new(), [ - 89u8, 108u8, 65u8, 58u8, 60u8, 116u8, 54u8, 68u8, 179u8, 73u8, 161u8, - 168u8, 78u8, 213u8, 208u8, 54u8, 244u8, 58u8, 70u8, 209u8, 170u8, - 136u8, 215u8, 3u8, 2u8, 105u8, 229u8, 217u8, 240u8, 230u8, 107u8, - 221u8, + 56u8, 192u8, 111u8, 180u8, 253u8, 5u8, 232u8, 126u8, 177u8, 48u8, + 135u8, 39u8, 89u8, 71u8, 62u8, 239u8, 216u8, 17u8, 64u8, 82u8, 130u8, + 236u8, 96u8, 89u8, 167u8, 2u8, 118u8, 113u8, 63u8, 176u8, 124u8, 73u8, ], ) } @@ -16454,10 +16528,9 @@ pub mod api { "ProposalCount", vec![], [ - 132u8, 145u8, 78u8, 218u8, 51u8, 189u8, 55u8, 172u8, 143u8, 33u8, - 140u8, 99u8, 124u8, 208u8, 57u8, 232u8, 154u8, 110u8, 32u8, 142u8, - 24u8, 149u8, 109u8, 105u8, 30u8, 83u8, 39u8, 177u8, 127u8, 160u8, 34u8, - 70u8, + 91u8, 238u8, 246u8, 106u8, 95u8, 66u8, 83u8, 134u8, 1u8, 225u8, 164u8, + 216u8, 113u8, 101u8, 203u8, 200u8, 113u8, 97u8, 246u8, 228u8, 140u8, + 29u8, 29u8, 48u8, 176u8, 137u8, 93u8, 230u8, 56u8, 75u8, 51u8, 149u8, ], ) } @@ -16476,10 +16549,9 @@ pub mod api { "Members", vec![], [ - 162u8, 72u8, 174u8, 204u8, 140u8, 105u8, 205u8, 176u8, 197u8, 117u8, - 206u8, 134u8, 157u8, 110u8, 139u8, 54u8, 43u8, 233u8, 25u8, 51u8, 36u8, - 238u8, 94u8, 124u8, 221u8, 52u8, 237u8, 71u8, 125u8, 56u8, 129u8, - 222u8, + 16u8, 29u8, 32u8, 222u8, 175u8, 136u8, 111u8, 101u8, 43u8, 74u8, 209u8, + 81u8, 47u8, 97u8, 129u8, 39u8, 225u8, 243u8, 110u8, 229u8, 237u8, 21u8, + 90u8, 127u8, 80u8, 239u8, 156u8, 32u8, 90u8, 109u8, 179u8, 0u8, ], ) } @@ -16498,10 +16570,9 @@ pub mod api { "Prime", vec![], [ - 108u8, 118u8, 54u8, 193u8, 207u8, 227u8, 119u8, 97u8, 23u8, 239u8, - 157u8, 69u8, 56u8, 142u8, 106u8, 17u8, 215u8, 159u8, 48u8, 42u8, 185u8, - 209u8, 49u8, 159u8, 32u8, 168u8, 111u8, 158u8, 159u8, 217u8, 244u8, - 158u8, + 72u8, 128u8, 214u8, 72u8, 78u8, 80u8, 100u8, 198u8, 114u8, 215u8, 59u8, + 3u8, 103u8, 14u8, 152u8, 202u8, 12u8, 165u8, 224u8, 10u8, 41u8, 154u8, + 77u8, 95u8, 116u8, 143u8, 250u8, 250u8, 176u8, 92u8, 238u8, 154u8, ], ) } @@ -16520,10 +16591,9 @@ pub mod api { "TechnicalCommittee", "MaxProposalWeight", [ - 206u8, 61u8, 253u8, 247u8, 163u8, 40u8, 161u8, 52u8, 134u8, 140u8, - 206u8, 83u8, 44u8, 166u8, 226u8, 115u8, 181u8, 14u8, 227u8, 130u8, - 210u8, 32u8, 85u8, 29u8, 230u8, 97u8, 130u8, 165u8, 147u8, 134u8, - 106u8, 76u8, + 222u8, 183u8, 203u8, 169u8, 31u8, 134u8, 28u8, 12u8, 47u8, 140u8, 71u8, + 74u8, 61u8, 55u8, 71u8, 236u8, 215u8, 83u8, 28u8, 70u8, 45u8, 128u8, + 184u8, 57u8, 101u8, 83u8, 42u8, 165u8, 34u8, 155u8, 64u8, 145u8, ], ) } @@ -16681,10 +16751,9 @@ pub mod api { "vote", types::Vote { votes, value }, [ - 71u8, 90u8, 175u8, 225u8, 51u8, 202u8, 197u8, 252u8, 183u8, 92u8, - 239u8, 83u8, 112u8, 144u8, 128u8, 211u8, 109u8, 33u8, 252u8, 6u8, - 156u8, 15u8, 91u8, 88u8, 70u8, 19u8, 32u8, 29u8, 224u8, 255u8, 26u8, - 145u8, + 229u8, 163u8, 1u8, 49u8, 26u8, 130u8, 7u8, 228u8, 34u8, 80u8, 17u8, + 125u8, 32u8, 180u8, 174u8, 69u8, 17u8, 171u8, 163u8, 54u8, 42u8, 139u8, + 201u8, 205u8, 196u8, 18u8, 16u8, 211u8, 252u8, 64u8, 73u8, 5u8, ], ) } @@ -16699,9 +16768,10 @@ pub mod api { "remove_voter", types::RemoveVoter {}, [ - 254u8, 46u8, 140u8, 4u8, 218u8, 45u8, 150u8, 72u8, 67u8, 131u8, 108u8, - 201u8, 46u8, 157u8, 104u8, 161u8, 53u8, 155u8, 130u8, 50u8, 88u8, - 149u8, 255u8, 12u8, 17u8, 85u8, 95u8, 69u8, 153u8, 130u8, 221u8, 1u8, + 89u8, 43u8, 70u8, 117u8, 76u8, 84u8, 230u8, 114u8, 229u8, 91u8, 75u8, + 213u8, 47u8, 143u8, 233u8, 47u8, 108u8, 120u8, 171u8, 167u8, 14u8, + 62u8, 52u8, 20u8, 227u8, 106u8, 249u8, 239u8, 33u8, 115u8, 155u8, + 106u8, ], ) } @@ -16729,9 +16799,10 @@ pub mod api { "submit_candidacy", types::SubmitCandidacy { candidate_count }, [ - 228u8, 63u8, 217u8, 99u8, 128u8, 104u8, 175u8, 10u8, 30u8, 35u8, 47u8, - 14u8, 254u8, 122u8, 146u8, 239u8, 61u8, 145u8, 82u8, 7u8, 181u8, 98u8, - 238u8, 208u8, 23u8, 84u8, 48u8, 255u8, 177u8, 255u8, 84u8, 83u8, + 229u8, 169u8, 247u8, 102u8, 33u8, 7u8, 9u8, 125u8, 190u8, 179u8, 241u8, + 220u8, 205u8, 242u8, 168u8, 112u8, 197u8, 169u8, 135u8, 133u8, 102u8, + 173u8, 168u8, 203u8, 17u8, 135u8, 224u8, 145u8, 101u8, 204u8, 253u8, + 4u8, ], ) } @@ -16764,9 +16835,10 @@ pub mod api { "renounce_candidacy", types::RenounceCandidacy { renouncing }, [ - 70u8, 72u8, 208u8, 36u8, 80u8, 245u8, 224u8, 75u8, 60u8, 142u8, 19u8, - 49u8, 142u8, 90u8, 14u8, 69u8, 15u8, 61u8, 170u8, 235u8, 16u8, 252u8, - 86u8, 200u8, 120u8, 127u8, 36u8, 42u8, 143u8, 130u8, 217u8, 128u8, + 230u8, 140u8, 205u8, 240u8, 110u8, 247u8, 242u8, 185u8, 228u8, 135u8, + 243u8, 73u8, 71u8, 200u8, 88u8, 134u8, 132u8, 174u8, 190u8, 251u8, + 81u8, 85u8, 174u8, 230u8, 94u8, 97u8, 96u8, 230u8, 15u8, 204u8, 247u8, + 214u8, ], ) } @@ -16801,9 +16873,9 @@ pub mod api { rerun_election, }, [ - 45u8, 106u8, 9u8, 19u8, 133u8, 38u8, 20u8, 233u8, 12u8, 169u8, 216u8, - 40u8, 23u8, 139u8, 184u8, 202u8, 2u8, 124u8, 202u8, 48u8, 205u8, 176u8, - 161u8, 43u8, 66u8, 24u8, 189u8, 183u8, 233u8, 62u8, 102u8, 237u8, + 33u8, 195u8, 242u8, 73u8, 130u8, 196u8, 55u8, 38u8, 18u8, 190u8, 235u8, + 86u8, 10u8, 69u8, 3u8, 203u8, 11u8, 164u8, 35u8, 51u8, 20u8, 163u8, + 28u8, 226u8, 234u8, 113u8, 98u8, 155u8, 224u8, 190u8, 255u8, 138u8, ], ) } @@ -16829,10 +16901,10 @@ pub mod api { num_defunct, }, [ - 198u8, 162u8, 30u8, 249u8, 191u8, 38u8, 141u8, 123u8, 230u8, 90u8, - 213u8, 103u8, 168u8, 28u8, 5u8, 215u8, 213u8, 152u8, 46u8, 189u8, - 238u8, 209u8, 209u8, 142u8, 159u8, 222u8, 161u8, 26u8, 161u8, 250u8, - 9u8, 100u8, + 103u8, 241u8, 66u8, 156u8, 118u8, 36u8, 101u8, 148u8, 76u8, 162u8, + 240u8, 31u8, 114u8, 10u8, 247u8, 68u8, 163u8, 187u8, 117u8, 47u8, 14u8, + 16u8, 103u8, 211u8, 243u8, 44u8, 235u8, 200u8, 127u8, 113u8, 98u8, + 83u8, ], ) } @@ -17003,9 +17075,10 @@ pub mod api { "Members", vec![], [ - 2u8, 182u8, 43u8, 180u8, 87u8, 185u8, 26u8, 79u8, 196u8, 55u8, 28u8, - 26u8, 174u8, 133u8, 158u8, 221u8, 101u8, 161u8, 83u8, 9u8, 221u8, - 175u8, 221u8, 220u8, 81u8, 80u8, 1u8, 236u8, 74u8, 121u8, 10u8, 82u8, + 210u8, 86u8, 209u8, 114u8, 170u8, 238u8, 106u8, 102u8, 0u8, 140u8, + 113u8, 238u8, 36u8, 115u8, 162u8, 167u8, 194u8, 3u8, 57u8, 171u8, 41u8, + 219u8, 39u8, 120u8, 192u8, 208u8, 155u8, 163u8, 26u8, 209u8, 42u8, + 73u8, ], ) } @@ -17032,9 +17105,10 @@ pub mod api { "RunnersUp", vec![], [ - 248u8, 81u8, 190u8, 53u8, 121u8, 49u8, 55u8, 69u8, 116u8, 177u8, 46u8, - 30u8, 131u8, 14u8, 32u8, 198u8, 10u8, 132u8, 73u8, 117u8, 2u8, 146u8, - 188u8, 146u8, 214u8, 227u8, 97u8, 77u8, 7u8, 131u8, 208u8, 209u8, + 102u8, 255u8, 105u8, 141u8, 24u8, 140u8, 180u8, 249u8, 19u8, 52u8, + 144u8, 157u8, 139u8, 156u8, 5u8, 30u8, 148u8, 36u8, 67u8, 25u8, 238u8, + 196u8, 163u8, 165u8, 11u8, 1u8, 162u8, 131u8, 65u8, 207u8, 140u8, + 171u8, ], ) } @@ -17058,10 +17132,9 @@ pub mod api { "Candidates", vec![], [ - 224u8, 107u8, 141u8, 11u8, 54u8, 86u8, 117u8, 45u8, 195u8, 252u8, - 152u8, 21u8, 165u8, 23u8, 198u8, 117u8, 5u8, 216u8, 183u8, 163u8, - 243u8, 56u8, 11u8, 102u8, 85u8, 107u8, 219u8, 250u8, 45u8, 80u8, 108u8, - 127u8, + 220u8, 219u8, 115u8, 204u8, 15u8, 0u8, 135u8, 72u8, 241u8, 89u8, 10u8, + 105u8, 106u8, 93u8, 18u8, 63u8, 43u8, 117u8, 120u8, 73u8, 8u8, 143u8, + 244u8, 144u8, 223u8, 155u8, 217u8, 132u8, 246u8, 228u8, 210u8, 53u8, ], ) } @@ -17080,10 +17153,9 @@ pub mod api { "ElectionRounds", vec![], [ - 144u8, 146u8, 10u8, 32u8, 149u8, 147u8, 59u8, 205u8, 61u8, 246u8, 28u8, - 169u8, 130u8, 136u8, 143u8, 104u8, 253u8, 86u8, 228u8, 68u8, 19u8, - 184u8, 166u8, 214u8, 58u8, 103u8, 176u8, 160u8, 240u8, 249u8, 117u8, - 115u8, + 97u8, 151u8, 159u8, 133u8, 59u8, 215u8, 12u8, 178u8, 203u8, 24u8, + 138u8, 36u8, 108u8, 134u8, 217u8, 137u8, 24u8, 6u8, 126u8, 87u8, 49u8, + 90u8, 198u8, 16u8, 36u8, 109u8, 223u8, 190u8, 81u8, 7u8, 239u8, 243u8, ], ) } @@ -17110,10 +17182,9 @@ pub mod api { _0.borrow(), )], [ - 9u8, 135u8, 76u8, 194u8, 240u8, 182u8, 111u8, 207u8, 102u8, 37u8, - 126u8, 36u8, 84u8, 112u8, 26u8, 216u8, 175u8, 5u8, 14u8, 189u8, 83u8, - 185u8, 136u8, 39u8, 171u8, 221u8, 147u8, 20u8, 168u8, 126u8, 111u8, - 137u8, + 18u8, 65u8, 68u8, 10u8, 123u8, 174u8, 185u8, 95u8, 75u8, 37u8, 201u8, + 31u8, 93u8, 189u8, 184u8, 76u8, 199u8, 168u8, 74u8, 199u8, 75u8, 78u8, + 55u8, 222u8, 234u8, 48u8, 81u8, 52u8, 187u8, 64u8, 41u8, 93u8, ], ) } @@ -17137,10 +17208,9 @@ pub mod api { "Voting", Vec::new(), [ - 9u8, 135u8, 76u8, 194u8, 240u8, 182u8, 111u8, 207u8, 102u8, 37u8, - 126u8, 36u8, 84u8, 112u8, 26u8, 216u8, 175u8, 5u8, 14u8, 189u8, 83u8, - 185u8, 136u8, 39u8, 171u8, 221u8, 147u8, 20u8, 168u8, 126u8, 111u8, - 137u8, + 18u8, 65u8, 68u8, 10u8, 123u8, 174u8, 185u8, 95u8, 75u8, 37u8, 201u8, + 31u8, 93u8, 189u8, 184u8, 76u8, 199u8, 168u8, 74u8, 199u8, 75u8, 78u8, + 55u8, 222u8, 234u8, 48u8, 81u8, 52u8, 187u8, 64u8, 41u8, 93u8, ], ) } @@ -17158,10 +17228,9 @@ pub mod api { "PhragmenElection", "PalletId", [ - 224u8, 197u8, 247u8, 125u8, 62u8, 180u8, 69u8, 91u8, 226u8, 36u8, 82u8, - 148u8, 70u8, 147u8, 209u8, 40u8, 210u8, 229u8, 181u8, 191u8, 170u8, - 205u8, 138u8, 97u8, 127u8, 59u8, 124u8, 244u8, 252u8, 30u8, 213u8, - 179u8, + 157u8, 118u8, 79u8, 88u8, 241u8, 22u8, 185u8, 37u8, 42u8, 20u8, 133u8, + 240u8, 11u8, 25u8, 66u8, 154u8, 84u8, 163u8, 78u8, 92u8, 171u8, 82u8, + 248u8, 76u8, 189u8, 70u8, 142u8, 249u8, 153u8, 84u8, 180u8, 60u8, ], ) } @@ -17460,10 +17529,10 @@ pub mod api { "add_member", types::AddMember { who }, [ - 165u8, 116u8, 123u8, 50u8, 236u8, 196u8, 108u8, 211u8, 112u8, 214u8, - 121u8, 105u8, 7u8, 88u8, 125u8, 99u8, 24u8, 0u8, 168u8, 65u8, 158u8, - 100u8, 42u8, 62u8, 101u8, 59u8, 30u8, 174u8, 170u8, 119u8, 141u8, - 121u8, + 37u8, 124u8, 242u8, 135u8, 3u8, 22u8, 117u8, 212u8, 153u8, 90u8, 101u8, + 140u8, 35u8, 239u8, 233u8, 242u8, 55u8, 95u8, 104u8, 178u8, 215u8, + 109u8, 67u8, 190u8, 175u8, 246u8, 132u8, 98u8, 80u8, 82u8, 209u8, + 198u8, ], ) } @@ -17479,9 +17548,9 @@ pub mod api { "remove_member", types::RemoveMember { who }, [ - 177u8, 18u8, 217u8, 235u8, 254u8, 40u8, 137u8, 79u8, 146u8, 5u8, 55u8, - 187u8, 129u8, 28u8, 54u8, 132u8, 115u8, 220u8, 132u8, 139u8, 91u8, - 81u8, 0u8, 110u8, 188u8, 248u8, 1u8, 135u8, 93u8, 153u8, 95u8, 193u8, + 224u8, 141u8, 97u8, 0u8, 111u8, 196u8, 47u8, 15u8, 234u8, 111u8, 130u8, + 51u8, 162u8, 60u8, 47u8, 105u8, 96u8, 98u8, 128u8, 109u8, 99u8, 23u8, + 80u8, 207u8, 147u8, 32u8, 71u8, 152u8, 43u8, 253u8, 152u8, 146u8, ], ) } @@ -17500,10 +17569,9 @@ pub mod api { "swap_member", types::SwapMember { remove, add }, [ - 96u8, 248u8, 50u8, 206u8, 192u8, 242u8, 162u8, 62u8, 28u8, 91u8, 11u8, - 208u8, 15u8, 84u8, 188u8, 234u8, 219u8, 233u8, 200u8, 215u8, 157u8, - 155u8, 40u8, 220u8, 132u8, 182u8, 57u8, 210u8, 94u8, 240u8, 95u8, - 252u8, + 198u8, 53u8, 206u8, 187u8, 15u8, 43u8, 96u8, 5u8, 220u8, 99u8, 145u8, + 138u8, 151u8, 194u8, 188u8, 17u8, 11u8, 131u8, 95u8, 85u8, 95u8, 17u8, + 209u8, 207u8, 135u8, 197u8, 196u8, 182u8, 156u8, 161u8, 58u8, 208u8, ], ) } @@ -17520,9 +17588,9 @@ pub mod api { "reset_members", types::ResetMembers { members }, [ - 9u8, 35u8, 28u8, 59u8, 158u8, 232u8, 89u8, 78u8, 101u8, 53u8, 240u8, - 98u8, 13u8, 104u8, 235u8, 161u8, 201u8, 150u8, 117u8, 32u8, 75u8, - 209u8, 166u8, 252u8, 57u8, 131u8, 96u8, 215u8, 51u8, 81u8, 42u8, 123u8, + 212u8, 144u8, 99u8, 156u8, 70u8, 4u8, 219u8, 227u8, 150u8, 25u8, 86u8, + 8u8, 215u8, 128u8, 193u8, 206u8, 33u8, 193u8, 71u8, 15u8, 20u8, 92u8, + 99u8, 89u8, 174u8, 236u8, 102u8, 82u8, 164u8, 234u8, 12u8, 45u8, ], ) } @@ -17540,10 +17608,10 @@ pub mod api { "change_key", types::ChangeKey { new }, [ - 27u8, 236u8, 241u8, 168u8, 98u8, 39u8, 176u8, 220u8, 145u8, 48u8, - 173u8, 25u8, 179u8, 103u8, 170u8, 13u8, 166u8, 181u8, 131u8, 160u8, - 131u8, 219u8, 116u8, 34u8, 152u8, 152u8, 46u8, 100u8, 46u8, 5u8, 156u8, - 195u8, + 79u8, 102u8, 49u8, 223u8, 182u8, 153u8, 183u8, 19u8, 154u8, 254u8, + 64u8, 75u8, 42u8, 235u8, 130u8, 78u8, 16u8, 132u8, 152u8, 215u8, 73u8, + 75u8, 129u8, 189u8, 218u8, 129u8, 127u8, 32u8, 134u8, 25u8, 55u8, + 152u8, ], ) } @@ -17559,9 +17627,10 @@ pub mod api { "set_prime", types::SetPrime { who }, [ - 0u8, 42u8, 111u8, 52u8, 151u8, 19u8, 239u8, 149u8, 183u8, 252u8, 87u8, - 194u8, 145u8, 21u8, 245u8, 112u8, 221u8, 181u8, 87u8, 28u8, 48u8, 39u8, - 210u8, 133u8, 241u8, 207u8, 255u8, 209u8, 139u8, 232u8, 119u8, 64u8, + 149u8, 62u8, 210u8, 85u8, 246u8, 206u8, 43u8, 214u8, 160u8, 153u8, + 134u8, 140u8, 145u8, 214u8, 65u8, 60u8, 26u8, 167u8, 248u8, 4u8, 96u8, + 237u8, 198u8, 97u8, 118u8, 41u8, 102u8, 20u8, 138u8, 67u8, 201u8, + 192u8, ], ) } @@ -17574,9 +17643,9 @@ pub mod api { "clear_prime", types::ClearPrime {}, [ - 186u8, 182u8, 225u8, 90u8, 71u8, 124u8, 69u8, 100u8, 234u8, 25u8, 53u8, - 23u8, 182u8, 32u8, 176u8, 81u8, 54u8, 140u8, 235u8, 126u8, 247u8, 7u8, - 155u8, 62u8, 35u8, 135u8, 48u8, 61u8, 88u8, 160u8, 183u8, 72u8, + 71u8, 213u8, 34u8, 23u8, 186u8, 63u8, 240u8, 216u8, 190u8, 251u8, 84u8, + 109u8, 140u8, 137u8, 210u8, 211u8, 242u8, 231u8, 212u8, 133u8, 151u8, + 125u8, 25u8, 46u8, 210u8, 53u8, 133u8, 222u8, 21u8, 107u8, 120u8, 52u8, ], ) } @@ -17704,9 +17773,10 @@ pub mod api { "Members", vec![], [ - 56u8, 56u8, 29u8, 90u8, 26u8, 115u8, 252u8, 185u8, 37u8, 108u8, 16u8, - 46u8, 136u8, 139u8, 30u8, 19u8, 235u8, 78u8, 176u8, 129u8, 180u8, 57u8, - 178u8, 239u8, 211u8, 6u8, 64u8, 129u8, 195u8, 46u8, 178u8, 157u8, + 109u8, 100u8, 14u8, 195u8, 213u8, 67u8, 44u8, 218u8, 84u8, 254u8, 76u8, + 80u8, 210u8, 155u8, 155u8, 30u8, 18u8, 169u8, 195u8, 92u8, 208u8, + 223u8, 242u8, 97u8, 147u8, 20u8, 168u8, 145u8, 254u8, 115u8, 225u8, + 193u8, ], ) } @@ -17725,10 +17795,9 @@ pub mod api { "Prime", vec![], [ - 108u8, 118u8, 54u8, 193u8, 207u8, 227u8, 119u8, 97u8, 23u8, 239u8, - 157u8, 69u8, 56u8, 142u8, 106u8, 17u8, 215u8, 159u8, 48u8, 42u8, 185u8, - 209u8, 49u8, 159u8, 32u8, 168u8, 111u8, 158u8, 159u8, 217u8, 244u8, - 158u8, + 72u8, 128u8, 214u8, 72u8, 78u8, 80u8, 100u8, 198u8, 114u8, 215u8, 59u8, + 3u8, 103u8, 14u8, 152u8, 202u8, 12u8, 165u8, 224u8, 10u8, 41u8, 154u8, + 77u8, 95u8, 116u8, 143u8, 250u8, 250u8, 176u8, 92u8, 238u8, 154u8, ], ) } @@ -17859,9 +17928,10 @@ pub mod api { "propose_spend", types::ProposeSpend { value, beneficiary }, [ - 109u8, 46u8, 8u8, 159u8, 127u8, 79u8, 27u8, 100u8, 92u8, 244u8, 78u8, - 46u8, 105u8, 246u8, 169u8, 210u8, 149u8, 7u8, 108u8, 153u8, 203u8, - 223u8, 8u8, 117u8, 126u8, 250u8, 255u8, 52u8, 245u8, 69u8, 45u8, 136u8, + 36u8, 227u8, 126u8, 190u8, 233u8, 70u8, 167u8, 246u8, 56u8, 238u8, + 67u8, 181u8, 166u8, 108u8, 129u8, 28u8, 55u8, 177u8, 94u8, 166u8, + 125u8, 198u8, 225u8, 38u8, 91u8, 248u8, 19u8, 177u8, 135u8, 62u8, + 236u8, 114u8, ], ) } @@ -17880,10 +17950,9 @@ pub mod api { "reject_proposal", types::RejectProposal { proposal_id }, [ - 106u8, 223u8, 97u8, 22u8, 111u8, 208u8, 128u8, 26u8, 198u8, 140u8, - 118u8, 126u8, 187u8, 51u8, 193u8, 50u8, 193u8, 68u8, 143u8, 144u8, - 34u8, 132u8, 44u8, 244u8, 105u8, 186u8, 223u8, 234u8, 17u8, 145u8, - 209u8, 145u8, + 18u8, 166u8, 80u8, 141u8, 222u8, 230u8, 4u8, 36u8, 7u8, 76u8, 12u8, + 40u8, 145u8, 114u8, 12u8, 43u8, 223u8, 78u8, 189u8, 222u8, 120u8, 80u8, + 225u8, 215u8, 119u8, 68u8, 200u8, 15u8, 25u8, 172u8, 192u8, 173u8, ], ) } @@ -17903,9 +17972,9 @@ pub mod api { "approve_proposal", types::ApproveProposal { proposal_id }, [ - 164u8, 229u8, 172u8, 98u8, 129u8, 62u8, 84u8, 128u8, 47u8, 108u8, 33u8, - 120u8, 89u8, 79u8, 57u8, 121u8, 4u8, 197u8, 170u8, 153u8, 156u8, 17u8, - 59u8, 164u8, 123u8, 227u8, 175u8, 195u8, 220u8, 160u8, 60u8, 186u8, + 154u8, 176u8, 152u8, 97u8, 167u8, 177u8, 78u8, 9u8, 235u8, 229u8, + 199u8, 193u8, 214u8, 3u8, 16u8, 30u8, 4u8, 104u8, 27u8, 184u8, 100u8, + 65u8, 179u8, 13u8, 91u8, 62u8, 115u8, 5u8, 219u8, 211u8, 251u8, 153u8, ], ) } @@ -17930,9 +17999,10 @@ pub mod api { beneficiary, }, [ - 177u8, 178u8, 242u8, 136u8, 135u8, 237u8, 114u8, 71u8, 233u8, 239u8, - 7u8, 84u8, 14u8, 228u8, 58u8, 31u8, 158u8, 185u8, 25u8, 91u8, 70u8, - 33u8, 19u8, 92u8, 100u8, 162u8, 5u8, 48u8, 20u8, 120u8, 9u8, 109u8, + 57u8, 32u8, 140u8, 106u8, 181u8, 124u8, 122u8, 61u8, 130u8, 130u8, + 165u8, 131u8, 46u8, 249u8, 119u8, 102u8, 225u8, 174u8, 101u8, 161u8, + 76u8, 173u8, 253u8, 23u8, 173u8, 229u8, 135u8, 183u8, 168u8, 159u8, + 112u8, 88u8, ], ) } @@ -17958,9 +18028,10 @@ pub mod api { "remove_approval", types::RemoveApproval { proposal_id }, [ - 133u8, 126u8, 181u8, 47u8, 196u8, 243u8, 7u8, 46u8, 25u8, 251u8, 154u8, - 125u8, 217u8, 77u8, 54u8, 245u8, 240u8, 180u8, 97u8, 34u8, 186u8, 53u8, - 225u8, 144u8, 155u8, 107u8, 172u8, 54u8, 250u8, 184u8, 178u8, 86u8, + 180u8, 20u8, 39u8, 227u8, 29u8, 228u8, 234u8, 36u8, 155u8, 114u8, + 197u8, 135u8, 185u8, 31u8, 56u8, 247u8, 224u8, 168u8, 254u8, 233u8, + 250u8, 134u8, 186u8, 155u8, 108u8, 84u8, 94u8, 226u8, 207u8, 130u8, + 196u8, 100u8, ], ) } @@ -18163,10 +18234,9 @@ pub mod api { "ProposalCount", vec![], [ - 132u8, 145u8, 78u8, 218u8, 51u8, 189u8, 55u8, 172u8, 143u8, 33u8, - 140u8, 99u8, 124u8, 208u8, 57u8, 232u8, 154u8, 110u8, 32u8, 142u8, - 24u8, 149u8, 109u8, 105u8, 30u8, 83u8, 39u8, 177u8, 127u8, 160u8, 34u8, - 70u8, + 91u8, 238u8, 246u8, 106u8, 95u8, 66u8, 83u8, 134u8, 1u8, 225u8, 164u8, + 216u8, 113u8, 101u8, 203u8, 200u8, 113u8, 97u8, 246u8, 228u8, 140u8, + 29u8, 29u8, 48u8, 176u8, 137u8, 93u8, 230u8, 56u8, 75u8, 51u8, 149u8, ], ) } @@ -18191,9 +18261,9 @@ pub mod api { _0.borrow(), )], [ - 62u8, 223u8, 55u8, 209u8, 151u8, 134u8, 122u8, 65u8, 207u8, 38u8, - 113u8, 213u8, 237u8, 48u8, 129u8, 32u8, 91u8, 228u8, 108u8, 91u8, 37u8, - 49u8, 94u8, 4u8, 75u8, 122u8, 25u8, 34u8, 198u8, 224u8, 246u8, 160u8, + 182u8, 12u8, 98u8, 64u8, 117u8, 17u8, 90u8, 245u8, 80u8, 99u8, 161u8, + 17u8, 59u8, 80u8, 64u8, 139u8, 89u8, 179u8, 254u8, 239u8, 143u8, 114u8, + 77u8, 79u8, 75u8, 126u8, 52u8, 227u8, 1u8, 138u8, 35u8, 62u8, ], ) } @@ -18215,9 +18285,9 @@ pub mod api { "Proposals", Vec::new(), [ - 62u8, 223u8, 55u8, 209u8, 151u8, 134u8, 122u8, 65u8, 207u8, 38u8, - 113u8, 213u8, 237u8, 48u8, 129u8, 32u8, 91u8, 228u8, 108u8, 91u8, 37u8, - 49u8, 94u8, 4u8, 75u8, 122u8, 25u8, 34u8, 198u8, 224u8, 246u8, 160u8, + 182u8, 12u8, 98u8, 64u8, 117u8, 17u8, 90u8, 245u8, 80u8, 99u8, 161u8, + 17u8, 59u8, 80u8, 64u8, 139u8, 89u8, 179u8, 254u8, 239u8, 143u8, 114u8, + 77u8, 79u8, 75u8, 126u8, 52u8, 227u8, 1u8, 138u8, 35u8, 62u8, ], ) } @@ -18236,9 +18306,10 @@ pub mod api { "Deactivated", vec![], [ - 159u8, 57u8, 5u8, 85u8, 136u8, 128u8, 70u8, 43u8, 67u8, 76u8, 123u8, - 206u8, 48u8, 253u8, 51u8, 40u8, 14u8, 35u8, 162u8, 173u8, 127u8, 79u8, - 38u8, 235u8, 9u8, 141u8, 201u8, 37u8, 211u8, 176u8, 119u8, 106u8, + 120u8, 221u8, 159u8, 56u8, 161u8, 44u8, 54u8, 233u8, 47u8, 114u8, + 170u8, 150u8, 52u8, 24u8, 137u8, 212u8, 122u8, 247u8, 40u8, 17u8, + 208u8, 130u8, 42u8, 154u8, 33u8, 222u8, 59u8, 116u8, 0u8, 15u8, 79u8, + 123u8, ], ) } @@ -18259,10 +18330,9 @@ pub mod api { "Approvals", vec![], [ - 202u8, 106u8, 189u8, 40u8, 127u8, 172u8, 108u8, 50u8, 193u8, 4u8, - 248u8, 226u8, 176u8, 101u8, 212u8, 222u8, 64u8, 206u8, 244u8, 175u8, - 111u8, 106u8, 86u8, 96u8, 19u8, 109u8, 218u8, 152u8, 30u8, 59u8, 96u8, - 1u8, + 78u8, 147u8, 186u8, 235u8, 17u8, 40u8, 247u8, 235u8, 67u8, 222u8, 3u8, + 14u8, 248u8, 17u8, 67u8, 180u8, 93u8, 161u8, 64u8, 35u8, 119u8, 194u8, + 187u8, 226u8, 135u8, 162u8, 147u8, 174u8, 139u8, 72u8, 99u8, 212u8, ], ) } @@ -18282,9 +18352,9 @@ pub mod api { "Treasury", "ProposalBond", [ - 225u8, 236u8, 95u8, 157u8, 90u8, 94u8, 106u8, 192u8, 254u8, 19u8, 87u8, - 80u8, 16u8, 62u8, 42u8, 204u8, 136u8, 106u8, 225u8, 53u8, 212u8, 52u8, - 177u8, 79u8, 4u8, 116u8, 201u8, 104u8, 222u8, 75u8, 86u8, 227u8, + 65u8, 93u8, 120u8, 165u8, 204u8, 81u8, 159u8, 163u8, 93u8, 135u8, + 114u8, 121u8, 147u8, 35u8, 215u8, 213u8, 4u8, 223u8, 83u8, 37u8, 225u8, + 200u8, 189u8, 156u8, 140u8, 36u8, 58u8, 46u8, 42u8, 232u8, 155u8, 0u8, ], ) } @@ -18311,10 +18381,10 @@ pub mod api { "Treasury", "ProposalBondMaximum", [ - 84u8, 154u8, 218u8, 83u8, 84u8, 189u8, 32u8, 20u8, 120u8, 194u8, 88u8, - 205u8, 109u8, 216u8, 114u8, 193u8, 120u8, 198u8, 154u8, 237u8, 134u8, - 204u8, 102u8, 247u8, 52u8, 103u8, 231u8, 43u8, 243u8, 122u8, 60u8, - 216u8, + 198u8, 51u8, 89u8, 159u8, 124u8, 251u8, 51u8, 80u8, 167u8, 193u8, 44u8, + 199u8, 80u8, 36u8, 41u8, 130u8, 137u8, 229u8, 178u8, 208u8, 37u8, + 215u8, 169u8, 183u8, 180u8, 191u8, 140u8, 240u8, 250u8, 61u8, 42u8, + 147u8, ], ) } @@ -18340,9 +18410,9 @@ pub mod api { "Treasury", "Burn", [ - 225u8, 236u8, 95u8, 157u8, 90u8, 94u8, 106u8, 192u8, 254u8, 19u8, 87u8, - 80u8, 16u8, 62u8, 42u8, 204u8, 136u8, 106u8, 225u8, 53u8, 212u8, 52u8, - 177u8, 79u8, 4u8, 116u8, 201u8, 104u8, 222u8, 75u8, 86u8, 227u8, + 65u8, 93u8, 120u8, 165u8, 204u8, 81u8, 159u8, 163u8, 93u8, 135u8, + 114u8, 121u8, 147u8, 35u8, 215u8, 213u8, 4u8, 223u8, 83u8, 37u8, 225u8, + 200u8, 189u8, 156u8, 140u8, 36u8, 58u8, 46u8, 42u8, 232u8, 155u8, 0u8, ], ) } @@ -18355,9 +18425,9 @@ pub mod api { "Treasury", "PalletId", [ - 139u8, 109u8, 228u8, 151u8, 252u8, 32u8, 130u8, 69u8, 112u8, 154u8, - 174u8, 45u8, 83u8, 245u8, 51u8, 132u8, 173u8, 5u8, 186u8, 24u8, 243u8, - 9u8, 12u8, 214u8, 80u8, 74u8, 69u8, 189u8, 30u8, 94u8, 22u8, 39u8, + 56u8, 243u8, 53u8, 83u8, 154u8, 179u8, 170u8, 80u8, 133u8, 173u8, 61u8, + 161u8, 47u8, 225u8, 146u8, 21u8, 50u8, 229u8, 248u8, 27u8, 104u8, 58u8, + 129u8, 197u8, 102u8, 160u8, 168u8, 205u8, 154u8, 42u8, 217u8, 53u8, ], ) } @@ -18530,9 +18600,9 @@ pub mod api { "vote", types::Vote { poll_index, vote }, [ - 255u8, 8u8, 191u8, 166u8, 7u8, 48u8, 227u8, 0u8, 34u8, 109u8, 3u8, - 172u8, 168u8, 37u8, 220u8, 229u8, 88u8, 61u8, 117u8, 212u8, 131u8, - 124u8, 74u8, 60u8, 83u8, 62u8, 193u8, 66u8, 162u8, 121u8, 76u8, 180u8, + 83u8, 161u8, 37u8, 200u8, 183u8, 70u8, 26u8, 196u8, 131u8, 173u8, + 165u8, 3u8, 77u8, 144u8, 17u8, 78u8, 115u8, 118u8, 209u8, 112u8, 250u8, + 48u8, 75u8, 0u8, 1u8, 57u8, 34u8, 137u8, 136u8, 98u8, 120u8, 224u8, ], ) } @@ -18576,10 +18646,9 @@ pub mod api { balance, }, [ - 241u8, 83u8, 114u8, 135u8, 173u8, 98u8, 8u8, 2u8, 197u8, 164u8, 105u8, - 93u8, 87u8, 243u8, 54u8, 149u8, 10u8, 168u8, 199u8, 211u8, 102u8, - 176u8, 217u8, 244u8, 78u8, 211u8, 124u8, 133u8, 32u8, 28u8, 235u8, - 222u8, + 126u8, 116u8, 4u8, 84u8, 189u8, 250u8, 216u8, 17u8, 113u8, 34u8, 92u8, + 7u8, 113u8, 74u8, 122u8, 202u8, 63u8, 223u8, 174u8, 200u8, 84u8, 31u8, + 207u8, 25u8, 161u8, 185u8, 31u8, 241u8, 43u8, 93u8, 48u8, 186u8, ], ) } @@ -18606,9 +18675,10 @@ pub mod api { "undelegate", types::Undelegate { class }, [ - 0u8, 244u8, 151u8, 108u8, 96u8, 240u8, 126u8, 247u8, 29u8, 33u8, 25u8, - 34u8, 253u8, 207u8, 107u8, 227u8, 139u8, 64u8, 184u8, 112u8, 246u8, - 81u8, 201u8, 41u8, 32u8, 201u8, 194u8, 201u8, 4u8, 170u8, 40u8, 83u8, + 140u8, 232u8, 6u8, 53u8, 228u8, 8u8, 131u8, 144u8, 65u8, 66u8, 245u8, + 247u8, 147u8, 135u8, 198u8, 57u8, 82u8, 212u8, 89u8, 46u8, 236u8, + 168u8, 200u8, 220u8, 93u8, 168u8, 101u8, 29u8, 110u8, 76u8, 67u8, + 181u8, ], ) } @@ -18631,9 +18701,9 @@ pub mod api { "unlock", types::Unlock { class, target }, [ - 130u8, 244u8, 207u8, 112u8, 194u8, 4u8, 121u8, 4u8, 59u8, 75u8, 168u8, - 246u8, 210u8, 249u8, 247u8, 242u8, 252u8, 28u8, 190u8, 93u8, 11u8, 8u8, - 234u8, 222u8, 22u8, 110u8, 182u8, 252u8, 82u8, 64u8, 74u8, 169u8, + 54u8, 193u8, 94u8, 255u8, 130u8, 55u8, 88u8, 65u8, 58u8, 101u8, 150u8, + 82u8, 135u8, 26u8, 49u8, 102u8, 245u8, 253u8, 200u8, 38u8, 151u8, 44u8, + 138u8, 116u8, 92u8, 202u8, 55u8, 243u8, 126u8, 60u8, 182u8, 157u8, ], ) } @@ -18676,9 +18746,10 @@ pub mod api { "remove_vote", types::RemoveVote { class, index }, [ - 151u8, 255u8, 135u8, 195u8, 137u8, 27u8, 116u8, 193u8, 245u8, 78u8, - 38u8, 130u8, 233u8, 28u8, 235u8, 50u8, 144u8, 191u8, 39u8, 68u8, 17u8, - 214u8, 25u8, 2u8, 120u8, 14u8, 219u8, 205u8, 59u8, 192u8, 125u8, 142u8, + 255u8, 108u8, 211u8, 146u8, 168u8, 231u8, 207u8, 44u8, 76u8, 24u8, + 235u8, 60u8, 23u8, 79u8, 192u8, 192u8, 46u8, 40u8, 134u8, 27u8, 125u8, + 114u8, 125u8, 247u8, 85u8, 102u8, 76u8, 159u8, 34u8, 167u8, 152u8, + 148u8, ], ) } @@ -18713,9 +18784,10 @@ pub mod api { index, }, [ - 0u8, 148u8, 112u8, 202u8, 220u8, 85u8, 1u8, 77u8, 199u8, 156u8, 47u8, - 38u8, 105u8, 128u8, 71u8, 108u8, 185u8, 231u8, 252u8, 132u8, 37u8, - 114u8, 211u8, 110u8, 142u8, 64u8, 80u8, 90u8, 138u8, 108u8, 59u8, 87u8, + 211u8, 69u8, 54u8, 243u8, 241u8, 50u8, 231u8, 13u8, 157u8, 180u8, 17u8, + 245u8, 85u8, 92u8, 207u8, 184u8, 224u8, 163u8, 15u8, 222u8, 41u8, + 179u8, 174u8, 170u8, 192u8, 241u8, 202u8, 127u8, 213u8, 0u8, 91u8, + 45u8, ], ) } @@ -18791,9 +18863,9 @@ pub mod api { ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 45u8, 18u8, 71u8, 145u8, 31u8, 220u8, 221u8, 51u8, 69u8, 73u8, 153u8, - 139u8, 46u8, 231u8, 122u8, 15u8, 98u8, 186u8, 57u8, 121u8, 24u8, 241u8, - 161u8, 150u8, 252u8, 133u8, 65u8, 232u8, 21u8, 28u8, 25u8, 75u8, + 84u8, 208u8, 38u8, 249u8, 230u8, 78u8, 135u8, 30u8, 99u8, 20u8, 152u8, + 104u8, 61u8, 29u8, 146u8, 195u8, 67u8, 83u8, 246u8, 251u8, 47u8, 147u8, + 83u8, 154u8, 36u8, 63u8, 34u8, 209u8, 134u8, 71u8, 210u8, 250u8, ], ) } @@ -18818,9 +18890,9 @@ pub mod api { "VotingFor", Vec::new(), [ - 45u8, 18u8, 71u8, 145u8, 31u8, 220u8, 221u8, 51u8, 69u8, 73u8, 153u8, - 139u8, 46u8, 231u8, 122u8, 15u8, 98u8, 186u8, 57u8, 121u8, 24u8, 241u8, - 161u8, 150u8, 252u8, 133u8, 65u8, 232u8, 21u8, 28u8, 25u8, 75u8, + 84u8, 208u8, 38u8, 249u8, 230u8, 78u8, 135u8, 30u8, 99u8, 20u8, 152u8, + 104u8, 61u8, 29u8, 146u8, 195u8, 67u8, 83u8, 246u8, 251u8, 47u8, 147u8, + 83u8, 154u8, 36u8, 63u8, 34u8, 209u8, 134u8, 71u8, 210u8, 250u8, ], ) } @@ -18847,10 +18919,9 @@ pub mod api { _0.borrow(), )], [ - 65u8, 181u8, 225u8, 49u8, 35u8, 141u8, 185u8, 155u8, 124u8, 178u8, - 118u8, 51u8, 220u8, 232u8, 95u8, 24u8, 181u8, 135u8, 42u8, 207u8, - 103u8, 166u8, 244u8, 249u8, 106u8, 96u8, 177u8, 56u8, 243u8, 117u8, - 228u8, 145u8, + 74u8, 74u8, 8u8, 82u8, 215u8, 61u8, 13u8, 9u8, 44u8, 222u8, 33u8, + 245u8, 195u8, 124u8, 6u8, 174u8, 65u8, 245u8, 71u8, 42u8, 47u8, 46u8, + 164u8, 231u8, 11u8, 245u8, 115u8, 207u8, 209u8, 137u8, 90u8, 6u8, ], ) } @@ -18874,10 +18945,9 @@ pub mod api { "ClassLocksFor", Vec::new(), [ - 65u8, 181u8, 225u8, 49u8, 35u8, 141u8, 185u8, 155u8, 124u8, 178u8, - 118u8, 51u8, 220u8, 232u8, 95u8, 24u8, 181u8, 135u8, 42u8, 207u8, - 103u8, 166u8, 244u8, 249u8, 106u8, 96u8, 177u8, 56u8, 243u8, 117u8, - 228u8, 145u8, + 74u8, 74u8, 8u8, 82u8, 215u8, 61u8, 13u8, 9u8, 44u8, 222u8, 33u8, + 245u8, 195u8, 124u8, 6u8, 174u8, 65u8, 245u8, 71u8, 42u8, 47u8, 46u8, + 164u8, 231u8, 11u8, 245u8, 115u8, 207u8, 209u8, 137u8, 90u8, 6u8, ], ) } @@ -19137,9 +19207,10 @@ pub mod api { enactment_moment, }, [ - 213u8, 114u8, 86u8, 47u8, 165u8, 41u8, 216u8, 45u8, 93u8, 56u8, 92u8, - 228u8, 10u8, 88u8, 70u8, 82u8, 134u8, 252u8, 214u8, 45u8, 154u8, 150u8, - 221u8, 52u8, 235u8, 186u8, 47u8, 120u8, 221u8, 170u8, 29u8, 239u8, + 59u8, 231u8, 190u8, 146u8, 252u8, 214u8, 34u8, 221u8, 11u8, 165u8, + 38u8, 37u8, 117u8, 188u8, 250u8, 138u8, 114u8, 135u8, 234u8, 177u8, + 72u8, 34u8, 192u8, 254u8, 70u8, 69u8, 217u8, 104u8, 103u8, 196u8, + 111u8, 230u8, ], ) } @@ -19160,9 +19231,9 @@ pub mod api { "place_decision_deposit", types::PlaceDecisionDeposit { index }, [ - 118u8, 227u8, 8u8, 55u8, 41u8, 171u8, 244u8, 40u8, 164u8, 232u8, 119u8, - 129u8, 139u8, 123u8, 77u8, 70u8, 219u8, 236u8, 145u8, 159u8, 84u8, - 111u8, 36u8, 4u8, 206u8, 5u8, 139u8, 231u8, 11u8, 231u8, 6u8, 30u8, + 247u8, 158u8, 55u8, 191u8, 188u8, 200u8, 3u8, 47u8, 20u8, 175u8, 86u8, + 203u8, 52u8, 253u8, 91u8, 131u8, 21u8, 213u8, 56u8, 68u8, 40u8, 84u8, + 184u8, 30u8, 9u8, 193u8, 63u8, 182u8, 178u8, 241u8, 247u8, 220u8, ], ) } @@ -19182,10 +19253,9 @@ pub mod api { "refund_decision_deposit", types::RefundDecisionDeposit { index }, [ - 120u8, 116u8, 89u8, 51u8, 255u8, 76u8, 150u8, 74u8, 54u8, 93u8, 19u8, - 64u8, 13u8, 177u8, 144u8, 93u8, 132u8, 150u8, 244u8, 48u8, 202u8, - 223u8, 201u8, 130u8, 112u8, 167u8, 29u8, 207u8, 112u8, 181u8, 43u8, - 93u8, + 159u8, 19u8, 35u8, 216u8, 114u8, 105u8, 18u8, 42u8, 148u8, 151u8, + 136u8, 92u8, 117u8, 30u8, 29u8, 41u8, 238u8, 58u8, 195u8, 91u8, 115u8, + 135u8, 96u8, 99u8, 154u8, 233u8, 8u8, 249u8, 145u8, 165u8, 77u8, 164u8, ], ) } @@ -19204,9 +19274,10 @@ pub mod api { "cancel", types::Cancel { index }, [ - 247u8, 55u8, 146u8, 211u8, 168u8, 140u8, 248u8, 217u8, 218u8, 235u8, - 25u8, 39u8, 47u8, 132u8, 134u8, 18u8, 239u8, 70u8, 223u8, 50u8, 245u8, - 101u8, 97u8, 39u8, 226u8, 4u8, 196u8, 16u8, 66u8, 177u8, 178u8, 252u8, + 55u8, 206u8, 119u8, 156u8, 238u8, 165u8, 193u8, 73u8, 242u8, 13u8, + 212u8, 75u8, 136u8, 156u8, 151u8, 14u8, 35u8, 41u8, 156u8, 107u8, 60u8, + 190u8, 39u8, 216u8, 8u8, 74u8, 213u8, 130u8, 160u8, 131u8, 237u8, + 122u8, ], ) } @@ -19225,9 +19296,10 @@ pub mod api { "kill", types::Kill { index }, [ - 98u8, 109u8, 143u8, 42u8, 24u8, 80u8, 39u8, 243u8, 249u8, 141u8, 104u8, - 195u8, 29u8, 93u8, 149u8, 37u8, 27u8, 130u8, 84u8, 178u8, 246u8, 26u8, - 113u8, 224u8, 157u8, 94u8, 16u8, 14u8, 158u8, 80u8, 148u8, 198u8, + 50u8, 89u8, 57u8, 0u8, 87u8, 129u8, 113u8, 140u8, 179u8, 178u8, 126u8, + 198u8, 92u8, 92u8, 189u8, 64u8, 123u8, 232u8, 57u8, 227u8, 223u8, + 219u8, 73u8, 217u8, 179u8, 44u8, 210u8, 125u8, 180u8, 10u8, 143u8, + 48u8, ], ) } @@ -19244,10 +19316,10 @@ pub mod api { "nudge_referendum", types::NudgeReferendum { index }, [ - 60u8, 221u8, 153u8, 136u8, 107u8, 209u8, 59u8, 178u8, 208u8, 170u8, - 10u8, 225u8, 213u8, 170u8, 228u8, 64u8, 204u8, 166u8, 7u8, 230u8, - 243u8, 15u8, 206u8, 114u8, 8u8, 128u8, 46u8, 150u8, 114u8, 241u8, - 112u8, 97u8, + 75u8, 99u8, 172u8, 30u8, 170u8, 150u8, 211u8, 229u8, 249u8, 128u8, + 194u8, 246u8, 100u8, 142u8, 193u8, 184u8, 232u8, 81u8, 29u8, 17u8, + 99u8, 91u8, 236u8, 85u8, 230u8, 226u8, 57u8, 115u8, 45u8, 170u8, 54u8, + 213u8, ], ) } @@ -19269,10 +19341,10 @@ pub mod api { "one_fewer_deciding", types::OneFewerDeciding { track }, [ - 239u8, 43u8, 70u8, 73u8, 77u8, 28u8, 75u8, 62u8, 29u8, 67u8, 110u8, - 120u8, 234u8, 236u8, 126u8, 99u8, 46u8, 183u8, 169u8, 16u8, 143u8, - 233u8, 137u8, 247u8, 138u8, 96u8, 32u8, 223u8, 149u8, 52u8, 214u8, - 195u8, + 15u8, 84u8, 79u8, 231u8, 21u8, 239u8, 244u8, 143u8, 183u8, 215u8, + 181u8, 25u8, 225u8, 195u8, 95u8, 171u8, 17u8, 156u8, 182u8, 128u8, + 111u8, 40u8, 151u8, 102u8, 196u8, 55u8, 36u8, 212u8, 89u8, 190u8, + 131u8, 167u8, ], ) } @@ -19292,9 +19364,9 @@ pub mod api { "refund_submission_deposit", types::RefundSubmissionDeposit { index }, [ - 101u8, 147u8, 237u8, 27u8, 220u8, 116u8, 73u8, 131u8, 191u8, 92u8, - 134u8, 31u8, 175u8, 172u8, 129u8, 225u8, 91u8, 33u8, 23u8, 132u8, 89u8, - 19u8, 81u8, 238u8, 133u8, 243u8, 56u8, 70u8, 143u8, 43u8, 176u8, 83u8, + 20u8, 217u8, 115u8, 6u8, 1u8, 60u8, 54u8, 136u8, 35u8, 41u8, 38u8, + 23u8, 85u8, 100u8, 141u8, 126u8, 30u8, 160u8, 61u8, 46u8, 134u8, 98u8, + 82u8, 38u8, 211u8, 124u8, 208u8, 222u8, 210u8, 10u8, 155u8, 122u8, ], ) } @@ -19315,10 +19387,10 @@ pub mod api { "set_metadata", types::SetMetadata { index, maybe_hash }, [ - 235u8, 215u8, 66u8, 214u8, 157u8, 177u8, 233u8, 214u8, 103u8, 92u8, - 216u8, 228u8, 7u8, 123u8, 167u8, 225u8, 128u8, 16u8, 161u8, 102u8, - 217u8, 36u8, 80u8, 207u8, 137u8, 24u8, 219u8, 239u8, 42u8, 234u8, - 144u8, 133u8, + 207u8, 29u8, 146u8, 233u8, 219u8, 205u8, 88u8, 118u8, 106u8, 61u8, + 124u8, 101u8, 2u8, 41u8, 169u8, 70u8, 114u8, 189u8, 162u8, 118u8, 1u8, + 108u8, 234u8, 98u8, 245u8, 245u8, 183u8, 126u8, 89u8, 13u8, 112u8, + 88u8, ], ) } @@ -19666,10 +19738,10 @@ pub mod api { "ReferendumCount", vec![], [ - 153u8, 210u8, 106u8, 244u8, 156u8, 70u8, 124u8, 251u8, 123u8, 75u8, - 7u8, 189u8, 199u8, 145u8, 95u8, 119u8, 137u8, 11u8, 240u8, 160u8, - 151u8, 248u8, 229u8, 231u8, 89u8, 222u8, 18u8, 237u8, 144u8, 78u8, - 99u8, 58u8, + 64u8, 145u8, 232u8, 153u8, 121u8, 87u8, 128u8, 253u8, 170u8, 192u8, + 139u8, 18u8, 0u8, 33u8, 243u8, 11u8, 238u8, 222u8, 244u8, 5u8, 247u8, + 198u8, 149u8, 31u8, 122u8, 208u8, 86u8, 179u8, 166u8, 167u8, 93u8, + 67u8, ], ) } @@ -19704,9 +19776,9 @@ pub mod api { _0.borrow(), )], [ - 180u8, 213u8, 110u8, 2u8, 75u8, 24u8, 34u8, 143u8, 56u8, 197u8, 106u8, - 105u8, 182u8, 118u8, 114u8, 242u8, 48u8, 85u8, 147u8, 22u8, 29u8, - 211u8, 246u8, 127u8, 217u8, 251u8, 208u8, 20u8, 9u8, 84u8, 53u8, 249u8, + 4u8, 176u8, 130u8, 171u8, 233u8, 114u8, 73u8, 10u8, 99u8, 89u8, 34u8, + 91u8, 255u8, 21u8, 145u8, 5u8, 228u8, 56u8, 203u8, 233u8, 60u8, 236u8, + 58u8, 208u8, 163u8, 206u8, 122u8, 50u8, 208u8, 203u8, 220u8, 38u8, ], ) } @@ -19738,9 +19810,9 @@ pub mod api { "ReferendumInfoFor", Vec::new(), [ - 180u8, 213u8, 110u8, 2u8, 75u8, 24u8, 34u8, 143u8, 56u8, 197u8, 106u8, - 105u8, 182u8, 118u8, 114u8, 242u8, 48u8, 85u8, 147u8, 22u8, 29u8, - 211u8, 246u8, 127u8, 217u8, 251u8, 208u8, 20u8, 9u8, 84u8, 53u8, 249u8, + 4u8, 176u8, 130u8, 171u8, 233u8, 114u8, 73u8, 10u8, 99u8, 89u8, 34u8, + 91u8, 255u8, 21u8, 145u8, 5u8, 228u8, 56u8, 203u8, 233u8, 60u8, 236u8, + 58u8, 208u8, 163u8, 206u8, 122u8, 50u8, 208u8, 203u8, 220u8, 38u8, ], ) } @@ -19768,10 +19840,9 @@ pub mod api { _0.borrow(), )], [ - 254u8, 82u8, 183u8, 246u8, 168u8, 87u8, 175u8, 224u8, 192u8, 117u8, - 129u8, 244u8, 18u8, 18u8, 249u8, 30u8, 51u8, 133u8, 244u8, 117u8, - 194u8, 174u8, 99u8, 51u8, 155u8, 76u8, 206u8, 202u8, 109u8, 39u8, - 253u8, 240u8, + 125u8, 59u8, 111u8, 68u8, 27u8, 236u8, 82u8, 55u8, 83u8, 159u8, 105u8, + 20u8, 241u8, 118u8, 58u8, 141u8, 103u8, 60u8, 246u8, 49u8, 121u8, + 183u8, 7u8, 203u8, 225u8, 67u8, 132u8, 79u8, 150u8, 107u8, 71u8, 89u8, ], ) } @@ -19796,10 +19867,9 @@ pub mod api { "TrackQueue", Vec::new(), [ - 254u8, 82u8, 183u8, 246u8, 168u8, 87u8, 175u8, 224u8, 192u8, 117u8, - 129u8, 244u8, 18u8, 18u8, 249u8, 30u8, 51u8, 133u8, 244u8, 117u8, - 194u8, 174u8, 99u8, 51u8, 155u8, 76u8, 206u8, 202u8, 109u8, 39u8, - 253u8, 240u8, + 125u8, 59u8, 111u8, 68u8, 27u8, 236u8, 82u8, 55u8, 83u8, 159u8, 105u8, + 20u8, 241u8, 118u8, 58u8, 141u8, 103u8, 60u8, 246u8, 49u8, 121u8, + 183u8, 7u8, 203u8, 225u8, 67u8, 132u8, 79u8, 150u8, 107u8, 71u8, 89u8, ], ) } @@ -19821,10 +19891,10 @@ pub mod api { _0.borrow(), )], [ - 101u8, 153u8, 200u8, 225u8, 229u8, 227u8, 232u8, 26u8, 98u8, 60u8, - 60u8, 94u8, 204u8, 195u8, 193u8, 69u8, 50u8, 72u8, 31u8, 250u8, 224u8, - 179u8, 139u8, 207u8, 19u8, 156u8, 67u8, 234u8, 177u8, 223u8, 63u8, - 150u8, + 203u8, 89u8, 158u8, 179u8, 194u8, 82u8, 248u8, 162u8, 93u8, 140u8, + 146u8, 51u8, 110u8, 232u8, 51u8, 1u8, 128u8, 212u8, 199u8, 14u8, 182u8, + 103u8, 47u8, 252u8, 126u8, 108u8, 166u8, 69u8, 252u8, 179u8, 126u8, + 245u8, ], ) } @@ -19843,10 +19913,10 @@ pub mod api { "DecidingCount", Vec::new(), [ - 101u8, 153u8, 200u8, 225u8, 229u8, 227u8, 232u8, 26u8, 98u8, 60u8, - 60u8, 94u8, 204u8, 195u8, 193u8, 69u8, 50u8, 72u8, 31u8, 250u8, 224u8, - 179u8, 139u8, 207u8, 19u8, 156u8, 67u8, 234u8, 177u8, 223u8, 63u8, - 150u8, + 203u8, 89u8, 158u8, 179u8, 194u8, 82u8, 248u8, 162u8, 93u8, 140u8, + 146u8, 51u8, 110u8, 232u8, 51u8, 1u8, 128u8, 212u8, 199u8, 14u8, 182u8, + 103u8, 47u8, 252u8, 126u8, 108u8, 166u8, 69u8, 252u8, 179u8, 126u8, + 245u8, ], ) } @@ -19873,10 +19943,10 @@ pub mod api { _0.borrow(), )], [ - 104u8, 255u8, 134u8, 120u8, 111u8, 124u8, 108u8, 232u8, 61u8, 47u8, - 251u8, 228u8, 50u8, 49u8, 125u8, 229u8, 254u8, 88u8, 215u8, 90u8, - 116u8, 145u8, 111u8, 72u8, 132u8, 91u8, 106u8, 207u8, 13u8, 104u8, - 164u8, 100u8, + 159u8, 250u8, 56u8, 189u8, 247u8, 165u8, 206u8, 166u8, 91u8, 139u8, + 124u8, 164u8, 25u8, 246u8, 199u8, 36u8, 159u8, 56u8, 227u8, 136u8, 4u8, + 45u8, 193u8, 72u8, 200u8, 164u8, 39u8, 207u8, 224u8, 124u8, 191u8, + 110u8, ], ) } @@ -19900,10 +19970,10 @@ pub mod api { "MetadataOf", Vec::new(), [ - 104u8, 255u8, 134u8, 120u8, 111u8, 124u8, 108u8, 232u8, 61u8, 47u8, - 251u8, 228u8, 50u8, 49u8, 125u8, 229u8, 254u8, 88u8, 215u8, 90u8, - 116u8, 145u8, 111u8, 72u8, 132u8, 91u8, 106u8, 207u8, 13u8, 104u8, - 164u8, 100u8, + 159u8, 250u8, 56u8, 189u8, 247u8, 165u8, 206u8, 166u8, 91u8, 139u8, + 124u8, 164u8, 25u8, 246u8, 199u8, 36u8, 159u8, 56u8, 227u8, 136u8, 4u8, + 45u8, 193u8, 72u8, 200u8, 164u8, 39u8, 207u8, 224u8, 124u8, 191u8, + 110u8, ], ) } @@ -19989,9 +20059,10 @@ pub mod api { "Referenda", "Tracks", [ - 71u8, 253u8, 246u8, 54u8, 168u8, 190u8, 182u8, 15u8, 207u8, 26u8, 50u8, - 138u8, 212u8, 124u8, 13u8, 203u8, 27u8, 35u8, 224u8, 1u8, 176u8, 192u8, - 197u8, 220u8, 147u8, 94u8, 196u8, 150u8, 125u8, 23u8, 48u8, 255u8, + 230u8, 179u8, 170u8, 9u8, 42u8, 168u8, 158u8, 174u8, 177u8, 159u8, + 93u8, 152u8, 63u8, 111u8, 23u8, 80u8, 133u8, 232u8, 101u8, 2u8, 206u8, + 230u8, 248u8, 62u8, 145u8, 15u8, 147u8, 251u8, 196u8, 182u8, 95u8, + 33u8, ], ) } @@ -20093,9 +20164,10 @@ pub mod api { "whitelist_call", types::WhitelistCall { call_hash }, [ - 21u8, 246u8, 244u8, 176u8, 163u8, 80u8, 45u8, 191u8, 3u8, 180u8, 150u8, - 66u8, 168u8, 3u8, 196u8, 129u8, 177u8, 104u8, 48u8, 5u8, 201u8, 208u8, - 226u8, 76u8, 148u8, 116u8, 206u8, 119u8, 145u8, 78u8, 86u8, 41u8, + 121u8, 165u8, 49u8, 37u8, 127u8, 38u8, 126u8, 213u8, 115u8, 148u8, + 122u8, 211u8, 24u8, 91u8, 147u8, 27u8, 87u8, 210u8, 84u8, 104u8, 229u8, + 155u8, 133u8, 30u8, 34u8, 249u8, 107u8, 110u8, 31u8, 191u8, 128u8, + 28u8, ], ) } @@ -20108,9 +20180,10 @@ pub mod api { "remove_whitelisted_call", types::RemoveWhitelistedCall { call_hash }, [ - 142u8, 227u8, 198u8, 110u8, 90u8, 127u8, 218u8, 117u8, 181u8, 209u8, - 210u8, 86u8, 133u8, 95u8, 244u8, 64u8, 50u8, 240u8, 220u8, 50u8, 212u8, - 106u8, 4u8, 189u8, 2u8, 72u8, 96u8, 52u8, 187u8, 140u8, 144u8, 76u8, + 30u8, 47u8, 13u8, 231u8, 165u8, 219u8, 246u8, 210u8, 11u8, 38u8, 219u8, + 218u8, 151u8, 226u8, 101u8, 175u8, 0u8, 239u8, 35u8, 46u8, 156u8, + 104u8, 145u8, 173u8, 105u8, 100u8, 21u8, 189u8, 123u8, 227u8, 196u8, + 40u8, ], ) } @@ -20129,10 +20202,10 @@ pub mod api { call_weight_witness, }, [ - 243u8, 130u8, 216u8, 251u8, 131u8, 220u8, 75u8, 210u8, 203u8, 137u8, - 174u8, 95u8, 134u8, 252u8, 76u8, 33u8, 230u8, 185u8, 125u8, 15u8, - 200u8, 85u8, 46u8, 43u8, 34u8, 205u8, 245u8, 85u8, 46u8, 78u8, 245u8, - 135u8, + 10u8, 3u8, 194u8, 156u8, 211u8, 102u8, 188u8, 53u8, 232u8, 129u8, + 199u8, 113u8, 190u8, 88u8, 202u8, 126u8, 210u8, 144u8, 185u8, 169u8, + 233u8, 114u8, 237u8, 99u8, 244u8, 41u8, 35u8, 198u8, 93u8, 234u8, + 200u8, 20u8, ], ) } @@ -20148,10 +20221,10 @@ pub mod api { call: ::std::boxed::Box::new(call), }, [ - 97u8, 254u8, 134u8, 138u8, 68u8, 168u8, 207u8, 37u8, 107u8, 232u8, - 197u8, 219u8, 22u8, 91u8, 16u8, 162u8, 159u8, 99u8, 232u8, 92u8, 187u8, - 182u8, 231u8, 220u8, 235u8, 215u8, 186u8, 185u8, 40u8, 131u8, 191u8, - 37u8, + 165u8, 145u8, 232u8, 196u8, 0u8, 120u8, 40u8, 224u8, 54u8, 58u8, 90u8, + 6u8, 161u8, 131u8, 151u8, 169u8, 150u8, 219u8, 126u8, 151u8, 27u8, + 96u8, 237u8, 148u8, 119u8, 137u8, 130u8, 144u8, 133u8, 223u8, 133u8, + 86u8, ], ) } @@ -20240,9 +20313,9 @@ pub mod api { _0.borrow(), )], [ - 251u8, 179u8, 58u8, 232u8, 231u8, 121u8, 89u8, 218u8, 90u8, 70u8, 96u8, - 132u8, 54u8, 41u8, 18u8, 129u8, 197u8, 122u8, 221u8, 206u8, 41u8, - 100u8, 200u8, 141u8, 71u8, 98u8, 3u8, 3u8, 112u8, 167u8, 196u8, 77u8, + 82u8, 208u8, 214u8, 72u8, 225u8, 35u8, 51u8, 212u8, 25u8, 138u8, 30u8, + 87u8, 54u8, 232u8, 72u8, 132u8, 4u8, 9u8, 28u8, 143u8, 251u8, 106u8, + 167u8, 218u8, 130u8, 185u8, 253u8, 185u8, 113u8, 154u8, 202u8, 66u8, ], ) } @@ -20260,9 +20333,9 @@ pub mod api { "WhitelistedCall", Vec::new(), [ - 251u8, 179u8, 58u8, 232u8, 231u8, 121u8, 89u8, 218u8, 90u8, 70u8, 96u8, - 132u8, 54u8, 41u8, 18u8, 129u8, 197u8, 122u8, 221u8, 206u8, 41u8, - 100u8, 200u8, 141u8, 71u8, 98u8, 3u8, 3u8, 112u8, 167u8, 196u8, 77u8, + 82u8, 208u8, 214u8, 72u8, 225u8, 35u8, 51u8, 212u8, 25u8, 138u8, 30u8, + 87u8, 54u8, 232u8, 72u8, 132u8, 4u8, 9u8, 28u8, 143u8, 251u8, 106u8, + 167u8, 218u8, 130u8, 185u8, 253u8, 185u8, 113u8, 154u8, 202u8, 66u8, ], ) } @@ -20423,9 +20496,10 @@ pub mod api { ethereum_signature, }, [ - 33u8, 63u8, 71u8, 104u8, 200u8, 179u8, 248u8, 38u8, 193u8, 198u8, - 250u8, 49u8, 106u8, 26u8, 109u8, 183u8, 33u8, 50u8, 217u8, 28u8, 50u8, - 107u8, 249u8, 80u8, 199u8, 10u8, 192u8, 1u8, 54u8, 41u8, 146u8, 11u8, + 83u8, 166u8, 82u8, 164u8, 185u8, 116u8, 35u8, 29u8, 60u8, 10u8, 92u8, + 61u8, 212u8, 63u8, 236u8, 107u8, 19u8, 110u8, 100u8, 58u8, 154u8, + 143u8, 188u8, 153u8, 34u8, 237u8, 60u8, 140u8, 194u8, 135u8, 227u8, + 8u8, ], ) } @@ -20467,9 +20541,9 @@ pub mod api { statement, }, [ - 213u8, 79u8, 204u8, 40u8, 104u8, 84u8, 82u8, 62u8, 193u8, 93u8, 246u8, - 21u8, 37u8, 244u8, 166u8, 132u8, 208u8, 18u8, 86u8, 195u8, 156u8, 9u8, - 220u8, 120u8, 40u8, 183u8, 28u8, 103u8, 84u8, 163u8, 153u8, 110u8, + 254u8, 174u8, 70u8, 0u8, 70u8, 79u8, 195u8, 176u8, 196u8, 52u8, 204u8, + 219u8, 158u8, 73u8, 158u8, 126u8, 14u8, 37u8, 45u8, 29u8, 249u8, 246u8, + 3u8, 40u8, 72u8, 111u8, 213u8, 180u8, 201u8, 139u8, 175u8, 194u8, ], ) } @@ -20514,10 +20588,9 @@ pub mod api { statement, }, [ - 255u8, 10u8, 87u8, 106u8, 101u8, 195u8, 249u8, 25u8, 109u8, 82u8, - 213u8, 95u8, 203u8, 145u8, 224u8, 113u8, 92u8, 141u8, 31u8, 54u8, - 218u8, 47u8, 218u8, 239u8, 211u8, 206u8, 77u8, 176u8, 19u8, 176u8, - 175u8, 135u8, + 18u8, 79u8, 43u8, 28u8, 88u8, 151u8, 46u8, 15u8, 28u8, 146u8, 210u8, + 235u8, 158u8, 64u8, 236u8, 204u8, 89u8, 174u8, 250u8, 114u8, 45u8, 3u8, + 17u8, 129u8, 147u8, 69u8, 232u8, 181u8, 71u8, 98u8, 5u8, 244u8, ], ) } @@ -20547,9 +20620,10 @@ pub mod api { "attest", types::Attest { statement }, [ - 8u8, 218u8, 97u8, 237u8, 185u8, 61u8, 55u8, 4u8, 134u8, 18u8, 244u8, - 226u8, 40u8, 97u8, 222u8, 246u8, 221u8, 74u8, 253u8, 22u8, 52u8, 223u8, - 224u8, 83u8, 21u8, 218u8, 248u8, 100u8, 107u8, 58u8, 247u8, 10u8, + 254u8, 56u8, 140u8, 129u8, 227u8, 155u8, 161u8, 107u8, 167u8, 148u8, + 167u8, 104u8, 139u8, 174u8, 204u8, 124u8, 126u8, 198u8, 165u8, 61u8, + 83u8, 197u8, 242u8, 13u8, 70u8, 153u8, 14u8, 62u8, 214u8, 129u8, 64u8, + 93u8, ], ) } @@ -20568,10 +20642,9 @@ pub mod api { maybe_preclaim, }, [ - 63u8, 48u8, 217u8, 16u8, 161u8, 102u8, 165u8, 241u8, 57u8, 185u8, - 230u8, 161u8, 202u8, 11u8, 223u8, 15u8, 57u8, 181u8, 34u8, 131u8, - 235u8, 168u8, 227u8, 152u8, 157u8, 4u8, 192u8, 243u8, 194u8, 120u8, - 130u8, 202u8, + 82u8, 63u8, 8u8, 178u8, 205u8, 16u8, 182u8, 216u8, 80u8, 254u8, 48u8, + 10u8, 52u8, 159u8, 198u8, 116u8, 164u8, 108u8, 209u8, 193u8, 60u8, + 139u8, 241u8, 135u8, 92u8, 103u8, 241u8, 52u8, 103u8, 52u8, 243u8, 0u8, ], ) } @@ -20626,9 +20699,10 @@ pub mod api { _0.borrow(), )], [ - 36u8, 247u8, 169u8, 171u8, 103u8, 176u8, 70u8, 213u8, 255u8, 175u8, - 97u8, 142u8, 231u8, 70u8, 90u8, 213u8, 128u8, 67u8, 50u8, 37u8, 51u8, - 184u8, 72u8, 27u8, 193u8, 254u8, 12u8, 253u8, 91u8, 60u8, 88u8, 182u8, + 148u8, 115u8, 159u8, 169u8, 36u8, 116u8, 15u8, 108u8, 57u8, 195u8, + 226u8, 180u8, 187u8, 112u8, 114u8, 63u8, 3u8, 205u8, 113u8, 141u8, + 149u8, 149u8, 118u8, 246u8, 45u8, 245u8, 148u8, 108u8, 22u8, 184u8, + 152u8, 132u8, ], ) } @@ -20646,9 +20720,10 @@ pub mod api { "Claims", Vec::new(), [ - 36u8, 247u8, 169u8, 171u8, 103u8, 176u8, 70u8, 213u8, 255u8, 175u8, - 97u8, 142u8, 231u8, 70u8, 90u8, 213u8, 128u8, 67u8, 50u8, 37u8, 51u8, - 184u8, 72u8, 27u8, 193u8, 254u8, 12u8, 253u8, 91u8, 60u8, 88u8, 182u8, + 148u8, 115u8, 159u8, 169u8, 36u8, 116u8, 15u8, 108u8, 57u8, 195u8, + 226u8, 180u8, 187u8, 112u8, 114u8, 63u8, 3u8, 205u8, 113u8, 141u8, + 149u8, 149u8, 118u8, 246u8, 45u8, 245u8, 148u8, 108u8, 22u8, 184u8, + 152u8, 132u8, ], ) } @@ -20666,9 +20741,10 @@ pub mod api { "Total", vec![], [ - 162u8, 59u8, 237u8, 63u8, 23u8, 44u8, 74u8, 169u8, 131u8, 166u8, 174u8, - 61u8, 127u8, 165u8, 32u8, 115u8, 73u8, 171u8, 36u8, 10u8, 6u8, 23u8, - 19u8, 202u8, 3u8, 189u8, 29u8, 169u8, 144u8, 187u8, 235u8, 77u8, + 188u8, 31u8, 219u8, 189u8, 49u8, 213u8, 203u8, 89u8, 125u8, 58u8, + 232u8, 159u8, 131u8, 155u8, 166u8, 113u8, 99u8, 24u8, 40u8, 242u8, + 118u8, 183u8, 108u8, 230u8, 135u8, 150u8, 84u8, 86u8, 118u8, 91u8, + 168u8, 62u8, ], ) } @@ -20699,9 +20775,10 @@ pub mod api { _0.borrow(), )], [ - 112u8, 174u8, 151u8, 185u8, 225u8, 170u8, 63u8, 147u8, 100u8, 23u8, - 102u8, 148u8, 244u8, 47u8, 87u8, 99u8, 28u8, 59u8, 48u8, 205u8, 43u8, - 41u8, 87u8, 225u8, 191u8, 164u8, 31u8, 208u8, 80u8, 53u8, 25u8, 205u8, + 16u8, 107u8, 69u8, 162u8, 210u8, 200u8, 188u8, 185u8, 69u8, 90u8, + 209u8, 238u8, 167u8, 173u8, 193u8, 118u8, 58u8, 17u8, 68u8, 136u8, + 163u8, 207u8, 34u8, 226u8, 174u8, 199u8, 127u8, 4u8, 225u8, 198u8, + 143u8, 180u8, ], ) } @@ -20727,9 +20804,10 @@ pub mod api { "Vesting", Vec::new(), [ - 112u8, 174u8, 151u8, 185u8, 225u8, 170u8, 63u8, 147u8, 100u8, 23u8, - 102u8, 148u8, 244u8, 47u8, 87u8, 99u8, 28u8, 59u8, 48u8, 205u8, 43u8, - 41u8, 87u8, 225u8, 191u8, 164u8, 31u8, 208u8, 80u8, 53u8, 25u8, 205u8, + 16u8, 107u8, 69u8, 162u8, 210u8, 200u8, 188u8, 185u8, 69u8, 90u8, + 209u8, 238u8, 167u8, 173u8, 193u8, 118u8, 58u8, 17u8, 68u8, 136u8, + 163u8, 207u8, 34u8, 226u8, 174u8, 199u8, 127u8, 4u8, 225u8, 198u8, + 143u8, 180u8, ], ) } @@ -20753,10 +20831,9 @@ pub mod api { _0.borrow(), )], [ - 51u8, 184u8, 211u8, 207u8, 13u8, 194u8, 181u8, 153u8, 25u8, 212u8, - 106u8, 189u8, 149u8, 14u8, 19u8, 61u8, 210u8, 109u8, 23u8, 168u8, - 191u8, 74u8, 112u8, 190u8, 242u8, 112u8, 183u8, 17u8, 30u8, 125u8, - 85u8, 107u8, + 111u8, 90u8, 178u8, 121u8, 241u8, 28u8, 169u8, 231u8, 61u8, 189u8, + 113u8, 207u8, 26u8, 153u8, 189u8, 15u8, 192u8, 25u8, 22u8, 22u8, 124u8, + 26u8, 191u8, 39u8, 130u8, 164u8, 34u8, 4u8, 44u8, 91u8, 82u8, 186u8, ], ) } @@ -20775,10 +20852,9 @@ pub mod api { "Signing", Vec::new(), [ - 51u8, 184u8, 211u8, 207u8, 13u8, 194u8, 181u8, 153u8, 25u8, 212u8, - 106u8, 189u8, 149u8, 14u8, 19u8, 61u8, 210u8, 109u8, 23u8, 168u8, - 191u8, 74u8, 112u8, 190u8, 242u8, 112u8, 183u8, 17u8, 30u8, 125u8, - 85u8, 107u8, + 111u8, 90u8, 178u8, 121u8, 241u8, 28u8, 169u8, 231u8, 61u8, 189u8, + 113u8, 207u8, 26u8, 153u8, 189u8, 15u8, 192u8, 25u8, 22u8, 22u8, 124u8, + 26u8, 191u8, 39u8, 130u8, 164u8, 34u8, 4u8, 44u8, 91u8, 82u8, 186u8, ], ) } @@ -20800,10 +20876,9 @@ pub mod api { _0.borrow(), )], [ - 149u8, 61u8, 170u8, 170u8, 60u8, 212u8, 29u8, 214u8, 141u8, 136u8, - 207u8, 248u8, 51u8, 135u8, 242u8, 105u8, 121u8, 91u8, 186u8, 30u8, 0u8, - 173u8, 154u8, 133u8, 20u8, 244u8, 58u8, 184u8, 133u8, 214u8, 67u8, - 95u8, + 154u8, 182u8, 178u8, 76u8, 81u8, 63u8, 87u8, 179u8, 243u8, 104u8, + 206u8, 75u8, 114u8, 83u8, 16u8, 233u8, 22u8, 132u8, 207u8, 36u8, 151u8, + 179u8, 94u8, 208u8, 210u8, 202u8, 149u8, 248u8, 9u8, 49u8, 140u8, 94u8, ], ) } @@ -20822,10 +20897,9 @@ pub mod api { "Preclaims", Vec::new(), [ - 149u8, 61u8, 170u8, 170u8, 60u8, 212u8, 29u8, 214u8, 141u8, 136u8, - 207u8, 248u8, 51u8, 135u8, 242u8, 105u8, 121u8, 91u8, 186u8, 30u8, 0u8, - 173u8, 154u8, 133u8, 20u8, 244u8, 58u8, 184u8, 133u8, 214u8, 67u8, - 95u8, + 154u8, 182u8, 178u8, 76u8, 81u8, 63u8, 87u8, 179u8, 243u8, 104u8, + 206u8, 75u8, 114u8, 83u8, 16u8, 233u8, 22u8, 132u8, 207u8, 36u8, 151u8, + 179u8, 94u8, 208u8, 210u8, 202u8, 149u8, 248u8, 9u8, 49u8, 140u8, 94u8, ], ) } @@ -20843,9 +20917,10 @@ pub mod api { "Claims", "Prefix", [ - 106u8, 50u8, 57u8, 116u8, 43u8, 202u8, 37u8, 248u8, 102u8, 22u8, 62u8, - 22u8, 242u8, 54u8, 152u8, 168u8, 107u8, 64u8, 72u8, 172u8, 124u8, 40u8, - 42u8, 110u8, 104u8, 145u8, 31u8, 144u8, 242u8, 189u8, 145u8, 208u8, + 64u8, 190u8, 244u8, 122u8, 87u8, 182u8, 217u8, 16u8, 55u8, 223u8, + 128u8, 6u8, 112u8, 30u8, 236u8, 222u8, 153u8, 53u8, 247u8, 102u8, + 196u8, 31u8, 6u8, 186u8, 251u8, 209u8, 114u8, 125u8, 213u8, 222u8, + 240u8, 8u8, ], ) } @@ -20976,9 +21051,10 @@ pub mod api { "vest", types::Vest {}, [ - 123u8, 54u8, 10u8, 208u8, 154u8, 24u8, 39u8, 166u8, 64u8, 27u8, 74u8, - 29u8, 243u8, 97u8, 155u8, 5u8, 130u8, 155u8, 65u8, 181u8, 196u8, 125u8, - 45u8, 133u8, 25u8, 33u8, 3u8, 34u8, 21u8, 167u8, 172u8, 54u8, + 149u8, 89u8, 178u8, 148u8, 127u8, 127u8, 155u8, 60u8, 114u8, 126u8, + 204u8, 123u8, 166u8, 70u8, 104u8, 208u8, 186u8, 69u8, 139u8, 181u8, + 151u8, 154u8, 235u8, 161u8, 191u8, 35u8, 111u8, 60u8, 21u8, 165u8, + 44u8, 122u8, ], ) } @@ -21002,10 +21078,10 @@ pub mod api { "vest_other", types::VestOther { target }, [ - 164u8, 19u8, 93u8, 81u8, 235u8, 101u8, 18u8, 52u8, 187u8, 81u8, 243u8, - 216u8, 116u8, 84u8, 188u8, 135u8, 1u8, 241u8, 128u8, 90u8, 117u8, - 164u8, 111u8, 0u8, 251u8, 148u8, 250u8, 248u8, 102u8, 79u8, 165u8, - 175u8, + 110u8, 68u8, 150u8, 149u8, 107u8, 90u8, 168u8, 177u8, 73u8, 114u8, + 18u8, 18u8, 5u8, 75u8, 23u8, 149u8, 236u8, 123u8, 221u8, 240u8, 139u8, + 238u8, 208u8, 0u8, 218u8, 209u8, 53u8, 193u8, 180u8, 245u8, 48u8, + 229u8, ], ) } @@ -21035,10 +21111,10 @@ pub mod api { "vested_transfer", types::VestedTransfer { target, schedule }, [ - 135u8, 172u8, 56u8, 97u8, 45u8, 141u8, 93u8, 173u8, 111u8, 252u8, 75u8, - 246u8, 92u8, 181u8, 138u8, 87u8, 145u8, 174u8, 71u8, 108u8, 126u8, - 118u8, 49u8, 122u8, 249u8, 132u8, 19u8, 2u8, 132u8, 160u8, 247u8, - 195u8, + 6u8, 238u8, 73u8, 156u8, 65u8, 39u8, 135u8, 115u8, 26u8, 55u8, 41u8, + 171u8, 227u8, 86u8, 94u8, 157u8, 199u8, 151u8, 133u8, 253u8, 173u8, + 59u8, 140u8, 239u8, 130u8, 248u8, 250u8, 253u8, 240u8, 30u8, 73u8, + 217u8, ], ) } @@ -21074,9 +21150,9 @@ pub mod api { schedule, }, [ - 110u8, 142u8, 63u8, 148u8, 90u8, 229u8, 237u8, 183u8, 240u8, 237u8, - 242u8, 32u8, 88u8, 48u8, 220u8, 101u8, 210u8, 212u8, 27u8, 7u8, 186u8, - 98u8, 28u8, 197u8, 148u8, 140u8, 77u8, 59u8, 202u8, 166u8, 63u8, 97u8, + 69u8, 51u8, 162u8, 29u8, 192u8, 237u8, 135u8, 167u8, 176u8, 48u8, 33u8, + 216u8, 195u8, 213u8, 176u8, 49u8, 202u8, 238u8, 197u8, 210u8, 8u8, + 35u8, 77u8, 69u8, 30u8, 15u8, 145u8, 19u8, 28u8, 193u8, 197u8, 16u8, ], ) } @@ -21114,9 +21190,9 @@ pub mod api { schedule2_index, }, [ - 95u8, 255u8, 147u8, 12u8, 49u8, 25u8, 70u8, 112u8, 55u8, 154u8, 183u8, - 97u8, 56u8, 244u8, 148u8, 61u8, 107u8, 163u8, 220u8, 31u8, 153u8, 25u8, - 193u8, 251u8, 131u8, 26u8, 166u8, 157u8, 75u8, 4u8, 110u8, 125u8, + 135u8, 49u8, 137u8, 222u8, 134u8, 94u8, 197u8, 182u8, 171u8, 57u8, + 161u8, 6u8, 185u8, 130u8, 45u8, 30u8, 79u8, 77u8, 157u8, 118u8, 35u8, + 249u8, 39u8, 10u8, 103u8, 160u8, 198u8, 75u8, 26u8, 50u8, 64u8, 26u8, ], ) } @@ -21192,9 +21268,10 @@ pub mod api { _0.borrow(), )], [ - 23u8, 209u8, 233u8, 126u8, 89u8, 156u8, 193u8, 204u8, 100u8, 90u8, - 14u8, 120u8, 36u8, 167u8, 148u8, 239u8, 179u8, 74u8, 207u8, 83u8, 54u8, - 77u8, 27u8, 135u8, 74u8, 31u8, 33u8, 11u8, 168u8, 239u8, 212u8, 36u8, + 10u8, 98u8, 73u8, 242u8, 215u8, 4u8, 45u8, 227u8, 73u8, 203u8, 33u8, + 105u8, 228u8, 247u8, 125u8, 99u8, 98u8, 38u8, 176u8, 123u8, 233u8, + 219u8, 174u8, 118u8, 49u8, 172u8, 58u8, 162u8, 186u8, 110u8, 147u8, + 122u8, ], ) } @@ -21218,9 +21295,10 @@ pub mod api { "Vesting", Vec::new(), [ - 23u8, 209u8, 233u8, 126u8, 89u8, 156u8, 193u8, 204u8, 100u8, 90u8, - 14u8, 120u8, 36u8, 167u8, 148u8, 239u8, 179u8, 74u8, 207u8, 83u8, 54u8, - 77u8, 27u8, 135u8, 74u8, 31u8, 33u8, 11u8, 168u8, 239u8, 212u8, 36u8, + 10u8, 98u8, 73u8, 242u8, 215u8, 4u8, 45u8, 227u8, 73u8, 203u8, 33u8, + 105u8, 228u8, 247u8, 125u8, 99u8, 98u8, 38u8, 176u8, 123u8, 233u8, + 219u8, 174u8, 118u8, 49u8, 172u8, 58u8, 162u8, 186u8, 110u8, 147u8, + 122u8, ], ) } @@ -21241,9 +21319,9 @@ pub mod api { "StorageVersion", vec![], [ - 50u8, 143u8, 26u8, 88u8, 129u8, 31u8, 61u8, 118u8, 19u8, 202u8, 119u8, - 160u8, 34u8, 219u8, 60u8, 57u8, 189u8, 66u8, 93u8, 239u8, 121u8, 114u8, - 241u8, 116u8, 0u8, 122u8, 232u8, 94u8, 189u8, 23u8, 45u8, 191u8, + 230u8, 137u8, 180u8, 133u8, 142u8, 124u8, 231u8, 234u8, 223u8, 10u8, + 154u8, 98u8, 158u8, 253u8, 228u8, 80u8, 5u8, 9u8, 91u8, 210u8, 252u8, + 9u8, 13u8, 195u8, 193u8, 164u8, 129u8, 113u8, 128u8, 218u8, 8u8, 40u8, ], ) } @@ -21432,9 +21510,9 @@ pub mod api { "batch", types::Batch { calls }, [ - 221u8, 151u8, 56u8, 10u8, 237u8, 176u8, 153u8, 88u8, 29u8, 225u8, 27u8, - 231u8, 98u8, 222u8, 51u8, 94u8, 88u8, 16u8, 40u8, 253u8, 61u8, 35u8, - 70u8, 110u8, 15u8, 75u8, 102u8, 140u8, 125u8, 54u8, 223u8, 231u8, + 206u8, 63u8, 238u8, 29u8, 17u8, 76u8, 147u8, 42u8, 207u8, 102u8, 254u8, + 73u8, 66u8, 84u8, 193u8, 60u8, 123u8, 228u8, 202u8, 16u8, 252u8, 116u8, + 254u8, 116u8, 224u8, 201u8, 68u8, 81u8, 83u8, 52u8, 140u8, 162u8, ], ) } @@ -21464,9 +21542,9 @@ pub mod api { call: ::std::boxed::Box::new(call), }, [ - 154u8, 209u8, 156u8, 16u8, 183u8, 67u8, 69u8, 4u8, 187u8, 100u8, 27u8, - 221u8, 195u8, 187u8, 165u8, 6u8, 121u8, 94u8, 27u8, 111u8, 214u8, 91u8, - 83u8, 160u8, 242u8, 13u8, 236u8, 70u8, 155u8, 94u8, 78u8, 71u8, + 198u8, 130u8, 194u8, 65u8, 34u8, 1u8, 245u8, 50u8, 14u8, 19u8, 185u8, + 163u8, 167u8, 10u8, 3u8, 14u8, 86u8, 151u8, 235u8, 254u8, 187u8, 119u8, + 238u8, 234u8, 66u8, 171u8, 240u8, 29u8, 2u8, 12u8, 128u8, 232u8, ], ) } @@ -21492,10 +21570,9 @@ pub mod api { "batch_all", types::BatchAll { calls }, [ - 255u8, 107u8, 81u8, 108u8, 78u8, 19u8, 231u8, 220u8, 177u8, 177u8, - 28u8, 24u8, 100u8, 228u8, 227u8, 45u8, 3u8, 51u8, 132u8, 12u8, 48u8, - 158u8, 67u8, 201u8, 193u8, 126u8, 251u8, 177u8, 102u8, 251u8, 90u8, - 81u8, + 111u8, 232u8, 44u8, 90u8, 148u8, 170u8, 209u8, 220u8, 197u8, 196u8, + 75u8, 202u8, 206u8, 19u8, 42u8, 90u8, 76u8, 85u8, 28u8, 113u8, 182u8, + 62u8, 194u8, 52u8, 54u8, 14u8, 250u8, 178u8, 121u8, 132u8, 52u8, 244u8, ], ) } @@ -21518,9 +21595,10 @@ pub mod api { call: ::std::boxed::Box::new(call), }, [ - 74u8, 215u8, 136u8, 17u8, 87u8, 74u8, 107u8, 176u8, 229u8, 23u8, 109u8, - 233u8, 84u8, 229u8, 27u8, 35u8, 154u8, 93u8, 104u8, 222u8, 71u8, 167u8, - 39u8, 12u8, 235u8, 46u8, 204u8, 125u8, 67u8, 96u8, 236u8, 91u8, + 202u8, 82u8, 213u8, 197u8, 129u8, 136u8, 23u8, 223u8, 214u8, 54u8, + 73u8, 126u8, 227u8, 240u8, 52u8, 222u8, 105u8, 46u8, 255u8, 66u8, + 199u8, 200u8, 2u8, 226u8, 107u8, 98u8, 142u8, 44u8, 135u8, 220u8, 13u8, + 62u8, ], ) } @@ -21546,10 +21624,10 @@ pub mod api { "force_batch", types::ForceBatch { calls }, [ - 183u8, 158u8, 12u8, 76u8, 9u8, 251u8, 54u8, 89u8, 139u8, 70u8, 51u8, - 72u8, 181u8, 28u8, 110u8, 207u8, 211u8, 236u8, 224u8, 44u8, 104u8, - 231u8, 238u8, 141u8, 176u8, 194u8, 100u8, 217u8, 63u8, 127u8, 166u8, - 24u8, + 5u8, 6u8, 194u8, 167u8, 95u8, 10u8, 18u8, 236u8, 102u8, 157u8, 249u8, + 104u8, 170u8, 77u8, 215u8, 111u8, 95u8, 141u8, 65u8, 43u8, 227u8, + 242u8, 24u8, 19u8, 241u8, 248u8, 191u8, 180u8, 157u8, 145u8, 140u8, + 148u8, ], ) } @@ -21572,9 +21650,9 @@ pub mod api { weight, }, [ - 206u8, 4u8, 190u8, 61u8, 107u8, 61u8, 249u8, 88u8, 255u8, 170u8, 65u8, - 96u8, 12u8, 54u8, 149u8, 75u8, 250u8, 153u8, 103u8, 142u8, 117u8, 64u8, - 45u8, 189u8, 129u8, 28u8, 143u8, 78u8, 53u8, 188u8, 178u8, 19u8, + 249u8, 241u8, 154u8, 18u8, 125u8, 189u8, 176u8, 39u8, 201u8, 244u8, + 174u8, 187u8, 248u8, 48u8, 44u8, 144u8, 87u8, 67u8, 80u8, 108u8, 136u8, + 181u8, 224u8, 45u8, 146u8, 9u8, 58u8, 132u8, 43u8, 222u8, 36u8, 20u8, ], ) } @@ -22021,10 +22099,10 @@ pub mod api { "add_registrar", types::AddRegistrar { account }, [ - 157u8, 232u8, 252u8, 190u8, 203u8, 233u8, 127u8, 63u8, 111u8, 16u8, - 118u8, 200u8, 31u8, 234u8, 144u8, 111u8, 161u8, 224u8, 217u8, 86u8, - 179u8, 254u8, 162u8, 212u8, 248u8, 8u8, 125u8, 89u8, 23u8, 195u8, 4u8, - 231u8, + 151u8, 254u8, 116u8, 168u8, 124u8, 236u8, 0u8, 15u8, 49u8, 117u8, + 191u8, 181u8, 254u8, 152u8, 163u8, 69u8, 139u8, 157u8, 38u8, 231u8, + 87u8, 4u8, 227u8, 0u8, 79u8, 188u8, 41u8, 31u8, 120u8, 28u8, 214u8, + 31u8, ], ) } @@ -22054,9 +22132,9 @@ pub mod api { info: ::std::boxed::Box::new(info), }, [ - 130u8, 89u8, 118u8, 6u8, 134u8, 166u8, 35u8, 192u8, 73u8, 6u8, 171u8, - 20u8, 225u8, 255u8, 152u8, 142u8, 111u8, 8u8, 206u8, 200u8, 64u8, 52u8, - 110u8, 123u8, 42u8, 101u8, 191u8, 242u8, 133u8, 139u8, 154u8, 205u8, + 205u8, 7u8, 54u8, 226u8, 123u8, 160u8, 173u8, 25u8, 179u8, 93u8, 172u8, + 37u8, 222u8, 143u8, 209u8, 1u8, 230u8, 32u8, 84u8, 80u8, 110u8, 195u8, + 87u8, 185u8, 27u8, 31u8, 185u8, 161u8, 154u8, 166u8, 177u8, 190u8, ], ) } @@ -22086,10 +22164,10 @@ pub mod api { "set_subs", types::SetSubs { subs }, [ - 177u8, 219u8, 84u8, 183u8, 5u8, 32u8, 192u8, 82u8, 174u8, 68u8, 198u8, - 224u8, 56u8, 85u8, 134u8, 171u8, 30u8, 132u8, 140u8, 236u8, 117u8, - 24u8, 150u8, 218u8, 146u8, 194u8, 144u8, 92u8, 103u8, 206u8, 46u8, - 90u8, + 76u8, 193u8, 92u8, 120u8, 9u8, 99u8, 102u8, 220u8, 177u8, 29u8, 65u8, + 14u8, 250u8, 101u8, 118u8, 59u8, 251u8, 153u8, 136u8, 141u8, 89u8, + 250u8, 74u8, 254u8, 111u8, 220u8, 132u8, 228u8, 248u8, 132u8, 177u8, + 128u8, ], ) } @@ -22113,9 +22191,10 @@ pub mod api { "clear_identity", types::ClearIdentity {}, [ - 75u8, 44u8, 74u8, 122u8, 149u8, 202u8, 114u8, 230u8, 0u8, 255u8, 140u8, - 122u8, 14u8, 196u8, 205u8, 249u8, 220u8, 94u8, 216u8, 34u8, 63u8, 14u8, - 8u8, 205u8, 74u8, 23u8, 181u8, 129u8, 252u8, 110u8, 231u8, 114u8, + 43u8, 115u8, 205u8, 44u8, 24u8, 130u8, 220u8, 69u8, 247u8, 176u8, + 200u8, 175u8, 67u8, 183u8, 36u8, 200u8, 162u8, 132u8, 242u8, 25u8, + 21u8, 106u8, 197u8, 219u8, 141u8, 51u8, 204u8, 13u8, 191u8, 201u8, + 31u8, 31u8, ], ) } @@ -22150,9 +22229,9 @@ pub mod api { "request_judgement", types::RequestJudgement { reg_index, max_fee }, [ - 186u8, 149u8, 61u8, 54u8, 159u8, 194u8, 77u8, 161u8, 220u8, 157u8, 3u8, - 216u8, 23u8, 105u8, 119u8, 76u8, 144u8, 198u8, 157u8, 45u8, 235u8, - 139u8, 87u8, 82u8, 81u8, 12u8, 25u8, 134u8, 225u8, 92u8, 182u8, 101u8, + 83u8, 85u8, 55u8, 184u8, 14u8, 54u8, 49u8, 212u8, 26u8, 148u8, 33u8, + 147u8, 182u8, 54u8, 180u8, 12u8, 61u8, 179u8, 216u8, 157u8, 103u8, + 52u8, 120u8, 252u8, 83u8, 203u8, 144u8, 65u8, 15u8, 3u8, 21u8, 33u8, ], ) } @@ -22180,9 +22259,10 @@ pub mod api { "cancel_request", types::CancelRequest { reg_index }, [ - 83u8, 180u8, 239u8, 126u8, 32u8, 51u8, 17u8, 20u8, 180u8, 3u8, 59u8, - 96u8, 24u8, 32u8, 136u8, 92u8, 58u8, 254u8, 68u8, 70u8, 50u8, 11u8, - 51u8, 91u8, 180u8, 79u8, 81u8, 84u8, 216u8, 138u8, 6u8, 215u8, + 81u8, 14u8, 133u8, 219u8, 43u8, 84u8, 163u8, 208u8, 21u8, 185u8, 75u8, + 117u8, 126u8, 33u8, 210u8, 106u8, 122u8, 210u8, 35u8, 207u8, 104u8, + 206u8, 41u8, 117u8, 247u8, 108u8, 56u8, 23u8, 123u8, 169u8, 169u8, + 61u8, ], ) } @@ -22207,9 +22287,10 @@ pub mod api { "set_fee", types::SetFee { index, fee }, [ - 21u8, 157u8, 123u8, 182u8, 160u8, 190u8, 117u8, 37u8, 136u8, 133u8, - 104u8, 234u8, 31u8, 145u8, 115u8, 154u8, 125u8, 40u8, 2u8, 87u8, 118u8, - 56u8, 247u8, 73u8, 89u8, 0u8, 251u8, 3u8, 58u8, 105u8, 239u8, 211u8, + 131u8, 20u8, 17u8, 127u8, 180u8, 65u8, 225u8, 144u8, 193u8, 60u8, + 131u8, 241u8, 30u8, 149u8, 8u8, 76u8, 29u8, 52u8, 102u8, 108u8, 127u8, + 130u8, 70u8, 18u8, 94u8, 145u8, 179u8, 109u8, 252u8, 219u8, 58u8, + 163u8, ], ) } @@ -22234,9 +22315,9 @@ pub mod api { "set_account_id", types::SetAccountId { index, new }, [ - 13u8, 91u8, 36u8, 7u8, 88u8, 64u8, 151u8, 104u8, 94u8, 174u8, 195u8, - 99u8, 97u8, 181u8, 236u8, 251u8, 26u8, 236u8, 234u8, 40u8, 183u8, 38u8, - 220u8, 216u8, 48u8, 115u8, 7u8, 230u8, 216u8, 28u8, 123u8, 11u8, + 7u8, 72u8, 255u8, 4u8, 182u8, 226u8, 22u8, 255u8, 181u8, 64u8, 165u8, + 247u8, 102u8, 190u8, 42u8, 236u8, 196u8, 201u8, 26u8, 6u8, 91u8, 113u8, + 223u8, 237u8, 250u8, 182u8, 40u8, 184u8, 45u8, 255u8, 64u8, 137u8, ], ) } @@ -22263,9 +22344,9 @@ pub mod api { "set_fields", types::SetFields { index, fields }, [ - 50u8, 196u8, 179u8, 71u8, 66u8, 65u8, 235u8, 7u8, 51u8, 14u8, 81u8, - 173u8, 201u8, 58u8, 6u8, 151u8, 174u8, 245u8, 102u8, 184u8, 28u8, 84u8, - 125u8, 93u8, 126u8, 134u8, 92u8, 203u8, 200u8, 129u8, 240u8, 252u8, + 25u8, 129u8, 119u8, 232u8, 18u8, 32u8, 77u8, 23u8, 185u8, 56u8, 32u8, + 199u8, 74u8, 174u8, 104u8, 203u8, 171u8, 253u8, 19u8, 225u8, 101u8, + 239u8, 14u8, 242u8, 157u8, 51u8, 203u8, 74u8, 1u8, 65u8, 165u8, 205u8, ], ) } @@ -22305,9 +22386,9 @@ pub mod api { identity, }, [ - 147u8, 66u8, 29u8, 90u8, 149u8, 65u8, 161u8, 115u8, 12u8, 254u8, 188u8, - 248u8, 165u8, 115u8, 191u8, 2u8, 167u8, 223u8, 199u8, 169u8, 203u8, - 64u8, 101u8, 217u8, 73u8, 185u8, 93u8, 109u8, 22u8, 184u8, 146u8, 73u8, + 84u8, 65u8, 119u8, 246u8, 52u8, 71u8, 44u8, 213u8, 173u8, 21u8, 198u8, + 91u8, 234u8, 186u8, 176u8, 168u8, 158u8, 232u8, 10u8, 230u8, 15u8, + 34u8, 27u8, 241u8, 200u8, 58u8, 17u8, 112u8, 211u8, 88u8, 162u8, 228u8, ], ) } @@ -22338,10 +22419,9 @@ pub mod api { "kill_identity", types::KillIdentity { target }, [ - 76u8, 13u8, 158u8, 219u8, 221u8, 0u8, 151u8, 241u8, 137u8, 136u8, - 179u8, 194u8, 188u8, 230u8, 56u8, 16u8, 254u8, 28u8, 127u8, 216u8, - 205u8, 117u8, 224u8, 121u8, 240u8, 231u8, 126u8, 181u8, 230u8, 68u8, - 13u8, 174u8, + 154u8, 203u8, 22u8, 126u8, 241u8, 51u8, 109u8, 221u8, 79u8, 203u8, + 12u8, 113u8, 234u8, 162u8, 125u8, 39u8, 69u8, 105u8, 194u8, 7u8, 254u8, + 196u8, 66u8, 104u8, 15u8, 41u8, 164u8, 11u8, 55u8, 98u8, 160u8, 175u8, ], ) } @@ -22362,10 +22442,10 @@ pub mod api { "add_sub", types::AddSub { sub, data }, [ - 122u8, 218u8, 25u8, 93u8, 33u8, 176u8, 191u8, 254u8, 223u8, 147u8, - 100u8, 135u8, 86u8, 71u8, 47u8, 163u8, 105u8, 222u8, 162u8, 173u8, - 207u8, 182u8, 130u8, 128u8, 214u8, 242u8, 101u8, 250u8, 242u8, 24u8, - 17u8, 84u8, + 157u8, 159u8, 194u8, 77u8, 105u8, 29u8, 238u8, 209u8, 145u8, 64u8, + 24u8, 130u8, 102u8, 41u8, 124u8, 74u8, 190u8, 29u8, 142u8, 123u8, + 131u8, 126u8, 58u8, 129u8, 46u8, 54u8, 160u8, 17u8, 178u8, 72u8, 15u8, + 145u8, ], ) } @@ -22383,10 +22463,9 @@ pub mod api { "rename_sub", types::RenameSub { sub, data }, [ - 166u8, 167u8, 49u8, 114u8, 199u8, 168u8, 187u8, 221u8, 100u8, 85u8, - 147u8, 211u8, 157u8, 31u8, 109u8, 135u8, 194u8, 135u8, 15u8, 89u8, - 59u8, 57u8, 252u8, 163u8, 9u8, 138u8, 216u8, 189u8, 177u8, 42u8, 96u8, - 34u8, + 100u8, 82u8, 99u8, 104u8, 4u8, 129u8, 166u8, 128u8, 187u8, 80u8, 73u8, + 57u8, 167u8, 74u8, 155u8, 125u8, 171u8, 229u8, 201u8, 246u8, 145u8, + 190u8, 222u8, 1u8, 129u8, 139u8, 205u8, 96u8, 186u8, 221u8, 15u8, 35u8, ], ) } @@ -22406,10 +22485,10 @@ pub mod api { "remove_sub", types::RemoveSub { sub }, [ - 106u8, 223u8, 210u8, 67u8, 54u8, 11u8, 144u8, 222u8, 42u8, 46u8, 157u8, - 33u8, 13u8, 245u8, 166u8, 195u8, 227u8, 81u8, 224u8, 149u8, 154u8, - 158u8, 187u8, 203u8, 215u8, 91u8, 43u8, 105u8, 69u8, 213u8, 141u8, - 124u8, + 209u8, 217u8, 16u8, 99u8, 152u8, 250u8, 236u8, 172u8, 139u8, 229u8, + 246u8, 165u8, 188u8, 59u8, 66u8, 31u8, 105u8, 237u8, 51u8, 218u8, + 177u8, 108u8, 101u8, 115u8, 190u8, 105u8, 208u8, 241u8, 133u8, 224u8, + 2u8, 38u8, ], ) } @@ -22429,9 +22508,10 @@ pub mod api { "quit_sub", types::QuitSub {}, [ - 62u8, 57u8, 73u8, 72u8, 119u8, 216u8, 250u8, 155u8, 57u8, 169u8, 157u8, - 44u8, 87u8, 51u8, 63u8, 231u8, 77u8, 7u8, 0u8, 119u8, 244u8, 42u8, - 179u8, 51u8, 254u8, 240u8, 55u8, 25u8, 142u8, 38u8, 87u8, 44u8, + 147u8, 131u8, 175u8, 171u8, 187u8, 201u8, 240u8, 26u8, 146u8, 224u8, + 74u8, 166u8, 242u8, 193u8, 204u8, 247u8, 168u8, 93u8, 18u8, 32u8, 27u8, + 208u8, 149u8, 146u8, 179u8, 172u8, 75u8, 112u8, 84u8, 141u8, 233u8, + 223u8, ], ) } @@ -22659,10 +22739,9 @@ pub mod api { _0.borrow(), )], [ - 193u8, 195u8, 180u8, 188u8, 129u8, 250u8, 180u8, 219u8, 22u8, 95u8, - 175u8, 170u8, 143u8, 188u8, 80u8, 124u8, 234u8, 228u8, 245u8, 39u8, - 72u8, 153u8, 107u8, 199u8, 23u8, 75u8, 47u8, 247u8, 104u8, 208u8, - 171u8, 82u8, + 239u8, 55u8, 5u8, 97u8, 227u8, 243u8, 118u8, 13u8, 98u8, 30u8, 141u8, + 84u8, 170u8, 90u8, 166u8, 116u8, 17u8, 122u8, 190u8, 76u8, 34u8, 51u8, + 239u8, 41u8, 14u8, 135u8, 11u8, 164u8, 106u8, 228u8, 48u8, 26u8, ], ) } @@ -22683,10 +22762,9 @@ pub mod api { "IdentityOf", Vec::new(), [ - 193u8, 195u8, 180u8, 188u8, 129u8, 250u8, 180u8, 219u8, 22u8, 95u8, - 175u8, 170u8, 143u8, 188u8, 80u8, 124u8, 234u8, 228u8, 245u8, 39u8, - 72u8, 153u8, 107u8, 199u8, 23u8, 75u8, 47u8, 247u8, 104u8, 208u8, - 171u8, 82u8, + 239u8, 55u8, 5u8, 97u8, 227u8, 243u8, 118u8, 13u8, 98u8, 30u8, 141u8, + 84u8, 170u8, 90u8, 166u8, 116u8, 17u8, 122u8, 190u8, 76u8, 34u8, 51u8, + 239u8, 41u8, 14u8, 135u8, 11u8, 164u8, 106u8, 228u8, 48u8, 26u8, ], ) } @@ -22712,10 +22790,9 @@ pub mod api { _0.borrow(), )], [ - 170u8, 249u8, 112u8, 249u8, 75u8, 176u8, 21u8, 29u8, 152u8, 149u8, - 69u8, 113u8, 20u8, 92u8, 113u8, 130u8, 135u8, 62u8, 18u8, 204u8, 166u8, - 193u8, 133u8, 167u8, 248u8, 117u8, 80u8, 137u8, 158u8, 111u8, 100u8, - 137u8, + 51u8, 225u8, 21u8, 92u8, 85u8, 14u8, 14u8, 211u8, 61u8, 99u8, 176u8, + 236u8, 212u8, 156u8, 103u8, 175u8, 208u8, 105u8, 94u8, 226u8, 136u8, + 69u8, 162u8, 170u8, 11u8, 116u8, 72u8, 242u8, 119u8, 14u8, 14u8, 142u8, ], ) } @@ -22738,10 +22815,9 @@ pub mod api { "SuperOf", Vec::new(), [ - 170u8, 249u8, 112u8, 249u8, 75u8, 176u8, 21u8, 29u8, 152u8, 149u8, - 69u8, 113u8, 20u8, 92u8, 113u8, 130u8, 135u8, 62u8, 18u8, 204u8, 166u8, - 193u8, 133u8, 167u8, 248u8, 117u8, 80u8, 137u8, 158u8, 111u8, 100u8, - 137u8, + 51u8, 225u8, 21u8, 92u8, 85u8, 14u8, 14u8, 211u8, 61u8, 99u8, 176u8, + 236u8, 212u8, 156u8, 103u8, 175u8, 208u8, 105u8, 94u8, 226u8, 136u8, + 69u8, 162u8, 170u8, 11u8, 116u8, 72u8, 242u8, 119u8, 14u8, 14u8, 142u8, ], ) } @@ -22772,9 +22848,10 @@ pub mod api { _0.borrow(), )], [ - 128u8, 15u8, 175u8, 155u8, 216u8, 225u8, 200u8, 169u8, 215u8, 206u8, - 110u8, 22u8, 204u8, 89u8, 212u8, 210u8, 159u8, 169u8, 53u8, 7u8, 44u8, - 164u8, 91u8, 151u8, 7u8, 227u8, 38u8, 230u8, 175u8, 84u8, 6u8, 4u8, + 93u8, 124u8, 154u8, 157u8, 159u8, 103u8, 233u8, 225u8, 59u8, 20u8, + 201u8, 239u8, 128u8, 209u8, 207u8, 38u8, 123u8, 48u8, 119u8, 102u8, + 88u8, 42u8, 245u8, 187u8, 244u8, 206u8, 124u8, 216u8, 185u8, 155u8, + 207u8, 0u8, ], ) } @@ -22802,9 +22879,10 @@ pub mod api { "SubsOf", Vec::new(), [ - 128u8, 15u8, 175u8, 155u8, 216u8, 225u8, 200u8, 169u8, 215u8, 206u8, - 110u8, 22u8, 204u8, 89u8, 212u8, 210u8, 159u8, 169u8, 53u8, 7u8, 44u8, - 164u8, 91u8, 151u8, 7u8, 227u8, 38u8, 230u8, 175u8, 84u8, 6u8, 4u8, + 93u8, 124u8, 154u8, 157u8, 159u8, 103u8, 233u8, 225u8, 59u8, 20u8, + 201u8, 239u8, 128u8, 209u8, 207u8, 38u8, 123u8, 48u8, 119u8, 102u8, + 88u8, 42u8, 245u8, 187u8, 244u8, 206u8, 124u8, 216u8, 185u8, 155u8, + 207u8, 0u8, ], ) } @@ -22833,9 +22911,10 @@ pub mod api { "Registrars", vec![], [ - 157u8, 87u8, 39u8, 240u8, 154u8, 54u8, 241u8, 229u8, 76u8, 9u8, 62u8, - 252u8, 40u8, 143u8, 186u8, 182u8, 233u8, 187u8, 251u8, 61u8, 236u8, - 229u8, 19u8, 55u8, 42u8, 36u8, 82u8, 173u8, 215u8, 155u8, 229u8, 111u8, + 207u8, 253u8, 229u8, 237u8, 228u8, 85u8, 173u8, 74u8, 164u8, 67u8, + 144u8, 144u8, 5u8, 242u8, 84u8, 187u8, 110u8, 181u8, 2u8, 162u8, 239u8, + 212u8, 72u8, 233u8, 160u8, 196u8, 121u8, 218u8, 100u8, 0u8, 219u8, + 181u8, ], ) } @@ -23171,10 +23250,10 @@ pub mod api { call: ::std::boxed::Box::new(call), }, [ - 29u8, 33u8, 67u8, 179u8, 234u8, 241u8, 45u8, 167u8, 110u8, 23u8, 85u8, - 27u8, 1u8, 184u8, 223u8, 187u8, 129u8, 206u8, 75u8, 237u8, 235u8, - 207u8, 43u8, 201u8, 194u8, 145u8, 149u8, 184u8, 95u8, 185u8, 205u8, - 248u8, + 136u8, 248u8, 134u8, 224u8, 164u8, 120u8, 212u8, 244u8, 156u8, 137u8, + 17u8, 57u8, 50u8, 88u8, 91u8, 32u8, 12u8, 224u8, 82u8, 129u8, 146u8, + 223u8, 93u8, 202u8, 130u8, 40u8, 231u8, 46u8, 126u8, 127u8, 201u8, + 154u8, ], ) } @@ -23202,9 +23281,9 @@ pub mod api { delay, }, [ - 76u8, 227u8, 139u8, 167u8, 131u8, 37u8, 104u8, 137u8, 224u8, 66u8, - 37u8, 1u8, 89u8, 113u8, 232u8, 199u8, 79u8, 187u8, 176u8, 106u8, 168u8, - 144u8, 68u8, 32u8, 0u8, 227u8, 188u8, 28u8, 218u8, 84u8, 82u8, 96u8, + 98u8, 241u8, 149u8, 52u8, 147u8, 196u8, 144u8, 174u8, 150u8, 34u8, + 14u8, 55u8, 169u8, 79u8, 24u8, 245u8, 170u8, 19u8, 48u8, 74u8, 52u8, + 65u8, 136u8, 164u8, 180u8, 68u8, 40u8, 56u8, 14u8, 146u8, 252u8, 54u8, ], ) } @@ -23230,9 +23309,9 @@ pub mod api { delay, }, [ - 46u8, 235u8, 142u8, 33u8, 21u8, 200u8, 243u8, 213u8, 62u8, 162u8, 70u8, - 132u8, 204u8, 76u8, 156u8, 66u8, 83u8, 95u8, 13u8, 208u8, 241u8, 242u8, - 219u8, 39u8, 229u8, 238u8, 221u8, 135u8, 66u8, 159u8, 38u8, 50u8, + 240u8, 43u8, 125u8, 111u8, 174u8, 178u8, 34u8, 121u8, 149u8, 35u8, + 114u8, 77u8, 235u8, 34u8, 193u8, 7u8, 40u8, 159u8, 54u8, 186u8, 37u8, + 240u8, 42u8, 32u8, 44u8, 207u8, 55u8, 3u8, 117u8, 208u8, 3u8, 129u8, ], ) } @@ -23248,9 +23327,10 @@ pub mod api { "remove_proxies", types::RemoveProxies {}, [ - 15u8, 237u8, 27u8, 166u8, 254u8, 218u8, 92u8, 5u8, 213u8, 239u8, 99u8, - 59u8, 1u8, 26u8, 73u8, 252u8, 81u8, 94u8, 214u8, 227u8, 169u8, 58u8, - 40u8, 253u8, 187u8, 225u8, 192u8, 26u8, 19u8, 23u8, 121u8, 129u8, + 1u8, 126u8, 36u8, 227u8, 185u8, 34u8, 218u8, 236u8, 125u8, 231u8, 68u8, + 185u8, 145u8, 63u8, 250u8, 225u8, 103u8, 3u8, 189u8, 37u8, 172u8, + 195u8, 197u8, 216u8, 99u8, 210u8, 240u8, 162u8, 158u8, 132u8, 24u8, + 6u8, ], ) } @@ -23287,9 +23367,9 @@ pub mod api { index, }, [ - 184u8, 127u8, 177u8, 255u8, 195u8, 192u8, 136u8, 114u8, 249u8, 70u8, - 222u8, 77u8, 10u8, 213u8, 209u8, 6u8, 238u8, 173u8, 47u8, 182u8, 129u8, - 69u8, 74u8, 249u8, 25u8, 170u8, 119u8, 106u8, 54u8, 165u8, 0u8, 100u8, + 65u8, 193u8, 16u8, 29u8, 244u8, 34u8, 244u8, 210u8, 211u8, 61u8, 127u8, + 20u8, 106u8, 84u8, 207u8, 204u8, 135u8, 176u8, 245u8, 209u8, 115u8, + 67u8, 120u8, 133u8, 54u8, 26u8, 168u8, 45u8, 217u8, 177u8, 17u8, 219u8, ], ) } @@ -23328,10 +23408,9 @@ pub mod api { ext_index, }, [ - 134u8, 133u8, 203u8, 194u8, 12u8, 188u8, 59u8, 222u8, 83u8, 30u8, - 217u8, 181u8, 224u8, 194u8, 81u8, 206u8, 30u8, 116u8, 94u8, 36u8, 87u8, - 227u8, 157u8, 129u8, 198u8, 115u8, 208u8, 105u8, 143u8, 175u8, 145u8, - 18u8, + 221u8, 143u8, 132u8, 8u8, 33u8, 255u8, 123u8, 72u8, 4u8, 125u8, 28u8, + 71u8, 218u8, 55u8, 59u8, 149u8, 15u8, 92u8, 149u8, 73u8, 6u8, 40u8, + 4u8, 132u8, 128u8, 215u8, 84u8, 88u8, 210u8, 172u8, 129u8, 168u8, ], ) } @@ -23360,10 +23439,9 @@ pub mod api { "announce", types::Announce { real, call_hash }, [ - 235u8, 116u8, 208u8, 53u8, 128u8, 91u8, 100u8, 68u8, 255u8, 254u8, - 119u8, 253u8, 108u8, 130u8, 88u8, 56u8, 113u8, 99u8, 105u8, 179u8, - 16u8, 143u8, 131u8, 203u8, 234u8, 76u8, 199u8, 191u8, 35u8, 158u8, - 130u8, 209u8, + 206u8, 1u8, 22u8, 172u8, 246u8, 31u8, 240u8, 30u8, 76u8, 122u8, 234u8, + 175u8, 20u8, 134u8, 193u8, 101u8, 77u8, 87u8, 201u8, 226u8, 121u8, + 67u8, 151u8, 55u8, 86u8, 16u8, 16u8, 144u8, 95u8, 69u8, 92u8, 255u8, ], ) } @@ -23387,10 +23465,10 @@ pub mod api { "remove_announcement", types::RemoveAnnouncement { real, call_hash }, [ - 140u8, 186u8, 140u8, 129u8, 40u8, 124u8, 57u8, 61u8, 84u8, 247u8, - 123u8, 241u8, 148u8, 15u8, 94u8, 146u8, 121u8, 78u8, 190u8, 68u8, - 185u8, 125u8, 62u8, 49u8, 108u8, 131u8, 229u8, 82u8, 68u8, 37u8, 184u8, - 223u8, + 144u8, 72u8, 202u8, 26u8, 128u8, 116u8, 108u8, 243u8, 63u8, 227u8, + 251u8, 207u8, 211u8, 35u8, 126u8, 30u8, 243u8, 199u8, 167u8, 209u8, + 68u8, 44u8, 212u8, 139u8, 215u8, 230u8, 92u8, 42u8, 132u8, 48u8, 172u8, + 176u8, ], ) } @@ -23417,10 +23495,10 @@ pub mod api { call_hash, }, [ - 225u8, 198u8, 31u8, 173u8, 157u8, 141u8, 121u8, 51u8, 226u8, 170u8, - 219u8, 86u8, 14u8, 131u8, 122u8, 157u8, 161u8, 200u8, 157u8, 37u8, - 43u8, 97u8, 143u8, 97u8, 46u8, 206u8, 204u8, 42u8, 78u8, 33u8, 85u8, - 127u8, + 152u8, 133u8, 113u8, 234u8, 80u8, 247u8, 67u8, 136u8, 204u8, 144u8, + 220u8, 36u8, 25u8, 44u8, 245u8, 206u8, 101u8, 104u8, 155u8, 214u8, + 140u8, 233u8, 188u8, 37u8, 183u8, 212u8, 246u8, 42u8, 13u8, 207u8, + 187u8, 58u8, ], ) } @@ -23454,10 +23532,10 @@ pub mod api { call: ::std::boxed::Box::new(call), }, [ - 144u8, 103u8, 250u8, 31u8, 18u8, 158u8, 175u8, 139u8, 73u8, 56u8, - 178u8, 80u8, 164u8, 100u8, 162u8, 163u8, 119u8, 102u8, 177u8, 28u8, - 229u8, 128u8, 250u8, 242u8, 26u8, 223u8, 74u8, 180u8, 127u8, 124u8, - 134u8, 123u8, + 12u8, 189u8, 0u8, 232u8, 151u8, 222u8, 217u8, 130u8, 186u8, 212u8, + 144u8, 137u8, 55u8, 81u8, 253u8, 63u8, 150u8, 52u8, 246u8, 57u8, 82u8, + 121u8, 233u8, 175u8, 22u8, 171u8, 167u8, 216u8, 221u8, 135u8, 40u8, + 237u8, ], ) } @@ -23602,10 +23680,9 @@ pub mod api { _0.borrow(), )], [ - 80u8, 71u8, 244u8, 42u8, 237u8, 5u8, 46u8, 156u8, 84u8, 213u8, 84u8, - 212u8, 157u8, 221u8, 174u8, 97u8, 157u8, 218u8, 166u8, 127u8, 162u8, - 139u8, 110u8, 98u8, 229u8, 166u8, 49u8, 172u8, 48u8, 237u8, 240u8, - 42u8, + 60u8, 50u8, 235u8, 231u8, 242u8, 45u8, 51u8, 138u8, 135u8, 226u8, + 224u8, 76u8, 4u8, 0u8, 210u8, 137u8, 173u8, 56u8, 178u8, 95u8, 172u8, + 43u8, 58u8, 120u8, 124u8, 13u8, 141u8, 68u8, 91u8, 171u8, 59u8, 101u8, ], ) } @@ -23634,10 +23711,9 @@ pub mod api { "Proxies", Vec::new(), [ - 80u8, 71u8, 244u8, 42u8, 237u8, 5u8, 46u8, 156u8, 84u8, 213u8, 84u8, - 212u8, 157u8, 221u8, 174u8, 97u8, 157u8, 218u8, 166u8, 127u8, 162u8, - 139u8, 110u8, 98u8, 229u8, 166u8, 49u8, 172u8, 48u8, 237u8, 240u8, - 42u8, + 60u8, 50u8, 235u8, 231u8, 242u8, 45u8, 51u8, 138u8, 135u8, 226u8, + 224u8, 76u8, 4u8, 0u8, 210u8, 137u8, 173u8, 56u8, 178u8, 95u8, 172u8, + 43u8, 58u8, 120u8, 124u8, 13u8, 141u8, 68u8, 91u8, 171u8, 59u8, 101u8, ], ) } @@ -23668,9 +23744,9 @@ pub mod api { _0.borrow(), )], [ - 233u8, 38u8, 249u8, 89u8, 103u8, 87u8, 64u8, 52u8, 140u8, 228u8, 110u8, - 37u8, 8u8, 92u8, 48u8, 7u8, 46u8, 99u8, 179u8, 83u8, 232u8, 171u8, - 160u8, 45u8, 37u8, 23u8, 151u8, 198u8, 237u8, 103u8, 217u8, 53u8, + 195u8, 103u8, 36u8, 115u8, 220u8, 178u8, 159u8, 50u8, 133u8, 198u8, + 14u8, 54u8, 122u8, 123u8, 35u8, 134u8, 152u8, 84u8, 103u8, 52u8, 31u8, + 78u8, 136u8, 206u8, 9u8, 83u8, 155u8, 94u8, 2u8, 135u8, 159u8, 72u8, ], ) } @@ -23698,9 +23774,9 @@ pub mod api { "Announcements", Vec::new(), [ - 233u8, 38u8, 249u8, 89u8, 103u8, 87u8, 64u8, 52u8, 140u8, 228u8, 110u8, - 37u8, 8u8, 92u8, 48u8, 7u8, 46u8, 99u8, 179u8, 83u8, 232u8, 171u8, - 160u8, 45u8, 37u8, 23u8, 151u8, 198u8, 237u8, 103u8, 217u8, 53u8, + 195u8, 103u8, 36u8, 115u8, 220u8, 178u8, 159u8, 50u8, 133u8, 198u8, + 14u8, 54u8, 122u8, 123u8, 35u8, 134u8, 152u8, 84u8, 103u8, 52u8, 31u8, + 78u8, 136u8, 206u8, 9u8, 83u8, 155u8, 94u8, 2u8, 135u8, 159u8, 72u8, ], ) } @@ -23934,10 +24010,10 @@ pub mod api { call: ::std::boxed::Box::new(call), }, [ - 113u8, 140u8, 77u8, 180u8, 170u8, 232u8, 85u8, 229u8, 218u8, 187u8, - 62u8, 64u8, 168u8, 186u8, 173u8, 27u8, 125u8, 216u8, 54u8, 167u8, - 225u8, 241u8, 10u8, 226u8, 138u8, 151u8, 242u8, 255u8, 212u8, 160u8, - 106u8, 69u8, + 85u8, 252u8, 181u8, 111u8, 73u8, 191u8, 121u8, 79u8, 167u8, 59u8, + 107u8, 66u8, 196u8, 206u8, 156u8, 114u8, 145u8, 184u8, 113u8, 83u8, + 205u8, 195u8, 196u8, 222u8, 157u8, 177u8, 147u8, 250u8, 43u8, 112u8, + 213u8, 176u8, ], ) } @@ -24001,10 +24077,9 @@ pub mod api { max_weight, }, [ - 167u8, 155u8, 31u8, 18u8, 196u8, 45u8, 139u8, 126u8, 185u8, 246u8, - 31u8, 88u8, 200u8, 228u8, 82u8, 139u8, 123u8, 239u8, 169u8, 185u8, - 227u8, 160u8, 71u8, 242u8, 152u8, 146u8, 87u8, 243u8, 170u8, 237u8, - 11u8, 6u8, + 139u8, 231u8, 146u8, 130u8, 22u8, 182u8, 37u8, 110u8, 242u8, 10u8, + 200u8, 68u8, 29u8, 116u8, 237u8, 231u8, 7u8, 85u8, 232u8, 192u8, 180u8, + 187u8, 25u8, 109u8, 90u8, 58u8, 93u8, 164u8, 20u8, 190u8, 120u8, 226u8, ], ) } @@ -24059,10 +24134,9 @@ pub mod api { max_weight, }, [ - 133u8, 113u8, 121u8, 66u8, 218u8, 219u8, 48u8, 64u8, 211u8, 114u8, - 163u8, 193u8, 164u8, 21u8, 140u8, 218u8, 253u8, 237u8, 240u8, 126u8, - 200u8, 213u8, 184u8, 50u8, 187u8, 182u8, 30u8, 52u8, 142u8, 72u8, - 210u8, 101u8, + 240u8, 17u8, 138u8, 10u8, 165u8, 3u8, 88u8, 240u8, 11u8, 208u8, 9u8, + 123u8, 95u8, 53u8, 142u8, 8u8, 30u8, 5u8, 130u8, 205u8, 102u8, 95u8, + 71u8, 92u8, 184u8, 92u8, 218u8, 224u8, 146u8, 87u8, 93u8, 224u8, ], ) } @@ -24104,9 +24178,10 @@ pub mod api { call_hash, }, [ - 30u8, 25u8, 186u8, 142u8, 168u8, 81u8, 235u8, 164u8, 82u8, 209u8, 66u8, - 129u8, 209u8, 78u8, 172u8, 9u8, 163u8, 222u8, 125u8, 57u8, 2u8, 43u8, - 169u8, 174u8, 159u8, 167u8, 25u8, 226u8, 254u8, 110u8, 80u8, 216u8, + 14u8, 123u8, 126u8, 239u8, 174u8, 101u8, 28u8, 221u8, 117u8, 75u8, + 82u8, 249u8, 151u8, 59u8, 224u8, 239u8, 54u8, 196u8, 244u8, 46u8, 31u8, + 218u8, 224u8, 58u8, 146u8, 165u8, 135u8, 101u8, 189u8, 93u8, 149u8, + 130u8, ], ) } @@ -24229,9 +24304,9 @@ pub mod api { ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 69u8, 153u8, 186u8, 204u8, 117u8, 95u8, 119u8, 182u8, 220u8, 87u8, 8u8, - 15u8, 123u8, 83u8, 5u8, 188u8, 115u8, 121u8, 163u8, 96u8, 218u8, 3u8, - 106u8, 44u8, 44u8, 187u8, 46u8, 238u8, 80u8, 203u8, 175u8, 155u8, + 22u8, 46u8, 92u8, 90u8, 193u8, 51u8, 12u8, 187u8, 247u8, 141u8, 101u8, + 133u8, 220u8, 5u8, 124u8, 197u8, 149u8, 81u8, 51u8, 194u8, 194u8, 72u8, + 63u8, 249u8, 227u8, 208u8, 58u8, 253u8, 33u8, 107u8, 10u8, 44u8, ], ) } @@ -24254,9 +24329,9 @@ pub mod api { "Multisigs", Vec::new(), [ - 69u8, 153u8, 186u8, 204u8, 117u8, 95u8, 119u8, 182u8, 220u8, 87u8, 8u8, - 15u8, 123u8, 83u8, 5u8, 188u8, 115u8, 121u8, 163u8, 96u8, 218u8, 3u8, - 106u8, 44u8, 44u8, 187u8, 46u8, 238u8, 80u8, 203u8, 175u8, 155u8, + 22u8, 46u8, 92u8, 90u8, 193u8, 51u8, 12u8, 187u8, 247u8, 141u8, 101u8, + 133u8, 220u8, 5u8, 124u8, 197u8, 149u8, 81u8, 51u8, 194u8, 194u8, 72u8, + 63u8, 249u8, 227u8, 208u8, 58u8, 253u8, 33u8, 107u8, 10u8, 44u8, ], ) } @@ -24523,10 +24598,9 @@ pub mod api { "propose_bounty", types::ProposeBounty { value, description }, [ - 99u8, 160u8, 94u8, 74u8, 105u8, 161u8, 123u8, 239u8, 241u8, 117u8, - 97u8, 99u8, 84u8, 101u8, 87u8, 3u8, 88u8, 175u8, 75u8, 59u8, 114u8, - 87u8, 18u8, 113u8, 126u8, 26u8, 42u8, 104u8, 201u8, 128u8, 102u8, - 219u8, + 131u8, 169u8, 55u8, 102u8, 212u8, 139u8, 9u8, 65u8, 75u8, 112u8, 6u8, + 180u8, 92u8, 124u8, 43u8, 42u8, 38u8, 40u8, 226u8, 24u8, 28u8, 34u8, + 169u8, 220u8, 184u8, 206u8, 109u8, 227u8, 53u8, 228u8, 88u8, 25u8, ], ) } @@ -24546,9 +24620,10 @@ pub mod api { "approve_bounty", types::ApproveBounty { bounty_id }, [ - 82u8, 228u8, 232u8, 103u8, 198u8, 173u8, 190u8, 148u8, 159u8, 86u8, - 48u8, 4u8, 32u8, 169u8, 1u8, 129u8, 96u8, 145u8, 235u8, 68u8, 48u8, - 34u8, 5u8, 1u8, 76u8, 26u8, 100u8, 228u8, 92u8, 198u8, 183u8, 173u8, + 85u8, 12u8, 177u8, 91u8, 183u8, 124u8, 175u8, 148u8, 188u8, 200u8, + 237u8, 144u8, 6u8, 67u8, 159u8, 48u8, 177u8, 222u8, 183u8, 137u8, + 173u8, 131u8, 128u8, 219u8, 255u8, 243u8, 80u8, 224u8, 126u8, 136u8, + 90u8, 47u8, ], ) } @@ -24573,10 +24648,10 @@ pub mod api { fee, }, [ - 123u8, 148u8, 21u8, 204u8, 216u8, 6u8, 47u8, 83u8, 182u8, 30u8, 171u8, - 48u8, 193u8, 200u8, 197u8, 147u8, 111u8, 88u8, 14u8, 242u8, 66u8, - 175u8, 241u8, 208u8, 95u8, 151u8, 41u8, 46u8, 213u8, 188u8, 65u8, - 196u8, + 76u8, 227u8, 186u8, 154u8, 152u8, 178u8, 20u8, 230u8, 100u8, 120u8, + 205u8, 166u8, 252u8, 53u8, 181u8, 42u8, 209u8, 80u8, 21u8, 190u8, + 253u8, 141u8, 169u8, 210u8, 164u8, 205u8, 55u8, 47u8, 222u8, 218u8, + 23u8, 184u8, ], ) } @@ -24606,10 +24681,10 @@ pub mod api { "unassign_curator", types::UnassignCurator { bounty_id }, [ - 218u8, 241u8, 247u8, 89u8, 95u8, 120u8, 93u8, 18u8, 85u8, 114u8, 158u8, - 254u8, 68u8, 77u8, 230u8, 186u8, 230u8, 201u8, 63u8, 223u8, 28u8, - 173u8, 244u8, 82u8, 113u8, 177u8, 99u8, 27u8, 207u8, 247u8, 207u8, - 213u8, + 98u8, 94u8, 107u8, 111u8, 151u8, 182u8, 71u8, 239u8, 214u8, 88u8, + 108u8, 11u8, 51u8, 163u8, 102u8, 162u8, 245u8, 247u8, 244u8, 159u8, + 197u8, 23u8, 171u8, 6u8, 60u8, 146u8, 144u8, 101u8, 68u8, 133u8, 245u8, + 74u8, ], ) } @@ -24629,10 +24704,9 @@ pub mod api { "accept_curator", types::AcceptCurator { bounty_id }, [ - 106u8, 96u8, 22u8, 67u8, 52u8, 109u8, 180u8, 225u8, 122u8, 253u8, - 209u8, 214u8, 132u8, 131u8, 247u8, 131u8, 162u8, 51u8, 144u8, 30u8, - 12u8, 126u8, 50u8, 152u8, 229u8, 119u8, 54u8, 116u8, 112u8, 235u8, - 34u8, 166u8, + 178u8, 142u8, 138u8, 15u8, 243u8, 10u8, 222u8, 169u8, 150u8, 200u8, + 85u8, 185u8, 39u8, 167u8, 134u8, 3u8, 186u8, 84u8, 43u8, 140u8, 11u8, + 70u8, 56u8, 197u8, 39u8, 84u8, 138u8, 139u8, 198u8, 104u8, 41u8, 238u8, ], ) } @@ -24659,9 +24733,10 @@ pub mod api { beneficiary, }, [ - 203u8, 164u8, 214u8, 242u8, 1u8, 11u8, 217u8, 32u8, 189u8, 136u8, 29u8, - 230u8, 88u8, 17u8, 134u8, 189u8, 15u8, 204u8, 223u8, 20u8, 168u8, - 182u8, 129u8, 48u8, 83u8, 25u8, 125u8, 25u8, 209u8, 155u8, 170u8, 68u8, + 63u8, 149u8, 201u8, 185u8, 220u8, 212u8, 27u8, 98u8, 198u8, 147u8, + 153u8, 226u8, 189u8, 151u8, 8u8, 102u8, 88u8, 206u8, 225u8, 108u8, + 111u8, 153u8, 196u8, 40u8, 144u8, 238u8, 136u8, 70u8, 168u8, 82u8, + 220u8, 53u8, ], ) } @@ -24682,9 +24757,10 @@ pub mod api { "claim_bounty", types::ClaimBounty { bounty_id }, [ - 102u8, 95u8, 8u8, 89u8, 4u8, 126u8, 189u8, 28u8, 241u8, 16u8, 125u8, - 218u8, 42u8, 92u8, 177u8, 91u8, 8u8, 235u8, 33u8, 48u8, 64u8, 115u8, - 177u8, 95u8, 242u8, 97u8, 181u8, 50u8, 68u8, 37u8, 59u8, 85u8, + 211u8, 143u8, 123u8, 205u8, 140u8, 43u8, 176u8, 103u8, 110u8, 125u8, + 158u8, 131u8, 103u8, 62u8, 69u8, 215u8, 220u8, 110u8, 11u8, 3u8, 30u8, + 193u8, 235u8, 177u8, 96u8, 241u8, 140u8, 53u8, 62u8, 133u8, 170u8, + 25u8, ], ) } @@ -24706,10 +24782,10 @@ pub mod api { "close_bounty", types::CloseBounty { bounty_id }, [ - 64u8, 113u8, 151u8, 228u8, 90u8, 55u8, 251u8, 63u8, 27u8, 211u8, 119u8, - 229u8, 137u8, 137u8, 183u8, 240u8, 241u8, 146u8, 69u8, 169u8, 124u8, - 220u8, 236u8, 111u8, 98u8, 188u8, 100u8, 52u8, 127u8, 245u8, 244u8, - 92u8, + 144u8, 234u8, 109u8, 39u8, 227u8, 231u8, 104u8, 48u8, 45u8, 196u8, + 217u8, 220u8, 241u8, 197u8, 157u8, 227u8, 154u8, 156u8, 181u8, 69u8, + 146u8, 77u8, 203u8, 167u8, 79u8, 102u8, 15u8, 253u8, 135u8, 53u8, 96u8, + 60u8, ], ) } @@ -24732,9 +24808,10 @@ pub mod api { "extend_bounty_expiry", types::ExtendBountyExpiry { bounty_id, remark }, [ - 97u8, 69u8, 157u8, 39u8, 59u8, 72u8, 79u8, 88u8, 104u8, 119u8, 91u8, - 26u8, 73u8, 216u8, 174u8, 95u8, 254u8, 214u8, 63u8, 138u8, 100u8, - 112u8, 185u8, 81u8, 159u8, 247u8, 221u8, 60u8, 87u8, 40u8, 80u8, 202u8, + 102u8, 118u8, 89u8, 189u8, 138u8, 157u8, 216u8, 10u8, 239u8, 3u8, + 200u8, 217u8, 219u8, 19u8, 195u8, 182u8, 105u8, 220u8, 11u8, 146u8, + 222u8, 79u8, 95u8, 136u8, 188u8, 230u8, 248u8, 119u8, 30u8, 6u8, 242u8, + 194u8, ], ) } @@ -24898,9 +24975,10 @@ pub mod api { "BountyCount", vec![], [ - 5u8, 188u8, 134u8, 220u8, 64u8, 49u8, 188u8, 98u8, 185u8, 186u8, 230u8, - 65u8, 247u8, 199u8, 28u8, 178u8, 202u8, 193u8, 41u8, 83u8, 115u8, - 253u8, 182u8, 123u8, 92u8, 138u8, 12u8, 31u8, 31u8, 213u8, 23u8, 118u8, + 120u8, 204u8, 26u8, 150u8, 37u8, 81u8, 43u8, 223u8, 180u8, 252u8, + 142u8, 144u8, 109u8, 5u8, 184u8, 72u8, 223u8, 230u8, 66u8, 196u8, 14u8, + 14u8, 164u8, 190u8, 246u8, 168u8, 190u8, 56u8, 212u8, 73u8, 175u8, + 26u8, ], ) } @@ -24926,10 +25004,10 @@ pub mod api { _0.borrow(), )], [ - 111u8, 149u8, 33u8, 54u8, 172u8, 143u8, 41u8, 231u8, 184u8, 255u8, - 238u8, 206u8, 87u8, 142u8, 84u8, 10u8, 236u8, 141u8, 190u8, 193u8, - 72u8, 170u8, 19u8, 110u8, 135u8, 136u8, 220u8, 11u8, 99u8, 126u8, - 225u8, 208u8, + 197u8, 26u8, 141u8, 98u8, 53u8, 123u8, 87u8, 219u8, 248u8, 200u8, + 207u8, 196u8, 211u8, 159u8, 124u8, 173u8, 143u8, 144u8, 85u8, 180u8, + 227u8, 24u8, 7u8, 52u8, 130u8, 98u8, 107u8, 145u8, 162u8, 55u8, 64u8, + 199u8, ], ) } @@ -24952,10 +25030,10 @@ pub mod api { "Bounties", Vec::new(), [ - 111u8, 149u8, 33u8, 54u8, 172u8, 143u8, 41u8, 231u8, 184u8, 255u8, - 238u8, 206u8, 87u8, 142u8, 84u8, 10u8, 236u8, 141u8, 190u8, 193u8, - 72u8, 170u8, 19u8, 110u8, 135u8, 136u8, 220u8, 11u8, 99u8, 126u8, - 225u8, 208u8, + 197u8, 26u8, 141u8, 98u8, 53u8, 123u8, 87u8, 219u8, 248u8, 200u8, + 207u8, 196u8, 211u8, 159u8, 124u8, 173u8, 143u8, 144u8, 85u8, 180u8, + 227u8, 24u8, 7u8, 52u8, 130u8, 98u8, 107u8, 145u8, 162u8, 55u8, 64u8, + 199u8, ], ) } @@ -24979,9 +25057,9 @@ pub mod api { _0.borrow(), )], [ - 252u8, 0u8, 9u8, 225u8, 13u8, 135u8, 7u8, 121u8, 154u8, 155u8, 116u8, - 83u8, 160u8, 37u8, 72u8, 11u8, 72u8, 0u8, 248u8, 73u8, 158u8, 84u8, - 125u8, 221u8, 176u8, 231u8, 100u8, 239u8, 111u8, 22u8, 29u8, 13u8, + 71u8, 40u8, 133u8, 84u8, 55u8, 207u8, 169u8, 189u8, 160u8, 51u8, 202u8, + 144u8, 15u8, 226u8, 97u8, 114u8, 54u8, 247u8, 53u8, 26u8, 36u8, 54u8, + 186u8, 163u8, 198u8, 100u8, 191u8, 121u8, 186u8, 160u8, 85u8, 97u8, ], ) } @@ -25002,9 +25080,9 @@ pub mod api { "BountyDescriptions", Vec::new(), [ - 252u8, 0u8, 9u8, 225u8, 13u8, 135u8, 7u8, 121u8, 154u8, 155u8, 116u8, - 83u8, 160u8, 37u8, 72u8, 11u8, 72u8, 0u8, 248u8, 73u8, 158u8, 84u8, - 125u8, 221u8, 176u8, 231u8, 100u8, 239u8, 111u8, 22u8, 29u8, 13u8, + 71u8, 40u8, 133u8, 84u8, 55u8, 207u8, 169u8, 189u8, 160u8, 51u8, 202u8, + 144u8, 15u8, 226u8, 97u8, 114u8, 54u8, 247u8, 53u8, 26u8, 36u8, 54u8, + 186u8, 163u8, 198u8, 100u8, 191u8, 121u8, 186u8, 160u8, 85u8, 97u8, ], ) } @@ -25025,9 +25103,9 @@ pub mod api { "BountyApprovals", vec![], [ - 64u8, 93u8, 54u8, 94u8, 122u8, 9u8, 246u8, 86u8, 234u8, 30u8, 125u8, - 132u8, 49u8, 128u8, 1u8, 219u8, 241u8, 13u8, 217u8, 186u8, 48u8, 21u8, - 5u8, 227u8, 71u8, 157u8, 128u8, 226u8, 214u8, 49u8, 249u8, 183u8, + 182u8, 228u8, 0u8, 46u8, 176u8, 25u8, 222u8, 180u8, 51u8, 57u8, 14u8, + 0u8, 69u8, 160u8, 64u8, 27u8, 88u8, 29u8, 227u8, 146u8, 2u8, 121u8, + 27u8, 85u8, 45u8, 110u8, 244u8, 62u8, 134u8, 77u8, 175u8, 188u8, ], ) } @@ -25093,9 +25171,9 @@ pub mod api { "Bounties", "CuratorDepositMultiplier", [ - 225u8, 236u8, 95u8, 157u8, 90u8, 94u8, 106u8, 192u8, 254u8, 19u8, 87u8, - 80u8, 16u8, 62u8, 42u8, 204u8, 136u8, 106u8, 225u8, 53u8, 212u8, 52u8, - 177u8, 79u8, 4u8, 116u8, 201u8, 104u8, 222u8, 75u8, 86u8, 227u8, + 65u8, 93u8, 120u8, 165u8, 204u8, 81u8, 159u8, 163u8, 93u8, 135u8, + 114u8, 121u8, 147u8, 35u8, 215u8, 213u8, 4u8, 223u8, 83u8, 37u8, 225u8, + 200u8, 189u8, 156u8, 140u8, 36u8, 58u8, 46u8, 42u8, 232u8, 155u8, 0u8, ], ) } @@ -25108,10 +25186,10 @@ pub mod api { "Bounties", "CuratorDepositMax", [ - 84u8, 154u8, 218u8, 83u8, 84u8, 189u8, 32u8, 20u8, 120u8, 194u8, 88u8, - 205u8, 109u8, 216u8, 114u8, 193u8, 120u8, 198u8, 154u8, 237u8, 134u8, - 204u8, 102u8, 247u8, 52u8, 103u8, 231u8, 43u8, 243u8, 122u8, 60u8, - 216u8, + 198u8, 51u8, 89u8, 159u8, 124u8, 251u8, 51u8, 80u8, 167u8, 193u8, 44u8, + 199u8, 80u8, 36u8, 41u8, 130u8, 137u8, 229u8, 178u8, 208u8, 37u8, + 215u8, 169u8, 183u8, 180u8, 191u8, 140u8, 240u8, 250u8, 61u8, 42u8, + 147u8, ], ) } @@ -25124,10 +25202,10 @@ pub mod api { "Bounties", "CuratorDepositMin", [ - 84u8, 154u8, 218u8, 83u8, 84u8, 189u8, 32u8, 20u8, 120u8, 194u8, 88u8, - 205u8, 109u8, 216u8, 114u8, 193u8, 120u8, 198u8, 154u8, 237u8, 134u8, - 204u8, 102u8, 247u8, 52u8, 103u8, 231u8, 43u8, 243u8, 122u8, 60u8, - 216u8, + 198u8, 51u8, 89u8, 159u8, 124u8, 251u8, 51u8, 80u8, 167u8, 193u8, 44u8, + 199u8, 80u8, 36u8, 41u8, 130u8, 137u8, 229u8, 178u8, 208u8, 37u8, + 215u8, 169u8, 183u8, 180u8, 191u8, 140u8, 240u8, 250u8, 61u8, 42u8, + 147u8, ], ) } @@ -25374,9 +25452,10 @@ pub mod api { description, }, [ - 210u8, 156u8, 242u8, 121u8, 28u8, 214u8, 212u8, 203u8, 46u8, 45u8, - 110u8, 25u8, 33u8, 138u8, 136u8, 71u8, 23u8, 102u8, 203u8, 122u8, 77u8, - 162u8, 112u8, 133u8, 43u8, 73u8, 201u8, 176u8, 102u8, 68u8, 188u8, 8u8, + 249u8, 159u8, 185u8, 144u8, 114u8, 142u8, 104u8, 215u8, 136u8, 52u8, + 255u8, 125u8, 54u8, 243u8, 220u8, 171u8, 254u8, 49u8, 105u8, 134u8, + 137u8, 221u8, 100u8, 111u8, 72u8, 38u8, 184u8, 122u8, 72u8, 204u8, + 182u8, 123u8, ], ) } @@ -25412,9 +25491,9 @@ pub mod api { fee, }, [ - 37u8, 101u8, 96u8, 75u8, 254u8, 212u8, 42u8, 140u8, 72u8, 107u8, 157u8, - 110u8, 147u8, 236u8, 17u8, 138u8, 161u8, 153u8, 119u8, 177u8, 225u8, - 22u8, 83u8, 5u8, 123u8, 38u8, 30u8, 240u8, 134u8, 208u8, 183u8, 247u8, + 116u8, 56u8, 236u8, 218u8, 2u8, 75u8, 84u8, 32u8, 154u8, 92u8, 189u8, + 138u8, 10u8, 84u8, 121u8, 152u8, 48u8, 229u8, 169u8, 29u8, 129u8, 87u8, + 47u8, 16u8, 193u8, 21u8, 146u8, 143u8, 5u8, 210u8, 24u8, 31u8, ], ) } @@ -25450,10 +25529,9 @@ pub mod api { child_bounty_id, }, [ - 112u8, 175u8, 238u8, 54u8, 132u8, 20u8, 206u8, 59u8, 220u8, 228u8, - 207u8, 222u8, 132u8, 240u8, 188u8, 0u8, 210u8, 225u8, 234u8, 142u8, - 232u8, 53u8, 64u8, 89u8, 220u8, 29u8, 28u8, 123u8, 125u8, 207u8, 10u8, - 52u8, + 167u8, 196u8, 221u8, 73u8, 86u8, 83u8, 173u8, 219u8, 241u8, 116u8, + 28u8, 109u8, 21u8, 209u8, 62u8, 131u8, 182u8, 252u8, 54u8, 114u8, 9u8, + 51u8, 225u8, 37u8, 4u8, 127u8, 110u8, 80u8, 172u8, 97u8, 11u8, 78u8, ], ) } @@ -25504,10 +25582,10 @@ pub mod api { child_bounty_id, }, [ - 228u8, 189u8, 46u8, 75u8, 121u8, 161u8, 150u8, 87u8, 207u8, 86u8, - 192u8, 50u8, 52u8, 61u8, 49u8, 88u8, 178u8, 182u8, 89u8, 72u8, 203u8, - 45u8, 41u8, 26u8, 149u8, 114u8, 154u8, 169u8, 118u8, 128u8, 13u8, - 211u8, + 217u8, 24u8, 147u8, 239u8, 116u8, 226u8, 244u8, 189u8, 62u8, 141u8, + 173u8, 70u8, 213u8, 147u8, 68u8, 51u8, 200u8, 66u8, 200u8, 174u8, + 243u8, 49u8, 54u8, 219u8, 243u8, 255u8, 250u8, 215u8, 216u8, 248u8, + 32u8, 90u8, ], ) } @@ -25543,10 +25621,10 @@ pub mod api { beneficiary, }, [ - 231u8, 185u8, 73u8, 232u8, 92u8, 116u8, 204u8, 165u8, 216u8, 194u8, - 151u8, 21u8, 127u8, 239u8, 78u8, 45u8, 27u8, 252u8, 119u8, 23u8, 71u8, - 140u8, 137u8, 209u8, 189u8, 128u8, 126u8, 247u8, 13u8, 42u8, 68u8, - 134u8, + 76u8, 85u8, 36u8, 192u8, 231u8, 112u8, 236u8, 167u8, 84u8, 172u8, + 239u8, 171u8, 49u8, 199u8, 102u8, 147u8, 176u8, 66u8, 31u8, 56u8, + 104u8, 50u8, 163u8, 252u8, 213u8, 22u8, 115u8, 44u8, 249u8, 34u8, + 198u8, 133u8, ], ) } @@ -25579,10 +25657,9 @@ pub mod api { child_bounty_id, }, [ - 134u8, 243u8, 151u8, 228u8, 38u8, 174u8, 96u8, 140u8, 104u8, 124u8, - 166u8, 206u8, 126u8, 211u8, 17u8, 100u8, 172u8, 5u8, 234u8, 171u8, - 125u8, 2u8, 191u8, 163u8, 72u8, 29u8, 163u8, 107u8, 65u8, 92u8, 41u8, - 45u8, + 72u8, 55u8, 100u8, 52u8, 218u8, 49u8, 63u8, 107u8, 45u8, 43u8, 34u8, + 6u8, 48u8, 56u8, 240u8, 3u8, 96u8, 128u8, 202u8, 30u8, 233u8, 116u8, + 86u8, 141u8, 36u8, 184u8, 217u8, 48u8, 20u8, 54u8, 45u8, 65u8, ], ) } @@ -25621,9 +25698,9 @@ pub mod api { child_bounty_id, }, [ - 40u8, 0u8, 235u8, 75u8, 36u8, 196u8, 29u8, 26u8, 30u8, 172u8, 240u8, - 44u8, 129u8, 243u8, 55u8, 211u8, 96u8, 159u8, 72u8, 96u8, 142u8, 68u8, - 41u8, 238u8, 157u8, 167u8, 90u8, 141u8, 213u8, 249u8, 222u8, 22u8, + 127u8, 210u8, 46u8, 3u8, 33u8, 232u8, 159u8, 245u8, 249u8, 217u8, 51u8, + 254u8, 167u8, 10u8, 30u8, 195u8, 30u8, 0u8, 204u8, 251u8, 113u8, 1u8, + 104u8, 215u8, 88u8, 10u8, 200u8, 144u8, 62u8, 93u8, 223u8, 106u8, ], ) } @@ -25732,9 +25809,9 @@ pub mod api { "ChildBountyCount", vec![], [ - 46u8, 10u8, 183u8, 160u8, 98u8, 215u8, 39u8, 253u8, 81u8, 94u8, 114u8, - 147u8, 115u8, 162u8, 33u8, 117u8, 160u8, 214u8, 167u8, 7u8, 109u8, - 143u8, 158u8, 1u8, 200u8, 205u8, 17u8, 93u8, 89u8, 26u8, 30u8, 95u8, + 206u8, 1u8, 40u8, 132u8, 51u8, 139u8, 234u8, 20u8, 89u8, 86u8, 247u8, + 107u8, 169u8, 252u8, 5u8, 180u8, 218u8, 24u8, 232u8, 94u8, 82u8, 135u8, + 24u8, 16u8, 134u8, 23u8, 201u8, 86u8, 12u8, 19u8, 199u8, 0u8, ], ) } @@ -25757,9 +25834,10 @@ pub mod api { _0.borrow(), )], [ - 127u8, 161u8, 181u8, 79u8, 235u8, 196u8, 252u8, 162u8, 39u8, 15u8, - 251u8, 49u8, 125u8, 80u8, 101u8, 24u8, 234u8, 88u8, 212u8, 126u8, 63u8, - 63u8, 19u8, 75u8, 137u8, 125u8, 38u8, 250u8, 77u8, 49u8, 76u8, 188u8, + 12u8, 238u8, 185u8, 135u8, 158u8, 191u8, 208u8, 104u8, 37u8, 235u8, + 101u8, 15u8, 89u8, 20u8, 191u8, 191u8, 78u8, 206u8, 9u8, 19u8, 169u8, + 17u8, 13u8, 213u8, 238u8, 220u8, 189u8, 100u8, 194u8, 62u8, 85u8, + 150u8, ], ) } @@ -25779,9 +25857,10 @@ pub mod api { "ParentChildBounties", Vec::new(), [ - 127u8, 161u8, 181u8, 79u8, 235u8, 196u8, 252u8, 162u8, 39u8, 15u8, - 251u8, 49u8, 125u8, 80u8, 101u8, 24u8, 234u8, 88u8, 212u8, 126u8, 63u8, - 63u8, 19u8, 75u8, 137u8, 125u8, 38u8, 250u8, 77u8, 49u8, 76u8, 188u8, + 12u8, 238u8, 185u8, 135u8, 158u8, 191u8, 208u8, 104u8, 37u8, 235u8, + 101u8, 15u8, 89u8, 20u8, 191u8, 191u8, 78u8, 206u8, 9u8, 19u8, 169u8, + 17u8, 13u8, 213u8, 238u8, 220u8, 189u8, 100u8, 194u8, 62u8, 85u8, + 150u8, ], ) } @@ -25809,10 +25888,10 @@ pub mod api { ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 66u8, 132u8, 251u8, 223u8, 216u8, 52u8, 162u8, 150u8, 229u8, 239u8, - 219u8, 182u8, 211u8, 228u8, 181u8, 46u8, 243u8, 151u8, 111u8, 235u8, - 105u8, 40u8, 39u8, 10u8, 245u8, 113u8, 78u8, 116u8, 219u8, 186u8, - 165u8, 91u8, + 236u8, 41u8, 10u8, 227u8, 176u8, 177u8, 196u8, 79u8, 112u8, 117u8, + 171u8, 175u8, 84u8, 180u8, 69u8, 146u8, 252u8, 228u8, 32u8, 113u8, + 226u8, 136u8, 175u8, 129u8, 1u8, 161u8, 145u8, 60u8, 142u8, 25u8, + 162u8, 42u8, ], ) } @@ -25835,10 +25914,10 @@ pub mod api { "ChildBounties", Vec::new(), [ - 66u8, 132u8, 251u8, 223u8, 216u8, 52u8, 162u8, 150u8, 229u8, 239u8, - 219u8, 182u8, 211u8, 228u8, 181u8, 46u8, 243u8, 151u8, 111u8, 235u8, - 105u8, 40u8, 39u8, 10u8, 245u8, 113u8, 78u8, 116u8, 219u8, 186u8, - 165u8, 91u8, + 236u8, 41u8, 10u8, 227u8, 176u8, 177u8, 196u8, 79u8, 112u8, 117u8, + 171u8, 175u8, 84u8, 180u8, 69u8, 146u8, 252u8, 228u8, 32u8, 113u8, + 226u8, 136u8, 175u8, 129u8, 1u8, 161u8, 145u8, 60u8, 142u8, 25u8, + 162u8, 42u8, ], ) } @@ -25862,10 +25941,9 @@ pub mod api { _0.borrow(), )], [ - 193u8, 200u8, 40u8, 30u8, 14u8, 71u8, 90u8, 42u8, 58u8, 253u8, 225u8, - 158u8, 172u8, 10u8, 45u8, 238u8, 36u8, 144u8, 184u8, 153u8, 11u8, - 157u8, 125u8, 220u8, 175u8, 31u8, 28u8, 93u8, 207u8, 212u8, 141u8, - 74u8, + 192u8, 0u8, 220u8, 156u8, 109u8, 65u8, 113u8, 102u8, 119u8, 0u8, 109u8, + 141u8, 211u8, 128u8, 237u8, 61u8, 28u8, 56u8, 206u8, 93u8, 183u8, 74u8, + 192u8, 220u8, 76u8, 175u8, 85u8, 105u8, 179u8, 11u8, 164u8, 100u8, ], ) } @@ -25886,10 +25964,9 @@ pub mod api { "ChildBountyDescriptions", Vec::new(), [ - 193u8, 200u8, 40u8, 30u8, 14u8, 71u8, 90u8, 42u8, 58u8, 253u8, 225u8, - 158u8, 172u8, 10u8, 45u8, 238u8, 36u8, 144u8, 184u8, 153u8, 11u8, - 157u8, 125u8, 220u8, 175u8, 31u8, 28u8, 93u8, 207u8, 212u8, 141u8, - 74u8, + 192u8, 0u8, 220u8, 156u8, 109u8, 65u8, 113u8, 102u8, 119u8, 0u8, 109u8, + 141u8, 211u8, 128u8, 237u8, 61u8, 28u8, 56u8, 206u8, 93u8, 183u8, 74u8, + 192u8, 220u8, 76u8, 175u8, 85u8, 105u8, 179u8, 11u8, 164u8, 100u8, ], ) } @@ -25911,10 +25988,9 @@ pub mod api { _0.borrow(), )], [ - 174u8, 128u8, 86u8, 179u8, 133u8, 76u8, 98u8, 169u8, 234u8, 166u8, - 249u8, 214u8, 172u8, 171u8, 8u8, 161u8, 105u8, 69u8, 148u8, 151u8, - 35u8, 174u8, 118u8, 139u8, 101u8, 56u8, 85u8, 211u8, 121u8, 168u8, 0u8, - 216u8, + 32u8, 16u8, 190u8, 193u8, 6u8, 80u8, 163u8, 16u8, 85u8, 111u8, 39u8, + 141u8, 209u8, 70u8, 213u8, 167u8, 22u8, 12u8, 93u8, 17u8, 104u8, 94u8, + 129u8, 37u8, 179u8, 41u8, 156u8, 117u8, 39u8, 202u8, 227u8, 235u8, ], ) } @@ -25933,10 +26009,9 @@ pub mod api { "ChildrenCuratorFees", Vec::new(), [ - 174u8, 128u8, 86u8, 179u8, 133u8, 76u8, 98u8, 169u8, 234u8, 166u8, - 249u8, 214u8, 172u8, 171u8, 8u8, 161u8, 105u8, 69u8, 148u8, 151u8, - 35u8, 174u8, 118u8, 139u8, 101u8, 56u8, 85u8, 211u8, 121u8, 168u8, 0u8, - 216u8, + 32u8, 16u8, 190u8, 193u8, 6u8, 80u8, 163u8, 16u8, 85u8, 111u8, 39u8, + 141u8, 209u8, 70u8, 213u8, 167u8, 22u8, 12u8, 93u8, 17u8, 104u8, 94u8, + 129u8, 37u8, 179u8, 41u8, 156u8, 117u8, 39u8, 202u8, 227u8, 235u8, ], ) } @@ -26128,9 +26203,9 @@ pub mod api { "report_awesome", types::ReportAwesome { reason, who }, [ - 126u8, 68u8, 2u8, 54u8, 195u8, 15u8, 43u8, 27u8, 183u8, 254u8, 157u8, - 163u8, 252u8, 14u8, 207u8, 251u8, 215u8, 111u8, 98u8, 209u8, 150u8, - 11u8, 240u8, 177u8, 106u8, 93u8, 191u8, 31u8, 62u8, 11u8, 223u8, 79u8, + 88u8, 73u8, 244u8, 114u8, 223u8, 87u8, 16u8, 90u8, 73u8, 203u8, 236u8, + 87u8, 89u8, 89u8, 200u8, 188u8, 17u8, 179u8, 22u8, 185u8, 102u8, 114u8, + 227u8, 208u8, 93u8, 137u8, 184u8, 153u8, 88u8, 36u8, 46u8, 148u8, ], ) } @@ -26159,10 +26234,10 @@ pub mod api { "retract_tip", types::RetractTip { hash }, [ - 137u8, 42u8, 229u8, 188u8, 157u8, 195u8, 184u8, 176u8, 64u8, 142u8, - 67u8, 175u8, 185u8, 207u8, 214u8, 71u8, 165u8, 29u8, 137u8, 227u8, - 132u8, 195u8, 255u8, 66u8, 186u8, 57u8, 34u8, 184u8, 187u8, 65u8, - 129u8, 131u8, + 127u8, 232u8, 112u8, 136u8, 48u8, 227u8, 202u8, 51u8, 78u8, 191u8, + 248u8, 44u8, 159u8, 76u8, 101u8, 107u8, 212u8, 55u8, 85u8, 250u8, + 222u8, 181u8, 58u8, 130u8, 53u8, 103u8, 190u8, 31u8, 113u8, 195u8, + 186u8, 44u8, ], ) } @@ -26200,10 +26275,10 @@ pub mod api { tip_value, }, [ - 217u8, 15u8, 70u8, 80u8, 193u8, 110u8, 212u8, 110u8, 212u8, 45u8, - 197u8, 150u8, 43u8, 116u8, 115u8, 231u8, 148u8, 102u8, 202u8, 28u8, - 55u8, 88u8, 166u8, 238u8, 11u8, 238u8, 229u8, 189u8, 89u8, 115u8, - 196u8, 95u8, + 182u8, 65u8, 198u8, 63u8, 79u8, 227u8, 237u8, 30u8, 180u8, 102u8, + 246u8, 47u8, 50u8, 208u8, 17u8, 102u8, 239u8, 93u8, 90u8, 139u8, 170u8, + 101u8, 203u8, 101u8, 246u8, 127u8, 252u8, 92u8, 169u8, 23u8, 155u8, + 8u8, ], ) } @@ -26238,9 +26313,10 @@ pub mod api { "tip", types::Tip { hash, tip_value }, [ - 133u8, 52u8, 131u8, 14u8, 71u8, 232u8, 254u8, 31u8, 33u8, 206u8, 50u8, - 76u8, 56u8, 167u8, 228u8, 202u8, 195u8, 0u8, 164u8, 107u8, 170u8, 98u8, - 192u8, 37u8, 209u8, 199u8, 130u8, 15u8, 168u8, 63u8, 181u8, 134u8, + 241u8, 5u8, 164u8, 248u8, 140u8, 60u8, 29u8, 9u8, 63u8, 208u8, 249u8, + 210u8, 221u8, 173u8, 70u8, 240u8, 50u8, 131u8, 80u8, 236u8, 131u8, + 101u8, 191u8, 49u8, 94u8, 216u8, 74u8, 234u8, 184u8, 167u8, 159u8, + 176u8, ], ) } @@ -26266,9 +26342,10 @@ pub mod api { "close_tip", types::CloseTip { hash }, [ - 32u8, 53u8, 0u8, 222u8, 45u8, 157u8, 107u8, 174u8, 203u8, 50u8, 81u8, - 230u8, 6u8, 111u8, 79u8, 55u8, 49u8, 151u8, 107u8, 114u8, 81u8, 200u8, - 144u8, 175u8, 29u8, 142u8, 115u8, 184u8, 102u8, 116u8, 156u8, 173u8, + 85u8, 213u8, 248u8, 146u8, 90u8, 110u8, 217u8, 109u8, 78u8, 6u8, 104u8, + 71u8, 184u8, 209u8, 148u8, 81u8, 145u8, 71u8, 151u8, 174u8, 25u8, + 238u8, 48u8, 0u8, 51u8, 102u8, 155u8, 143u8, 130u8, 157u8, 100u8, + 246u8, ], ) } @@ -26291,9 +26368,10 @@ pub mod api { "slash_tip", types::SlashTip { hash }, [ - 222u8, 209u8, 22u8, 47u8, 114u8, 230u8, 81u8, 200u8, 131u8, 0u8, 209u8, - 54u8, 17u8, 200u8, 175u8, 125u8, 100u8, 254u8, 41u8, 178u8, 20u8, 27u8, - 9u8, 184u8, 79u8, 93u8, 208u8, 148u8, 27u8, 190u8, 176u8, 169u8, + 127u8, 21u8, 252u8, 189u8, 121u8, 103u8, 54u8, 155u8, 71u8, 81u8, + 109u8, 0u8, 159u8, 151u8, 62u8, 81u8, 104u8, 31u8, 2u8, 83u8, 248u8, + 141u8, 252u8, 162u8, 173u8, 189u8, 252u8, 249u8, 54u8, 142u8, 108u8, + 19u8, ], ) } @@ -26427,9 +26505,9 @@ pub mod api { _0.borrow(), )], [ - 241u8, 196u8, 105u8, 248u8, 29u8, 66u8, 86u8, 98u8, 6u8, 159u8, 191u8, - 0u8, 227u8, 232u8, 147u8, 248u8, 173u8, 20u8, 225u8, 12u8, 232u8, 5u8, - 93u8, 78u8, 18u8, 154u8, 130u8, 38u8, 142u8, 36u8, 66u8, 0u8, + 173u8, 172u8, 116u8, 247u8, 202u8, 228u8, 47u8, 222u8, 67u8, 146u8, + 225u8, 0u8, 74u8, 189u8, 226u8, 206u8, 245u8, 209u8, 26u8, 49u8, 189u8, + 73u8, 20u8, 117u8, 30u8, 41u8, 129u8, 170u8, 5u8, 226u8, 92u8, 140u8, ], ) } @@ -26455,9 +26533,9 @@ pub mod api { "Tips", Vec::new(), [ - 241u8, 196u8, 105u8, 248u8, 29u8, 66u8, 86u8, 98u8, 6u8, 159u8, 191u8, - 0u8, 227u8, 232u8, 147u8, 248u8, 173u8, 20u8, 225u8, 12u8, 232u8, 5u8, - 93u8, 78u8, 18u8, 154u8, 130u8, 38u8, 142u8, 36u8, 66u8, 0u8, + 173u8, 172u8, 116u8, 247u8, 202u8, 228u8, 47u8, 222u8, 67u8, 146u8, + 225u8, 0u8, 74u8, 189u8, 226u8, 206u8, 245u8, 209u8, 26u8, 49u8, 189u8, + 73u8, 20u8, 117u8, 30u8, 41u8, 129u8, 170u8, 5u8, 226u8, 92u8, 140u8, ], ) } @@ -26480,9 +26558,10 @@ pub mod api { _0.borrow(), )], [ - 202u8, 191u8, 36u8, 162u8, 156u8, 102u8, 115u8, 10u8, 203u8, 35u8, - 201u8, 70u8, 195u8, 151u8, 89u8, 82u8, 202u8, 35u8, 210u8, 176u8, 82u8, - 1u8, 77u8, 94u8, 31u8, 70u8, 252u8, 194u8, 166u8, 91u8, 189u8, 134u8, + 212u8, 224u8, 153u8, 133u8, 234u8, 213u8, 134u8, 255u8, 59u8, 61u8, + 200u8, 47u8, 186u8, 177u8, 35u8, 108u8, 85u8, 144u8, 185u8, 69u8, + 159u8, 38u8, 83u8, 166u8, 200u8, 20u8, 220u8, 234u8, 59u8, 61u8, 223u8, + 167u8, ], ) } @@ -26502,9 +26581,10 @@ pub mod api { "Reasons", Vec::new(), [ - 202u8, 191u8, 36u8, 162u8, 156u8, 102u8, 115u8, 10u8, 203u8, 35u8, - 201u8, 70u8, 195u8, 151u8, 89u8, 82u8, 202u8, 35u8, 210u8, 176u8, 82u8, - 1u8, 77u8, 94u8, 31u8, 70u8, 252u8, 194u8, 166u8, 91u8, 189u8, 134u8, + 212u8, 224u8, 153u8, 133u8, 234u8, 213u8, 134u8, 255u8, 59u8, 61u8, + 200u8, 47u8, 186u8, 177u8, 35u8, 108u8, 85u8, 144u8, 185u8, 69u8, + 159u8, 38u8, 83u8, 166u8, 200u8, 20u8, 220u8, 234u8, 59u8, 61u8, 223u8, + 167u8, ], ) } @@ -26567,10 +26647,10 @@ pub mod api { "Tips", "TipFindersFee", [ - 99u8, 121u8, 176u8, 172u8, 235u8, 159u8, 116u8, 114u8, 179u8, 91u8, - 129u8, 117u8, 204u8, 135u8, 53u8, 7u8, 151u8, 26u8, 124u8, 151u8, - 202u8, 171u8, 171u8, 207u8, 183u8, 177u8, 24u8, 53u8, 109u8, 185u8, - 71u8, 183u8, + 40u8, 171u8, 69u8, 196u8, 34u8, 184u8, 50u8, 128u8, 139u8, 192u8, 63u8, + 231u8, 249u8, 200u8, 252u8, 73u8, 244u8, 170u8, 51u8, 177u8, 106u8, + 47u8, 114u8, 234u8, 84u8, 104u8, 62u8, 118u8, 227u8, 50u8, 225u8, + 122u8, ], ) } @@ -26736,9 +26816,9 @@ pub mod api { witness, }, [ - 100u8, 240u8, 31u8, 34u8, 93u8, 98u8, 93u8, 57u8, 41u8, 197u8, 97u8, - 58u8, 242u8, 10u8, 69u8, 250u8, 185u8, 169u8, 21u8, 8u8, 202u8, 61u8, - 36u8, 25u8, 4u8, 148u8, 82u8, 56u8, 242u8, 18u8, 27u8, 219u8, + 34u8, 115u8, 43u8, 180u8, 202u8, 212u8, 42u8, 17u8, 187u8, 233u8, 54u8, + 206u8, 238u8, 239u8, 35u8, 240u8, 136u8, 197u8, 117u8, 113u8, 213u8, + 46u8, 94u8, 47u8, 84u8, 186u8, 177u8, 61u8, 3u8, 202u8, 2u8, 186u8, ], ) } @@ -26758,9 +26838,10 @@ pub mod api { "set_minimum_untrusted_score", types::SetMinimumUntrustedScore { maybe_next_score }, [ - 63u8, 101u8, 105u8, 146u8, 133u8, 162u8, 149u8, 112u8, 150u8, 219u8, - 183u8, 213u8, 234u8, 211u8, 144u8, 74u8, 106u8, 15u8, 62u8, 196u8, - 247u8, 49u8, 20u8, 48u8, 3u8, 105u8, 85u8, 46u8, 76u8, 4u8, 67u8, 81u8, + 36u8, 32u8, 197u8, 96u8, 189u8, 98u8, 96u8, 138u8, 84u8, 99u8, 235u8, + 44u8, 103u8, 25u8, 118u8, 194u8, 166u8, 158u8, 212u8, 36u8, 243u8, + 86u8, 202u8, 231u8, 189u8, 226u8, 21u8, 112u8, 20u8, 163u8, 229u8, + 240u8, ], ) } @@ -26784,9 +26865,9 @@ pub mod api { "set_emergency_election_result", types::SetEmergencyElectionResult { supports }, [ - 115u8, 255u8, 205u8, 58u8, 153u8, 1u8, 246u8, 8u8, 225u8, 36u8, 66u8, - 144u8, 250u8, 145u8, 70u8, 76u8, 54u8, 63u8, 251u8, 51u8, 214u8, 204u8, - 55u8, 112u8, 46u8, 228u8, 255u8, 250u8, 151u8, 5u8, 44u8, 133u8, + 158u8, 35u8, 6u8, 145u8, 37u8, 239u8, 101u8, 90u8, 121u8, 123u8, 240u8, + 131u8, 154u8, 13u8, 111u8, 120u8, 146u8, 151u8, 203u8, 125u8, 115u8, + 255u8, 58u8, 154u8, 177u8, 204u8, 140u8, 87u8, 9u8, 63u8, 146u8, 209u8, ], ) } @@ -26812,10 +26893,9 @@ pub mod api { raw_solution: ::std::boxed::Box::new(raw_solution), }, [ - 220u8, 167u8, 40u8, 47u8, 253u8, 244u8, 72u8, 124u8, 30u8, 123u8, - 127u8, 227u8, 2u8, 66u8, 119u8, 64u8, 211u8, 200u8, 210u8, 98u8, 248u8, - 132u8, 68u8, 25u8, 34u8, 182u8, 230u8, 225u8, 241u8, 58u8, 193u8, - 134u8, + 55u8, 153u8, 215u8, 21u8, 19u8, 192u8, 199u8, 19u8, 145u8, 27u8, 54u8, + 128u8, 23u8, 3u8, 255u8, 87u8, 27u8, 75u8, 248u8, 145u8, 238u8, 75u8, + 204u8, 173u8, 71u8, 252u8, 29u8, 71u8, 45u8, 143u8, 179u8, 154u8, ], ) } @@ -26836,9 +26916,10 @@ pub mod api { maybe_max_targets, }, [ - 206u8, 247u8, 76u8, 85u8, 7u8, 24u8, 231u8, 226u8, 192u8, 143u8, 43u8, - 67u8, 91u8, 202u8, 88u8, 176u8, 130u8, 1u8, 83u8, 229u8, 227u8, 200u8, - 179u8, 4u8, 113u8, 60u8, 99u8, 190u8, 53u8, 226u8, 142u8, 182u8, + 168u8, 109u8, 243u8, 125u8, 188u8, 177u8, 251u8, 179u8, 158u8, 246u8, + 179u8, 247u8, 87u8, 217u8, 190u8, 107u8, 207u8, 249u8, 204u8, 27u8, + 166u8, 49u8, 135u8, 71u8, 88u8, 142u8, 58u8, 206u8, 137u8, 142u8, 75u8, + 127u8, ], ) } @@ -26998,9 +27079,9 @@ pub mod api { "Round", vec![], [ - 16u8, 49u8, 176u8, 52u8, 202u8, 111u8, 120u8, 8u8, 217u8, 96u8, 35u8, - 14u8, 233u8, 130u8, 47u8, 98u8, 34u8, 44u8, 166u8, 188u8, 199u8, 210u8, - 21u8, 19u8, 70u8, 96u8, 139u8, 8u8, 53u8, 82u8, 165u8, 239u8, + 37u8, 2u8, 47u8, 240u8, 18u8, 213u8, 214u8, 74u8, 57u8, 4u8, 103u8, + 253u8, 45u8, 17u8, 123u8, 203u8, 173u8, 170u8, 234u8, 109u8, 139u8, + 143u8, 216u8, 3u8, 161u8, 5u8, 0u8, 106u8, 181u8, 214u8, 170u8, 105u8, ], ) } @@ -27021,13 +27102,15 @@ pub mod api { "CurrentPhase", vec![], [ - 236u8, 101u8, 8u8, 52u8, 68u8, 240u8, 74u8, 159u8, 181u8, 53u8, 153u8, - 101u8, 228u8, 81u8, 96u8, 161u8, 34u8, 67u8, 35u8, 28u8, 121u8, 44u8, - 229u8, 45u8, 196u8, 87u8, 73u8, 125u8, 216u8, 245u8, 255u8, 15u8, + 230u8, 7u8, 51u8, 158u8, 77u8, 36u8, 148u8, 175u8, 138u8, 205u8, 195u8, + 236u8, 66u8, 148u8, 0u8, 77u8, 160u8, 249u8, 128u8, 58u8, 189u8, 48u8, + 195u8, 198u8, 115u8, 251u8, 13u8, 206u8, 163u8, 180u8, 108u8, 10u8, ], ) } #[doc = " Current best solution, signed or unsigned, queued to be returned upon `elect`."] + #[doc = ""] + #[doc = " Always sorted by score."] pub fn queued_solution( &self, ) -> ::subxt::storage::address::Address< @@ -27042,10 +27125,10 @@ pub mod api { "QueuedSolution", vec![], [ - 11u8, 152u8, 13u8, 167u8, 204u8, 209u8, 171u8, 249u8, 59u8, 250u8, - 58u8, 152u8, 164u8, 121u8, 146u8, 112u8, 241u8, 16u8, 159u8, 251u8, - 209u8, 251u8, 114u8, 29u8, 188u8, 30u8, 84u8, 71u8, 136u8, 173u8, - 145u8, 236u8, + 64u8, 237u8, 221u8, 29u8, 144u8, 141u8, 147u8, 4u8, 46u8, 239u8, 34u8, + 242u8, 164u8, 69u8, 108u8, 145u8, 95u8, 167u8, 34u8, 211u8, 103u8, + 165u8, 183u8, 193u8, 245u8, 226u8, 140u8, 50u8, 176u8, 127u8, 108u8, + 171u8, ], ) } @@ -27075,9 +27158,10 @@ pub mod api { "Snapshot", vec![], [ - 239u8, 56u8, 191u8, 77u8, 150u8, 224u8, 248u8, 88u8, 132u8, 224u8, - 164u8, 83u8, 253u8, 36u8, 46u8, 156u8, 72u8, 152u8, 36u8, 206u8, 72u8, - 27u8, 226u8, 87u8, 146u8, 220u8, 93u8, 178u8, 26u8, 115u8, 232u8, 71u8, + 180u8, 77u8, 217u8, 249u8, 212u8, 99u8, 36u8, 26u8, 237u8, 4u8, 94u8, + 80u8, 160u8, 6u8, 194u8, 98u8, 174u8, 153u8, 127u8, 124u8, 109u8, + 188u8, 143u8, 151u8, 51u8, 200u8, 133u8, 66u8, 68u8, 226u8, 124u8, + 158u8, ], ) } @@ -27098,9 +27182,9 @@ pub mod api { "DesiredTargets", vec![], [ - 16u8, 247u8, 4u8, 181u8, 93u8, 79u8, 12u8, 212u8, 146u8, 167u8, 80u8, - 58u8, 118u8, 52u8, 68u8, 87u8, 90u8, 140u8, 31u8, 210u8, 2u8, 116u8, - 220u8, 231u8, 115u8, 112u8, 118u8, 118u8, 68u8, 34u8, 151u8, 165u8, + 67u8, 241u8, 33u8, 113u8, 62u8, 173u8, 233u8, 76u8, 99u8, 12u8, 61u8, + 237u8, 21u8, 252u8, 39u8, 37u8, 86u8, 167u8, 173u8, 53u8, 238u8, 172u8, + 97u8, 59u8, 27u8, 164u8, 163u8, 76u8, 140u8, 37u8, 159u8, 250u8, ], ) } @@ -27121,10 +27205,10 @@ pub mod api { "SnapshotMetadata", vec![], [ - 135u8, 122u8, 60u8, 75u8, 194u8, 240u8, 187u8, 96u8, 240u8, 203u8, - 192u8, 22u8, 117u8, 148u8, 118u8, 24u8, 240u8, 213u8, 94u8, 22u8, - 194u8, 47u8, 181u8, 245u8, 77u8, 149u8, 11u8, 251u8, 117u8, 220u8, - 205u8, 78u8, + 14u8, 189u8, 135u8, 84u8, 238u8, 133u8, 76u8, 176u8, 181u8, 185u8, + 111u8, 102u8, 181u8, 14u8, 172u8, 86u8, 188u8, 139u8, 73u8, 192u8, + 203u8, 117u8, 39u8, 119u8, 108u8, 225u8, 163u8, 36u8, 91u8, 30u8, 0u8, + 196u8, ], ) } @@ -27151,9 +27235,9 @@ pub mod api { "SignedSubmissionNextIndex", vec![], [ - 242u8, 11u8, 157u8, 105u8, 96u8, 7u8, 31u8, 20u8, 51u8, 141u8, 182u8, - 180u8, 13u8, 172u8, 155u8, 59u8, 42u8, 238u8, 115u8, 8u8, 6u8, 137u8, - 45u8, 2u8, 123u8, 187u8, 53u8, 215u8, 19u8, 129u8, 54u8, 22u8, + 188u8, 126u8, 77u8, 166u8, 42u8, 81u8, 12u8, 239u8, 195u8, 16u8, 132u8, + 178u8, 217u8, 158u8, 28u8, 19u8, 201u8, 148u8, 47u8, 105u8, 178u8, + 115u8, 17u8, 78u8, 71u8, 178u8, 205u8, 171u8, 71u8, 52u8, 194u8, 82u8, ], ) } @@ -27181,10 +27265,9 @@ pub mod api { "SignedSubmissionIndices", vec![], [ - 228u8, 166u8, 94u8, 248u8, 71u8, 26u8, 125u8, 81u8, 32u8, 22u8, 46u8, - 185u8, 209u8, 123u8, 46u8, 17u8, 152u8, 149u8, 222u8, 125u8, 112u8, - 230u8, 29u8, 177u8, 162u8, 214u8, 66u8, 38u8, 170u8, 121u8, 129u8, - 100u8, + 203u8, 96u8, 121u8, 1u8, 24u8, 150u8, 185u8, 93u8, 129u8, 63u8, 52u8, + 163u8, 67u8, 45u8, 100u8, 11u8, 254u8, 224u8, 18u8, 1u8, 133u8, 246u8, + 125u8, 211u8, 93u8, 99u8, 194u8, 105u8, 176u8, 162u8, 238u8, 181u8, ], ) } @@ -27216,10 +27299,10 @@ pub mod api { _0.borrow(), )], [ - 84u8, 65u8, 205u8, 191u8, 143u8, 246u8, 239u8, 27u8, 243u8, 54u8, - 250u8, 8u8, 125u8, 32u8, 241u8, 141u8, 210u8, 225u8, 56u8, 101u8, - 241u8, 52u8, 157u8, 29u8, 13u8, 155u8, 73u8, 132u8, 118u8, 53u8, 2u8, - 135u8, + 79u8, 183u8, 109u8, 221u8, 2u8, 64u8, 197u8, 162u8, 221u8, 170u8, + 140u8, 136u8, 205u8, 111u8, 8u8, 179u8, 166u8, 104u8, 74u8, 219u8, + 202u8, 123u8, 31u8, 129u8, 207u8, 58u8, 241u8, 91u8, 147u8, 112u8, + 162u8, 105u8, ], ) } @@ -27248,10 +27331,10 @@ pub mod api { "SignedSubmissionsMap", Vec::new(), [ - 84u8, 65u8, 205u8, 191u8, 143u8, 246u8, 239u8, 27u8, 243u8, 54u8, - 250u8, 8u8, 125u8, 32u8, 241u8, 141u8, 210u8, 225u8, 56u8, 101u8, - 241u8, 52u8, 157u8, 29u8, 13u8, 155u8, 73u8, 132u8, 118u8, 53u8, 2u8, - 135u8, + 79u8, 183u8, 109u8, 221u8, 2u8, 64u8, 197u8, 162u8, 221u8, 170u8, + 140u8, 136u8, 205u8, 111u8, 8u8, 179u8, 166u8, 104u8, 74u8, 219u8, + 202u8, 123u8, 31u8, 129u8, 207u8, 58u8, 241u8, 91u8, 147u8, 112u8, + 162u8, 105u8, ], ) } @@ -27273,9 +27356,9 @@ pub mod api { "MinimumUntrustedScore", vec![], [ - 77u8, 235u8, 181u8, 45u8, 230u8, 12u8, 0u8, 179u8, 152u8, 38u8, 74u8, - 199u8, 47u8, 84u8, 85u8, 55u8, 171u8, 226u8, 217u8, 125u8, 17u8, 194u8, - 95u8, 157u8, 73u8, 245u8, 75u8, 130u8, 248u8, 7u8, 53u8, 226u8, + 105u8, 218u8, 96u8, 38u8, 82u8, 115u8, 30u8, 178u8, 21u8, 89u8, 59u8, + 7u8, 203u8, 240u8, 224u8, 209u8, 78u8, 28u8, 198u8, 236u8, 252u8, + 122u8, 72u8, 59u8, 156u8, 242u8, 26u8, 160u8, 145u8, 40u8, 6u8, 101u8, ], ) } @@ -27323,9 +27406,9 @@ pub mod api { "ElectionProviderMultiPhase", "BetterSignedThreshold", [ - 225u8, 236u8, 95u8, 157u8, 90u8, 94u8, 106u8, 192u8, 254u8, 19u8, 87u8, - 80u8, 16u8, 62u8, 42u8, 204u8, 136u8, 106u8, 225u8, 53u8, 212u8, 52u8, - 177u8, 79u8, 4u8, 116u8, 201u8, 104u8, 222u8, 75u8, 86u8, 227u8, + 65u8, 93u8, 120u8, 165u8, 204u8, 81u8, 159u8, 163u8, 93u8, 135u8, + 114u8, 121u8, 147u8, 35u8, 215u8, 213u8, 4u8, 223u8, 83u8, 37u8, 225u8, + 200u8, 189u8, 156u8, 140u8, 36u8, 58u8, 46u8, 42u8, 232u8, 155u8, 0u8, ], ) } @@ -27339,9 +27422,9 @@ pub mod api { "ElectionProviderMultiPhase", "BetterUnsignedThreshold", [ - 225u8, 236u8, 95u8, 157u8, 90u8, 94u8, 106u8, 192u8, 254u8, 19u8, 87u8, - 80u8, 16u8, 62u8, 42u8, 204u8, 136u8, 106u8, 225u8, 53u8, 212u8, 52u8, - 177u8, 79u8, 4u8, 116u8, 201u8, 104u8, 222u8, 75u8, 86u8, 227u8, + 65u8, 93u8, 120u8, 165u8, 204u8, 81u8, 159u8, 163u8, 93u8, 135u8, + 114u8, 121u8, 147u8, 35u8, 215u8, 213u8, 4u8, 223u8, 83u8, 37u8, 225u8, + 200u8, 189u8, 156u8, 140u8, 36u8, 58u8, 46u8, 42u8, 232u8, 155u8, 0u8, ], ) } @@ -27412,10 +27495,9 @@ pub mod api { "ElectionProviderMultiPhase", "SignedMaxWeight", [ - 206u8, 61u8, 253u8, 247u8, 163u8, 40u8, 161u8, 52u8, 134u8, 140u8, - 206u8, 83u8, 44u8, 166u8, 226u8, 115u8, 181u8, 14u8, 227u8, 130u8, - 210u8, 32u8, 85u8, 29u8, 230u8, 97u8, 130u8, 165u8, 147u8, 134u8, - 106u8, 76u8, + 222u8, 183u8, 203u8, 169u8, 31u8, 134u8, 28u8, 12u8, 47u8, 140u8, 71u8, + 74u8, 61u8, 55u8, 71u8, 236u8, 215u8, 83u8, 28u8, 70u8, 45u8, 128u8, + 184u8, 57u8, 101u8, 83u8, 42u8, 165u8, 34u8, 155u8, 64u8, 145u8, ], ) } @@ -27559,10 +27641,9 @@ pub mod api { "ElectionProviderMultiPhase", "MinerMaxWeight", [ - 206u8, 61u8, 253u8, 247u8, 163u8, 40u8, 161u8, 52u8, 134u8, 140u8, - 206u8, 83u8, 44u8, 166u8, 226u8, 115u8, 181u8, 14u8, 227u8, 130u8, - 210u8, 32u8, 85u8, 29u8, 230u8, 97u8, 130u8, 165u8, 147u8, 134u8, - 106u8, 76u8, + 222u8, 183u8, 203u8, 169u8, 31u8, 134u8, 28u8, 12u8, 47u8, 140u8, 71u8, + 74u8, 61u8, 55u8, 71u8, 236u8, 215u8, 83u8, 28u8, 70u8, 45u8, 128u8, + 184u8, 57u8, 101u8, 83u8, 42u8, 165u8, 34u8, 155u8, 64u8, 145u8, ], ) } @@ -27666,10 +27747,10 @@ pub mod api { "rebag", types::Rebag { dislocated }, [ - 35u8, 182u8, 31u8, 22u8, 190u8, 187u8, 31u8, 138u8, 60u8, 48u8, 236u8, - 16u8, 191u8, 143u8, 52u8, 110u8, 228u8, 43u8, 116u8, 13u8, 171u8, - 108u8, 112u8, 123u8, 252u8, 231u8, 132u8, 97u8, 195u8, 148u8, 252u8, - 241u8, + 247u8, 169u8, 213u8, 238u8, 186u8, 147u8, 81u8, 96u8, 24u8, 105u8, + 162u8, 211u8, 90u8, 176u8, 26u8, 186u8, 163u8, 125u8, 103u8, 57u8, + 236u8, 17u8, 69u8, 186u8, 56u8, 101u8, 146u8, 56u8, 39u8, 129u8, 227u8, + 24u8, ], ) } @@ -27690,10 +27771,10 @@ pub mod api { "put_in_front_of", types::PutInFrontOf { lighter }, [ - 184u8, 194u8, 39u8, 91u8, 28u8, 220u8, 76u8, 199u8, 64u8, 252u8, 233u8, - 241u8, 74u8, 19u8, 246u8, 190u8, 108u8, 227u8, 77u8, 162u8, 225u8, - 230u8, 101u8, 72u8, 159u8, 217u8, 133u8, 107u8, 84u8, 83u8, 81u8, - 227u8, + 137u8, 248u8, 163u8, 62u8, 1u8, 5u8, 112u8, 62u8, 13u8, 66u8, 44u8, + 72u8, 129u8, 185u8, 166u8, 35u8, 171u8, 105u8, 77u8, 248u8, 254u8, + 56u8, 13u8, 196u8, 228u8, 141u8, 187u8, 237u8, 82u8, 195u8, 158u8, + 18u8, ], ) } @@ -27767,9 +27848,10 @@ pub mod api { _0.borrow(), )], [ - 176u8, 186u8, 93u8, 51u8, 100u8, 184u8, 240u8, 29u8, 70u8, 3u8, 117u8, - 47u8, 23u8, 66u8, 231u8, 234u8, 53u8, 8u8, 234u8, 175u8, 181u8, 8u8, - 161u8, 154u8, 48u8, 178u8, 147u8, 227u8, 122u8, 115u8, 57u8, 97u8, + 252u8, 218u8, 186u8, 230u8, 86u8, 177u8, 112u8, 218u8, 9u8, 62u8, + 217u8, 5u8, 39u8, 70u8, 15u8, 104u8, 157u8, 19u8, 175u8, 136u8, 71u8, + 237u8, 254u8, 254u8, 119u8, 107u8, 84u8, 10u8, 104u8, 142u8, 135u8, + 35u8, ], ) } @@ -27790,9 +27872,10 @@ pub mod api { "ListNodes", Vec::new(), [ - 176u8, 186u8, 93u8, 51u8, 100u8, 184u8, 240u8, 29u8, 70u8, 3u8, 117u8, - 47u8, 23u8, 66u8, 231u8, 234u8, 53u8, 8u8, 234u8, 175u8, 181u8, 8u8, - 161u8, 154u8, 48u8, 178u8, 147u8, 227u8, 122u8, 115u8, 57u8, 97u8, + 252u8, 218u8, 186u8, 230u8, 86u8, 177u8, 112u8, 218u8, 9u8, 62u8, + 217u8, 5u8, 39u8, 70u8, 15u8, 104u8, 157u8, 19u8, 175u8, 136u8, 71u8, + 237u8, 254u8, 254u8, 119u8, 107u8, 84u8, 10u8, 104u8, 142u8, 135u8, + 35u8, ], ) } @@ -27811,9 +27894,10 @@ pub mod api { "CounterForListNodes", vec![], [ - 156u8, 168u8, 97u8, 33u8, 84u8, 117u8, 220u8, 89u8, 62u8, 182u8, 24u8, - 88u8, 231u8, 244u8, 41u8, 19u8, 210u8, 131u8, 87u8, 0u8, 241u8, 230u8, - 160u8, 142u8, 128u8, 153u8, 83u8, 36u8, 88u8, 247u8, 70u8, 130u8, + 126u8, 150u8, 201u8, 81u8, 155u8, 79u8, 50u8, 48u8, 120u8, 170u8, 3u8, + 104u8, 112u8, 254u8, 106u8, 46u8, 108u8, 126u8, 158u8, 245u8, 95u8, + 88u8, 236u8, 89u8, 79u8, 172u8, 13u8, 146u8, 202u8, 151u8, 122u8, + 132u8, ], ) } @@ -27837,9 +27921,9 @@ pub mod api { _0.borrow(), )], [ - 38u8, 86u8, 63u8, 92u8, 85u8, 59u8, 225u8, 244u8, 14u8, 155u8, 76u8, - 249u8, 153u8, 140u8, 179u8, 7u8, 96u8, 170u8, 236u8, 179u8, 4u8, 18u8, - 232u8, 146u8, 216u8, 51u8, 135u8, 116u8, 196u8, 117u8, 143u8, 153u8, + 157u8, 147u8, 94u8, 26u8, 37u8, 89u8, 114u8, 210u8, 158u8, 36u8, 155u8, + 0u8, 137u8, 78u8, 65u8, 165u8, 226u8, 192u8, 65u8, 13u8, 244u8, 159u8, + 245u8, 15u8, 210u8, 101u8, 61u8, 111u8, 217u8, 225u8, 197u8, 158u8, ], ) } @@ -27860,9 +27944,9 @@ pub mod api { "ListBags", Vec::new(), [ - 38u8, 86u8, 63u8, 92u8, 85u8, 59u8, 225u8, 244u8, 14u8, 155u8, 76u8, - 249u8, 153u8, 140u8, 179u8, 7u8, 96u8, 170u8, 236u8, 179u8, 4u8, 18u8, - 232u8, 146u8, 216u8, 51u8, 135u8, 116u8, 196u8, 117u8, 143u8, 153u8, + 157u8, 147u8, 94u8, 26u8, 37u8, 89u8, 114u8, 210u8, 158u8, 36u8, 155u8, + 0u8, 137u8, 78u8, 65u8, 165u8, 226u8, 192u8, 65u8, 13u8, 244u8, 159u8, + 245u8, 15u8, 210u8, 101u8, 61u8, 111u8, 217u8, 225u8, 197u8, 158u8, ], ) } @@ -27923,9 +28007,9 @@ pub mod api { "VoterList", "BagThresholds", [ - 103u8, 102u8, 255u8, 165u8, 124u8, 54u8, 5u8, 172u8, 112u8, 234u8, - 25u8, 175u8, 178u8, 19u8, 251u8, 73u8, 91u8, 192u8, 227u8, 81u8, 249u8, - 45u8, 126u8, 116u8, 7u8, 37u8, 9u8, 200u8, 167u8, 182u8, 12u8, 131u8, + 215u8, 118u8, 183u8, 172u8, 4u8, 42u8, 248u8, 108u8, 4u8, 110u8, 43u8, + 165u8, 228u8, 7u8, 36u8, 30u8, 135u8, 184u8, 56u8, 201u8, 107u8, 68u8, + 25u8, 164u8, 134u8, 32u8, 82u8, 107u8, 200u8, 219u8, 212u8, 198u8, ], ) } @@ -28377,10 +28461,9 @@ pub mod api { "join", types::Join { amount, pool_id }, [ - 205u8, 66u8, 42u8, 72u8, 146u8, 148u8, 119u8, 162u8, 101u8, 183u8, - 46u8, 176u8, 221u8, 204u8, 197u8, 20u8, 75u8, 226u8, 29u8, 118u8, - 208u8, 60u8, 192u8, 247u8, 222u8, 100u8, 69u8, 80u8, 172u8, 13u8, 69u8, - 250u8, + 9u8, 24u8, 209u8, 117u8, 242u8, 76u8, 192u8, 40u8, 196u8, 136u8, 158u8, + 182u8, 117u8, 140u8, 164u8, 64u8, 184u8, 160u8, 146u8, 143u8, 173u8, + 180u8, 6u8, 242u8, 203u8, 130u8, 41u8, 176u8, 158u8, 96u8, 94u8, 175u8, ], ) } @@ -28402,10 +28485,10 @@ pub mod api { "bond_extra", types::BondExtra { extra }, [ - 50u8, 72u8, 181u8, 216u8, 249u8, 27u8, 250u8, 177u8, 253u8, 22u8, - 240u8, 100u8, 184u8, 202u8, 197u8, 34u8, 21u8, 188u8, 248u8, 191u8, - 11u8, 10u8, 236u8, 161u8, 168u8, 37u8, 38u8, 238u8, 61u8, 183u8, 86u8, - 55u8, + 149u8, 176u8, 102u8, 52u8, 76u8, 227u8, 61u8, 60u8, 109u8, 187u8, 40u8, + 176u8, 163u8, 37u8, 10u8, 228u8, 164u8, 77u8, 155u8, 155u8, 14u8, + 106u8, 5u8, 177u8, 176u8, 224u8, 163u8, 28u8, 66u8, 237u8, 186u8, + 188u8, ], ) } @@ -28423,9 +28506,9 @@ pub mod api { "claim_payout", types::ClaimPayout {}, [ - 128u8, 58u8, 138u8, 55u8, 64u8, 16u8, 129u8, 25u8, 211u8, 229u8, 193u8, - 115u8, 47u8, 45u8, 155u8, 221u8, 218u8, 1u8, 222u8, 5u8, 236u8, 32u8, - 88u8, 0u8, 198u8, 72u8, 196u8, 181u8, 104u8, 16u8, 212u8, 29u8, + 28u8, 87u8, 180u8, 5u8, 69u8, 49u8, 121u8, 28u8, 34u8, 63u8, 78u8, + 228u8, 223u8, 12u8, 171u8, 41u8, 181u8, 137u8, 145u8, 141u8, 198u8, + 220u8, 5u8, 101u8, 173u8, 69u8, 222u8, 59u8, 111u8, 92u8, 182u8, 8u8, ], ) } @@ -28473,9 +28556,9 @@ pub mod api { unbonding_points, }, [ - 78u8, 15u8, 37u8, 18u8, 129u8, 63u8, 31u8, 3u8, 68u8, 10u8, 12u8, 12u8, - 166u8, 179u8, 38u8, 232u8, 97u8, 1u8, 83u8, 53u8, 26u8, 59u8, 42u8, - 219u8, 176u8, 246u8, 169u8, 28u8, 35u8, 67u8, 139u8, 81u8, + 178u8, 232u8, 24u8, 199u8, 57u8, 76u8, 252u8, 68u8, 39u8, 118u8, 16u8, + 74u8, 55u8, 191u8, 142u8, 188u8, 80u8, 67u8, 168u8, 40u8, 9u8, 99u8, + 214u8, 43u8, 44u8, 57u8, 177u8, 66u8, 238u8, 104u8, 52u8, 220u8, ], ) } @@ -28498,10 +28581,9 @@ pub mod api { num_slashing_spans, }, [ - 152u8, 245u8, 131u8, 247u8, 106u8, 214u8, 154u8, 8u8, 7u8, 210u8, - 149u8, 218u8, 118u8, 46u8, 242u8, 182u8, 191u8, 119u8, 28u8, 199u8, - 36u8, 49u8, 219u8, 123u8, 58u8, 203u8, 211u8, 226u8, 217u8, 36u8, 56u8, - 0u8, + 234u8, 49u8, 43u8, 199u8, 55u8, 2u8, 252u8, 39u8, 147u8, 136u8, 34u8, + 239u8, 116u8, 155u8, 129u8, 72u8, 83u8, 161u8, 90u8, 207u8, 1u8, 193u8, + 254u8, 47u8, 40u8, 185u8, 67u8, 55u8, 238u8, 122u8, 140u8, 230u8, ], ) } @@ -28537,10 +28619,9 @@ pub mod api { num_slashing_spans, }, [ - 61u8, 216u8, 214u8, 166u8, 59u8, 42u8, 186u8, 141u8, 47u8, 50u8, 135u8, - 236u8, 166u8, 88u8, 90u8, 244u8, 57u8, 106u8, 193u8, 211u8, 215u8, - 131u8, 203u8, 33u8, 195u8, 120u8, 213u8, 94u8, 213u8, 66u8, 79u8, - 140u8, + 153u8, 110u8, 206u8, 15u8, 152u8, 12u8, 113u8, 210u8, 94u8, 95u8, 14u8, + 244u8, 38u8, 29u8, 140u8, 121u8, 40u8, 6u8, 125u8, 228u8, 46u8, 110u8, + 240u8, 149u8, 188u8, 176u8, 232u8, 187u8, 231u8, 152u8, 192u8, 180u8, ], ) } @@ -28578,10 +28659,9 @@ pub mod api { bouncer, }, [ - 182u8, 114u8, 123u8, 215u8, 240u8, 217u8, 208u8, 165u8, 237u8, 1u8, - 215u8, 183u8, 218u8, 125u8, 71u8, 229u8, 68u8, 142u8, 60u8, 76u8, - 101u8, 242u8, 218u8, 61u8, 165u8, 203u8, 233u8, 241u8, 130u8, 13u8, - 76u8, 214u8, + 158u8, 136u8, 58u8, 88u8, 26u8, 188u8, 179u8, 22u8, 217u8, 3u8, 184u8, + 93u8, 76u8, 124u8, 24u8, 169u8, 133u8, 18u8, 229u8, 230u8, 210u8, + 194u8, 10u8, 88u8, 33u8, 72u8, 113u8, 65u8, 200u8, 98u8, 55u8, 220u8, ], ) } @@ -28610,9 +28690,10 @@ pub mod api { pool_id, }, [ - 76u8, 77u8, 158u8, 172u8, 4u8, 68u8, 53u8, 249u8, 156u8, 91u8, 19u8, - 151u8, 58u8, 199u8, 179u8, 0u8, 186u8, 152u8, 157u8, 28u8, 65u8, 227u8, - 133u8, 101u8, 102u8, 205u8, 68u8, 245u8, 104u8, 151u8, 146u8, 76u8, + 3u8, 118u8, 189u8, 234u8, 136u8, 26u8, 170u8, 124u8, 187u8, 6u8, 53u8, + 190u8, 66u8, 225u8, 221u8, 136u8, 162u8, 189u8, 212u8, 12u8, 174u8, + 240u8, 86u8, 50u8, 110u8, 135u8, 106u8, 70u8, 243u8, 147u8, 125u8, + 99u8, ], ) } @@ -28636,9 +28717,9 @@ pub mod api { validators, }, [ - 10u8, 235u8, 64u8, 157u8, 36u8, 249u8, 186u8, 27u8, 79u8, 172u8, 25u8, - 3u8, 203u8, 19u8, 192u8, 182u8, 36u8, 103u8, 13u8, 20u8, 89u8, 140u8, - 159u8, 4u8, 132u8, 242u8, 192u8, 146u8, 55u8, 251u8, 216u8, 255u8, + 118u8, 80u8, 137u8, 47u8, 102u8, 9u8, 20u8, 136u8, 76u8, 164u8, 161u8, + 114u8, 33u8, 159u8, 204u8, 49u8, 233u8, 199u8, 246u8, 67u8, 144u8, + 169u8, 211u8, 67u8, 12u8, 68u8, 198u8, 149u8, 87u8, 62u8, 226u8, 72u8, ], ) } @@ -28662,10 +28743,9 @@ pub mod api { "set_state", types::SetState { pool_id, state }, [ - 104u8, 40u8, 213u8, 88u8, 159u8, 115u8, 35u8, 249u8, 78u8, 180u8, 99u8, - 1u8, 225u8, 218u8, 192u8, 151u8, 25u8, 194u8, 192u8, 187u8, 39u8, - 170u8, 212u8, 125u8, 75u8, 250u8, 248u8, 175u8, 159u8, 161u8, 151u8, - 162u8, + 39u8, 221u8, 24u8, 65u8, 144u8, 230u8, 228u8, 24u8, 191u8, 53u8, 171u8, + 148u8, 131u8, 45u8, 10u8, 22u8, 222u8, 240u8, 13u8, 87u8, 123u8, 182u8, + 102u8, 26u8, 124u8, 205u8, 23u8, 31u8, 25u8, 43u8, 12u8, 140u8, ], ) } @@ -28683,9 +28763,9 @@ pub mod api { "set_metadata", types::SetMetadata { pool_id, metadata }, [ - 156u8, 81u8, 170u8, 161u8, 34u8, 100u8, 183u8, 174u8, 5u8, 81u8, 31u8, - 76u8, 12u8, 42u8, 77u8, 1u8, 6u8, 26u8, 168u8, 7u8, 8u8, 115u8, 158u8, - 151u8, 30u8, 211u8, 52u8, 177u8, 234u8, 87u8, 125u8, 127u8, + 221u8, 189u8, 15u8, 232u8, 0u8, 49u8, 187u8, 67u8, 124u8, 26u8, 114u8, + 191u8, 81u8, 14u8, 253u8, 75u8, 88u8, 182u8, 136u8, 18u8, 238u8, 119u8, + 215u8, 248u8, 133u8, 160u8, 154u8, 193u8, 177u8, 140u8, 1u8, 16u8, ], ) } @@ -28733,10 +28813,9 @@ pub mod api { global_max_commission, }, [ - 20u8, 66u8, 112u8, 172u8, 143u8, 78u8, 60u8, 159u8, 240u8, 102u8, - 245u8, 10u8, 207u8, 27u8, 99u8, 138u8, 217u8, 239u8, 101u8, 190u8, - 222u8, 253u8, 53u8, 77u8, 230u8, 225u8, 101u8, 109u8, 50u8, 144u8, - 31u8, 121u8, + 60u8, 29u8, 13u8, 45u8, 37u8, 171u8, 129u8, 133u8, 127u8, 42u8, 104u8, + 45u8, 29u8, 58u8, 209u8, 48u8, 119u8, 255u8, 86u8, 13u8, 243u8, 124u8, + 57u8, 250u8, 156u8, 189u8, 59u8, 88u8, 64u8, 109u8, 219u8, 68u8, ], ) } @@ -28770,10 +28849,9 @@ pub mod api { new_bouncer, }, [ - 15u8, 154u8, 204u8, 28u8, 204u8, 120u8, 174u8, 203u8, 186u8, 33u8, - 123u8, 201u8, 143u8, 120u8, 193u8, 49u8, 164u8, 178u8, 55u8, 234u8, - 126u8, 247u8, 123u8, 73u8, 147u8, 107u8, 43u8, 72u8, 217u8, 4u8, 199u8, - 253u8, + 58u8, 51u8, 136u8, 162u8, 218u8, 195u8, 121u8, 6u8, 243u8, 69u8, 19u8, + 130u8, 152u8, 180u8, 226u8, 28u8, 0u8, 218u8, 237u8, 56u8, 52u8, 139u8, + 198u8, 155u8, 112u8, 165u8, 142u8, 44u8, 111u8, 197u8, 123u8, 246u8, ], ) } @@ -28793,9 +28871,9 @@ pub mod api { "chill", types::Chill { pool_id }, [ - 41u8, 114u8, 128u8, 121u8, 244u8, 15u8, 15u8, 52u8, 129u8, 88u8, 239u8, - 167u8, 216u8, 38u8, 123u8, 240u8, 172u8, 229u8, 132u8, 64u8, 175u8, - 87u8, 217u8, 27u8, 11u8, 124u8, 1u8, 140u8, 40u8, 191u8, 187u8, 36u8, + 65u8, 206u8, 54u8, 53u8, 37u8, 97u8, 161u8, 104u8, 62u8, 9u8, 93u8, + 236u8, 61u8, 185u8, 204u8, 245u8, 234u8, 218u8, 213u8, 40u8, 154u8, + 29u8, 244u8, 19u8, 207u8, 172u8, 142u8, 221u8, 38u8, 70u8, 39u8, 10u8, ], ) } @@ -28820,9 +28898,10 @@ pub mod api { "bond_extra_other", types::BondExtraOther { member, extra }, [ - 13u8, 60u8, 161u8, 6u8, 191u8, 248u8, 61u8, 226u8, 192u8, 37u8, 44u8, - 146u8, 250u8, 213u8, 235u8, 147u8, 0u8, 14u8, 147u8, 11u8, 14u8, 126u8, - 70u8, 240u8, 83u8, 26u8, 95u8, 49u8, 52u8, 15u8, 185u8, 162u8, + 210u8, 156u8, 196u8, 34u8, 245u8, 145u8, 2u8, 255u8, 36u8, 220u8, + 101u8, 235u8, 200u8, 43u8, 237u8, 70u8, 15u8, 231u8, 177u8, 37u8, + 215u8, 157u8, 165u8, 16u8, 183u8, 67u8, 182u8, 52u8, 26u8, 244u8, + 210u8, 135u8, ], ) } @@ -28847,9 +28926,9 @@ pub mod api { "set_claim_permission", types::SetClaimPermission { permission }, [ - 23u8, 253u8, 135u8, 53u8, 83u8, 71u8, 182u8, 223u8, 123u8, 57u8, 93u8, - 154u8, 110u8, 91u8, 63u8, 241u8, 144u8, 218u8, 129u8, 238u8, 169u8, - 9u8, 215u8, 76u8, 65u8, 168u8, 103u8, 44u8, 40u8, 39u8, 34u8, 16u8, + 36u8, 137u8, 193u8, 200u8, 57u8, 46u8, 87u8, 236u8, 180u8, 170u8, 90u8, + 99u8, 137u8, 123u8, 99u8, 197u8, 113u8, 119u8, 72u8, 153u8, 207u8, + 189u8, 69u8, 89u8, 225u8, 115u8, 45u8, 32u8, 216u8, 43u8, 92u8, 135u8, ], ) } @@ -28866,9 +28945,10 @@ pub mod api { "claim_payout_other", types::ClaimPayoutOther { other }, [ - 52u8, 165u8, 191u8, 125u8, 180u8, 54u8, 27u8, 235u8, 195u8, 22u8, 55u8, - 183u8, 209u8, 63u8, 116u8, 88u8, 154u8, 74u8, 100u8, 103u8, 88u8, 76u8, - 35u8, 14u8, 39u8, 156u8, 219u8, 253u8, 123u8, 104u8, 168u8, 76u8, + 202u8, 130u8, 122u8, 10u8, 159u8, 181u8, 124u8, 215u8, 23u8, 85u8, + 234u8, 178u8, 169u8, 41u8, 204u8, 226u8, 195u8, 69u8, 168u8, 88u8, + 58u8, 15u8, 3u8, 227u8, 180u8, 183u8, 62u8, 224u8, 39u8, 218u8, 75u8, + 166u8, ], ) } @@ -28893,9 +28973,10 @@ pub mod api { new_commission, }, [ - 118u8, 240u8, 166u8, 40u8, 247u8, 44u8, 23u8, 92u8, 4u8, 78u8, 156u8, - 21u8, 178u8, 97u8, 197u8, 148u8, 61u8, 234u8, 15u8, 94u8, 248u8, 188u8, - 211u8, 13u8, 134u8, 10u8, 75u8, 59u8, 218u8, 13u8, 104u8, 115u8, + 144u8, 94u8, 73u8, 69u8, 224u8, 158u8, 244u8, 77u8, 169u8, 219u8, + 101u8, 41u8, 37u8, 211u8, 198u8, 32u8, 92u8, 108u8, 7u8, 27u8, 153u8, + 37u8, 82u8, 174u8, 196u8, 176u8, 196u8, 181u8, 45u8, 81u8, 134u8, + 162u8, ], ) } @@ -28917,9 +28998,9 @@ pub mod api { max_commission, }, [ - 115u8, 90u8, 156u8, 35u8, 7u8, 125u8, 184u8, 123u8, 149u8, 232u8, 59u8, - 21u8, 42u8, 120u8, 14u8, 152u8, 184u8, 167u8, 18u8, 22u8, 148u8, 83u8, - 16u8, 81u8, 93u8, 182u8, 154u8, 182u8, 46u8, 40u8, 179u8, 187u8, + 180u8, 80u8, 204u8, 129u8, 141u8, 86u8, 45u8, 76u8, 224u8, 123u8, + 212u8, 38u8, 224u8, 79u8, 41u8, 143u8, 237u8, 174u8, 126u8, 1u8, 215u8, + 105u8, 50u8, 46u8, 151u8, 11u8, 118u8, 198u8, 183u8, 95u8, 47u8, 71u8, ], ) } @@ -28942,10 +29023,10 @@ pub mod api { change_rate, }, [ - 118u8, 194u8, 114u8, 197u8, 214u8, 246u8, 23u8, 237u8, 10u8, 90u8, - 230u8, 123u8, 172u8, 174u8, 98u8, 198u8, 160u8, 71u8, 113u8, 76u8, - 201u8, 201u8, 153u8, 92u8, 222u8, 252u8, 7u8, 184u8, 236u8, 235u8, - 126u8, 201u8, + 138u8, 30u8, 155u8, 127u8, 181u8, 99u8, 89u8, 138u8, 130u8, 53u8, + 224u8, 96u8, 190u8, 14u8, 76u8, 244u8, 142u8, 50u8, 39u8, 245u8, 144u8, + 87u8, 64u8, 206u8, 246u8, 225u8, 111u8, 197u8, 245u8, 182u8, 121u8, + 56u8, ], ) } @@ -28963,10 +29044,9 @@ pub mod api { "claim_commission", types::ClaimCommission { pool_id }, [ - 139u8, 126u8, 219u8, 117u8, 140u8, 51u8, 163u8, 32u8, 83u8, 60u8, - 250u8, 44u8, 186u8, 194u8, 225u8, 84u8, 61u8, 181u8, 212u8, 160u8, - 156u8, 93u8, 16u8, 255u8, 165u8, 178u8, 25u8, 64u8, 187u8, 29u8, 169u8, - 174u8, + 51u8, 64u8, 163u8, 230u8, 2u8, 119u8, 68u8, 5u8, 154u8, 4u8, 84u8, + 149u8, 9u8, 195u8, 173u8, 37u8, 98u8, 48u8, 188u8, 65u8, 81u8, 11u8, + 64u8, 254u8, 126u8, 62u8, 29u8, 204u8, 92u8, 230u8, 240u8, 91u8, ], ) } @@ -29314,10 +29394,9 @@ pub mod api { "MinJoinBond", vec![], [ - 125u8, 239u8, 45u8, 225u8, 74u8, 129u8, 247u8, 184u8, 205u8, 58u8, - 45u8, 186u8, 126u8, 170u8, 112u8, 120u8, 23u8, 190u8, 247u8, 97u8, - 131u8, 126u8, 215u8, 44u8, 147u8, 122u8, 132u8, 212u8, 217u8, 84u8, - 240u8, 91u8, + 64u8, 180u8, 71u8, 185u8, 81u8, 46u8, 155u8, 26u8, 251u8, 84u8, 108u8, + 80u8, 128u8, 44u8, 163u8, 118u8, 107u8, 79u8, 250u8, 211u8, 194u8, + 71u8, 87u8, 16u8, 247u8, 9u8, 76u8, 95u8, 103u8, 227u8, 180u8, 231u8, ], ) } @@ -29342,10 +29421,10 @@ pub mod api { "MinCreateBond", vec![], [ - 31u8, 208u8, 240u8, 158u8, 23u8, 218u8, 212u8, 138u8, 92u8, 210u8, - 207u8, 170u8, 32u8, 60u8, 5u8, 21u8, 84u8, 162u8, 1u8, 111u8, 181u8, - 243u8, 24u8, 148u8, 193u8, 253u8, 248u8, 190u8, 16u8, 222u8, 219u8, - 67u8, + 210u8, 67u8, 92u8, 230u8, 231u8, 105u8, 54u8, 249u8, 154u8, 192u8, + 29u8, 217u8, 233u8, 79u8, 170u8, 126u8, 133u8, 98u8, 253u8, 153u8, + 248u8, 189u8, 63u8, 107u8, 170u8, 224u8, 12u8, 42u8, 198u8, 185u8, + 85u8, 46u8, ], ) } @@ -29365,9 +29444,10 @@ pub mod api { "MaxPools", vec![], [ - 216u8, 111u8, 68u8, 103u8, 33u8, 50u8, 109u8, 3u8, 176u8, 195u8, 23u8, - 73u8, 112u8, 138u8, 9u8, 194u8, 233u8, 73u8, 68u8, 215u8, 162u8, 255u8, - 217u8, 173u8, 141u8, 27u8, 72u8, 199u8, 7u8, 240u8, 25u8, 34u8, + 230u8, 184u8, 242u8, 91u8, 118u8, 111u8, 90u8, 204u8, 136u8, 61u8, + 228u8, 50u8, 212u8, 40u8, 83u8, 49u8, 121u8, 161u8, 245u8, 80u8, 46u8, + 184u8, 105u8, 134u8, 249u8, 225u8, 39u8, 3u8, 123u8, 137u8, 156u8, + 240u8, ], ) } @@ -29387,9 +29467,10 @@ pub mod api { "MaxPoolMembers", vec![], [ - 82u8, 217u8, 26u8, 234u8, 223u8, 241u8, 66u8, 182u8, 43u8, 233u8, 59u8, - 242u8, 202u8, 254u8, 69u8, 50u8, 254u8, 196u8, 166u8, 89u8, 120u8, - 87u8, 76u8, 148u8, 31u8, 197u8, 49u8, 88u8, 206u8, 41u8, 242u8, 62u8, + 210u8, 222u8, 181u8, 146u8, 137u8, 200u8, 71u8, 196u8, 74u8, 38u8, + 36u8, 122u8, 187u8, 164u8, 218u8, 116u8, 216u8, 143u8, 182u8, 15u8, + 23u8, 124u8, 57u8, 121u8, 81u8, 151u8, 8u8, 247u8, 80u8, 136u8, 115u8, + 2u8, ], ) } @@ -29409,9 +29490,9 @@ pub mod api { "MaxPoolMembersPerPool", vec![], [ - 93u8, 241u8, 16u8, 169u8, 138u8, 199u8, 128u8, 149u8, 65u8, 30u8, 55u8, - 11u8, 41u8, 252u8, 83u8, 250u8, 9u8, 33u8, 152u8, 239u8, 195u8, 147u8, - 16u8, 248u8, 180u8, 153u8, 88u8, 231u8, 248u8, 169u8, 186u8, 48u8, + 250u8, 255u8, 136u8, 223u8, 61u8, 119u8, 117u8, 240u8, 68u8, 114u8, + 55u8, 1u8, 176u8, 120u8, 143u8, 48u8, 232u8, 125u8, 218u8, 105u8, 28u8, + 230u8, 253u8, 36u8, 9u8, 44u8, 129u8, 225u8, 147u8, 33u8, 181u8, 68u8, ], ) } @@ -29432,10 +29513,10 @@ pub mod api { "GlobalMaxCommission", vec![], [ - 142u8, 252u8, 92u8, 128u8, 162u8, 4u8, 216u8, 39u8, 118u8, 201u8, - 138u8, 171u8, 76u8, 90u8, 133u8, 176u8, 161u8, 138u8, 214u8, 183u8, - 193u8, 115u8, 245u8, 151u8, 216u8, 84u8, 99u8, 175u8, 144u8, 196u8, - 103u8, 190u8, + 2u8, 112u8, 8u8, 116u8, 114u8, 97u8, 250u8, 106u8, 170u8, 215u8, 218u8, + 217u8, 80u8, 235u8, 149u8, 81u8, 85u8, 185u8, 201u8, 127u8, 107u8, + 251u8, 191u8, 231u8, 142u8, 74u8, 8u8, 70u8, 151u8, 238u8, 117u8, + 173u8, ], ) } @@ -29459,10 +29540,9 @@ pub mod api { _0.borrow(), )], [ - 252u8, 236u8, 201u8, 127u8, 219u8, 1u8, 19u8, 144u8, 5u8, 108u8, 70u8, - 30u8, 177u8, 232u8, 253u8, 237u8, 211u8, 91u8, 63u8, 62u8, 155u8, - 151u8, 153u8, 165u8, 206u8, 53u8, 111u8, 31u8, 60u8, 120u8, 100u8, - 249u8, + 116u8, 41u8, 89u8, 74u8, 35u8, 243u8, 213u8, 178u8, 41u8, 249u8, 62u8, + 119u8, 72u8, 34u8, 197u8, 168u8, 147u8, 178u8, 159u8, 10u8, 181u8, + 255u8, 40u8, 211u8, 206u8, 32u8, 130u8, 25u8, 201u8, 54u8, 212u8, 25u8, ], ) } @@ -29483,10 +29563,9 @@ pub mod api { "PoolMembers", Vec::new(), [ - 252u8, 236u8, 201u8, 127u8, 219u8, 1u8, 19u8, 144u8, 5u8, 108u8, 70u8, - 30u8, 177u8, 232u8, 253u8, 237u8, 211u8, 91u8, 63u8, 62u8, 155u8, - 151u8, 153u8, 165u8, 206u8, 53u8, 111u8, 31u8, 60u8, 120u8, 100u8, - 249u8, + 116u8, 41u8, 89u8, 74u8, 35u8, 243u8, 213u8, 178u8, 41u8, 249u8, 62u8, + 119u8, 72u8, 34u8, 197u8, 168u8, 147u8, 178u8, 159u8, 10u8, 181u8, + 255u8, 40u8, 211u8, 206u8, 32u8, 130u8, 25u8, 201u8, 54u8, 212u8, 25u8, ], ) } @@ -29505,10 +29584,10 @@ pub mod api { "CounterForPoolMembers", vec![], [ - 114u8, 126u8, 27u8, 138u8, 119u8, 44u8, 45u8, 129u8, 84u8, 107u8, - 171u8, 206u8, 117u8, 141u8, 20u8, 75u8, 229u8, 237u8, 31u8, 229u8, - 124u8, 190u8, 27u8, 124u8, 63u8, 59u8, 167u8, 42u8, 62u8, 212u8, 160u8, - 2u8, + 165u8, 158u8, 130u8, 19u8, 106u8, 227u8, 134u8, 73u8, 36u8, 237u8, + 103u8, 146u8, 198u8, 68u8, 219u8, 186u8, 134u8, 224u8, 89u8, 251u8, + 200u8, 46u8, 87u8, 232u8, 53u8, 152u8, 13u8, 10u8, 105u8, 49u8, 150u8, + 212u8, ], ) } @@ -29530,10 +29609,10 @@ pub mod api { _0.borrow(), )], [ - 3u8, 183u8, 140u8, 154u8, 74u8, 225u8, 69u8, 243u8, 150u8, 132u8, - 163u8, 26u8, 101u8, 45u8, 231u8, 178u8, 85u8, 144u8, 9u8, 112u8, 212u8, - 167u8, 131u8, 188u8, 203u8, 50u8, 177u8, 218u8, 154u8, 182u8, 80u8, - 232u8, + 171u8, 143u8, 96u8, 95u8, 196u8, 228u8, 116u8, 22u8, 63u8, 105u8, + 193u8, 77u8, 171u8, 99u8, 144u8, 70u8, 166u8, 55u8, 14u8, 191u8, 156u8, + 17u8, 237u8, 193u8, 228u8, 243u8, 164u8, 187u8, 127u8, 245u8, 117u8, + 238u8, ], ) } @@ -29552,10 +29631,10 @@ pub mod api { "BondedPools", Vec::new(), [ - 3u8, 183u8, 140u8, 154u8, 74u8, 225u8, 69u8, 243u8, 150u8, 132u8, - 163u8, 26u8, 101u8, 45u8, 231u8, 178u8, 85u8, 144u8, 9u8, 112u8, 212u8, - 167u8, 131u8, 188u8, 203u8, 50u8, 177u8, 218u8, 154u8, 182u8, 80u8, - 232u8, + 171u8, 143u8, 96u8, 95u8, 196u8, 228u8, 116u8, 22u8, 63u8, 105u8, + 193u8, 77u8, 171u8, 99u8, 144u8, 70u8, 166u8, 55u8, 14u8, 191u8, 156u8, + 17u8, 237u8, 193u8, 228u8, 243u8, 164u8, 187u8, 127u8, 245u8, 117u8, + 238u8, ], ) } @@ -29574,10 +29653,9 @@ pub mod api { "CounterForBondedPools", vec![], [ - 134u8, 94u8, 199u8, 73u8, 174u8, 253u8, 66u8, 242u8, 233u8, 244u8, - 140u8, 170u8, 242u8, 40u8, 41u8, 185u8, 183u8, 151u8, 58u8, 111u8, - 221u8, 225u8, 81u8, 71u8, 169u8, 219u8, 223u8, 135u8, 8u8, 171u8, - 180u8, 236u8, + 198u8, 6u8, 213u8, 92u8, 4u8, 114u8, 164u8, 244u8, 51u8, 55u8, 157u8, + 20u8, 224u8, 183u8, 40u8, 236u8, 115u8, 86u8, 171u8, 207u8, 31u8, + 111u8, 0u8, 210u8, 48u8, 198u8, 243u8, 153u8, 5u8, 216u8, 107u8, 113u8, ], ) } @@ -29600,10 +29678,10 @@ pub mod api { _0.borrow(), )], [ - 235u8, 6u8, 2u8, 103u8, 137u8, 31u8, 109u8, 165u8, 129u8, 48u8, 154u8, - 219u8, 110u8, 198u8, 241u8, 31u8, 174u8, 10u8, 92u8, 233u8, 161u8, - 76u8, 53u8, 136u8, 172u8, 214u8, 192u8, 12u8, 239u8, 165u8, 195u8, - 96u8, + 150u8, 53u8, 204u8, 26u8, 187u8, 118u8, 80u8, 133u8, 94u8, 127u8, + 155u8, 78u8, 71u8, 72u8, 0u8, 220u8, 174u8, 174u8, 109u8, 238u8, 13u8, + 120u8, 193u8, 102u8, 219u8, 22u8, 89u8, 117u8, 169u8, 212u8, 64u8, + 204u8, ], ) } @@ -29623,10 +29701,10 @@ pub mod api { "RewardPools", Vec::new(), [ - 235u8, 6u8, 2u8, 103u8, 137u8, 31u8, 109u8, 165u8, 129u8, 48u8, 154u8, - 219u8, 110u8, 198u8, 241u8, 31u8, 174u8, 10u8, 92u8, 233u8, 161u8, - 76u8, 53u8, 136u8, 172u8, 214u8, 192u8, 12u8, 239u8, 165u8, 195u8, - 96u8, + 150u8, 53u8, 204u8, 26u8, 187u8, 118u8, 80u8, 133u8, 94u8, 127u8, + 155u8, 78u8, 71u8, 72u8, 0u8, 220u8, 174u8, 174u8, 109u8, 238u8, 13u8, + 120u8, 193u8, 102u8, 219u8, 22u8, 89u8, 117u8, 169u8, 212u8, 64u8, + 204u8, ], ) } @@ -29645,10 +29723,10 @@ pub mod api { "CounterForRewardPools", vec![], [ - 209u8, 139u8, 212u8, 116u8, 210u8, 178u8, 213u8, 38u8, 75u8, 23u8, - 188u8, 57u8, 253u8, 213u8, 95u8, 118u8, 182u8, 250u8, 45u8, 205u8, - 17u8, 175u8, 17u8, 201u8, 234u8, 14u8, 98u8, 49u8, 143u8, 135u8, 201u8, - 81u8, + 218u8, 186u8, 28u8, 97u8, 205u8, 249u8, 187u8, 10u8, 127u8, 190u8, + 213u8, 152u8, 103u8, 20u8, 157u8, 183u8, 86u8, 104u8, 186u8, 236u8, + 84u8, 159u8, 117u8, 78u8, 5u8, 242u8, 193u8, 59u8, 112u8, 200u8, 34u8, + 166u8, ], ) } @@ -29671,10 +29749,9 @@ pub mod api { _0.borrow(), )], [ - 231u8, 13u8, 111u8, 248u8, 1u8, 208u8, 179u8, 134u8, 224u8, 196u8, - 94u8, 201u8, 229u8, 29u8, 155u8, 211u8, 163u8, 150u8, 157u8, 34u8, - 68u8, 238u8, 55u8, 4u8, 222u8, 96u8, 186u8, 29u8, 205u8, 237u8, 80u8, - 42u8, + 248u8, 37u8, 232u8, 231u8, 14u8, 140u8, 12u8, 27u8, 61u8, 222u8, 185u8, + 128u8, 158u8, 30u8, 57u8, 121u8, 35u8, 11u8, 42u8, 242u8, 56u8, 1u8, + 61u8, 0u8, 67u8, 140u8, 55u8, 62u8, 165u8, 134u8, 136u8, 4u8, ], ) } @@ -29694,10 +29771,9 @@ pub mod api { "SubPoolsStorage", Vec::new(), [ - 231u8, 13u8, 111u8, 248u8, 1u8, 208u8, 179u8, 134u8, 224u8, 196u8, - 94u8, 201u8, 229u8, 29u8, 155u8, 211u8, 163u8, 150u8, 157u8, 34u8, - 68u8, 238u8, 55u8, 4u8, 222u8, 96u8, 186u8, 29u8, 205u8, 237u8, 80u8, - 42u8, + 248u8, 37u8, 232u8, 231u8, 14u8, 140u8, 12u8, 27u8, 61u8, 222u8, 185u8, + 128u8, 158u8, 30u8, 57u8, 121u8, 35u8, 11u8, 42u8, 242u8, 56u8, 1u8, + 61u8, 0u8, 67u8, 140u8, 55u8, 62u8, 165u8, 134u8, 136u8, 4u8, ], ) } @@ -29716,9 +29792,10 @@ pub mod api { "CounterForSubPoolsStorage", vec![], [ - 212u8, 145u8, 212u8, 226u8, 234u8, 31u8, 26u8, 240u8, 107u8, 91u8, - 171u8, 120u8, 41u8, 195u8, 16u8, 86u8, 55u8, 127u8, 103u8, 93u8, 128u8, - 48u8, 69u8, 104u8, 168u8, 236u8, 81u8, 54u8, 2u8, 184u8, 215u8, 51u8, + 137u8, 162u8, 32u8, 44u8, 163u8, 30u8, 54u8, 158u8, 169u8, 118u8, + 196u8, 101u8, 78u8, 28u8, 184u8, 78u8, 185u8, 225u8, 226u8, 207u8, + 14u8, 119u8, 0u8, 116u8, 140u8, 141u8, 116u8, 106u8, 71u8, 161u8, + 200u8, 228u8, ], ) } @@ -29742,10 +29819,9 @@ pub mod api { _0.borrow(), )], [ - 108u8, 250u8, 163u8, 54u8, 192u8, 143u8, 239u8, 62u8, 97u8, 163u8, - 161u8, 215u8, 171u8, 225u8, 49u8, 18u8, 37u8, 200u8, 143u8, 254u8, - 136u8, 26u8, 54u8, 187u8, 39u8, 3u8, 216u8, 24u8, 188u8, 25u8, 243u8, - 251u8, + 10u8, 171u8, 251u8, 5u8, 72u8, 74u8, 86u8, 144u8, 59u8, 67u8, 92u8, + 111u8, 217u8, 111u8, 175u8, 107u8, 119u8, 206u8, 199u8, 78u8, 182u8, + 84u8, 12u8, 102u8, 10u8, 124u8, 103u8, 9u8, 86u8, 199u8, 233u8, 54u8, ], ) } @@ -29766,10 +29842,9 @@ pub mod api { "Metadata", Vec::new(), [ - 108u8, 250u8, 163u8, 54u8, 192u8, 143u8, 239u8, 62u8, 97u8, 163u8, - 161u8, 215u8, 171u8, 225u8, 49u8, 18u8, 37u8, 200u8, 143u8, 254u8, - 136u8, 26u8, 54u8, 187u8, 39u8, 3u8, 216u8, 24u8, 188u8, 25u8, 243u8, - 251u8, + 10u8, 171u8, 251u8, 5u8, 72u8, 74u8, 86u8, 144u8, 59u8, 67u8, 92u8, + 111u8, 217u8, 111u8, 175u8, 107u8, 119u8, 206u8, 199u8, 78u8, 182u8, + 84u8, 12u8, 102u8, 10u8, 124u8, 103u8, 9u8, 86u8, 199u8, 233u8, 54u8, ], ) } @@ -29788,10 +29863,10 @@ pub mod api { "CounterForMetadata", vec![], [ - 190u8, 232u8, 77u8, 134u8, 245u8, 89u8, 160u8, 187u8, 163u8, 68u8, - 188u8, 204u8, 31u8, 145u8, 219u8, 165u8, 213u8, 1u8, 167u8, 90u8, - 175u8, 218u8, 147u8, 144u8, 158u8, 226u8, 23u8, 233u8, 55u8, 168u8, - 161u8, 237u8, + 49u8, 76u8, 175u8, 236u8, 99u8, 120u8, 156u8, 116u8, 153u8, 173u8, + 10u8, 102u8, 194u8, 139u8, 25u8, 149u8, 109u8, 195u8, 150u8, 21u8, + 43u8, 24u8, 196u8, 180u8, 231u8, 101u8, 69u8, 98u8, 82u8, 159u8, 183u8, + 174u8, ], ) } @@ -29810,9 +29885,10 @@ pub mod api { "LastPoolId", vec![], [ - 50u8, 254u8, 218u8, 41u8, 213u8, 184u8, 170u8, 166u8, 31u8, 29u8, - 196u8, 57u8, 215u8, 20u8, 40u8, 40u8, 19u8, 22u8, 9u8, 184u8, 11u8, - 21u8, 21u8, 125u8, 97u8, 38u8, 219u8, 209u8, 2u8, 238u8, 247u8, 51u8, + 178u8, 198u8, 245u8, 157u8, 176u8, 45u8, 214u8, 86u8, 73u8, 154u8, + 217u8, 39u8, 191u8, 53u8, 233u8, 145u8, 57u8, 100u8, 31u8, 13u8, 202u8, + 122u8, 115u8, 16u8, 205u8, 69u8, 157u8, 250u8, 216u8, 180u8, 113u8, + 30u8, ], ) } @@ -29837,9 +29913,9 @@ pub mod api { _0.borrow(), )], [ - 178u8, 161u8, 51u8, 220u8, 128u8, 1u8, 135u8, 83u8, 236u8, 159u8, 36u8, - 237u8, 120u8, 128u8, 6u8, 191u8, 41u8, 159u8, 94u8, 178u8, 174u8, - 235u8, 221u8, 173u8, 44u8, 81u8, 211u8, 255u8, 231u8, 81u8, 16u8, 87u8, + 76u8, 76u8, 150u8, 33u8, 64u8, 81u8, 90u8, 75u8, 212u8, 221u8, 59u8, + 83u8, 178u8, 45u8, 86u8, 206u8, 196u8, 221u8, 117u8, 94u8, 229u8, + 160u8, 52u8, 54u8, 11u8, 64u8, 0u8, 103u8, 85u8, 86u8, 5u8, 71u8, ], ) } @@ -29861,9 +29937,9 @@ pub mod api { "ReversePoolIdLookup", Vec::new(), [ - 178u8, 161u8, 51u8, 220u8, 128u8, 1u8, 135u8, 83u8, 236u8, 159u8, 36u8, - 237u8, 120u8, 128u8, 6u8, 191u8, 41u8, 159u8, 94u8, 178u8, 174u8, - 235u8, 221u8, 173u8, 44u8, 81u8, 211u8, 255u8, 231u8, 81u8, 16u8, 87u8, + 76u8, 76u8, 150u8, 33u8, 64u8, 81u8, 90u8, 75u8, 212u8, 221u8, 59u8, + 83u8, 178u8, 45u8, 86u8, 206u8, 196u8, 221u8, 117u8, 94u8, 229u8, + 160u8, 52u8, 54u8, 11u8, 64u8, 0u8, 103u8, 85u8, 86u8, 5u8, 71u8, ], ) } @@ -29882,10 +29958,10 @@ pub mod api { "CounterForReversePoolIdLookup", vec![], [ - 148u8, 83u8, 81u8, 33u8, 188u8, 72u8, 148u8, 208u8, 245u8, 178u8, 52u8, - 245u8, 229u8, 140u8, 100u8, 152u8, 8u8, 217u8, 161u8, 80u8, 226u8, - 42u8, 15u8, 252u8, 90u8, 197u8, 120u8, 114u8, 144u8, 90u8, 199u8, - 123u8, + 135u8, 72u8, 203u8, 197u8, 101u8, 135u8, 114u8, 202u8, 122u8, 231u8, + 128u8, 17u8, 81u8, 70u8, 22u8, 146u8, 100u8, 138u8, 16u8, 74u8, 31u8, + 250u8, 110u8, 184u8, 250u8, 75u8, 249u8, 71u8, 171u8, 77u8, 95u8, + 251u8, ], ) } @@ -29907,10 +29983,9 @@ pub mod api { _0.borrow(), )], [ - 23u8, 124u8, 83u8, 109u8, 174u8, 228u8, 170u8, 25u8, 124u8, 91u8, - 224u8, 66u8, 55u8, 127u8, 190u8, 226u8, 163u8, 16u8, 81u8, 231u8, - 241u8, 214u8, 209u8, 137u8, 101u8, 206u8, 104u8, 138u8, 49u8, 56u8, - 152u8, 228u8, + 98u8, 241u8, 185u8, 102u8, 61u8, 53u8, 215u8, 105u8, 2u8, 148u8, 197u8, + 17u8, 107u8, 253u8, 74u8, 159u8, 14u8, 30u8, 213u8, 38u8, 35u8, 163u8, + 249u8, 19u8, 140u8, 201u8, 182u8, 106u8, 0u8, 21u8, 102u8, 15u8, ], ) } @@ -29929,10 +30004,9 @@ pub mod api { "ClaimPermissions", Vec::new(), [ - 23u8, 124u8, 83u8, 109u8, 174u8, 228u8, 170u8, 25u8, 124u8, 91u8, - 224u8, 66u8, 55u8, 127u8, 190u8, 226u8, 163u8, 16u8, 81u8, 231u8, - 241u8, 214u8, 209u8, 137u8, 101u8, 206u8, 104u8, 138u8, 49u8, 56u8, - 152u8, 228u8, + 98u8, 241u8, 185u8, 102u8, 61u8, 53u8, 215u8, 105u8, 2u8, 148u8, 197u8, + 17u8, 107u8, 253u8, 74u8, 159u8, 14u8, 30u8, 213u8, 38u8, 35u8, 163u8, + 249u8, 19u8, 140u8, 201u8, 182u8, 106u8, 0u8, 21u8, 102u8, 15u8, ], ) } @@ -29951,9 +30025,9 @@ pub mod api { "NominationPools", "PalletId", [ - 139u8, 109u8, 228u8, 151u8, 252u8, 32u8, 130u8, 69u8, 112u8, 154u8, - 174u8, 45u8, 83u8, 245u8, 51u8, 132u8, 173u8, 5u8, 186u8, 24u8, 243u8, - 9u8, 12u8, 214u8, 80u8, 74u8, 69u8, 189u8, 30u8, 94u8, 22u8, 39u8, + 56u8, 243u8, 53u8, 83u8, 154u8, 179u8, 170u8, 80u8, 133u8, 173u8, 61u8, + 161u8, 47u8, 225u8, 146u8, 21u8, 50u8, 229u8, 248u8, 27u8, 104u8, 58u8, + 129u8, 197u8, 102u8, 160u8, 168u8, 205u8, 154u8, 42u8, 217u8, 53u8, ], ) } @@ -30076,10 +30150,9 @@ pub mod api { "register_fast_unstake", types::RegisterFastUnstake {}, [ - 254u8, 85u8, 128u8, 135u8, 172u8, 170u8, 34u8, 145u8, 79u8, 117u8, - 234u8, 90u8, 16u8, 174u8, 159u8, 197u8, 27u8, 239u8, 180u8, 85u8, - 116u8, 23u8, 254u8, 30u8, 197u8, 110u8, 48u8, 184u8, 177u8, 129u8, - 42u8, 122u8, + 25u8, 175u8, 236u8, 174u8, 69u8, 228u8, 25u8, 109u8, 166u8, 101u8, + 80u8, 189u8, 17u8, 201u8, 95u8, 152u8, 209u8, 42u8, 140u8, 186u8, 61u8, + 73u8, 147u8, 103u8, 158u8, 39u8, 26u8, 54u8, 98u8, 3u8, 2u8, 49u8, ], ) } @@ -30096,10 +30169,9 @@ pub mod api { "deregister", types::Deregister {}, [ - 198u8, 180u8, 253u8, 148u8, 124u8, 145u8, 175u8, 121u8, 42u8, 181u8, - 41u8, 155u8, 229u8, 181u8, 66u8, 140u8, 103u8, 86u8, 242u8, 155u8, - 192u8, 34u8, 157u8, 107u8, 211u8, 162u8, 1u8, 144u8, 35u8, 252u8, 88u8, - 21u8, + 228u8, 7u8, 6u8, 52u8, 110u8, 101u8, 41u8, 226u8, 254u8, 53u8, 44u8, + 229u8, 20u8, 205u8, 131u8, 91u8, 118u8, 71u8, 43u8, 97u8, 99u8, 205u8, + 75u8, 146u8, 27u8, 144u8, 219u8, 167u8, 98u8, 120u8, 11u8, 151u8, ], ) } @@ -30115,9 +30187,9 @@ pub mod api { "control", types::Control { eras_to_check }, [ - 92u8, 241u8, 123u8, 251u8, 82u8, 36u8, 209u8, 87u8, 238u8, 56u8, 32u8, - 54u8, 190u8, 89u8, 167u8, 2u8, 36u8, 249u8, 131u8, 54u8, 217u8, 217u8, - 231u8, 167u8, 232u8, 35u8, 108u8, 193u8, 70u8, 224u8, 47u8, 142u8, + 93u8, 245u8, 35u8, 21u8, 125u8, 71u8, 144u8, 99u8, 90u8, 41u8, 161u8, + 90u8, 93u8, 132u8, 45u8, 155u8, 99u8, 175u8, 180u8, 1u8, 219u8, 37u8, + 182u8, 95u8, 203u8, 91u8, 181u8, 159u8, 169u8, 134u8, 139u8, 9u8, ], ) } @@ -30241,9 +30313,9 @@ pub mod api { "Head", vec![], [ - 206u8, 19u8, 169u8, 239u8, 214u8, 136u8, 16u8, 102u8, 82u8, 110u8, - 128u8, 205u8, 102u8, 96u8, 148u8, 190u8, 67u8, 75u8, 2u8, 213u8, 134u8, - 143u8, 40u8, 57u8, 54u8, 66u8, 170u8, 42u8, 135u8, 212u8, 108u8, 177u8, + 15u8, 207u8, 39u8, 233u8, 50u8, 252u8, 32u8, 127u8, 77u8, 94u8, 170u8, + 209u8, 72u8, 222u8, 77u8, 171u8, 175u8, 204u8, 191u8, 25u8, 15u8, + 104u8, 52u8, 129u8, 42u8, 199u8, 77u8, 44u8, 11u8, 242u8, 234u8, 6u8, ], ) } @@ -30269,9 +30341,10 @@ pub mod api { _0.borrow(), )], [ - 250u8, 208u8, 88u8, 68u8, 8u8, 87u8, 27u8, 59u8, 120u8, 242u8, 79u8, - 54u8, 108u8, 15u8, 62u8, 143u8, 126u8, 66u8, 159u8, 159u8, 55u8, 212u8, - 190u8, 26u8, 171u8, 90u8, 156u8, 205u8, 173u8, 189u8, 230u8, 71u8, + 72u8, 219u8, 212u8, 99u8, 189u8, 234u8, 57u8, 32u8, 80u8, 130u8, 178u8, + 101u8, 71u8, 186u8, 106u8, 129u8, 135u8, 165u8, 225u8, 112u8, 82u8, + 4u8, 215u8, 104u8, 107u8, 192u8, 118u8, 238u8, 70u8, 205u8, 205u8, + 148u8, ], ) } @@ -30294,9 +30367,10 @@ pub mod api { "Queue", Vec::new(), [ - 250u8, 208u8, 88u8, 68u8, 8u8, 87u8, 27u8, 59u8, 120u8, 242u8, 79u8, - 54u8, 108u8, 15u8, 62u8, 143u8, 126u8, 66u8, 159u8, 159u8, 55u8, 212u8, - 190u8, 26u8, 171u8, 90u8, 156u8, 205u8, 173u8, 189u8, 230u8, 71u8, + 72u8, 219u8, 212u8, 99u8, 189u8, 234u8, 57u8, 32u8, 80u8, 130u8, 178u8, + 101u8, 71u8, 186u8, 106u8, 129u8, 135u8, 165u8, 225u8, 112u8, 82u8, + 4u8, 215u8, 104u8, 107u8, 192u8, 118u8, 238u8, 70u8, 205u8, 205u8, + 148u8, ], ) } @@ -30315,9 +30389,10 @@ pub mod api { "CounterForQueue", vec![], [ - 241u8, 174u8, 224u8, 214u8, 204u8, 37u8, 117u8, 62u8, 114u8, 63u8, - 123u8, 121u8, 201u8, 128u8, 26u8, 60u8, 170u8, 24u8, 112u8, 5u8, 248u8, - 7u8, 143u8, 17u8, 150u8, 91u8, 23u8, 90u8, 237u8, 4u8, 138u8, 210u8, + 236u8, 101u8, 74u8, 61u8, 59u8, 250u8, 165u8, 139u8, 110u8, 79u8, + 165u8, 124u8, 24u8, 188u8, 245u8, 175u8, 175u8, 102u8, 91u8, 121u8, + 215u8, 21u8, 12u8, 11u8, 194u8, 69u8, 180u8, 161u8, 160u8, 27u8, 39u8, + 17u8, ], ) } @@ -30341,9 +30416,9 @@ pub mod api { "ErasToCheckPerBlock", vec![], [ - 85u8, 55u8, 18u8, 11u8, 75u8, 176u8, 36u8, 253u8, 183u8, 250u8, 203u8, - 178u8, 201u8, 79u8, 101u8, 89u8, 51u8, 142u8, 254u8, 23u8, 49u8, 140u8, - 195u8, 116u8, 66u8, 124u8, 165u8, 161u8, 151u8, 174u8, 37u8, 51u8, + 231u8, 147u8, 37u8, 154u8, 97u8, 151u8, 16u8, 240u8, 87u8, 38u8, 218u8, + 127u8, 68u8, 131u8, 2u8, 19u8, 46u8, 68u8, 232u8, 148u8, 197u8, 73u8, + 129u8, 102u8, 60u8, 19u8, 200u8, 77u8, 74u8, 31u8, 251u8, 27u8, ], ) } @@ -31202,10 +31277,10 @@ pub mod api { "set_validation_upgrade_cooldown", types::SetValidationUpgradeCooldown { new }, [ - 109u8, 185u8, 0u8, 59u8, 177u8, 198u8, 76u8, 90u8, 108u8, 190u8, 56u8, - 126u8, 147u8, 110u8, 76u8, 111u8, 38u8, 200u8, 230u8, 144u8, 42u8, - 167u8, 175u8, 220u8, 102u8, 37u8, 60u8, 10u8, 118u8, 79u8, 146u8, - 203u8, + 233u8, 224u8, 19u8, 198u8, 27u8, 104u8, 64u8, 248u8, 223u8, 51u8, + 175u8, 162u8, 183u8, 43u8, 108u8, 246u8, 162u8, 210u8, 53u8, 56u8, + 174u8, 203u8, 79u8, 143u8, 13u8, 101u8, 100u8, 11u8, 127u8, 76u8, 71u8, + 228u8, ], ) } @@ -31219,10 +31294,9 @@ pub mod api { "set_validation_upgrade_delay", types::SetValidationUpgradeDelay { new }, [ - 18u8, 130u8, 158u8, 253u8, 160u8, 194u8, 220u8, 120u8, 9u8, 68u8, - 232u8, 176u8, 34u8, 81u8, 200u8, 236u8, 141u8, 139u8, 62u8, 110u8, - 76u8, 9u8, 218u8, 69u8, 55u8, 2u8, 233u8, 109u8, 83u8, 117u8, 141u8, - 253u8, + 13u8, 139u8, 210u8, 115u8, 20u8, 121u8, 55u8, 118u8, 101u8, 236u8, + 95u8, 79u8, 46u8, 44u8, 129u8, 129u8, 60u8, 198u8, 13u8, 17u8, 115u8, + 187u8, 181u8, 37u8, 75u8, 153u8, 13u8, 196u8, 49u8, 204u8, 26u8, 198u8, ], ) } @@ -31236,10 +31310,10 @@ pub mod api { "set_code_retention_period", types::SetCodeRetentionPeriod { new }, [ - 221u8, 140u8, 253u8, 111u8, 64u8, 236u8, 93u8, 52u8, 214u8, 245u8, - 178u8, 30u8, 77u8, 166u8, 242u8, 252u8, 203u8, 106u8, 12u8, 195u8, - 27u8, 159u8, 96u8, 197u8, 145u8, 69u8, 241u8, 59u8, 74u8, 220u8, 62u8, - 205u8, + 169u8, 77u8, 107u8, 175u8, 172u8, 177u8, 169u8, 194u8, 219u8, 6u8, + 192u8, 40u8, 55u8, 241u8, 128u8, 111u8, 95u8, 67u8, 173u8, 247u8, + 220u8, 66u8, 45u8, 76u8, 108u8, 137u8, 220u8, 194u8, 86u8, 41u8, 245u8, + 226u8, ], ) } @@ -31253,10 +31327,10 @@ pub mod api { "set_max_code_size", types::SetMaxCodeSize { new }, [ - 232u8, 106u8, 45u8, 195u8, 27u8, 162u8, 188u8, 213u8, 137u8, 13u8, - 123u8, 89u8, 215u8, 141u8, 231u8, 82u8, 205u8, 215u8, 73u8, 142u8, - 115u8, 109u8, 132u8, 118u8, 194u8, 211u8, 82u8, 20u8, 75u8, 55u8, - 218u8, 46u8, + 122u8, 74u8, 244u8, 226u8, 89u8, 175u8, 191u8, 163u8, 34u8, 79u8, + 118u8, 254u8, 236u8, 215u8, 8u8, 182u8, 71u8, 180u8, 224u8, 165u8, + 226u8, 242u8, 124u8, 34u8, 38u8, 27u8, 29u8, 140u8, 187u8, 93u8, 131u8, + 168u8, ], ) } @@ -31270,9 +31344,9 @@ pub mod api { "set_max_pov_size", types::SetMaxPovSize { new }, [ - 15u8, 176u8, 13u8, 19u8, 177u8, 160u8, 211u8, 238u8, 29u8, 194u8, - 187u8, 235u8, 244u8, 65u8, 158u8, 47u8, 102u8, 221u8, 95u8, 10u8, 21u8, - 33u8, 219u8, 234u8, 82u8, 122u8, 75u8, 53u8, 14u8, 126u8, 218u8, 23u8, + 170u8, 106u8, 163u8, 4u8, 27u8, 72u8, 250u8, 59u8, 133u8, 128u8, 177u8, + 209u8, 22u8, 42u8, 230u8, 40u8, 192u8, 198u8, 56u8, 195u8, 31u8, 20u8, + 35u8, 196u8, 119u8, 183u8, 141u8, 38u8, 52u8, 54u8, 31u8, 122u8, ], ) } @@ -31286,9 +31360,10 @@ pub mod api { "set_max_head_data_size", types::SetMaxHeadDataSize { new }, [ - 219u8, 128u8, 213u8, 65u8, 190u8, 224u8, 87u8, 80u8, 172u8, 112u8, - 160u8, 229u8, 52u8, 1u8, 189u8, 125u8, 177u8, 139u8, 103u8, 39u8, 21u8, - 125u8, 62u8, 177u8, 74u8, 25u8, 41u8, 11u8, 200u8, 79u8, 139u8, 171u8, + 216u8, 146u8, 104u8, 253u8, 123u8, 192u8, 123u8, 82u8, 149u8, 22u8, + 31u8, 107u8, 67u8, 102u8, 163u8, 239u8, 57u8, 183u8, 93u8, 20u8, 126u8, + 39u8, 36u8, 242u8, 252u8, 68u8, 150u8, 121u8, 147u8, 186u8, 39u8, + 181u8, ], ) } @@ -31302,10 +31377,10 @@ pub mod api { "set_parathread_cores", types::SetParathreadCores { new }, [ - 155u8, 102u8, 168u8, 202u8, 236u8, 87u8, 16u8, 128u8, 141u8, 99u8, - 154u8, 162u8, 216u8, 198u8, 236u8, 233u8, 104u8, 230u8, 137u8, 132u8, - 41u8, 106u8, 167u8, 81u8, 195u8, 172u8, 107u8, 28u8, 138u8, 254u8, - 180u8, 61u8, + 230u8, 175u8, 182u8, 232u8, 5u8, 251u8, 196u8, 197u8, 246u8, 111u8, + 65u8, 165u8, 39u8, 174u8, 17u8, 30u8, 147u8, 116u8, 53u8, 254u8, 243u8, + 53u8, 110u8, 122u8, 211u8, 69u8, 122u8, 225u8, 16u8, 128u8, 250u8, + 172u8, ], ) } @@ -31319,9 +31394,10 @@ pub mod api { "set_parathread_retries", types::SetParathreadRetries { new }, [ - 192u8, 81u8, 152u8, 41u8, 40u8, 3u8, 251u8, 205u8, 244u8, 133u8, 42u8, - 197u8, 21u8, 221u8, 80u8, 196u8, 222u8, 69u8, 153u8, 39u8, 161u8, 90u8, - 4u8, 38u8, 167u8, 131u8, 237u8, 42u8, 135u8, 37u8, 156u8, 108u8, + 12u8, 100u8, 94u8, 156u8, 161u8, 134u8, 229u8, 28u8, 106u8, 41u8, + 138u8, 162u8, 196u8, 224u8, 56u8, 149u8, 42u8, 141u8, 184u8, 192u8, + 53u8, 9u8, 18u8, 21u8, 143u8, 188u8, 244u8, 254u8, 101u8, 206u8, 102u8, + 187u8, ], ) } @@ -31335,10 +31411,9 @@ pub mod api { "set_group_rotation_frequency", types::SetGroupRotationFrequency { new }, [ - 205u8, 222u8, 129u8, 36u8, 136u8, 186u8, 114u8, 70u8, 214u8, 22u8, - 112u8, 65u8, 56u8, 42u8, 103u8, 93u8, 108u8, 242u8, 188u8, 229u8, - 150u8, 19u8, 12u8, 222u8, 25u8, 254u8, 48u8, 218u8, 200u8, 208u8, - 132u8, 251u8, + 33u8, 142u8, 63u8, 205u8, 128u8, 109u8, 157u8, 33u8, 122u8, 91u8, 57u8, + 223u8, 134u8, 80u8, 108u8, 187u8, 147u8, 120u8, 104u8, 170u8, 32u8, + 135u8, 102u8, 38u8, 82u8, 20u8, 123u8, 211u8, 245u8, 91u8, 134u8, 44u8, ], ) } @@ -31352,9 +31427,10 @@ pub mod api { "set_chain_availability_period", types::SetChainAvailabilityPeriod { new }, [ - 171u8, 21u8, 54u8, 241u8, 19u8, 100u8, 54u8, 143u8, 97u8, 191u8, 193u8, - 96u8, 7u8, 86u8, 255u8, 109u8, 255u8, 93u8, 113u8, 28u8, 182u8, 75u8, - 120u8, 208u8, 91u8, 125u8, 156u8, 38u8, 56u8, 230u8, 24u8, 139u8, + 117u8, 26u8, 125u8, 221u8, 25u8, 252u8, 92u8, 61u8, 28u8, 172u8, 164u8, + 43u8, 55u8, 7u8, 100u8, 219u8, 234u8, 157u8, 180u8, 216u8, 165u8, + 145u8, 1u8, 43u8, 133u8, 203u8, 160u8, 147u8, 46u8, 227u8, 153u8, + 112u8, ], ) } @@ -31368,9 +31444,10 @@ pub mod api { "set_thread_availability_period", types::SetThreadAvailabilityPeriod { new }, [ - 208u8, 27u8, 246u8, 33u8, 90u8, 200u8, 75u8, 177u8, 19u8, 107u8, 236u8, - 43u8, 159u8, 156u8, 184u8, 10u8, 146u8, 71u8, 212u8, 129u8, 44u8, 19u8, - 162u8, 172u8, 162u8, 46u8, 166u8, 10u8, 67u8, 112u8, 206u8, 50u8, + 223u8, 248u8, 231u8, 210u8, 234u8, 168u8, 224u8, 226u8, 175u8, 76u8, + 161u8, 222u8, 45u8, 238u8, 232u8, 169u8, 11u8, 210u8, 22u8, 13u8, + 145u8, 61u8, 17u8, 203u8, 132u8, 105u8, 196u8, 18u8, 12u8, 156u8, + 243u8, 231u8, ], ) } @@ -31384,10 +31461,10 @@ pub mod api { "set_scheduling_lookahead", types::SetSchedulingLookahead { new }, [ - 220u8, 74u8, 0u8, 150u8, 45u8, 29u8, 56u8, 210u8, 66u8, 12u8, 119u8, - 176u8, 103u8, 24u8, 216u8, 55u8, 211u8, 120u8, 233u8, 204u8, 167u8, - 100u8, 199u8, 157u8, 186u8, 174u8, 40u8, 218u8, 19u8, 230u8, 253u8, - 7u8, + 176u8, 115u8, 251u8, 197u8, 19u8, 106u8, 253u8, 224u8, 149u8, 96u8, + 238u8, 106u8, 19u8, 19u8, 89u8, 249u8, 186u8, 89u8, 144u8, 116u8, + 251u8, 30u8, 157u8, 237u8, 125u8, 153u8, 86u8, 6u8, 251u8, 170u8, 73u8, + 216u8, ], ) } @@ -31401,10 +31478,10 @@ pub mod api { "set_max_validators_per_core", types::SetMaxValidatorsPerCore { new }, [ - 227u8, 113u8, 192u8, 116u8, 114u8, 171u8, 27u8, 22u8, 84u8, 117u8, - 146u8, 152u8, 94u8, 101u8, 14u8, 52u8, 228u8, 170u8, 163u8, 82u8, - 248u8, 130u8, 32u8, 103u8, 225u8, 151u8, 145u8, 36u8, 98u8, 158u8, 6u8, - 245u8, + 152u8, 112u8, 244u8, 133u8, 209u8, 166u8, 55u8, 155u8, 12u8, 216u8, + 62u8, 111u8, 81u8, 52u8, 194u8, 121u8, 172u8, 201u8, 204u8, 139u8, + 198u8, 238u8, 9u8, 49u8, 119u8, 236u8, 46u8, 0u8, 179u8, 234u8, 92u8, + 45u8, ], ) } @@ -31418,9 +31495,10 @@ pub mod api { "set_max_validators", types::SetMaxValidators { new }, [ - 143u8, 212u8, 59u8, 147u8, 4u8, 55u8, 142u8, 209u8, 237u8, 76u8, 7u8, - 178u8, 41u8, 81u8, 4u8, 203u8, 184u8, 149u8, 32u8, 1u8, 106u8, 180u8, - 121u8, 20u8, 137u8, 169u8, 144u8, 77u8, 38u8, 53u8, 243u8, 127u8, + 219u8, 76u8, 191u8, 139u8, 250u8, 154u8, 232u8, 176u8, 248u8, 154u8, + 185u8, 89u8, 135u8, 151u8, 183u8, 132u8, 72u8, 63u8, 101u8, 183u8, + 142u8, 169u8, 163u8, 226u8, 24u8, 139u8, 78u8, 155u8, 3u8, 136u8, + 142u8, 137u8, ], ) } @@ -31434,10 +31512,10 @@ pub mod api { "set_dispute_period", types::SetDisputePeriod { new }, [ - 36u8, 191u8, 142u8, 240u8, 48u8, 101u8, 10u8, 197u8, 117u8, 125u8, - 156u8, 189u8, 130u8, 77u8, 242u8, 130u8, 205u8, 154u8, 152u8, 47u8, - 75u8, 56u8, 63u8, 61u8, 33u8, 163u8, 151u8, 97u8, 105u8, 99u8, 55u8, - 180u8, + 104u8, 229u8, 235u8, 207u8, 136u8, 207u8, 181u8, 99u8, 0u8, 84u8, + 200u8, 244u8, 220u8, 52u8, 64u8, 26u8, 232u8, 212u8, 242u8, 190u8, + 67u8, 180u8, 171u8, 200u8, 181u8, 23u8, 32u8, 240u8, 231u8, 217u8, + 23u8, 146u8, ], ) } @@ -31452,9 +31530,10 @@ pub mod api { "set_dispute_post_conclusion_acceptance_period", types::SetDisputePostConclusionAcceptancePeriod { new }, [ - 66u8, 56u8, 45u8, 87u8, 51u8, 49u8, 91u8, 95u8, 255u8, 185u8, 54u8, - 165u8, 85u8, 142u8, 238u8, 251u8, 174u8, 81u8, 3u8, 61u8, 92u8, 97u8, - 203u8, 20u8, 107u8, 50u8, 208u8, 250u8, 208u8, 159u8, 225u8, 175u8, + 251u8, 176u8, 139u8, 76u8, 7u8, 246u8, 198u8, 190u8, 39u8, 249u8, 95u8, + 226u8, 53u8, 186u8, 112u8, 101u8, 229u8, 80u8, 240u8, 185u8, 108u8, + 228u8, 91u8, 103u8, 128u8, 218u8, 231u8, 210u8, 164u8, 197u8, 84u8, + 149u8, ], ) } @@ -31469,10 +31548,9 @@ pub mod api { "set_no_show_slots", types::SetNoShowSlots { new }, [ - 94u8, 230u8, 89u8, 131u8, 188u8, 246u8, 251u8, 34u8, 249u8, 16u8, - 134u8, 63u8, 238u8, 115u8, 19u8, 97u8, 97u8, 218u8, 238u8, 115u8, - 126u8, 140u8, 236u8, 17u8, 177u8, 192u8, 210u8, 239u8, 126u8, 107u8, - 117u8, 207u8, + 123u8, 204u8, 253u8, 222u8, 224u8, 215u8, 247u8, 154u8, 225u8, 79u8, + 29u8, 171u8, 107u8, 216u8, 215u8, 14u8, 8u8, 230u8, 49u8, 97u8, 20u8, + 84u8, 70u8, 33u8, 254u8, 63u8, 186u8, 7u8, 184u8, 135u8, 74u8, 139u8, ], ) } @@ -31486,10 +31564,10 @@ pub mod api { "set_n_delay_tranches", types::SetNDelayTranches { new }, [ - 195u8, 168u8, 178u8, 51u8, 20u8, 107u8, 227u8, 236u8, 57u8, 30u8, - 130u8, 93u8, 149u8, 2u8, 161u8, 66u8, 48u8, 37u8, 71u8, 108u8, 195u8, - 65u8, 153u8, 30u8, 181u8, 181u8, 158u8, 252u8, 120u8, 119u8, 36u8, - 146u8, + 157u8, 177u8, 251u8, 227u8, 118u8, 250u8, 129u8, 254u8, 33u8, 250u8, + 61u8, 148u8, 189u8, 92u8, 49u8, 119u8, 107u8, 40u8, 255u8, 119u8, + 241u8, 188u8, 109u8, 240u8, 229u8, 169u8, 31u8, 62u8, 174u8, 14u8, + 247u8, 235u8, ], ) } @@ -31503,9 +31581,9 @@ pub mod api { "set_zeroth_delay_tranche_width", types::SetZerothDelayTrancheWidth { new }, [ - 69u8, 56u8, 125u8, 24u8, 181u8, 62u8, 99u8, 92u8, 166u8, 107u8, 91u8, - 134u8, 230u8, 128u8, 214u8, 135u8, 245u8, 64u8, 62u8, 78u8, 96u8, - 231u8, 195u8, 29u8, 158u8, 113u8, 46u8, 96u8, 29u8, 0u8, 154u8, 80u8, + 30u8, 195u8, 15u8, 51u8, 210u8, 159u8, 254u8, 207u8, 121u8, 172u8, + 107u8, 241u8, 55u8, 100u8, 159u8, 55u8, 76u8, 47u8, 86u8, 93u8, 221u8, + 34u8, 136u8, 97u8, 224u8, 141u8, 46u8, 181u8, 246u8, 137u8, 79u8, 57u8, ], ) } @@ -31519,9 +31597,9 @@ pub mod api { "set_needed_approvals", types::SetNeededApprovals { new }, [ - 238u8, 55u8, 134u8, 30u8, 67u8, 153u8, 150u8, 5u8, 226u8, 227u8, 185u8, - 188u8, 66u8, 60u8, 147u8, 118u8, 46u8, 174u8, 104u8, 100u8, 26u8, - 162u8, 65u8, 58u8, 162u8, 52u8, 211u8, 66u8, 242u8, 177u8, 230u8, 98u8, + 245u8, 105u8, 16u8, 120u8, 28u8, 231u8, 6u8, 50u8, 143u8, 102u8, 1u8, + 97u8, 224u8, 232u8, 187u8, 164u8, 200u8, 31u8, 129u8, 139u8, 79u8, + 170u8, 14u8, 147u8, 117u8, 13u8, 98u8, 16u8, 64u8, 169u8, 46u8, 41u8, ], ) } @@ -31535,9 +31613,10 @@ pub mod api { "set_relay_vrf_modulo_samples", types::SetRelayVrfModuloSamples { new }, [ - 76u8, 101u8, 207u8, 184u8, 211u8, 8u8, 43u8, 4u8, 165u8, 147u8, 166u8, - 3u8, 189u8, 42u8, 125u8, 130u8, 21u8, 43u8, 189u8, 120u8, 239u8, 131u8, - 235u8, 35u8, 151u8, 15u8, 30u8, 81u8, 0u8, 2u8, 64u8, 21u8, + 96u8, 100u8, 42u8, 61u8, 244u8, 226u8, 135u8, 187u8, 56u8, 193u8, + 247u8, 236u8, 38u8, 40u8, 242u8, 222u8, 176u8, 209u8, 211u8, 217u8, + 178u8, 32u8, 160u8, 56u8, 23u8, 60u8, 222u8, 166u8, 134u8, 72u8, 153u8, + 14u8, ], ) } @@ -31551,10 +31630,10 @@ pub mod api { "set_max_upward_queue_count", types::SetMaxUpwardQueueCount { new }, [ - 116u8, 186u8, 216u8, 17u8, 150u8, 187u8, 86u8, 154u8, 92u8, 122u8, - 178u8, 167u8, 215u8, 165u8, 55u8, 86u8, 229u8, 114u8, 10u8, 149u8, - 50u8, 183u8, 165u8, 32u8, 233u8, 105u8, 82u8, 177u8, 120u8, 25u8, 44u8, - 130u8, + 187u8, 102u8, 178u8, 141u8, 245u8, 8u8, 221u8, 174u8, 128u8, 239u8, + 104u8, 120u8, 202u8, 220u8, 46u8, 27u8, 175u8, 26u8, 1u8, 170u8, 193u8, + 70u8, 176u8, 13u8, 223u8, 57u8, 153u8, 161u8, 228u8, 175u8, 226u8, + 202u8, ], ) } @@ -31568,9 +31647,10 @@ pub mod api { "set_max_upward_queue_size", types::SetMaxUpwardQueueSize { new }, [ - 18u8, 60u8, 141u8, 57u8, 134u8, 96u8, 140u8, 85u8, 137u8, 9u8, 209u8, - 123u8, 10u8, 165u8, 33u8, 184u8, 34u8, 82u8, 59u8, 60u8, 30u8, 47u8, - 22u8, 163u8, 119u8, 200u8, 197u8, 192u8, 112u8, 243u8, 156u8, 12u8, + 245u8, 234u8, 151u8, 232u8, 49u8, 193u8, 60u8, 21u8, 103u8, 238u8, + 194u8, 73u8, 238u8, 160u8, 48u8, 88u8, 143u8, 197u8, 110u8, 230u8, + 213u8, 149u8, 171u8, 94u8, 77u8, 6u8, 139u8, 191u8, 158u8, 62u8, 181u8, + 32u8, ], ) } @@ -31584,10 +31664,9 @@ pub mod api { "set_max_downward_message_size", types::SetMaxDownwardMessageSize { new }, [ - 104u8, 25u8, 229u8, 184u8, 53u8, 246u8, 206u8, 180u8, 13u8, 156u8, - 14u8, 224u8, 215u8, 115u8, 104u8, 127u8, 167u8, 189u8, 239u8, 183u8, - 68u8, 124u8, 55u8, 211u8, 186u8, 115u8, 70u8, 195u8, 61u8, 151u8, 32u8, - 218u8, + 63u8, 112u8, 231u8, 193u8, 226u8, 6u8, 119u8, 35u8, 60u8, 34u8, 85u8, + 15u8, 168u8, 16u8, 176u8, 116u8, 169u8, 114u8, 42u8, 208u8, 89u8, + 188u8, 22u8, 145u8, 248u8, 87u8, 74u8, 168u8, 0u8, 202u8, 112u8, 13u8, ], ) } @@ -31601,10 +31680,10 @@ pub mod api { "set_ump_service_total_weight", types::SetUmpServiceTotalWeight { new }, [ - 178u8, 63u8, 233u8, 183u8, 160u8, 109u8, 10u8, 162u8, 150u8, 110u8, - 66u8, 166u8, 197u8, 207u8, 91u8, 208u8, 137u8, 106u8, 140u8, 184u8, - 35u8, 85u8, 138u8, 49u8, 32u8, 15u8, 150u8, 136u8, 50u8, 197u8, 21u8, - 99u8, + 198u8, 49u8, 252u8, 136u8, 11u8, 109u8, 37u8, 234u8, 110u8, 90u8, + 143u8, 149u8, 95u8, 123u8, 73u8, 48u8, 150u8, 28u8, 252u8, 134u8, + 227u8, 236u8, 23u8, 66u8, 154u8, 92u8, 150u8, 218u8, 178u8, 132u8, + 82u8, 111u8, ], ) } @@ -31618,10 +31697,10 @@ pub mod api { "set_max_upward_message_size", types::SetMaxUpwardMessageSize { new }, [ - 213u8, 120u8, 21u8, 247u8, 101u8, 21u8, 164u8, 228u8, 33u8, 115u8, - 20u8, 138u8, 28u8, 174u8, 247u8, 39u8, 194u8, 113u8, 34u8, 73u8, 142u8, - 94u8, 116u8, 151u8, 113u8, 92u8, 151u8, 227u8, 116u8, 250u8, 101u8, - 179u8, + 237u8, 108u8, 33u8, 245u8, 65u8, 209u8, 201u8, 97u8, 126u8, 194u8, + 195u8, 8u8, 144u8, 223u8, 148u8, 242u8, 97u8, 214u8, 38u8, 231u8, + 123u8, 143u8, 34u8, 199u8, 100u8, 183u8, 211u8, 111u8, 250u8, 245u8, + 10u8, 38u8, ], ) } @@ -31636,9 +31715,9 @@ pub mod api { "set_max_upward_message_num_per_candidate", types::SetMaxUpwardMessageNumPerCandidate { new }, [ - 54u8, 133u8, 226u8, 138u8, 184u8, 27u8, 130u8, 153u8, 130u8, 196u8, - 54u8, 79u8, 124u8, 10u8, 37u8, 139u8, 59u8, 190u8, 169u8, 87u8, 255u8, - 211u8, 38u8, 142u8, 37u8, 74u8, 144u8, 204u8, 75u8, 94u8, 154u8, 149u8, + 183u8, 121u8, 87u8, 193u8, 8u8, 160u8, 107u8, 80u8, 50u8, 8u8, 75u8, + 185u8, 195u8, 248u8, 75u8, 174u8, 210u8, 108u8, 149u8, 20u8, 66u8, + 153u8, 20u8, 203u8, 92u8, 99u8, 27u8, 69u8, 212u8, 212u8, 35u8, 49u8, ], ) } @@ -31652,10 +31731,9 @@ pub mod api { "set_hrmp_open_request_ttl", types::SetHrmpOpenRequestTtl { new }, [ - 192u8, 113u8, 113u8, 133u8, 197u8, 75u8, 88u8, 67u8, 130u8, 207u8, - 37u8, 192u8, 157u8, 159u8, 114u8, 75u8, 83u8, 180u8, 194u8, 180u8, - 96u8, 129u8, 7u8, 138u8, 110u8, 14u8, 229u8, 98u8, 71u8, 22u8, 229u8, - 247u8, + 233u8, 46u8, 165u8, 59u8, 196u8, 77u8, 161u8, 124u8, 252u8, 98u8, 8u8, + 52u8, 80u8, 17u8, 12u8, 50u8, 25u8, 127u8, 143u8, 252u8, 230u8, 10u8, + 193u8, 251u8, 167u8, 73u8, 40u8, 63u8, 203u8, 119u8, 208u8, 254u8, ], ) } @@ -31669,9 +31747,9 @@ pub mod api { "set_hrmp_sender_deposit", types::SetHrmpSenderDeposit { new }, [ - 49u8, 38u8, 173u8, 114u8, 66u8, 140u8, 15u8, 151u8, 193u8, 54u8, 128u8, - 108u8, 72u8, 71u8, 28u8, 65u8, 129u8, 199u8, 105u8, 61u8, 96u8, 119u8, - 16u8, 53u8, 115u8, 120u8, 152u8, 122u8, 182u8, 171u8, 233u8, 48u8, + 4u8, 141u8, 15u8, 87u8, 237u8, 39u8, 225u8, 108u8, 159u8, 240u8, 121u8, + 212u8, 225u8, 155u8, 168u8, 28u8, 61u8, 119u8, 232u8, 216u8, 194u8, + 172u8, 147u8, 16u8, 50u8, 100u8, 146u8, 146u8, 69u8, 252u8, 94u8, 47u8, ], ) } @@ -31686,9 +31764,10 @@ pub mod api { "set_hrmp_recipient_deposit", types::SetHrmpRecipientDeposit { new }, [ - 209u8, 212u8, 164u8, 56u8, 71u8, 215u8, 98u8, 250u8, 202u8, 150u8, - 228u8, 6u8, 166u8, 94u8, 171u8, 142u8, 10u8, 253u8, 89u8, 43u8, 6u8, - 173u8, 8u8, 235u8, 52u8, 18u8, 78u8, 129u8, 227u8, 61u8, 74u8, 83u8, + 242u8, 193u8, 202u8, 91u8, 69u8, 252u8, 101u8, 52u8, 162u8, 107u8, + 165u8, 69u8, 90u8, 150u8, 62u8, 239u8, 167u8, 2u8, 221u8, 3u8, 231u8, + 252u8, 82u8, 125u8, 212u8, 174u8, 47u8, 216u8, 219u8, 237u8, 242u8, + 144u8, ], ) } @@ -31702,9 +31781,10 @@ pub mod api { "set_hrmp_channel_max_capacity", types::SetHrmpChannelMaxCapacity { new }, [ - 148u8, 109u8, 67u8, 220u8, 1u8, 115u8, 70u8, 93u8, 138u8, 190u8, 60u8, - 220u8, 80u8, 137u8, 246u8, 230u8, 115u8, 162u8, 30u8, 197u8, 11u8, - 33u8, 211u8, 224u8, 49u8, 165u8, 149u8, 155u8, 197u8, 44u8, 6u8, 167u8, + 140u8, 138u8, 197u8, 45u8, 144u8, 102u8, 150u8, 172u8, 110u8, 6u8, + 99u8, 130u8, 62u8, 217u8, 119u8, 110u8, 180u8, 132u8, 102u8, 161u8, + 78u8, 59u8, 209u8, 44u8, 120u8, 183u8, 13u8, 88u8, 89u8, 15u8, 224u8, + 224u8, ], ) } @@ -31718,9 +31798,9 @@ pub mod api { "set_hrmp_channel_max_total_size", types::SetHrmpChannelMaxTotalSize { new }, [ - 79u8, 40u8, 207u8, 173u8, 168u8, 143u8, 130u8, 240u8, 205u8, 34u8, - 61u8, 217u8, 215u8, 106u8, 61u8, 181u8, 8u8, 21u8, 105u8, 64u8, 183u8, - 235u8, 39u8, 133u8, 70u8, 77u8, 233u8, 201u8, 222u8, 8u8, 43u8, 159u8, + 149u8, 21u8, 229u8, 107u8, 125u8, 28u8, 17u8, 155u8, 45u8, 230u8, 50u8, + 64u8, 16u8, 171u8, 24u8, 58u8, 246u8, 57u8, 247u8, 20u8, 34u8, 217u8, + 206u8, 157u8, 40u8, 205u8, 187u8, 205u8, 199u8, 24u8, 115u8, 214u8, ], ) } @@ -31735,10 +31815,9 @@ pub mod api { "set_hrmp_max_parachain_inbound_channels", types::SetHrmpMaxParachainInboundChannels { new }, [ - 91u8, 215u8, 212u8, 131u8, 140u8, 185u8, 119u8, 184u8, 61u8, 121u8, - 120u8, 73u8, 202u8, 98u8, 124u8, 187u8, 171u8, 84u8, 136u8, 77u8, - 103u8, 169u8, 185u8, 8u8, 214u8, 214u8, 23u8, 195u8, 100u8, 72u8, 45u8, - 12u8, + 203u8, 10u8, 55u8, 21u8, 21u8, 254u8, 74u8, 97u8, 34u8, 117u8, 160u8, + 183u8, 168u8, 235u8, 11u8, 9u8, 137u8, 141u8, 150u8, 80u8, 32u8, 41u8, + 118u8, 40u8, 28u8, 74u8, 155u8, 7u8, 63u8, 217u8, 39u8, 104u8, ], ) } @@ -31753,9 +31832,9 @@ pub mod api { "set_hrmp_max_parathread_inbound_channels", types::SetHrmpMaxParathreadInboundChannels { new }, [ - 209u8, 66u8, 180u8, 20u8, 87u8, 242u8, 219u8, 71u8, 22u8, 145u8, 220u8, - 48u8, 44u8, 42u8, 77u8, 69u8, 255u8, 82u8, 27u8, 125u8, 231u8, 111u8, - 23u8, 32u8, 239u8, 28u8, 200u8, 255u8, 91u8, 207u8, 99u8, 107u8, + 229u8, 236u8, 209u8, 63u8, 160u8, 95u8, 117u8, 90u8, 240u8, 144u8, + 238u8, 227u8, 129u8, 77u8, 234u8, 208u8, 217u8, 186u8, 54u8, 49u8, 6u8, + 142u8, 3u8, 0u8, 90u8, 199u8, 237u8, 37u8, 89u8, 201u8, 76u8, 224u8, ], ) } @@ -31769,9 +31848,10 @@ pub mod api { "set_hrmp_channel_max_message_size", types::SetHrmpChannelMaxMessageSize { new }, [ - 17u8, 224u8, 230u8, 9u8, 114u8, 221u8, 138u8, 46u8, 234u8, 151u8, 27u8, - 34u8, 179u8, 67u8, 113u8, 228u8, 128u8, 212u8, 209u8, 125u8, 122u8, - 1u8, 79u8, 28u8, 10u8, 14u8, 83u8, 65u8, 253u8, 173u8, 116u8, 209u8, + 153u8, 216u8, 55u8, 31u8, 189u8, 173u8, 23u8, 6u8, 213u8, 103u8, 205u8, + 154u8, 115u8, 105u8, 84u8, 133u8, 94u8, 254u8, 47u8, 128u8, 130u8, + 114u8, 227u8, 102u8, 214u8, 146u8, 215u8, 183u8, 179u8, 151u8, 43u8, + 187u8, ], ) } @@ -31786,9 +31866,9 @@ pub mod api { "set_hrmp_max_parachain_outbound_channels", types::SetHrmpMaxParachainOutboundChannels { new }, [ - 26u8, 146u8, 150u8, 88u8, 236u8, 8u8, 63u8, 103u8, 71u8, 11u8, 20u8, - 210u8, 205u8, 106u8, 101u8, 112u8, 116u8, 73u8, 116u8, 136u8, 149u8, - 181u8, 207u8, 95u8, 151u8, 7u8, 98u8, 17u8, 224u8, 157u8, 117u8, 88u8, + 91u8, 100u8, 158u8, 17u8, 123u8, 31u8, 6u8, 92u8, 80u8, 92u8, 83u8, + 195u8, 234u8, 207u8, 55u8, 88u8, 75u8, 81u8, 219u8, 131u8, 234u8, 5u8, + 75u8, 236u8, 57u8, 93u8, 70u8, 145u8, 255u8, 171u8, 25u8, 174u8, ], ) } @@ -31803,9 +31883,10 @@ pub mod api { "set_hrmp_max_parathread_outbound_channels", types::SetHrmpMaxParathreadOutboundChannels { new }, [ - 31u8, 72u8, 93u8, 21u8, 180u8, 156u8, 101u8, 24u8, 145u8, 220u8, 194u8, - 93u8, 176u8, 164u8, 53u8, 123u8, 36u8, 113u8, 152u8, 13u8, 222u8, 54u8, - 175u8, 170u8, 235u8, 68u8, 236u8, 130u8, 178u8, 56u8, 140u8, 31u8, + 147u8, 44u8, 219u8, 160u8, 208u8, 228u8, 97u8, 106u8, 247u8, 254u8, + 48u8, 90u8, 62u8, 151u8, 207u8, 214u8, 98u8, 163u8, 76u8, 175u8, 47u8, + 218u8, 52u8, 88u8, 165u8, 159u8, 169u8, 165u8, 192u8, 163u8, 37u8, + 110u8, ], ) } @@ -31819,10 +31900,9 @@ pub mod api { "set_hrmp_max_message_num_per_candidate", types::SetHrmpMaxMessageNumPerCandidate { new }, [ - 244u8, 94u8, 225u8, 194u8, 133u8, 116u8, 202u8, 238u8, 8u8, 57u8, - 122u8, 125u8, 6u8, 131u8, 84u8, 102u8, 180u8, 67u8, 250u8, 136u8, 30u8, - 29u8, 110u8, 105u8, 219u8, 166u8, 91u8, 140u8, 44u8, 192u8, 37u8, - 185u8, + 179u8, 44u8, 231u8, 12u8, 166u8, 160u8, 223u8, 164u8, 218u8, 173u8, + 157u8, 49u8, 16u8, 220u8, 0u8, 224u8, 67u8, 194u8, 210u8, 207u8, 237u8, + 96u8, 96u8, 24u8, 71u8, 237u8, 30u8, 152u8, 105u8, 245u8, 157u8, 218u8, ], ) } @@ -31836,9 +31916,9 @@ pub mod api { "set_ump_max_individual_weight", types::SetUmpMaxIndividualWeight { new }, [ - 66u8, 190u8, 15u8, 172u8, 67u8, 16u8, 117u8, 247u8, 176u8, 25u8, 163u8, - 130u8, 147u8, 224u8, 226u8, 101u8, 219u8, 173u8, 176u8, 49u8, 90u8, - 133u8, 12u8, 223u8, 220u8, 18u8, 83u8, 232u8, 137u8, 52u8, 206u8, 71u8, + 124u8, 187u8, 87u8, 136u8, 129u8, 119u8, 52u8, 135u8, 241u8, 73u8, + 115u8, 215u8, 94u8, 41u8, 8u8, 130u8, 137u8, 142u8, 220u8, 39u8, 96u8, + 88u8, 223u8, 48u8, 222u8, 157u8, 72u8, 170u8, 45u8, 72u8, 28u8, 43u8, ], ) } @@ -31852,9 +31932,10 @@ pub mod api { "set_pvf_checking_enabled", types::SetPvfCheckingEnabled { new }, [ - 123u8, 76u8, 1u8, 112u8, 174u8, 245u8, 18u8, 67u8, 13u8, 29u8, 219u8, - 197u8, 201u8, 112u8, 230u8, 191u8, 37u8, 148u8, 73u8, 125u8, 54u8, - 236u8, 3u8, 80u8, 114u8, 155u8, 244u8, 132u8, 57u8, 63u8, 158u8, 248u8, + 27u8, 146u8, 204u8, 24u8, 52u8, 183u8, 126u8, 151u8, 243u8, 172u8, + 175u8, 96u8, 36u8, 210u8, 162u8, 142u8, 71u8, 211u8, 51u8, 12u8, 105u8, + 148u8, 181u8, 111u8, 182u8, 161u8, 196u8, 163u8, 99u8, 149u8, 139u8, + 12u8, ], ) } @@ -31868,9 +31949,10 @@ pub mod api { "set_pvf_voting_ttl", types::SetPvfVotingTtl { new }, [ - 17u8, 11u8, 98u8, 217u8, 208u8, 102u8, 238u8, 83u8, 118u8, 123u8, 20u8, - 18u8, 46u8, 212u8, 21u8, 164u8, 61u8, 104u8, 208u8, 204u8, 91u8, 210u8, - 40u8, 6u8, 201u8, 147u8, 46u8, 166u8, 219u8, 227u8, 121u8, 187u8, + 115u8, 135u8, 76u8, 222u8, 214u8, 80u8, 103u8, 250u8, 194u8, 34u8, + 129u8, 245u8, 216u8, 69u8, 166u8, 247u8, 138u8, 94u8, 135u8, 228u8, + 90u8, 145u8, 2u8, 244u8, 73u8, 178u8, 61u8, 251u8, 21u8, 197u8, 202u8, + 246u8, ], ) } @@ -31887,10 +31969,10 @@ pub mod api { "set_minimum_validation_upgrade_delay", types::SetMinimumValidationUpgradeDelay { new }, [ - 205u8, 188u8, 75u8, 136u8, 228u8, 26u8, 112u8, 27u8, 119u8, 37u8, - 252u8, 109u8, 23u8, 145u8, 21u8, 212u8, 7u8, 28u8, 242u8, 210u8, 182u8, - 111u8, 121u8, 109u8, 50u8, 130u8, 46u8, 127u8, 122u8, 40u8, 141u8, - 242u8, + 143u8, 217u8, 201u8, 206u8, 206u8, 244u8, 116u8, 118u8, 13u8, 169u8, + 132u8, 125u8, 253u8, 178u8, 196u8, 12u8, 251u8, 32u8, 201u8, 133u8, + 50u8, 59u8, 37u8, 169u8, 198u8, 112u8, 136u8, 47u8, 205u8, 141u8, + 191u8, 212u8, ], ) } @@ -31905,10 +31987,10 @@ pub mod api { "set_bypass_consistency_check", types::SetBypassConsistencyCheck { new }, [ - 80u8, 66u8, 200u8, 98u8, 54u8, 207u8, 64u8, 99u8, 162u8, 121u8, 26u8, - 173u8, 113u8, 224u8, 240u8, 106u8, 69u8, 191u8, 177u8, 107u8, 34u8, - 74u8, 103u8, 128u8, 252u8, 160u8, 169u8, 246u8, 125u8, 127u8, 153u8, - 129u8, + 11u8, 211u8, 68u8, 221u8, 178u8, 108u8, 101u8, 55u8, 107u8, 135u8, + 203u8, 112u8, 173u8, 161u8, 23u8, 104u8, 95u8, 200u8, 46u8, 231u8, + 114u8, 3u8, 8u8, 89u8, 147u8, 141u8, 55u8, 65u8, 125u8, 45u8, 218u8, + 78u8, ], ) } @@ -31922,10 +32004,10 @@ pub mod api { "set_async_backing_params", types::SetAsyncBackingParams { new }, [ - 124u8, 182u8, 66u8, 138u8, 209u8, 54u8, 42u8, 232u8, 110u8, 67u8, - 248u8, 16u8, 61u8, 38u8, 120u8, 242u8, 34u8, 240u8, 219u8, 169u8, - 145u8, 246u8, 194u8, 208u8, 225u8, 108u8, 135u8, 74u8, 194u8, 214u8, - 199u8, 139u8, + 123u8, 190u8, 245u8, 105u8, 240u8, 176u8, 32u8, 173u8, 108u8, 170u8, + 163u8, 87u8, 1u8, 27u8, 100u8, 109u8, 5u8, 67u8, 74u8, 2u8, 97u8, + 177u8, 207u8, 143u8, 49u8, 155u8, 23u8, 53u8, 80u8, 205u8, 127u8, + 193u8, ], ) } @@ -31939,10 +32021,9 @@ pub mod api { "set_executor_params", types::SetExecutorParams { new }, [ - 193u8, 235u8, 143u8, 62u8, 34u8, 192u8, 162u8, 49u8, 224u8, 10u8, - 189u8, 132u8, 70u8, 114u8, 50u8, 155u8, 39u8, 238u8, 238u8, 161u8, - 181u8, 108u8, 187u8, 28u8, 48u8, 14u8, 209u8, 42u8, 196u8, 181u8, - 159u8, 124u8, + 1u8, 66u8, 51u8, 137u8, 57u8, 108u8, 112u8, 243u8, 255u8, 189u8, 8u8, + 218u8, 183u8, 205u8, 242u8, 95u8, 193u8, 190u8, 108u8, 34u8, 133u8, + 13u8, 63u8, 73u8, 174u8, 243u8, 244u8, 175u8, 90u8, 148u8, 69u8, 117u8, ], ) } @@ -31969,10 +32050,9 @@ pub mod api { "ActiveConfig", vec![], [ - 254u8, 47u8, 159u8, 237u8, 202u8, 82u8, 132u8, 16u8, 100u8, 209u8, - 166u8, 154u8, 226u8, 156u8, 117u8, 11u8, 114u8, 37u8, 208u8, 255u8, - 96u8, 27u8, 192u8, 144u8, 56u8, 241u8, 49u8, 163u8, 15u8, 86u8, 229u8, - 166u8, + 164u8, 67u8, 83u8, 62u8, 158u8, 33u8, 83u8, 109u8, 221u8, 5u8, 39u8, + 179u8, 247u8, 254u8, 8u8, 1u8, 34u8, 160u8, 41u8, 196u8, 17u8, 145u8, + 24u8, 245u8, 166u8, 96u8, 168u8, 243u8, 189u8, 3u8, 95u8, 176u8, ], ) } @@ -31988,10 +32068,10 @@ pub mod api { "PendingConfigs", vec![], [ - 227u8, 119u8, 229u8, 201u8, 230u8, 27u8, 239u8, 171u8, 78u8, 212u8, - 218u8, 154u8, 195u8, 36u8, 129u8, 91u8, 53u8, 210u8, 185u8, 169u8, - 78u8, 146u8, 21u8, 67u8, 248u8, 117u8, 53u8, 130u8, 243u8, 186u8, - 144u8, 249u8, + 123u8, 141u8, 170u8, 164u8, 206u8, 115u8, 189u8, 253u8, 248u8, 82u8, + 252u8, 235u8, 116u8, 173u8, 79u8, 79u8, 204u8, 155u8, 236u8, 233u8, + 48u8, 216u8, 32u8, 10u8, 169u8, 251u8, 126u8, 110u8, 36u8, 21u8, 207u8, + 5u8, ], ) } @@ -32011,9 +32091,10 @@ pub mod api { "BypassConsistencyCheck", vec![], [ - 42u8, 191u8, 122u8, 163u8, 112u8, 2u8, 148u8, 59u8, 79u8, 219u8, 184u8, - 172u8, 246u8, 136u8, 185u8, 251u8, 189u8, 226u8, 83u8, 129u8, 162u8, - 109u8, 148u8, 75u8, 120u8, 216u8, 44u8, 28u8, 221u8, 78u8, 177u8, 94u8, + 109u8, 201u8, 130u8, 189u8, 167u8, 112u8, 171u8, 180u8, 100u8, 146u8, + 23u8, 174u8, 199u8, 230u8, 185u8, 155u8, 178u8, 45u8, 24u8, 66u8, + 211u8, 234u8, 11u8, 103u8, 148u8, 12u8, 247u8, 101u8, 147u8, 18u8, + 11u8, 89u8, ], ) } @@ -32054,9 +32135,10 @@ pub mod api { "CurrentSessionIndex", vec![], [ - 83u8, 15u8, 20u8, 55u8, 103u8, 65u8, 76u8, 202u8, 69u8, 14u8, 221u8, - 93u8, 38u8, 163u8, 167u8, 83u8, 18u8, 245u8, 33u8, 175u8, 7u8, 97u8, - 67u8, 186u8, 96u8, 57u8, 147u8, 120u8, 107u8, 91u8, 147u8, 64u8, + 250u8, 164u8, 179u8, 84u8, 199u8, 245u8, 116u8, 48u8, 86u8, 127u8, + 50u8, 117u8, 236u8, 41u8, 107u8, 238u8, 151u8, 236u8, 68u8, 78u8, + 152u8, 5u8, 155u8, 107u8, 69u8, 197u8, 222u8, 94u8, 150u8, 2u8, 31u8, + 191u8, ], ) } @@ -32076,10 +32158,9 @@ pub mod api { "ActiveValidatorIndices", vec![], [ - 123u8, 26u8, 202u8, 53u8, 219u8, 42u8, 54u8, 92u8, 144u8, 74u8, 228u8, - 234u8, 129u8, 216u8, 161u8, 98u8, 199u8, 12u8, 13u8, 231u8, 23u8, - 166u8, 185u8, 209u8, 191u8, 33u8, 231u8, 252u8, 232u8, 44u8, 213u8, - 221u8, + 80u8, 207u8, 217u8, 195u8, 69u8, 151u8, 27u8, 205u8, 227u8, 89u8, 71u8, + 180u8, 91u8, 116u8, 82u8, 193u8, 108u8, 115u8, 40u8, 247u8, 160u8, + 39u8, 85u8, 99u8, 42u8, 87u8, 54u8, 168u8, 230u8, 201u8, 212u8, 39u8, ], ) } @@ -32099,9 +32180,10 @@ pub mod api { "ActiveValidatorKeys", vec![], [ - 33u8, 14u8, 54u8, 86u8, 184u8, 171u8, 194u8, 35u8, 187u8, 252u8, 181u8, - 79u8, 229u8, 134u8, 50u8, 235u8, 162u8, 216u8, 108u8, 160u8, 175u8, - 172u8, 239u8, 114u8, 57u8, 238u8, 9u8, 54u8, 57u8, 196u8, 105u8, 15u8, + 155u8, 151u8, 155u8, 8u8, 23u8, 38u8, 91u8, 12u8, 94u8, 69u8, 228u8, + 185u8, 14u8, 219u8, 215u8, 98u8, 235u8, 222u8, 157u8, 180u8, 230u8, + 121u8, 205u8, 167u8, 156u8, 134u8, 180u8, 213u8, 87u8, 61u8, 174u8, + 222u8, ], ) } @@ -32204,10 +32286,10 @@ pub mod api { _0.borrow(), )], [ - 149u8, 215u8, 123u8, 226u8, 73u8, 240u8, 102u8, 39u8, 243u8, 232u8, - 226u8, 116u8, 65u8, 180u8, 110u8, 4u8, 194u8, 50u8, 60u8, 193u8, 142u8, - 62u8, 20u8, 148u8, 106u8, 162u8, 96u8, 114u8, 215u8, 250u8, 111u8, - 225u8, + 145u8, 39u8, 130u8, 153u8, 84u8, 60u8, 125u8, 109u8, 207u8, 184u8, 3u8, + 33u8, 121u8, 244u8, 135u8, 70u8, 25u8, 129u8, 208u8, 253u8, 214u8, + 139u8, 174u8, 212u8, 146u8, 108u8, 171u8, 234u8, 190u8, 250u8, 31u8, + 44u8, ], ) } @@ -32217,10 +32299,10 @@ pub mod api { "AvailabilityBitfields", Vec::new(), [ - 149u8, 215u8, 123u8, 226u8, 73u8, 240u8, 102u8, 39u8, 243u8, 232u8, - 226u8, 116u8, 65u8, 180u8, 110u8, 4u8, 194u8, 50u8, 60u8, 193u8, 142u8, - 62u8, 20u8, 148u8, 106u8, 162u8, 96u8, 114u8, 215u8, 250u8, 111u8, - 225u8, + 145u8, 39u8, 130u8, 153u8, 84u8, 60u8, 125u8, 109u8, 207u8, 184u8, 3u8, + 33u8, 121u8, 244u8, 135u8, 70u8, 25u8, 129u8, 208u8, 253u8, 214u8, + 139u8, 174u8, 212u8, 146u8, 108u8, 171u8, 234u8, 190u8, 250u8, 31u8, + 44u8, ], ) } @@ -32232,9 +32314,9 @@ pub mod api { _0.borrow(), )], [ - 54u8, 166u8, 18u8, 56u8, 51u8, 241u8, 31u8, 165u8, 220u8, 138u8, 67u8, - 171u8, 23u8, 101u8, 109u8, 26u8, 211u8, 237u8, 81u8, 143u8, 192u8, - 214u8, 49u8, 42u8, 69u8, 30u8, 168u8, 113u8, 72u8, 12u8, 140u8, 242u8, + 73u8, 173u8, 235u8, 69u8, 85u8, 97u8, 46u8, 238u8, 233u8, 27u8, 232u8, + 222u8, 164u8, 233u8, 76u8, 100u8, 18u8, 13u8, 97u8, 84u8, 42u8, 28u8, + 76u8, 0u8, 109u8, 134u8, 97u8, 149u8, 74u8, 224u8, 212u8, 31u8, ], ) } @@ -32244,9 +32326,9 @@ pub mod api { "PendingAvailability", Vec::new(), [ - 54u8, 166u8, 18u8, 56u8, 51u8, 241u8, 31u8, 165u8, 220u8, 138u8, 67u8, - 171u8, 23u8, 101u8, 109u8, 26u8, 211u8, 237u8, 81u8, 143u8, 192u8, - 214u8, 49u8, 42u8, 69u8, 30u8, 168u8, 113u8, 72u8, 12u8, 140u8, 242u8, + 73u8, 173u8, 235u8, 69u8, 85u8, 97u8, 46u8, 238u8, 233u8, 27u8, 232u8, + 222u8, 164u8, 233u8, 76u8, 100u8, 18u8, 13u8, 97u8, 84u8, 42u8, 28u8, + 76u8, 0u8, 109u8, 134u8, 97u8, 149u8, 74u8, 224u8, 212u8, 31u8, ], ) } @@ -32270,9 +32352,9 @@ pub mod api { _0.borrow(), )], [ - 128u8, 38u8, 30u8, 235u8, 157u8, 55u8, 36u8, 88u8, 188u8, 164u8, 61u8, - 62u8, 84u8, 83u8, 180u8, 208u8, 244u8, 240u8, 254u8, 183u8, 226u8, - 201u8, 27u8, 47u8, 212u8, 137u8, 251u8, 46u8, 13u8, 33u8, 13u8, 43u8, + 57u8, 162u8, 255u8, 73u8, 60u8, 230u8, 180u8, 58u8, 74u8, 165u8, 39u8, + 155u8, 242u8, 73u8, 30u8, 238u8, 83u8, 97u8, 205u8, 223u8, 81u8, 11u8, + 190u8, 59u8, 75u8, 218u8, 225u8, 114u8, 66u8, 160u8, 66u8, 55u8, ], ) } @@ -32293,9 +32375,9 @@ pub mod api { "PendingAvailabilityCommitments", Vec::new(), [ - 128u8, 38u8, 30u8, 235u8, 157u8, 55u8, 36u8, 88u8, 188u8, 164u8, 61u8, - 62u8, 84u8, 83u8, 180u8, 208u8, 244u8, 240u8, 254u8, 183u8, 226u8, - 201u8, 27u8, 47u8, 212u8, 137u8, 251u8, 46u8, 13u8, 33u8, 13u8, 43u8, + 57u8, 162u8, 255u8, 73u8, 60u8, 230u8, 180u8, 58u8, 74u8, 165u8, 39u8, + 155u8, 242u8, 73u8, 30u8, 238u8, 83u8, 97u8, 205u8, 223u8, 81u8, 11u8, + 190u8, 59u8, 75u8, 218u8, 225u8, 114u8, 66u8, 160u8, 66u8, 55u8, ], ) } @@ -32355,10 +32437,9 @@ pub mod api { "enter", types::Enter { data }, [ - 196u8, 247u8, 84u8, 213u8, 181u8, 15u8, 195u8, 125u8, 252u8, 46u8, - 165u8, 1u8, 23u8, 159u8, 187u8, 34u8, 8u8, 15u8, 44u8, 240u8, 136u8, - 148u8, 7u8, 82u8, 106u8, 255u8, 190u8, 127u8, 225u8, 230u8, 63u8, - 204u8, + 190u8, 180u8, 43u8, 119u8, 55u8, 134u8, 122u8, 249u8, 40u8, 254u8, + 17u8, 195u8, 84u8, 130u8, 91u8, 161u8, 89u8, 42u8, 48u8, 12u8, 117u8, + 52u8, 249u8, 166u8, 78u8, 241u8, 136u8, 129u8, 176u8, 44u8, 1u8, 170u8, ], ) } @@ -32388,9 +32469,9 @@ pub mod api { "Included", vec![], [ - 208u8, 213u8, 76u8, 64u8, 90u8, 141u8, 144u8, 52u8, 220u8, 35u8, 143u8, - 171u8, 45u8, 59u8, 9u8, 218u8, 29u8, 186u8, 139u8, 203u8, 205u8, 12u8, - 10u8, 2u8, 27u8, 167u8, 182u8, 244u8, 167u8, 220u8, 44u8, 16u8, + 108u8, 164u8, 163u8, 34u8, 27u8, 124u8, 202u8, 167u8, 48u8, 130u8, + 155u8, 211u8, 148u8, 130u8, 76u8, 16u8, 5u8, 250u8, 211u8, 174u8, 90u8, + 77u8, 198u8, 153u8, 175u8, 168u8, 131u8, 244u8, 27u8, 93u8, 60u8, 46u8, ], ) } @@ -32411,10 +32492,9 @@ pub mod api { "OnChainVotes", vec![], [ - 187u8, 34u8, 219u8, 197u8, 202u8, 214u8, 140u8, 152u8, 253u8, 65u8, - 206u8, 217u8, 36u8, 40u8, 107u8, 215u8, 135u8, 115u8, 35u8, 61u8, - 180u8, 131u8, 0u8, 184u8, 193u8, 76u8, 165u8, 63u8, 106u8, 222u8, - 126u8, 113u8, + 124u8, 87u8, 65u8, 59u8, 160u8, 188u8, 81u8, 253u8, 179u8, 236u8, + 121u8, 233u8, 26u8, 151u8, 195u8, 180u8, 3u8, 31u8, 62u8, 173u8, 250u8, + 94u8, 70u8, 126u8, 82u8, 231u8, 160u8, 44u8, 129u8, 232u8, 160u8, 28u8, ], ) } @@ -32450,9 +32530,9 @@ pub mod api { "ValidatorGroups", vec![], [ - 175u8, 187u8, 69u8, 76u8, 211u8, 36u8, 162u8, 147u8, 83u8, 65u8, 83u8, - 44u8, 241u8, 112u8, 246u8, 14u8, 237u8, 255u8, 248u8, 58u8, 44u8, - 207u8, 159u8, 112u8, 31u8, 90u8, 15u8, 85u8, 4u8, 212u8, 215u8, 211u8, + 129u8, 58u8, 65u8, 112u8, 4u8, 172u8, 167u8, 19u8, 96u8, 154u8, 159u8, + 83u8, 94u8, 125u8, 60u8, 43u8, 60u8, 70u8, 1u8, 58u8, 222u8, 31u8, + 73u8, 53u8, 71u8, 181u8, 49u8, 64u8, 212u8, 90u8, 128u8, 185u8, ], ) } @@ -32474,9 +32554,10 @@ pub mod api { "ParathreadQueue", vec![], [ - 79u8, 144u8, 191u8, 114u8, 235u8, 55u8, 133u8, 208u8, 73u8, 97u8, 73u8, - 148u8, 96u8, 185u8, 110u8, 95u8, 132u8, 54u8, 244u8, 86u8, 50u8, 218u8, - 121u8, 226u8, 153u8, 58u8, 232u8, 202u8, 132u8, 147u8, 168u8, 48u8, + 41u8, 73u8, 199u8, 28u8, 66u8, 245u8, 137u8, 101u8, 103u8, 65u8, 85u8, + 241u8, 41u8, 174u8, 206u8, 113u8, 201u8, 219u8, 212u8, 205u8, 112u8, + 65u8, 158u8, 33u8, 181u8, 174u8, 220u8, 191u8, 201u8, 233u8, 205u8, + 41u8, ], ) } @@ -32506,10 +32587,9 @@ pub mod api { "AvailabilityCores", vec![], [ - 103u8, 94u8, 52u8, 17u8, 118u8, 25u8, 254u8, 190u8, 74u8, 91u8, 64u8, - 205u8, 243u8, 113u8, 143u8, 166u8, 193u8, 110u8, 214u8, 151u8, 24u8, - 112u8, 69u8, 131u8, 235u8, 78u8, 240u8, 120u8, 240u8, 68u8, 56u8, - 215u8, + 68u8, 46u8, 55u8, 213u8, 234u8, 41u8, 228u8, 136u8, 169u8, 38u8, 123u8, + 201u8, 149u8, 92u8, 10u8, 184u8, 196u8, 165u8, 61u8, 23u8, 215u8, 30u8, + 5u8, 43u8, 172u8, 80u8, 168u8, 139u8, 140u8, 207u8, 64u8, 4u8, ], ) } @@ -32531,10 +32611,10 @@ pub mod api { "ParathreadClaimIndex", vec![], [ - 64u8, 17u8, 173u8, 35u8, 14u8, 16u8, 149u8, 200u8, 118u8, 211u8, 130u8, - 15u8, 124u8, 112u8, 44u8, 220u8, 156u8, 132u8, 119u8, 148u8, 24u8, - 120u8, 252u8, 246u8, 204u8, 119u8, 206u8, 85u8, 44u8, 210u8, 135u8, - 83u8, + 40u8, 118u8, 124u8, 168u8, 174u8, 131u8, 61u8, 35u8, 175u8, 100u8, + 69u8, 184u8, 191u8, 17u8, 151u8, 219u8, 81u8, 160u8, 199u8, 33u8, + 227u8, 20u8, 48u8, 90u8, 61u8, 157u8, 136u8, 60u8, 25u8, 45u8, 81u8, + 208u8, ], ) } @@ -32558,9 +32638,9 @@ pub mod api { "SessionStartBlock", vec![], [ - 122u8, 37u8, 150u8, 1u8, 185u8, 201u8, 168u8, 67u8, 55u8, 17u8, 101u8, - 18u8, 133u8, 212u8, 6u8, 73u8, 191u8, 204u8, 229u8, 22u8, 185u8, 120u8, - 24u8, 245u8, 121u8, 215u8, 124u8, 210u8, 49u8, 28u8, 26u8, 80u8, + 185u8, 76u8, 120u8, 75u8, 154u8, 31u8, 33u8, 243u8, 16u8, 77u8, 100u8, + 249u8, 21u8, 44u8, 199u8, 195u8, 37u8, 9u8, 218u8, 148u8, 222u8, 90u8, + 113u8, 34u8, 152u8, 215u8, 114u8, 134u8, 81u8, 139u8, 164u8, 71u8, ], ) } @@ -32586,10 +32666,10 @@ pub mod api { "Scheduled", vec![], [ - 246u8, 105u8, 102u8, 107u8, 143u8, 92u8, 220u8, 69u8, 71u8, 102u8, - 212u8, 157u8, 56u8, 112u8, 42u8, 179u8, 183u8, 139u8, 128u8, 81u8, - 239u8, 84u8, 103u8, 126u8, 82u8, 247u8, 39u8, 39u8, 231u8, 218u8, - 131u8, 53u8, + 207u8, 104u8, 113u8, 254u8, 53u8, 114u8, 141u8, 104u8, 29u8, 237u8, + 240u8, 203u8, 101u8, 219u8, 2u8, 201u8, 16u8, 137u8, 99u8, 55u8, 222u8, + 61u8, 234u8, 126u8, 254u8, 93u8, 104u8, 107u8, 246u8, 214u8, 124u8, + 212u8, ], ) } @@ -32767,9 +32847,10 @@ pub mod api { "force_set_current_code", types::ForceSetCurrentCode { para, new_code }, [ - 56u8, 59u8, 48u8, 185u8, 106u8, 99u8, 250u8, 32u8, 207u8, 2u8, 4u8, - 110u8, 165u8, 131u8, 22u8, 33u8, 248u8, 175u8, 186u8, 6u8, 118u8, 51u8, - 74u8, 239u8, 68u8, 122u8, 148u8, 242u8, 193u8, 131u8, 6u8, 135u8, + 204u8, 159u8, 184u8, 235u8, 65u8, 225u8, 223u8, 130u8, 139u8, 140u8, + 219u8, 58u8, 142u8, 253u8, 236u8, 239u8, 148u8, 190u8, 27u8, 234u8, + 165u8, 125u8, 129u8, 235u8, 98u8, 33u8, 172u8, 71u8, 90u8, 41u8, 182u8, + 80u8, ], ) } @@ -32784,9 +32865,10 @@ pub mod api { "force_set_current_head", types::ForceSetCurrentHead { para, new_head }, [ - 203u8, 70u8, 33u8, 168u8, 133u8, 64u8, 146u8, 137u8, 156u8, 104u8, - 183u8, 26u8, 74u8, 227u8, 154u8, 224u8, 75u8, 85u8, 143u8, 51u8, 60u8, - 194u8, 59u8, 94u8, 100u8, 84u8, 194u8, 100u8, 153u8, 9u8, 222u8, 63u8, + 184u8, 247u8, 184u8, 248u8, 89u8, 64u8, 18u8, 193u8, 254u8, 71u8, + 220u8, 195u8, 124u8, 212u8, 178u8, 169u8, 155u8, 189u8, 11u8, 135u8, + 247u8, 39u8, 253u8, 196u8, 111u8, 242u8, 189u8, 91u8, 226u8, 219u8, + 232u8, 238u8, ], ) } @@ -32806,10 +32888,9 @@ pub mod api { relay_parent_number, }, [ - 30u8, 210u8, 178u8, 31u8, 48u8, 144u8, 167u8, 117u8, 220u8, 36u8, - 175u8, 220u8, 145u8, 193u8, 20u8, 98u8, 149u8, 130u8, 66u8, 54u8, 20u8, - 204u8, 231u8, 116u8, 203u8, 179u8, 253u8, 106u8, 55u8, 58u8, 116u8, - 109u8, + 91u8, 48u8, 207u8, 223u8, 125u8, 162u8, 82u8, 25u8, 255u8, 183u8, + 129u8, 240u8, 58u8, 21u8, 154u8, 96u8, 128u8, 147u8, 125u8, 22u8, 32u8, + 65u8, 224u8, 82u8, 208u8, 3u8, 32u8, 35u8, 127u8, 89u8, 84u8, 192u8, ], ) } @@ -32824,9 +32905,9 @@ pub mod api { "force_note_new_head", types::ForceNoteNewHead { para, new_head }, [ - 83u8, 93u8, 166u8, 142u8, 213u8, 1u8, 243u8, 73u8, 192u8, 164u8, 104u8, - 206u8, 99u8, 250u8, 31u8, 222u8, 231u8, 54u8, 12u8, 45u8, 92u8, 74u8, - 248u8, 50u8, 180u8, 86u8, 251u8, 172u8, 227u8, 88u8, 45u8, 127u8, + 215u8, 12u8, 228u8, 208u8, 7u8, 24u8, 207u8, 60u8, 183u8, 241u8, 212u8, + 203u8, 139u8, 149u8, 9u8, 236u8, 77u8, 15u8, 242u8, 70u8, 62u8, 204u8, + 187u8, 91u8, 110u8, 73u8, 210u8, 2u8, 8u8, 118u8, 182u8, 171u8, ], ) } @@ -32842,9 +32923,10 @@ pub mod api { "force_queue_action", types::ForceQueueAction { para }, [ - 195u8, 243u8, 79u8, 34u8, 111u8, 246u8, 109u8, 90u8, 251u8, 137u8, - 48u8, 23u8, 117u8, 29u8, 26u8, 200u8, 37u8, 64u8, 36u8, 254u8, 224u8, - 99u8, 165u8, 246u8, 8u8, 76u8, 250u8, 36u8, 141u8, 67u8, 185u8, 17u8, + 112u8, 247u8, 239u8, 8u8, 91u8, 23u8, 111u8, 84u8, 179u8, 61u8, 235u8, + 49u8, 140u8, 110u8, 40u8, 226u8, 150u8, 253u8, 146u8, 193u8, 136u8, + 133u8, 100u8, 127u8, 38u8, 165u8, 159u8, 17u8, 205u8, 190u8, 6u8, + 117u8, ], ) } @@ -32870,9 +32952,10 @@ pub mod api { "add_trusted_validation_code", types::AddTrustedValidationCode { validation_code }, [ - 160u8, 199u8, 245u8, 178u8, 58u8, 65u8, 79u8, 199u8, 53u8, 60u8, 84u8, - 225u8, 2u8, 145u8, 154u8, 204u8, 165u8, 171u8, 173u8, 223u8, 59u8, - 196u8, 37u8, 12u8, 243u8, 158u8, 77u8, 184u8, 58u8, 64u8, 133u8, 71u8, + 196u8, 123u8, 133u8, 223u8, 3u8, 205u8, 127u8, 23u8, 82u8, 201u8, + 107u8, 47u8, 23u8, 75u8, 139u8, 198u8, 178u8, 171u8, 160u8, 61u8, + 132u8, 250u8, 76u8, 110u8, 3u8, 144u8, 90u8, 253u8, 89u8, 141u8, 162u8, + 135u8, ], ) } @@ -32892,10 +32975,9 @@ pub mod api { validation_code_hash, }, [ - 98u8, 9u8, 24u8, 180u8, 8u8, 144u8, 36u8, 28u8, 111u8, 83u8, 162u8, - 160u8, 66u8, 119u8, 177u8, 117u8, 143u8, 233u8, 241u8, 128u8, 189u8, - 118u8, 241u8, 30u8, 74u8, 171u8, 193u8, 177u8, 233u8, 12u8, 254u8, - 146u8, + 180u8, 53u8, 213u8, 27u8, 150u8, 195u8, 50u8, 1u8, 62u8, 246u8, 244u8, + 229u8, 115u8, 202u8, 55u8, 140u8, 108u8, 28u8, 245u8, 66u8, 165u8, + 128u8, 105u8, 221u8, 7u8, 87u8, 242u8, 19u8, 88u8, 132u8, 36u8, 32u8, ], ) } @@ -32911,9 +32993,9 @@ pub mod api { "include_pvf_check_statement", types::IncludePvfCheckStatement { stmt, signature }, [ - 22u8, 136u8, 241u8, 59u8, 36u8, 249u8, 239u8, 255u8, 169u8, 117u8, - 19u8, 58u8, 214u8, 16u8, 135u8, 65u8, 13u8, 250u8, 5u8, 41u8, 144u8, - 29u8, 207u8, 73u8, 215u8, 221u8, 1u8, 253u8, 123u8, 110u8, 6u8, 196u8, + 238u8, 72u8, 169u8, 99u8, 181u8, 16u8, 14u8, 101u8, 70u8, 230u8, 38u8, + 129u8, 114u8, 180u8, 69u8, 178u8, 153u8, 57u8, 55u8, 208u8, 176u8, + 17u8, 22u8, 30u8, 227u8, 52u8, 132u8, 80u8, 158u8, 249u8, 8u8, 125u8, ], ) } @@ -33096,10 +33178,10 @@ pub mod api { _0.borrow(), )], [ - 84u8, 214u8, 221u8, 221u8, 244u8, 56u8, 135u8, 87u8, 252u8, 39u8, - 188u8, 13u8, 196u8, 25u8, 214u8, 186u8, 152u8, 181u8, 190u8, 39u8, - 235u8, 211u8, 236u8, 114u8, 67u8, 85u8, 138u8, 43u8, 248u8, 134u8, - 124u8, 73u8, + 105u8, 71u8, 12u8, 198u8, 22u8, 238u8, 140u8, 152u8, 99u8, 226u8, + 118u8, 92u8, 44u8, 112u8, 28u8, 111u8, 128u8, 111u8, 142u8, 161u8, + 58u8, 243u8, 124u8, 53u8, 180u8, 35u8, 150u8, 162u8, 30u8, 163u8, + 164u8, 80u8, ], ) } @@ -33123,10 +33205,10 @@ pub mod api { "PvfActiveVoteMap", Vec::new(), [ - 84u8, 214u8, 221u8, 221u8, 244u8, 56u8, 135u8, 87u8, 252u8, 39u8, - 188u8, 13u8, 196u8, 25u8, 214u8, 186u8, 152u8, 181u8, 190u8, 39u8, - 235u8, 211u8, 236u8, 114u8, 67u8, 85u8, 138u8, 43u8, 248u8, 134u8, - 124u8, 73u8, + 105u8, 71u8, 12u8, 198u8, 22u8, 238u8, 140u8, 152u8, 99u8, 226u8, + 118u8, 92u8, 44u8, 112u8, 28u8, 111u8, 128u8, 111u8, 142u8, 161u8, + 58u8, 243u8, 124u8, 53u8, 180u8, 35u8, 150u8, 162u8, 30u8, 163u8, + 164u8, 80u8, ], ) } @@ -33147,9 +33229,9 @@ pub mod api { "PvfActiveVoteList", vec![], [ - 196u8, 23u8, 108u8, 162u8, 29u8, 33u8, 49u8, 219u8, 127u8, 26u8, 241u8, - 58u8, 102u8, 43u8, 156u8, 3u8, 87u8, 153u8, 195u8, 96u8, 68u8, 132u8, - 170u8, 162u8, 18u8, 156u8, 121u8, 63u8, 53u8, 91u8, 68u8, 69u8, + 172u8, 215u8, 137u8, 191u8, 52u8, 104u8, 106u8, 118u8, 134u8, 82u8, + 137u8, 6u8, 175u8, 158u8, 58u8, 230u8, 231u8, 152u8, 195u8, 17u8, 51u8, + 133u8, 10u8, 205u8, 212u8, 6u8, 24u8, 59u8, 114u8, 222u8, 96u8, 42u8, ], ) } @@ -33170,9 +33252,10 @@ pub mod api { "Parachains", vec![], [ - 85u8, 234u8, 218u8, 69u8, 20u8, 169u8, 235u8, 6u8, 69u8, 126u8, 28u8, - 18u8, 57u8, 93u8, 238u8, 7u8, 167u8, 221u8, 75u8, 35u8, 36u8, 4u8, - 46u8, 55u8, 234u8, 123u8, 122u8, 173u8, 13u8, 205u8, 58u8, 226u8, + 242u8, 228u8, 175u8, 107u8, 242u8, 39u8, 52u8, 181u8, 32u8, 171u8, + 21u8, 169u8, 204u8, 19u8, 21u8, 217u8, 121u8, 239u8, 218u8, 252u8, + 80u8, 188u8, 119u8, 157u8, 235u8, 218u8, 221u8, 113u8, 0u8, 108u8, + 245u8, 210u8, ], ) } @@ -33194,9 +33277,10 @@ pub mod api { _0.borrow(), )], [ - 221u8, 103u8, 112u8, 222u8, 86u8, 2u8, 172u8, 187u8, 174u8, 106u8, 4u8, - 253u8, 35u8, 73u8, 18u8, 78u8, 25u8, 31u8, 124u8, 110u8, 81u8, 62u8, - 215u8, 228u8, 183u8, 132u8, 138u8, 213u8, 186u8, 209u8, 191u8, 186u8, + 2u8, 203u8, 32u8, 194u8, 76u8, 227u8, 250u8, 9u8, 168u8, 201u8, 171u8, + 180u8, 18u8, 169u8, 206u8, 183u8, 48u8, 189u8, 204u8, 192u8, 237u8, + 233u8, 156u8, 255u8, 102u8, 22u8, 101u8, 110u8, 194u8, 55u8, 118u8, + 81u8, ], ) } @@ -33215,9 +33299,10 @@ pub mod api { "ParaLifecycles", Vec::new(), [ - 221u8, 103u8, 112u8, 222u8, 86u8, 2u8, 172u8, 187u8, 174u8, 106u8, 4u8, - 253u8, 35u8, 73u8, 18u8, 78u8, 25u8, 31u8, 124u8, 110u8, 81u8, 62u8, - 215u8, 228u8, 183u8, 132u8, 138u8, 213u8, 186u8, 209u8, 191u8, 186u8, + 2u8, 203u8, 32u8, 194u8, 76u8, 227u8, 250u8, 9u8, 168u8, 201u8, 171u8, + 180u8, 18u8, 169u8, 206u8, 183u8, 48u8, 189u8, 204u8, 192u8, 237u8, + 233u8, 156u8, 255u8, 102u8, 22u8, 101u8, 110u8, 194u8, 55u8, 118u8, + 81u8, ], ) } @@ -33239,10 +33324,9 @@ pub mod api { _0.borrow(), )], [ - 122u8, 38u8, 181u8, 121u8, 245u8, 100u8, 136u8, 233u8, 237u8, 248u8, - 127u8, 2u8, 147u8, 41u8, 202u8, 242u8, 238u8, 70u8, 55u8, 200u8, 15u8, - 106u8, 138u8, 108u8, 192u8, 61u8, 158u8, 134u8, 131u8, 142u8, 70u8, - 3u8, + 222u8, 116u8, 180u8, 190u8, 172u8, 192u8, 174u8, 132u8, 225u8, 180u8, + 119u8, 90u8, 5u8, 39u8, 92u8, 230u8, 116u8, 202u8, 92u8, 99u8, 135u8, + 201u8, 10u8, 58u8, 55u8, 211u8, 209u8, 86u8, 93u8, 133u8, 99u8, 139u8, ], ) } @@ -33261,10 +33345,9 @@ pub mod api { "Heads", Vec::new(), [ - 122u8, 38u8, 181u8, 121u8, 245u8, 100u8, 136u8, 233u8, 237u8, 248u8, - 127u8, 2u8, 147u8, 41u8, 202u8, 242u8, 238u8, 70u8, 55u8, 200u8, 15u8, - 106u8, 138u8, 108u8, 192u8, 61u8, 158u8, 134u8, 131u8, 142u8, 70u8, - 3u8, + 222u8, 116u8, 180u8, 190u8, 172u8, 192u8, 174u8, 132u8, 225u8, 180u8, + 119u8, 90u8, 5u8, 39u8, 92u8, 230u8, 116u8, 202u8, 92u8, 99u8, 135u8, + 201u8, 10u8, 58u8, 55u8, 211u8, 209u8, 86u8, 93u8, 133u8, 99u8, 139u8, ], ) } @@ -33288,10 +33371,10 @@ pub mod api { _0.borrow(), )], [ - 179u8, 145u8, 45u8, 44u8, 130u8, 240u8, 50u8, 128u8, 190u8, 133u8, - 66u8, 85u8, 47u8, 141u8, 56u8, 87u8, 131u8, 99u8, 170u8, 203u8, 8u8, - 51u8, 123u8, 73u8, 206u8, 30u8, 173u8, 35u8, 157u8, 195u8, 104u8, - 236u8, + 251u8, 100u8, 30u8, 46u8, 191u8, 60u8, 45u8, 221u8, 218u8, 20u8, 154u8, + 233u8, 211u8, 198u8, 151u8, 195u8, 99u8, 210u8, 126u8, 165u8, 240u8, + 129u8, 183u8, 252u8, 104u8, 119u8, 38u8, 155u8, 150u8, 198u8, 127u8, + 103u8, ], ) } @@ -33312,10 +33395,10 @@ pub mod api { "CurrentCodeHash", Vec::new(), [ - 179u8, 145u8, 45u8, 44u8, 130u8, 240u8, 50u8, 128u8, 190u8, 133u8, - 66u8, 85u8, 47u8, 141u8, 56u8, 87u8, 131u8, 99u8, 170u8, 203u8, 8u8, - 51u8, 123u8, 73u8, 206u8, 30u8, 173u8, 35u8, 157u8, 195u8, 104u8, - 236u8, + 251u8, 100u8, 30u8, 46u8, 191u8, 60u8, 45u8, 221u8, 218u8, 20u8, 154u8, + 233u8, 211u8, 198u8, 151u8, 195u8, 99u8, 210u8, 126u8, 165u8, 240u8, + 129u8, 183u8, 252u8, 104u8, 119u8, 38u8, 155u8, 150u8, 198u8, 127u8, + 103u8, ], ) } @@ -33342,10 +33425,9 @@ pub mod api { ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 241u8, 112u8, 128u8, 226u8, 163u8, 193u8, 77u8, 78u8, 177u8, 146u8, - 31u8, 143u8, 44u8, 140u8, 159u8, 134u8, 221u8, 129u8, 36u8, 224u8, - 46u8, 119u8, 245u8, 253u8, 55u8, 22u8, 137u8, 187u8, 71u8, 94u8, 88u8, - 124u8, + 48u8, 123u8, 195u8, 75u8, 54u8, 236u8, 154u8, 107u8, 32u8, 98u8, 228u8, + 233u8, 178u8, 217u8, 226u8, 17u8, 104u8, 124u8, 57u8, 96u8, 23u8, 61u8, + 79u8, 5u8, 108u8, 16u8, 142u8, 180u8, 154u8, 121u8, 6u8, 163u8, ], ) } @@ -33367,10 +33449,9 @@ pub mod api { "PastCodeHash", Vec::new(), [ - 241u8, 112u8, 128u8, 226u8, 163u8, 193u8, 77u8, 78u8, 177u8, 146u8, - 31u8, 143u8, 44u8, 140u8, 159u8, 134u8, 221u8, 129u8, 36u8, 224u8, - 46u8, 119u8, 245u8, 253u8, 55u8, 22u8, 137u8, 187u8, 71u8, 94u8, 88u8, - 124u8, + 48u8, 123u8, 195u8, 75u8, 54u8, 236u8, 154u8, 107u8, 32u8, 98u8, 228u8, + 233u8, 178u8, 217u8, 226u8, 17u8, 104u8, 124u8, 57u8, 96u8, 23u8, 61u8, + 79u8, 5u8, 108u8, 16u8, 142u8, 180u8, 154u8, 121u8, 6u8, 163u8, ], ) } @@ -33396,10 +33477,9 @@ pub mod api { _0.borrow(), )], [ - 251u8, 52u8, 126u8, 12u8, 21u8, 178u8, 151u8, 195u8, 153u8, 17u8, - 215u8, 242u8, 118u8, 192u8, 86u8, 72u8, 36u8, 97u8, 245u8, 134u8, - 155u8, 117u8, 85u8, 93u8, 225u8, 209u8, 63u8, 164u8, 168u8, 72u8, - 171u8, 228u8, + 22u8, 241u8, 113u8, 138u8, 217u8, 92u8, 78u8, 87u8, 80u8, 70u8, 195u8, + 30u8, 109u8, 44u8, 254u8, 49u8, 168u8, 199u8, 185u8, 82u8, 243u8, 81u8, + 33u8, 206u8, 254u8, 172u8, 234u8, 111u8, 248u8, 96u8, 242u8, 209u8, ], ) } @@ -33422,10 +33502,9 @@ pub mod api { "PastCodeMeta", Vec::new(), [ - 251u8, 52u8, 126u8, 12u8, 21u8, 178u8, 151u8, 195u8, 153u8, 17u8, - 215u8, 242u8, 118u8, 192u8, 86u8, 72u8, 36u8, 97u8, 245u8, 134u8, - 155u8, 117u8, 85u8, 93u8, 225u8, 209u8, 63u8, 164u8, 168u8, 72u8, - 171u8, 228u8, + 22u8, 241u8, 113u8, 138u8, 217u8, 92u8, 78u8, 87u8, 80u8, 70u8, 195u8, + 30u8, 109u8, 44u8, 254u8, 49u8, 168u8, 199u8, 185u8, 82u8, 243u8, 81u8, + 33u8, 206u8, 254u8, 172u8, 234u8, 111u8, 248u8, 96u8, 242u8, 209u8, ], ) } @@ -33452,9 +33531,9 @@ pub mod api { "PastCodePruning", vec![], [ - 59u8, 26u8, 175u8, 129u8, 174u8, 27u8, 239u8, 77u8, 38u8, 130u8, 37u8, - 134u8, 62u8, 28u8, 218u8, 176u8, 16u8, 137u8, 175u8, 90u8, 248u8, 44u8, - 248u8, 172u8, 231u8, 6u8, 36u8, 190u8, 109u8, 237u8, 228u8, 135u8, + 233u8, 75u8, 218u8, 58u8, 230u8, 96u8, 238u8, 79u8, 188u8, 124u8, 75u8, + 41u8, 189u8, 188u8, 164u8, 34u8, 228u8, 231u8, 8u8, 74u8, 76u8, 4u8, + 17u8, 226u8, 236u8, 19u8, 241u8, 54u8, 198u8, 17u8, 172u8, 150u8, ], ) } @@ -33478,10 +33557,10 @@ pub mod api { _0.borrow(), )], [ - 40u8, 134u8, 185u8, 28u8, 48u8, 105u8, 152u8, 229u8, 166u8, 235u8, - 32u8, 173u8, 64u8, 63u8, 151u8, 157u8, 190u8, 214u8, 7u8, 8u8, 6u8, - 128u8, 21u8, 104u8, 175u8, 71u8, 130u8, 207u8, 158u8, 115u8, 172u8, - 149u8, + 74u8, 158u8, 213u8, 211u8, 240u8, 184u8, 91u8, 207u8, 242u8, 49u8, + 211u8, 128u8, 106u8, 115u8, 32u8, 195u8, 186u8, 168u8, 207u8, 174u8, + 150u8, 120u8, 161u8, 123u8, 80u8, 123u8, 120u8, 109u8, 239u8, 97u8, + 177u8, 206u8, ], ) } @@ -33502,10 +33581,10 @@ pub mod api { "FutureCodeUpgrades", Vec::new(), [ - 40u8, 134u8, 185u8, 28u8, 48u8, 105u8, 152u8, 229u8, 166u8, 235u8, - 32u8, 173u8, 64u8, 63u8, 151u8, 157u8, 190u8, 214u8, 7u8, 8u8, 6u8, - 128u8, 21u8, 104u8, 175u8, 71u8, 130u8, 207u8, 158u8, 115u8, 172u8, - 149u8, + 74u8, 158u8, 213u8, 211u8, 240u8, 184u8, 91u8, 207u8, 242u8, 49u8, + 211u8, 128u8, 106u8, 115u8, 32u8, 195u8, 186u8, 168u8, 207u8, 174u8, + 150u8, 120u8, 161u8, 123u8, 80u8, 123u8, 120u8, 109u8, 239u8, 97u8, + 177u8, 206u8, ], ) } @@ -33529,10 +33608,9 @@ pub mod api { _0.borrow(), )], [ - 252u8, 24u8, 95u8, 200u8, 207u8, 91u8, 66u8, 103u8, 54u8, 171u8, 191u8, - 187u8, 73u8, 170u8, 132u8, 59u8, 205u8, 125u8, 68u8, 194u8, 122u8, - 124u8, 190u8, 53u8, 241u8, 225u8, 131u8, 53u8, 44u8, 145u8, 244u8, - 216u8, + 62u8, 238u8, 183u8, 12u8, 197u8, 119u8, 163u8, 239u8, 192u8, 228u8, + 110u8, 58u8, 128u8, 223u8, 32u8, 137u8, 109u8, 127u8, 41u8, 83u8, 91u8, + 98u8, 156u8, 118u8, 96u8, 147u8, 16u8, 31u8, 5u8, 92u8, 227u8, 230u8, ], ) } @@ -33553,10 +33631,9 @@ pub mod api { "FutureCodeHash", Vec::new(), [ - 252u8, 24u8, 95u8, 200u8, 207u8, 91u8, 66u8, 103u8, 54u8, 171u8, 191u8, - 187u8, 73u8, 170u8, 132u8, 59u8, 205u8, 125u8, 68u8, 194u8, 122u8, - 124u8, 190u8, 53u8, 241u8, 225u8, 131u8, 53u8, 44u8, 145u8, 244u8, - 216u8, + 62u8, 238u8, 183u8, 12u8, 197u8, 119u8, 163u8, 239u8, 192u8, 228u8, + 110u8, 58u8, 128u8, 223u8, 32u8, 137u8, 109u8, 127u8, 41u8, 83u8, 91u8, + 98u8, 156u8, 118u8, 96u8, 147u8, 16u8, 31u8, 5u8, 92u8, 227u8, 230u8, ], ) } @@ -33586,9 +33663,10 @@ pub mod api { _0.borrow(), )], [ - 159u8, 47u8, 247u8, 154u8, 54u8, 20u8, 235u8, 49u8, 74u8, 41u8, 65u8, - 51u8, 52u8, 187u8, 242u8, 6u8, 84u8, 144u8, 200u8, 176u8, 222u8, 232u8, - 70u8, 50u8, 70u8, 97u8, 61u8, 249u8, 245u8, 120u8, 98u8, 183u8, + 41u8, 80u8, 120u8, 6u8, 98u8, 85u8, 36u8, 37u8, 170u8, 189u8, 56u8, + 127u8, 155u8, 180u8, 112u8, 195u8, 135u8, 214u8, 235u8, 87u8, 197u8, + 247u8, 125u8, 26u8, 232u8, 82u8, 250u8, 90u8, 126u8, 106u8, 62u8, + 217u8, ], ) } @@ -33615,9 +33693,10 @@ pub mod api { "UpgradeGoAheadSignal", Vec::new(), [ - 159u8, 47u8, 247u8, 154u8, 54u8, 20u8, 235u8, 49u8, 74u8, 41u8, 65u8, - 51u8, 52u8, 187u8, 242u8, 6u8, 84u8, 144u8, 200u8, 176u8, 222u8, 232u8, - 70u8, 50u8, 70u8, 97u8, 61u8, 249u8, 245u8, 120u8, 98u8, 183u8, + 41u8, 80u8, 120u8, 6u8, 98u8, 85u8, 36u8, 37u8, 170u8, 189u8, 56u8, + 127u8, 155u8, 180u8, 112u8, 195u8, 135u8, 214u8, 235u8, 87u8, 197u8, + 247u8, 125u8, 26u8, 232u8, 82u8, 250u8, 90u8, 126u8, 106u8, 62u8, + 217u8, ], ) } @@ -33647,9 +33726,10 @@ pub mod api { _0.borrow(), )], [ - 86u8, 190u8, 41u8, 79u8, 66u8, 68u8, 46u8, 87u8, 212u8, 176u8, 255u8, - 134u8, 104u8, 121u8, 44u8, 143u8, 248u8, 100u8, 35u8, 157u8, 91u8, - 165u8, 118u8, 38u8, 49u8, 171u8, 158u8, 163u8, 45u8, 92u8, 44u8, 11u8, + 158u8, 105u8, 62u8, 252u8, 149u8, 145u8, 34u8, 92u8, 119u8, 204u8, + 46u8, 96u8, 117u8, 183u8, 134u8, 20u8, 172u8, 243u8, 145u8, 113u8, + 74u8, 119u8, 96u8, 107u8, 129u8, 109u8, 96u8, 143u8, 77u8, 14u8, 56u8, + 117u8, ], ) } @@ -33676,9 +33756,10 @@ pub mod api { "UpgradeRestrictionSignal", Vec::new(), [ - 86u8, 190u8, 41u8, 79u8, 66u8, 68u8, 46u8, 87u8, 212u8, 176u8, 255u8, - 134u8, 104u8, 121u8, 44u8, 143u8, 248u8, 100u8, 35u8, 157u8, 91u8, - 165u8, 118u8, 38u8, 49u8, 171u8, 158u8, 163u8, 45u8, 92u8, 44u8, 11u8, + 158u8, 105u8, 62u8, 252u8, 149u8, 145u8, 34u8, 92u8, 119u8, 204u8, + 46u8, 96u8, 117u8, 183u8, 134u8, 20u8, 172u8, 243u8, 145u8, 113u8, + 74u8, 119u8, 96u8, 107u8, 129u8, 109u8, 96u8, 143u8, 77u8, 14u8, 56u8, + 117u8, ], ) } @@ -33702,10 +33783,10 @@ pub mod api { "UpgradeCooldowns", vec![], [ - 205u8, 236u8, 140u8, 145u8, 241u8, 245u8, 60u8, 68u8, 23u8, 175u8, - 226u8, 174u8, 154u8, 107u8, 243u8, 197u8, 61u8, 218u8, 7u8, 24u8, - 109u8, 221u8, 178u8, 80u8, 242u8, 123u8, 33u8, 119u8, 5u8, 241u8, - 179u8, 13u8, + 172u8, 3u8, 71u8, 137u8, 150u8, 36u8, 119u8, 181u8, 252u8, 204u8, + 172u8, 28u8, 107u8, 38u8, 182u8, 165u8, 151u8, 55u8, 1u8, 174u8, 89u8, + 203u8, 232u8, 91u8, 219u8, 167u8, 110u8, 108u8, 146u8, 235u8, 11u8, + 14u8, ], ) } @@ -33730,10 +33811,10 @@ pub mod api { "UpcomingUpgrades", vec![], [ - 165u8, 112u8, 215u8, 149u8, 125u8, 175u8, 206u8, 195u8, 214u8, 173u8, - 0u8, 144u8, 46u8, 197u8, 55u8, 204u8, 144u8, 68u8, 158u8, 156u8, 145u8, - 230u8, 173u8, 101u8, 255u8, 108u8, 52u8, 199u8, 142u8, 37u8, 55u8, - 32u8, + 28u8, 180u8, 64u8, 56u8, 215u8, 181u8, 35u8, 86u8, 225u8, 193u8, 58u8, + 246u8, 178u8, 110u8, 175u8, 173u8, 130u8, 14u8, 7u8, 131u8, 195u8, + 10u8, 251u8, 105u8, 56u8, 110u8, 46u8, 162u8, 156u8, 198u8, 125u8, + 45u8, ], ) } @@ -33755,9 +33836,10 @@ pub mod api { _0.borrow(), )], [ - 209u8, 106u8, 198u8, 228u8, 148u8, 75u8, 246u8, 248u8, 12u8, 143u8, - 175u8, 56u8, 168u8, 243u8, 67u8, 166u8, 59u8, 92u8, 219u8, 184u8, 1u8, - 34u8, 241u8, 66u8, 245u8, 48u8, 174u8, 41u8, 123u8, 16u8, 178u8, 161u8, + 85u8, 212u8, 98u8, 204u8, 36u8, 203u8, 119u8, 90u8, 107u8, 212u8, + 182u8, 147u8, 162u8, 111u8, 226u8, 47u8, 178u8, 129u8, 74u8, 219u8, + 62u8, 67u8, 213u8, 134u8, 140u8, 51u8, 232u8, 211u8, 171u8, 103u8, + 172u8, 165u8, ], ) } @@ -33776,9 +33858,10 @@ pub mod api { "ActionsQueue", Vec::new(), [ - 209u8, 106u8, 198u8, 228u8, 148u8, 75u8, 246u8, 248u8, 12u8, 143u8, - 175u8, 56u8, 168u8, 243u8, 67u8, 166u8, 59u8, 92u8, 219u8, 184u8, 1u8, - 34u8, 241u8, 66u8, 245u8, 48u8, 174u8, 41u8, 123u8, 16u8, 178u8, 161u8, + 85u8, 212u8, 98u8, 204u8, 36u8, 203u8, 119u8, 90u8, 107u8, 212u8, + 182u8, 147u8, 162u8, 111u8, 226u8, 47u8, 178u8, 129u8, 74u8, 219u8, + 62u8, 67u8, 213u8, 134u8, 140u8, 51u8, 232u8, 211u8, 171u8, 103u8, + 172u8, 165u8, ], ) } @@ -33803,9 +33886,9 @@ pub mod api { _0.borrow(), )], [ - 134u8, 111u8, 59u8, 49u8, 28u8, 111u8, 6u8, 57u8, 109u8, 75u8, 75u8, - 53u8, 91u8, 150u8, 86u8, 38u8, 223u8, 50u8, 107u8, 75u8, 200u8, 61u8, - 211u8, 7u8, 105u8, 251u8, 243u8, 18u8, 220u8, 195u8, 216u8, 167u8, + 205u8, 192u8, 117u8, 77u8, 22u8, 165u8, 45u8, 181u8, 8u8, 109u8, 109u8, + 203u8, 182u8, 214u8, 200u8, 31u8, 24u8, 148u8, 51u8, 240u8, 231u8, + 152u8, 7u8, 151u8, 22u8, 188u8, 150u8, 168u8, 109u8, 158u8, 3u8, 189u8, ], ) } @@ -33827,9 +33910,9 @@ pub mod api { "UpcomingParasGenesis", Vec::new(), [ - 134u8, 111u8, 59u8, 49u8, 28u8, 111u8, 6u8, 57u8, 109u8, 75u8, 75u8, - 53u8, 91u8, 150u8, 86u8, 38u8, 223u8, 50u8, 107u8, 75u8, 200u8, 61u8, - 211u8, 7u8, 105u8, 251u8, 243u8, 18u8, 220u8, 195u8, 216u8, 167u8, + 205u8, 192u8, 117u8, 77u8, 22u8, 165u8, 45u8, 181u8, 8u8, 109u8, 109u8, + 203u8, 182u8, 214u8, 200u8, 31u8, 24u8, 148u8, 51u8, 240u8, 231u8, + 152u8, 7u8, 151u8, 22u8, 188u8, 150u8, 168u8, 109u8, 158u8, 3u8, 189u8, ], ) } @@ -33853,10 +33936,10 @@ pub mod api { _0.borrow(), )], [ - 24u8, 6u8, 23u8, 50u8, 105u8, 203u8, 126u8, 161u8, 0u8, 5u8, 121u8, - 165u8, 204u8, 106u8, 68u8, 91u8, 84u8, 126u8, 29u8, 239u8, 236u8, - 138u8, 32u8, 237u8, 241u8, 226u8, 190u8, 233u8, 160u8, 143u8, 88u8, - 168u8, + 47u8, 50u8, 103u8, 161u8, 130u8, 252u8, 157u8, 35u8, 174u8, 37u8, + 102u8, 60u8, 195u8, 30u8, 164u8, 203u8, 67u8, 129u8, 107u8, 181u8, + 166u8, 205u8, 230u8, 91u8, 36u8, 187u8, 253u8, 150u8, 39u8, 168u8, + 223u8, 16u8, ], ) } @@ -33875,10 +33958,10 @@ pub mod api { "CodeByHashRefs", Vec::new(), [ - 24u8, 6u8, 23u8, 50u8, 105u8, 203u8, 126u8, 161u8, 0u8, 5u8, 121u8, - 165u8, 204u8, 106u8, 68u8, 91u8, 84u8, 126u8, 29u8, 239u8, 236u8, - 138u8, 32u8, 237u8, 241u8, 226u8, 190u8, 233u8, 160u8, 143u8, 88u8, - 168u8, + 47u8, 50u8, 103u8, 161u8, 130u8, 252u8, 157u8, 35u8, 174u8, 37u8, + 102u8, 60u8, 195u8, 30u8, 164u8, 203u8, 67u8, 129u8, 107u8, 181u8, + 166u8, 205u8, 230u8, 91u8, 36u8, 187u8, 253u8, 150u8, 39u8, 168u8, + 223u8, 16u8, ], ) } @@ -33905,10 +33988,9 @@ pub mod api { _0.borrow(), )], [ - 58u8, 104u8, 36u8, 34u8, 226u8, 210u8, 253u8, 90u8, 23u8, 3u8, 6u8, - 202u8, 9u8, 44u8, 107u8, 108u8, 41u8, 149u8, 255u8, 173u8, 119u8, - 206u8, 201u8, 180u8, 32u8, 193u8, 44u8, 232u8, 73u8, 15u8, 210u8, - 226u8, + 207u8, 173u8, 182u8, 146u8, 179u8, 77u8, 30u8, 80u8, 62u8, 17u8, 87u8, + 97u8, 105u8, 156u8, 71u8, 80u8, 190u8, 81u8, 88u8, 8u8, 159u8, 142u8, + 106u8, 73u8, 220u8, 11u8, 53u8, 151u8, 234u8, 205u8, 190u8, 187u8, ], ) } @@ -33930,10 +34012,9 @@ pub mod api { "CodeByHash", Vec::new(), [ - 58u8, 104u8, 36u8, 34u8, 226u8, 210u8, 253u8, 90u8, 23u8, 3u8, 6u8, - 202u8, 9u8, 44u8, 107u8, 108u8, 41u8, 149u8, 255u8, 173u8, 119u8, - 206u8, 201u8, 180u8, 32u8, 193u8, 44u8, 232u8, 73u8, 15u8, 210u8, - 226u8, + 207u8, 173u8, 182u8, 146u8, 179u8, 77u8, 30u8, 80u8, 62u8, 17u8, 87u8, + 97u8, 105u8, 156u8, 71u8, 80u8, 190u8, 81u8, 88u8, 8u8, 159u8, 142u8, + 106u8, 73u8, 220u8, 11u8, 53u8, 151u8, 234u8, 205u8, 190u8, 187u8, ], ) } @@ -34004,9 +34085,10 @@ pub mod api { "force_approve", types::ForceApprove { up_to }, [ - 28u8, 117u8, 86u8, 182u8, 19u8, 127u8, 43u8, 17u8, 153u8, 80u8, 193u8, - 53u8, 120u8, 41u8, 205u8, 23u8, 252u8, 148u8, 77u8, 227u8, 138u8, 35u8, - 182u8, 122u8, 112u8, 232u8, 246u8, 69u8, 173u8, 97u8, 42u8, 103u8, + 232u8, 166u8, 27u8, 229u8, 157u8, 240u8, 18u8, 137u8, 5u8, 159u8, + 179u8, 239u8, 218u8, 41u8, 181u8, 42u8, 159u8, 243u8, 246u8, 214u8, + 227u8, 77u8, 58u8, 70u8, 241u8, 114u8, 175u8, 124u8, 77u8, 102u8, + 105u8, 199u8, ], ) } @@ -34038,10 +34120,9 @@ pub mod api { "HasInitialized", vec![], [ - 251u8, 135u8, 247u8, 61u8, 139u8, 102u8, 12u8, 122u8, 227u8, 123u8, - 11u8, 232u8, 120u8, 80u8, 81u8, 48u8, 216u8, 115u8, 159u8, 131u8, - 133u8, 105u8, 200u8, 122u8, 114u8, 6u8, 109u8, 4u8, 164u8, 204u8, - 214u8, 111u8, + 156u8, 208u8, 212u8, 86u8, 105u8, 148u8, 252u8, 11u8, 140u8, 67u8, + 231u8, 86u8, 1u8, 147u8, 178u8, 79u8, 27u8, 249u8, 137u8, 103u8, 178u8, + 50u8, 114u8, 157u8, 239u8, 86u8, 89u8, 233u8, 86u8, 58u8, 37u8, 67u8, ], ) } @@ -34057,10 +34138,9 @@ pub mod api { "BufferedSessionChanges", vec![], [ - 176u8, 60u8, 165u8, 138u8, 99u8, 140u8, 22u8, 169u8, 121u8, 65u8, - 203u8, 85u8, 39u8, 198u8, 91u8, 167u8, 118u8, 49u8, 129u8, 128u8, - 171u8, 232u8, 249u8, 39u8, 6u8, 101u8, 57u8, 193u8, 85u8, 143u8, 105u8, - 29u8, + 96u8, 139u8, 32u8, 156u8, 180u8, 12u8, 6u8, 63u8, 221u8, 11u8, 123u8, + 196u8, 31u8, 210u8, 45u8, 21u8, 117u8, 69u8, 139u8, 230u8, 33u8, 144u8, + 65u8, 254u8, 2u8, 161u8, 173u8, 194u8, 30u8, 67u8, 192u8, 82u8, ], ) } @@ -34096,9 +34176,9 @@ pub mod api { _0.borrow(), )], [ - 57u8, 115u8, 112u8, 195u8, 25u8, 43u8, 104u8, 199u8, 107u8, 238u8, - 93u8, 129u8, 141u8, 167u8, 167u8, 9u8, 85u8, 34u8, 53u8, 117u8, 148u8, - 246u8, 196u8, 46u8, 96u8, 114u8, 15u8, 88u8, 94u8, 40u8, 18u8, 31u8, + 135u8, 63u8, 55u8, 101u8, 38u8, 53u8, 188u8, 5u8, 228u8, 49u8, 163u8, + 99u8, 129u8, 95u8, 93u8, 205u8, 13u8, 226u8, 22u8, 106u8, 30u8, 187u8, + 127u8, 20u8, 164u8, 168u8, 0u8, 25u8, 26u8, 250u8, 13u8, 140u8, ], ) } @@ -34121,9 +34201,9 @@ pub mod api { "DownwardMessageQueues", Vec::new(), [ - 57u8, 115u8, 112u8, 195u8, 25u8, 43u8, 104u8, 199u8, 107u8, 238u8, - 93u8, 129u8, 141u8, 167u8, 167u8, 9u8, 85u8, 34u8, 53u8, 117u8, 148u8, - 246u8, 196u8, 46u8, 96u8, 114u8, 15u8, 88u8, 94u8, 40u8, 18u8, 31u8, + 135u8, 63u8, 55u8, 101u8, 38u8, 53u8, 188u8, 5u8, 228u8, 49u8, 163u8, + 99u8, 129u8, 95u8, 93u8, 205u8, 13u8, 226u8, 22u8, 106u8, 30u8, 187u8, + 127u8, 20u8, 164u8, 168u8, 0u8, 25u8, 26u8, 250u8, 13u8, 140u8, ], ) } @@ -34151,10 +34231,9 @@ pub mod api { _0.borrow(), )], [ - 137u8, 70u8, 108u8, 184u8, 177u8, 204u8, 17u8, 187u8, 250u8, 134u8, - 85u8, 18u8, 239u8, 185u8, 167u8, 224u8, 70u8, 18u8, 38u8, 245u8, 176u8, - 122u8, 254u8, 251u8, 204u8, 126u8, 34u8, 207u8, 163u8, 104u8, 103u8, - 38u8, + 135u8, 165u8, 240u8, 0u8, 25u8, 110u8, 9u8, 108u8, 251u8, 225u8, 109u8, + 184u8, 90u8, 132u8, 9u8, 151u8, 12u8, 118u8, 153u8, 212u8, 140u8, + 205u8, 94u8, 98u8, 110u8, 167u8, 155u8, 43u8, 61u8, 35u8, 52u8, 56u8, ], ) } @@ -34179,10 +34258,9 @@ pub mod api { "DownwardMessageQueueHeads", Vec::new(), [ - 137u8, 70u8, 108u8, 184u8, 177u8, 204u8, 17u8, 187u8, 250u8, 134u8, - 85u8, 18u8, 239u8, 185u8, 167u8, 224u8, 70u8, 18u8, 38u8, 245u8, 176u8, - 122u8, 254u8, 251u8, 204u8, 126u8, 34u8, 207u8, 163u8, 104u8, 103u8, - 38u8, + 135u8, 165u8, 240u8, 0u8, 25u8, 110u8, 9u8, 108u8, 251u8, 225u8, 109u8, + 184u8, 90u8, 132u8, 9u8, 151u8, 12u8, 118u8, 153u8, 212u8, 140u8, + 205u8, 94u8, 98u8, 110u8, 167u8, 155u8, 43u8, 61u8, 35u8, 52u8, 56u8, ], ) } @@ -34204,10 +34282,9 @@ pub mod api { _0.borrow(), )], [ - 74u8, 221u8, 160u8, 244u8, 128u8, 163u8, 79u8, 26u8, 35u8, 182u8, - 211u8, 224u8, 181u8, 42u8, 98u8, 193u8, 128u8, 249u8, 40u8, 122u8, - 208u8, 19u8, 64u8, 8u8, 156u8, 165u8, 156u8, 59u8, 112u8, 197u8, 160u8, - 87u8, + 43u8, 5u8, 63u8, 235u8, 115u8, 155u8, 130u8, 27u8, 75u8, 216u8, 177u8, + 135u8, 203u8, 147u8, 167u8, 95u8, 208u8, 188u8, 25u8, 14u8, 84u8, 63u8, + 116u8, 41u8, 148u8, 110u8, 115u8, 215u8, 196u8, 36u8, 75u8, 102u8, ], ) } @@ -34226,10 +34303,9 @@ pub mod api { "DeliveryFeeFactor", Vec::new(), [ - 74u8, 221u8, 160u8, 244u8, 128u8, 163u8, 79u8, 26u8, 35u8, 182u8, - 211u8, 224u8, 181u8, 42u8, 98u8, 193u8, 128u8, 249u8, 40u8, 122u8, - 208u8, 19u8, 64u8, 8u8, 156u8, 165u8, 156u8, 59u8, 112u8, 197u8, 160u8, - 87u8, + 43u8, 5u8, 63u8, 235u8, 115u8, 155u8, 130u8, 27u8, 75u8, 216u8, 177u8, + 135u8, 203u8, 147u8, 167u8, 95u8, 208u8, 188u8, 25u8, 14u8, 84u8, 63u8, + 116u8, 41u8, 148u8, 110u8, 115u8, 215u8, 196u8, 36u8, 75u8, 102u8, ], ) } @@ -34295,10 +34371,9 @@ pub mod api { weight_limit, }, [ - 121u8, 236u8, 235u8, 23u8, 210u8, 238u8, 238u8, 122u8, 15u8, 86u8, - 34u8, 119u8, 105u8, 100u8, 214u8, 236u8, 117u8, 39u8, 254u8, 235u8, - 189u8, 15u8, 72u8, 74u8, 225u8, 134u8, 148u8, 126u8, 31u8, 203u8, - 144u8, 106u8, + 191u8, 141u8, 229u8, 214u8, 12u8, 111u8, 251u8, 4u8, 8u8, 118u8, 217u8, + 193u8, 106u8, 182u8, 233u8, 130u8, 149u8, 201u8, 245u8, 3u8, 81u8, + 217u8, 33u8, 24u8, 198u8, 138u8, 206u8, 141u8, 105u8, 31u8, 81u8, 9u8, ], ) } @@ -34480,9 +34555,10 @@ pub mod api { _0.borrow(), )], [ - 237u8, 72u8, 167u8, 6u8, 67u8, 106u8, 186u8, 191u8, 160u8, 9u8, 62u8, - 102u8, 229u8, 164u8, 100u8, 24u8, 202u8, 109u8, 90u8, 24u8, 192u8, - 233u8, 26u8, 239u8, 23u8, 127u8, 77u8, 191u8, 144u8, 14u8, 3u8, 141u8, + 117u8, 144u8, 164u8, 105u8, 205u8, 216u8, 78u8, 58u8, 222u8, 31u8, + 134u8, 149u8, 46u8, 41u8, 152u8, 160u8, 166u8, 144u8, 206u8, 161u8, + 216u8, 196u8, 3u8, 34u8, 79u8, 78u8, 229u8, 15u8, 106u8, 23u8, 252u8, + 206u8, ], ) } @@ -34506,9 +34582,10 @@ pub mod api { "RelayDispatchQueues", Vec::new(), [ - 237u8, 72u8, 167u8, 6u8, 67u8, 106u8, 186u8, 191u8, 160u8, 9u8, 62u8, - 102u8, 229u8, 164u8, 100u8, 24u8, 202u8, 109u8, 90u8, 24u8, 192u8, - 233u8, 26u8, 239u8, 23u8, 127u8, 77u8, 191u8, 144u8, 14u8, 3u8, 141u8, + 117u8, 144u8, 164u8, 105u8, 205u8, 216u8, 78u8, 58u8, 222u8, 31u8, + 134u8, 149u8, 46u8, 41u8, 152u8, 160u8, 166u8, 144u8, 206u8, 161u8, + 216u8, 196u8, 3u8, 34u8, 79u8, 78u8, 229u8, 15u8, 106u8, 23u8, 252u8, + 206u8, ], ) } @@ -34540,9 +34617,10 @@ pub mod api { _0.borrow(), )], [ - 243u8, 120u8, 70u8, 2u8, 208u8, 105u8, 180u8, 25u8, 86u8, 219u8, 151u8, - 227u8, 233u8, 53u8, 151u8, 29u8, 231u8, 40u8, 84u8, 163u8, 71u8, 254u8, - 19u8, 47u8, 174u8, 63u8, 200u8, 173u8, 86u8, 199u8, 207u8, 138u8, + 246u8, 251u8, 184u8, 161u8, 3u8, 254u8, 219u8, 108u8, 106u8, 140u8, + 163u8, 118u8, 188u8, 62u8, 148u8, 157u8, 94u8, 70u8, 133u8, 142u8, + 232u8, 152u8, 98u8, 131u8, 241u8, 87u8, 137u8, 61u8, 136u8, 21u8, + 153u8, 50u8, ], ) } @@ -34571,9 +34649,10 @@ pub mod api { "RelayDispatchQueueSize", Vec::new(), [ - 243u8, 120u8, 70u8, 2u8, 208u8, 105u8, 180u8, 25u8, 86u8, 219u8, 151u8, - 227u8, 233u8, 53u8, 151u8, 29u8, 231u8, 40u8, 84u8, 163u8, 71u8, 254u8, - 19u8, 47u8, 174u8, 63u8, 200u8, 173u8, 86u8, 199u8, 207u8, 138u8, + 246u8, 251u8, 184u8, 161u8, 3u8, 254u8, 219u8, 108u8, 106u8, 140u8, + 163u8, 118u8, 188u8, 62u8, 148u8, 157u8, 94u8, 70u8, 133u8, 142u8, + 232u8, 152u8, 98u8, 131u8, 241u8, 87u8, 137u8, 61u8, 136u8, 21u8, + 153u8, 50u8, ], ) } @@ -34596,10 +34675,9 @@ pub mod api { "NeedsDispatch", vec![], [ - 176u8, 94u8, 152u8, 112u8, 46u8, 124u8, 89u8, 29u8, 92u8, 104u8, 192u8, - 58u8, 59u8, 186u8, 81u8, 150u8, 157u8, 61u8, 235u8, 182u8, 222u8, - 127u8, 109u8, 11u8, 104u8, 175u8, 141u8, 219u8, 15u8, 152u8, 255u8, - 40u8, + 50u8, 216u8, 202u8, 249u8, 219u8, 62u8, 14u8, 219u8, 16u8, 53u8, 78u8, + 189u8, 94u8, 99u8, 210u8, 208u8, 122u8, 87u8, 105u8, 3u8, 148u8, 12u8, + 90u8, 60u8, 86u8, 106u8, 56u8, 249u8, 1u8, 21u8, 238u8, 176u8, ], ) } @@ -34622,9 +34700,10 @@ pub mod api { "NextDispatchRoundStartWith", vec![], [ - 157u8, 221u8, 6u8, 175u8, 61u8, 99u8, 250u8, 30u8, 177u8, 53u8, 37u8, - 191u8, 138u8, 65u8, 251u8, 216u8, 37u8, 84u8, 246u8, 76u8, 8u8, 29u8, - 18u8, 253u8, 143u8, 75u8, 129u8, 141u8, 48u8, 178u8, 135u8, 197u8, + 162u8, 216u8, 216u8, 238u8, 153u8, 44u8, 124u8, 137u8, 170u8, 63u8, + 254u8, 73u8, 219u8, 221u8, 130u8, 130u8, 63u8, 94u8, 144u8, 250u8, + 168u8, 222u8, 7u8, 17u8, 197u8, 32u8, 104u8, 83u8, 60u8, 18u8, 46u8, + 243u8, ], ) } @@ -34651,9 +34730,9 @@ pub mod api { _0.borrow(), )], [ - 49u8, 4u8, 221u8, 218u8, 249u8, 183u8, 49u8, 198u8, 48u8, 42u8, 110u8, - 67u8, 47u8, 50u8, 181u8, 141u8, 184u8, 47u8, 114u8, 3u8, 232u8, 132u8, - 32u8, 201u8, 13u8, 213u8, 175u8, 236u8, 111u8, 87u8, 146u8, 212u8, + 99u8, 253u8, 98u8, 255u8, 15u8, 188u8, 128u8, 101u8, 165u8, 13u8, 95u8, + 43u8, 18u8, 20u8, 119u8, 235u8, 92u8, 145u8, 78u8, 10u8, 35u8, 88u8, + 23u8, 255u8, 208u8, 237u8, 204u8, 203u8, 207u8, 185u8, 214u8, 37u8, ], ) } @@ -34677,9 +34756,9 @@ pub mod api { "Overweight", Vec::new(), [ - 49u8, 4u8, 221u8, 218u8, 249u8, 183u8, 49u8, 198u8, 48u8, 42u8, 110u8, - 67u8, 47u8, 50u8, 181u8, 141u8, 184u8, 47u8, 114u8, 3u8, 232u8, 132u8, - 32u8, 201u8, 13u8, 213u8, 175u8, 236u8, 111u8, 87u8, 146u8, 212u8, + 99u8, 253u8, 98u8, 255u8, 15u8, 188u8, 128u8, 101u8, 165u8, 13u8, 95u8, + 43u8, 18u8, 20u8, 119u8, 235u8, 92u8, 145u8, 78u8, 10u8, 35u8, 88u8, + 23u8, 255u8, 208u8, 237u8, 204u8, 203u8, 207u8, 185u8, 214u8, 37u8, ], ) } @@ -34698,10 +34777,10 @@ pub mod api { "CounterForOverweight", vec![], [ - 148u8, 226u8, 248u8, 107u8, 165u8, 97u8, 218u8, 160u8, 127u8, 48u8, - 185u8, 251u8, 35u8, 137u8, 119u8, 251u8, 151u8, 167u8, 189u8, 66u8, - 80u8, 74u8, 134u8, 129u8, 222u8, 180u8, 51u8, 182u8, 50u8, 110u8, 10u8, - 43u8, + 44u8, 249u8, 133u8, 204u8, 169u8, 253u8, 23u8, 157u8, 132u8, 193u8, + 28u8, 178u8, 156u8, 176u8, 206u8, 46u8, 79u8, 254u8, 174u8, 236u8, + 143u8, 219u8, 59u8, 43u8, 36u8, 109u8, 244u8, 206u8, 48u8, 126u8, + 247u8, 0u8, ], ) } @@ -34721,10 +34800,9 @@ pub mod api { "OverweightCount", vec![], [ - 102u8, 180u8, 196u8, 148u8, 115u8, 62u8, 46u8, 238u8, 97u8, 116u8, - 117u8, 42u8, 14u8, 5u8, 72u8, 237u8, 230u8, 46u8, 150u8, 126u8, 89u8, - 64u8, 233u8, 166u8, 180u8, 137u8, 52u8, 233u8, 252u8, 255u8, 36u8, - 20u8, + 28u8, 72u8, 218u8, 167u8, 253u8, 30u8, 10u8, 51u8, 49u8, 101u8, 86u8, + 26u8, 146u8, 2u8, 153u8, 232u8, 129u8, 38u8, 111u8, 105u8, 246u8, 84u8, + 192u8, 157u8, 193u8, 57u8, 222u8, 122u8, 38u8, 160u8, 56u8, 39u8, ], ) } @@ -34918,10 +34996,10 @@ pub mod api { proposed_max_message_size, }, [ - 170u8, 72u8, 58u8, 42u8, 38u8, 11u8, 110u8, 229u8, 239u8, 136u8, 99u8, - 230u8, 223u8, 225u8, 126u8, 61u8, 234u8, 185u8, 101u8, 156u8, 40u8, - 102u8, 253u8, 123u8, 77u8, 204u8, 217u8, 86u8, 162u8, 66u8, 25u8, - 214u8, + 195u8, 189u8, 253u8, 88u8, 118u8, 9u8, 223u8, 44u8, 211u8, 203u8, + 182u8, 218u8, 31u8, 97u8, 93u8, 87u8, 186u8, 174u8, 179u8, 80u8, 33u8, + 16u8, 214u8, 36u8, 12u8, 208u8, 151u8, 201u8, 208u8, 250u8, 167u8, + 147u8, ], ) } @@ -34937,9 +35015,9 @@ pub mod api { "hrmp_accept_open_channel", types::HrmpAcceptOpenChannel { sender }, [ - 75u8, 111u8, 52u8, 164u8, 204u8, 100u8, 204u8, 111u8, 127u8, 84u8, - 60u8, 136u8, 95u8, 255u8, 48u8, 157u8, 189u8, 76u8, 33u8, 177u8, 223u8, - 27u8, 74u8, 221u8, 139u8, 1u8, 12u8, 128u8, 242u8, 7u8, 3u8, 53u8, + 133u8, 77u8, 88u8, 40u8, 47u8, 81u8, 95u8, 206u8, 165u8, 41u8, 191u8, + 241u8, 130u8, 244u8, 70u8, 227u8, 69u8, 80u8, 130u8, 126u8, 34u8, 69u8, + 214u8, 81u8, 7u8, 199u8, 249u8, 162u8, 234u8, 233u8, 195u8, 156u8, ], ) } @@ -34956,9 +35034,9 @@ pub mod api { "hrmp_close_channel", types::HrmpCloseChannel { channel_id }, [ - 11u8, 202u8, 76u8, 107u8, 213u8, 21u8, 191u8, 190u8, 40u8, 229u8, 60u8, - 115u8, 232u8, 136u8, 41u8, 114u8, 21u8, 19u8, 238u8, 236u8, 202u8, - 56u8, 212u8, 232u8, 34u8, 84u8, 27u8, 70u8, 176u8, 252u8, 218u8, 52u8, + 133u8, 95u8, 182u8, 90u8, 179u8, 212u8, 120u8, 118u8, 153u8, 96u8, + 213u8, 165u8, 22u8, 20u8, 230u8, 122u8, 215u8, 181u8, 48u8, 23u8, 25u8, + 122u8, 27u8, 85u8, 62u8, 87u8, 214u8, 218u8, 20u8, 105u8, 77u8, 96u8, ], ) } @@ -34984,10 +35062,10 @@ pub mod api { outbound, }, [ - 171u8, 109u8, 147u8, 49u8, 163u8, 107u8, 36u8, 169u8, 117u8, 193u8, - 231u8, 114u8, 207u8, 38u8, 240u8, 195u8, 155u8, 222u8, 244u8, 142u8, - 93u8, 79u8, 111u8, 43u8, 5u8, 33u8, 190u8, 30u8, 200u8, 225u8, 173u8, - 64u8, + 174u8, 160u8, 170u8, 127u8, 154u8, 188u8, 39u8, 54u8, 68u8, 253u8, + 107u8, 99u8, 223u8, 162u8, 140u8, 64u8, 221u8, 217u8, 106u8, 43u8, + 217u8, 25u8, 48u8, 38u8, 213u8, 228u8, 24u8, 94u8, 116u8, 236u8, 108u8, + 77u8, ], ) } @@ -35006,10 +35084,10 @@ pub mod api { "force_process_hrmp_open", types::ForceProcessHrmpOpen { channels }, [ - 231u8, 80u8, 233u8, 15u8, 131u8, 167u8, 223u8, 28u8, 182u8, 185u8, - 213u8, 24u8, 154u8, 160u8, 68u8, 94u8, 160u8, 59u8, 78u8, 85u8, 85u8, - 149u8, 130u8, 131u8, 9u8, 162u8, 169u8, 119u8, 165u8, 44u8, 150u8, - 50u8, + 66u8, 138u8, 220u8, 119u8, 251u8, 148u8, 72u8, 167u8, 49u8, 156u8, + 227u8, 174u8, 153u8, 145u8, 190u8, 195u8, 192u8, 183u8, 41u8, 213u8, + 134u8, 8u8, 114u8, 30u8, 191u8, 81u8, 208u8, 54u8, 120u8, 36u8, 195u8, + 246u8, ], ) } @@ -35028,9 +35106,10 @@ pub mod api { "force_process_hrmp_close", types::ForceProcessHrmpClose { channels }, [ - 248u8, 138u8, 30u8, 151u8, 53u8, 16u8, 44u8, 116u8, 51u8, 194u8, 173u8, - 252u8, 143u8, 53u8, 184u8, 129u8, 80u8, 80u8, 25u8, 118u8, 47u8, 183u8, - 249u8, 130u8, 8u8, 221u8, 56u8, 106u8, 182u8, 114u8, 186u8, 161u8, + 22u8, 60u8, 113u8, 94u8, 199u8, 101u8, 204u8, 34u8, 158u8, 77u8, 228u8, + 29u8, 180u8, 249u8, 46u8, 103u8, 206u8, 155u8, 164u8, 229u8, 70u8, + 189u8, 218u8, 171u8, 173u8, 22u8, 210u8, 73u8, 232u8, 99u8, 225u8, + 176u8, ], ) } @@ -35055,10 +35134,10 @@ pub mod api { open_requests, }, [ - 136u8, 217u8, 56u8, 138u8, 227u8, 37u8, 120u8, 83u8, 116u8, 228u8, - 42u8, 111u8, 206u8, 210u8, 177u8, 235u8, 225u8, 98u8, 172u8, 184u8, - 87u8, 65u8, 77u8, 129u8, 7u8, 0u8, 232u8, 139u8, 134u8, 1u8, 59u8, - 19u8, + 59u8, 112u8, 18u8, 146u8, 252u8, 96u8, 198u8, 185u8, 100u8, 158u8, + 16u8, 198u8, 251u8, 12u8, 205u8, 87u8, 231u8, 97u8, 121u8, 249u8, + 202u8, 199u8, 49u8, 166u8, 118u8, 60u8, 1u8, 8u8, 49u8, 4u8, 61u8, + 216u8, ], ) } @@ -35085,10 +35164,9 @@ pub mod api { max_message_size, }, [ - 145u8, 23u8, 215u8, 75u8, 94u8, 119u8, 205u8, 222u8, 186u8, 149u8, - 11u8, 172u8, 211u8, 158u8, 247u8, 21u8, 125u8, 144u8, 91u8, 157u8, - 94u8, 143u8, 188u8, 20u8, 98u8, 136u8, 165u8, 70u8, 155u8, 14u8, 92u8, - 58u8, + 73u8, 48u8, 219u8, 182u8, 93u8, 232u8, 94u8, 210u8, 17u8, 170u8, 42u8, + 96u8, 88u8, 124u8, 106u8, 25u8, 22u8, 142u8, 77u8, 154u8, 139u8, 15u8, + 1u8, 171u8, 155u8, 200u8, 213u8, 92u8, 50u8, 193u8, 63u8, 184u8, ], ) } @@ -35230,9 +35308,9 @@ pub mod api { _0.borrow(), )], [ - 226u8, 115u8, 207u8, 13u8, 5u8, 81u8, 64u8, 161u8, 246u8, 4u8, 17u8, - 207u8, 210u8, 109u8, 91u8, 54u8, 28u8, 53u8, 35u8, 74u8, 62u8, 91u8, - 196u8, 236u8, 18u8, 70u8, 13u8, 86u8, 235u8, 74u8, 181u8, 169u8, + 22u8, 147u8, 166u8, 47u8, 14u8, 226u8, 175u8, 227u8, 89u8, 8u8, 211u8, + 246u8, 149u8, 18u8, 179u8, 53u8, 197u8, 61u8, 110u8, 51u8, 37u8, 216u8, + 127u8, 255u8, 255u8, 182u8, 194u8, 77u8, 103u8, 171u8, 142u8, 128u8, ], ) } @@ -35256,9 +35334,9 @@ pub mod api { "HrmpOpenChannelRequests", Vec::new(), [ - 226u8, 115u8, 207u8, 13u8, 5u8, 81u8, 64u8, 161u8, 246u8, 4u8, 17u8, - 207u8, 210u8, 109u8, 91u8, 54u8, 28u8, 53u8, 35u8, 74u8, 62u8, 91u8, - 196u8, 236u8, 18u8, 70u8, 13u8, 86u8, 235u8, 74u8, 181u8, 169u8, + 22u8, 147u8, 166u8, 47u8, 14u8, 226u8, 175u8, 227u8, 89u8, 8u8, 211u8, + 246u8, 149u8, 18u8, 179u8, 53u8, 197u8, 61u8, 110u8, 51u8, 37u8, 216u8, + 127u8, 255u8, 255u8, 182u8, 194u8, 77u8, 103u8, 171u8, 142u8, 128u8, ], ) } @@ -35276,10 +35354,10 @@ pub mod api { "HrmpOpenChannelRequestsList", vec![], [ - 187u8, 157u8, 7u8, 183u8, 88u8, 215u8, 128u8, 174u8, 244u8, 130u8, - 137u8, 13u8, 110u8, 126u8, 181u8, 165u8, 142u8, 69u8, 75u8, 37u8, 37u8, - 149u8, 46u8, 100u8, 140u8, 69u8, 234u8, 171u8, 103u8, 136u8, 223u8, - 193u8, + 170u8, 61u8, 26u8, 132u8, 103u8, 8u8, 166u8, 104u8, 45u8, 181u8, 0u8, + 218u8, 30u8, 142u8, 225u8, 17u8, 46u8, 182u8, 152u8, 202u8, 203u8, + 168u8, 58u8, 57u8, 186u8, 105u8, 251u8, 227u8, 232u8, 51u8, 78u8, + 187u8, ], ) } @@ -35303,10 +35381,9 @@ pub mod api { _0.borrow(), )], [ - 156u8, 87u8, 232u8, 34u8, 30u8, 237u8, 159u8, 78u8, 212u8, 138u8, - 140u8, 206u8, 191u8, 117u8, 209u8, 218u8, 251u8, 146u8, 217u8, 56u8, - 93u8, 15u8, 131u8, 64u8, 126u8, 253u8, 126u8, 1u8, 12u8, 242u8, 176u8, - 217u8, + 153u8, 224u8, 69u8, 67u8, 106u8, 221u8, 28u8, 12u8, 246u8, 135u8, + 150u8, 198u8, 255u8, 11u8, 24u8, 74u8, 109u8, 118u8, 40u8, 151u8, 62u8, + 131u8, 235u8, 43u8, 89u8, 20u8, 211u8, 153u8, 34u8, 48u8, 81u8, 30u8, ], ) } @@ -35327,10 +35404,9 @@ pub mod api { "HrmpOpenChannelRequestCount", Vec::new(), [ - 156u8, 87u8, 232u8, 34u8, 30u8, 237u8, 159u8, 78u8, 212u8, 138u8, - 140u8, 206u8, 191u8, 117u8, 209u8, 218u8, 251u8, 146u8, 217u8, 56u8, - 93u8, 15u8, 131u8, 64u8, 126u8, 253u8, 126u8, 1u8, 12u8, 242u8, 176u8, - 217u8, + 153u8, 224u8, 69u8, 67u8, 106u8, 221u8, 28u8, 12u8, 246u8, 135u8, + 150u8, 198u8, 255u8, 11u8, 24u8, 74u8, 109u8, 118u8, 40u8, 151u8, 62u8, + 131u8, 235u8, 43u8, 89u8, 20u8, 211u8, 153u8, 34u8, 48u8, 81u8, 30u8, ], ) } @@ -35354,9 +35430,9 @@ pub mod api { _0.borrow(), )], [ - 93u8, 183u8, 17u8, 253u8, 119u8, 213u8, 106u8, 205u8, 17u8, 10u8, - 230u8, 242u8, 5u8, 223u8, 49u8, 235u8, 41u8, 221u8, 80u8, 51u8, 153u8, - 62u8, 191u8, 3u8, 120u8, 224u8, 46u8, 164u8, 161u8, 6u8, 15u8, 15u8, + 110u8, 50u8, 32u8, 98u8, 172u8, 143u8, 249u8, 151u8, 162u8, 5u8, 111u8, + 157u8, 248u8, 233u8, 192u8, 38u8, 42u8, 206u8, 107u8, 233u8, 73u8, + 108u8, 24u8, 78u8, 72u8, 119u8, 98u8, 126u8, 60u8, 132u8, 157u8, 38u8, ], ) } @@ -35377,9 +35453,9 @@ pub mod api { "HrmpAcceptedChannelRequestCount", Vec::new(), [ - 93u8, 183u8, 17u8, 253u8, 119u8, 213u8, 106u8, 205u8, 17u8, 10u8, - 230u8, 242u8, 5u8, 223u8, 49u8, 235u8, 41u8, 221u8, 80u8, 51u8, 153u8, - 62u8, 191u8, 3u8, 120u8, 224u8, 46u8, 164u8, 161u8, 6u8, 15u8, 15u8, + 110u8, 50u8, 32u8, 98u8, 172u8, 143u8, 249u8, 151u8, 162u8, 5u8, 111u8, + 157u8, 248u8, 233u8, 192u8, 38u8, 42u8, 206u8, 107u8, 233u8, 73u8, + 108u8, 24u8, 78u8, 72u8, 119u8, 98u8, 126u8, 60u8, 132u8, 157u8, 38u8, ], ) } @@ -35409,10 +35485,9 @@ pub mod api { _0.borrow(), )], [ - 125u8, 131u8, 1u8, 231u8, 19u8, 207u8, 229u8, 72u8, 150u8, 100u8, - 165u8, 215u8, 241u8, 165u8, 91u8, 35u8, 230u8, 148u8, 127u8, 249u8, - 128u8, 221u8, 167u8, 172u8, 67u8, 30u8, 177u8, 176u8, 134u8, 223u8, - 39u8, 87u8, + 222u8, 21u8, 62u8, 212u8, 4u8, 55u8, 189u8, 139u8, 18u8, 149u8, 225u8, + 39u8, 240u8, 220u8, 114u8, 154u8, 147u8, 90u8, 221u8, 126u8, 97u8, + 89u8, 167u8, 249u8, 121u8, 28u8, 211u8, 162u8, 0u8, 81u8, 110u8, 92u8, ], ) } @@ -35437,10 +35512,9 @@ pub mod api { "HrmpCloseChannelRequests", Vec::new(), [ - 125u8, 131u8, 1u8, 231u8, 19u8, 207u8, 229u8, 72u8, 150u8, 100u8, - 165u8, 215u8, 241u8, 165u8, 91u8, 35u8, 230u8, 148u8, 127u8, 249u8, - 128u8, 221u8, 167u8, 172u8, 67u8, 30u8, 177u8, 176u8, 134u8, 223u8, - 39u8, 87u8, + 222u8, 21u8, 62u8, 212u8, 4u8, 55u8, 189u8, 139u8, 18u8, 149u8, 225u8, + 39u8, 240u8, 220u8, 114u8, 154u8, 147u8, 90u8, 221u8, 126u8, 97u8, + 89u8, 167u8, 249u8, 121u8, 28u8, 211u8, 162u8, 0u8, 81u8, 110u8, 92u8, ], ) } @@ -35458,10 +35532,9 @@ pub mod api { "HrmpCloseChannelRequestsList", vec![], [ - 192u8, 165u8, 71u8, 70u8, 211u8, 233u8, 155u8, 146u8, 160u8, 58u8, - 103u8, 64u8, 123u8, 232u8, 157u8, 71u8, 199u8, 223u8, 158u8, 5u8, - 164u8, 93u8, 231u8, 153u8, 1u8, 63u8, 155u8, 4u8, 138u8, 89u8, 178u8, - 116u8, + 2u8, 178u8, 121u8, 142u8, 49u8, 53u8, 187u8, 3u8, 175u8, 222u8, 199u8, + 112u8, 176u8, 131u8, 181u8, 184u8, 137u8, 89u8, 75u8, 90u8, 58u8, 18u8, + 244u8, 117u8, 106u8, 212u8, 16u8, 177u8, 9u8, 191u8, 109u8, 8u8, ], ) } @@ -35485,9 +35558,9 @@ pub mod api { _0.borrow(), )], [ - 231u8, 195u8, 117u8, 35u8, 235u8, 18u8, 80u8, 28u8, 212u8, 37u8, 253u8, - 204u8, 71u8, 217u8, 12u8, 35u8, 219u8, 250u8, 45u8, 83u8, 102u8, 236u8, - 186u8, 149u8, 54u8, 31u8, 83u8, 19u8, 129u8, 51u8, 103u8, 155u8, + 113u8, 182u8, 65u8, 193u8, 220u8, 173u8, 226u8, 222u8, 55u8, 149u8, + 141u8, 123u8, 120u8, 9u8, 181u8, 84u8, 169u8, 144u8, 51u8, 13u8, 56u8, + 217u8, 129u8, 37u8, 8u8, 57u8, 238u8, 168u8, 96u8, 98u8, 244u8, 84u8, ], ) } @@ -35508,9 +35581,9 @@ pub mod api { "HrmpWatermarks", Vec::new(), [ - 231u8, 195u8, 117u8, 35u8, 235u8, 18u8, 80u8, 28u8, 212u8, 37u8, 253u8, - 204u8, 71u8, 217u8, 12u8, 35u8, 219u8, 250u8, 45u8, 83u8, 102u8, 236u8, - 186u8, 149u8, 54u8, 31u8, 83u8, 19u8, 129u8, 51u8, 103u8, 155u8, + 113u8, 182u8, 65u8, 193u8, 220u8, 173u8, 226u8, 222u8, 55u8, 149u8, + 141u8, 123u8, 120u8, 9u8, 181u8, 84u8, 169u8, 144u8, 51u8, 13u8, 56u8, + 217u8, 129u8, 37u8, 8u8, 57u8, 238u8, 168u8, 96u8, 98u8, 244u8, 84u8, ], ) } @@ -35536,10 +35609,10 @@ pub mod api { _0.borrow(), )], [ - 224u8, 252u8, 187u8, 122u8, 179u8, 193u8, 227u8, 250u8, 255u8, 216u8, - 107u8, 26u8, 224u8, 16u8, 178u8, 111u8, 77u8, 237u8, 177u8, 148u8, - 22u8, 17u8, 213u8, 99u8, 194u8, 140u8, 217u8, 211u8, 151u8, 51u8, 66u8, - 169u8, + 84u8, 208u8, 8u8, 151u8, 246u8, 31u8, 147u8, 139u8, 85u8, 187u8, 58u8, + 179u8, 101u8, 191u8, 72u8, 231u8, 99u8, 160u8, 247u8, 243u8, 114u8, + 170u8, 179u8, 82u8, 84u8, 130u8, 165u8, 57u8, 236u8, 156u8, 170u8, + 228u8, ], ) } @@ -35560,10 +35633,10 @@ pub mod api { "HrmpChannels", Vec::new(), [ - 224u8, 252u8, 187u8, 122u8, 179u8, 193u8, 227u8, 250u8, 255u8, 216u8, - 107u8, 26u8, 224u8, 16u8, 178u8, 111u8, 77u8, 237u8, 177u8, 148u8, - 22u8, 17u8, 213u8, 99u8, 194u8, 140u8, 217u8, 211u8, 151u8, 51u8, 66u8, - 169u8, + 84u8, 208u8, 8u8, 151u8, 246u8, 31u8, 147u8, 139u8, 85u8, 187u8, 58u8, + 179u8, 101u8, 191u8, 72u8, 231u8, 99u8, 160u8, 247u8, 243u8, 114u8, + 170u8, 179u8, 82u8, 84u8, 130u8, 165u8, 57u8, 236u8, 156u8, 170u8, + 228u8, ], ) } @@ -35597,9 +35670,10 @@ pub mod api { _0.borrow(), )], [ - 58u8, 193u8, 212u8, 225u8, 48u8, 195u8, 119u8, 15u8, 61u8, 166u8, - 249u8, 1u8, 118u8, 67u8, 253u8, 40u8, 58u8, 220u8, 124u8, 152u8, 4u8, - 16u8, 155u8, 151u8, 195u8, 15u8, 205u8, 175u8, 234u8, 0u8, 101u8, 99u8, + 214u8, 227u8, 150u8, 67u8, 44u8, 17u8, 184u8, 156u8, 126u8, 112u8, + 22u8, 254u8, 174u8, 133u8, 110u8, 126u8, 189u8, 169u8, 191u8, 236u8, + 139u8, 57u8, 236u8, 84u8, 102u8, 171u8, 167u8, 26u8, 42u8, 16u8, 29u8, + 203u8, ], ) } @@ -35630,9 +35704,10 @@ pub mod api { "HrmpIngressChannelsIndex", Vec::new(), [ - 58u8, 193u8, 212u8, 225u8, 48u8, 195u8, 119u8, 15u8, 61u8, 166u8, - 249u8, 1u8, 118u8, 67u8, 253u8, 40u8, 58u8, 220u8, 124u8, 152u8, 4u8, - 16u8, 155u8, 151u8, 195u8, 15u8, 205u8, 175u8, 234u8, 0u8, 101u8, 99u8, + 214u8, 227u8, 150u8, 67u8, 44u8, 17u8, 184u8, 156u8, 126u8, 112u8, + 22u8, 254u8, 174u8, 133u8, 110u8, 126u8, 189u8, 169u8, 191u8, 236u8, + 139u8, 57u8, 236u8, 84u8, 102u8, 171u8, 167u8, 26u8, 42u8, 16u8, 29u8, + 203u8, ], ) } @@ -35653,10 +35728,10 @@ pub mod api { _0.borrow(), )], [ - 9u8, 242u8, 41u8, 234u8, 85u8, 193u8, 232u8, 245u8, 254u8, 26u8, 240u8, - 113u8, 184u8, 151u8, 150u8, 44u8, 43u8, 98u8, 84u8, 209u8, 145u8, - 175u8, 128u8, 68u8, 183u8, 112u8, 171u8, 236u8, 211u8, 32u8, 177u8, - 88u8, + 170u8, 166u8, 34u8, 79u8, 110u8, 228u8, 62u8, 128u8, 3u8, 69u8, 212u8, + 42u8, 9u8, 145u8, 161u8, 232u8, 103u8, 182u8, 165u8, 103u8, 228u8, + 178u8, 122u8, 140u8, 255u8, 255u8, 246u8, 61u8, 220u8, 210u8, 101u8, + 46u8, ], ) } @@ -35674,10 +35749,10 @@ pub mod api { "HrmpEgressChannelsIndex", Vec::new(), [ - 9u8, 242u8, 41u8, 234u8, 85u8, 193u8, 232u8, 245u8, 254u8, 26u8, 240u8, - 113u8, 184u8, 151u8, 150u8, 44u8, 43u8, 98u8, 84u8, 209u8, 145u8, - 175u8, 128u8, 68u8, 183u8, 112u8, 171u8, 236u8, 211u8, 32u8, 177u8, - 88u8, + 170u8, 166u8, 34u8, 79u8, 110u8, 228u8, 62u8, 128u8, 3u8, 69u8, 212u8, + 42u8, 9u8, 145u8, 161u8, 232u8, 103u8, 182u8, 165u8, 103u8, 228u8, + 178u8, 122u8, 140u8, 255u8, 255u8, 246u8, 61u8, 220u8, 210u8, 101u8, + 46u8, ], ) } @@ -35706,9 +35781,9 @@ pub mod api { _0.borrow(), )], [ - 114u8, 86u8, 172u8, 88u8, 118u8, 243u8, 133u8, 147u8, 108u8, 60u8, - 128u8, 235u8, 45u8, 80u8, 225u8, 130u8, 89u8, 50u8, 40u8, 118u8, 63u8, - 3u8, 83u8, 222u8, 75u8, 167u8, 148u8, 150u8, 193u8, 90u8, 196u8, 225u8, + 255u8, 161u8, 150u8, 115u8, 50u8, 192u8, 25u8, 120u8, 56u8, 166u8, + 131u8, 174u8, 58u8, 200u8, 45u8, 80u8, 9u8, 99u8, 238u8, 49u8, 27u8, + 139u8, 95u8, 246u8, 203u8, 3u8, 22u8, 152u8, 30u8, 243u8, 41u8, 90u8, ], ) } @@ -35732,9 +35807,9 @@ pub mod api { "HrmpChannelContents", Vec::new(), [ - 114u8, 86u8, 172u8, 88u8, 118u8, 243u8, 133u8, 147u8, 108u8, 60u8, - 128u8, 235u8, 45u8, 80u8, 225u8, 130u8, 89u8, 50u8, 40u8, 118u8, 63u8, - 3u8, 83u8, 222u8, 75u8, 167u8, 148u8, 150u8, 193u8, 90u8, 196u8, 225u8, + 255u8, 161u8, 150u8, 115u8, 50u8, 192u8, 25u8, 120u8, 56u8, 166u8, + 131u8, 174u8, 58u8, 200u8, 45u8, 80u8, 9u8, 99u8, 238u8, 49u8, 27u8, + 139u8, 95u8, 246u8, 203u8, 3u8, 22u8, 152u8, 30u8, 243u8, 41u8, 90u8, ], ) } @@ -35764,9 +35839,9 @@ pub mod api { _0.borrow(), )], [ - 205u8, 18u8, 60u8, 54u8, 123u8, 40u8, 160u8, 149u8, 174u8, 45u8, 135u8, - 213u8, 83u8, 44u8, 97u8, 243u8, 47u8, 200u8, 156u8, 131u8, 15u8, 63u8, - 170u8, 206u8, 101u8, 17u8, 244u8, 132u8, 73u8, 133u8, 79u8, 104u8, + 87u8, 180u8, 240u8, 237u8, 245u8, 101u8, 209u8, 126u8, 57u8, 116u8, + 158u8, 38u8, 139u8, 76u8, 172u8, 94u8, 232u8, 149u8, 68u8, 67u8, 25u8, + 131u8, 18u8, 202u8, 159u8, 143u8, 222u8, 243u8, 4u8, 84u8, 24u8, 8u8, ], ) } @@ -35793,9 +35868,9 @@ pub mod api { "HrmpChannelDigests", Vec::new(), [ - 205u8, 18u8, 60u8, 54u8, 123u8, 40u8, 160u8, 149u8, 174u8, 45u8, 135u8, - 213u8, 83u8, 44u8, 97u8, 243u8, 47u8, 200u8, 156u8, 131u8, 15u8, 63u8, - 170u8, 206u8, 101u8, 17u8, 244u8, 132u8, 73u8, 133u8, 79u8, 104u8, + 87u8, 180u8, 240u8, 237u8, 245u8, 101u8, 209u8, 126u8, 57u8, 116u8, + 158u8, 38u8, 139u8, 76u8, 172u8, 94u8, 232u8, 149u8, 68u8, 67u8, 25u8, + 131u8, 18u8, 202u8, 159u8, 143u8, 222u8, 243u8, 4u8, 84u8, 24u8, 8u8, ], ) } @@ -35826,9 +35901,9 @@ pub mod api { "AssignmentKeysUnsafe", vec![], [ - 80u8, 24u8, 61u8, 132u8, 118u8, 225u8, 207u8, 75u8, 35u8, 240u8, 209u8, - 255u8, 19u8, 240u8, 114u8, 174u8, 86u8, 65u8, 65u8, 52u8, 135u8, 232u8, - 59u8, 208u8, 3u8, 107u8, 114u8, 241u8, 14u8, 98u8, 40u8, 226u8, + 51u8, 155u8, 91u8, 101u8, 118u8, 243u8, 134u8, 138u8, 147u8, 59u8, + 195u8, 186u8, 54u8, 187u8, 36u8, 14u8, 91u8, 141u8, 60u8, 139u8, 28u8, + 74u8, 111u8, 232u8, 198u8, 229u8, 61u8, 63u8, 72u8, 214u8, 152u8, 2u8, ], ) } @@ -35847,10 +35922,9 @@ pub mod api { "EarliestStoredSession", vec![], [ - 25u8, 143u8, 246u8, 184u8, 35u8, 166u8, 140u8, 147u8, 171u8, 5u8, - 164u8, 159u8, 228u8, 21u8, 248u8, 236u8, 48u8, 210u8, 133u8, 140u8, - 171u8, 3u8, 85u8, 250u8, 160u8, 102u8, 95u8, 46u8, 33u8, 81u8, 102u8, - 241u8, + 139u8, 176u8, 46u8, 139u8, 217u8, 35u8, 62u8, 91u8, 183u8, 7u8, 114u8, + 226u8, 60u8, 237u8, 105u8, 73u8, 20u8, 216u8, 194u8, 205u8, 178u8, + 237u8, 84u8, 66u8, 181u8, 29u8, 31u8, 218u8, 48u8, 60u8, 198u8, 86u8, ], ) } @@ -35874,10 +35948,9 @@ pub mod api { _0.borrow(), )], [ - 186u8, 220u8, 61u8, 52u8, 195u8, 40u8, 214u8, 113u8, 92u8, 109u8, - 221u8, 201u8, 122u8, 213u8, 124u8, 35u8, 244u8, 55u8, 244u8, 168u8, - 23u8, 0u8, 240u8, 109u8, 143u8, 90u8, 40u8, 87u8, 127u8, 64u8, 100u8, - 75u8, + 81u8, 113u8, 231u8, 59u8, 121u8, 0u8, 152u8, 106u8, 38u8, 173u8, 219u8, + 186u8, 98u8, 164u8, 31u8, 64u8, 156u8, 185u8, 33u8, 249u8, 193u8, + 185u8, 120u8, 67u8, 146u8, 33u8, 16u8, 29u8, 50u8, 158u8, 75u8, 106u8, ], ) } @@ -35898,10 +35971,9 @@ pub mod api { "Sessions", Vec::new(), [ - 186u8, 220u8, 61u8, 52u8, 195u8, 40u8, 214u8, 113u8, 92u8, 109u8, - 221u8, 201u8, 122u8, 213u8, 124u8, 35u8, 244u8, 55u8, 244u8, 168u8, - 23u8, 0u8, 240u8, 109u8, 143u8, 90u8, 40u8, 87u8, 127u8, 64u8, 100u8, - 75u8, + 81u8, 113u8, 231u8, 59u8, 121u8, 0u8, 152u8, 106u8, 38u8, 173u8, 219u8, + 186u8, 98u8, 164u8, 31u8, 64u8, 156u8, 185u8, 33u8, 249u8, 193u8, + 185u8, 120u8, 67u8, 146u8, 33u8, 16u8, 29u8, 50u8, 158u8, 75u8, 106u8, ], ) } @@ -35923,9 +35995,10 @@ pub mod api { _0.borrow(), )], [ - 48u8, 179u8, 139u8, 15u8, 144u8, 71u8, 92u8, 160u8, 254u8, 237u8, 98u8, - 60u8, 254u8, 208u8, 201u8, 32u8, 79u8, 55u8, 3u8, 33u8, 188u8, 134u8, - 18u8, 151u8, 132u8, 40u8, 192u8, 215u8, 94u8, 124u8, 148u8, 142u8, + 30u8, 98u8, 58u8, 140u8, 96u8, 231u8, 205u8, 111u8, 194u8, 100u8, + 185u8, 242u8, 210u8, 143u8, 110u8, 144u8, 170u8, 187u8, 62u8, 196u8, + 73u8, 88u8, 118u8, 168u8, 117u8, 116u8, 153u8, 229u8, 108u8, 46u8, + 154u8, 220u8, ], ) } @@ -35944,9 +36017,10 @@ pub mod api { "AccountKeys", Vec::new(), [ - 48u8, 179u8, 139u8, 15u8, 144u8, 71u8, 92u8, 160u8, 254u8, 237u8, 98u8, - 60u8, 254u8, 208u8, 201u8, 32u8, 79u8, 55u8, 3u8, 33u8, 188u8, 134u8, - 18u8, 151u8, 132u8, 40u8, 192u8, 215u8, 94u8, 124u8, 148u8, 142u8, + 30u8, 98u8, 58u8, 140u8, 96u8, 231u8, 205u8, 111u8, 194u8, 100u8, + 185u8, 242u8, 210u8, 143u8, 110u8, 144u8, 170u8, 187u8, 62u8, 196u8, + 73u8, 88u8, 118u8, 168u8, 117u8, 116u8, 153u8, 229u8, 108u8, 46u8, + 154u8, 220u8, ], ) } @@ -35968,9 +36042,9 @@ pub mod api { _0.borrow(), )], [ - 182u8, 246u8, 210u8, 246u8, 208u8, 93u8, 19u8, 9u8, 132u8, 75u8, 158u8, - 40u8, 146u8, 8u8, 143u8, 37u8, 148u8, 19u8, 89u8, 70u8, 151u8, 143u8, - 143u8, 62u8, 127u8, 208u8, 74u8, 177u8, 82u8, 55u8, 226u8, 43u8, + 157u8, 157u8, 106u8, 251u8, 26u8, 102u8, 210u8, 194u8, 203u8, 167u8, + 231u8, 176u8, 93u8, 83u8, 214u8, 57u8, 15u8, 235u8, 74u8, 191u8, 131u8, + 143u8, 243u8, 171u8, 54u8, 16u8, 137u8, 185u8, 96u8, 46u8, 123u8, 57u8, ], ) } @@ -35989,9 +36063,9 @@ pub mod api { "SessionExecutorParams", Vec::new(), [ - 182u8, 246u8, 210u8, 246u8, 208u8, 93u8, 19u8, 9u8, 132u8, 75u8, 158u8, - 40u8, 146u8, 8u8, 143u8, 37u8, 148u8, 19u8, 89u8, 70u8, 151u8, 143u8, - 143u8, 62u8, 127u8, 208u8, 74u8, 177u8, 82u8, 55u8, 226u8, 43u8, + 157u8, 157u8, 106u8, 251u8, 26u8, 102u8, 210u8, 194u8, 203u8, 167u8, + 231u8, 176u8, 93u8, 83u8, 214u8, 57u8, 15u8, 235u8, 74u8, 191u8, 131u8, + 143u8, 243u8, 171u8, 54u8, 16u8, 137u8, 185u8, 96u8, 46u8, 123u8, 57u8, ], ) } @@ -36035,10 +36109,9 @@ pub mod api { "force_unfreeze", types::ForceUnfreeze {}, [ - 212u8, 211u8, 58u8, 159u8, 23u8, 220u8, 64u8, 175u8, 65u8, 50u8, 192u8, - 122u8, 113u8, 189u8, 74u8, 191u8, 48u8, 93u8, 251u8, 50u8, 237u8, - 240u8, 91u8, 139u8, 193u8, 114u8, 131u8, 125u8, 124u8, 236u8, 191u8, - 190u8, + 148u8, 19u8, 139u8, 154u8, 111u8, 166u8, 74u8, 136u8, 127u8, 157u8, + 20u8, 47u8, 220u8, 108u8, 152u8, 108u8, 24u8, 232u8, 11u8, 53u8, 26u8, + 4u8, 23u8, 58u8, 195u8, 61u8, 159u8, 6u8, 139u8, 7u8, 197u8, 88u8, ], ) } @@ -36128,9 +36201,10 @@ pub mod api { "LastPrunedSession", vec![], [ - 125u8, 138u8, 99u8, 242u8, 9u8, 246u8, 215u8, 246u8, 141u8, 6u8, 129u8, - 87u8, 27u8, 58u8, 53u8, 121u8, 61u8, 119u8, 35u8, 104u8, 33u8, 43u8, - 179u8, 82u8, 244u8, 121u8, 174u8, 135u8, 87u8, 119u8, 236u8, 105u8, + 98u8, 107u8, 200u8, 158u8, 182u8, 120u8, 24u8, 242u8, 24u8, 163u8, + 237u8, 72u8, 153u8, 19u8, 38u8, 85u8, 239u8, 208u8, 194u8, 22u8, 173u8, + 100u8, 219u8, 10u8, 194u8, 42u8, 120u8, 146u8, 225u8, 62u8, 80u8, + 229u8, ], ) } @@ -36156,10 +36230,10 @@ pub mod api { ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 192u8, 238u8, 255u8, 67u8, 169u8, 86u8, 99u8, 243u8, 228u8, 88u8, - 142u8, 138u8, 183u8, 117u8, 82u8, 22u8, 163u8, 30u8, 175u8, 247u8, - 50u8, 204u8, 12u8, 171u8, 57u8, 189u8, 151u8, 191u8, 196u8, 89u8, 94u8, - 165u8, + 238u8, 133u8, 13u8, 247u8, 199u8, 82u8, 60u8, 30u8, 124u8, 64u8, 52u8, + 136u8, 173u8, 44u8, 147u8, 10u8, 188u8, 12u8, 50u8, 141u8, 126u8, + 112u8, 177u8, 75u8, 78u8, 102u8, 189u8, 234u8, 142u8, 210u8, 6u8, + 129u8, ], ) } @@ -36178,10 +36252,10 @@ pub mod api { "Disputes", Vec::new(), [ - 192u8, 238u8, 255u8, 67u8, 169u8, 86u8, 99u8, 243u8, 228u8, 88u8, - 142u8, 138u8, 183u8, 117u8, 82u8, 22u8, 163u8, 30u8, 175u8, 247u8, - 50u8, 204u8, 12u8, 171u8, 57u8, 189u8, 151u8, 191u8, 196u8, 89u8, 94u8, - 165u8, + 238u8, 133u8, 13u8, 247u8, 199u8, 82u8, 60u8, 30u8, 124u8, 64u8, 52u8, + 136u8, 173u8, 44u8, 147u8, 10u8, 188u8, 12u8, 50u8, 141u8, 126u8, + 112u8, 177u8, 75u8, 78u8, 102u8, 189u8, 234u8, 142u8, 210u8, 6u8, + 129u8, ], ) } @@ -36208,9 +36282,10 @@ pub mod api { ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 78u8, 51u8, 233u8, 125u8, 212u8, 66u8, 171u8, 4u8, 46u8, 64u8, 92u8, - 237u8, 177u8, 72u8, 36u8, 163u8, 64u8, 238u8, 47u8, 61u8, 34u8, 249u8, - 178u8, 133u8, 129u8, 52u8, 103u8, 14u8, 91u8, 184u8, 192u8, 237u8, + 39u8, 198u8, 10u8, 24u8, 189u8, 43u8, 44u8, 58u8, 52u8, 40u8, 112u8, + 131u8, 69u8, 142u8, 12u8, 136u8, 111u8, 160u8, 177u8, 89u8, 150u8, + 246u8, 10u8, 174u8, 103u8, 192u8, 19u8, 72u8, 152u8, 246u8, 125u8, + 184u8, ], ) } @@ -36230,9 +36305,10 @@ pub mod api { "BackersOnDisputes", Vec::new(), [ - 78u8, 51u8, 233u8, 125u8, 212u8, 66u8, 171u8, 4u8, 46u8, 64u8, 92u8, - 237u8, 177u8, 72u8, 36u8, 163u8, 64u8, 238u8, 47u8, 61u8, 34u8, 249u8, - 178u8, 133u8, 129u8, 52u8, 103u8, 14u8, 91u8, 184u8, 192u8, 237u8, + 39u8, 198u8, 10u8, 24u8, 189u8, 43u8, 44u8, 58u8, 52u8, 40u8, 112u8, + 131u8, 69u8, 142u8, 12u8, 136u8, 111u8, 160u8, 177u8, 89u8, 150u8, + 246u8, 10u8, 174u8, 103u8, 192u8, 19u8, 72u8, 152u8, 246u8, 125u8, + 184u8, ], ) } @@ -36259,10 +36335,10 @@ pub mod api { ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 129u8, 50u8, 76u8, 60u8, 82u8, 106u8, 248u8, 164u8, 152u8, 80u8, 58u8, - 185u8, 211u8, 225u8, 122u8, 100u8, 234u8, 241u8, 123u8, 205u8, 4u8, - 8u8, 193u8, 116u8, 167u8, 158u8, 252u8, 223u8, 204u8, 226u8, 74u8, - 195u8, + 25u8, 214u8, 24u8, 25u8, 177u8, 63u8, 232u8, 169u8, 137u8, 37u8, 254u8, + 237u8, 164u8, 181u8, 71u8, 233u8, 36u8, 250u8, 184u8, 121u8, 31u8, + 143u8, 199u8, 57u8, 164u8, 190u8, 24u8, 30u8, 178u8, 232u8, 207u8, + 248u8, ], ) } @@ -36282,10 +36358,10 @@ pub mod api { "Included", Vec::new(), [ - 129u8, 50u8, 76u8, 60u8, 82u8, 106u8, 248u8, 164u8, 152u8, 80u8, 58u8, - 185u8, 211u8, 225u8, 122u8, 100u8, 234u8, 241u8, 123u8, 205u8, 4u8, - 8u8, 193u8, 116u8, 167u8, 158u8, 252u8, 223u8, 204u8, 226u8, 74u8, - 195u8, + 25u8, 214u8, 24u8, 25u8, 177u8, 63u8, 232u8, 169u8, 137u8, 37u8, 254u8, + 237u8, 164u8, 181u8, 71u8, 233u8, 36u8, 250u8, 184u8, 121u8, 31u8, + 143u8, 199u8, 57u8, 164u8, 190u8, 24u8, 30u8, 178u8, 232u8, 207u8, + 248u8, ], ) } @@ -36307,10 +36383,9 @@ pub mod api { "Frozen", vec![], [ - 133u8, 100u8, 86u8, 220u8, 180u8, 189u8, 65u8, 131u8, 64u8, 56u8, - 219u8, 47u8, 130u8, 167u8, 210u8, 125u8, 49u8, 7u8, 153u8, 254u8, 20u8, - 53u8, 218u8, 177u8, 122u8, 148u8, 16u8, 198u8, 251u8, 50u8, 194u8, - 128u8, + 245u8, 136u8, 43u8, 156u8, 7u8, 74u8, 31u8, 190u8, 184u8, 119u8, 182u8, + 66u8, 18u8, 136u8, 30u8, 248u8, 24u8, 121u8, 26u8, 177u8, 169u8, 208u8, + 218u8, 208u8, 80u8, 116u8, 31u8, 144u8, 49u8, 201u8, 198u8, 197u8, ], ) } @@ -36363,10 +36438,10 @@ pub mod api { key_owner_proof, }, [ - 56u8, 94u8, 136u8, 125u8, 219u8, 155u8, 79u8, 241u8, 109u8, 125u8, - 106u8, 175u8, 5u8, 189u8, 34u8, 232u8, 132u8, 113u8, 157u8, 184u8, - 10u8, 34u8, 135u8, 184u8, 36u8, 224u8, 234u8, 141u8, 35u8, 69u8, 254u8, - 125u8, + 141u8, 19u8, 126u8, 209u8, 239u8, 179u8, 5u8, 160u8, 152u8, 138u8, + 71u8, 100u8, 191u8, 96u8, 188u8, 50u8, 231u8, 175u8, 6u8, 222u8, 231u8, + 75u8, 186u8, 217u8, 143u8, 140u8, 31u8, 220u8, 120u8, 21u8, 82u8, + 227u8, ], ) } @@ -36398,9 +36473,10 @@ pub mod api { ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 54u8, 95u8, 76u8, 24u8, 68u8, 137u8, 201u8, 120u8, 51u8, 146u8, 12u8, - 14u8, 39u8, 109u8, 69u8, 148u8, 117u8, 193u8, 139u8, 82u8, 23u8, 77u8, - 0u8, 16u8, 64u8, 125u8, 181u8, 249u8, 23u8, 156u8, 70u8, 90u8, + 40u8, 98u8, 183u8, 200u8, 117u8, 36u8, 247u8, 120u8, 56u8, 127u8, + 121u8, 166u8, 176u8, 146u8, 247u8, 90u8, 143u8, 49u8, 144u8, 10u8, + 103u8, 49u8, 222u8, 206u8, 230u8, 84u8, 116u8, 72u8, 191u8, 86u8, + 243u8, 51u8, ], ) } @@ -36419,9 +36495,10 @@ pub mod api { "UnappliedSlashes", Vec::new(), [ - 54u8, 95u8, 76u8, 24u8, 68u8, 137u8, 201u8, 120u8, 51u8, 146u8, 12u8, - 14u8, 39u8, 109u8, 69u8, 148u8, 117u8, 193u8, 139u8, 82u8, 23u8, 77u8, - 0u8, 16u8, 64u8, 125u8, 181u8, 249u8, 23u8, 156u8, 70u8, 90u8, + 40u8, 98u8, 183u8, 200u8, 117u8, 36u8, 247u8, 120u8, 56u8, 127u8, + 121u8, 166u8, 176u8, 146u8, 247u8, 90u8, 143u8, 49u8, 144u8, 10u8, + 103u8, 49u8, 222u8, 206u8, 230u8, 84u8, 116u8, 72u8, 191u8, 86u8, + 243u8, 51u8, ], ) } @@ -36443,10 +36520,9 @@ pub mod api { _0.borrow(), )], [ - 121u8, 241u8, 222u8, 61u8, 186u8, 55u8, 206u8, 246u8, 31u8, 128u8, - 103u8, 53u8, 6u8, 73u8, 13u8, 120u8, 63u8, 56u8, 167u8, 75u8, 113u8, - 102u8, 221u8, 129u8, 151u8, 186u8, 225u8, 169u8, 128u8, 192u8, 107u8, - 214u8, + 126u8, 203u8, 18u8, 78u8, 43u8, 170u8, 59u8, 232u8, 218u8, 64u8, 142u8, + 73u8, 236u8, 71u8, 248u8, 113u8, 109u8, 1u8, 66u8, 114u8, 200u8, 233u8, + 227u8, 174u8, 20u8, 14u8, 217u8, 78u8, 103u8, 119u8, 78u8, 125u8, ], ) } @@ -36465,10 +36541,9 @@ pub mod api { "ValidatorSetCounts", Vec::new(), [ - 121u8, 241u8, 222u8, 61u8, 186u8, 55u8, 206u8, 246u8, 31u8, 128u8, - 103u8, 53u8, 6u8, 73u8, 13u8, 120u8, 63u8, 56u8, 167u8, 75u8, 113u8, - 102u8, 221u8, 129u8, 151u8, 186u8, 225u8, 169u8, 128u8, 192u8, 107u8, - 214u8, + 126u8, 203u8, 18u8, 78u8, 43u8, 170u8, 59u8, 232u8, 218u8, 64u8, 142u8, + 73u8, 236u8, 71u8, 248u8, 113u8, 109u8, 1u8, 66u8, 114u8, 200u8, 233u8, + 227u8, 174u8, 20u8, 14u8, 217u8, 78u8, 103u8, 119u8, 78u8, 125u8, ], ) } @@ -36682,9 +36757,9 @@ pub mod api { validation_code, }, [ - 154u8, 84u8, 201u8, 125u8, 72u8, 69u8, 188u8, 42u8, 225u8, 14u8, 136u8, - 48u8, 78u8, 86u8, 99u8, 238u8, 252u8, 255u8, 226u8, 219u8, 214u8, 17u8, - 19u8, 9u8, 12u8, 13u8, 174u8, 243u8, 37u8, 134u8, 76u8, 23u8, + 65u8, 80u8, 86u8, 147u8, 121u8, 86u8, 48u8, 255u8, 59u8, 10u8, 61u8, + 20u8, 89u8, 146u8, 7u8, 25u8, 64u8, 18u8, 102u8, 147u8, 207u8, 203u8, + 45u8, 113u8, 219u8, 251u8, 188u8, 159u8, 244u8, 27u8, 90u8, 243u8, ], ) } @@ -36713,9 +36788,9 @@ pub mod api { validation_code, }, [ - 59u8, 24u8, 236u8, 163u8, 53u8, 49u8, 92u8, 199u8, 38u8, 76u8, 101u8, - 73u8, 166u8, 105u8, 145u8, 55u8, 89u8, 30u8, 30u8, 137u8, 151u8, 219u8, - 116u8, 226u8, 168u8, 220u8, 222u8, 6u8, 105u8, 91u8, 254u8, 216u8, + 75u8, 101u8, 38u8, 63u8, 231u8, 89u8, 241u8, 165u8, 151u8, 93u8, 187u8, + 66u8, 156u8, 181u8, 5u8, 204u8, 116u8, 63u8, 176u8, 215u8, 156u8, + 152u8, 254u8, 80u8, 196u8, 171u8, 57u8, 121u8, 92u8, 14u8, 61u8, 9u8, ], ) } @@ -36731,9 +36806,9 @@ pub mod api { "deregister", types::Deregister { id }, [ - 137u8, 9u8, 146u8, 11u8, 126u8, 125u8, 186u8, 222u8, 246u8, 199u8, - 94u8, 229u8, 147u8, 245u8, 213u8, 51u8, 203u8, 181u8, 78u8, 87u8, 18u8, - 255u8, 79u8, 107u8, 234u8, 2u8, 21u8, 212u8, 1u8, 73u8, 173u8, 253u8, + 212u8, 38u8, 98u8, 234u8, 146u8, 188u8, 71u8, 244u8, 238u8, 255u8, 3u8, + 89u8, 52u8, 242u8, 126u8, 187u8, 185u8, 193u8, 174u8, 187u8, 196u8, + 3u8, 66u8, 77u8, 173u8, 115u8, 52u8, 210u8, 69u8, 221u8, 109u8, 112u8, ], ) } @@ -36758,9 +36833,10 @@ pub mod api { "swap", types::Swap { id, other }, [ - 238u8, 154u8, 249u8, 250u8, 57u8, 242u8, 47u8, 17u8, 50u8, 70u8, 124u8, - 189u8, 193u8, 137u8, 107u8, 138u8, 216u8, 137u8, 160u8, 103u8, 192u8, - 133u8, 7u8, 130u8, 41u8, 39u8, 47u8, 139u8, 202u8, 7u8, 84u8, 214u8, + 38u8, 63u8, 41u8, 127u8, 128u8, 141u8, 233u8, 3u8, 94u8, 21u8, 143u8, + 30u8, 223u8, 120u8, 140u8, 204u8, 199u8, 237u8, 71u8, 227u8, 173u8, + 105u8, 121u8, 94u8, 231u8, 117u8, 51u8, 228u8, 14u8, 227u8, 80u8, + 162u8, ], ) } @@ -36777,9 +36853,9 @@ pub mod api { "remove_lock", types::RemoveLock { para }, [ - 93u8, 50u8, 223u8, 180u8, 185u8, 3u8, 225u8, 27u8, 233u8, 205u8, 101u8, - 86u8, 122u8, 19u8, 147u8, 8u8, 202u8, 151u8, 80u8, 24u8, 196u8, 2u8, - 88u8, 250u8, 184u8, 96u8, 158u8, 70u8, 181u8, 201u8, 200u8, 213u8, + 239u8, 207u8, 248u8, 246u8, 244u8, 128u8, 113u8, 114u8, 6u8, 232u8, + 218u8, 123u8, 241u8, 190u8, 255u8, 48u8, 26u8, 248u8, 33u8, 86u8, 87u8, + 219u8, 65u8, 104u8, 66u8, 68u8, 34u8, 201u8, 43u8, 159u8, 141u8, 100u8, ], ) } @@ -36803,10 +36879,9 @@ pub mod api { "reserve", types::Reserve {}, [ - 22u8, 210u8, 13u8, 54u8, 253u8, 13u8, 89u8, 174u8, 232u8, 119u8, 148u8, - 206u8, 130u8, 133u8, 199u8, 127u8, 201u8, 205u8, 8u8, 213u8, 108u8, - 93u8, 135u8, 88u8, 238u8, 171u8, 31u8, 193u8, 23u8, 113u8, 106u8, - 135u8, + 50u8, 72u8, 218u8, 145u8, 224u8, 93u8, 219u8, 220u8, 121u8, 35u8, + 104u8, 11u8, 139u8, 114u8, 171u8, 101u8, 40u8, 13u8, 33u8, 39u8, 245u8, + 146u8, 138u8, 159u8, 245u8, 236u8, 26u8, 0u8, 20u8, 243u8, 128u8, 81u8, ], ) } @@ -36823,9 +36898,9 @@ pub mod api { "add_lock", types::AddLock { para }, [ - 99u8, 199u8, 192u8, 92u8, 180u8, 52u8, 86u8, 165u8, 249u8, 60u8, 72u8, - 79u8, 233u8, 5u8, 83u8, 194u8, 48u8, 83u8, 249u8, 218u8, 141u8, 234u8, - 232u8, 59u8, 9u8, 150u8, 147u8, 173u8, 91u8, 154u8, 81u8, 17u8, + 158u8, 27u8, 55u8, 53u8, 71u8, 221u8, 37u8, 73u8, 23u8, 165u8, 129u8, + 17u8, 167u8, 79u8, 112u8, 35u8, 231u8, 8u8, 241u8, 151u8, 207u8, 235u8, + 224u8, 104u8, 102u8, 108u8, 10u8, 244u8, 33u8, 67u8, 45u8, 13u8, ], ) } @@ -36842,9 +36917,10 @@ pub mod api { "schedule_code_upgrade", types::ScheduleCodeUpgrade { para, new_code }, [ - 67u8, 11u8, 148u8, 83u8, 36u8, 106u8, 97u8, 77u8, 79u8, 114u8, 249u8, - 218u8, 207u8, 89u8, 209u8, 120u8, 45u8, 101u8, 69u8, 21u8, 61u8, 158u8, - 90u8, 83u8, 29u8, 143u8, 55u8, 9u8, 178u8, 75u8, 183u8, 25u8, + 234u8, 22u8, 133u8, 175u8, 218u8, 250u8, 119u8, 175u8, 23u8, 250u8, + 175u8, 48u8, 247u8, 208u8, 235u8, 167u8, 24u8, 248u8, 247u8, 236u8, + 239u8, 9u8, 78u8, 195u8, 146u8, 172u8, 41u8, 105u8, 183u8, 253u8, 1u8, + 170u8, ], ) } @@ -36861,10 +36937,10 @@ pub mod api { "set_current_head", types::SetCurrentHead { para, new_head }, [ - 103u8, 240u8, 206u8, 26u8, 120u8, 189u8, 94u8, 221u8, 174u8, 225u8, - 210u8, 176u8, 217u8, 18u8, 94u8, 216u8, 77u8, 205u8, 86u8, 196u8, - 121u8, 4u8, 230u8, 147u8, 19u8, 224u8, 38u8, 254u8, 199u8, 254u8, - 245u8, 110u8, + 201u8, 49u8, 104u8, 135u8, 80u8, 233u8, 154u8, 193u8, 143u8, 209u8, + 10u8, 209u8, 234u8, 252u8, 142u8, 216u8, 220u8, 249u8, 23u8, 252u8, + 73u8, 169u8, 204u8, 242u8, 59u8, 19u8, 18u8, 35u8, 115u8, 209u8, 79u8, + 112u8, ], ) } @@ -36968,10 +37044,9 @@ pub mod api { _0.borrow(), )], [ - 121u8, 124u8, 4u8, 120u8, 173u8, 48u8, 227u8, 135u8, 72u8, 74u8, 238u8, - 230u8, 1u8, 175u8, 33u8, 241u8, 138u8, 82u8, 217u8, 129u8, 138u8, - 107u8, 59u8, 8u8, 205u8, 244u8, 192u8, 159u8, 171u8, 123u8, 149u8, - 174u8, + 0u8, 222u8, 4u8, 88u8, 174u8, 146u8, 239u8, 193u8, 205u8, 49u8, 21u8, + 147u8, 143u8, 4u8, 148u8, 102u8, 100u8, 205u8, 27u8, 108u8, 19u8, + 209u8, 98u8, 218u8, 72u8, 220u8, 213u8, 91u8, 16u8, 96u8, 128u8, 58u8, ], ) } @@ -36990,10 +37065,9 @@ pub mod api { "PendingSwap", Vec::new(), [ - 121u8, 124u8, 4u8, 120u8, 173u8, 48u8, 227u8, 135u8, 72u8, 74u8, 238u8, - 230u8, 1u8, 175u8, 33u8, 241u8, 138u8, 82u8, 217u8, 129u8, 138u8, - 107u8, 59u8, 8u8, 205u8, 244u8, 192u8, 159u8, 171u8, 123u8, 149u8, - 174u8, + 0u8, 222u8, 4u8, 88u8, 174u8, 146u8, 239u8, 193u8, 205u8, 49u8, 21u8, + 147u8, 143u8, 4u8, 148u8, 102u8, 100u8, 205u8, 27u8, 108u8, 19u8, + 209u8, 98u8, 218u8, 72u8, 220u8, 213u8, 91u8, 16u8, 96u8, 128u8, 58u8, ], ) } @@ -37021,9 +37095,9 @@ pub mod api { _0.borrow(), )], [ - 149u8, 3u8, 25u8, 145u8, 60u8, 126u8, 219u8, 71u8, 88u8, 241u8, 122u8, - 99u8, 134u8, 191u8, 60u8, 172u8, 230u8, 230u8, 110u8, 31u8, 43u8, 6u8, - 146u8, 161u8, 51u8, 21u8, 169u8, 220u8, 240u8, 218u8, 124u8, 56u8, + 187u8, 63u8, 130u8, 102u8, 222u8, 144u8, 126u8, 130u8, 82u8, 22u8, + 64u8, 237u8, 229u8, 91u8, 66u8, 52u8, 9u8, 40u8, 254u8, 60u8, 55u8, + 42u8, 144u8, 254u8, 102u8, 21u8, 86u8, 136u8, 49u8, 156u8, 94u8, 163u8, ], ) } @@ -37048,9 +37122,9 @@ pub mod api { "Paras", Vec::new(), [ - 149u8, 3u8, 25u8, 145u8, 60u8, 126u8, 219u8, 71u8, 88u8, 241u8, 122u8, - 99u8, 134u8, 191u8, 60u8, 172u8, 230u8, 230u8, 110u8, 31u8, 43u8, 6u8, - 146u8, 161u8, 51u8, 21u8, 169u8, 220u8, 240u8, 218u8, 124u8, 56u8, + 187u8, 63u8, 130u8, 102u8, 222u8, 144u8, 126u8, 130u8, 82u8, 22u8, + 64u8, 237u8, 229u8, 91u8, 66u8, 52u8, 9u8, 40u8, 254u8, 60u8, 55u8, + 42u8, 144u8, 254u8, 102u8, 21u8, 86u8, 136u8, 49u8, 156u8, 94u8, 163u8, ], ) } @@ -37069,9 +37143,10 @@ pub mod api { "NextFreeParaId", vec![], [ - 139u8, 76u8, 36u8, 150u8, 237u8, 36u8, 143u8, 242u8, 252u8, 29u8, - 236u8, 168u8, 97u8, 50u8, 175u8, 120u8, 83u8, 118u8, 205u8, 64u8, 95u8, - 65u8, 7u8, 230u8, 171u8, 86u8, 189u8, 205u8, 231u8, 211u8, 97u8, 29u8, + 52u8, 14u8, 56u8, 196u8, 79u8, 221u8, 32u8, 14u8, 154u8, 247u8, 94u8, + 219u8, 11u8, 11u8, 104u8, 137u8, 167u8, 195u8, 180u8, 101u8, 35u8, + 235u8, 67u8, 144u8, 128u8, 209u8, 189u8, 227u8, 177u8, 74u8, 42u8, + 15u8, ], ) } @@ -37205,9 +37280,10 @@ pub mod api { period_count, }, [ - 196u8, 2u8, 63u8, 229u8, 18u8, 134u8, 48u8, 4u8, 165u8, 46u8, 173u8, - 0u8, 189u8, 35u8, 99u8, 84u8, 103u8, 124u8, 233u8, 246u8, 60u8, 172u8, - 181u8, 205u8, 154u8, 164u8, 36u8, 178u8, 60u8, 164u8, 166u8, 21u8, + 113u8, 172u8, 189u8, 121u8, 219u8, 25u8, 52u8, 96u8, 146u8, 77u8, + 184u8, 237u8, 173u8, 143u8, 234u8, 177u8, 178u8, 74u8, 91u8, 102u8, + 154u8, 195u8, 55u8, 192u8, 57u8, 177u8, 122u8, 100u8, 42u8, 116u8, + 83u8, 29u8, ], ) } @@ -37223,9 +37299,9 @@ pub mod api { "clear_all_leases", types::ClearAllLeases { para }, [ - 16u8, 14u8, 185u8, 45u8, 149u8, 70u8, 177u8, 133u8, 130u8, 173u8, - 196u8, 244u8, 77u8, 63u8, 218u8, 64u8, 108u8, 83u8, 84u8, 184u8, 175u8, - 122u8, 36u8, 115u8, 146u8, 117u8, 132u8, 82u8, 2u8, 144u8, 62u8, 179u8, + 201u8, 71u8, 106u8, 50u8, 65u8, 107u8, 191u8, 41u8, 52u8, 106u8, 51u8, + 87u8, 19u8, 199u8, 244u8, 93u8, 104u8, 148u8, 116u8, 198u8, 169u8, + 137u8, 28u8, 78u8, 54u8, 230u8, 161u8, 16u8, 79u8, 248u8, 28u8, 183u8, ], ) } @@ -37245,9 +37321,9 @@ pub mod api { "trigger_onboard", types::TriggerOnboard { para }, [ - 74u8, 158u8, 122u8, 37u8, 34u8, 62u8, 61u8, 218u8, 94u8, 222u8, 1u8, - 153u8, 131u8, 215u8, 157u8, 180u8, 98u8, 130u8, 151u8, 179u8, 22u8, - 120u8, 32u8, 207u8, 208u8, 46u8, 248u8, 43u8, 154u8, 118u8, 106u8, 2u8, + 192u8, 239u8, 65u8, 186u8, 200u8, 27u8, 23u8, 235u8, 2u8, 229u8, 230u8, + 192u8, 240u8, 51u8, 62u8, 80u8, 253u8, 105u8, 178u8, 134u8, 252u8, 2u8, + 153u8, 29u8, 235u8, 249u8, 92u8, 246u8, 136u8, 169u8, 109u8, 4u8, ], ) } @@ -37344,9 +37420,10 @@ pub mod api { _0.borrow(), )], [ - 7u8, 104u8, 17u8, 66u8, 157u8, 89u8, 238u8, 38u8, 233u8, 241u8, 110u8, - 67u8, 132u8, 101u8, 243u8, 62u8, 73u8, 7u8, 9u8, 172u8, 22u8, 51u8, - 118u8, 87u8, 3u8, 224u8, 120u8, 88u8, 139u8, 11u8, 96u8, 147u8, + 233u8, 226u8, 181u8, 160u8, 216u8, 86u8, 238u8, 229u8, 31u8, 67u8, + 200u8, 188u8, 134u8, 22u8, 88u8, 147u8, 204u8, 11u8, 34u8, 244u8, + 234u8, 77u8, 184u8, 171u8, 147u8, 228u8, 254u8, 11u8, 40u8, 162u8, + 177u8, 196u8, ], ) } @@ -37385,9 +37462,10 @@ pub mod api { "Leases", Vec::new(), [ - 7u8, 104u8, 17u8, 66u8, 157u8, 89u8, 238u8, 38u8, 233u8, 241u8, 110u8, - 67u8, 132u8, 101u8, 243u8, 62u8, 73u8, 7u8, 9u8, 172u8, 22u8, 51u8, - 118u8, 87u8, 3u8, 224u8, 120u8, 88u8, 139u8, 11u8, 96u8, 147u8, + 233u8, 226u8, 181u8, 160u8, 216u8, 86u8, 238u8, 229u8, 31u8, 67u8, + 200u8, 188u8, 134u8, 22u8, 88u8, 147u8, 204u8, 11u8, 34u8, 244u8, + 234u8, 77u8, 184u8, 171u8, 147u8, 228u8, 254u8, 11u8, 40u8, 162u8, + 177u8, 196u8, ], ) } @@ -37521,10 +37599,10 @@ pub mod api { lease_period_index, }, [ - 171u8, 40u8, 200u8, 164u8, 213u8, 10u8, 145u8, 164u8, 212u8, 14u8, - 117u8, 215u8, 248u8, 59u8, 34u8, 79u8, 50u8, 176u8, 164u8, 143u8, 92u8, - 82u8, 207u8, 37u8, 103u8, 252u8, 255u8, 142u8, 239u8, 134u8, 114u8, - 151u8, + 117u8, 195u8, 187u8, 250u8, 169u8, 118u8, 184u8, 93u8, 121u8, 101u8, + 137u8, 252u8, 6u8, 188u8, 174u8, 224u8, 140u8, 38u8, 167u8, 160u8, + 132u8, 249u8, 253u8, 29u8, 206u8, 240u8, 208u8, 107u8, 15u8, 135u8, + 10u8, 202u8, ], ) } @@ -37563,9 +37641,10 @@ pub mod api { amount, }, [ - 243u8, 233u8, 248u8, 221u8, 239u8, 59u8, 65u8, 63u8, 125u8, 129u8, - 202u8, 165u8, 30u8, 228u8, 32u8, 73u8, 225u8, 38u8, 128u8, 98u8, 102u8, - 46u8, 203u8, 32u8, 70u8, 74u8, 136u8, 163u8, 83u8, 211u8, 227u8, 139u8, + 33u8, 214u8, 217u8, 212u8, 76u8, 156u8, 74u8, 252u8, 126u8, 140u8, + 209u8, 227u8, 220u8, 235u8, 86u8, 84u8, 46u8, 165u8, 149u8, 173u8, + 153u8, 225u8, 146u8, 17u8, 79u8, 78u8, 80u8, 172u8, 140u8, 210u8, 87u8, + 154u8, ], ) } @@ -37578,10 +37657,9 @@ pub mod api { "cancel_auction", types::CancelAuction {}, [ - 182u8, 223u8, 178u8, 136u8, 1u8, 115u8, 229u8, 78u8, 166u8, 128u8, - 28u8, 106u8, 6u8, 248u8, 46u8, 55u8, 110u8, 120u8, 213u8, 11u8, 90u8, - 217u8, 42u8, 120u8, 47u8, 83u8, 126u8, 216u8, 236u8, 251u8, 255u8, - 50u8, + 122u8, 231u8, 136u8, 184u8, 194u8, 4u8, 244u8, 62u8, 253u8, 134u8, 9u8, + 240u8, 75u8, 227u8, 74u8, 195u8, 113u8, 247u8, 127u8, 17u8, 90u8, + 228u8, 251u8, 88u8, 4u8, 29u8, 254u8, 71u8, 177u8, 103u8, 66u8, 224u8, ], ) } @@ -37753,9 +37831,9 @@ pub mod api { "AuctionCounter", vec![], [ - 67u8, 247u8, 96u8, 152u8, 0u8, 224u8, 230u8, 98u8, 194u8, 107u8, 3u8, - 203u8, 51u8, 201u8, 149u8, 22u8, 184u8, 80u8, 251u8, 239u8, 253u8, - 19u8, 58u8, 192u8, 65u8, 96u8, 189u8, 54u8, 175u8, 130u8, 143u8, 181u8, + 110u8, 243u8, 85u8, 4u8, 127u8, 111u8, 101u8, 167u8, 72u8, 129u8, + 201u8, 250u8, 88u8, 9u8, 79u8, 14u8, 152u8, 132u8, 0u8, 204u8, 112u8, + 248u8, 91u8, 254u8, 30u8, 22u8, 62u8, 180u8, 188u8, 204u8, 29u8, 103u8, ], ) } @@ -37778,9 +37856,9 @@ pub mod api { "AuctionInfo", vec![], [ - 73u8, 216u8, 173u8, 230u8, 132u8, 78u8, 83u8, 62u8, 200u8, 69u8, 17u8, - 73u8, 57u8, 107u8, 160u8, 90u8, 147u8, 84u8, 29u8, 110u8, 144u8, 215u8, - 169u8, 110u8, 217u8, 77u8, 109u8, 204u8, 1u8, 164u8, 95u8, 83u8, + 90u8, 219u8, 72u8, 126u8, 65u8, 18u8, 134u8, 169u8, 249u8, 18u8, 95u8, + 142u8, 91u8, 37u8, 237u8, 184u8, 185u8, 42u8, 66u8, 73u8, 101u8, 13u8, + 16u8, 165u8, 58u8, 179u8, 95u8, 212u8, 171u8, 1u8, 4u8, 108u8, ], ) } @@ -37805,10 +37883,10 @@ pub mod api { ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 120u8, 85u8, 180u8, 244u8, 154u8, 135u8, 87u8, 79u8, 75u8, 169u8, - 220u8, 117u8, 227u8, 85u8, 198u8, 214u8, 28u8, 126u8, 66u8, 188u8, - 137u8, 111u8, 110u8, 152u8, 18u8, 233u8, 76u8, 166u8, 55u8, 233u8, - 93u8, 62u8, + 77u8, 44u8, 116u8, 36u8, 189u8, 213u8, 126u8, 32u8, 42u8, 131u8, 108u8, + 41u8, 147u8, 40u8, 247u8, 245u8, 161u8, 42u8, 152u8, 195u8, 28u8, + 142u8, 231u8, 209u8, 113u8, 11u8, 240u8, 37u8, 112u8, 38u8, 239u8, + 245u8, ], ) } @@ -37828,10 +37906,10 @@ pub mod api { "ReservedAmounts", Vec::new(), [ - 120u8, 85u8, 180u8, 244u8, 154u8, 135u8, 87u8, 79u8, 75u8, 169u8, - 220u8, 117u8, 227u8, 85u8, 198u8, 214u8, 28u8, 126u8, 66u8, 188u8, - 137u8, 111u8, 110u8, 152u8, 18u8, 233u8, 76u8, 166u8, 55u8, 233u8, - 93u8, 62u8, + 77u8, 44u8, 116u8, 36u8, 189u8, 213u8, 126u8, 32u8, 42u8, 131u8, 108u8, + 41u8, 147u8, 40u8, 247u8, 245u8, 161u8, 42u8, 152u8, 195u8, 28u8, + 142u8, 231u8, 209u8, 113u8, 11u8, 240u8, 37u8, 112u8, 38u8, 239u8, + 245u8, ], ) } @@ -37859,9 +37937,9 @@ pub mod api { _0.borrow(), )], [ - 63u8, 56u8, 143u8, 200u8, 12u8, 71u8, 187u8, 73u8, 215u8, 93u8, 222u8, - 102u8, 5u8, 113u8, 6u8, 170u8, 95u8, 228u8, 28u8, 58u8, 109u8, 62u8, - 3u8, 125u8, 211u8, 139u8, 194u8, 30u8, 151u8, 147u8, 47u8, 205u8, + 127u8, 44u8, 33u8, 0u8, 119u8, 91u8, 8u8, 60u8, 171u8, 16u8, 85u8, + 98u8, 157u8, 16u8, 182u8, 39u8, 219u8, 77u8, 172u8, 222u8, 46u8, 0u8, + 239u8, 211u8, 164u8, 200u8, 103u8, 98u8, 175u8, 46u8, 127u8, 32u8, ], ) } @@ -37886,9 +37964,9 @@ pub mod api { "Winning", Vec::new(), [ - 63u8, 56u8, 143u8, 200u8, 12u8, 71u8, 187u8, 73u8, 215u8, 93u8, 222u8, - 102u8, 5u8, 113u8, 6u8, 170u8, 95u8, 228u8, 28u8, 58u8, 109u8, 62u8, - 3u8, 125u8, 211u8, 139u8, 194u8, 30u8, 151u8, 147u8, 47u8, 205u8, + 127u8, 44u8, 33u8, 0u8, 119u8, 91u8, 8u8, 60u8, 171u8, 16u8, 85u8, + 98u8, 157u8, 16u8, 182u8, 39u8, 219u8, 77u8, 172u8, 222u8, 46u8, 0u8, + 239u8, 211u8, 164u8, 200u8, 103u8, 98u8, 175u8, 46u8, 127u8, 32u8, ], ) } @@ -38184,9 +38262,9 @@ pub mod api { verifier, }, [ - 78u8, 52u8, 156u8, 23u8, 104u8, 251u8, 20u8, 233u8, 42u8, 231u8, 16u8, - 192u8, 164u8, 68u8, 98u8, 129u8, 88u8, 126u8, 123u8, 4u8, 210u8, 161u8, - 190u8, 90u8, 67u8, 235u8, 74u8, 184u8, 180u8, 197u8, 248u8, 238u8, + 136u8, 111u8, 157u8, 203u8, 90u8, 134u8, 252u8, 254u8, 80u8, 250u8, + 10u8, 16u8, 26u8, 87u8, 225u8, 44u8, 188u8, 19u8, 138u8, 39u8, 109u8, + 30u8, 164u8, 136u8, 90u8, 175u8, 75u8, 165u8, 15u8, 208u8, 169u8, 5u8, ], ) } @@ -38207,10 +38285,9 @@ pub mod api { signature, }, [ - 159u8, 180u8, 248u8, 203u8, 128u8, 231u8, 28u8, 84u8, 14u8, 214u8, - 69u8, 217u8, 62u8, 201u8, 169u8, 160u8, 45u8, 160u8, 125u8, 255u8, - 95u8, 140u8, 58u8, 3u8, 224u8, 157u8, 199u8, 229u8, 72u8, 40u8, 218u8, - 55u8, + 221u8, 45u8, 121u8, 39u8, 113u8, 160u8, 94u8, 51u8, 214u8, 93u8, 178u8, + 227u8, 234u8, 126u8, 135u8, 127u8, 14u8, 115u8, 206u8, 64u8, 199u8, + 91u8, 17u8, 209u8, 169u8, 238u8, 224u8, 193u8, 8u8, 97u8, 183u8, 47u8, ], ) } @@ -38241,10 +38318,9 @@ pub mod api { "withdraw", types::Withdraw { who, index }, [ - 147u8, 177u8, 116u8, 152u8, 9u8, 102u8, 4u8, 201u8, 204u8, 145u8, - 104u8, 226u8, 86u8, 211u8, 66u8, 109u8, 109u8, 139u8, 229u8, 97u8, - 215u8, 101u8, 255u8, 181u8, 121u8, 139u8, 165u8, 169u8, 112u8, 173u8, - 213u8, 121u8, + 148u8, 23u8, 138u8, 161u8, 248u8, 235u8, 138u8, 156u8, 209u8, 236u8, + 235u8, 81u8, 207u8, 212u8, 232u8, 126u8, 221u8, 46u8, 34u8, 39u8, 44u8, + 42u8, 75u8, 134u8, 12u8, 247u8, 84u8, 203u8, 48u8, 133u8, 72u8, 254u8, ], ) } @@ -38262,10 +38338,10 @@ pub mod api { "refund", types::Refund { index }, [ - 223u8, 64u8, 5u8, 135u8, 15u8, 234u8, 60u8, 114u8, 199u8, 216u8, 73u8, - 165u8, 198u8, 34u8, 140u8, 142u8, 214u8, 254u8, 203u8, 163u8, 224u8, - 120u8, 104u8, 54u8, 12u8, 126u8, 72u8, 147u8, 20u8, 180u8, 251u8, - 208u8, + 245u8, 75u8, 215u8, 28u8, 141u8, 138u8, 201u8, 125u8, 21u8, 214u8, + 57u8, 23u8, 33u8, 41u8, 57u8, 227u8, 119u8, 212u8, 234u8, 227u8, 230u8, + 144u8, 249u8, 100u8, 198u8, 125u8, 106u8, 253u8, 93u8, 177u8, 247u8, + 5u8, ], ) } @@ -38279,9 +38355,10 @@ pub mod api { "dissolve", types::Dissolve { index }, [ - 100u8, 67u8, 105u8, 3u8, 213u8, 149u8, 201u8, 146u8, 241u8, 62u8, 31u8, - 108u8, 58u8, 30u8, 241u8, 141u8, 134u8, 115u8, 56u8, 131u8, 60u8, 75u8, - 143u8, 227u8, 11u8, 32u8, 31u8, 230u8, 165u8, 227u8, 170u8, 126u8, + 60u8, 225u8, 93u8, 234u8, 160u8, 90u8, 185u8, 188u8, 163u8, 72u8, + 241u8, 46u8, 62u8, 176u8, 236u8, 175u8, 147u8, 95u8, 45u8, 235u8, + 253u8, 76u8, 127u8, 190u8, 149u8, 54u8, 108u8, 78u8, 149u8, 161u8, + 39u8, 14u8, ], ) } @@ -38309,10 +38386,9 @@ pub mod api { verifier, }, [ - 222u8, 124u8, 94u8, 221u8, 36u8, 183u8, 67u8, 114u8, 198u8, 107u8, - 154u8, 174u8, 142u8, 47u8, 3u8, 181u8, 72u8, 29u8, 2u8, 83u8, 81u8, - 47u8, 168u8, 142u8, 139u8, 63u8, 136u8, 191u8, 41u8, 252u8, 221u8, - 56u8, + 92u8, 12u8, 155u8, 42u8, 38u8, 165u8, 137u8, 179u8, 130u8, 218u8, 84u8, + 114u8, 130u8, 104u8, 38u8, 162u8, 243u8, 155u8, 122u8, 207u8, 250u8, + 18u8, 238u8, 69u8, 52u8, 113u8, 179u8, 6u8, 226u8, 36u8, 4u8, 166u8, ], ) } @@ -38329,9 +38405,10 @@ pub mod api { "add_memo", types::AddMemo { index, memo }, [ - 104u8, 199u8, 143u8, 251u8, 28u8, 49u8, 144u8, 186u8, 83u8, 108u8, - 26u8, 127u8, 22u8, 141u8, 48u8, 62u8, 194u8, 193u8, 97u8, 10u8, 84u8, - 89u8, 236u8, 191u8, 40u8, 8u8, 1u8, 250u8, 112u8, 165u8, 221u8, 112u8, + 190u8, 99u8, 225u8, 54u8, 136u8, 238u8, 210u8, 44u8, 103u8, 198u8, + 225u8, 254u8, 245u8, 12u8, 238u8, 112u8, 143u8, 169u8, 8u8, 193u8, + 29u8, 0u8, 159u8, 25u8, 112u8, 237u8, 194u8, 17u8, 111u8, 192u8, 219u8, + 50u8, ], ) } @@ -38347,9 +38424,10 @@ pub mod api { "poke", types::Poke { index }, [ - 118u8, 60u8, 131u8, 17u8, 27u8, 153u8, 57u8, 24u8, 191u8, 211u8, 101u8, - 123u8, 34u8, 145u8, 193u8, 113u8, 244u8, 162u8, 148u8, 143u8, 81u8, - 86u8, 136u8, 23u8, 48u8, 185u8, 52u8, 60u8, 216u8, 243u8, 63u8, 102u8, + 180u8, 81u8, 211u8, 12u8, 54u8, 204u8, 105u8, 118u8, 139u8, 209u8, + 182u8, 227u8, 174u8, 192u8, 64u8, 200u8, 212u8, 101u8, 3u8, 252u8, + 195u8, 110u8, 182u8, 121u8, 218u8, 193u8, 87u8, 38u8, 212u8, 151u8, + 213u8, 56u8, ], ) } @@ -38365,10 +38443,10 @@ pub mod api { "contribute_all", types::ContributeAll { index, signature }, [ - 94u8, 61u8, 105u8, 107u8, 204u8, 18u8, 223u8, 242u8, 19u8, 162u8, - 205u8, 130u8, 203u8, 73u8, 42u8, 85u8, 208u8, 157u8, 115u8, 112u8, - 168u8, 10u8, 163u8, 80u8, 222u8, 71u8, 23u8, 194u8, 142u8, 4u8, 82u8, - 253u8, + 218u8, 230u8, 158u8, 9u8, 57u8, 53u8, 155u8, 255u8, 177u8, 169u8, + 143u8, 126u8, 165u8, 216u8, 85u8, 231u8, 170u8, 124u8, 175u8, 93u8, + 121u8, 166u8, 48u8, 239u8, 98u8, 208u8, 86u8, 178u8, 130u8, 60u8, 84u8, + 206u8, ], ) } @@ -38594,9 +38672,10 @@ pub mod api { _0.borrow(), )], [ - 231u8, 126u8, 89u8, 84u8, 167u8, 23u8, 211u8, 70u8, 203u8, 124u8, 20u8, - 162u8, 112u8, 38u8, 201u8, 207u8, 82u8, 202u8, 80u8, 228u8, 4u8, 41u8, - 95u8, 190u8, 193u8, 185u8, 178u8, 85u8, 179u8, 102u8, 53u8, 63u8, + 179u8, 120u8, 62u8, 42u8, 236u8, 181u8, 225u8, 216u8, 210u8, 74u8, + 168u8, 21u8, 215u8, 239u8, 185u8, 247u8, 72u8, 152u8, 117u8, 195u8, + 41u8, 102u8, 174u8, 242u8, 127u8, 32u8, 145u8, 74u8, 245u8, 57u8, + 220u8, 116u8, ], ) } @@ -38620,9 +38699,10 @@ pub mod api { "Funds", Vec::new(), [ - 231u8, 126u8, 89u8, 84u8, 167u8, 23u8, 211u8, 70u8, 203u8, 124u8, 20u8, - 162u8, 112u8, 38u8, 201u8, 207u8, 82u8, 202u8, 80u8, 228u8, 4u8, 41u8, - 95u8, 190u8, 193u8, 185u8, 178u8, 85u8, 179u8, 102u8, 53u8, 63u8, + 179u8, 120u8, 62u8, 42u8, 236u8, 181u8, 225u8, 216u8, 210u8, 74u8, + 168u8, 21u8, 215u8, 239u8, 185u8, 247u8, 72u8, 152u8, 117u8, 195u8, + 41u8, 102u8, 174u8, 242u8, 127u8, 32u8, 145u8, 74u8, 245u8, 57u8, + 220u8, 116u8, ], ) } @@ -38642,9 +38722,10 @@ pub mod api { "NewRaise", vec![], [ - 8u8, 180u8, 9u8, 197u8, 254u8, 198u8, 89u8, 112u8, 29u8, 153u8, 243u8, - 196u8, 92u8, 204u8, 135u8, 232u8, 93u8, 239u8, 147u8, 103u8, 130u8, - 28u8, 128u8, 124u8, 4u8, 236u8, 29u8, 248u8, 27u8, 165u8, 111u8, 147u8, + 251u8, 31u8, 237u8, 22u8, 90u8, 248u8, 39u8, 66u8, 93u8, 81u8, 209u8, + 209u8, 194u8, 42u8, 109u8, 208u8, 56u8, 75u8, 45u8, 247u8, 253u8, + 165u8, 22u8, 184u8, 49u8, 49u8, 62u8, 126u8, 254u8, 146u8, 190u8, + 174u8, ], ) } @@ -38663,10 +38744,9 @@ pub mod api { "EndingsCount", vec![], [ - 12u8, 159u8, 166u8, 75u8, 192u8, 33u8, 21u8, 244u8, 149u8, 200u8, 49u8, - 54u8, 191u8, 174u8, 202u8, 86u8, 76u8, 115u8, 189u8, 35u8, 192u8, - 175u8, 156u8, 188u8, 41u8, 23u8, 92u8, 36u8, 141u8, 235u8, 248u8, - 143u8, + 106u8, 22u8, 229u8, 157u8, 118u8, 195u8, 11u8, 42u8, 5u8, 50u8, 44u8, + 183u8, 72u8, 167u8, 95u8, 243u8, 234u8, 5u8, 200u8, 253u8, 127u8, + 154u8, 23u8, 55u8, 202u8, 221u8, 82u8, 19u8, 201u8, 154u8, 248u8, 29u8, ], ) } @@ -38685,9 +38765,10 @@ pub mod api { "NextFundIndex", vec![], [ - 1u8, 215u8, 164u8, 194u8, 231u8, 34u8, 207u8, 19u8, 149u8, 187u8, 3u8, - 176u8, 194u8, 240u8, 180u8, 169u8, 214u8, 194u8, 202u8, 240u8, 209u8, - 6u8, 244u8, 46u8, 54u8, 142u8, 61u8, 220u8, 240u8, 96u8, 10u8, 168u8, + 192u8, 21u8, 229u8, 234u8, 152u8, 224u8, 149u8, 44u8, 41u8, 9u8, 191u8, + 128u8, 118u8, 11u8, 117u8, 245u8, 170u8, 116u8, 77u8, 216u8, 175u8, + 115u8, 13u8, 85u8, 240u8, 170u8, 156u8, 201u8, 25u8, 96u8, 103u8, + 207u8, ], ) } @@ -38706,9 +38787,9 @@ pub mod api { "Crowdloan", "PalletId", [ - 139u8, 109u8, 228u8, 151u8, 252u8, 32u8, 130u8, 69u8, 112u8, 154u8, - 174u8, 45u8, 83u8, 245u8, 51u8, 132u8, 173u8, 5u8, 186u8, 24u8, 243u8, - 9u8, 12u8, 214u8, 80u8, 74u8, 69u8, 189u8, 30u8, 94u8, 22u8, 39u8, + 56u8, 243u8, 53u8, 83u8, 154u8, 179u8, 170u8, 80u8, 133u8, 173u8, 61u8, + 161u8, 47u8, 225u8, 146u8, 21u8, 50u8, 229u8, 248u8, 27u8, 104u8, 58u8, + 129u8, 197u8, 102u8, 160u8, 168u8, 205u8, 154u8, 42u8, 217u8, 53u8, ], ) } @@ -38827,7 +38908,7 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Execute { - pub message: ::std::boxed::Box, + pub message: ::std::boxed::Box, pub max_weight: runtime_types::sp_weights::weight_v2::Weight, } impl ::subxt::blocks::StaticExtrinsic for Execute { @@ -38979,9 +39060,9 @@ pub mod api { message: ::std::boxed::Box::new(message), }, [ - 246u8, 35u8, 227u8, 112u8, 223u8, 7u8, 44u8, 186u8, 60u8, 225u8, 153u8, - 249u8, 104u8, 51u8, 123u8, 227u8, 143u8, 65u8, 232u8, 209u8, 178u8, - 104u8, 70u8, 56u8, 230u8, 14u8, 75u8, 83u8, 250u8, 160u8, 9u8, 39u8, + 179u8, 0u8, 46u8, 230u8, 210u8, 183u8, 91u8, 129u8, 120u8, 45u8, 156u8, + 37u8, 100u8, 175u8, 147u8, 10u8, 24u8, 70u8, 80u8, 8u8, 253u8, 107u8, + 168u8, 10u8, 46u8, 192u8, 226u8, 208u8, 102u8, 217u8, 25u8, 154u8, ], ) } @@ -39017,9 +39098,9 @@ pub mod api { fee_asset_item, }, [ - 187u8, 42u8, 2u8, 96u8, 105u8, 125u8, 74u8, 53u8, 2u8, 21u8, 31u8, - 160u8, 201u8, 197u8, 157u8, 190u8, 40u8, 145u8, 5u8, 99u8, 194u8, 41u8, - 114u8, 60u8, 165u8, 186u8, 15u8, 226u8, 85u8, 113u8, 159u8, 136u8, + 55u8, 134u8, 79u8, 159u8, 98u8, 83u8, 169u8, 45u8, 116u8, 191u8, 166u8, + 51u8, 27u8, 109u8, 114u8, 146u8, 82u8, 240u8, 159u8, 63u8, 35u8, 227u8, + 206u8, 69u8, 133u8, 194u8, 181u8, 110u8, 77u8, 30u8, 241u8, 210u8, ], ) } @@ -39056,9 +39137,9 @@ pub mod api { fee_asset_item, }, [ - 249u8, 177u8, 76u8, 204u8, 186u8, 165u8, 16u8, 186u8, 129u8, 239u8, - 65u8, 252u8, 9u8, 132u8, 32u8, 164u8, 117u8, 177u8, 40u8, 21u8, 196u8, - 246u8, 147u8, 2u8, 95u8, 110u8, 68u8, 162u8, 148u8, 9u8, 59u8, 170u8, + 12u8, 232u8, 11u8, 188u8, 202u8, 160u8, 42u8, 194u8, 91u8, 84u8, 167u8, + 83u8, 193u8, 198u8, 121u8, 60u8, 83u8, 34u8, 10u8, 1u8, 19u8, 9u8, + 115u8, 71u8, 242u8, 65u8, 139u8, 58u8, 35u8, 103u8, 241u8, 196u8, ], ) } @@ -39075,7 +39156,7 @@ pub mod api { #[doc = "to completion; only that *some* of it was executed."] pub fn execute( &self, - message: runtime_types::xcm::VersionedXcm, + message: runtime_types::xcm::VersionedXcm2, max_weight: runtime_types::sp_weights::weight_v2::Weight, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( @@ -39086,9 +39167,9 @@ pub mod api { max_weight, }, [ - 102u8, 41u8, 146u8, 29u8, 241u8, 205u8, 95u8, 153u8, 228u8, 141u8, - 11u8, 228u8, 13u8, 44u8, 75u8, 204u8, 174u8, 35u8, 155u8, 104u8, 204u8, - 82u8, 239u8, 98u8, 249u8, 187u8, 193u8, 1u8, 122u8, 88u8, 162u8, 200u8, + 162u8, 211u8, 166u8, 126u8, 220u8, 232u8, 242u8, 251u8, 44u8, 206u8, + 7u8, 198u8, 89u8, 27u8, 26u8, 87u8, 151u8, 79u8, 38u8, 164u8, 141u8, + 81u8, 218u8, 162u8, 52u8, 238u8, 46u8, 207u8, 235u8, 124u8, 165u8, 8u8, ], ) } @@ -39111,9 +39192,9 @@ pub mod api { xcm_version, }, [ - 68u8, 48u8, 95u8, 61u8, 152u8, 95u8, 213u8, 126u8, 209u8, 176u8, 230u8, - 160u8, 164u8, 42u8, 128u8, 62u8, 175u8, 3u8, 161u8, 170u8, 20u8, 31u8, - 216u8, 122u8, 31u8, 77u8, 64u8, 182u8, 121u8, 41u8, 23u8, 80u8, + 31u8, 152u8, 219u8, 67u8, 212u8, 13u8, 162u8, 129u8, 151u8, 183u8, + 18u8, 2u8, 5u8, 229u8, 94u8, 37u8, 135u8, 69u8, 111u8, 100u8, 177u8, + 96u8, 57u8, 124u8, 53u8, 172u8, 245u8, 29u8, 156u8, 135u8, 42u8, 125u8, ], ) } @@ -39131,9 +39212,10 @@ pub mod api { "force_default_xcm_version", types::ForceDefaultXcmVersion { maybe_xcm_version }, [ - 38u8, 36u8, 59u8, 231u8, 18u8, 79u8, 76u8, 9u8, 200u8, 125u8, 214u8, - 166u8, 37u8, 99u8, 111u8, 161u8, 135u8, 2u8, 133u8, 157u8, 165u8, 18u8, - 152u8, 81u8, 209u8, 255u8, 137u8, 237u8, 28u8, 126u8, 224u8, 141u8, + 43u8, 114u8, 102u8, 104u8, 209u8, 234u8, 108u8, 173u8, 109u8, 188u8, + 94u8, 214u8, 136u8, 43u8, 153u8, 75u8, 161u8, 192u8, 76u8, 12u8, 221u8, + 237u8, 158u8, 247u8, 41u8, 193u8, 35u8, 174u8, 183u8, 207u8, 79u8, + 213u8, ], ) } @@ -39152,9 +39234,9 @@ pub mod api { location: ::std::boxed::Box::new(location), }, [ - 236u8, 37u8, 153u8, 26u8, 174u8, 187u8, 154u8, 38u8, 179u8, 223u8, - 130u8, 32u8, 128u8, 30u8, 148u8, 229u8, 7u8, 185u8, 174u8, 9u8, 96u8, - 215u8, 189u8, 178u8, 148u8, 141u8, 249u8, 118u8, 7u8, 238u8, 1u8, 49u8, + 47u8, 23u8, 248u8, 170u8, 109u8, 130u8, 223u8, 240u8, 219u8, 162u8, + 206u8, 216u8, 76u8, 17u8, 57u8, 145u8, 124u8, 40u8, 49u8, 226u8, 40u8, + 102u8, 163u8, 66u8, 42u8, 78u8, 15u8, 4u8, 169u8, 40u8, 247u8, 40u8, ], ) } @@ -39175,9 +39257,9 @@ pub mod api { location: ::std::boxed::Box::new(location), }, [ - 154u8, 169u8, 145u8, 211u8, 185u8, 71u8, 9u8, 63u8, 3u8, 158u8, 187u8, - 173u8, 115u8, 166u8, 100u8, 66u8, 12u8, 40u8, 198u8, 40u8, 213u8, - 104u8, 95u8, 183u8, 215u8, 53u8, 94u8, 158u8, 106u8, 56u8, 149u8, 52u8, + 240u8, 140u8, 37u8, 245u8, 15u8, 214u8, 120u8, 250u8, 98u8, 219u8, + 199u8, 22u8, 244u8, 191u8, 74u8, 59u8, 86u8, 221u8, 20u8, 75u8, 20u8, + 97u8, 139u8, 71u8, 77u8, 157u8, 114u8, 198u8, 98u8, 72u8, 40u8, 227u8, ], ) } @@ -39218,9 +39300,10 @@ pub mod api { weight_limit, }, [ - 131u8, 191u8, 89u8, 27u8, 236u8, 142u8, 130u8, 129u8, 245u8, 95u8, - 159u8, 96u8, 252u8, 80u8, 28u8, 40u8, 128u8, 55u8, 41u8, 123u8, 22u8, - 18u8, 0u8, 236u8, 77u8, 68u8, 135u8, 181u8, 40u8, 47u8, 92u8, 240u8, + 212u8, 29u8, 239u8, 236u8, 39u8, 49u8, 85u8, 129u8, 164u8, 143u8, + 214u8, 84u8, 181u8, 63u8, 47u8, 244u8, 77u8, 149u8, 76u8, 247u8, 207u8, + 222u8, 216u8, 16u8, 191u8, 249u8, 165u8, 17u8, 56u8, 49u8, 165u8, + 137u8, ], ) } @@ -39260,10 +39343,10 @@ pub mod api { weight_limit, }, [ - 234u8, 19u8, 104u8, 174u8, 98u8, 159u8, 205u8, 110u8, 240u8, 78u8, - 186u8, 138u8, 236u8, 116u8, 104u8, 215u8, 57u8, 178u8, 166u8, 208u8, - 197u8, 113u8, 101u8, 56u8, 23u8, 56u8, 84u8, 14u8, 173u8, 70u8, 211u8, - 201u8, + 185u8, 108u8, 229u8, 144u8, 189u8, 81u8, 240u8, 175u8, 141u8, 24u8, + 153u8, 172u8, 220u8, 233u8, 25u8, 173u8, 158u8, 15u8, 150u8, 74u8, + 133u8, 5u8, 8u8, 227u8, 194u8, 62u8, 93u8, 166u8, 34u8, 67u8, 64u8, + 10u8, ], ) } @@ -39280,9 +39363,9 @@ pub mod api { "force_suspension", types::ForceSuspension { suspended }, [ - 147u8, 1u8, 117u8, 148u8, 8u8, 14u8, 53u8, 167u8, 85u8, 184u8, 25u8, - 183u8, 52u8, 197u8, 12u8, 135u8, 45u8, 88u8, 13u8, 27u8, 218u8, 31u8, - 80u8, 27u8, 183u8, 36u8, 0u8, 243u8, 235u8, 85u8, 75u8, 81u8, + 78u8, 125u8, 93u8, 55u8, 129u8, 44u8, 36u8, 227u8, 75u8, 46u8, 68u8, + 202u8, 81u8, 127u8, 111u8, 92u8, 149u8, 38u8, 225u8, 185u8, 183u8, + 154u8, 89u8, 159u8, 79u8, 10u8, 229u8, 1u8, 226u8, 243u8, 65u8, 238u8, ], ) } @@ -39835,10 +39918,10 @@ pub mod api { "QueryCounter", vec![], [ - 137u8, 58u8, 184u8, 88u8, 247u8, 22u8, 151u8, 64u8, 50u8, 77u8, 49u8, - 10u8, 234u8, 84u8, 213u8, 156u8, 26u8, 200u8, 214u8, 225u8, 125u8, - 231u8, 42u8, 93u8, 159u8, 168u8, 86u8, 201u8, 116u8, 153u8, 41u8, - 127u8, + 216u8, 73u8, 160u8, 232u8, 60u8, 245u8, 218u8, 219u8, 152u8, 68u8, + 146u8, 219u8, 255u8, 7u8, 86u8, 112u8, 83u8, 49u8, 94u8, 173u8, 64u8, + 203u8, 147u8, 226u8, 236u8, 39u8, 129u8, 106u8, 209u8, 113u8, 150u8, + 50u8, ], ) } @@ -39860,10 +39943,10 @@ pub mod api { _0.borrow(), )], [ - 72u8, 239u8, 157u8, 117u8, 200u8, 28u8, 80u8, 70u8, 205u8, 253u8, - 147u8, 30u8, 130u8, 72u8, 154u8, 95u8, 183u8, 162u8, 165u8, 203u8, - 128u8, 98u8, 216u8, 172u8, 98u8, 220u8, 16u8, 236u8, 216u8, 68u8, 33u8, - 184u8, + 177u8, 138u8, 131u8, 91u8, 46u8, 151u8, 115u8, 184u8, 120u8, 158u8, + 241u8, 43u8, 56u8, 121u8, 102u8, 204u8, 197u8, 31u8, 241u8, 131u8, + 199u8, 217u8, 129u8, 147u8, 255u8, 157u8, 71u8, 97u8, 153u8, 34u8, + 178u8, 223u8, ], ) } @@ -39882,10 +39965,10 @@ pub mod api { "Queries", Vec::new(), [ - 72u8, 239u8, 157u8, 117u8, 200u8, 28u8, 80u8, 70u8, 205u8, 253u8, - 147u8, 30u8, 130u8, 72u8, 154u8, 95u8, 183u8, 162u8, 165u8, 203u8, - 128u8, 98u8, 216u8, 172u8, 98u8, 220u8, 16u8, 236u8, 216u8, 68u8, 33u8, - 184u8, + 177u8, 138u8, 131u8, 91u8, 46u8, 151u8, 115u8, 184u8, 120u8, 158u8, + 241u8, 43u8, 56u8, 121u8, 102u8, 204u8, 197u8, 31u8, 241u8, 131u8, + 199u8, 217u8, 129u8, 147u8, 255u8, 157u8, 71u8, 97u8, 153u8, 34u8, + 178u8, 223u8, ], ) } @@ -39910,9 +39993,9 @@ pub mod api { _0.borrow(), )], [ - 4u8, 185u8, 92u8, 4u8, 7u8, 71u8, 214u8, 1u8, 141u8, 59u8, 87u8, 55u8, - 149u8, 26u8, 125u8, 8u8, 88u8, 31u8, 240u8, 138u8, 133u8, 28u8, 37u8, - 131u8, 107u8, 218u8, 86u8, 152u8, 147u8, 44u8, 19u8, 239u8, + 148u8, 41u8, 254u8, 134u8, 61u8, 172u8, 126u8, 146u8, 78u8, 178u8, + 50u8, 77u8, 226u8, 8u8, 200u8, 78u8, 77u8, 91u8, 26u8, 133u8, 104u8, + 126u8, 28u8, 28u8, 202u8, 62u8, 87u8, 183u8, 231u8, 191u8, 5u8, 181u8, ], ) } @@ -39934,9 +40017,9 @@ pub mod api { "AssetTraps", Vec::new(), [ - 4u8, 185u8, 92u8, 4u8, 7u8, 71u8, 214u8, 1u8, 141u8, 59u8, 87u8, 55u8, - 149u8, 26u8, 125u8, 8u8, 88u8, 31u8, 240u8, 138u8, 133u8, 28u8, 37u8, - 131u8, 107u8, 218u8, 86u8, 152u8, 147u8, 44u8, 19u8, 239u8, + 148u8, 41u8, 254u8, 134u8, 61u8, 172u8, 126u8, 146u8, 78u8, 178u8, + 50u8, 77u8, 226u8, 8u8, 200u8, 78u8, 77u8, 91u8, 26u8, 133u8, 104u8, + 126u8, 28u8, 28u8, 202u8, 62u8, 87u8, 183u8, 231u8, 191u8, 5u8, 181u8, ], ) } @@ -39956,10 +40039,10 @@ pub mod api { "SafeXcmVersion", vec![], [ - 1u8, 223u8, 218u8, 204u8, 222u8, 129u8, 137u8, 237u8, 197u8, 142u8, - 233u8, 66u8, 229u8, 153u8, 138u8, 222u8, 113u8, 164u8, 135u8, 213u8, - 233u8, 34u8, 24u8, 23u8, 215u8, 59u8, 40u8, 188u8, 45u8, 244u8, 205u8, - 199u8, + 187u8, 8u8, 74u8, 126u8, 80u8, 215u8, 177u8, 60u8, 223u8, 123u8, 196u8, + 155u8, 166u8, 66u8, 25u8, 164u8, 191u8, 66u8, 116u8, 131u8, 116u8, + 188u8, 224u8, 122u8, 75u8, 195u8, 246u8, 188u8, 83u8, 134u8, 49u8, + 143u8, ], ) } @@ -39983,10 +40066,10 @@ pub mod api { ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 16u8, 172u8, 183u8, 14u8, 63u8, 199u8, 42u8, 204u8, 218u8, 197u8, - 129u8, 40u8, 32u8, 213u8, 50u8, 170u8, 231u8, 123u8, 188u8, 83u8, - 250u8, 148u8, 133u8, 78u8, 249u8, 33u8, 122u8, 55u8, 22u8, 179u8, 98u8, - 113u8, + 184u8, 189u8, 75u8, 46u8, 146u8, 183u8, 140u8, 180u8, 228u8, 216u8, + 220u8, 210u8, 194u8, 138u8, 57u8, 248u8, 112u8, 110u8, 236u8, 113u8, + 9u8, 109u8, 112u8, 86u8, 37u8, 21u8, 133u8, 127u8, 86u8, 192u8, 107u8, + 161u8, ], ) } @@ -40005,10 +40088,10 @@ pub mod api { "SupportedVersion", Vec::new(), [ - 16u8, 172u8, 183u8, 14u8, 63u8, 199u8, 42u8, 204u8, 218u8, 197u8, - 129u8, 40u8, 32u8, 213u8, 50u8, 170u8, 231u8, 123u8, 188u8, 83u8, - 250u8, 148u8, 133u8, 78u8, 249u8, 33u8, 122u8, 55u8, 22u8, 179u8, 98u8, - 113u8, + 184u8, 189u8, 75u8, 46u8, 146u8, 183u8, 140u8, 180u8, 228u8, 216u8, + 220u8, 210u8, 194u8, 138u8, 57u8, 248u8, 112u8, 110u8, 236u8, 113u8, + 9u8, 109u8, 112u8, 86u8, 37u8, 21u8, 133u8, 127u8, 86u8, 192u8, 107u8, + 161u8, ], ) } @@ -40032,9 +40115,9 @@ pub mod api { ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 137u8, 87u8, 59u8, 219u8, 207u8, 188u8, 145u8, 38u8, 197u8, 219u8, - 197u8, 179u8, 102u8, 25u8, 184u8, 83u8, 31u8, 63u8, 251u8, 21u8, 211u8, - 124u8, 23u8, 40u8, 4u8, 43u8, 113u8, 158u8, 233u8, 192u8, 38u8, 177u8, + 239u8, 151u8, 74u8, 252u8, 104u8, 241u8, 152u8, 244u8, 122u8, 1u8, + 144u8, 59u8, 172u8, 3u8, 96u8, 233u8, 233u8, 183u8, 152u8, 118u8, 82u8, + 57u8, 122u8, 86u8, 82u8, 99u8, 218u8, 82u8, 37u8, 236u8, 15u8, 212u8, ], ) } @@ -40053,9 +40136,9 @@ pub mod api { "VersionNotifiers", Vec::new(), [ - 137u8, 87u8, 59u8, 219u8, 207u8, 188u8, 145u8, 38u8, 197u8, 219u8, - 197u8, 179u8, 102u8, 25u8, 184u8, 83u8, 31u8, 63u8, 251u8, 21u8, 211u8, - 124u8, 23u8, 40u8, 4u8, 43u8, 113u8, 158u8, 233u8, 192u8, 38u8, 177u8, + 239u8, 151u8, 74u8, 252u8, 104u8, 241u8, 152u8, 244u8, 122u8, 1u8, + 144u8, 59u8, 172u8, 3u8, 96u8, 233u8, 233u8, 183u8, 152u8, 118u8, 82u8, + 57u8, 122u8, 86u8, 82u8, 99u8, 218u8, 82u8, 37u8, 236u8, 15u8, 212u8, ], ) } @@ -40084,9 +40167,9 @@ pub mod api { ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 138u8, 26u8, 26u8, 108u8, 21u8, 255u8, 143u8, 241u8, 15u8, 163u8, 22u8, - 155u8, 221u8, 63u8, 58u8, 104u8, 4u8, 186u8, 66u8, 178u8, 67u8, 178u8, - 220u8, 78u8, 1u8, 77u8, 45u8, 214u8, 98u8, 240u8, 120u8, 254u8, + 86u8, 209u8, 212u8, 169u8, 60u8, 250u8, 121u8, 19u8, 190u8, 58u8, + 111u8, 103u8, 157u8, 186u8, 211u8, 46u8, 9u8, 111u8, 17u8, 73u8, 221u8, + 180u8, 230u8, 156u8, 4u8, 75u8, 114u8, 123u8, 3u8, 147u8, 237u8, 102u8, ], ) } @@ -40110,9 +40193,9 @@ pub mod api { "VersionNotifyTargets", Vec::new(), [ - 138u8, 26u8, 26u8, 108u8, 21u8, 255u8, 143u8, 241u8, 15u8, 163u8, 22u8, - 155u8, 221u8, 63u8, 58u8, 104u8, 4u8, 186u8, 66u8, 178u8, 67u8, 178u8, - 220u8, 78u8, 1u8, 77u8, 45u8, 214u8, 98u8, 240u8, 120u8, 254u8, + 86u8, 209u8, 212u8, 169u8, 60u8, 250u8, 121u8, 19u8, 190u8, 58u8, + 111u8, 103u8, 157u8, 186u8, 211u8, 46u8, 9u8, 111u8, 17u8, 73u8, 221u8, + 180u8, 230u8, 156u8, 4u8, 75u8, 114u8, 123u8, 3u8, 147u8, 237u8, 102u8, ], ) } @@ -40136,9 +40219,10 @@ pub mod api { "VersionDiscoveryQueue", vec![], [ - 134u8, 60u8, 255u8, 145u8, 139u8, 29u8, 38u8, 47u8, 209u8, 218u8, - 127u8, 123u8, 2u8, 196u8, 52u8, 99u8, 143u8, 112u8, 0u8, 133u8, 99u8, - 218u8, 187u8, 171u8, 175u8, 153u8, 149u8, 1u8, 57u8, 45u8, 118u8, 79u8, + 229u8, 127u8, 178u8, 181u8, 65u8, 123u8, 36u8, 101u8, 245u8, 168u8, + 192u8, 243u8, 57u8, 242u8, 169u8, 89u8, 80u8, 16u8, 28u8, 143u8, 124u8, + 224u8, 11u8, 153u8, 237u8, 58u8, 209u8, 186u8, 94u8, 135u8, 105u8, + 79u8, ], ) } @@ -40157,9 +40241,9 @@ pub mod api { "CurrentMigration", vec![], [ - 137u8, 144u8, 168u8, 185u8, 158u8, 90u8, 127u8, 243u8, 227u8, 134u8, - 150u8, 73u8, 15u8, 99u8, 23u8, 47u8, 68u8, 18u8, 39u8, 16u8, 24u8, - 43u8, 161u8, 56u8, 66u8, 111u8, 16u8, 7u8, 252u8, 125u8, 100u8, 225u8, + 74u8, 138u8, 181u8, 162u8, 59u8, 251u8, 37u8, 28u8, 232u8, 51u8, 30u8, + 152u8, 252u8, 133u8, 95u8, 195u8, 47u8, 127u8, 21u8, 44u8, 62u8, 143u8, + 170u8, 234u8, 160u8, 37u8, 131u8, 179u8, 57u8, 241u8, 140u8, 124u8, ], ) } @@ -40185,9 +40269,10 @@ pub mod api { ::subxt::storage::address::make_static_storage_map_key(_2.borrow()), ], [ - 26u8, 71u8, 1u8, 2u8, 214u8, 3u8, 65u8, 62u8, 133u8, 85u8, 151u8, - 180u8, 225u8, 180u8, 40u8, 49u8, 133u8, 107u8, 190u8, 102u8, 1u8, - 111u8, 144u8, 240u8, 0u8, 209u8, 198u8, 76u8, 143u8, 121u8, 2u8, 118u8, + 84u8, 68u8, 77u8, 93u8, 197u8, 135u8, 4u8, 75u8, 163u8, 6u8, 230u8, + 249u8, 85u8, 42u8, 202u8, 173u8, 25u8, 188u8, 245u8, 145u8, 114u8, + 106u8, 112u8, 17u8, 155u8, 50u8, 198u8, 174u8, 253u8, 75u8, 40u8, + 145u8, ], ) } @@ -40206,9 +40291,10 @@ pub mod api { "RemoteLockedFungibles", Vec::new(), [ - 26u8, 71u8, 1u8, 2u8, 214u8, 3u8, 65u8, 62u8, 133u8, 85u8, 151u8, - 180u8, 225u8, 180u8, 40u8, 49u8, 133u8, 107u8, 190u8, 102u8, 1u8, - 111u8, 144u8, 240u8, 0u8, 209u8, 198u8, 76u8, 143u8, 121u8, 2u8, 118u8, + 84u8, 68u8, 77u8, 93u8, 197u8, 135u8, 4u8, 75u8, 163u8, 6u8, 230u8, + 249u8, 85u8, 42u8, 202u8, 173u8, 25u8, 188u8, 245u8, 145u8, 114u8, + 106u8, 112u8, 17u8, 155u8, 50u8, 198u8, 174u8, 253u8, 75u8, 40u8, + 145u8, ], ) } @@ -40233,10 +40319,10 @@ pub mod api { _0.borrow(), )], [ - 158u8, 103u8, 153u8, 216u8, 19u8, 122u8, 251u8, 183u8, 15u8, 143u8, - 161u8, 105u8, 168u8, 100u8, 76u8, 220u8, 56u8, 129u8, 185u8, 251u8, - 220u8, 166u8, 3u8, 100u8, 48u8, 147u8, 123u8, 94u8, 226u8, 112u8, 59u8, - 171u8, + 240u8, 80u8, 205u8, 136u8, 21u8, 85u8, 0u8, 172u8, 9u8, 12u8, 36u8, + 16u8, 64u8, 213u8, 52u8, 227u8, 41u8, 150u8, 183u8, 135u8, 224u8, + 203u8, 66u8, 166u8, 115u8, 230u8, 245u8, 178u8, 194u8, 81u8, 35u8, + 245u8, ], ) } @@ -40258,10 +40344,10 @@ pub mod api { "LockedFungibles", Vec::new(), [ - 158u8, 103u8, 153u8, 216u8, 19u8, 122u8, 251u8, 183u8, 15u8, 143u8, - 161u8, 105u8, 168u8, 100u8, 76u8, 220u8, 56u8, 129u8, 185u8, 251u8, - 220u8, 166u8, 3u8, 100u8, 48u8, 147u8, 123u8, 94u8, 226u8, 112u8, 59u8, - 171u8, + 240u8, 80u8, 205u8, 136u8, 21u8, 85u8, 0u8, 172u8, 9u8, 12u8, 36u8, + 16u8, 64u8, 213u8, 52u8, 227u8, 41u8, 150u8, 183u8, 135u8, 224u8, + 203u8, 66u8, 166u8, 115u8, 230u8, 245u8, 178u8, 194u8, 81u8, 35u8, + 245u8, ], ) } @@ -40280,10 +40366,9 @@ pub mod api { "XcmExecutionSuspended", vec![], [ - 182u8, 20u8, 35u8, 10u8, 65u8, 208u8, 52u8, 141u8, 158u8, 23u8, 46u8, - 221u8, 172u8, 110u8, 39u8, 121u8, 106u8, 104u8, 19u8, 64u8, 90u8, - 137u8, 173u8, 31u8, 112u8, 219u8, 64u8, 238u8, 125u8, 242u8, 24u8, - 107u8, + 182u8, 54u8, 69u8, 68u8, 78u8, 76u8, 103u8, 79u8, 47u8, 136u8, 99u8, + 104u8, 128u8, 129u8, 249u8, 54u8, 214u8, 136u8, 97u8, 48u8, 178u8, + 42u8, 26u8, 27u8, 82u8, 24u8, 33u8, 77u8, 33u8, 27u8, 20u8, 127u8, ], ) } @@ -42353,6 +42438,147 @@ pub mod api { # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] + pub enum Call2 { + #[codec(index = 0)] + #[doc = "Set the collective's membership."] + #[doc = ""] + #[doc = "- `new_members`: The new member list. Be nice to the chain and provide it sorted."] + #[doc = "- `prime`: The prime member whose vote sets the default."] + #[doc = "- `old_count`: The upper bound for the previous number of members in storage. Used for"] + #[doc = " weight estimation."] + #[doc = ""] + #[doc = "The dispatch of this call must be `SetMembersOrigin`."] + #[doc = ""] + #[doc = "NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but"] + #[doc = " the weight estimations rely on it to estimate dispatchable weight."] + #[doc = ""] + #[doc = "# WARNING:"] + #[doc = ""] + #[doc = "The `pallet-collective` can also be managed by logic outside of the pallet through the"] + #[doc = "implementation of the trait [`ChangeMembers`]."] + #[doc = "Any call to `set_members` must be careful that the member set doesn't get out of sync"] + #[doc = "with other logic managing the member set."] + #[doc = ""] + #[doc = "## Complexity:"] + #[doc = "- `O(MP + N)` where:"] + #[doc = " - `M` old-members-count (code- and governance-bounded)"] + #[doc = " - `N` new-members-count (code- and governance-bounded)"] + #[doc = " - `P` proposals-count (code-bounded)"] + set_members { + new_members: ::std::vec::Vec<::subxt::utils::AccountId32>, + prime: ::core::option::Option<::subxt::utils::AccountId32>, + old_count: ::core::primitive::u32, + }, + #[codec(index = 1)] + #[doc = "Dispatch a proposal from a member using the `Member` origin."] + #[doc = ""] + #[doc = "Origin must be a member of the collective."] + #[doc = ""] + #[doc = "## Complexity:"] + #[doc = "- `O(B + M + P)` where:"] + #[doc = "- `B` is `proposal` size in bytes (length-fee-bounded)"] + #[doc = "- `M` members-count (code-bounded)"] + #[doc = "- `P` complexity of dispatching `proposal`"] + execute { + proposal: ::std::boxed::Box, + #[codec(compact)] + length_bound: ::core::primitive::u32, + }, + #[codec(index = 2)] + #[doc = "Add a new proposal to either be voted on or executed directly."] + #[doc = ""] + #[doc = "Requires the sender to be member."] + #[doc = ""] + #[doc = "`threshold` determines whether `proposal` is executed directly (`threshold < 2`)"] + #[doc = "or put up for voting."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "- `O(B + M + P1)` or `O(B + M + P2)` where:"] + #[doc = " - `B` is `proposal` size in bytes (length-fee-bounded)"] + #[doc = " - `M` is members-count (code- and governance-bounded)"] + #[doc = " - branching is influenced by `threshold` where:"] + #[doc = " - `P1` is proposal execution complexity (`threshold < 2`)"] + #[doc = " - `P2` is proposals-count (code-bounded) (`threshold >= 2`)"] + propose { + #[codec(compact)] + threshold: ::core::primitive::u32, + proposal: ::std::boxed::Box, + #[codec(compact)] + length_bound: ::core::primitive::u32, + }, + #[codec(index = 3)] + #[doc = "Add an aye or nay vote for the sender to the given proposal."] + #[doc = ""] + #[doc = "Requires the sender to be a member."] + #[doc = ""] + #[doc = "Transaction fees will be waived if the member is voting on any particular proposal"] + #[doc = "for the first time and the call is successful. Subsequent vote changes will charge a"] + #[doc = "fee."] + #[doc = "## Complexity"] + #[doc = "- `O(M)` where `M` is members-count (code- and governance-bounded)"] + vote { + proposal: ::subxt::utils::H256, + #[codec(compact)] + index: ::core::primitive::u32, + approve: ::core::primitive::bool, + }, + #[codec(index = 5)] + #[doc = "Disapprove a proposal, close, and remove it from the system, regardless of its current"] + #[doc = "state."] + #[doc = ""] + #[doc = "Must be called by the Root origin."] + #[doc = ""] + #[doc = "Parameters:"] + #[doc = "* `proposal_hash`: The hash of the proposal that should be disapproved."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "O(P) where P is the number of max proposals"] + disapprove_proposal { proposal_hash: ::subxt::utils::H256 }, + #[codec(index = 6)] + #[doc = "Close a vote that is either approved, disapproved or whose voting period has ended."] + #[doc = ""] + #[doc = "May be called by any signed account in order to finish voting and close the proposal."] + #[doc = ""] + #[doc = "If called before the end of the voting period it will only close the vote if it is"] + #[doc = "has enough votes to be approved or disapproved."] + #[doc = ""] + #[doc = "If called after the end of the voting period abstentions are counted as rejections"] + #[doc = "unless there is a prime member set and the prime member cast an approval."] + #[doc = ""] + #[doc = "If the close operation completes successfully with disapproval, the transaction fee will"] + #[doc = "be waived. Otherwise execution of the approved operation will be charged to the caller."] + #[doc = ""] + #[doc = "+ `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed"] + #[doc = "proposal."] + #[doc = "+ `length_bound`: The upper bound for the length of the proposal in storage. Checked via"] + #[doc = "`storage::read` so it is `size_of::() == 4` larger than the pure length."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "- `O(B + M + P1 + P2)` where:"] + #[doc = " - `B` is `proposal` size in bytes (length-fee-bounded)"] + #[doc = " - `M` is members-count (code- and governance-bounded)"] + #[doc = " - `P1` is the complexity of `proposal` preimage."] + #[doc = " - `P2` is proposal-count (code-bounded)"] + close { + proposal_hash: ::subxt::utils::H256, + #[codec(compact)] + index: ::core::primitive::u32, + proposal_weight_bound: runtime_types::sp_weights::weight_v2::Weight, + #[codec(compact)] + length_bound: ::core::primitive::u32, + }, + } + #[derive( + :: subxt :: ext :: codec :: Decode, + :: subxt :: ext :: codec :: Encode, + :: subxt :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] pub enum Error { #[codec(index = 0)] @@ -42396,6 +42622,49 @@ pub mod api { # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub enum Error2 { + #[codec(index = 0)] + #[doc = "Account is not a member"] + NotMember, + #[codec(index = 1)] + #[doc = "Duplicate proposals not allowed"] + DuplicateProposal, + #[codec(index = 2)] + #[doc = "Proposal must exist"] + ProposalMissing, + #[codec(index = 3)] + #[doc = "Mismatched index"] + WrongIndex, + #[codec(index = 4)] + #[doc = "Duplicate vote ignored"] + DuplicateVote, + #[codec(index = 5)] + #[doc = "Members are already initialized!"] + AlreadyInitialized, + #[codec(index = 6)] + #[doc = "The close call was made too early, before the end of the voting."] + TooEarly, + #[codec(index = 7)] + #[doc = "There can only be a maximum of `MaxProposals` active proposals."] + TooManyProposals, + #[codec(index = 8)] + #[doc = "The given weight bound for the proposal was too low."] + WrongProposalWeight, + #[codec(index = 9)] + #[doc = "The given length bound for the proposal was too low."] + WrongProposalLength, + } + #[derive( + :: subxt :: ext :: codec :: Decode, + :: subxt :: ext :: codec :: Encode, + :: subxt :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] pub enum Event { #[codec(index = 0)] @@ -42445,6 +42714,65 @@ pub mod api { no: ::core::primitive::u32, }, } + #[derive( + :: subxt :: ext :: codec :: Decode, + :: subxt :: ext :: codec :: Encode, + :: subxt :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] + pub enum Event2 { + #[codec(index = 0)] + #[doc = "A motion (given hash) has been proposed (by given account) with a threshold (given"] + #[doc = "`MemberCount`)."] + Proposed { + account: ::subxt::utils::AccountId32, + proposal_index: ::core::primitive::u32, + proposal_hash: ::subxt::utils::H256, + threshold: ::core::primitive::u32, + }, + #[codec(index = 1)] + #[doc = "A motion (given hash) has been voted on by given account, leaving"] + #[doc = "a tally (yes votes and no votes given respectively as `MemberCount`)."] + Voted { + account: ::subxt::utils::AccountId32, + proposal_hash: ::subxt::utils::H256, + voted: ::core::primitive::bool, + yes: ::core::primitive::u32, + no: ::core::primitive::u32, + }, + #[codec(index = 2)] + #[doc = "A motion was approved by the required threshold."] + Approved { proposal_hash: ::subxt::utils::H256 }, + #[codec(index = 3)] + #[doc = "A motion was not approved by the required threshold."] + Disapproved { proposal_hash: ::subxt::utils::H256 }, + #[codec(index = 4)] + #[doc = "A motion was executed; result will be `Ok` if it returned without error."] + Executed { + proposal_hash: ::subxt::utils::H256, + result: + ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, + }, + #[codec(index = 5)] + #[doc = "A single member did some action; result will be `Ok` if it returned without error."] + MemberExecuted { + proposal_hash: ::subxt::utils::H256, + result: + ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, + }, + #[codec(index = 6)] + #[doc = "A proposal was closed because its threshold was reached or after its duration was up."] + Closed { + proposal_hash: ::subxt::utils::H256, + yes: ::core::primitive::u32, + no: ::core::primitive::u32, + }, + } } #[derive( :: subxt :: ext :: codec :: Decode, @@ -49802,7 +50130,7 @@ pub mod api { #[doc = "NOTE: A successful return to this does *not* imply that the `msg` was executed successfully"] #[doc = "to completion; only that *some* of it was executed."] execute { - message: ::std::boxed::Box, + message: ::std::boxed::Box, max_weight: runtime_types::sp_weights::weight_v2::Weight, }, #[codec(index = 4)] @@ -51511,7 +51839,7 @@ pub mod api { #[codec(index = 15)] Council(runtime_types::pallet_collective::pallet::Call), #[codec(index = 16)] - TechnicalCommittee(runtime_types::pallet_collective::pallet::Call), + TechnicalCommittee(runtime_types::pallet_collective::pallet::Call2), #[codec(index = 17)] PhragmenElection(runtime_types::pallet_elections_phragmen::pallet::Call), #[codec(index = 18)] @@ -51627,7 +51955,7 @@ pub mod api { #[codec(index = 15)] Council(runtime_types::pallet_collective::pallet::Event), #[codec(index = 16)] - TechnicalCommittee(runtime_types::pallet_collective::pallet::Event), + TechnicalCommittee(runtime_types::pallet_collective::pallet::Event2), #[codec(index = 17)] PhragmenElection(runtime_types::pallet_elections_phragmen::pallet::Event), #[codec(index = 18)] @@ -55822,6 +56150,8 @@ pub mod api { Corruption, #[codec(index = 12)] Unavailable, + #[codec(index = 13)] + RootNotAllowed, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -56049,6 +56379,19 @@ pub mod api { pub struct DoubleEncoded { pub encoded: ::std::vec::Vec<::core::primitive::u8>, } + #[derive( + :: subxt :: ext :: codec :: Decode, + :: subxt :: ext :: codec :: Encode, + :: subxt :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + pub struct DoubleEncoded2 { + pub encoded: ::std::vec::Vec<::core::primitive::u8>, + } } pub mod v2 { use super::runtime_types; @@ -56632,6 +56975,155 @@ pub mod api { # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + pub enum Instruction2 { + #[codec(index = 0)] + WithdrawAsset(runtime_types::xcm::v2::multiasset::MultiAssets), + #[codec(index = 1)] + ReserveAssetDeposited(runtime_types::xcm::v2::multiasset::MultiAssets), + #[codec(index = 2)] + ReceiveTeleportedAsset(runtime_types::xcm::v2::multiasset::MultiAssets), + #[codec(index = 3)] + QueryResponse { + #[codec(compact)] + query_id: ::core::primitive::u64, + response: runtime_types::xcm::v2::Response, + #[codec(compact)] + max_weight: ::core::primitive::u64, + }, + #[codec(index = 4)] + TransferAsset { + assets: runtime_types::xcm::v2::multiasset::MultiAssets, + beneficiary: runtime_types::xcm::v2::multilocation::MultiLocation, + }, + #[codec(index = 5)] + TransferReserveAsset { + assets: runtime_types::xcm::v2::multiasset::MultiAssets, + dest: runtime_types::xcm::v2::multilocation::MultiLocation, + xcm: runtime_types::xcm::v2::Xcm, + }, + #[codec(index = 6)] + Transact { + origin_type: runtime_types::xcm::v2::OriginKind, + #[codec(compact)] + require_weight_at_most: ::core::primitive::u64, + call: runtime_types::xcm::double_encoded::DoubleEncoded2, + }, + #[codec(index = 7)] + HrmpNewChannelOpenRequest { + #[codec(compact)] + sender: ::core::primitive::u32, + #[codec(compact)] + max_message_size: ::core::primitive::u32, + #[codec(compact)] + max_capacity: ::core::primitive::u32, + }, + #[codec(index = 8)] + HrmpChannelAccepted { + #[codec(compact)] + recipient: ::core::primitive::u32, + }, + #[codec(index = 9)] + HrmpChannelClosing { + #[codec(compact)] + initiator: ::core::primitive::u32, + #[codec(compact)] + sender: ::core::primitive::u32, + #[codec(compact)] + recipient: ::core::primitive::u32, + }, + #[codec(index = 10)] + ClearOrigin, + #[codec(index = 11)] + DescendOrigin(runtime_types::xcm::v2::multilocation::Junctions), + #[codec(index = 12)] + ReportError { + #[codec(compact)] + query_id: ::core::primitive::u64, + dest: runtime_types::xcm::v2::multilocation::MultiLocation, + #[codec(compact)] + max_response_weight: ::core::primitive::u64, + }, + #[codec(index = 13)] + DepositAsset { + assets: runtime_types::xcm::v2::multiasset::MultiAssetFilter, + #[codec(compact)] + max_assets: ::core::primitive::u32, + beneficiary: runtime_types::xcm::v2::multilocation::MultiLocation, + }, + #[codec(index = 14)] + DepositReserveAsset { + assets: runtime_types::xcm::v2::multiasset::MultiAssetFilter, + #[codec(compact)] + max_assets: ::core::primitive::u32, + dest: runtime_types::xcm::v2::multilocation::MultiLocation, + xcm: runtime_types::xcm::v2::Xcm, + }, + #[codec(index = 15)] + ExchangeAsset { + give: runtime_types::xcm::v2::multiasset::MultiAssetFilter, + receive: runtime_types::xcm::v2::multiasset::MultiAssets, + }, + #[codec(index = 16)] + InitiateReserveWithdraw { + assets: runtime_types::xcm::v2::multiasset::MultiAssetFilter, + reserve: runtime_types::xcm::v2::multilocation::MultiLocation, + xcm: runtime_types::xcm::v2::Xcm, + }, + #[codec(index = 17)] + InitiateTeleport { + assets: runtime_types::xcm::v2::multiasset::MultiAssetFilter, + dest: runtime_types::xcm::v2::multilocation::MultiLocation, + xcm: runtime_types::xcm::v2::Xcm, + }, + #[codec(index = 18)] + QueryHolding { + #[codec(compact)] + query_id: ::core::primitive::u64, + dest: runtime_types::xcm::v2::multilocation::MultiLocation, + assets: runtime_types::xcm::v2::multiasset::MultiAssetFilter, + #[codec(compact)] + max_response_weight: ::core::primitive::u64, + }, + #[codec(index = 19)] + BuyExecution { + fees: runtime_types::xcm::v2::multiasset::MultiAsset, + weight_limit: runtime_types::xcm::v2::WeightLimit, + }, + #[codec(index = 20)] + RefundSurplus, + #[codec(index = 21)] + SetErrorHandler(runtime_types::xcm::v2::Xcm2), + #[codec(index = 22)] + SetAppendix(runtime_types::xcm::v2::Xcm2), + #[codec(index = 23)] + ClearError, + #[codec(index = 24)] + ClaimAsset { + assets: runtime_types::xcm::v2::multiasset::MultiAssets, + ticket: runtime_types::xcm::v2::multilocation::MultiLocation, + }, + #[codec(index = 25)] + Trap(#[codec(compact)] ::core::primitive::u64), + #[codec(index = 26)] + SubscribeVersion { + #[codec(compact)] + query_id: ::core::primitive::u64, + #[codec(compact)] + max_response_weight: ::core::primitive::u64, + }, + #[codec(index = 27)] + UnsubscribeVersion, + } + #[derive( + :: subxt :: ext :: codec :: Decode, + :: subxt :: ext :: codec :: Encode, + :: subxt :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum NetworkId { #[codec(index = 0)] Any, @@ -56718,6 +57210,17 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Xcm(pub ::std::vec::Vec); + #[derive( + :: subxt :: ext :: codec :: Decode, + :: subxt :: ext :: codec :: Encode, + :: subxt :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + pub struct Xcm2(pub ::std::vec::Vec); } pub mod v3 { use super::runtime_types; @@ -57469,6 +57972,226 @@ pub mod api { # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + pub enum Instruction2 { + #[codec(index = 0)] + WithdrawAsset(runtime_types::xcm::v3::multiasset::MultiAssets), + #[codec(index = 1)] + ReserveAssetDeposited(runtime_types::xcm::v3::multiasset::MultiAssets), + #[codec(index = 2)] + ReceiveTeleportedAsset(runtime_types::xcm::v3::multiasset::MultiAssets), + #[codec(index = 3)] + QueryResponse { + #[codec(compact)] + query_id: ::core::primitive::u64, + response: runtime_types::xcm::v3::Response, + max_weight: runtime_types::sp_weights::weight_v2::Weight, + querier: ::core::option::Option< + runtime_types::xcm::v3::multilocation::MultiLocation, + >, + }, + #[codec(index = 4)] + TransferAsset { + assets: runtime_types::xcm::v3::multiasset::MultiAssets, + beneficiary: runtime_types::xcm::v3::multilocation::MultiLocation, + }, + #[codec(index = 5)] + TransferReserveAsset { + assets: runtime_types::xcm::v3::multiasset::MultiAssets, + dest: runtime_types::xcm::v3::multilocation::MultiLocation, + xcm: runtime_types::xcm::v3::Xcm, + }, + #[codec(index = 6)] + Transact { + origin_kind: runtime_types::xcm::v2::OriginKind, + require_weight_at_most: runtime_types::sp_weights::weight_v2::Weight, + call: runtime_types::xcm::double_encoded::DoubleEncoded2, + }, + #[codec(index = 7)] + HrmpNewChannelOpenRequest { + #[codec(compact)] + sender: ::core::primitive::u32, + #[codec(compact)] + max_message_size: ::core::primitive::u32, + #[codec(compact)] + max_capacity: ::core::primitive::u32, + }, + #[codec(index = 8)] + HrmpChannelAccepted { + #[codec(compact)] + recipient: ::core::primitive::u32, + }, + #[codec(index = 9)] + HrmpChannelClosing { + #[codec(compact)] + initiator: ::core::primitive::u32, + #[codec(compact)] + sender: ::core::primitive::u32, + #[codec(compact)] + recipient: ::core::primitive::u32, + }, + #[codec(index = 10)] + ClearOrigin, + #[codec(index = 11)] + DescendOrigin(runtime_types::xcm::v3::junctions::Junctions), + #[codec(index = 12)] + ReportError(runtime_types::xcm::v3::QueryResponseInfo), + #[codec(index = 13)] + DepositAsset { + assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter, + beneficiary: runtime_types::xcm::v3::multilocation::MultiLocation, + }, + #[codec(index = 14)] + DepositReserveAsset { + assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter, + dest: runtime_types::xcm::v3::multilocation::MultiLocation, + xcm: runtime_types::xcm::v3::Xcm, + }, + #[codec(index = 15)] + ExchangeAsset { + give: runtime_types::xcm::v3::multiasset::MultiAssetFilter, + want: runtime_types::xcm::v3::multiasset::MultiAssets, + maximal: ::core::primitive::bool, + }, + #[codec(index = 16)] + InitiateReserveWithdraw { + assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter, + reserve: runtime_types::xcm::v3::multilocation::MultiLocation, + xcm: runtime_types::xcm::v3::Xcm, + }, + #[codec(index = 17)] + InitiateTeleport { + assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter, + dest: runtime_types::xcm::v3::multilocation::MultiLocation, + xcm: runtime_types::xcm::v3::Xcm, + }, + #[codec(index = 18)] + ReportHolding { + response_info: runtime_types::xcm::v3::QueryResponseInfo, + assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter, + }, + #[codec(index = 19)] + BuyExecution { + fees: runtime_types::xcm::v3::multiasset::MultiAsset, + weight_limit: runtime_types::xcm::v3::WeightLimit, + }, + #[codec(index = 20)] + RefundSurplus, + #[codec(index = 21)] + SetErrorHandler(runtime_types::xcm::v3::Xcm2), + #[codec(index = 22)] + SetAppendix(runtime_types::xcm::v3::Xcm2), + #[codec(index = 23)] + ClearError, + #[codec(index = 24)] + ClaimAsset { + assets: runtime_types::xcm::v3::multiasset::MultiAssets, + ticket: runtime_types::xcm::v3::multilocation::MultiLocation, + }, + #[codec(index = 25)] + Trap(#[codec(compact)] ::core::primitive::u64), + #[codec(index = 26)] + SubscribeVersion { + #[codec(compact)] + query_id: ::core::primitive::u64, + max_response_weight: runtime_types::sp_weights::weight_v2::Weight, + }, + #[codec(index = 27)] + UnsubscribeVersion, + #[codec(index = 28)] + BurnAsset(runtime_types::xcm::v3::multiasset::MultiAssets), + #[codec(index = 29)] + ExpectAsset(runtime_types::xcm::v3::multiasset::MultiAssets), + #[codec(index = 30)] + ExpectOrigin( + ::core::option::Option< + runtime_types::xcm::v3::multilocation::MultiLocation, + >, + ), + #[codec(index = 31)] + ExpectError( + ::core::option::Option<( + ::core::primitive::u32, + runtime_types::xcm::v3::traits::Error, + )>, + ), + #[codec(index = 32)] + ExpectTransactStatus(runtime_types::xcm::v3::MaybeErrorCode), + #[codec(index = 33)] + QueryPallet { + module_name: ::std::vec::Vec<::core::primitive::u8>, + response_info: runtime_types::xcm::v3::QueryResponseInfo, + }, + #[codec(index = 34)] + ExpectPallet { + #[codec(compact)] + index: ::core::primitive::u32, + name: ::std::vec::Vec<::core::primitive::u8>, + module_name: ::std::vec::Vec<::core::primitive::u8>, + #[codec(compact)] + crate_major: ::core::primitive::u32, + #[codec(compact)] + min_crate_minor: ::core::primitive::u32, + }, + #[codec(index = 35)] + ReportTransactStatus(runtime_types::xcm::v3::QueryResponseInfo), + #[codec(index = 36)] + ClearTransactStatus, + #[codec(index = 37)] + UniversalOrigin(runtime_types::xcm::v3::junction::Junction), + #[codec(index = 38)] + ExportMessage { + network: runtime_types::xcm::v3::junction::NetworkId, + destination: runtime_types::xcm::v3::junctions::Junctions, + xcm: runtime_types::xcm::v3::Xcm, + }, + #[codec(index = 39)] + LockAsset { + asset: runtime_types::xcm::v3::multiasset::MultiAsset, + unlocker: runtime_types::xcm::v3::multilocation::MultiLocation, + }, + #[codec(index = 40)] + UnlockAsset { + asset: runtime_types::xcm::v3::multiasset::MultiAsset, + target: runtime_types::xcm::v3::multilocation::MultiLocation, + }, + #[codec(index = 41)] + NoteUnlockable { + asset: runtime_types::xcm::v3::multiasset::MultiAsset, + owner: runtime_types::xcm::v3::multilocation::MultiLocation, + }, + #[codec(index = 42)] + RequestUnlock { + asset: runtime_types::xcm::v3::multiasset::MultiAsset, + locker: runtime_types::xcm::v3::multilocation::MultiLocation, + }, + #[codec(index = 43)] + SetFeesMode { + jit_withdraw: ::core::primitive::bool, + }, + #[codec(index = 44)] + SetTopic([::core::primitive::u8; 32usize]), + #[codec(index = 45)] + ClearTopic, + #[codec(index = 46)] + AliasOrigin(runtime_types::xcm::v3::multilocation::MultiLocation), + #[codec(index = 47)] + UnpaidExecution { + weight_limit: runtime_types::xcm::v3::WeightLimit, + check_origin: ::core::option::Option< + runtime_types::xcm::v3::multilocation::MultiLocation, + >, + }, + } + #[derive( + :: subxt :: ext :: codec :: Decode, + :: subxt :: ext :: codec :: Encode, + :: subxt :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum MaybeErrorCode { #[codec(index = 0)] Success, @@ -57587,6 +58310,17 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Xcm(pub ::std::vec::Vec); + #[derive( + :: subxt :: ext :: codec :: Decode, + :: subxt :: ext :: codec :: Encode, + :: subxt :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + pub struct Xcm2(pub ::std::vec::Vec); } #[derive( :: subxt :: ext :: codec :: Decode, @@ -57666,6 +58400,22 @@ pub mod api { #[codec(index = 3)] V3(runtime_types::xcm::v3::Xcm), } + #[derive( + :: subxt :: ext :: codec :: Decode, + :: subxt :: ext :: codec :: Encode, + :: subxt :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + pub enum VersionedXcm2 { + #[codec(index = 2)] + V2(runtime_types::xcm::v2::Xcm2), + #[codec(index = 3)] + V3(runtime_types::xcm::v3::Xcm2), + } } } } diff --git a/testing/integration-tests/src/frame/balances.rs b/testing/integration-tests/src/frame/balances.rs index 8868d84697..2d54355a50 100644 --- a/testing/integration-tests/src/frame/balances.rs +++ b/testing/integration-tests/src/frame/balances.rs @@ -383,9 +383,11 @@ async fn constant_existential_deposit() { // get and decode constant manually via metadata: let metadata = api.metadata(); - let balances_metadata = metadata.pallet("Balances").unwrap(); - let constant_metadata = balances_metadata.constant("ExistentialDeposit").unwrap(); - let existential_deposit = u128::decode(&mut &constant_metadata.value[..]).unwrap(); + let balances_metadata = metadata.pallet_by_name("Balances").unwrap(); + let constant_metadata = balances_metadata + .constant_by_name("ExistentialDeposit") + .unwrap(); + let existential_deposit = u128::decode(&mut constant_metadata.value()).unwrap(); assert_eq!(existential_deposit, 100_000_000_000_000); // constant address for API access: diff --git a/testing/integration-tests/src/frame/staking.rs b/testing/integration-tests/src/frame/staking.rs index 8c89fec42b..d5e207ebe5 100644 --- a/testing/integration-tests/src/frame/staking.rs +++ b/testing/integration-tests/src/frame/staking.rs @@ -69,8 +69,8 @@ async fn validate_not_possible_for_stash_account() -> Result<(), Error> { .await; assert_matches!(announce_validator, Err(Error::Runtime(DispatchError::Module(err))) => { let details = err.details().unwrap(); - assert_eq!(details.pallet(), "Staking"); - assert_eq!(details.error(), "NotController"); + assert_eq!(details.pallet.name(), "Staking"); + assert_eq!(&details.variant.name, "NotController"); }); Ok(()) } @@ -118,8 +118,8 @@ async fn nominate_not_possible_for_stash_account() -> Result<(), Error> { assert_matches!(nomination, Err(Error::Runtime(DispatchError::Module(err))) => { let details = err.details().unwrap(); - assert_eq!(details.pallet(), "Staking"); - assert_eq!(details.error(), "NotController"); + assert_eq!(details.pallet.name(), "Staking"); + assert_eq!(&details.variant.name, "NotController"); }); Ok(()) } @@ -164,8 +164,8 @@ async fn chill_works_for_controller_only() -> Result<(), Error> { assert_matches!(chill, Err(Error::Runtime(DispatchError::Module(err))) => { let details = err.details().unwrap(); - assert_eq!(details.pallet(), "Staking"); - assert_eq!(details.error(), "NotController"); + assert_eq!(details.pallet.name(), "Staking"); + assert_eq!(&details.variant.name, "NotController"); }); let is_chilled = api @@ -211,8 +211,8 @@ async fn tx_bond() -> Result<(), Error> { assert_matches!(bond_again, Err(Error::Runtime(DispatchError::Module(err))) => { let details = err.details().unwrap(); - assert_eq!(details.pallet(), "Staking"); - assert_eq!(details.error(), "AlreadyBonded"); + assert_eq!(details.pallet.name(), "Staking"); + assert_eq!(&details.variant.name, "AlreadyBonded"); }); Ok(()) } diff --git a/testing/integration-tests/src/metadata/validation.rs b/testing/integration-tests/src/metadata/validation.rs index d5a8642bc9..68940aa173 100644 --- a/testing/integration-tests/src/metadata/validation.rs +++ b/testing/integration-tests/src/metadata/validation.rs @@ -3,12 +3,9 @@ // see LICENSE for license details. use crate::{node_runtime, test_context, TestContext}; -use frame_metadata::{ - v15::{ - ExtrinsicMetadata, PalletCallMetadata, PalletMetadata, PalletStorageMetadata, - RuntimeMetadataV15, StorageEntryMetadata, StorageEntryModifier, StorageEntryType, - }, - RuntimeMetadataPrefixed, +use frame_metadata::v15::{ + ExtrinsicMetadata, PalletCallMetadata, PalletMetadata, PalletStorageMetadata, + RuntimeMetadataV15, StorageEntryMetadata, StorageEntryModifier, StorageEntryType, }; use scale_info::{ build::{Fields, Variants}, @@ -16,13 +13,7 @@ use scale_info::{ }; use subxt::{Metadata, OfflineClient, SubstrateConfig}; -async fn metadata_to_api( - metadata: RuntimeMetadataV15, - ctx: &TestContext, -) -> OfflineClient { - let prefixed = RuntimeMetadataPrefixed::from(metadata); - let metadata = Metadata::try_from(prefixed).unwrap(); - +async fn metadata_to_api(metadata: Metadata, ctx: &TestContext) -> OfflineClient { OfflineClient::new( ctx.client().genesis_hash(), ctx.client().runtime_version(), @@ -30,56 +21,18 @@ async fn metadata_to_api( ) } -#[tokio::test] -async fn full_metadata_check() { - let ctx = test_context().await; - let api = ctx.client(); - - // Runtime metadata is identical to the metadata used during API generation. - assert!(node_runtime::validate_codegen(&api).is_ok()); - - // Modify the metadata. - let mut metadata = api.metadata().runtime_metadata().clone(); - metadata.pallets[0].name = "NewPallet".to_string(); - - let api = metadata_to_api(metadata, &ctx).await; - assert_eq!( - node_runtime::validate_codegen(&api) - .expect_err("Validation should fail for incompatible metadata"), - ::subxt::error::MetadataError::IncompatibleMetadata - ); +fn v15_to_metadata(v15: RuntimeMetadataV15) -> Metadata { + let subxt_md: subxt_metadata::Metadata = v15.try_into().unwrap(); + subxt_md.into() } -#[tokio::test] -async fn constant_values_are_not_validated() { - let ctx = test_context().await; - let api = ctx.client(); - - let deposit_addr = node_runtime::constants().balances().existential_deposit(); - - // Retrieve existential deposit to validate it and confirm that it's OK. - assert!(api.constants().at(&deposit_addr).is_ok()); - - // Modify the metadata. - let mut metadata = api.metadata().runtime_metadata().clone(); - - let mut existential = metadata - .pallets - .iter_mut() - .find(|pallet| pallet.name == "Balances") - .expect("Metadata must contain Balances pallet") - .constants - .iter_mut() - .find(|constant| constant.name == "ExistentialDeposit") - .expect("ExistentialDeposit constant must be present"); - - // Modifying a constant value should not lead to an error: - existential.value = vec![0u8; 32]; - - let api = metadata_to_api(metadata, &ctx).await; - - assert!(node_runtime::validate_codegen(&api).is_ok()); - assert!(api.constants().at(&deposit_addr).is_ok()); +fn modified_metadata(metadata: Metadata, f: F) -> Metadata +where + F: FnOnce(&mut RuntimeMetadataV15), +{ + let mut metadata = RuntimeMetadataV15::from((*metadata).clone()); + f(&mut metadata); + v15_to_metadata(metadata) } fn default_pallet() -> PalletMetadata { @@ -95,7 +48,7 @@ fn default_pallet() -> PalletMetadata { } } -fn pallets_to_metadata(pallets: Vec) -> RuntimeMetadataV15 { +fn pallets_to_metadata(pallets: Vec) -> Metadata { // Extrinsic needs to contain at least the generic type parameter "Call" // for the metadata to be valid. // The "Call" type from the metadata is used to decode extrinsics. @@ -120,7 +73,7 @@ fn pallets_to_metadata(pallets: Vec) -> RuntimeMetadataV15 { SomeCall, } - RuntimeMetadataV15::new( + v15_to_metadata(RuntimeMetadataV15::new( pallets, ExtrinsicMetadata { ty: meta_type::>(), @@ -129,7 +82,60 @@ fn pallets_to_metadata(pallets: Vec) -> RuntimeMetadataV15 { }, meta_type::<()>(), vec![], - ) + )) +} + +#[tokio::test] +async fn full_metadata_check() { + let ctx = test_context().await; + let api = ctx.client(); + + // Runtime metadata is identical to the metadata used during API generation. + assert!(node_runtime::validate_codegen(&api).is_ok()); + + // Modify the metadata. + let metadata = modified_metadata(api.metadata(), |md| { + md.pallets[0].name = "NewPallet".to_string(); + }); + + let api = metadata_to_api(metadata, &ctx).await; + assert_eq!( + node_runtime::validate_codegen(&api) + .expect_err("Validation should fail for incompatible metadata"), + ::subxt::error::MetadataError::IncompatibleCodegen + ); +} + +#[tokio::test] +async fn constant_values_are_not_validated() { + let ctx = test_context().await; + let api = ctx.client(); + + let deposit_addr = node_runtime::constants().balances().existential_deposit(); + + // Retrieve existential deposit to validate it and confirm that it's OK. + assert!(api.constants().at(&deposit_addr).is_ok()); + + // Modify the metadata. + let metadata = modified_metadata(api.metadata(), |md| { + let mut existential = md + .pallets + .iter_mut() + .find(|pallet| pallet.name == "Balances") + .expect("Metadata must contain Balances pallet") + .constants + .iter_mut() + .find(|constant| constant.name == "ExistentialDeposit") + .expect("ExistentialDeposit constant must be present"); + + // Modifying a constant value should not lead to an error: + existential.value = vec![0u8; 32]; + }); + + let api = metadata_to_api(metadata, &ctx).await; + + assert!(node_runtime::validate_codegen(&api).is_ok()); + assert!(api.constants().at(&deposit_addr).is_ok()); } #[tokio::test] diff --git a/testing/ui-tests/src/utils/pallet_metadata_test_runner.rs b/testing/ui-tests/src/utils/pallet_metadata_test_runner.rs index 5df52dc144..c486927d95 100644 --- a/testing/ui-tests/src/utils/pallet_metadata_test_runner.rs +++ b/testing/ui-tests/src/utils/pallet_metadata_test_runner.rs @@ -3,15 +3,14 @@ // see LICENSE for license details. use codec::{Decode, Encode}; -use frame_metadata::{v15::RuntimeMetadataV15, RuntimeMetadataPrefixed}; use std::io::Read; -use subxt_metadata::{metadata_v14_to_latest, retain_metadata}; +use subxt_metadata::Metadata; static TEST_DIR_PREFIX: &str = "subxt_generated_pallets_ui_tests_"; static METADATA_FILE: &str = "../../artifacts/polkadot_metadata_full.scale"; pub struct PalletMetadataTestRunner { - metadata: RuntimeMetadataV15, + metadata: Metadata, index: usize, pallet_names: Option>, } @@ -26,15 +25,9 @@ impl PalletMetadataTestRunner { file.read_to_end(&mut bytes) .expect("Failed to read metadata.scale file"); - let meta: RuntimeMetadataPrefixed = - Decode::decode(&mut &*bytes).expect("Cannot decode metadata bytes"); - - let metadata = match meta.1 { - frame_metadata::RuntimeMetadata::V14(v14) => metadata_v14_to_latest(v14), - frame_metadata::RuntimeMetadata::V15(v15) => v15, - _ => panic!("Unsupported metadata version {:?}", meta.1), - }; + let metadata = Metadata::decode(&mut &*bytes).expect("Cannot decode metadata bytes"); let pallet_names = pallet_names.map(|v| v.iter().map(|e| e.to_string()).collect()); + PalletMetadataTestRunner { metadata, index: 0, @@ -43,27 +36,20 @@ impl PalletMetadataTestRunner { } pub fn path_to_next_ui_test(&mut self) -> Option { - let Some(pallet) = self.metadata.pallets.get(self.index) else { - return None + let pallet = match self.pallet_names.as_ref() { + Some(names) => self.metadata.pallet_by_name(names.get(self.index)?)?, + None => self.metadata.pallets().nth(self.index)?, }; - let test_name = &pallet.name; - // Increment test index to avoid overlaps. + + let test_name = pallet.name(); + + // Increment test index to point at the next pallet. let index = self.index; self.index += 1; - // if a pallet filter is set (pallet_names is Some), return the next pallet if this pallet is not in the filter. - if let Some(name_filter) = self.pallet_names.as_ref() { - if !name_filter.contains(test_name) { - return self.path_to_next_ui_test(); - } - } // Build custom metadata containing only this pallet. let mut metadata = self.metadata.clone(); - retain_metadata( - &mut metadata, - |pallet_filter| pallet_filter == pallet.name, - |_| true, - ); + metadata.retain(|pallet_filter| pallet_filter == pallet.name(), |_| true); let mut tmp_dir = std::env::temp_dir(); tmp_dir.push(format!("{TEST_DIR_PREFIX}{index}")); @@ -79,8 +65,7 @@ impl PalletMetadataTestRunner { t.to_string_lossy().into_owned() }; - let metadata_prefixed: RuntimeMetadataPrefixed = metadata.into(); - let encoded_metadata = metadata_prefixed.encode(); + let encoded_metadata = metadata.encode(); let rust_file = format!( r#" use subxt; @@ -106,18 +91,10 @@ impl PalletMetadataTestRunner { // are dropped too, to make sure that cleanup happens after tests are ran. impl Drop for PalletMetadataTestRunner { fn drop(&mut self) { - for i in 0..self.index { - if let Some(pallet) = self.metadata.pallets.get(self.index) { - if let Some(name_filter) = self.pallet_names.as_ref() { - if !name_filter.contains(&pallet.name) { - continue; - } - } - - let mut tmp_dir = std::env::temp_dir(); - tmp_dir.push(format!("{TEST_DIR_PREFIX}{i}")); - std::fs::remove_dir_all(tmp_dir).expect("cannot cleanup temp files"); - }; + for idx in 0..self.index { + let mut tmp_dir = std::env::temp_dir(); + tmp_dir.push(format!("{TEST_DIR_PREFIX}{idx}")); + let _ = std::fs::remove_dir_all(tmp_dir); } } } diff --git a/testing/wasm-tests/Cargo.lock b/testing/wasm-tests/Cargo.lock index 963f09b9e7..d39a8bc8f7 100644 --- a/testing/wasm-tests/Cargo.lock +++ b/testing/wasm-tests/Cargo.lock @@ -4,9 +4,9 @@ version = 3 [[package]] name = "anyhow" -version = "1.0.70" +version = "1.0.71" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7de8ce5e0f9f8d88245311066a578d72b7af3e7088f32783804676302df237e4" +checksum = "9c7d0618f0e0b7e8ff11427422b64564d5fb0be1940354bfe2e0529b18a9d9b8" [[package]] name = "arrayref" @@ -37,7 +37,7 @@ checksum = "b9ccdd8f2a161be9bd5c023df56f1b2a0bd1d83872ae53b71a84a12c9bf6e842" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] @@ -60,9 +60,9 @@ checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" [[package]] name = "base64" -version = "0.21.0" +version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a4ddaa51a5bc52a6948f74c06d20aaaddb71924eab79b8c97a8c556e942d6a" +checksum = "3f1e31e207a6b8fb791a38ea3105e6cb541f55e4d029902d3039a4ad07cc4105" [[package]] name = "beef" @@ -97,7 +97,7 @@ version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "46502ad458c9a52b69d4d4d32775c788b7a1b85e8bc9d482d92250fc0e3f8efe" dependencies = [ - "digest 0.10.6", + "digest 0.10.7", ] [[package]] @@ -131,9 +131,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.12.1" +version = "3.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b1ce199063694f33ffb7dd4e0ee620741495c32833cde5aa08f02a0bf96f0c8" +checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1" [[package]] name = "byte-slice-cast" @@ -228,8 +228,18 @@ version = "0.14.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7b750cb3417fd1b327431a470f388520309479ab0bf5e323505daf0290cd3850" dependencies = [ - "darling_core", - "darling_macro", + "darling_core 0.14.4", + "darling_macro 0.14.4", +] + +[[package]] +name = "darling" +version = "0.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0558d22a7b463ed0241e993f76f09f30b126687447751a8638587b864e4b3944" +dependencies = [ + "darling_core 0.20.1", + "darling_macro 0.20.1", ] [[package]] @@ -246,17 +256,42 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "darling_core" +version = "0.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab8bfa2e259f8ee1ce5e97824a3c55ec4404a0d772ca7fa96bf19f0752a046eb" +dependencies = [ + "fnv", + "ident_case", + "proc-macro2", + "quote", + "strsim", + "syn 2.0.16", +] + [[package]] name = "darling_macro" version = "0.14.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a4aab4dbc9f7611d8b55048a3a16d2d010c2c8334e46304b40ac1cc14bf3b48e" dependencies = [ - "darling_core", + "darling_core 0.14.4", "quote", "syn 1.0.109", ] +[[package]] +name = "darling_macro" +version = "0.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29a358ff9f12ec09c3e61fef9b5a9902623a695a46a917b07f269bff1445611a" +dependencies = [ + "darling_core 0.20.1", + "quote", + "syn 2.0.16", +] + [[package]] name = "derivative" version = "2.2.0" @@ -290,9 +325,9 @@ dependencies = [ [[package]] name = "digest" -version = "0.10.6" +version = "0.10.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8168378f4e5023e7218c89c891c0fd8ecdb5e5e4f18cb78f38cf245dd021e76f" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ "block-buffer 0.10.4", "crypto-common", @@ -492,9 +527,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.3.18" +version = "0.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17f8a914c2987b688368b5138aa05321db91f4090cf26118185672ad588bce21" +checksum = "d357c7ae988e7d2182f7d7871d0b963962420b0678b0997ce7de72001aeab782" dependencies = [ "bytes", "fnv", @@ -663,9 +698,9 @@ checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6" [[package]] name = "js-sys" -version = "0.3.61" +version = "0.3.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "445dde2150c55e483f3d8416706b97ec8e8237c307e5b7b4b8dd15e6af2a0730" +checksum = "2f37a4a5928311ac501dee68b3c7613a1037d0edb30c8e5427bd832d55d1b790" dependencies = [ "wasm-bindgen", ] @@ -766,9 +801,9 @@ dependencies = [ [[package]] name = "keccak" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3afef3b6eff9ce9d8ff9b3601125eec7f0c8cbac7abd14f355d053fa56c98768" +checksum = "8f6d5ed8676d904364de097082f4e7d240b571b67989ced0240f08b7f966f940" dependencies = [ "cpufeatures", ] @@ -781,19 +816,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.142" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a987beff54b60ffa6d51982e1aa1146bc42f19bd26be28b0586f252fccf5317" - -[[package]] -name = "lock_api" -version = "0.4.9" +version = "0.2.144" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "435011366fe56583b16cf956f9df0095b405b82d76425bc8981c0e22e60ec4df" -dependencies = [ - "autocfg", - "scopeguard", -] +checksum = "2b00cc1c228a6782d0f076e7b232802e0c5689d41bb5df366f2a6b6621cfdfe1" [[package]] name = "log" @@ -852,9 +877,9 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" [[package]] name = "parity-scale-codec" -version = "3.4.0" +version = "3.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "637935964ff85a605d114591d4d2c13c5d1ba2806dae97cea6bf180238a749ac" +checksum = "5ddb756ca205bd108aee3c62c6d3c994e1df84a59b9d6d4a5ea42ee1fd5a9a28" dependencies = [ "arrayvec", "bitvec", @@ -876,47 +901,24 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "parking_lot" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" -dependencies = [ - "lock_api", - "parking_lot_core", -] - -[[package]] -name = "parking_lot_core" -version = "0.9.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9069cbb9f99e3a5083476ccb29ceb1de18b9118cafa53e90c9551235de2b9521" -dependencies = [ - "cfg-if", - "libc", - "redox_syscall", - "smallvec", - "windows-sys 0.45.0", -] - [[package]] name = "pin-project" -version = "1.0.12" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad29a609b6bcd67fee905812e544992d216af9d755757c05ed2d0e15a74c6ecc" +checksum = "c95a7476719eab1e366eaf73d0260af3021184f18177925b07f54b30089ceead" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.0.12" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "069bdb1e05adc7a8990dce9cc75370895fbe4e3d58b9b73bf1aee56359344a55" +checksum = "39407670928234ebc5e6e580247dd567ad73a3578460c5990f9503df207e8f07" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.16", ] [[package]] @@ -986,18 +988,18 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.56" +version = "1.0.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b63bdb0cd06f1f4dedf69b254734f9b45af66e4a031e42a7480257d9898b435" +checksum = "fa1fb82fc0c281dd9671101b66b771ebbe1eaf967b96ac8740dcba4b70005ca8" dependencies = [ "unicode-ident", ] [[package]] name = "quote" -version = "1.0.26" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4424af4bf778aae2051a77b60283332f386554255d722233d09fbfc7e30da2fc" +checksum = "8f4f29d145265ec1c483c7c654450edde0bfe043d3938d6972630663356d9500" dependencies = [ "proc-macro2", ] @@ -1038,15 +1040,6 @@ dependencies = [ "getrandom", ] -[[package]] -name = "redox_syscall" -version = "0.2.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" -dependencies = [ - "bitflags", -] - [[package]] name = "ring" version = "0.16.20" @@ -1104,7 +1097,7 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d194b56d58803a43635bdc398cd17e383d6f71f9182b9a192c127ca42494a59b" dependencies = [ - "base64 0.21.0", + "base64 0.21.1", ] [[package]] @@ -1144,7 +1137,7 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b38741b2f78e4391b94eac6b102af0f6ea2b0f7fe65adb55d7f4004f507854db" dependencies = [ - "darling", + "darling 0.14.4", "proc-macro-crate", "proc-macro2", "quote", @@ -1171,7 +1164,7 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dd983cf0a9effd76138554ead18a6de542d1af175ac12fd5e91836c5c0268082" dependencies = [ - "darling", + "darling 0.14.4", "proc-macro-crate", "proc-macro2", "quote", @@ -1180,9 +1173,9 @@ dependencies = [ [[package]] name = "scale-info" -version = "2.5.0" +version = "2.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0cfdffd972d76b22f3d7f81c8be34b2296afd3a25e0a547bd9abe340a4dbbe97" +checksum = "b569c32c806ec3abdf3b5869fb8bf1e0d275a7c1c9b0b05603d9464632649edf" dependencies = [ "bitvec", "cfg-if", @@ -1194,9 +1187,9 @@ dependencies = [ [[package]] name = "scale-info-derive" -version = "2.5.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61fa974aea2d63dd18a4ec3a49d59af9f34178c73a4f56d2f18205628d00681e" +checksum = "53012eae69e5aa5c14671942a5dd47de59d4cdcff8532a6dd0e081faf1119482" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -1237,12 +1230,6 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294" -[[package]] -name = "scopeguard" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" - [[package]] name = "sct" version = "0.7.0" @@ -1255,9 +1242,9 @@ dependencies = [ [[package]] name = "security-framework" -version = "2.8.2" +version = "2.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a332be01508d814fed64bf28f798a146d73792121129962fdf335bb3c49a4254" +checksum = "1fc758eb7bffce5b308734e9b0c1468893cae9ff70ebf13e7090be8dcbcc83a8" dependencies = [ "bitflags", "core-foundation", @@ -1268,9 +1255,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.8.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31c9bb296072e961fcbd8853511dd39c2d8be2deb1e17c6860b1d30732b323b4" +checksum = "f51d0c0d83bec45f16480d0ce0058397a69e48fcdc52d1dc8855fb68acbd31a7" dependencies = [ "core-foundation-sys", "libc", @@ -1284,22 +1271,22 @@ checksum = "f638d531eccd6e23b980caf34876660d38e265409d8e99b397ab71eb3612fad0" [[package]] name = "serde" -version = "1.0.160" +version = "1.0.163" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb2f3770c8bce3bcda7e149193a069a0f4365bda1fa5cd88e03bca26afc1216c" +checksum = "2113ab51b87a539ae008b5c6c02dc020ffa39afd2d83cffcb3f4eb2722cebec2" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.160" +version = "1.0.163" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "291a097c63d8497e00160b166a967a4a79c64f3facdd01cbd7502231688d77df" +checksum = "8c805777e3930c8883389c602315a24224bcc738b63905ef87cd1420353ea93e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] @@ -1334,16 +1321,16 @@ checksum = "82e6b795fe2e3b1e845bafcb27aa35405c4d47cdfc92af5fc8d3002f76cebdc0" dependencies = [ "cfg-if", "cpufeatures", - "digest 0.10.6", + "digest 0.10.7", ] [[package]] name = "sha3" -version = "0.10.7" +version = "0.10.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54c2bb1a323307527314a36bfb73f24febb08ce2b8a554bf4ffd6f51ad15198c" +checksum = "75872d278a8f37ef87fa0ddbda7802605cb18344497949862c0d4dcb291eba60" dependencies = [ - "digest 0.10.6", + "digest 0.10.7", "keccak", ] @@ -1365,12 +1352,6 @@ dependencies = [ "autocfg", ] -[[package]] -name = "smallvec" -version = "1.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" - [[package]] name = "socket2" version = "0.4.9" @@ -1404,7 +1385,7 @@ checksum = "27449abdfbe41b473e625bce8113745e81d65777dd1d5a8462cf24137930dad8" dependencies = [ "blake2b_simd", "byteorder", - "digest 0.10.6", + "digest 0.10.7", "sha2", "sha3", "sp-std", @@ -1437,9 +1418,9 @@ checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" [[package]] name = "subtle" -version = "2.4.1" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" +checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" [[package]] name = "subxt" @@ -1456,7 +1437,6 @@ dependencies = [ "impl-serde", "jsonrpsee", "parity-scale-codec", - "parking_lot", "primitive-types", "scale-bits", "scale-decode", @@ -1476,7 +1456,6 @@ dependencies = [ name = "subxt-codegen" version = "0.28.0" dependencies = [ - "darling", "frame-metadata", "heck", "hex", @@ -1486,7 +1465,7 @@ dependencies = [ "quote", "scale-info", "subxt-metadata", - "syn 1.0.109", + "syn 2.0.16", "thiserror", "tokio", ] @@ -1495,10 +1474,10 @@ dependencies = [ name = "subxt-macro" version = "0.28.0" dependencies = [ - "darling", + "darling 0.20.1", "proc-macro-error", "subxt-codegen", - "syn 1.0.109", + "syn 2.0.16", ] [[package]] @@ -1509,6 +1488,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-core-hashing", + "thiserror", ] [[package]] @@ -1524,9 +1504,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.15" +version = "2.0.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a34fcf3e8b60f57e6a14301a2e916d323af98b0ea63c599441eec8558660c822" +checksum = "a6f671d4b5ffdb8eadec19c0ae67fe2639df8684bd7bc4b83d986b8db549cf01" dependencies = [ "proc-macro2", "quote", @@ -1556,7 +1536,7 @@ checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] @@ -1571,9 +1551,9 @@ dependencies = [ [[package]] name = "tokio" -version = "1.27.0" +version = "1.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0de47a4eecbe11f498978a9b29d792f0d2692d1dd003650c24c76510e3bc001" +checksum = "0aa32867d44e6f2ce3385e89dceb990188b8bb0fb25b0cf576647a6f98ac5105" dependencies = [ "autocfg", "bytes", @@ -1583,18 +1563,18 @@ dependencies = [ "pin-project-lite", "socket2", "tokio-macros", - "windows-sys 0.45.0", + "windows-sys 0.48.0", ] [[package]] name = "tokio-macros" -version = "2.0.0" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61a573bdc87985e9d6ddeed1b3d864e8a302c847e40d647746df2f1de209d1ce" +checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] @@ -1610,9 +1590,9 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.7" +version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5427d89453009325de0d8f342c9490009f76e999cb7672d77e46267448f7e6b2" +checksum = "806fe8c2c87eccc8b3267cbae29ed3ab2d0bd37fca70ab622e46aaa9375ddb7d" dependencies = [ "bytes", "futures-core", @@ -1625,15 +1605,15 @@ dependencies = [ [[package]] name = "toml_datetime" -version = "0.6.1" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ab8ed2edee10b50132aed5f331333428b011c99402b5a534154ed15746f9622" +checksum = "5a76a9312f5ba4c2dec6b9161fdf25d87ad8a09256ccea5a556fef03c706a10f" [[package]] name = "toml_edit" -version = "0.19.8" +version = "0.19.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "239410c8609e8125456927e6707163a3b1fdb40561e4b803bc041f466ccfdc13" +checksum = "2380d56e8670370eee6566b0bfd4265f65b3f432e8c6d85623f728d4fa31f739" dependencies = [ "indexmap", "toml_datetime", @@ -1666,14 +1646,14 @@ checksum = "0f57e3ca2a01450b1a921183a9c9cbfda207fd822cef4ccb00a65402cbba7a74" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] name = "tracing-core" -version = "0.1.30" +version = "0.1.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24eb03ba0eab1fd845050058ce5e616558e8f8d8fca633e6b163fe25c797213a" +checksum = "0955b8137a1df6f1a2e9a37d8a6656291ff0297c1a97c24e0d8425fe2312f79a" dependencies = [ "once_cell", ] @@ -1713,7 +1693,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ "cfg-if", - "digest 0.10.6", + "digest 0.10.7", "rand", "static_assertions", ] @@ -1772,9 +1752,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.84" +version = "0.2.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31f8dcbc21f30d9b8f2ea926ecb58f6b91192c17e9d33594b3df58b2007ca53b" +checksum = "5bba0e8cb82ba49ff4e229459ff22a191bbe9a1cb3a341610c9c33efc27ddf73" dependencies = [ "cfg-if", "wasm-bindgen-macro", @@ -1782,24 +1762,24 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.84" +version = "0.2.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95ce90fd5bcc06af55a641a86428ee4229e44e07033963a2290a8e241607ccb9" +checksum = "19b04bc93f9d6bdee709f6bd2118f57dd6679cf1176a1af464fca3ab0d66d8fb" dependencies = [ "bumpalo", "log", "once_cell", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.16", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.34" +version = "0.4.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f219e0d211ba40266969f6dbdd90636da12f75bee4fc9d6c23d1260dadb51454" +checksum = "2d1985d03709c53167ce907ff394f5316aa22cb4e12761295c5dc57dacb6297e" dependencies = [ "cfg-if", "js-sys", @@ -1809,9 +1789,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.84" +version = "0.2.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c21f77c0bedc37fd5dc21f897894a5ca01e7bb159884559461862ae90c0b4c5" +checksum = "14d6b024f1a526bb0234f52840389927257beb670610081360e5a03c5df9c258" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -1819,28 +1799,28 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.84" +version = "0.2.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2aff81306fcac3c7515ad4e177f521b5c9a15f2b08f4e32d823066102f35a5f6" +checksum = "e128beba882dd1eb6200e1dc92ae6c5dbaa4311aa7bb211ca035779e5efc39f8" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.16", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.84" +version = "0.2.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0046fef7e28c3804e5e38bfa31ea2a0f73905319b677e57ebe37e49358989b5d" +checksum = "ed9d5b4305409d1fc9482fee2d7f9bcbf24b3972bf59817ef757e23982242a93" [[package]] name = "wasm-bindgen-test" -version = "0.3.34" +version = "0.3.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6db36fc0f9fb209e88fb3642590ae0205bb5a56216dabd963ba15879fe53a30b" +checksum = "c9e636f3a428ff62b3742ebc3c70e254dfe12b8c2b469d688ea59cdd4abcf502" dependencies = [ "console_error_panic_hook", "js-sys", @@ -1852,9 +1832,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-test-macro" -version = "0.3.34" +version = "0.3.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0734759ae6b3b1717d661fe4f016efcfb9828f5edb4520c18eaee05af3b43be9" +checksum = "f18c1fad2f7c4958e7bcce014fa212f59a65d5e3721d0f77e6c0b27ede936ba3" dependencies = [ "proc-macro2", "quote", @@ -1873,9 +1853,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.61" +version = "0.3.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e33b99f4b23ba3eec1a53ac264e35a755f00e966e0065077d6027c0f575b0b97" +checksum = "3bdd9ef4e984da1187bf8110c5cf5b845fbc87a23602cdf912386a76fcd3a7c2" dependencies = [ "js-sys", "wasm-bindgen", @@ -1928,13 +1908,13 @@ version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" dependencies = [ - "windows_aarch64_gnullvm", - "windows_aarch64_msvc", - "windows_i686_gnu", - "windows_i686_msvc", - "windows_x86_64_gnu", - "windows_x86_64_gnullvm", - "windows_x86_64_msvc", + "windows_aarch64_gnullvm 0.42.2", + "windows_aarch64_msvc 0.42.2", + "windows_i686_gnu 0.42.2", + "windows_i686_msvc 0.42.2", + "windows_x86_64_gnu 0.42.2", + "windows_x86_64_gnullvm 0.42.2", + "windows_x86_64_msvc 0.42.2", ] [[package]] @@ -1943,7 +1923,16 @@ version = "0.45.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" dependencies = [ - "windows-targets", + "windows-targets 0.42.2", +] + +[[package]] +name = "windows-sys" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" +dependencies = [ + "windows-targets 0.48.0", ] [[package]] @@ -1952,13 +1941,28 @@ version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" dependencies = [ - "windows_aarch64_gnullvm", - "windows_aarch64_msvc", - "windows_i686_gnu", - "windows_i686_msvc", - "windows_x86_64_gnu", - "windows_x86_64_gnullvm", - "windows_x86_64_msvc", + "windows_aarch64_gnullvm 0.42.2", + "windows_aarch64_msvc 0.42.2", + "windows_i686_gnu 0.42.2", + "windows_i686_msvc 0.42.2", + "windows_x86_64_gnu 0.42.2", + "windows_x86_64_gnullvm 0.42.2", + "windows_x86_64_msvc 0.42.2", +] + +[[package]] +name = "windows-targets" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b1eb6f0cd7c80c79759c929114ef071b87354ce476d9d94271031c0497adfd5" +dependencies = [ + "windows_aarch64_gnullvm 0.48.0", + "windows_aarch64_msvc 0.48.0", + "windows_i686_gnu 0.48.0", + "windows_i686_msvc 0.48.0", + "windows_x86_64_gnu 0.48.0", + "windows_x86_64_gnullvm 0.48.0", + "windows_x86_64_msvc 0.48.0", ] [[package]] @@ -1967,47 +1971,89 @@ version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" + [[package]] name = "windows_aarch64_msvc" version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" +[[package]] +name = "windows_aarch64_msvc" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" + [[package]] name = "windows_i686_gnu" version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" +[[package]] +name = "windows_i686_gnu" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" + [[package]] name = "windows_i686_msvc" version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" +[[package]] +name = "windows_i686_msvc" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" + [[package]] name = "windows_x86_64_gnu" version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" +[[package]] +name = "windows_x86_64_gnu" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" + [[package]] name = "windows_x86_64_gnullvm" version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" + [[package]] name = "windows_x86_64_msvc" version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" +[[package]] +name = "windows_x86_64_msvc" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" + [[package]] name = "winnow" -version = "0.4.1" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae8970b36c66498d8ff1d66685dc86b91b29db0c7739899012f63a63814b4b28" +checksum = "61de7bac303dc551fe038e2b3cef0f571087a47571ea6e79a87692ac99b99699" dependencies = [ "memchr", ]