difftreelog
fix rebase leftovers
in: master
23 files changed
Cargo.lockdiffbeforeafterboth--- a/Cargo.lock
+++ b/Cargo.lock
@@ -59,7 +59,7 @@
"cipher",
"ctr",
"ghash",
- "subtle 2.4.1",
+ "subtle",
]
[[package]]
@@ -99,9 +99,9 @@
[[package]]
name = "anyhow"
-version = "1.0.56"
+version = "1.0.57"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4361135be9122e0870de935d7c439aef945b9f9ddd4199a553b5270b49c82a27"
+checksum = "08f9b8508dccb7687a1d6c4ce66b2b0ecef467c94667de27d8d7fe1f8d2a9cdc"
[[package]]
name = "approx"
@@ -241,9 +241,9 @@
[[package]]
name = "async-process"
-version = "1.3.0"
+version = "1.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "83137067e3a2a6a06d67168e49e68a0957d215410473a740cea95a2425c0b7c6"
+checksum = "cf2c06e30a24e8c78a3987d07f0930edf76ef35e027e7bdb063fccafdad1f60c"
dependencies = [
"async-io",
"blocking",
@@ -278,7 +278,7 @@
"memchr",
"num_cpus",
"once_cell",
- "pin-project-lite 0.2.8",
+ "pin-project-lite 0.2.9",
"pin-utils",
"slab",
"wasm-bindgen-futures",
@@ -325,7 +325,7 @@
"futures-sink",
"futures-util",
"memchr",
- "pin-project-lite 0.2.8",
+ "pin-project-lite 0.2.9",
]
[[package]]
@@ -338,7 +338,7 @@
"futures-sink",
"futures-util",
"memchr",
- "pin-project-lite 0.2.8",
+ "pin-project-lite 0.2.9",
]
[[package]]
@@ -394,31 +394,31 @@
"futures-core",
"getrandom 0.2.6",
"instant",
- "pin-project-lite 0.2.8",
+ "pin-project-lite 0.2.9",
"rand 0.8.5",
- "tokio 1.17.0",
+ "tokio 1.18.1",
]
[[package]]
name = "backtrace"
-version = "0.3.64"
+version = "0.3.65"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5e121dee8023ce33ab248d9ce1493df03c3b38a659b240096fcbd7048ff9c31f"
+checksum = "11a17d453482a265fd5f8479f2a3f405566e6ca627837aaddb85af8b1ab8ef61"
dependencies = [
"addr2line",
"cc",
"cfg-if 1.0.0",
"libc",
"miniz_oxide",
- "object",
+ "object 0.28.3",
"rustc-demangle",
]
[[package]]
name = "base-x"
-version = "0.2.8"
+version = "0.2.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a4521f3e3d031370679b3b140beb36dfe4801b09ac77e30c61941f97df3ef28b"
+checksum = "dc19a4937b4fbd3fe3379793130e42060d10627a360f2127802b10b87e7baf74"
[[package]]
name = "base16ct"
@@ -456,17 +456,19 @@
[[package]]
name = "beefy-gadget"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"beefy-primitives",
"fnv",
"futures 0.3.21",
+ "futures-timer",
"hex",
"log",
"parity-scale-codec",
"parking_lot 0.12.0",
"sc-chain-spec",
"sc-client-api",
+ "sc-finality-grandpa",
"sc-keystore",
"sc-network",
"sc-network-gossip",
@@ -475,8 +477,10 @@
"sp-application-crypto",
"sp-arithmetic",
"sp-blockchain",
+ "sp-consensus",
"sp-core",
"sp-keystore",
+ "sp-mmr-primitives",
"sp-runtime",
"substrate-prometheus-endpoint",
"thiserror",
@@ -486,7 +490,7 @@
[[package]]
name = "beefy-gadget-rpc"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"beefy-gadget",
"beefy-primitives",
@@ -509,12 +513,12 @@
[[package]]
name = "beefy-merkle-tree"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
[[package]]
name = "beefy-primitives"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -571,7 +575,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1489fcb93a5bb47da0462ca93ad252ad6af2145cce58d10d46a83931ba9f016b"
dependencies = [
- "funty 2.0.0",
+ "funty",
"radium",
"tap",
"wyz",
@@ -730,8 +734,9 @@
[[package]]
name = "bp-header-chain"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
+ "bp-runtime",
"finality-grandpa",
"frame-support",
"parity-scale-codec",
@@ -746,7 +751,7 @@
[[package]]
name = "bp-message-dispatch"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"bp-runtime",
"frame-support",
@@ -758,7 +763,7 @@
[[package]]
name = "bp-messages"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"bitvec",
"bp-runtime",
@@ -768,13 +773,14 @@
"parity-scale-codec",
"scale-info",
"serde",
+ "sp-core",
"sp-std",
]
[[package]]
name = "bp-polkadot-core"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"bp-messages",
"bp-runtime",
@@ -792,7 +798,7 @@
[[package]]
name = "bp-rococo"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"bp-messages",
"bp-polkadot-core",
@@ -809,7 +815,7 @@
[[package]]
name = "bp-runtime"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"frame-support",
"hash-db",
@@ -827,7 +833,7 @@
[[package]]
name = "bp-test-utils"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"bp-header-chain",
"ed25519-dalek",
@@ -842,7 +848,7 @@
[[package]]
name = "bp-wococo"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"bp-messages",
"bp-polkadot-core",
@@ -857,12 +863,13 @@
[[package]]
name = "bridge-runtime-common"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"bp-message-dispatch",
"bp-messages",
"bp-runtime",
"frame-support",
+ "frame-system",
"hash-db",
"pallet-bridge-dispatch",
"pallet-bridge-grandpa",
@@ -870,6 +877,7 @@
"pallet-transaction-payment",
"parity-scale-codec",
"scale-info",
+ "sp-api",
"sp-core",
"sp-runtime",
"sp-state-machine",
@@ -889,7 +897,10 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ba3569f383e8f1598449f1a423e72e99569137b47740b1da11ef19af3d5c3223"
dependencies = [
+ "lazy_static",
"memchr",
+ "regex-automata",
+ "serde",
]
[[package]]
@@ -990,7 +1001,7 @@
dependencies = [
"camino",
"cargo-platform",
- "semver 1.0.7",
+ "semver 1.0.9",
"serde",
"serde_json",
]
@@ -1111,16 +1122,16 @@
[[package]]
name = "clap"
-version = "3.1.8"
+version = "3.1.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "71c47df61d9e16dc010b55dba1952a57d8c215dbb533fd13cdd13369aac73b1c"
+checksum = "f52d4f8e4a1419219935762e32913b4430f37cb0c0200ad17a89ee18c0188a9f"
dependencies = [
"atty",
"bitflags",
"clap_derive",
+ "clap_lex",
"indexmap",
"lazy_static",
- "os_str_bytes",
"strsim",
"termcolor",
"textwrap",
@@ -1140,6 +1151,27 @@
]
[[package]]
+name = "clap_lex"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a37c35f1112dad5e6e0b1adaff798507497a18fceeb30cceb3bae7d1427b9213"
+dependencies = [
+ "os_str_bytes",
+]
+
+[[package]]
+name = "coarsetime"
+version = "0.1.22"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "454038500439e141804c655b4cd1bc6a70bcb95cd2bc9463af5661b6956f0e46"
+dependencies = [
+ "libc",
+ "once_cell",
+ "wasi 0.11.0+wasi-snapshot-preview1",
+ "wasm-bindgen",
+]
+
+[[package]]
name = "concurrent-queue"
version = "1.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1211,18 +1243,18 @@
[[package]]
name = "cranelift-bforest"
-version = "0.80.1"
+version = "0.82.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "62fc68cdb867b7d27b5f33cd65eb11376dfb41a2d09568a1a2c2bc1dc204f4ef"
+checksum = "38faa2a16616c8e78a18d37b4726b98bfd2de192f2fdc8a39ddf568a408a0f75"
dependencies = [
"cranelift-entity",
]
[[package]]
name = "cranelift-codegen"
-version = "0.80.1"
+version = "0.82.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "31253a44ab62588f8235a996cc9b0636d98a299190069ced9628b8547329b47a"
+checksum = "26f192472a3ba23860afd07d2b0217dc628f21fcc72617aa1336d98e1671f33b"
dependencies = [
"cranelift-bforest",
"cranelift-codegen-meta",
@@ -1237,33 +1269,33 @@
[[package]]
name = "cranelift-codegen-meta"
-version = "0.80.1"
+version = "0.82.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7a20ab4627d30b702fb1b8a399882726d216b8164d3b3fa6189e3bf901506afe"
+checksum = "0f32ddb89e9b89d3d9b36a5b7d7ea3261c98235a76ac95ba46826b8ec40b1a24"
dependencies = [
"cranelift-codegen-shared",
]
[[package]]
name = "cranelift-codegen-shared"
-version = "0.80.1"
+version = "0.82.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6687d9668dacfed4468361f7578d86bded8ca4db978f734d9b631494bebbb5b8"
+checksum = "01fd0d9f288cc1b42d9333b7a776b17e278fc888c28e6a0f09b5573d45a150bc"
[[package]]
name = "cranelift-entity"
-version = "0.80.1"
+version = "0.82.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c77c5d72db97ba2cb36f69037a709edbae0d29cb25503775891e7151c5c874bf"
+checksum = "9e3bfe172b83167604601faf9dc60453e0d0a93415b57a9c4d1a7ae6849185cf"
dependencies = [
"serde",
]
[[package]]
name = "cranelift-frontend"
-version = "0.80.1"
+version = "0.82.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "426dca83f63c7c64ea459eb569aadc5e0c66536c0042ed5d693f91830e8750d0"
+checksum = "a006e3e32d80ce0e4ba7f1f9ddf66066d052a8c884a110b91d05404d6ce26dce"
dependencies = [
"cranelift-codegen",
"log",
@@ -1273,9 +1305,9 @@
[[package]]
name = "cranelift-native"
-version = "0.80.1"
+version = "0.82.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8007864b5d0c49b026c861a15761785a2871124e401630c03ef1426e6d0d559e"
+checksum = "501241b0cdf903412ec9075385ac9f2b1eb18a89044d1538e97fab603231f70c"
dependencies = [
"cranelift-codegen",
"libc",
@@ -1284,9 +1316,9 @@
[[package]]
name = "cranelift-wasm"
-version = "0.80.1"
+version = "0.82.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "94cf12c071415ba261d897387ae5350c4d83c238376c8c5a96514ecfa2ea66a3"
+checksum = "16d9e4211bbc3268042a96dd4de5bd979cda22434991d035f5f8eacba987fad2"
dependencies = [
"cranelift-codegen",
"cranelift-entity",
@@ -1343,6 +1375,16 @@
]
[[package]]
+name = "crossbeam-queue"
+version = "0.3.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1f25d8400f4a7a5778f0e4e52384a48cbd9b5c495d110786187fc750075277a2"
+dependencies = [
+ "cfg-if 1.0.0",
+ "crossbeam-utils",
+]
+
+[[package]]
name = "crossbeam-utils"
version = "0.8.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1366,7 +1408,7 @@
dependencies = [
"generic-array 0.14.5",
"rand_core 0.6.3",
- "subtle 2.4.1",
+ "subtle",
"zeroize",
]
@@ -1382,32 +1424,44 @@
[[package]]
name = "crypto-mac"
-version = "0.7.0"
+version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4434400df11d95d556bac068ddfedd482915eb18fe8bea89bc80b6e4b1c179e5"
+checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab"
dependencies = [
- "generic-array 0.12.4",
- "subtle 1.0.0",
+ "generic-array 0.14.5",
+ "subtle",
]
[[package]]
name = "crypto-mac"
-version = "0.8.0"
+version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab"
+checksum = "b1d1a86f49236c215f271d40892d5fc950490551400b02ef360692c29815c714"
dependencies = [
"generic-array 0.14.5",
- "subtle 2.4.1",
+ "subtle",
+]
+
+[[package]]
+name = "csv"
+version = "1.1.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "22813a6dc45b335f9bade10bf7271dc477e81113e89eb251a0bc2a8a81c536e1"
+dependencies = [
+ "bstr",
+ "csv-core",
+ "itoa 0.4.8",
+ "ryu",
+ "serde",
]
[[package]]
-name = "crypto-mac"
-version = "0.11.1"
+name = "csv-core"
+version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b1d1a86f49236c215f271d40892d5fc950490551400b02ef360692c29815c714"
+checksum = "2b2466559f260f48ad25fe6317b3c8dac77b5bdb5763ac7d9d6103530663bc90"
dependencies = [
- "generic-array 0.14.5",
- "subtle 2.4.1",
+ "memchr",
]
[[package]]
@@ -1452,7 +1506,7 @@
[[package]]
name = "cumulus-client-cli"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
dependencies = [
"clap",
"sc-cli",
@@ -1463,7 +1517,7 @@
[[package]]
name = "cumulus-client-collator"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
dependencies = [
"cumulus-client-consensus-common",
"cumulus-client-network",
@@ -1487,7 +1541,7 @@
[[package]]
name = "cumulus-client-consensus-aura"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
dependencies = [
"async-trait",
"cumulus-client-consensus-common",
@@ -1516,7 +1570,7 @@
[[package]]
name = "cumulus-client-consensus-common"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
dependencies = [
"async-trait",
"cumulus-relay-chain-interface",
@@ -1537,7 +1591,7 @@
[[package]]
name = "cumulus-client-network"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
dependencies = [
"async-trait",
"cumulus-relay-chain-interface",
@@ -1562,7 +1616,7 @@
[[package]]
name = "cumulus-client-pov-recovery"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
dependencies = [
"cumulus-primitives-core",
"cumulus-relay-chain-interface",
@@ -1586,7 +1640,7 @@
[[package]]
name = "cumulus-client-service"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
dependencies = [
"cumulus-client-cli",
"cumulus-client-collator",
@@ -1616,7 +1670,7 @@
[[package]]
name = "cumulus-pallet-aura-ext"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
dependencies = [
"frame-executive",
"frame-support",
@@ -1634,7 +1688,7 @@
[[package]]
name = "cumulus-pallet-dmp-queue"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -1652,7 +1706,7 @@
[[package]]
name = "cumulus-pallet-parachain-system"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
dependencies = [
"cumulus-pallet-parachain-system-proc-macro",
"cumulus-primitives-core",
@@ -1682,7 +1736,7 @@
[[package]]
name = "cumulus-pallet-parachain-system-proc-macro"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
dependencies = [
"proc-macro-crate 1.1.3",
"proc-macro2",
@@ -1693,7 +1747,7 @@
[[package]]
name = "cumulus-pallet-xcm"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -1710,7 +1764,7 @@
[[package]]
name = "cumulus-pallet-xcmp-queue"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -1728,7 +1782,7 @@
[[package]]
name = "cumulus-primitives-core"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
dependencies = [
"frame-support",
"parity-scale-codec",
@@ -1744,7 +1798,7 @@
[[package]]
name = "cumulus-primitives-parachain-inherent"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
dependencies = [
"async-trait",
"cumulus-primitives-core",
@@ -1767,7 +1821,7 @@
[[package]]
name = "cumulus-primitives-timestamp"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
dependencies = [
"cumulus-primitives-core",
"futures 0.3.21",
@@ -1780,7 +1834,7 @@
[[package]]
name = "cumulus-primitives-utility"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -1797,7 +1851,7 @@
[[package]]
name = "cumulus-relay-chain-inprocess-interface"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
dependencies = [
"async-trait",
"cumulus-primitives-core",
@@ -1825,13 +1879,13 @@
[[package]]
name = "cumulus-relay-chain-interface"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
dependencies = [
"async-trait",
"cumulus-primitives-core",
"derive_more",
"futures 0.3.21",
- "jsonrpsee-core 0.9.0",
+ "jsonrpsee-core",
"parity-scale-codec",
"parking_lot 0.12.0",
"polkadot-overseer",
@@ -1849,7 +1903,7 @@
[[package]]
name = "cumulus-relay-chain-rpc-interface"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
dependencies = [
"async-trait",
"backoff",
@@ -1857,7 +1911,7 @@
"cumulus-relay-chain-interface",
"futures 0.3.21",
"futures-timer",
- "jsonrpsee 0.9.0",
+ "jsonrpsee",
"parity-scale-codec",
"parking_lot 0.12.0",
"polkadot-service",
@@ -1875,7 +1929,7 @@
[[package]]
name = "cumulus-test-relay-sproof-builder"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
dependencies = [
"cumulus-primitives-core",
"parity-scale-codec",
@@ -1894,7 +1948,7 @@
"byteorder",
"digest 0.8.1",
"rand_core 0.5.1",
- "subtle 2.4.1",
+ "subtle",
"zeroize",
]
@@ -1907,7 +1961,7 @@
"byteorder",
"digest 0.9.0",
"rand_core 0.5.1",
- "subtle 2.4.1",
+ "subtle",
"zeroize",
]
@@ -2031,7 +2085,7 @@
dependencies = [
"block-buffer 0.10.2",
"crypto-common",
- "subtle 2.4.1",
+ "subtle",
]
[[package]]
@@ -2054,13 +2108,24 @@
]
[[package]]
+name = "dirs"
+version = "1.0.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3fd78930633bd1c6e35c4b42b1df7b0cbc6bc191146e512bb3bedf243fcc3901"
+dependencies = [
+ "libc",
+ "redox_users 0.3.5",
+ "winapi 0.3.9",
+]
+
+[[package]]
name = "dirs-sys"
version = "0.3.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6"
dependencies = [
"libc",
- "redox_users",
+ "redox_users 0.4.3",
"winapi 0.3.9",
]
@@ -2071,7 +2136,7 @@
checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d"
dependencies = [
"libc",
- "redox_users",
+ "redox_users 0.4.3",
"winapi 0.3.9",
]
@@ -2178,11 +2243,17 @@
"group",
"rand_core 0.6.3",
"sec1",
- "subtle 2.4.1",
+ "subtle",
"zeroize",
]
[[package]]
+name = "encode_unicode"
+version = "0.3.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f"
+
+[[package]]
name = "enum-as-inner"
version = "0.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2196,18 +2267,18 @@
[[package]]
name = "enumflags2"
-version = "0.6.4"
+version = "0.7.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "83c8d82922337cd23a15f88b70d8e4ef5f11da38dd7cdb55e84dd5de99695da0"
+checksum = "e75d4cd21b95383444831539909fbb14b9dc3fdceb2a6f5d36577329a1f55ccb"
dependencies = [
"enumflags2_derive",
]
[[package]]
name = "enumflags2_derive"
-version = "0.6.4"
+version = "0.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "946ee94e3dbf58fdd324f9ce245c7b238d46a66f00e86a020b71996349e46cce"
+checksum = "f58dc3c5e468259f19f2d46304a6b28f1c3d034442e14b322d2b850e36f6d5ae"
dependencies = [
"proc-macro2",
"quote",
@@ -2216,9 +2287,9 @@
[[package]]
name = "enumn"
-version = "0.1.3"
+version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4e58b112d5099aa0857c5d05f0eacab86406dd8c0f85fe5d320a13256d29ecf4"
+checksum = "052bc8773a98bd051ff37db74a8a25f00e6bfa2cbd03373390c72e9f7afbf344"
dependencies = [
"proc-macro2",
"quote",
@@ -2323,8 +2394,8 @@
[[package]]
name = "evm"
-version = "0.33.1"
-source = "git+https://github.com/uniquenetwork/evm.git?branch=unique-polkadot-v0.9.18#5012fe9034f0a5cc6881d385890b11ef35d2e39a"
+version = "0.35.0"
+source = "git+https://github.com/uniquenetwork/evm?branch=unique-polkadot-v0.9.19#1b170dc649f5e16a33134710a9fe2610e580661e"
dependencies = [
"auto_impl",
"environmental",
@@ -2338,7 +2409,7 @@
"rlp",
"scale-info",
"serde",
- "sha3 0.8.2",
+ "sha3 0.10.1",
]
[[package]]
@@ -2369,10 +2440,9 @@
[[package]]
name = "evm-core"
-version = "0.33.0"
-source = "git+https://github.com/uniquenetwork/evm.git?branch=unique-polkadot-v0.9.18#5012fe9034f0a5cc6881d385890b11ef35d2e39a"
+version = "0.35.0"
+source = "git+https://github.com/uniquenetwork/evm?branch=unique-polkadot-v0.9.19#1b170dc649f5e16a33134710a9fe2610e580661e"
dependencies = [
- "funty 1.1.0",
"parity-scale-codec",
"primitive-types",
"scale-info",
@@ -2381,8 +2451,8 @@
[[package]]
name = "evm-gasometer"
-version = "0.33.0"
-source = "git+https://github.com/uniquenetwork/evm.git?branch=unique-polkadot-v0.9.18#5012fe9034f0a5cc6881d385890b11ef35d2e39a"
+version = "0.35.0"
+source = "git+https://github.com/uniquenetwork/evm?branch=unique-polkadot-v0.9.19#1b170dc649f5e16a33134710a9fe2610e580661e"
dependencies = [
"environmental",
"evm-core",
@@ -2392,14 +2462,14 @@
[[package]]
name = "evm-runtime"
-version = "0.33.0"
-source = "git+https://github.com/uniquenetwork/evm.git?branch=unique-polkadot-v0.9.18#5012fe9034f0a5cc6881d385890b11ef35d2e39a"
+version = "0.35.0"
+source = "git+https://github.com/uniquenetwork/evm?branch=unique-polkadot-v0.9.19#1b170dc649f5e16a33134710a9fe2610e580661e"
dependencies = [
"auto_impl",
"environmental",
"evm-core",
"primitive-types",
- "sha3 0.8.2",
+ "sha3 0.10.1",
]
[[package]]
@@ -2425,14 +2495,15 @@
[[package]]
name = "expander"
-version = "0.0.5"
+version = "0.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "309f21c39e8e38e4b6eda07e155bd7a4e5fc4d707cefd0402cc82a8b6bb65aaa"
+checksum = "3774182a5df13c3d1690311ad32fbe913feef26baba609fa2dd5f72042bd2ab6"
dependencies = [
"blake2 0.10.4",
"fs-err",
"proc-macro2",
"quote",
+ "syn",
]
[[package]]
@@ -2484,41 +2555,31 @@
[[package]]
name = "fc-consensus"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18-2#82310d1dd3189f34bd901a9ac894ad33eca5cf89"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
dependencies = [
"async-trait",
- "derive_more",
"fc-db",
"fp-consensus",
"fp-rpc",
- "futures 0.3.21",
- "log",
- "parity-scale-codec",
"sc-client-api",
"sc-consensus",
- "sc-transaction-pool-api",
"sp-api",
"sp-block-builder",
"sp-blockchain",
"sp-consensus",
- "sp-core",
- "sp-inherents",
"sp-runtime",
- "sp-timestamp",
- "substrate-prometheus-endpoint",
+ "thiserror",
]
[[package]]
name = "fc-db"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18-2#82310d1dd3189f34bd901a9ac894ad33eca5cf89"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
dependencies = [
"fp-storage",
- "kvdb",
"kvdb-rocksdb",
- "pallet-ethereum",
"parity-scale-codec",
- "parking_lot 0.11.2",
+ "parking_lot 0.12.0",
"sp-core",
"sp-database",
"sp-runtime",
@@ -2527,9 +2588,8 @@
[[package]]
name = "fc-mapping-sync"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18-2#82310d1dd3189f34bd901a9ac894ad33eca5cf89"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
dependencies = [
- "fc-consensus",
"fc-db",
"fp-consensus",
"fp-rpc",
@@ -2545,53 +2605,46 @@
[[package]]
name = "fc-rpc"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18-2#82310d1dd3189f34bd901a9ac894ad33eca5cf89"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
dependencies = [
"ethereum",
"ethereum-types",
"evm",
- "fc-consensus",
"fc-db",
"fc-rpc-core",
- "fp-consensus",
- "fp-evm",
"fp-rpc",
"fp-storage",
"futures 0.3.21",
- "futures-util",
+ "hex",
"jsonrpc-core",
+ "jsonrpc-core-client",
"jsonrpc-pubsub",
- "libsecp256k1 0.3.5",
+ "libsecp256k1",
"log",
"lru 0.6.6",
- "pallet-ethereum",
- "pallet-evm",
"parity-scale-codec",
- "parking_lot 0.11.2",
- "rand 0.7.3",
+ "rand 0.8.5",
"rlp",
- "rustc-hex",
"sc-client-api",
"sc-network",
"sc-rpc",
"sc-service",
"sc-transaction-pool",
"sc-transaction-pool-api",
- "sha3 0.8.2",
"sp-api",
"sp-block-builder",
"sp-blockchain",
+ "sp-core",
"sp-io",
"sp-runtime",
"sp-storage",
- "sp-transaction-pool",
- "tokio 1.17.0",
+ "tokio 1.18.1",
]
[[package]]
name = "fc-rpc-core"
version = "1.1.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18-2#82310d1dd3189f34bd901a9ac894ad33eca5cf89"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
dependencies = [
"ethereum",
"ethereum-types",
@@ -2603,7 +2656,6 @@
"rustc-hex",
"serde",
"serde_json",
- "sha3 0.8.2",
]
[[package]]
@@ -2617,12 +2669,12 @@
[[package]]
name = "ff"
-version = "0.11.0"
+version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b2958d04124b9f27f175eaeb9a9f383d026098aa837eadd8ba22c11f13a05b9e"
+checksum = "131655483be284720a17d74ff97592b8e76576dc25563148601df2d7c9080924"
dependencies = [
"rand_core 0.6.3",
- "subtle 2.4.1",
+ "subtle",
]
[[package]]
@@ -2671,9 +2723,9 @@
[[package]]
name = "flate2"
-version = "1.0.22"
+version = "1.0.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e6988e897c1c9c485f43b47a529cef42fde0547f9d8d41a7062518f1d8fc53f"
+checksum = "b39522e96686d38f4bc984b9198e3a0613264abaebaff2c5c918bfa6b6da09af"
dependencies = [
"cfg-if 1.0.0",
"crc32fast",
@@ -2707,7 +2759,7 @@
[[package]]
name = "fork-tree"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"parity-scale-codec",
]
@@ -2725,12 +2777,10 @@
[[package]]
name = "fp-consensus"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18-2#82310d1dd3189f34bd901a9ac894ad33eca5cf89"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
dependencies = [
"ethereum",
"parity-scale-codec",
- "rlp",
- "sha3 0.8.2",
"sp-core",
"sp-runtime",
"sp-std",
@@ -2739,12 +2789,11 @@
[[package]]
name = "fp-evm"
version = "3.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18-2#82310d1dd3189f34bd901a9ac894ad33eca5cf89"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
dependencies = [
"evm",
"impl-trait-for-tuples",
"parity-scale-codec",
- "scale-info",
"serde",
"sp-core",
"sp-std",
@@ -2753,7 +2802,7 @@
[[package]]
name = "fp-evm-mapping"
version = "0.1.0"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18-2#82310d1dd3189f34bd901a9ac894ad33eca5cf89"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
dependencies = [
"frame-support",
"sp-core",
@@ -2762,7 +2811,7 @@
[[package]]
name = "fp-rpc"
version = "3.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18-2#82310d1dd3189f34bd901a9ac894ad33eca5cf89"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
dependencies = [
"ethereum",
"ethereum-types",
@@ -2779,7 +2828,7 @@
[[package]]
name = "fp-self-contained"
version = "1.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18-2#82310d1dd3189f34bd901a9ac894ad33eca5cf89"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
dependencies = [
"ethereum",
"frame-support",
@@ -2787,8 +2836,7 @@
"parity-util-mem",
"scale-info",
"serde",
- "sha3 0.8.2",
- "sp-core",
+ "sp-debug-derive",
"sp-io",
"sp-runtime",
]
@@ -2796,12 +2844,15 @@
[[package]]
name = "fp-storage"
version = "2.0.0"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18-2#82310d1dd3189f34bd901a9ac894ad33eca5cf89"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
+dependencies = [
+ "parity-scale-codec",
+]
[[package]]
name = "frame-benchmarking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-support",
"frame-system",
@@ -2823,13 +2874,14 @@
[[package]]
name = "frame-benchmarking-cli"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"Inflector",
"chrono",
"clap",
"frame-benchmarking",
"frame-support",
+ "frame-system",
"handlebars",
"hash-db",
"hex",
@@ -2839,12 +2891,16 @@
"log",
"memory-db",
"parity-scale-codec",
+ "prettytable-rs",
"rand 0.8.5",
+ "rand_pcg 0.3.1",
+ "sc-block-builder",
"sc-cli",
"sc-client-api",
"sc-client-db",
"sc-executor",
"sc-service",
+ "sc-sysinfo",
"serde",
"serde_json",
"serde_nanos",
@@ -2853,32 +2909,47 @@
"sp-core",
"sp-database",
"sp-externalities",
+ "sp-inherents",
"sp-keystore",
"sp-runtime",
"sp-state-machine",
- "sp-std",
"sp-storage",
"sp-trie",
+ "tempfile",
+ "thousands",
+]
+
+[[package]]
+name = "frame-election-provider-solution-type"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+dependencies = [
+ "proc-macro-crate 1.1.3",
+ "proc-macro2",
+ "quote",
+ "syn",
]
[[package]]
name = "frame-election-provider-support"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
+ "frame-election-provider-solution-type",
"frame-support",
"frame-system",
"parity-scale-codec",
"scale-info",
"sp-arithmetic",
"sp-npos-elections",
+ "sp-runtime",
"sp-std",
]
[[package]]
name = "frame-executive"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-support",
"frame-system",
@@ -2906,7 +2977,7 @@
[[package]]
name = "frame-support"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"bitflags",
"frame-metadata",
@@ -2935,7 +3006,7 @@
[[package]]
name = "frame-support-procedural"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"Inflector",
"frame-support-procedural-tools",
@@ -2947,7 +3018,7 @@
[[package]]
name = "frame-support-procedural-tools"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-support-procedural-tools-derive",
"proc-macro-crate 1.1.3",
@@ -2959,7 +3030,7 @@
[[package]]
name = "frame-support-procedural-tools-derive"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"proc-macro2",
"quote",
@@ -2969,7 +3040,7 @@
[[package]]
name = "frame-system"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-support",
"log",
@@ -2986,7 +3057,7 @@
[[package]]
name = "frame-system-benchmarking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -3001,7 +3072,7 @@
[[package]]
name = "frame-system-rpc-runtime-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"parity-scale-codec",
"sp-api",
@@ -3010,7 +3081,7 @@
[[package]]
name = "frame-try-runtime"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-support",
"sp-api",
@@ -3067,12 +3138,6 @@
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7"
-
-[[package]]
-name = "funty"
-version = "1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fed34cd105917e91daa4da6b3728c47b068749d6a62c59811f06ed2ac71d9da7"
[[package]]
name = "funty"
@@ -3146,7 +3211,7 @@
"futures-io",
"memchr",
"parking",
- "pin-project-lite 0.2.8",
+ "pin-project-lite 0.2.9",
"waker-fn",
]
@@ -3204,7 +3269,7 @@
"futures-sink",
"futures-task",
"memchr",
- "pin-project-lite 0.2.8",
+ "pin-project-lite 0.2.9",
"pin-utils",
"slab",
]
@@ -3294,9 +3359,9 @@
[[package]]
name = "gloo-timers"
-version = "0.2.3"
+version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4d12a7f4e95cfe710f1d624fb1210b7d961a5fb05c4fd942f4feab06e61f590e"
+checksum = "5fb7d06c1c8cc2a29bee7ec961009a0b2caa0793ee4900c2ffb348734ba1c8f9"
dependencies = [
"futures-channel",
"futures-core",
@@ -3312,7 +3377,7 @@
dependencies = [
"ff",
"rand_core 0.6.3",
- "subtle 2.4.1",
+ "subtle",
]
[[package]]
@@ -3329,7 +3394,7 @@
"http",
"indexmap",
"slab",
- "tokio 1.17.0",
+ "tokio 1.18.1",
"tokio-util 0.7.1",
"tracing",
]
@@ -3374,9 +3439,9 @@
[[package]]
name = "hashbrown"
-version = "0.12.0"
+version = "0.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8c21d40587b92fa6a6c6e3c1bdbf87d75511db5672f9c93175574b3a00df1758"
+checksum = "db0d4cf898abf0081f964436dc980e96670a0f36863e4b83aaacdb65c9d7ccc3"
dependencies = [
"ahash",
]
@@ -3425,16 +3490,6 @@
[[package]]
name = "hmac"
-version = "0.7.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5dcb5e64cda4c23119ab41ba960d1e170a774c8e4b9d9e6a9bc18aabf5e59695"
-dependencies = [
- "crypto-mac 0.7.0",
- "digest 0.8.1",
-]
-
-[[package]]
-name = "hmac"
version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "126888268dcc288495a26bf004b38c5fdbb31682f992c84ceb046a1f0fe38840"
@@ -3451,17 +3506,6 @@
dependencies = [
"crypto-mac 0.11.1",
"digest 0.9.0",
-]
-
-[[package]]
-name = "hmac-drbg"
-version = "0.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c6e570451493f10f6581b48cdd530413b63ea9e780f544bfd3bdcaa0d89d1a7b"
-dependencies = [
- "digest 0.8.1",
- "generic-array 0.12.4",
- "hmac 0.7.1",
]
[[package]]
@@ -3488,9 +3532,9 @@
[[package]]
name = "http"
-version = "0.2.6"
+version = "0.2.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "31f4c6746584866f0feabcc69893c5b51beef3831656a968ed7ae254cdc4fd03"
+checksum = "ff8670570af52249509a86f5e3e18a08c60b177071826898fde8997cf5f6bfbb"
dependencies = [
"bytes 1.1.0",
"fnv",
@@ -3505,14 +3549,14 @@
dependencies = [
"bytes 1.1.0",
"http",
- "pin-project-lite 0.2.8",
+ "pin-project-lite 0.2.9",
]
[[package]]
name = "httparse"
-version = "1.6.0"
+version = "1.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9100414882e15fb7feccb4897e5f0ff0ff1ca7d1a86a23208ada4d7a18e6c6c4"
+checksum = "496ce29bb5a52785b44e0f7ca2847ae0bb839c9bd28f69acac9b99d461c0c04c"
[[package]]
name = "httpdate"
@@ -3542,9 +3586,9 @@
"httparse",
"httpdate",
"itoa 1.0.1",
- "pin-project-lite 0.2.8",
+ "pin-project-lite 0.2.9",
"socket2 0.4.4",
- "tokio 1.17.0",
+ "tokio 1.18.1",
"tower-service",
"tracing",
"want",
@@ -3562,7 +3606,7 @@
"log",
"rustls 0.19.1",
"rustls-native-certs 0.5.0",
- "tokio 1.17.0",
+ "tokio 1.18.1",
"tokio-rustls 0.22.0",
"webpki 0.21.4",
]
@@ -3577,10 +3621,10 @@
"hyper",
"log",
"rustls 0.20.4",
- "rustls-native-certs 0.6.1",
- "tokio 1.17.0",
- "tokio-rustls 0.23.3",
- "webpki-roots 0.22.2",
+ "rustls-native-certs 0.6.2",
+ "tokio 1.18.1",
+ "tokio-rustls 0.23.4",
+ "webpki-roots 0.22.3",
]
[[package]]
@@ -3723,12 +3767,9 @@
[[package]]
name = "io-lifetimes"
-version = "0.4.4"
+version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f6ef6787e7f0faedc040f95716bdd0e62bcfcf4ba93da053b62dea2691c13864"
-dependencies = [
- "winapi 0.3.9",
-]
+checksum = "ec58677acfea8a15352d42fc87d11d63596ade9239e0a7c9352914417515dbe6"
[[package]]
name = "iovec"
@@ -3759,9 +3800,9 @@
[[package]]
name = "ipnet"
-version = "2.4.0"
+version = "2.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "35e70ee094dc02fd9c13fdad4940090f22dbd6ac7c9e7094a46cf0232a50bc7c"
+checksum = "879d54834c8c76457ef4293a689b2a8c59b076067ad77b15efafbb05f92a592b"
[[package]]
name = "itertools"
@@ -3795,9 +3836,9 @@
[[package]]
name = "js-sys"
-version = "0.3.56"
+version = "0.3.57"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a38fc24e30fd564ce974c02bf1d337caddff65be6cc4735a1f7eab22a7440f04"
+checksum = "671a26f820db17c2a2750743f1dd03bafd15b98c9f30c7c2628c024c05d73397"
dependencies = [
"wasm-bindgen",
]
@@ -3913,7 +3954,7 @@
"jsonrpc-core",
"lazy_static",
"log",
- "tokio 1.17.0",
+ "tokio 1.18.1",
"tokio-stream",
"tokio-util 0.6.9",
"unicase",
@@ -3936,109 +3977,43 @@
[[package]]
name = "jsonrpsee"
-version = "0.4.1"
+version = "0.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6373a33d987866ccfe1af4bc11b089dce941764313f9fd8b7cf13fcb51b72dc5"
+checksum = "91dc760c341fa81173f9a434931aaf32baad5552b0230cc6c93e8fb7eaad4c19"
dependencies = [
- "jsonrpsee-types 0.4.1",
- "jsonrpsee-utils",
- "jsonrpsee-ws-client 0.4.1",
-]
-
-[[package]]
-name = "jsonrpsee"
-version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "05fd8cd6c6b1bbd06881d2cf88f1fc83cc36c98f2219090f839115fb4a956cb9"
-dependencies = [
- "jsonrpsee-core 0.8.0",
+ "jsonrpsee-core",
+ "jsonrpsee-http-client",
"jsonrpsee-proc-macros",
- "jsonrpsee-types 0.8.0",
- "jsonrpsee-ws-client 0.8.0",
-]
-
-[[package]]
-name = "jsonrpsee"
-version = "0.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f0d0b8cc1959f8c05256ace093b2317482da9127f1d9227564f47e7e6bf9bda8"
-dependencies = [
- "jsonrpsee-core 0.9.0",
- "jsonrpsee-http-client",
- "jsonrpsee-types 0.9.0",
- "jsonrpsee-ws-client 0.9.0",
+ "jsonrpsee-types",
+ "jsonrpsee-ws-client",
]
[[package]]
name = "jsonrpsee-client-transport"
-version = "0.8.0"
+version = "0.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3303cdf246e6ab76e2866fb3d9acb6c76a068b1b28bd923a1b7a8122257ad7b5"
+checksum = "765f7a36d5087f74e3b3b47805c2188fef8eb54afcb587b078d9f8ebfe9c7220"
dependencies = [
"futures 0.3.21",
"http",
- "jsonrpsee-core 0.8.0",
- "jsonrpsee-types 0.8.0",
+ "jsonrpsee-core",
+ "jsonrpsee-types",
"pin-project 1.0.10",
- "rustls-native-certs 0.6.1",
- "soketto",
- "thiserror",
- "tokio 1.17.0",
- "tokio-rustls 0.23.3",
- "tokio-util 0.6.9",
- "tracing",
- "webpki-roots 0.22.2",
-]
-
-[[package]]
-name = "jsonrpsee-client-transport"
-version = "0.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fa370c2c717d798c3c0a315ae3f0a707a388c6963c11f9da7dbbe1d3f7392f5f"
-dependencies = [
- "futures 0.3.21",
- "http",
- "jsonrpsee-core 0.9.0",
- "jsonrpsee-types 0.9.0",
- "pin-project 1.0.10",
- "rustls-native-certs 0.6.1",
- "soketto",
- "thiserror",
- "tokio 1.17.0",
- "tokio-rustls 0.23.3",
- "tokio-util 0.6.9",
- "tracing",
- "webpki-roots 0.22.2",
-]
-
-[[package]]
-name = "jsonrpsee-core"
-version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f220b5a238dc7992b90f1144fbf6eaa585872c9376afe6fe6863ffead6191bf3"
-dependencies = [
- "anyhow",
- "arrayvec 0.7.2",
- "async-trait",
- "beef",
- "futures-channel",
- "futures-util",
- "hyper",
- "jsonrpsee-types 0.8.0",
- "rustc-hash",
- "serde",
- "serde_json",
+ "rustls-native-certs 0.6.2",
"soketto",
"thiserror",
- "tokio 1.17.0",
+ "tokio 1.18.1",
+ "tokio-rustls 0.23.4",
+ "tokio-util 0.7.1",
"tracing",
+ "webpki-roots 0.22.3",
]
[[package]]
name = "jsonrpsee-core"
-version = "0.9.0"
+version = "0.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "22abc3274b265dcefe2e26c4beecf9fda4fffa48cf94930443a6c73678f020d5"
+checksum = "82ef77ecd20c2254d54f5da8c0738eacca61e6b6511268a8f2753e3148c6c706"
dependencies = [
"anyhow",
"arrayvec 0.7.2",
@@ -4047,40 +4022,40 @@
"futures-channel",
"futures-util",
"hyper",
- "jsonrpsee-types 0.9.0",
+ "jsonrpsee-types",
"rustc-hash",
"serde",
"serde_json",
"soketto",
"thiserror",
- "tokio 1.17.0",
+ "tokio 1.18.1",
"tracing",
]
[[package]]
name = "jsonrpsee-http-client"
-version = "0.9.0"
+version = "0.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d31b837273d09dd80051eefa57d337769dff6c3266108c43a3544ac7ffed9d68"
+checksum = "92709e0b8255691f4df954a0176b1cbc3312f151e7ed2e643812e8bd121f1d1c"
dependencies = [
"async-trait",
"hyper",
"hyper-rustls 0.23.0",
- "jsonrpsee-core 0.9.0",
- "jsonrpsee-types 0.9.0",
+ "jsonrpsee-core",
+ "jsonrpsee-types",
"rustc-hash",
"serde",
"serde_json",
"thiserror",
- "tokio 1.17.0",
+ "tokio 1.18.1",
"tracing",
]
[[package]]
name = "jsonrpsee-proc-macros"
-version = "0.8.0"
+version = "0.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4299ebf790ea9de1cb72e73ff2ae44c723ef264299e5e2d5ef46a371eb3ac3d8"
+checksum = "b7291c72805bc7d413b457e50d8ef3e87aa554da65ecbbc278abb7dfc283e7f0"
dependencies = [
"proc-macro-crate 1.1.3",
"proc-macro2",
@@ -4090,42 +4065,9 @@
[[package]]
name = "jsonrpsee-types"
-version = "0.4.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "62f778cf245158fbd8f5d50823a2e9e4c708a40be164766bd35e9fb1d86715b2"
-dependencies = [
- "anyhow",
- "async-trait",
- "beef",
- "futures-channel",
- "futures-util",
- "hyper",
- "log",
- "serde",
- "serde_json",
- "soketto",
- "thiserror",
-]
-
-[[package]]
-name = "jsonrpsee-types"
-version = "0.8.0"
+version = "0.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c1b3f601bbbe45cd63f5407b6f7d7950e08a7d4f82aa699ff41a4a5e9e54df58"
-dependencies = [
- "anyhow",
- "beef",
- "serde",
- "serde_json",
- "thiserror",
- "tracing",
-]
-
-[[package]]
-name = "jsonrpsee-types"
-version = "0.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9f4c45d2e2aa1db4c7d7d7dbaabc10a5b5258d99cd9d42fbfd5260b76f80c324"
+checksum = "38b6aa52f322cbf20c762407629b8300f39bcc0cf0619840d9252a2f65fd2dd9"
dependencies = [
"anyhow",
"beef",
@@ -4133,66 +4075,20 @@
"serde_json",
"thiserror",
"tracing",
-]
-
-[[package]]
-name = "jsonrpsee-utils"
-version = "0.4.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0109c4f972058f3b1925b73a17210aff7b63b65967264d0045d15ee88fe84f0c"
-dependencies = [
- "arrayvec 0.7.2",
- "beef",
- "jsonrpsee-types 0.4.1",
]
[[package]]
name = "jsonrpsee-ws-client"
-version = "0.4.1"
+version = "0.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "559aa56fc402af206c00fc913dc2be1d9d788dcde045d14df141a535245d35ef"
+checksum = "dd66d18bab78d956df24dd0d2e41e4c00afbb818fda94a98264bdd12ce8506ac"
dependencies = [
- "arrayvec 0.7.2",
- "async-trait",
- "fnv",
- "futures 0.3.21",
- "http",
- "jsonrpsee-types 0.4.1",
- "log",
- "pin-project 1.0.10",
- "rustls-native-certs 0.5.0",
- "serde",
- "serde_json",
- "soketto",
- "thiserror",
- "tokio 1.17.0",
- "tokio-rustls 0.22.0",
- "tokio-util 0.6.9",
+ "jsonrpsee-client-transport",
+ "jsonrpsee-core",
+ "jsonrpsee-types",
]
[[package]]
-name = "jsonrpsee-ws-client"
-version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aff425cee7c779e33920913bc695447416078ee6d119f443f3060feffa4e86b5"
-dependencies = [
- "jsonrpsee-client-transport 0.8.0",
- "jsonrpsee-core 0.8.0",
- "jsonrpsee-types 0.8.0",
-]
-
-[[package]]
-name = "jsonrpsee-ws-client"
-version = "0.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "31b58983485b2b626c276f1eb367d62dae82132451b281072a7bfa536a33ddf3"
-dependencies = [
- "jsonrpsee-client-transport 0.9.0",
- "jsonrpsee-core 0.9.0",
- "jsonrpsee-types 0.9.0",
-]
-
-[[package]]
name = "k256"
version = "0.10.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -4222,8 +4118,8 @@
[[package]]
name = "kusama-runtime"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"beefy-primitives",
"bitvec",
@@ -4244,9 +4140,11 @@
"pallet-bags-list",
"pallet-balances",
"pallet-bounties",
+ "pallet-child-bounties",
"pallet-collective",
"pallet-democracy",
"pallet-election-provider-multi-phase",
+ "pallet-election-provider-support-benchmarking",
"pallet-elections-phragmen",
"pallet-gilt",
"pallet-grandpa",
@@ -4254,7 +4152,6 @@
"pallet-im-online",
"pallet-indices",
"pallet-membership",
- "pallet-mmr-primitives",
"pallet-multisig",
"pallet-nicks",
"pallet-offences",
@@ -4276,6 +4173,7 @@
"pallet-utility",
"pallet-vesting",
"pallet-xcm",
+ "pallet-xcm-benchmarks",
"parity-scale-codec",
"polkadot-primitives",
"polkadot-runtime-common",
@@ -4293,6 +4191,7 @@
"sp-core",
"sp-inherents",
"sp-io",
+ "sp-mmr-primitives",
"sp-npos-elections",
"sp-offchain",
"sp-runtime",
@@ -4310,8 +4209,8 @@
[[package]]
name = "kusama-runtime-constants"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"frame-support",
"polkadot-primitives",
@@ -4382,9 +4281,9 @@
[[package]]
name = "libc"
-version = "0.2.122"
+version = "0.2.125"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ec647867e2bf0772e28c8bcde4f0d19a9216916e890543b5a03ed8ef27b8f259"
+checksum = "5916d2ae698f6de9bfb891ad7a8d65c09d232dc58cc4ac433c7da3b2fd84bc2b"
[[package]]
name = "libloading"
@@ -4468,7 +4367,7 @@
"futures-timer",
"instant",
"lazy_static",
- "libsecp256k1 0.7.0",
+ "libsecp256k1",
"log",
"multiaddr",
"multihash 0.14.0",
@@ -4902,22 +4801,6 @@
[[package]]
name = "libsecp256k1"
-version = "0.3.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1fc1e2c808481a63dc6da2074752fdd4336a3c8fcc68b83db6f1fd5224ae7962"
-dependencies = [
- "arrayref",
- "crunchy",
- "digest 0.8.1",
- "hmac-drbg 0.2.0",
- "rand 0.7.3",
- "sha2 0.8.2",
- "subtle 2.4.1",
- "typenum",
-]
-
-[[package]]
-name = "libsecp256k1"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b0452aac8bab02242429380e9b2f94ea20cea2b37e2c1777a1358799bbe97f37"
@@ -4925,7 +4808,7 @@
"arrayref",
"base64",
"digest 0.9.0",
- "hmac-drbg 0.3.0",
+ "hmac-drbg",
"libsecp256k1-core",
"libsecp256k1-gen-ecmult",
"libsecp256k1-gen-genmult",
@@ -4943,7 +4826,7 @@
dependencies = [
"crunchy",
"digest 0.9.0",
- "subtle 2.4.1",
+ "subtle",
]
[[package]]
@@ -4966,9 +4849,9 @@
[[package]]
name = "libz-sys"
-version = "1.1.5"
+version = "1.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6f35facd4a5673cb5a48822be2be1d4236c1c99cb4113cab7061ac720d5bf859"
+checksum = "92e7e15d7610cce1d9752e137625f14e61a28cd45929b6e12e47b50fe154ee2e"
dependencies = [
"cc",
"pkg-config",
@@ -5002,9 +4885,9 @@
[[package]]
name = "linux-raw-sys"
-version = "0.0.36"
+version = "0.0.42"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a261afc61b7a5e323933b402ca6a1765183687c614789b1e4db7762ed4230bca"
+checksum = "5284f00d480e1c39af34e72f8ad60b94f47007e3481cd3b731c1d67190ddc7b7"
[[package]]
name = "lock_api"
@@ -5018,9 +4901,9 @@
[[package]]
name = "log"
-version = "0.4.16"
+version = "0.4.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6389c490849ff5bc16be905ae24bc913a9c8892e19b2341dbc175e14c341c2b8"
+checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e"
dependencies = [
"cfg-if 1.0.0",
"value-bag",
@@ -5120,9 +5003,9 @@
[[package]]
name = "memchr"
-version = "2.4.1"
+version = "2.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a"
+checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"
[[package]]
name = "memmap2"
@@ -5158,7 +5041,7 @@
checksum = "6566c70c1016f525ced45d7b7f97730a2bafb037c788211d0c186ef5b2189f0a"
dependencies = [
"hash-db",
- "hashbrown 0.12.0",
+ "hashbrown 0.12.1",
"parity-util-mem",
]
@@ -5191,14 +5074,17 @@
[[package]]
name = "metered-channel"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
+ "coarsetime",
+ "crossbeam-queue",
"derive_more",
"futures 0.3.21",
"futures-timer",
+ "nanorand",
"thiserror",
- "tracing",
+ "tracing-gum",
]
[[package]]
@@ -5220,12 +5106,11 @@
[[package]]
name = "miniz_oxide"
-version = "0.4.4"
+version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a92518e98c078586bc6c934028adcca4c92a53d6a958196de835170a01d84e4b"
+checksum = "d2b29bd4bc3f33391105ebee3589c19197c4271e3e5a9ec9bfe8127eeff8f082"
dependencies = [
"adler",
- "autocfg",
]
[[package]]
@@ -5424,14 +5309,20 @@
[[package]]
name = "names"
-version = "0.12.0"
+version = "0.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "10a8690bf09abf659851e58cd666c3d37ac6af07c2bd7a9e332cfba471715775"
+checksum = "e7d66043b25d4a6cccb23619d10c19c25304b355a7dccd4a8e11423dd2382146"
dependencies = [
"rand 0.8.5",
]
[[package]]
+name = "nanorand"
+version = "0.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6a51313c5820b0b02bd422f4b44776fbf47961755c74ce64afc73bfad10226c3"
+
+[[package]]
name = "net2"
version = "0.2.37"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -5486,9 +5377,9 @@
[[package]]
name = "num-complex"
-version = "0.4.0"
+version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "26873667bbbb7c5182d4a37c1add32cdf09f841af72da53318fdb81543c15085"
+checksum = "97fbc387afefefd5e9e39493299f3069e14a140dd34dc19b4c1c1a8fddb6a790"
dependencies = [
"num-traits",
]
@@ -5505,9 +5396,9 @@
[[package]]
name = "num-integer"
-version = "0.1.44"
+version = "0.1.45"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d2cc698a63b549a70bc047073d2949cce27cd1c7b0a4a862d08a8031bc2801db"
+checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9"
dependencies = [
"autocfg",
"num-traits",
@@ -5538,9 +5429,9 @@
[[package]]
name = "num-traits"
-version = "0.2.14"
+version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9a64b1ec5cda2586e284722486d802acf1f7dbdc623e2bfc57e65ca1cd099290"
+checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd"
dependencies = [
"autocfg",
"libm",
@@ -5568,6 +5459,15 @@
]
[[package]]
+name = "object"
+version = "0.28.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "40bec70ba014595f99f7aa110b84331ffe1ee9aece7fe6f387cc7e3ecda4d456"
+dependencies = [
+ "memchr",
+]
+
+[[package]]
name = "once_cell"
version = "1.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -5575,7 +5475,7 @@
[[package]]
name = "opal-runtime"
-version = "0.9.18"
+version = "0.9.20"
dependencies = [
"cumulus-pallet-aura-ext",
"cumulus-pallet-dmp-queue",
@@ -5705,7 +5605,7 @@
[[package]]
name = "orml-vesting"
version = "0.4.1-dev"
-source = "git+https://github.com/UniqueNetwork/open-runtime-module-library?branch=unique-polkadot-v0.9.18#4690ac0d5e85a35351608d27c4304dfc6df4eb03"
+source = "git+https://github.com/uniquenetwork/open-runtime-module-library?branch=unique-polkadot-v0.9.20#3ffcc1b1917f37b9bb8ece700cbbf97893e54391"
dependencies = [
"frame-support",
"frame-system",
@@ -5722,9 +5622,6 @@
version = "6.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8e22443d1643a904602595ba1cd8f7d896afe56d26712531c5ff73a15b2fbf64"
-dependencies = [
- "memchr",
-]
[[package]]
name = "owning_ref"
@@ -5738,7 +5635,7 @@
[[package]]
name = "pallet-aura"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-support",
"frame-system",
@@ -5754,7 +5651,7 @@
[[package]]
name = "pallet-authority-discovery"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-support",
"frame-system",
@@ -5770,7 +5667,7 @@
[[package]]
name = "pallet-authorship"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-support",
"frame-system",
@@ -5785,7 +5682,7 @@
[[package]]
name = "pallet-babe"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5809,7 +5706,7 @@
[[package]]
name = "pallet-bags-list"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -5829,7 +5726,7 @@
[[package]]
name = "pallet-balances"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5844,11 +5741,11 @@
[[package]]
name = "pallet-base-fee"
version = "1.0.0"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18-2#82310d1dd3189f34bd901a9ac894ad33eca5cf89"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
dependencies = [
+ "fp-evm",
"frame-support",
"frame-system",
- "pallet-evm",
"parity-scale-codec",
"scale-info",
"serde",
@@ -5859,7 +5756,7 @@
[[package]]
name = "pallet-beefy"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"beefy-primitives",
"frame-support",
@@ -5875,7 +5772,7 @@
[[package]]
name = "pallet-beefy-mmr"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"beefy-merkle-tree",
"beefy-primitives",
@@ -5886,7 +5783,6 @@
"log",
"pallet-beefy",
"pallet-mmr",
- "pallet-mmr-primitives",
"pallet-session",
"parity-scale-codec",
"scale-info",
@@ -5900,7 +5796,7 @@
[[package]]
name = "pallet-bounties"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5918,7 +5814,7 @@
[[package]]
name = "pallet-bridge-dispatch"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"bp-message-dispatch",
"bp-runtime",
@@ -5935,7 +5831,7 @@
[[package]]
name = "pallet-bridge-grandpa"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"bp-header-chain",
"bp-runtime",
@@ -5957,7 +5853,7 @@
[[package]]
name = "pallet-bridge-messages"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"bitvec",
"bp-message-dispatch",
@@ -5976,9 +5872,28 @@
]
[[package]]
+name = "pallet-child-bounties"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+dependencies = [
+ "frame-benchmarking",
+ "frame-support",
+ "frame-system",
+ "log",
+ "pallet-bounties",
+ "pallet-treasury",
+ "parity-scale-codec",
+ "scale-info",
+ "sp-core",
+ "sp-io",
+ "sp-runtime",
+ "sp-std",
+]
+
+[[package]]
name = "pallet-collective"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6014,7 +5929,7 @@
[[package]]
name = "pallet-democracy"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6030,7 +5945,7 @@
[[package]]
name = "pallet-election-provider-multi-phase"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -6051,9 +5966,22 @@
]
[[package]]
+name = "pallet-election-provider-support-benchmarking"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+dependencies = [
+ "frame-benchmarking",
+ "frame-election-provider-support",
+ "frame-system",
+ "parity-scale-codec",
+ "sp-npos-elections",
+ "sp-runtime",
+]
+
+[[package]]
name = "pallet-elections-phragmen"
version = "5.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6071,7 +5999,7 @@
[[package]]
name = "pallet-ethereum"
version = "4.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18-2#82310d1dd3189f34bd901a9ac894ad33eca5cf89"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
dependencies = [
"ethereum",
"ethereum-types",
@@ -6090,10 +6018,9 @@
"pallet-timestamp",
"parity-scale-codec",
"rlp",
- "rustc-hex",
"scale-info",
"serde",
- "sha3 0.8.2",
+ "sha3 0.10.1",
"sp-io",
"sp-runtime",
"sp-std",
@@ -6102,11 +6029,9 @@
[[package]]
name = "pallet-evm"
version = "6.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18-2#82310d1dd3189f34bd901a9ac894ad33eca5cf89"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
dependencies = [
"evm",
- "evm-gasometer",
- "evm-runtime",
"fp-evm",
"fp-evm-mapping",
"frame-benchmarking",
@@ -6122,7 +6047,7 @@
"rlp",
"scale-info",
"serde",
- "sha3 0.8.2",
+ "sha3 0.10.1",
"sp-core",
"sp-io",
"sp-runtime",
@@ -6226,7 +6151,7 @@
[[package]]
name = "pallet-gilt"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6241,7 +6166,7 @@
[[package]]
name = "pallet-grandpa"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6264,7 +6189,7 @@
[[package]]
name = "pallet-identity"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"enumflags2",
"frame-benchmarking",
@@ -6280,7 +6205,7 @@
[[package]]
name = "pallet-im-online"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6300,7 +6225,7 @@
[[package]]
name = "pallet-indices"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6336,7 +6261,7 @@
[[package]]
name = "pallet-membership"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6353,33 +6278,17 @@
[[package]]
name = "pallet-mmr"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"ckb-merkle-mountain-range",
"frame-benchmarking",
"frame-support",
"frame-system",
- "pallet-mmr-primitives",
"parity-scale-codec",
"scale-info",
"sp-core",
"sp-io",
- "sp-runtime",
- "sp-std",
-]
-
-[[package]]
-name = "pallet-mmr-primitives"
-version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
-dependencies = [
- "frame-support",
- "frame-system",
- "log",
- "parity-scale-codec",
- "serde",
- "sp-api",
- "sp-core",
+ "sp-mmr-primitives",
"sp-runtime",
"sp-std",
]
@@ -6387,24 +6296,24 @@
[[package]]
name = "pallet-mmr-rpc"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"jsonrpc-core",
"jsonrpc-core-client",
"jsonrpc-derive",
- "pallet-mmr-primitives",
"parity-scale-codec",
"serde",
"sp-api",
"sp-blockchain",
"sp-core",
+ "sp-mmr-primitives",
"sp-runtime",
]
[[package]]
name = "pallet-multisig"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6419,7 +6328,7 @@
[[package]]
name = "pallet-nicks"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-support",
"frame-system",
@@ -6431,6 +6340,40 @@
]
[[package]]
+name = "pallet-nomination-pools"
+version = "1.0.0"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+dependencies = [
+ "frame-support",
+ "frame-system",
+ "parity-scale-codec",
+ "scale-info",
+ "sp-core",
+ "sp-runtime",
+ "sp-staking",
+ "sp-std",
+]
+
+[[package]]
+name = "pallet-nomination-pools-benchmarking"
+version = "1.0.0"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+dependencies = [
+ "frame-benchmarking",
+ "frame-election-provider-support",
+ "frame-support",
+ "frame-system",
+ "pallet-bags-list",
+ "pallet-nomination-pools",
+ "pallet-staking",
+ "parity-scale-codec",
+ "scale-info",
+ "sp-runtime",
+ "sp-staking",
+ "sp-std",
+]
+
+[[package]]
name = "pallet-nonfungible"
version = "0.1.0"
dependencies = [
@@ -6454,7 +6397,7 @@
[[package]]
name = "pallet-offences"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-support",
"frame-system",
@@ -6471,7 +6414,7 @@
[[package]]
name = "pallet-offences-benchmarking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -6494,7 +6437,7 @@
[[package]]
name = "pallet-preimage"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6510,7 +6453,7 @@
[[package]]
name = "pallet-proxy"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6525,7 +6468,7 @@
[[package]]
name = "pallet-randomness-collective-flip"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-support",
"frame-system",
@@ -6539,7 +6482,7 @@
[[package]]
name = "pallet-recovery"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-support",
"frame-system",
@@ -6571,7 +6514,7 @@
[[package]]
name = "pallet-scheduler"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6587,7 +6530,7 @@
[[package]]
name = "pallet-session"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-support",
"frame-system",
@@ -6608,7 +6551,7 @@
[[package]]
name = "pallet-session-benchmarking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6624,7 +6567,7 @@
[[package]]
name = "pallet-society"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-support",
"frame-system",
@@ -6638,7 +6581,7 @@
[[package]]
name = "pallet-staking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -6661,7 +6604,7 @@
[[package]]
name = "pallet-staking-reward-curve"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"proc-macro-crate 1.1.3",
"proc-macro2",
@@ -6672,7 +6615,7 @@
[[package]]
name = "pallet-staking-reward-fn"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"log",
"sp-arithmetic",
@@ -6695,7 +6638,7 @@
[[package]]
name = "pallet-sudo"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-support",
"frame-system",
@@ -6709,7 +6652,7 @@
[[package]]
name = "pallet-template-transaction-payment"
version = "3.0.0"
-source = "git+https://github.com/UniqueNetwork/pallet-sponsoring?branch=polkadot-v0.9.18#7bc842b35a53f762ee6ee89e5f5bef84a284c9f4"
+source = "git+https://github.com/uniquenetwork/pallet-sponsoring?branch=polkadot-v0.9.20#fa1a51fcccf488d3d41f0ae7864b9b6455b64d77"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6729,7 +6672,7 @@
[[package]]
name = "pallet-timestamp"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6747,7 +6690,7 @@
[[package]]
name = "pallet-tips"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6766,7 +6709,7 @@
[[package]]
name = "pallet-transaction-payment"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-support",
"frame-system",
@@ -6783,7 +6726,7 @@
[[package]]
name = "pallet-transaction-payment-rpc"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"jsonrpc-core",
"jsonrpc-core-client",
@@ -6800,7 +6743,7 @@
[[package]]
name = "pallet-transaction-payment-rpc-runtime-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"pallet-transaction-payment",
"parity-scale-codec",
@@ -6811,7 +6754,7 @@
[[package]]
name = "pallet-treasury"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6865,7 +6808,7 @@
[[package]]
name = "pallet-utility"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6881,7 +6824,7 @@
[[package]]
name = "pallet-vesting"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6895,8 +6838,8 @@
[[package]]
name = "pallet-xcm"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"frame-support",
"frame-system",
@@ -6913,8 +6856,8 @@
[[package]]
name = "pallet-xcm-benchmarks"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6931,7 +6874,7 @@
[[package]]
name = "parachain-info"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -6943,9 +6886,9 @@
[[package]]
name = "parity-db"
-version = "0.3.11"
+version = "0.3.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b3e7f385d61562f5834282b90aa50b41f38a35cf64d5209b8b05487b50553dbe"
+checksum = "6e73cd0b0a78045276b19eaae8eaaa20e44a1da9a0217ff934a810d9492ae701"
dependencies = [
"blake2-rfc",
"crc32fast",
@@ -7002,7 +6945,7 @@
"libc",
"log",
"rand 0.7.3",
- "tokio 1.17.0",
+ "tokio 1.18.1",
"winapi 0.3.9",
]
@@ -7014,7 +6957,7 @@
dependencies = [
"cfg-if 1.0.0",
"ethereum-types",
- "hashbrown 0.12.0",
+ "hashbrown 0.12.1",
"impl-trait-for-tuples",
"lru 0.7.5",
"parity-util-mem-derive",
@@ -7092,7 +7035,7 @@
checksum = "87f5ec2493a61ac0506c0f4199f99070cbe83857b0337006a30f3e6719b8ef58"
dependencies = [
"lock_api",
- "parking_lot_core 0.9.2",
+ "parking_lot_core 0.9.3",
]
[[package]]
@@ -7104,20 +7047,20 @@
"cfg-if 1.0.0",
"instant",
"libc",
- "redox_syscall",
+ "redox_syscall 0.2.13",
"smallvec",
"winapi 0.3.9",
]
[[package]]
name = "parking_lot_core"
-version = "0.9.2"
+version = "0.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "995f667a6c822200b0433ac218e05582f0e2efa1b922a3fd2fbaadc5f87bab37"
+checksum = "09a279cbf25cb0757810394fbc1e359949b59e348145c643a939a525692e6929"
dependencies = [
"cfg-if 1.0.0",
"libc",
- "redox_syscall",
+ "redox_syscall 0.2.13",
"smallvec",
"windows-sys",
]
@@ -7265,9 +7208,9 @@
[[package]]
name = "pin-project-lite"
-version = "0.2.8"
+version = "0.2.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e280fbe77cc62c91527259e9442153f4688736748d24660126286329742b4c6c"
+checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116"
[[package]]
name = "pin-utils"
@@ -7300,8 +7243,8 @@
[[package]]
name = "polkadot-approval-distribution"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"futures 0.3.21",
"polkadot-node-network-protocol",
@@ -7309,26 +7252,27 @@
"polkadot-node-subsystem",
"polkadot-node-subsystem-util",
"polkadot-primitives",
- "tracing",
+ "rand 0.8.5",
+ "tracing-gum",
]
[[package]]
name = "polkadot-availability-bitfield-distribution"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"futures 0.3.21",
"polkadot-node-network-protocol",
"polkadot-node-subsystem",
"polkadot-node-subsystem-util",
"polkadot-primitives",
- "tracing",
+ "tracing-gum",
]
[[package]]
name = "polkadot-availability-distribution"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"derive_more",
"fatality",
@@ -7345,13 +7289,13 @@
"sp-core",
"sp-keystore",
"thiserror",
- "tracing",
+ "tracing-gum",
]
[[package]]
name = "polkadot-availability-recovery"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"fatality",
"futures 0.3.21",
@@ -7366,18 +7310,19 @@
"rand 0.8.5",
"sc-network",
"thiserror",
- "tracing",
+ "tracing-gum",
]
[[package]]
name = "polkadot-cli"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"clap",
"frame-benchmarking-cli",
"futures 0.3.21",
"log",
+ "polkadot-client",
"polkadot-node-core-pvf",
"polkadot-node-metrics",
"polkadot-performance-test",
@@ -7394,16 +7339,21 @@
[[package]]
name = "polkadot-client"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"beefy-primitives",
"frame-benchmarking",
+ "frame-benchmarking-cli",
+ "frame-system",
"frame-system-rpc-runtime-api",
- "pallet-mmr-primitives",
+ "pallet-transaction-payment",
"pallet-transaction-payment-rpc-runtime-api",
+ "polkadot-core-primitives",
+ "polkadot-node-core-parachains-inherent",
"polkadot-primitives",
"polkadot-runtime",
+ "polkadot-runtime-common",
"sc-client-api",
"sc-consensus",
"sc-executor",
@@ -7414,18 +7364,23 @@
"sp-blockchain",
"sp-consensus",
"sp-consensus-babe",
+ "sp-core",
"sp-finality-grandpa",
+ "sp-inherents",
+ "sp-keyring",
+ "sp-mmr-primitives",
"sp-offchain",
"sp-runtime",
"sp-session",
"sp-storage",
+ "sp-timestamp",
"sp-transaction-pool",
]
[[package]]
name = "polkadot-collator-protocol"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"always-assert",
"fatality",
@@ -7440,13 +7395,13 @@
"sp-keystore",
"sp-runtime",
"thiserror",
- "tracing",
+ "tracing-gum",
]
[[package]]
name = "polkadot-core-primitives"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"parity-scale-codec",
"parity-util-mem",
@@ -7458,8 +7413,8 @@
[[package]]
name = "polkadot-dispute-distribution"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"derive_more",
"fatality",
@@ -7476,13 +7431,13 @@
"sp-application-crypto",
"sp-keystore",
"thiserror",
- "tracing",
+ "tracing-gum",
]
[[package]]
name = "polkadot-erasure-coding"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"parity-scale-codec",
"polkadot-node-primitives",
@@ -7495,8 +7450,8 @@
[[package]]
name = "polkadot-gossip-support"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"futures 0.3.21",
"futures-timer",
@@ -7510,13 +7465,13 @@
"sp-application-crypto",
"sp-core",
"sp-keystore",
- "tracing",
+ "tracing-gum",
]
[[package]]
name = "polkadot-network-bridge"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"async-trait",
"futures 0.3.21",
@@ -7529,13 +7484,13 @@
"polkadot-primitives",
"sc-network",
"sp-consensus",
- "tracing",
+ "tracing-gum",
]
[[package]]
name = "polkadot-node-collation-generation"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"futures 0.3.21",
"parity-scale-codec",
@@ -7547,13 +7502,13 @@
"sp-core",
"sp-maybe-compressed-blob",
"thiserror",
- "tracing",
+ "tracing-gum",
]
[[package]]
name = "polkadot-node-core-approval-voting"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"bitvec",
"derive_more",
@@ -7575,13 +7530,14 @@
"sp-consensus",
"sp-consensus-slots",
"sp-runtime",
- "tracing",
+ "thiserror",
+ "tracing-gum",
]
[[package]]
name = "polkadot-node-core-av-store"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"bitvec",
"futures 0.3.21",
@@ -7595,13 +7551,13 @@
"polkadot-overseer",
"polkadot-primitives",
"thiserror",
- "tracing",
+ "tracing-gum",
]
[[package]]
name = "polkadot-node-core-backing"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"bitvec",
"futures 0.3.21",
@@ -7613,13 +7569,13 @@
"polkadot-statement-table",
"sp-keystore",
"thiserror",
- "tracing",
+ "tracing-gum",
]
[[package]]
name = "polkadot-node-core-bitfield-signing"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"futures 0.3.21",
"polkadot-node-subsystem",
@@ -7627,14 +7583,14 @@
"polkadot-primitives",
"sp-keystore",
"thiserror",
- "tracing",
+ "tracing-gum",
"wasm-timer",
]
[[package]]
name = "polkadot-node-core-candidate-validation"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"async-trait",
"futures 0.3.21",
@@ -7646,13 +7602,13 @@
"polkadot-parachain",
"polkadot-primitives",
"sp-maybe-compressed-blob",
- "tracing",
+ "tracing-gum",
]
[[package]]
name = "polkadot-node-core-chain-api"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"futures 0.3.21",
"polkadot-node-subsystem",
@@ -7661,13 +7617,13 @@
"sc-client-api",
"sc-consensus-babe",
"sp-blockchain",
- "tracing",
+ "tracing-gum",
]
[[package]]
name = "polkadot-node-core-chain-selection"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"futures 0.3.21",
"futures-timer",
@@ -7678,13 +7634,13 @@
"polkadot-node-subsystem-util",
"polkadot-primitives",
"thiserror",
- "tracing",
+ "tracing-gum",
]
[[package]]
name = "polkadot-node-core-dispute-coordinator"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"fatality",
"futures 0.3.21",
@@ -7697,13 +7653,13 @@
"polkadot-primitives",
"sc-keystore",
"thiserror",
- "tracing",
+ "tracing-gum",
]
[[package]]
name = "polkadot-node-core-parachains-inherent"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"async-trait",
"futures 0.3.21",
@@ -7714,13 +7670,13 @@
"sp-inherents",
"sp-runtime",
"thiserror",
- "tracing",
+ "tracing-gum",
]
[[package]]
name = "polkadot-node-core-provisioner"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"bitvec",
"futures 0.3.21",
@@ -7731,13 +7687,13 @@
"polkadot-primitives",
"rand 0.8.5",
"thiserror",
- "tracing",
+ "tracing-gum",
]
[[package]]
name = "polkadot-node-core-pvf"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"always-assert",
"assert_matches",
@@ -7761,13 +7717,13 @@
"sp-maybe-compressed-blob",
"sp-tracing",
"sp-wasm-interface",
- "tracing",
+ "tracing-gum",
]
[[package]]
name = "polkadot-node-core-pvf-checker"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"futures 0.3.21",
"polkadot-node-primitives",
@@ -7777,13 +7733,13 @@
"polkadot-primitives",
"sp-keystore",
"thiserror",
- "tracing",
+ "tracing-gum",
]
[[package]]
name = "polkadot-node-core-runtime-api"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"futures 0.3.21",
"memory-lru",
@@ -7795,13 +7751,13 @@
"sp-authority-discovery",
"sp-consensus-babe",
"sp-core",
- "tracing",
+ "tracing-gum",
]
[[package]]
name = "polkadot-node-jaeger"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"async-std",
"lazy_static",
@@ -7818,8 +7774,8 @@
[[package]]
name = "polkadot-node-metrics"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"bs58",
"futures 0.3.21",
@@ -7832,13 +7788,13 @@
"sc-service",
"sc-tracing",
"substrate-prometheus-endpoint",
- "tracing",
+ "tracing-gum",
]
[[package]]
name = "polkadot-node-network-protocol"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"async-trait",
"fatality",
@@ -7855,8 +7811,8 @@
[[package]]
name = "polkadot-node-primitives"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"bounded-vec",
"futures 0.3.21",
@@ -7877,8 +7833,8 @@
[[package]]
name = "polkadot-node-subsystem"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"polkadot-node-jaeger",
"polkadot-node-subsystem-types",
@@ -7887,8 +7843,8 @@
[[package]]
name = "polkadot-node-subsystem-types"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"derive_more",
"futures 0.3.21",
@@ -7906,8 +7862,8 @@
[[package]]
name = "polkadot-node-subsystem-util"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"async-trait",
"derive_more",
@@ -7934,13 +7890,13 @@
"sp-core",
"sp-keystore",
"thiserror",
- "tracing",
+ "tracing-gum",
]
[[package]]
name = "polkadot-overseer"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"futures 0.3.21",
"futures-timer",
@@ -7955,13 +7911,13 @@
"polkadot-primitives",
"sc-client-api",
"sp-api",
- "tracing",
+ "tracing-gum",
]
[[package]]
name = "polkadot-overseer-gen"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"async-trait",
"futures 0.3.21",
@@ -7972,15 +7928,15 @@
"polkadot-node-primitives",
"polkadot-overseer-gen-proc-macro",
"thiserror",
- "tracing",
+ "tracing-gum",
]
[[package]]
name = "polkadot-overseer-gen-proc-macro"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
- "expander 0.0.5",
+ "expander 0.0.6",
"proc-macro-crate 1.1.3",
"proc-macro2",
"quote",
@@ -7989,8 +7945,8 @@
[[package]]
name = "polkadot-parachain"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"derive_more",
"frame-support",
@@ -8006,8 +7962,8 @@
[[package]]
name = "polkadot-performance-test"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"env_logger",
"kusama-runtime",
@@ -8021,8 +7977,8 @@
[[package]]
name = "polkadot-primitives"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"bitvec",
"frame-system",
@@ -8051,8 +8007,8 @@
[[package]]
name = "polkadot-rpc"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"beefy-gadget",
"beefy-gadget-rpc",
@@ -8078,12 +8034,13 @@
"sp-keystore",
"sp-runtime",
"substrate-frame-rpc-system",
+ "substrate-state-trie-migration-rpc",
]
[[package]]
name = "polkadot-runtime"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"beefy-primitives",
"bitvec",
@@ -8103,16 +8060,17 @@
"pallet-bags-list",
"pallet-balances",
"pallet-bounties",
+ "pallet-child-bounties",
"pallet-collective",
"pallet-democracy",
"pallet-election-provider-multi-phase",
+ "pallet-election-provider-support-benchmarking",
"pallet-elections-phragmen",
"pallet-grandpa",
"pallet-identity",
"pallet-im-online",
"pallet-indices",
"pallet-membership",
- "pallet-mmr-primitives",
"pallet-multisig",
"pallet-nicks",
"pallet-offences",
@@ -8149,6 +8107,7 @@
"sp-core",
"sp-inherents",
"sp-io",
+ "sp-mmr-primitives",
"sp-npos-elections",
"sp-offchain",
"sp-runtime",
@@ -8166,8 +8125,8 @@
[[package]]
name = "polkadot-runtime-common"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"beefy-primitives",
"bitvec",
@@ -8176,7 +8135,7 @@
"frame-support",
"frame-system",
"impl-trait-for-tuples",
- "libsecp256k1 0.7.0",
+ "libsecp256k1",
"log",
"pallet-authorship",
"pallet-babe",
@@ -8213,8 +8172,8 @@
[[package]]
name = "polkadot-runtime-constants"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"frame-support",
"polkadot-primitives",
@@ -8225,8 +8184,8 @@
[[package]]
name = "polkadot-runtime-metrics"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"bs58",
"parity-scale-codec",
@@ -8237,8 +8196,8 @@
[[package]]
name = "polkadot-runtime-parachains"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"bitflags",
"bitvec",
@@ -8264,6 +8223,7 @@
"scale-info",
"serde",
"sp-api",
+ "sp-application-crypto",
"sp-core",
"sp-inherents",
"sp-io",
@@ -8279,8 +8239,8 @@
[[package]]
name = "polkadot-service"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"async-trait",
"beefy-gadget",
@@ -8294,7 +8254,6 @@
"lru 0.7.5",
"pallet-babe",
"pallet-im-online",
- "pallet-mmr-primitives",
"pallet-staking",
"pallet-transaction-payment-rpc-runtime-api",
"parity-db",
@@ -8374,14 +8333,14 @@
"sp-trie",
"substrate-prometheus-endpoint",
"thiserror",
- "tracing",
+ "tracing-gum",
"westend-runtime",
]
[[package]]
name = "polkadot-statement-distribution"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"arrayvec 0.5.2",
"fatality",
@@ -8396,13 +8355,13 @@
"sp-keystore",
"sp-staking",
"thiserror",
- "tracing",
+ "tracing-gum",
]
[[package]]
name = "polkadot-statement-table"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"parity-scale-codec",
"polkadot-primitives",
@@ -8411,8 +8370,8 @@
[[package]]
name = "polkadot-test-runtime"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"beefy-primitives",
"bitvec",
@@ -8428,7 +8387,6 @@
"pallet-balances",
"pallet-grandpa",
"pallet-indices",
- "pallet-mmr-primitives",
"pallet-nicks",
"pallet-offences",
"pallet-session",
@@ -8457,6 +8415,7 @@
"sp-core",
"sp-inherents",
"sp-io",
+ "sp-mmr-primitives",
"sp-offchain",
"sp-runtime",
"sp-session",
@@ -8473,8 +8432,8 @@
[[package]]
name = "polkadot-test-service"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"frame-benchmarking",
"frame-system",
@@ -8521,8 +8480,8 @@
"substrate-test-client",
"tempfile",
"test-runtime-constants",
- "tokio 1.17.0",
- "tracing",
+ "tokio 1.18.1",
+ "tracing-gum",
]
[[package]]
@@ -8568,6 +8527,20 @@
checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872"
[[package]]
+name = "prettytable-rs"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0fd04b170004fa2daccf418a7f8253aaf033c27760b5f225889024cf66d7ac2e"
+dependencies = [
+ "atty",
+ "csv",
+ "encode_unicode",
+ "lazy_static",
+ "term",
+ "unicode-width",
+]
+
+[[package]]
name = "primitive-types"
version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -8626,9 +8599,9 @@
[[package]]
name = "proc-macro2"
-version = "1.0.37"
+version = "1.0.38"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ec757218438d5fda206afc041538b2f6d889286160d649a86a24d37e1235afd1"
+checksum = "9027b48e9d4c9175fa2218adf3557f91c1137021739951d4932f5f8268ac48aa"
dependencies = [
"unicode-xid",
]
@@ -8711,7 +8684,7 @@
[[package]]
name = "quartz-runtime"
-version = "0.9.18"
+version = "0.9.20"
dependencies = [
"cumulus-pallet-aura-ext",
"cumulus-pallet-dmp-queue",
@@ -8810,9 +8783,9 @@
[[package]]
name = "quote"
-version = "1.0.17"
+version = "1.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "632d02bff7f874a36f33ea8bb416cd484b90cc66c1194b1a1110d067a7013f58"
+checksum = "a1feb54ed693b93a84e14094943b84b7c4eae204c512b7ccb95ab0c66d278ad1"
dependencies = [
"proc-macro2",
]
@@ -8834,7 +8807,7 @@
"rand_chacha 0.2.2",
"rand_core 0.5.1",
"rand_hc",
- "rand_pcg",
+ "rand_pcg 0.2.1",
]
[[package]]
@@ -8915,6 +8888,15 @@
]
[[package]]
+name = "rand_pcg"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "59cad018caf63deb318e5a4586d99a24424a364f40f1e5778c29aca23f4fc73e"
+dependencies = [
+ "rand_core 0.6.3",
+]
+
+[[package]]
name = "rawpointer"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -8922,9 +8904,9 @@
[[package]]
name = "rayon"
-version = "1.5.1"
+version = "1.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c06aca804d41dbc8ba42dfd964f0d01334eceb64314b9ecf7c5fad5188a06d90"
+checksum = "fd249e82c21598a9a426a4e00dd7adc1d640b22445ec8545feef801d1a74c221"
dependencies = [
"autocfg",
"crossbeam-deque",
@@ -8934,19 +8916,24 @@
[[package]]
name = "rayon-core"
-version = "1.9.1"
+version = "1.9.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d78120e2c850279833f1dd3582f730c4ab53ed95aeaaaa862a2a5c71b1656d8e"
+checksum = "9f51245e1e62e1f1629cbfec37b5793bbabcaeb90f30e94d2ba03564687353e4"
dependencies = [
"crossbeam-channel",
"crossbeam-deque",
"crossbeam-utils",
- "lazy_static",
"num_cpus",
]
[[package]]
name = "redox_syscall"
+version = "0.1.57"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce"
+
+[[package]]
+name = "redox_syscall"
version = "0.2.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "62f25bc4c7e55e0b0b7a1d43fb893f4fa1361d0abe38b9ce4f323c2adfe6ef42"
@@ -8956,12 +8943,23 @@
[[package]]
name = "redox_users"
+version = "0.3.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "de0737333e7a9502c789a36d7c7fa6092a49895d4faa31ca5df163857ded2e9d"
+dependencies = [
+ "getrandom 0.1.16",
+ "redox_syscall 0.1.57",
+ "rust-argon2",
+]
+
+[[package]]
+name = "redox_users"
version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b"
dependencies = [
"getrandom 0.2.6",
- "redox_syscall",
+ "redox_syscall 0.2.13",
"thiserror",
]
@@ -8980,18 +8978,18 @@
[[package]]
name = "ref-cast"
-version = "1.0.6"
+version = "1.0.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "300f2a835d808734ee295d45007adacb9ebb29dd3ae2424acfa17930cae541da"
+checksum = "685d58625b6c2b83e4cc88a27c4bf65adb7b6b16dbdc413e515c9405b47432ab"
dependencies = [
"ref-cast-impl",
]
[[package]]
name = "ref-cast-impl"
-version = "1.0.6"
+version = "1.0.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4c38e3aecd2b21cb3959637b883bb3714bc7e43f0268b9a29d3743ee3e55cdd2"
+checksum = "a043824e29c94169374ac5183ac0ed43f5724dc4556b19568007486bd840fa1f"
dependencies = [
"proc-macro2",
"quote",
@@ -9000,9 +8998,9 @@
[[package]]
name = "regalloc"
-version = "0.0.33"
+version = "0.0.34"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7d808cff91dfca7b239d40b972ba628add94892b1d9e19a842aedc5cfae8ab1a"
+checksum = "62446b1d3ebf980bdc68837700af1d77b37bc430e524bf95319c6eada2a4cc02"
dependencies = [
"log",
"rustc-hash",
@@ -9050,10 +9048,10 @@
[[package]]
name = "remote-externalities"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"env_logger",
- "jsonrpsee 0.8.0",
+ "jsonrpsee",
"log",
"parity-scale-codec",
"serde",
@@ -9137,9 +9135,10 @@
[[package]]
name = "rococo-runtime"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
+ "beefy-merkle-tree",
"beefy-primitives",
"bp-messages",
"bp-rococo",
@@ -9150,6 +9149,7 @@
"frame-executive",
"frame-support",
"frame-system",
+ "frame-system-benchmarking",
"frame-system-rpc-runtime-api",
"hex-literal",
"log",
@@ -9168,7 +9168,6 @@
"pallet-indices",
"pallet-membership",
"pallet-mmr",
- "pallet-mmr-primitives",
"pallet-multisig",
"pallet-offences",
"pallet-proxy",
@@ -9197,6 +9196,7 @@
"sp-core",
"sp-inherents",
"sp-io",
+ "sp-mmr-primitives",
"sp-offchain",
"sp-runtime",
"sp-session",
@@ -9212,8 +9212,8 @@
[[package]]
name = "rococo-runtime-constants"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"frame-support",
"polkadot-primitives",
@@ -9233,6 +9233,18 @@
]
[[package]]
+name = "rust-argon2"
+version = "0.8.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4b18820d944b33caa75a71378964ac46f58517c92b6ae5f762636247c09e78fb"
+dependencies = [
+ "base64",
+ "blake2b_simd",
+ "constant_time_eq",
+ "crossbeam-utils",
+]
+
+[[package]]
name = "rustc-demangle"
version = "0.1.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -9274,14 +9286,14 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366"
dependencies = [
- "semver 1.0.7",
+ "semver 1.0.9",
]
[[package]]
name = "rustix"
-version = "0.31.3"
+version = "0.33.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b2dcfc2778a90e38f56a708bfc90572422e11d6c7ee233d053d1f782cf9df6d2"
+checksum = "938a344304321a9da4973b9ff4f9f8db9caf4597dfd9dda6a60b523340a0fff0"
dependencies = [
"bitflags",
"errno",
@@ -9330,9 +9342,9 @@
[[package]]
name = "rustls-native-certs"
-version = "0.6.1"
+version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5ca9ebdfa27d3fc180e42879037b5338ab1c040c06affd00d8338598e7800943"
+checksum = "0167bac7a9f490495f3c33013e7722b53cb087ecbe082fb0c6387c96f634ea50"
dependencies = [
"openssl-probe",
"rustls-pemfile",
@@ -9342,9 +9354,9 @@
[[package]]
name = "rustls-pemfile"
-version = "0.2.1"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5eebeaeb360c87bfb72e84abdb3447159c0eaececf1bef2aecd65a8be949d1c9"
+checksum = "e7522c9de787ff061458fe9a829dc790a3f5b22dc571694fc5883f448b94d9a9"
dependencies = [
"base64",
]
@@ -9402,7 +9414,7 @@
[[package]]
name = "sc-allocator"
version = "4.1.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"log",
"sp-core",
@@ -9413,7 +9425,7 @@
[[package]]
name = "sc-authority-discovery"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"async-trait",
"futures 0.3.21",
@@ -9440,7 +9452,7 @@
[[package]]
name = "sc-basic-authorship"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"futures 0.3.21",
"futures-timer",
@@ -9463,7 +9475,7 @@
[[package]]
name = "sc-block-builder"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"parity-scale-codec",
"sc-client-api",
@@ -9479,7 +9491,7 @@
[[package]]
name = "sc-chain-spec"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"impl-trait-for-tuples",
"memmap2 0.5.3",
@@ -9496,7 +9508,7 @@
[[package]]
name = "sc-chain-spec-derive"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"proc-macro-crate 1.1.3",
"proc-macro2",
@@ -9507,7 +9519,7 @@
[[package]]
name = "sc-cli"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"chrono",
"clap",
@@ -9539,13 +9551,13 @@
"sp-version",
"thiserror",
"tiny-bip39",
- "tokio 1.17.0",
+ "tokio 1.18.1",
]
[[package]]
name = "sc-client-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"fnv",
"futures 0.3.21",
@@ -9573,7 +9585,7 @@
[[package]]
name = "sc-client-db"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"hash-db",
"kvdb",
@@ -9598,7 +9610,7 @@
[[package]]
name = "sc-consensus"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"async-trait",
"futures 0.3.21",
@@ -9622,7 +9634,7 @@
[[package]]
name = "sc-consensus-aura"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"async-trait",
"futures 0.3.21",
@@ -9651,7 +9663,7 @@
[[package]]
name = "sc-consensus-babe"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"async-trait",
"fork-tree",
@@ -9694,7 +9706,7 @@
[[package]]
name = "sc-consensus-babe-rpc"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"futures 0.3.21",
"jsonrpc-core",
@@ -9718,7 +9730,7 @@
[[package]]
name = "sc-consensus-epochs"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"fork-tree",
"parity-scale-codec",
@@ -9731,7 +9743,7 @@
[[package]]
name = "sc-consensus-manual-seal"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"assert_matches",
"async-trait",
@@ -9767,7 +9779,7 @@
[[package]]
name = "sc-consensus-slots"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"async-trait",
"futures 0.3.21",
@@ -9792,7 +9804,7 @@
[[package]]
name = "sc-consensus-uncles"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"sc-client-api",
"sp-authorship",
@@ -9803,10 +9815,10 @@
[[package]]
name = "sc-executor"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"lazy_static",
- "lru 0.6.6",
+ "lru 0.7.5",
"parity-scale-codec",
"parking_lot 0.12.0",
"sc-executor-common",
@@ -9830,7 +9842,7 @@
[[package]]
name = "sc-executor-common"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"environmental",
"parity-scale-codec",
@@ -9847,7 +9859,7 @@
[[package]]
name = "sc-executor-wasmi"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"log",
"parity-scale-codec",
@@ -9863,7 +9875,7 @@
[[package]]
name = "sc-executor-wasmtime"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"cfg-if 1.0.0",
"libc",
@@ -9881,7 +9893,7 @@
[[package]]
name = "sc-finality-grandpa"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"ahash",
"async-trait",
@@ -9921,7 +9933,7 @@
[[package]]
name = "sc-finality-grandpa-rpc"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"finality-grandpa",
"futures 0.3.21",
@@ -9945,7 +9957,7 @@
[[package]]
name = "sc-informant"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"ansi_term",
"futures 0.3.21",
@@ -9962,7 +9974,7 @@
[[package]]
name = "sc-keystore"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"async-trait",
"hex",
@@ -9977,7 +9989,7 @@
[[package]]
name = "sc-network"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"async-trait",
"asynchronous-codec 0.5.0",
@@ -10026,7 +10038,7 @@
[[package]]
name = "sc-network-gossip"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"ahash",
"futures 0.3.21",
@@ -10043,7 +10055,7 @@
[[package]]
name = "sc-offchain"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"bytes 1.1.0",
"fnv",
@@ -10071,7 +10083,7 @@
[[package]]
name = "sc-peerset"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"futures 0.3.21",
"libp2p",
@@ -10084,7 +10096,7 @@
[[package]]
name = "sc-proposer-metrics"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"log",
"substrate-prometheus-endpoint",
@@ -10093,7 +10105,7 @@
[[package]]
name = "sc-rpc"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"futures 0.3.21",
"hash-db",
@@ -10124,7 +10136,7 @@
[[package]]
name = "sc-rpc-api"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"futures 0.3.21",
"jsonrpc-core",
@@ -10136,6 +10148,7 @@
"parking_lot 0.12.0",
"sc-chain-spec",
"sc-transaction-pool-api",
+ "scale-info",
"serde",
"serde_json",
"sp-core",
@@ -10149,7 +10162,7 @@
[[package]]
name = "sc-rpc-server"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"futures 0.3.21",
"jsonrpc-core",
@@ -10160,13 +10173,13 @@
"log",
"serde_json",
"substrate-prometheus-endpoint",
- "tokio 1.17.0",
+ "tokio 1.18.1",
]
[[package]]
name = "sc-service"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"async-trait",
"directories",
@@ -10194,6 +10207,7 @@
"sc-offchain",
"sc-rpc",
"sc-rpc-server",
+ "sc-sysinfo",
"sc-telemetry",
"sc-tracing",
"sc-transaction-pool",
@@ -10222,7 +10236,7 @@
"substrate-prometheus-endpoint",
"tempfile",
"thiserror",
- "tokio 1.17.0",
+ "tokio 1.18.1",
"tracing",
"tracing-futures",
]
@@ -10230,7 +10244,7 @@
[[package]]
name = "sc-state-db"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"log",
"parity-scale-codec",
@@ -10244,7 +10258,7 @@
[[package]]
name = "sc-sync-state-rpc"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"jsonrpc-core",
"jsonrpc-core-client",
@@ -10263,9 +10277,28 @@
]
[[package]]
+name = "sc-sysinfo"
+version = "6.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+dependencies = [
+ "futures 0.3.21",
+ "libc",
+ "log",
+ "rand 0.7.3",
+ "rand_pcg 0.2.1",
+ "regex",
+ "sc-telemetry",
+ "serde",
+ "serde_json",
+ "sp-core",
+ "sp-io",
+ "sp-std",
+]
+
+[[package]]
name = "sc-telemetry"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"chrono",
"futures 0.3.21",
@@ -10283,7 +10316,7 @@
[[package]]
name = "sc-tracing"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"ansi_term",
"atty",
@@ -10314,7 +10347,7 @@
[[package]]
name = "sc-tracing-proc-macro"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"proc-macro-crate 1.1.3",
"proc-macro2",
@@ -10325,7 +10358,7 @@
[[package]]
name = "sc-transaction-pool"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"futures 0.3.21",
"futures-timer",
@@ -10352,7 +10385,7 @@
[[package]]
name = "sc-transaction-pool-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"futures 0.3.21",
"log",
@@ -10365,7 +10398,7 @@
[[package]]
name = "sc-utils"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"futures 0.3.21",
"futures-timer",
@@ -10377,9 +10410,9 @@
[[package]]
name = "scale-info"
-version = "2.0.1"
+version = "2.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0563970d79bcbf3c537ce3ad36d859b30d36fc5b190efd227f1f7a84d7cf0d42"
+checksum = "8980cafbe98a7ee7a9cc16b32ebce542c77883f512d83fbf2ddc8f6a85ea74c9"
dependencies = [
"bitvec",
"cfg-if 1.0.0",
@@ -10391,9 +10424,9 @@
[[package]]
name = "scale-info-derive"
-version = "2.0.0"
+version = "2.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b7805950c36512db9e3251c970bb7ac425f326716941862205d612ab3b5e46e2"
+checksum = "4260c630e8a8a33429d1688eff2f163f24c65a4e1b1578ef6b565061336e4b6f"
dependencies = [
"proc-macro-crate 1.1.3",
"proc-macro2",
@@ -10425,7 +10458,7 @@
"rand 0.7.3",
"rand_core 0.5.1",
"sha2 0.8.2",
- "subtle 2.4.1",
+ "subtle",
"zeroize",
]
@@ -10470,7 +10503,7 @@
"der",
"generic-array 0.14.5",
"pkcs8",
- "subtle 2.4.1",
+ "subtle",
"zeroize",
]
@@ -10553,9 +10586,9 @@
[[package]]
name = "semver"
-version = "1.0.7"
+version = "1.0.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d65bd28f48be7196d222d95b9243287f48d27aca604e08497513019ff0502cc4"
+checksum = "8cb243bdfdb5936c8dc3c45762a19d12ab4550cdc753bc247637d4ec35a040fd"
dependencies = [
"serde",
]
@@ -10577,18 +10610,18 @@
[[package]]
name = "serde"
-version = "1.0.136"
+version = "1.0.137"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ce31e24b01e1e524df96f1c2fdd054405f8d7376249a5110886fb4b658484789"
+checksum = "61ea8d54c77f8315140a05f4c7237403bf38b72704d031543aa1d16abbf517d1"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.136"
+version = "1.0.137"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "08597e7152fcd306f41838ed3e37be9eaeed2b61c42e2117266a554fab4662f9"
+checksum = "1f26faba0c3959972377d3b2d306ee9f71faee9714294e41bb777f83f88578be"
dependencies = [
"proc-macro2",
"quote",
@@ -10597,9 +10630,9 @@
[[package]]
name = "serde_json"
-version = "1.0.79"
+version = "1.0.81"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8e8d9fa5c3b304765ce1fd9c4c8a3de2c8db365a5b91be52f186efc675681d95"
+checksum = "9b7ce2b32a1aed03c558dc61a5cd328f15aff2dbc17daad8fb8af04d2100e15c"
dependencies = [
"itoa 1.0.1",
"ryu",
@@ -10674,19 +10707,6 @@
"cfg-if 1.0.0",
"cpufeatures 0.2.2",
"digest 0.10.3",
-]
-
-[[package]]
-name = "sha3"
-version = "0.8.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dd26bc0e7a2e3a7c959bc494caf58b72ee0c71d67704e9520f736ca7e4853ecf"
-dependencies = [
- "block-buffer 0.7.3",
- "byte-tools",
- "digest 0.8.1",
- "keccak",
- "opaque-debug 0.2.3",
]
[[package]]
@@ -10774,8 +10794,8 @@
[[package]]
name = "slot-range-helper"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"enumn",
"parity-scale-codec",
@@ -10819,7 +10839,7 @@
"ring",
"rustc_version 0.3.3",
"sha2 0.9.9",
- "subtle 2.4.1",
+ "subtle",
"x25519-dalek",
]
@@ -10863,7 +10883,7 @@
[[package]]
name = "sp-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"hash-db",
"log",
@@ -10880,7 +10900,7 @@
[[package]]
name = "sp-api-proc-macro"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"blake2 0.10.4",
"proc-macro-crate 1.1.3",
@@ -10892,7 +10912,7 @@
[[package]]
name = "sp-application-crypto"
version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -10905,7 +10925,7 @@
[[package]]
name = "sp-arithmetic"
version = "5.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"integer-sqrt",
"num-traits",
@@ -10920,7 +10940,7 @@
[[package]]
name = "sp-authority-discovery"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -10933,7 +10953,7 @@
[[package]]
name = "sp-authorship"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"async-trait",
"parity-scale-codec",
@@ -10945,7 +10965,7 @@
[[package]]
name = "sp-block-builder"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"parity-scale-codec",
"sp-api",
@@ -10957,7 +10977,7 @@
[[package]]
name = "sp-blockchain"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"futures 0.3.21",
"log",
@@ -10975,7 +10995,7 @@
[[package]]
name = "sp-consensus"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"async-trait",
"futures 0.3.21",
@@ -10994,7 +11014,7 @@
[[package]]
name = "sp-consensus-aura"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"async-trait",
"parity-scale-codec",
@@ -11012,7 +11032,7 @@
[[package]]
name = "sp-consensus-babe"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"async-trait",
"merlin",
@@ -11035,7 +11055,7 @@
[[package]]
name = "sp-consensus-slots"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -11049,7 +11069,7 @@
[[package]]
name = "sp-consensus-vrf"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"parity-scale-codec",
"schnorrkel",
@@ -11061,7 +11081,7 @@
[[package]]
name = "sp-core"
version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"base58",
"bitflags",
@@ -11075,7 +11095,7 @@
"hex",
"impl-serde",
"lazy_static",
- "libsecp256k1 0.7.0",
+ "libsecp256k1",
"log",
"merlin",
"num-traits",
@@ -11107,7 +11127,7 @@
[[package]]
name = "sp-core-hashing"
version = "4.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"blake2 0.10.4",
"byteorder",
@@ -11121,7 +11141,7 @@
[[package]]
name = "sp-core-hashing-proc-macro"
version = "5.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"proc-macro2",
"quote",
@@ -11132,7 +11152,7 @@
[[package]]
name = "sp-database"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"kvdb",
"parking_lot 0.12.0",
@@ -11141,7 +11161,7 @@
[[package]]
name = "sp-debug-derive"
version = "4.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"proc-macro2",
"quote",
@@ -11151,7 +11171,7 @@
[[package]]
name = "sp-externalities"
version = "0.12.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"environmental",
"parity-scale-codec",
@@ -11162,7 +11182,7 @@
[[package]]
name = "sp-finality-grandpa"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"finality-grandpa",
"log",
@@ -11180,7 +11200,7 @@
[[package]]
name = "sp-inherents"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"async-trait",
"impl-trait-for-tuples",
@@ -11194,11 +11214,11 @@
[[package]]
name = "sp-io"
version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"futures 0.3.21",
"hash-db",
- "libsecp256k1 0.7.0",
+ "libsecp256k1",
"log",
"parity-scale-codec",
"parking_lot 0.12.0",
@@ -11219,7 +11239,7 @@
[[package]]
name = "sp-keyring"
version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"lazy_static",
"sp-core",
@@ -11230,7 +11250,7 @@
[[package]]
name = "sp-keystore"
version = "0.12.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"async-trait",
"futures 0.3.21",
@@ -11247,42 +11267,45 @@
[[package]]
name = "sp-maybe-compressed-blob"
version = "4.1.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"thiserror",
"zstd",
]
[[package]]
-name = "sp-npos-elections"
+name = "sp-mmr-primitives"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
+ "log",
"parity-scale-codec",
- "scale-info",
"serde",
- "sp-arithmetic",
+ "sp-api",
"sp-core",
- "sp-npos-elections-solution-type",
+ "sp-debug-derive",
"sp-runtime",
"sp-std",
]
[[package]]
-name = "sp-npos-elections-solution-type"
+name = "sp-npos-elections"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
- "proc-macro-crate 1.1.3",
- "proc-macro2",
- "quote",
- "syn",
+ "parity-scale-codec",
+ "scale-info",
+ "serde",
+ "sp-arithmetic",
+ "sp-core",
+ "sp-runtime",
+ "sp-std",
]
[[package]]
name = "sp-offchain"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"sp-api",
"sp-core",
@@ -11292,7 +11315,7 @@
[[package]]
name = "sp-panic-handler"
version = "4.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"backtrace",
"lazy_static",
@@ -11302,7 +11325,7 @@
[[package]]
name = "sp-rpc"
version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"rustc-hash",
"serde",
@@ -11312,7 +11335,7 @@
[[package]]
name = "sp-runtime"
version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"either",
"hash256-std-hasher",
@@ -11334,7 +11357,7 @@
[[package]]
name = "sp-runtime-interface"
version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"impl-trait-for-tuples",
"parity-scale-codec",
@@ -11351,7 +11374,7 @@
[[package]]
name = "sp-runtime-interface-proc-macro"
version = "5.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"Inflector",
"proc-macro-crate 1.1.3",
@@ -11363,7 +11386,7 @@
[[package]]
name = "sp-serializer"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"serde",
"serde_json",
@@ -11372,7 +11395,7 @@
[[package]]
name = "sp-session"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -11386,7 +11409,7 @@
[[package]]
name = "sp-staking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -11397,7 +11420,7 @@
[[package]]
name = "sp-state-machine"
version = "0.12.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"hash-db",
"log",
@@ -11413,19 +11436,18 @@
"sp-trie",
"thiserror",
"tracing",
- "trie-db",
"trie-root",
]
[[package]]
name = "sp-std"
version = "4.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
[[package]]
name = "sp-storage"
version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"impl-serde",
"parity-scale-codec",
@@ -11438,7 +11460,7 @@
[[package]]
name = "sp-tasks"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"log",
"sp-core",
@@ -11451,7 +11473,7 @@
[[package]]
name = "sp-timestamp"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"async-trait",
"futures-timer",
@@ -11467,7 +11489,7 @@
[[package]]
name = "sp-tracing"
version = "5.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"parity-scale-codec",
"sp-std",
@@ -11479,7 +11501,7 @@
[[package]]
name = "sp-transaction-pool"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"sp-api",
"sp-runtime",
@@ -11488,7 +11510,7 @@
[[package]]
name = "sp-transaction-storage-proof"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"async-trait",
"log",
@@ -11504,7 +11526,7 @@
[[package]]
name = "sp-trie"
version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"hash-db",
"memory-db",
@@ -11520,7 +11542,7 @@
[[package]]
name = "sp-version"
version = "5.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"impl-serde",
"parity-scale-codec",
@@ -11537,7 +11559,7 @@
[[package]]
name = "sp-version-proc-macro"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"parity-scale-codec",
"proc-macro2",
@@ -11548,7 +11570,7 @@
[[package]]
name = "sp-wasm-interface"
version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"impl-trait-for-tuples",
"log",
@@ -11713,7 +11735,7 @@
[[package]]
name = "substrate-build-script-utils"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"platforms",
]
@@ -11721,7 +11743,7 @@
[[package]]
name = "substrate-frame-rpc-system"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"frame-system-rpc-runtime-api",
"futures 0.3.21",
@@ -11743,20 +11765,43 @@
[[package]]
name = "substrate-prometheus-endpoint"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"futures-util",
"hyper",
"log",
"prometheus",
"thiserror",
- "tokio 1.17.0",
+ "tokio 1.18.1",
+]
+
+[[package]]
+name = "substrate-state-trie-migration-rpc"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+dependencies = [
+ "jsonrpc-core",
+ "jsonrpc-core-client",
+ "jsonrpc-derive",
+ "log",
+ "parity-scale-codec",
+ "sc-client-api",
+ "sc-rpc-api",
+ "scale-info",
+ "serde",
+ "sp-core",
+ "sp-io",
+ "sp-runtime",
+ "sp-state-machine",
+ "sp-std",
+ "sp-trie",
+ "trie-db",
]
[[package]]
name = "substrate-test-client"
version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"async-trait",
"futures 0.3.21",
@@ -11782,17 +11827,17 @@
[[package]]
name = "substrate-test-utils"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"futures 0.3.21",
"substrate-test-utils-derive",
- "tokio 1.17.0",
+ "tokio 1.18.1",
]
[[package]]
name = "substrate-test-utils-derive"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"proc-macro-crate 1.1.3",
"proc-macro2",
@@ -11803,7 +11848,7 @@
[[package]]
name = "substrate-wasm-builder"
version = "5.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"ansi_term",
"build-helper",
@@ -11815,12 +11860,6 @@
"walkdir",
"wasm-gc-api",
]
-
-[[package]]
-name = "subtle"
-version = "1.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2d67a5a62ba6e01cb2192ff309324cb4875d0c451d55fe2319433abe7a05a8ee"
[[package]]
name = "subtle"
@@ -11830,9 +11869,9 @@
[[package]]
name = "syn"
-version = "1.0.91"
+version = "1.0.92"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b683b2b825c8eef438b77c36a06dc262294da3d5a5813fac20da149241dcd44d"
+checksum = "7ff7c592601f11445996a06f8ad0c27f094a58857c2f89e97974ab9235b92c52"
dependencies = [
"proc-macro2",
"quote",
@@ -11872,12 +11911,23 @@
"cfg-if 1.0.0",
"fastrand",
"libc",
- "redox_syscall",
+ "redox_syscall 0.2.13",
"remove_dir_all",
"winapi 0.3.9",
]
[[package]]
+name = "term"
+version = "0.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "edd106a334b7657c10b7c540a0106114feadeb4dc314513e97df481d5d966f42"
+dependencies = [
+ "byteorder",
+ "dirs",
+ "winapi 0.3.9",
+]
+
+[[package]]
name = "termcolor"
version = "1.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -11888,8 +11938,8 @@
[[package]]
name = "test-runtime-constants"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"frame-support",
"polkadot-primitives",
@@ -11935,18 +11985,18 @@
[[package]]
name = "thiserror"
-version = "1.0.30"
+version = "1.0.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "854babe52e4df1653706b98fcfc05843010039b406875930a70e4d9644e5c417"
+checksum = "bd829fe32373d27f76265620b5309d0340cb8550f523c1dda251d6298069069a"
dependencies = [
"thiserror-impl",
]
[[package]]
name = "thiserror-impl"
-version = "1.0.30"
+version = "1.0.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aa32fd3f627f367fe16f893e2597ae3c05020f8bba2666a4e6ea73d377e5714b"
+checksum = "0396bc89e626244658bef819e22d0cc459e795a5ebe878e6ec336d1674a8d79a"
dependencies = [
"proc-macro2",
"quote",
@@ -11954,6 +12004,12 @@
]
[[package]]
+name = "thousands"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3bf63baf9f5039dadc247375c29eb13706706cfde997d0330d05aa63a77d8820"
+
+[[package]]
name = "thread_local"
version = "1.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -12036,9 +12092,9 @@
[[package]]
name = "tinyvec"
-version = "1.5.1"
+version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2c1c1d5a42b6245520c249549ec267180beaffcc0615401ac8e31853d4b6d8d2"
+checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50"
dependencies = [
"tinyvec_macros",
]
@@ -12063,9 +12119,9 @@
[[package]]
name = "tokio"
-version = "1.17.0"
+version = "1.18.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2af73ac49756f3f7c01172e34a23e5d0216f6c32333757c2c61feb2bbff5a5ee"
+checksum = "dce653fb475565de9f6fb0614b28bca8df2c430c0cf84bcd9c843f15de5414cc"
dependencies = [
"bytes 1.1.0",
"libc",
@@ -12074,7 +12130,7 @@
"num_cpus",
"once_cell",
"parking_lot 0.12.0",
- "pin-project-lite 0.2.8",
+ "pin-project-lite 0.2.9",
"signal-hook-registry",
"socket2 0.4.4",
"tokio-macros 1.7.0",
@@ -12110,18 +12166,18 @@
checksum = "bc6844de72e57df1980054b38be3a9f4702aba4858be64dd700181a8a6d0e1b6"
dependencies = [
"rustls 0.19.1",
- "tokio 1.17.0",
+ "tokio 1.18.1",
"webpki 0.21.4",
]
[[package]]
name = "tokio-rustls"
-version = "0.23.3"
+version = "0.23.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4151fda0cf2798550ad0b34bcfc9b9dcc2a9d2471c895c68f3a8818e54f2389e"
+checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59"
dependencies = [
"rustls 0.20.4",
- "tokio 1.17.0",
+ "tokio 1.18.1",
"webpki 0.22.0",
]
@@ -12132,8 +12188,8 @@
checksum = "50145484efff8818b5ccd256697f36863f587da82cf8b409c53adf1e840798e3"
dependencies = [
"futures-core",
- "pin-project-lite 0.2.8",
- "tokio 1.17.0",
+ "pin-project-lite 0.2.9",
+ "tokio 1.18.1",
]
[[package]]
@@ -12144,11 +12200,10 @@
dependencies = [
"bytes 1.1.0",
"futures-core",
- "futures-io",
"futures-sink",
"log",
- "pin-project-lite 0.2.8",
- "tokio 1.17.0",
+ "pin-project-lite 0.2.9",
+ "tokio 1.18.1",
]
[[package]]
@@ -12159,17 +12214,18 @@
dependencies = [
"bytes 1.1.0",
"futures-core",
+ "futures-io",
"futures-sink",
- "pin-project-lite 0.2.8",
- "tokio 1.17.0",
+ "pin-project-lite 0.2.9",
+ "tokio 1.18.1",
"tracing",
]
[[package]]
name = "toml"
-version = "0.5.8"
+version = "0.5.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a31142970826733df8241ef35dc040ef98c679ab14d7c3e54d827099b3acecaa"
+checksum = "8d82e1a7758622a465f8cee077614c73484dac5b836c02ff6a40d5d1010324d7"
dependencies = [
"serde",
]
@@ -12182,21 +12238,21 @@
[[package]]
name = "tracing"
-version = "0.1.32"
+version = "0.1.34"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4a1bdf54a7c28a2bbf701e1d2233f6c77f473486b94bee4f9678da5a148dca7f"
+checksum = "5d0ecdcb44a79f0fe9844f0c4f33a342cbcbb5117de8001e6ba0dc2351327d09"
dependencies = [
"cfg-if 1.0.0",
- "pin-project-lite 0.2.8",
+ "pin-project-lite 0.2.9",
"tracing-attributes",
"tracing-core",
]
[[package]]
name = "tracing-attributes"
-version = "0.1.20"
+version = "0.1.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2e65ce065b4b5c53e73bb28912318cb8c9e9ad3921f1d669eb0e68b4c8143a2b"
+checksum = "cc6b8ad3567499f98a1db7a752b07a7c8c7c7c34c332ec00effb2b0027974b7c"
dependencies = [
"proc-macro2",
"quote",
@@ -12205,9 +12261,9 @@
[[package]]
name = "tracing-core"
-version = "0.1.24"
+version = "0.1.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "90442985ee2f57c9e1b548ee72ae842f4a9a20e3f417cc38dbc5dc684d9bb4ee"
+checksum = "f54c8ca710e81886d498c2fd3331b56c93aa248d49de2222ad2742247c60072f"
dependencies = [
"lazy_static",
"valuable",
@@ -12224,10 +12280,33 @@
]
[[package]]
+name = "tracing-gum"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+dependencies = [
+ "polkadot-node-jaeger",
+ "polkadot-primitives",
+ "tracing",
+ "tracing-gum-proc-macro",
+]
+
+[[package]]
+name = "tracing-gum-proc-macro"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+dependencies = [
+ "expander 0.0.6",
+ "proc-macro-crate 1.1.3",
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
name = "tracing-log"
-version = "0.1.2"
+version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a6923477a48e41c1951f1999ef8bb5a3023eb723ceadafe78ffb65dc366761e3"
+checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922"
dependencies = [
"lazy_static",
"log",
@@ -12274,7 +12353,7 @@
checksum = "d32d034c0d3db64b43c31de38e945f15b40cd4ca6d2dcfc26d4798ce8de4ab83"
dependencies = [
"hash-db",
- "hashbrown 0.12.0",
+ "hashbrown 0.12.1",
"log",
"rustc-hex",
"smallvec",
@@ -12351,10 +12430,10 @@
[[package]]
name = "try-runtime-cli"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
dependencies = [
"clap",
- "jsonrpsee 0.4.1",
+ "jsonrpsee",
"log",
"parity-scale-codec",
"remote-externalities",
@@ -12381,9 +12460,9 @@
[[package]]
name = "twox-hash"
-version = "1.6.2"
+version = "1.6.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4ee73e6e4924fe940354b8d4d98cad5231175d615cd855b758adc658c0aac6a0"
+checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675"
dependencies = [
"cfg-if 1.0.0",
"digest 0.10.3",
@@ -12445,9 +12524,9 @@
[[package]]
name = "unicode-bidi"
-version = "0.3.7"
+version = "0.3.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1a01404663e3db436ed2746d9fefef640d868edae3cceb81c3b8d5732fda678f"
+checksum = "099b7128301d285f79ddd55b9a83d5e6b9e97c92e0ea0daebee7263e932de992"
[[package]]
name = "unicode-normalization"
@@ -12465,14 +12544,20 @@
checksum = "7e8820f5d777f6224dc4be3632222971ac30164d4a258d595640799554ebfd99"
[[package]]
+name = "unicode-width"
+version = "0.1.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973"
+
+[[package]]
name = "unicode-xid"
-version = "0.2.2"
+version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3"
+checksum = "957e51f3646910546462e67d5f7599b9e4fb8acdd304b087a6494730f9eebf04"
[[package]]
name = "unique-node"
-version = "0.9.18"
+version = "0.9.20"
dependencies = [
"clap",
"cumulus-client-cli",
@@ -12548,7 +12633,7 @@
"substrate-build-script-utils",
"substrate-frame-rpc-system",
"substrate-prometheus-endpoint",
- "tokio 1.17.0",
+ "tokio 1.18.1",
"try-runtime-cli",
"unique-rpc",
"unique-runtime",
@@ -12566,6 +12651,7 @@
"fc-rpc",
"fc-rpc-core",
"fp-rpc",
+ "fp-storage",
"futures 0.3.21",
"jsonrpc-core",
"jsonrpc-pubsub",
@@ -12685,7 +12771,7 @@
[[package]]
name = "unique-runtime-common"
-version = "0.9.18"
+version = "0.9.20"
dependencies = [
"evm-coder",
"fp-rpc",
@@ -12714,7 +12800,7 @@
checksum = "9f214e8f697e925001e66ec2c6e37a4ef93f0f78c2eed7814394e10c62025b05"
dependencies = [
"generic-array 0.14.5",
- "subtle 2.4.1",
+ "subtle",
]
[[package]]
@@ -12787,7 +12873,7 @@
[[package]]
name = "up-sponsorship"
version = "0.1.0"
-source = "git+https://github.com/UniqueNetwork/pallet-sponsoring?branch=polkadot-v0.9.18#7bc842b35a53f762ee6ee89e5f5bef84a284c9f4"
+source = "git+https://github.com/uniquenetwork/pallet-sponsoring?branch=polkadot-v0.9.20#fa1a51fcccf488d3d41f0ae7864b9b6455b64d77"
dependencies = [
"impl-trait-for-tuples",
]
@@ -12823,9 +12909,9 @@
[[package]]
name = "value-bag"
-version = "1.0.0-alpha.8"
+version = "1.0.0-alpha.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "79923f7731dc61ebfba3633098bf3ac533bbd35ccd8c57e7088d9a5eebe0263f"
+checksum = "2209b78d1249f7e6f3293657c9779fe31ced465df091bbd433a1cf88e916ec55"
dependencies = [
"ctor",
"version_check",
@@ -12896,9 +12982,9 @@
[[package]]
name = "wasm-bindgen"
-version = "0.2.79"
+version = "0.2.80"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "25f1af7423d8588a3d840681122e72e6a24ddbcb3f0ec385cac0d12d24256c06"
+checksum = "27370197c907c55e3f1a9fbe26f44e937fe6451368324e009cba39e139dc08ad"
dependencies = [
"cfg-if 1.0.0",
"wasm-bindgen-macro",
@@ -12906,9 +12992,9 @@
[[package]]
name = "wasm-bindgen-backend"
-version = "0.2.79"
+version = "0.2.80"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8b21c0df030f5a177f3cba22e9bc4322695ec43e7257d865302900290bcdedca"
+checksum = "53e04185bfa3a779273da532f5025e33398409573f348985af9a1cbf3774d3f4"
dependencies = [
"bumpalo",
"lazy_static",
@@ -12921,9 +13007,9 @@
[[package]]
name = "wasm-bindgen-futures"
-version = "0.4.29"
+version = "0.4.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2eb6ec270a31b1d3c7e266b999739109abce8b6c87e4b31fcfcd788b65267395"
+checksum = "6f741de44b75e14c35df886aff5f1eb73aa114fa5d4d00dcd37b5e01259bf3b2"
dependencies = [
"cfg-if 1.0.0",
"js-sys",
@@ -12933,9 +13019,9 @@
[[package]]
name = "wasm-bindgen-macro"
-version = "0.2.79"
+version = "0.2.80"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2f4203d69e40a52ee523b2529a773d5ffc1dc0071801c87b3d270b471b80ed01"
+checksum = "17cae7ff784d7e83a2fe7611cfe766ecf034111b49deb850a3dc7699c08251f5"
dependencies = [
"quote",
"wasm-bindgen-macro-support",
@@ -12943,9 +13029,9 @@
[[package]]
name = "wasm-bindgen-macro-support"
-version = "0.2.79"
+version = "0.2.80"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bfa8a30d46208db204854cadbb5d4baf5fcf8071ba5bf48190c3e59937962ebc"
+checksum = "99ec0dc7a4756fffc231aab1b9f2f578d23cd391390ab27f952ae0c9b3ece20b"
dependencies = [
"proc-macro2",
"quote",
@@ -12956,9 +13042,9 @@
[[package]]
name = "wasm-bindgen-shared"
-version = "0.2.79"
+version = "0.2.80"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3d958d035c4438e28c70e4321a2911302f10135ce78a9c7834c0cab4123d06a2"
+checksum = "d554b7f530dee5964d9a9468d95c1f8b8acae4f282807e7d27d4b03099a46744"
[[package]]
name = "wasm-gc-api"
@@ -13021,31 +13107,30 @@
[[package]]
name = "wasmparser"
-version = "0.81.0"
+version = "0.83.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "98930446519f63d00a836efdc22f67766ceae8dbcc1571379f2bcabc6b2b9abc"
+checksum = "718ed7c55c2add6548cca3ddd6383d738cd73b892df400e96b9aa876f0141d7a"
[[package]]
name = "wasmtime"
-version = "0.33.1"
+version = "0.35.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4c9c724da92e39a85d2231d4c2a942c8be295211441dbca581c6c3f3f45a9f00"
+checksum = "21ffb4705016d5ca91e18a72ed6822dab50e6d5ddd7045461b17ef19071cdef1"
dependencies = [
"anyhow",
"backtrace",
"bincode",
"cfg-if 1.0.0",
- "cpp_demangle",
"indexmap",
"lazy_static",
"libc",
"log",
- "object",
+ "object 0.27.1",
+ "once_cell",
"paste",
"psm",
"rayon",
"region",
- "rustc-demangle",
"serde",
"target-lexicon",
"wasmparser",
@@ -13059,9 +13144,9 @@
[[package]]
name = "wasmtime-cache"
-version = "0.33.1"
+version = "0.35.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "da4439d99100298344567c0eb6916ad5864e99e54760b8177c427e529077fb30"
+checksum = "85c6ab24291fa7cb3a181f5669f6c72599b7ef781669759b45c7828c5999d0c0"
dependencies = [
"anyhow",
"base64",
@@ -13079,9 +13164,9 @@
[[package]]
name = "wasmtime-cranelift"
-version = "0.33.1"
+version = "0.35.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1762765dd69245f00e5d9783b695039e449a7be0f9c5383e4c78465dd6131aeb"
+checksum = "f04c810078a491b7bc4866ebe045f714d2b95e6b539e1f64009a4a7606be11de"
dependencies = [
"anyhow",
"cranelift-codegen",
@@ -13092,7 +13177,7 @@
"gimli",
"log",
"more-asserts",
- "object",
+ "object 0.27.1",
"target-lexicon",
"thiserror",
"wasmparser",
@@ -13101,9 +13186,9 @@
[[package]]
name = "wasmtime-environ"
-version = "0.33.1"
+version = "0.35.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c4468301d95ec71710bb6261382efe27d1296447711645e3dbabaea6e4de3504"
+checksum = "61448266ea164b1ac406363cdcfac81c7c44db4d94c7a81c8620ac6c5c6cdf59"
dependencies = [
"anyhow",
"cranelift-entity",
@@ -13111,7 +13196,7 @@
"indexmap",
"log",
"more-asserts",
- "object",
+ "object 0.27.1",
"serde",
"target-lexicon",
"thiserror",
@@ -13121,38 +13206,52 @@
[[package]]
name = "wasmtime-jit"
-version = "0.33.1"
+version = "0.35.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ab0ae6e581ff014b470ec35847ea3c0b4c3ace89a55df5a04c802a11f4574e7d"
+checksum = "156b4623c6b0d4b8c24afb846c20525922f538ef464cc024abab7ea8de2109a2"
dependencies = [
"addr2line",
"anyhow",
"bincode",
"cfg-if 1.0.0",
+ "cpp_demangle",
"gimli",
- "object",
+ "log",
+ "object 0.27.1",
"region",
+ "rustc-demangle",
"rustix",
"serde",
"target-lexicon",
"thiserror",
"wasmtime-environ",
+ "wasmtime-jit-debug",
"wasmtime-runtime",
"winapi 0.3.9",
]
[[package]]
+name = "wasmtime-jit-debug"
+version = "0.35.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d5dc31f811760a6c76b2672c404866fd19b75e5fb3b0075a3e377a6846490654"
+dependencies = [
+ "lazy_static",
+ "object 0.27.1",
+ "rustix",
+]
+
+[[package]]
name = "wasmtime-runtime"
-version = "0.33.1"
+version = "0.35.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6d9c28877ae37a367cda7b52b8887589816152e95dde9b7c80cc686f52761961"
+checksum = "f907beaff69d4d920fa4688411ee4cc75c0f01859e424677f9e426e2ef749864"
dependencies = [
"anyhow",
"backtrace",
"cc",
"cfg-if 1.0.0",
"indexmap",
- "lazy_static",
"libc",
"log",
"mach",
@@ -13163,14 +13262,15 @@
"rustix",
"thiserror",
"wasmtime-environ",
+ "wasmtime-jit-debug",
"winapi 0.3.9",
]
[[package]]
name = "wasmtime-types"
-version = "0.33.1"
+version = "0.35.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "395726e8f5dd8c57cb0db445627b842343f7e29ed7489467fdf7953ed9d3cd4f"
+checksum = "514ef0e5fd197b9609dc9eb74beba0c84d5a12b2417cbae55534633329ba4852"
dependencies = [
"cranelift-entity",
"serde",
@@ -13180,9 +13280,9 @@
[[package]]
name = "web-sys"
-version = "0.3.56"
+version = "0.3.57"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c060b319f29dd25724f09a2ba1418f142f539b2be99fbf4d2d5a8f7330afb8eb"
+checksum = "7b17e741662c70c8bd24ac5c5b18de314a2c26c32bf8346ee1e6f53de919c283"
dependencies = [
"js-sys",
"wasm-bindgen",
@@ -13219,9 +13319,9 @@
[[package]]
name = "webpki-roots"
-version = "0.22.2"
+version = "0.22.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "552ceb903e957524388c4d3475725ff2c8b7960922063af6ce53c9a43da07449"
+checksum = "44d8de8415c823c8abd270ad483c6feeac771fad964890779f9a8cb24fbbc1bf"
dependencies = [
"webpki 0.22.0",
]
@@ -13237,8 +13337,8 @@
[[package]]
name = "westend-runtime"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"beefy-primitives",
"bitvec",
@@ -13260,15 +13360,17 @@
"pallet-collective",
"pallet-democracy",
"pallet-election-provider-multi-phase",
+ "pallet-election-provider-support-benchmarking",
"pallet-elections-phragmen",
"pallet-grandpa",
"pallet-identity",
"pallet-im-online",
"pallet-indices",
"pallet-membership",
- "pallet-mmr-primitives",
"pallet-multisig",
"pallet-nicks",
+ "pallet-nomination-pools",
+ "pallet-nomination-pools-benchmarking",
"pallet-offences",
"pallet-offences-benchmarking",
"pallet-preimage",
@@ -13306,6 +13408,7 @@
"sp-core",
"sp-inherents",
"sp-io",
+ "sp-mmr-primitives",
"sp-npos-elections",
"sp-offchain",
"sp-runtime",
@@ -13323,8 +13426,8 @@
[[package]]
name = "westend-runtime-constants"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"frame-support",
"polkadot-primitives",
@@ -13395,9 +13498,9 @@
[[package]]
name = "windows-sys"
-version = "0.34.0"
+version = "0.36.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5acdd78cb4ba54c0045ac14f62d8f94a03d10047904ae2a40afa1e99d8f70825"
+checksum = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2"
dependencies = [
"windows_aarch64_msvc",
"windows_i686_gnu",
@@ -13408,33 +13511,33 @@
[[package]]
name = "windows_aarch64_msvc"
-version = "0.34.0"
+version = "0.36.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "17cffbe740121affb56fad0fc0e421804adf0ae00891205213b5cecd30db881d"
+checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47"
[[package]]
name = "windows_i686_gnu"
-version = "0.34.0"
+version = "0.36.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2564fde759adb79129d9b4f54be42b32c89970c18ebf93124ca8870a498688ed"
+checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6"
[[package]]
name = "windows_i686_msvc"
-version = "0.34.0"
+version = "0.36.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9cd9d32ba70453522332c14d38814bceeb747d80b3958676007acadd7e166956"
+checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024"
[[package]]
name = "windows_x86_64_gnu"
-version = "0.34.0"
+version = "0.36.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cfce6deae227ee8d356d19effc141a509cc503dfd1f850622ec4b0f84428e1f4"
+checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1"
[[package]]
name = "windows_x86_64_msvc"
-version = "0.34.0"
+version = "0.36.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d19538ccc21819d01deaf88d6a17eae6596a12e9aafdbb97916fb49896d89de9"
+checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680"
[[package]]
name = "winreg"
@@ -13477,8 +13580,8 @@
[[package]]
name = "xcm"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"derivative",
"impl-trait-for-tuples",
@@ -13490,8 +13593,8 @@
[[package]]
name = "xcm-builder"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"frame-support",
"frame-system",
@@ -13510,8 +13613,8 @@
[[package]]
name = "xcm-executor"
-version = "0.9.18"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+version = "0.9.20"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -13529,7 +13632,7 @@
[[package]]
name = "xcm-procedural"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
dependencies = [
"Inflector",
"proc-macro2",
@@ -13559,9 +13662,9 @@
[[package]]
name = "zeroize"
-version = "1.5.4"
+version = "1.5.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7eb5728b8afd3f280a869ce1d4c554ffaed35f45c231fc41bfbd0381bef50317"
+checksum = "94693807d016b2f2d2e14420eb3bfcca689311ff775dcf113d74ea624b7cdf07"
dependencies = [
"zeroize_derive",
]
@@ -13580,18 +13683,18 @@
[[package]]
name = "zstd"
-version = "0.9.2+zstd.1.5.1"
+version = "0.10.0+zstd.1.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2390ea1bf6c038c39674f22d95f0564725fc06034a47129179810b2fc58caa54"
+checksum = "3b1365becbe415f3f0fcd024e2f7b45bacfb5bdd055f0dc113571394114e7bdd"
dependencies = [
"zstd-safe",
]
[[package]]
name = "zstd-safe"
-version = "4.1.3+zstd.1.5.1"
+version = "4.1.4+zstd.1.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e99d81b99fb3c2c2c794e3fe56c305c63d5173a16a46b5850b07c935ffc7db79"
+checksum = "2f7cd17c9af1a4d6c24beb1cc54b17e2ef7b593dc92f19e9d9acad8b182bbaee"
dependencies = [
"libc",
"zstd-sys",
@@ -13599,9 +13702,9 @@
[[package]]
name = "zstd-sys"
-version = "1.6.2+zstd.1.5.1"
+version = "1.6.3+zstd.1.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2daf2f248d9ea44454bfcb2516534e8b8ad2fc91bf818a1885495fc42bc8ac9f"
+checksum = "fc49afa5c8d634e75761feda8c592051e7eeb4683ba827211eb0d731d3402ea8"
dependencies = [
"cc",
"libc",
doc/re-enable_ink_contracts.mddiffbeforeafterboth--- a/doc/re-enable_ink_contracts.md
+++ b/doc/re-enable_ink_contracts.md
@@ -3,7 +3,7 @@
Uncomment following lies:
1. In node/rpc/Cargo.toml
```
-# pallet-contracts-rpc = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+# pallet-contracts-rpc = { version = "3.0", git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.9' }
```
2. In node/rpc/src/lib.rs
@@ -24,19 +24,19 @@
# 'pallet-contract-helpers/std',
...
# [dependencies.pallet-contracts]
- # git = 'https://github.com/paritytech/substrate.git'
+ # git = 'https://github.com/paritytech/substrate'
# default-features = false
# branch = 'polkadot-v0.9.9'
# version = '3.0.0'
# [dependencies.pallet-contracts-primitives]
- # git = 'https://github.com/paritytech/substrate.git'
+ # git = 'https://github.com/paritytech/substrate'
# default-features = false
# branch = 'polkadot-v0.9.9'
# version = '3.0.0'
# [dependencies.pallet-contracts-rpc-runtime-api]
- # git = 'https://github.com/paritytech/substrate.git'
+ # git = 'https://github.com/paritytech/substrate'
# default-features = false
# branch = 'polkadot-v0.9.9'
# version = '3.0.0'
@@ -78,4 +78,4 @@
}
*/
-```
\ No newline at end of file
+```
node/cli/Cargo.tomldiffbeforeafterboth--- a/node/cli/Cargo.toml
+++ b/node/cli/Cargo.toml
@@ -23,8 +23,8 @@
branch = "polkadot-v0.9.20"
[dependencies.try-runtime-cli]
-git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.18'
+git = 'https://github.com/paritytech/substrate'
+branch = 'polkadot-v0.9.20'
[dependencies.pallet-transaction-payment-rpc]
git = "https://github.com/paritytech/substrate"
pallets/evm-coder-substrate/src/lib.rsdiffbeforeafterboth--- a/pallets/evm-coder-substrate/src/lib.rs
+++ b/pallets/evm-coder-substrate/src/lib.rs
@@ -26,6 +26,7 @@
use sp_std::cell::RefCell;
use sp_std::vec::Vec;
+use codec::Decode;
use frame_support::pallet_prelude::DispatchError;
use frame_support::traits::PalletInfo;
use frame_support::{ensure, sp_runtime::ModuleError};
@@ -34,8 +35,7 @@
ExitError, ExitRevert, ExitSucceed, GasWeightMapping, PrecompileFailure, PrecompileOutput,
PrecompileResult, runner::stack::MaybeMirroredLog,
};
-use ethereum::TransactionV2;
-use sp_core::{H160, H256};
+use sp_core::H160;
use pallet_ethereum::EthereumTransactionSender;
// #[cfg(feature = "runtime-benchmarks")]
// pub mod benchmarking;
@@ -90,21 +90,6 @@
// From instabul hardfork configuration: https://github.com/rust-blockchain/evm/blob/fd4fd6acc0ca3208d6770fdb3ba407c94cdf97c6/runtime/src/lib.rs#L284
pub const G_SLOAD_WORD: u64 = 800;
pub const G_SSTORE_WORD: u64 = 20000;
-
-pub fn generate_transaction() -> TransactionV2 {
- use ethereum::{TransactionV0, TransactionAction, TransactionSignature};
- TransactionV2::Legacy(TransactionV0 {
- nonce: 0.into(),
- gas_price: 0.into(),
- gas_limit: 0.into(),
- action: TransactionAction::Call(H160([0; 20])),
- value: 0.into(),
- // zero selector, this transaction always has same sender, so all data should be acquired from logs
- input: Vec::from([0, 0, 0, 0]),
- // if v is not 27 - then we need to pass some other validity checks
- signature: TransactionSignature::new(27, H256([0x88; 32]), H256([0x88; 32])).unwrap(),
- })
-}
pub struct GasCallsBudget<'r, T: Config> {
recorder: &'r SubstrateRecorder<T>,
@@ -247,11 +232,7 @@
if logs.is_empty() {
return;
}
- T::EthereumTransactionSender::submit_logs_transaction(
- Default::default(),
- generate_transaction(),
- logs,
- )
+ T::EthereumTransactionSender::submit_logs_transaction(Default::default(), logs)
}
}
@@ -264,9 +245,10 @@
.expect("evm-coder-substrate is a pallet, which should be added to runtime")
as u8 =>
{
- match error {
- v if v == Error::<T>::OutOfGas.as_u8() => ExError::Error(ExitError::OutOfGas),
- v if v == Error::<T>::OutOfFund.as_u8() => ExError::Error(ExitError::OutOfFund),
+ let mut read = &error as &[u8];
+ match Error::<T>::decode(&mut read) {
+ Ok(Error::<T>::OutOfGas) => ExError::Error(ExitError::OutOfGas),
+ Ok(Error::<T>::OutOfFund) => ExError::Error(ExitError::OutOfFund),
_ => unreachable!("this pallet only defines two possible errors"),
}
}
@@ -274,7 +256,7 @@
message: Some(msg), ..
}) => ExError::Revert(msg.into()),
DispatchError::Module(ModuleError { index, error, .. }) => {
- ExError::Revert(format!("error {} in pallet {}", error, index))
+ ExError::Revert(format!("error {:?} in pallet {}", error, index))
}
e => ExError::Revert(format!("substrate error: {:?}", e)),
}
pallets/evm-transaction-payment/src/lib.rsdiffbeforeafterboth--- a/pallets/evm-transaction-payment/src/lib.rs
+++ b/pallets/evm-transaction-payment/src/lib.rs
@@ -18,7 +18,7 @@
use core::marker::PhantomData;
use fp_evm::WithdrawReason;
-use frame_support::traits::{Currency, IsSubType};
+use frame_support::traits::IsSubType;
pub use pallet::*;
use pallet_evm::{EnsureAddressOrigin, account::CrossAccountId};
use sp_core::H160;
pallets/structure/Cargo.tomldiffbeforeafterboth--- a/pallets/structure/Cargo.toml
+++ b/pallets/structure/Cargo.toml
@@ -4,10 +4,10 @@
edition = "2021"
[dependencies]
-frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
-frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
-frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
-sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
+frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.20' }
+frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.20' }
+frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.20' }
+sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.20' }
pallet-common = { path = "../common", default-features = false }
parity-scale-codec = { version = "3.1.2", default-features = false, features = [
"derive",
pallets/unique/Cargo.tomldiffbeforeafterboth--- a/pallets/unique/Cargo.toml
+++ b/pallets/unique/Cargo.toml
@@ -83,5 +83,5 @@
scale-info = { version = "2.0.1", default-features = false, features = [
"derive",
] }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
pallet-common = { default-features = false, path = "../common" }
pallets/unique/src/lib.rsdiffbeforeafterboth1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.2// This file is part of Unique Network.34// Unique Network is free software: you can redistribute it and/or modify5// it under the terms of the GNU General Public License as published by6// the Free Software Foundation, either version 3 of the License, or7// (at your option) any later version.89// Unique Network is distributed in the hope that it will be useful,10// but WITHOUT ANY WARRANTY; without even the implied warranty of11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the12// GNU General Public License for more details.1314// You should have received a copy of the GNU General Public License15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.1617#![recursion_limit = "1024"]18#![cfg_attr(not(feature = "std"), no_std)]19#![allow(20 clippy::too_many_arguments,21 clippy::unnecessary_mut_passed,22 clippy::unused_unit23)]2425use frame_support::{26 decl_module, decl_storage, decl_error, decl_event,27 dispatch::DispatchResult,28 ensure,29 weights::{Weight},30 transactional,31 pallet_prelude::{DispatchResultWithPostInfo, ConstU32},32 BoundedVec,33};34use scale_info::TypeInfo;35use frame_system::{self as system, ensure_signed};36use sp_runtime::{sp_std::prelude::Vec};37use up_data_structs::{38 VARIABLE_ON_CHAIN_SCHEMA_LIMIT, CONST_ON_CHAIN_SCHEMA_LIMIT, OFFCHAIN_SCHEMA_LIMIT,39 MAX_COLLECTION_NAME_LENGTH, MAX_COLLECTION_DESCRIPTION_LENGTH, MAX_TOKEN_PREFIX_LENGTH,40 AccessMode, CreateItemData, CollectionLimits, CollectionId, CollectionMode, TokenId,41 SchemaVersion, SponsorshipState, MetaUpdatePermission, CreateCollectionData, CustomDataLimit,42 CreateItemExData, budget, CollectionField,43};44use pallet_evm::account::CrossAccountId;45use pallet_common::{46 CollectionHandle, Pallet as PalletCommon, Error as CommonError, CommonWeightInfo,47 dispatch::dispatch_call, dispatch::CollectionDispatch,48};4950#[cfg(feature = "runtime-benchmarks")]51mod benchmarking;52pub mod weights;53use weights::WeightInfo;5455pub trait SponsorshipPredict<T: Config> {56 fn predict(collection: CollectionId, account: T::CrossAccountId, token: TokenId) -> Option<u64>57 where58 u64: From<<T as frame_system::Config>::BlockNumber>;59}6061decl_error! {62 /// Error for non-fungible-token module.63 pub enum Error for Module<T: Config> {64 /// Decimal_points parameter must be lower than MAX_DECIMAL_POINTS constant, currently it is 30.65 CollectionDecimalPointLimitExceeded,66 /// This address is not set as sponsor, use setCollectionSponsor first.67 ConfirmUnsetSponsorFail,68 /// Length of items properties must be greater than 0.69 EmptyArgument,70 }71}7273pub trait Config: system::Config + pallet_common::Config + Sized + TypeInfo {74 type Event: From<Event<Self>> + Into<<Self as frame_system::Config>::Event>;7576 /// Weight information for extrinsics in this pallet.77 type WeightInfo: WeightInfo;78 type CommonWeightInfo: CommonWeightInfo<Self::CrossAccountId>;79}8081decl_event! {82 pub enum Event<T>83 where84 <T as frame_system::Config>::AccountId,85 <T as pallet_evm::account::Config>::CrossAccountId,86 {87 /// Collection sponsor was removed88 ///89 /// # Arguments90 ///91 /// * collection_id: Globally unique collection identifier.92 CollectionSponsorRemoved(CollectionId),9394 /// Collection admin was added95 ///96 /// # Arguments97 ///98 /// * collection_id: Globally unique collection identifier.99 ///100 /// * admin: Admin address.101 CollectionAdminAdded(CollectionId, CrossAccountId),102103 /// Collection owned was change104 ///105 /// # Arguments106 ///107 /// * collection_id: Globally unique collection identifier.108 ///109 /// * owner: New owner address.110 CollectionOwnedChanged(CollectionId, AccountId),111112 /// Collection sponsor was set113 ///114 /// # Arguments115 ///116 /// * collection_id: Globally unique collection identifier.117 ///118 /// * owner: New sponsor address.119 CollectionSponsorSet(CollectionId, AccountId),120121 /// const on chain schema was set122 ///123 /// # Arguments124 ///125 /// * collection_id: Globally unique collection identifier.126 ConstOnChainSchemaSet(CollectionId),127128 /// New sponsor was confirm129 ///130 /// # Arguments131 ///132 /// * collection_id: Globally unique collection identifier.133 ///134 /// * sponsor: New sponsor address.135 SponsorshipConfirmed(CollectionId, AccountId),136137 /// Collection admin was removed138 ///139 /// # Arguments140 ///141 /// * collection_id: Globally unique collection identifier.142 ///143 /// * admin: Admin address.144 CollectionAdminRemoved(CollectionId, CrossAccountId),145146 /// Address was remove from allow list147 ///148 /// # Arguments149 ///150 /// * collection_id: Globally unique collection identifier.151 ///152 /// * user: Address.153 AllowListAddressRemoved(CollectionId, CrossAccountId),154155 /// Address was add to allow list156 ///157 /// # Arguments158 ///159 /// * collection_id: Globally unique collection identifier.160 ///161 /// * user: Address.162 AllowListAddressAdded(CollectionId, CrossAccountId),163164 /// Collection limits was set165 ///166 /// # Arguments167 ///168 /// * collection_id: Globally unique collection identifier.169 CollectionLimitSet(CollectionId),170171 /// Mint permission was set172 ///173 /// # Arguments174 ///175 /// * collection_id: Globally unique collection identifier.176 MintPermissionSet(CollectionId),177178 /// Offchain schema was set179 ///180 /// # Arguments181 ///182 /// * collection_id: Globally unique collection identifier.183 OffchainSchemaSet(CollectionId),184185 /// Public access mode was set186 ///187 /// # Arguments188 ///189 /// * collection_id: Globally unique collection identifier.190 ///191 /// * mode: New access state.192 PublicAccessModeSet(CollectionId, AccessMode),193194 /// Schema version was set195 ///196 /// # Arguments197 ///198 /// * collection_id: Globally unique collection identifier.199 SchemaVersionSet(CollectionId),200201 /// Variable on chain schema was set202 ///203 /// # Arguments204 ///205 /// * collection_id: Globally unique collection identifier.206 VariableOnChainSchemaSet(CollectionId),207 }208}209210type SelfWeightOf<T> = <T as Config>::WeightInfo;211212// # Used definitions213//214// ## User control levels215//216// chain-controlled - key is uncontrolled by user217// i.e autoincrementing index218// can use non-cryptographic hash219// real - key is controlled by user220// but it is hard to generate enough colliding values, i.e owner of signed txs221// can use non-cryptographic hash222// controlled - key is completly controlled by users223// i.e maps with mutable keys224// should use cryptographic hash225//226// ## User control level downgrade reasons227//228// ?1 - chain-controlled -> controlled229// collections/tokens can be destroyed, resulting in massive holes230// ?2 - chain-controlled -> controlled231// same as ?1, but can be only added, resulting in easier exploitation232// ?3 - real -> controlled233// no confirmation required, so addresses can be easily generated234decl_storage! {235 trait Store for Module<T: Config> as Unique {236237 //#region Private members238 /// Used for migrations239 ChainVersion: u64;240 //#endregion241242 //#region Tokens transfer rate limit baskets243 /// (Collection id (controlled?2), who created (real))244 /// TODO: Off chain worker should remove from this map when collection gets removed245 pub CreateItemBasket get(fn create_item_basket): map hasher(blake2_128_concat) (CollectionId, T::AccountId) => Option<T::BlockNumber>;246 /// Collection id (controlled?2), token id (controlled?2)247 pub NftTransferBasket get(fn nft_transfer_basket): double_map hasher(blake2_128_concat) CollectionId, hasher(blake2_128_concat) TokenId => Option<T::BlockNumber>;248 /// Collection id (controlled?2), owning user (real)249 pub FungibleTransferBasket get(fn fungible_transfer_basket): double_map hasher(blake2_128_concat) CollectionId, hasher(twox_64_concat) T::AccountId => Option<T::BlockNumber>;250 /// Collection id (controlled?2), token id (controlled?2)251 pub ReFungibleTransferBasket get(fn refungible_transfer_basket): nmap hasher(blake2_128_concat) CollectionId, hasher(blake2_128_concat) TokenId, hasher(twox_64_concat) T::AccountId => Option<T::BlockNumber>;252 //#endregion253254 /// Variable metadata sponsoring255 /// Collection id (controlled?2), token id (controlled?2)256 pub VariableMetaDataBasket get(fn variable_meta_data_basket): double_map hasher(blake2_128_concat) CollectionId, hasher(blake2_128_concat) TokenId => Option<T::BlockNumber>;257 /// Approval sponsoring258 pub NftApproveBasket get(fn nft_approve_basket): double_map hasher(blake2_128_concat) CollectionId, hasher(blake2_128_concat) TokenId => Option<T::BlockNumber>;259 pub FungibleApproveBasket get(fn fungible_approve_basket): double_map hasher(blake2_128_concat) CollectionId, hasher(twox_64_concat) T::AccountId => Option<T::BlockNumber>;260 pub RefungibleApproveBasket get(fn refungible_approve_basket): nmap hasher(blake2_128_concat) CollectionId, hasher(blake2_128_concat) TokenId, hasher(twox_64_concat) T::AccountId => Option<T::BlockNumber>;261 }262}263264decl_module! {265 pub struct Module<T: Config> for enum Call266 where267 origin: T::Origin268 {269 type Error = Error<T>;270271 fn deposit_event() = default;272273 fn on_initialize(_now: T::BlockNumber) -> Weight {274 0275 }276277 /// This method creates a Collection of NFTs. Each Token may have multiple properties encoded as an array of bytes of certain length. The initial owner of the collection is set to the address that signed the transaction and can be changed later.278 ///279 /// # Permissions280 ///281 /// * Anyone.282 ///283 /// # Arguments284 ///285 /// * collection_name: UTF-16 string with collection name (limit 64 characters), will be stored as zero-terminated.286 ///287 /// * collection_description: UTF-16 string with collection description (limit 256 characters), will be stored as zero-terminated.288 ///289 /// * token_prefix: UTF-8 string with token prefix.290 ///291 /// * mode: [CollectionMode] collection type and type dependent data.292 // returns collection ID293 #[weight = <SelfWeightOf<T>>::create_collection()]294 #[transactional]295 #[deprecated]296 pub fn create_collection(origin,297 collection_name: BoundedVec<u16, ConstU32<MAX_COLLECTION_NAME_LENGTH>>,298 collection_description: BoundedVec<u16, ConstU32<MAX_COLLECTION_DESCRIPTION_LENGTH>>,299 token_prefix: BoundedVec<u8, ConstU32<MAX_TOKEN_PREFIX_LENGTH>>,300 mode: CollectionMode) -> DispatchResult {301 let data: CreateCollectionData<T::AccountId> = CreateCollectionData {302 name: collection_name,303 description: collection_description,304 token_prefix,305 mode,306 ..Default::default()307 };308 Self::create_collection_ex(origin, data)309 }310311 /// This method creates a collection312 ///313 /// Prefer it to deprecated [`created_collection`] method314 #[weight = <SelfWeightOf<T>>::create_collection()]315 #[transactional]316 pub fn create_collection_ex(origin, data: CreateCollectionData<T::AccountId>) -> DispatchResult {317 let sender = ensure_signed(origin)?;318319 // =========320321 T::CollectionDispatch::create(sender, data)?;322323 Ok(())324 }325326 /// **DANGEROUS**: Destroys collection and all NFTs within this collection. Users irrecoverably lose their assets and may lose real money.327 ///328 /// # Permissions329 ///330 /// * Collection Owner.331 ///332 /// # Arguments333 ///334 /// * collection_id: collection to destroy.335 #[weight = <SelfWeightOf<T>>::destroy_collection()]336 #[transactional]337 pub fn destroy_collection(origin, collection_id: CollectionId) -> DispatchResult {338 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);339 let collection = <CollectionHandle<T>>::try_get(collection_id)?;340341 // =========342343 T::CollectionDispatch::destroy(sender, collection)?;344345 <NftTransferBasket<T>>::remove_prefix(collection_id, None);346 <FungibleTransferBasket<T>>::remove_prefix(collection_id, None);347 <ReFungibleTransferBasket<T>>::remove_prefix((collection_id,), None);348349 <VariableMetaDataBasket<T>>::remove_prefix(collection_id, None);350 <NftApproveBasket<T>>::remove_prefix(collection_id, None);351 <FungibleApproveBasket<T>>::remove_prefix(collection_id, None);352 <RefungibleApproveBasket<T>>::remove_prefix((collection_id,), None);353354 Ok(())355 }356357 /// Add an address to allow list.358 ///359 /// # Permissions360 ///361 /// * Collection Owner362 /// * Collection Admin363 ///364 /// # Arguments365 ///366 /// * collection_id.367 ///368 /// * address.369 #[weight = <SelfWeightOf<T>>::add_to_allow_list()]370 #[transactional]371 pub fn add_to_allow_list(origin, collection_id: CollectionId, address: T::CrossAccountId) -> DispatchResult{372373 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);374 let collection = <CollectionHandle<T>>::try_get(collection_id)?;375376 <PalletCommon<T>>::toggle_allowlist(377 &collection,378 &sender,379 &address,380 true,381 )?;382383 Self::deposit_event(Event::<T>::AllowListAddressAdded(384 collection_id,385 address386 ));387388 Ok(())389 }390391 /// Remove an address from allow list.392 ///393 /// # Permissions394 ///395 /// * Collection Owner396 /// * Collection Admin397 ///398 /// # Arguments399 ///400 /// * collection_id.401 ///402 /// * address.403 #[weight = <SelfWeightOf<T>>::remove_from_allow_list()]404 #[transactional]405 pub fn remove_from_allow_list(origin, collection_id: CollectionId, address: T::CrossAccountId) -> DispatchResult{406407 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);408 let collection = <CollectionHandle<T>>::try_get(collection_id)?;409410 <PalletCommon<T>>::toggle_allowlist(411 &collection,412 &sender,413 &address,414 false,415 )?;416417 <Pallet<T>>::deposit_event(Event::<T>::AllowListAddressRemoved(418 collection_id,419 address420 ));421422 Ok(())423 }424425 /// Toggle between normal and allow list access for the methods with access for `Anyone`.426 ///427 /// # Permissions428 ///429 /// * Collection Owner.430 ///431 /// # Arguments432 ///433 /// * collection_id.434 ///435 /// * mode: [AccessMode]436 #[weight = <SelfWeightOf<T>>::set_public_access_mode()]437 #[transactional]438 pub fn set_public_access_mode(origin, collection_id: CollectionId, mode: AccessMode) -> DispatchResult439 {440 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);441442 let mut target_collection = <CollectionHandle<T>>::try_get(collection_id)?;443 target_collection.check_is_owner(&sender)?;444445 target_collection.access = mode.clone();446447 <Pallet<T>>::deposit_event(Event::<T>::PublicAccessModeSet(448 collection_id,449 mode450 ));451452 target_collection.save()453 }454455 /// Allows Anyone to create tokens if:456 /// * Allow List is enabled, and457 /// * Address is added to allow list, and458 /// * This method was called with True parameter459 ///460 /// # Permissions461 /// * Collection Owner462 ///463 /// # Arguments464 ///465 /// * collection_id.466 ///467 /// * mint_permission: Boolean parameter. If True, allows minting to Anyone with conditions above.468 #[weight = <SelfWeightOf<T>>::set_mint_permission()]469 #[transactional]470 pub fn set_mint_permission(origin, collection_id: CollectionId, mint_permission: bool) -> DispatchResult471 {472 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);473474 let mut target_collection = <CollectionHandle<T>>::try_get(collection_id)?;475 target_collection.check_is_owner(&sender)?;476477 target_collection.mint_mode = mint_permission;478479 <Pallet<T>>::deposit_event(Event::<T>::MintPermissionSet(480 collection_id481 ));482483 target_collection.save()484 }485486 /// Change the owner of the collection.487 ///488 /// # Permissions489 ///490 /// * Collection Owner.491 ///492 /// # Arguments493 ///494 /// * collection_id.495 ///496 /// * new_owner.497 #[weight = <SelfWeightOf<T>>::change_collection_owner()]498 #[transactional]499 pub fn change_collection_owner(origin, collection_id: CollectionId, new_owner: T::AccountId) -> DispatchResult {500501 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);502503 let mut target_collection = <CollectionHandle<T>>::try_get(collection_id)?;504 target_collection.check_is_owner(&sender)?;505506 target_collection.owner = new_owner.clone();507 <Pallet<T>>::deposit_event(Event::<T>::CollectionOwnedChanged(508 collection_id,509 new_owner510 ));511512 target_collection.save()513 }514515 /// Adds an admin of the Collection.516 /// NFT Collection can be controlled by multiple admin addresses (some which can also be servers, for example). Admins can issue and burn NFTs, as well as add and remove other admins, but cannot change NFT or Collection ownership.517 ///518 /// # Permissions519 ///520 /// * Collection Owner.521 /// * Collection Admin.522 ///523 /// # Arguments524 ///525 /// * collection_id: ID of the Collection to add admin for.526 ///527 /// * new_admin_id: Address of new admin to add.528 #[weight = <SelfWeightOf<T>>::add_collection_admin()]529 #[transactional]530 pub fn add_collection_admin(origin, collection_id: CollectionId, new_admin_id: T::CrossAccountId) -> DispatchResult {531 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);532 let collection = <CollectionHandle<T>>::try_get(collection_id)?;533534 <Pallet<T>>::deposit_event(Event::<T>::CollectionAdminAdded(535 collection_id,536 new_admin_id.clone()537 ));538539 <PalletCommon<T>>::toggle_admin(&collection, &sender, &new_admin_id, true)540 }541542 /// Remove admin address of the Collection. An admin address can remove itself. List of admins may become empty, in which case only Collection Owner will be able to add an Admin.543 ///544 /// # Permissions545 ///546 /// * Collection Owner.547 /// * Collection Admin.548 ///549 /// # Arguments550 ///551 /// * collection_id: ID of the Collection to remove admin for.552 ///553 /// * account_id: Address of admin to remove.554 #[weight = <SelfWeightOf<T>>::remove_collection_admin()]555 #[transactional]556 pub fn remove_collection_admin(origin, collection_id: CollectionId, account_id: T::CrossAccountId) -> DispatchResult {557 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);558 let collection = <CollectionHandle<T>>::try_get(collection_id)?;559560 <Pallet<T>>::deposit_event(Event::<T>::CollectionAdminRemoved(561 collection_id,562 account_id.clone()563 ));564565 <PalletCommon<T>>::toggle_admin(&collection, &sender, &account_id, false)566 }567568 /// # Permissions569 ///570 /// * Collection Owner571 ///572 /// # Arguments573 ///574 /// * collection_id.575 ///576 /// * new_sponsor.577 #[weight = <SelfWeightOf<T>>::set_collection_sponsor()]578 #[transactional]579 pub fn set_collection_sponsor(origin, collection_id: CollectionId, new_sponsor: T::AccountId) -> DispatchResult {580 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);581582 let mut target_collection = <CollectionHandle<T>>::try_get(collection_id)?;583 target_collection.check_is_owner(&sender)?;584585 target_collection.sponsorship = SponsorshipState::Unconfirmed(new_sponsor.clone());586587 <Pallet<T>>::deposit_event(Event::<T>::CollectionSponsorSet(588 collection_id,589 new_sponsor590 ));591592 target_collection.save()593 }594595 /// # Permissions596 ///597 /// * Sponsor.598 ///599 /// # Arguments600 ///601 /// * collection_id.602 #[weight = <SelfWeightOf<T>>::confirm_sponsorship()]603 #[transactional]604 pub fn confirm_sponsorship(origin, collection_id: CollectionId) -> DispatchResult {605 let sender = ensure_signed(origin)?;606607 let mut target_collection = <CollectionHandle<T>>::try_get(collection_id)?;608 ensure!(609 target_collection.sponsorship.pending_sponsor() == Some(&sender),610 Error::<T>::ConfirmUnsetSponsorFail611 );612613 target_collection.sponsorship = SponsorshipState::Confirmed(sender.clone());614615 <Pallet<T>>::deposit_event(Event::<T>::SponsorshipConfirmed(616 collection_id,617 sender618 ));619620 target_collection.save()621 }622623 /// Switch back to pay-per-own-transaction model.624 ///625 /// # Permissions626 ///627 /// * Collection owner.628 ///629 /// # Arguments630 ///631 /// * collection_id.632 #[weight = <SelfWeightOf<T>>::remove_collection_sponsor()]633 #[transactional]634 pub fn remove_collection_sponsor(origin, collection_id: CollectionId) -> DispatchResult {635 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);636637 let mut target_collection = <CollectionHandle<T>>::try_get(collection_id)?;638 target_collection.check_is_owner(&sender)?;639640 target_collection.sponsorship = SponsorshipState::Disabled;641642 <Pallet<T>>::deposit_event(Event::<T>::CollectionSponsorRemoved(643 collection_id644 ));645 target_collection.save()646 }647648 /// This method creates a concrete instance of NFT Collection created with CreateCollection method.649 ///650 /// # Permissions651 ///652 /// * Collection Owner.653 /// * Collection Admin.654 /// * Anyone if655 /// * Allow List is enabled, and656 /// * Address is added to allow list, and657 /// * MintPermission is enabled (see SetMintPermission method)658 ///659 /// # Arguments660 ///661 /// * collection_id: ID of the collection.662 ///663 /// * owner: Address, initial owner of the NFT.664 ///665 /// * data: Token data to store on chain.666 #[weight = T::CommonWeightInfo::create_item()]667 #[transactional]668 pub fn create_item(origin, collection_id: CollectionId, owner: T::CrossAccountId, data: CreateItemData) -> DispatchResultWithPostInfo {669 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);670 let budget = budget::Value::new(2);671672 dispatch_call::<T, _>(collection_id, |d| d.create_item(sender, owner, data, &budget))673 }674675 /// This method creates multiple items in a collection created with CreateCollection method.676 ///677 /// # Permissions678 ///679 /// * Collection Owner.680 /// * Collection Admin.681 /// * Anyone if682 /// * Allow List is enabled, and683 /// * Address is added to allow list, and684 /// * MintPermission is enabled (see SetMintPermission method)685 ///686 /// # Arguments687 ///688 /// * collection_id: ID of the collection.689 ///690 /// * itemsData: Array items properties. Each property is an array of bytes itself, see [create_item].691 ///692 /// * owner: Address, initial owner of the NFT.693 #[weight = T::CommonWeightInfo::create_multiple_items(items_data.len() as u32)]694 #[transactional]695 pub fn create_multiple_items(origin, collection_id: CollectionId, owner: T::CrossAccountId, items_data: Vec<CreateItemData>) -> DispatchResultWithPostInfo {696 ensure!(!items_data.is_empty(), Error::<T>::EmptyArgument);697 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);698 let budget = budget::Value::new(2);699700 dispatch_call::<T, _>(collection_id, |d| d.create_multiple_items(sender, owner, items_data, &budget))701 }702703 #[weight = T::CommonWeightInfo::create_multiple_items_ex(&data)]704 #[transactional]705 pub fn create_multiple_items_ex(origin, collection_id: CollectionId, data: CreateItemExData<T::CrossAccountId>) -> DispatchResultWithPostInfo {706 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);707 let budget = budget::Value::new(2);708709 dispatch_call::<T, _>(collection_id, |d| d.create_multiple_items_ex(sender, data, &budget))710 }711712 // TODO! transaction weight713714 /// Set transfers_enabled value for particular collection715 ///716 /// # Permissions717 ///718 /// * Collection Owner.719 ///720 /// # Arguments721 ///722 /// * collection_id: ID of the collection.723 ///724 /// * value: New flag value.725 #[weight = <SelfWeightOf<T>>::set_transfers_enabled_flag()]726 #[transactional]727 pub fn set_transfers_enabled_flag(origin, collection_id: CollectionId, value: bool) -> DispatchResult {728 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);729 let mut target_collection = <CollectionHandle<T>>::try_get(collection_id)?;730 target_collection.check_is_owner(&sender)?;731732 // =========733734 target_collection.limits.transfers_enabled = Some(value);735 target_collection.save()736 }737738 /// Destroys a concrete instance of NFT.739 ///740 /// # Permissions741 ///742 /// * Collection Owner.743 /// * Collection Admin.744 /// * Current NFT Owner.745 ///746 /// # Arguments747 ///748 /// * collection_id: ID of the collection.749 ///750 /// * item_id: ID of NFT to burn.751 #[weight = T::CommonWeightInfo::burn_item()]752 #[transactional]753 pub fn burn_item(origin, collection_id: CollectionId, item_id: TokenId, value: u128) -> DispatchResultWithPostInfo {754 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);755756 let post_info = dispatch_call::<T, _>(collection_id, |d| d.burn_item(sender, item_id, value))?;757 if value == 1 {758 <NftTransferBasket<T>>::remove(collection_id, item_id);759 <NftApproveBasket<T>>::remove(collection_id, item_id);760 }761 // Those maps should be cleared only if token disappears completly, need to move this part of logic to pallets?762 // <FungibleApproveBasket<T>>::remove(collection_id, sender.as_sub());763 // <RefungibleApproveBasket<T>>::remove((collection_id, item_id, sender.as_sub()));764 Ok(post_info)765 }766767 /// Destroys a concrete instance of NFT on behalf of the owner768 /// See also: [`approve`]769 ///770 /// # Permissions771 ///772 /// * Collection Owner.773 /// * Collection Admin.774 /// * Current NFT Owner.775 ///776 /// # Arguments777 ///778 /// * collection_id: ID of the collection.779 ///780 /// * item_id: ID of NFT to burn.781 ///782 /// * from: owner of item783 #[weight = T::CommonWeightInfo::burn_from()]784 #[transactional]785 pub fn burn_from(origin, collection_id: CollectionId, from: T::CrossAccountId, item_id: TokenId, value: u128) -> DispatchResultWithPostInfo {786 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);787 let budget = budget::Value::new(2);788789 dispatch_call::<T, _>(collection_id, |d| d.burn_from(sender, from, item_id, value, &budget))790 }791792 /// Change ownership of the token.793 ///794 /// # Permissions795 ///796 /// * Collection Owner797 /// * Collection Admin798 /// * Current NFT owner799 ///800 /// # Arguments801 ///802 /// * recipient: Address of token recipient.803 ///804 /// * collection_id.805 ///806 /// * item_id: ID of the item807 /// * Non-Fungible Mode: Required.808 /// * Fungible Mode: Ignored.809 /// * Re-Fungible Mode: Required.810 ///811 /// * value: Amount to transfer.812 /// * Non-Fungible Mode: Ignored813 /// * Fungible Mode: Must specify transferred amount814 /// * Re-Fungible Mode: Must specify transferred portion (between 0 and 1)815 #[weight = T::CommonWeightInfo::transfer()]816 #[transactional]817 pub fn transfer(origin, recipient: T::CrossAccountId, collection_id: CollectionId, item_id: TokenId, value: u128) -> DispatchResultWithPostInfo {818 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);819 let budget = budget::Value::new(2);820821 dispatch_call::<T, _>(collection_id, |d| d.transfer(sender, recipient, item_id, value, &budget))822 }823824 /// Set, change, or remove approved address to transfer the ownership of the NFT.825 ///826 /// # Permissions827 ///828 /// * Collection Owner829 /// * Collection Admin830 /// * Current NFT owner831 ///832 /// # Arguments833 ///834 /// * approved: Address that is approved to transfer this NFT or zero (if needed to remove approval).835 ///836 /// * collection_id.837 ///838 /// * item_id: ID of the item.839 #[weight = T::CommonWeightInfo::approve()]840 #[transactional]841 pub fn approve(origin, spender: T::CrossAccountId, collection_id: CollectionId, item_id: TokenId, amount: u128) -> DispatchResultWithPostInfo {842 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);843844 dispatch_call::<T, _>(collection_id, |d| d.approve(sender, spender, item_id, amount))845 }846847 /// Change ownership of a NFT on behalf of the owner. See Approve method for additional information. After this method executes, the approval is removed so that the approved address will not be able to transfer this NFT again from this owner.848 ///849 /// # Permissions850 /// * Collection Owner851 /// * Collection Admin852 /// * Current NFT owner853 /// * Address approved by current NFT owner854 ///855 /// # Arguments856 ///857 /// * from: Address that owns token.858 ///859 /// * recipient: Address of token recipient.860 ///861 /// * collection_id.862 ///863 /// * item_id: ID of the item.864 ///865 /// * value: Amount to transfer.866 #[weight = T::CommonWeightInfo::transfer_from()]867 #[transactional]868 pub fn transfer_from(origin, from: T::CrossAccountId, recipient: T::CrossAccountId, collection_id: CollectionId, item_id: TokenId, value: u128 ) -> DispatchResultWithPostInfo {869 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);870 let budget = budget::Value::new(2);871872 dispatch_call::<T, _>(collection_id, |d| d.transfer_from(sender, from, recipient, item_id, value, &budget))873 }874875 /// Set off-chain data schema.876 ///877 /// # Permissions878 ///879 /// * Collection Owner880 /// * Collection Admin881 ///882 /// # Arguments883 ///884 /// * collection_id.885 ///886 /// * schema: String representing the offchain data schema.887 #[weight = T::CommonWeightInfo::set_variable_metadata(data.len() as u32)]888 #[transactional]889 pub fn set_variable_meta_data (890 origin,891 collection_id: CollectionId,892 item_id: TokenId,893 data: BoundedVec<u8, CustomDataLimit>,894 ) -> DispatchResultWithPostInfo {895 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);896897 dispatch_call::<T, _>(collection_id, |d| d.set_variable_metadata(sender, item_id, data))898 }899900 /// Set meta_update_permission value for particular collection901 ///902 /// # Permissions903 ///904 /// * Collection Owner.905 ///906 /// # Arguments907 ///908 /// * collection_id: ID of the collection.909 ///910 /// * value: New flag value.911 #[weight = <SelfWeightOf<T>>::set_meta_update_permission_flag()]912 #[transactional]913 pub fn set_meta_update_permission_flag(origin, collection_id: CollectionId, value: MetaUpdatePermission) -> DispatchResult {914 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);915 let mut target_collection = <CollectionHandle<T>>::try_get(collection_id)?;916917 ensure!(918 target_collection.meta_update_permission != MetaUpdatePermission::None,919 <CommonError<T>>::MetadataFlagFrozen,920 );921 target_collection.check_is_owner(&sender)?;922923 target_collection.meta_update_permission = value;924925 target_collection.save()926 }927928 /// Set schema standard929 /// ImageURL930 /// Unique931 ///932 /// # Permissions933 ///934 /// * Collection Owner935 /// * Collection Admin936 ///937 /// # Arguments938 ///939 /// * collection_id.940 ///941 /// * schema: SchemaVersion: enum942 #[weight = <SelfWeightOf<T>>::set_schema_version()]943 #[transactional]944 pub fn set_schema_version(945 origin,946 collection_id: CollectionId,947 version: SchemaVersion948 ) -> DispatchResult {949 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);950 let mut target_collection = <CollectionHandle<T>>::try_get(collection_id)?;951 target_collection.check_is_owner_or_admin(&sender)?;952 target_collection.schema_version = version;953954 <Pallet<T>>::deposit_event(Event::<T>::SchemaVersionSet(955 collection_id956 ));957958 target_collection.save()959 }960961 /// Set off-chain data schema.962 ///963 /// # Permissions964 ///965 /// * Collection Owner966 /// * Collection Admin967 ///968 /// # Arguments969 ///970 /// * collection_id.971 ///972 /// * schema: String representing the offchain data schema.973 #[weight = <SelfWeightOf<T>>::set_offchain_schema(schema.len() as u32)]974 #[transactional]975 pub fn set_offchain_schema(976 origin,977 collection_id: CollectionId,978 schema: BoundedVec<u8, ConstU32<OFFCHAIN_SCHEMA_LIMIT>>,979 ) -> DispatchResult {980 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);981 let collection = <CollectionHandle<T>>::try_get(collection_id)?;982983 // =========984985 <PalletCommon<T>>::set_field(&collection, &sender, CollectionField::OffchainSchema, schema.into_inner())?;986987 <Pallet<T>>::deposit_event(Event::<T>::OffchainSchemaSet(988 collection_id989 ));990 Ok(())991 }992993 /// Set const on-chain data schema.994 ///995 /// # Permissions996 ///997 /// * Collection Owner998 /// * Collection Admin999 ///1000 /// # Arguments1001 ///1002 /// * collection_id.1003 ///1004 /// * schema: String representing the const on-chain data schema.1005 #[weight = <SelfWeightOf<T>>::set_const_on_chain_schema(schema.len() as u32)]1006 #[transactional]1007 pub fn set_const_on_chain_schema (1008 origin,1009 collection_id: CollectionId,1010 schema: BoundedVec<u8, ConstU32<CONST_ON_CHAIN_SCHEMA_LIMIT>>1011 ) -> DispatchResult {1012 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);1013 let collection = <CollectionHandle<T>>::try_get(collection_id)?;10141015 // =========10161017 <PalletCommon<T>>::set_field(&collection, &sender, CollectionField::ConstOnChainSchema, schema.into_inner())?;10181019 <Pallet<T>>::deposit_event(Event::<T>::ConstOnChainSchemaSet(1020 collection_id1021 ));1022 Ok(())1023 }10241025 /// Set variable on-chain data schema.1026 ///1027 /// # Permissions1028 ///1029 /// * Collection Owner1030 /// * Collection Admin1031 ///1032 /// # Arguments1033 ///1034 /// * collection_id.1035 ///1036 /// * schema: String representing the variable on-chain data schema.1037 #[weight = <SelfWeightOf<T>>::set_const_on_chain_schema(schema.len() as u32)]1038 #[transactional]1039 pub fn set_variable_on_chain_schema (1040 origin,1041 collection_id: CollectionId,1042 schema: BoundedVec<u8, ConstU32<VARIABLE_ON_CHAIN_SCHEMA_LIMIT>>1043 ) -> DispatchResult {1044 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);1045 let collection = <CollectionHandle<T>>::try_get(collection_id)?;10461047 // =========10481049 <PalletCommon<T>>::set_field(&collection, &sender, CollectionField::VariableOnChainSchema, schema.into_inner())?;10501051 <Pallet<T>>::deposit_event(Event::<T>::VariableOnChainSchemaSet(1052 collection_id1053 ));1054 Ok(())1055 }10561057 #[weight = <SelfWeightOf<T>>::set_collection_limits()]1058 #[transactional]1059 pub fn set_collection_limits(1060 origin,1061 collection_id: CollectionId,1062 new_limit: CollectionLimits,1063 ) -> DispatchResult {1064 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);1065 let mut target_collection = <CollectionHandle<T>>::try_get(collection_id)?;1066 target_collection.check_is_owner(&sender)?;1067 let old_limit = &target_collection.limits;10681069 target_collection.limits = <PalletCommon<T>>::clamp_limits(target_collection.mode.clone(), &old_limit, new_limit)?;10701071 <Pallet<T>>::deposit_event(Event::<T>::CollectionLimitSet(1072 collection_id1073 ));10741075 target_collection.save()1076 }1077 }1078}1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.2// This file is part of Unique Network.34// Unique Network is free software: you can redistribute it and/or modify5// it under the terms of the GNU General Public License as published by6// the Free Software Foundation, either version 3 of the License, or7// (at your option) any later version.89// Unique Network is distributed in the hope that it will be useful,10// but WITHOUT ANY WARRANTY; without even the implied warranty of11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the12// GNU General Public License for more details.1314// You should have received a copy of the GNU General Public License15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.1617#![recursion_limit = "1024"]18#![cfg_attr(not(feature = "std"), no_std)]19#![allow(20 clippy::too_many_arguments,21 clippy::unnecessary_mut_passed,22 clippy::unused_unit23)]2425use frame_support::{26 decl_module, decl_storage, decl_error, decl_event,27 dispatch::DispatchResult,28 ensure,29 weights::{Weight},30 transactional,31 pallet_prelude::{DispatchResultWithPostInfo, ConstU32},32 BoundedVec,33};34use scale_info::TypeInfo;35use frame_system::{self as system, ensure_signed};36use sp_runtime::{sp_std::prelude::Vec};37use up_data_structs::{38 VARIABLE_ON_CHAIN_SCHEMA_LIMIT, CONST_ON_CHAIN_SCHEMA_LIMIT, OFFCHAIN_SCHEMA_LIMIT,39 MAX_COLLECTION_NAME_LENGTH, MAX_COLLECTION_DESCRIPTION_LENGTH, MAX_TOKEN_PREFIX_LENGTH,40 AccessMode, CreateItemData, CollectionLimits, CollectionId, CollectionMode, TokenId,41 SchemaVersion, SponsorshipState, MetaUpdatePermission, CreateCollectionData, CustomDataLimit,42 CreateItemExData, budget, CollectionField,43};44use pallet_evm::account::CrossAccountId;45use pallet_common::{46 CollectionHandle, Pallet as PalletCommon, Error as CommonError, CommonWeightInfo,47 dispatch::dispatch_call, dispatch::CollectionDispatch,48};4950#[cfg(feature = "runtime-benchmarks")]51mod benchmarking;52pub mod weights;53use weights::WeightInfo;5455decl_error! {56 /// Error for non-fungible-token module.57 pub enum Error for Module<T: Config> {58 /// Decimal_points parameter must be lower than MAX_DECIMAL_POINTS constant, currently it is 30.59 CollectionDecimalPointLimitExceeded,60 /// This address is not set as sponsor, use setCollectionSponsor first.61 ConfirmUnsetSponsorFail,62 /// Length of items properties must be greater than 0.63 EmptyArgument,64 }65}6667pub trait Config: system::Config + pallet_common::Config + Sized + TypeInfo {68 type Event: From<Event<Self>> + Into<<Self as frame_system::Config>::Event>;6970 /// Weight information for extrinsics in this pallet.71 type WeightInfo: WeightInfo;72 type CommonWeightInfo: CommonWeightInfo<Self::CrossAccountId>;73}7475decl_event! {76 pub enum Event<T>77 where78 <T as frame_system::Config>::AccountId,79 <T as pallet_evm::account::Config>::CrossAccountId,80 {81 /// Collection sponsor was removed82 ///83 /// # Arguments84 ///85 /// * collection_id: Globally unique collection identifier.86 CollectionSponsorRemoved(CollectionId),8788 /// Collection admin was added89 ///90 /// # Arguments91 ///92 /// * collection_id: Globally unique collection identifier.93 ///94 /// * admin: Admin address.95 CollectionAdminAdded(CollectionId, CrossAccountId),9697 /// Collection owned was change98 ///99 /// # Arguments100 ///101 /// * collection_id: Globally unique collection identifier.102 ///103 /// * owner: New owner address.104 CollectionOwnedChanged(CollectionId, AccountId),105106 /// Collection sponsor was set107 ///108 /// # Arguments109 ///110 /// * collection_id: Globally unique collection identifier.111 ///112 /// * owner: New sponsor address.113 CollectionSponsorSet(CollectionId, AccountId),114115 /// const on chain schema was set116 ///117 /// # Arguments118 ///119 /// * collection_id: Globally unique collection identifier.120 ConstOnChainSchemaSet(CollectionId),121122 /// New sponsor was confirm123 ///124 /// # Arguments125 ///126 /// * collection_id: Globally unique collection identifier.127 ///128 /// * sponsor: New sponsor address.129 SponsorshipConfirmed(CollectionId, AccountId),130131 /// Collection admin was removed132 ///133 /// # Arguments134 ///135 /// * collection_id: Globally unique collection identifier.136 ///137 /// * admin: Admin address.138 CollectionAdminRemoved(CollectionId, CrossAccountId),139140 /// Address was remove from allow list141 ///142 /// # Arguments143 ///144 /// * collection_id: Globally unique collection identifier.145 ///146 /// * user: Address.147 AllowListAddressRemoved(CollectionId, CrossAccountId),148149 /// Address was add to allow list150 ///151 /// # Arguments152 ///153 /// * collection_id: Globally unique collection identifier.154 ///155 /// * user: Address.156 AllowListAddressAdded(CollectionId, CrossAccountId),157158 /// Collection limits was set159 ///160 /// # Arguments161 ///162 /// * collection_id: Globally unique collection identifier.163 CollectionLimitSet(CollectionId),164165 /// Mint permission was set166 ///167 /// # Arguments168 ///169 /// * collection_id: Globally unique collection identifier.170 MintPermissionSet(CollectionId),171172 /// Offchain schema was set173 ///174 /// # Arguments175 ///176 /// * collection_id: Globally unique collection identifier.177 OffchainSchemaSet(CollectionId),178179 /// Public access mode was set180 ///181 /// # Arguments182 ///183 /// * collection_id: Globally unique collection identifier.184 ///185 /// * mode: New access state.186 PublicAccessModeSet(CollectionId, AccessMode),187188 /// Schema version was set189 ///190 /// # Arguments191 ///192 /// * collection_id: Globally unique collection identifier.193 SchemaVersionSet(CollectionId),194195 /// Variable on chain schema was set196 ///197 /// # Arguments198 ///199 /// * collection_id: Globally unique collection identifier.200 VariableOnChainSchemaSet(CollectionId),201 }202}203204type SelfWeightOf<T> = <T as Config>::WeightInfo;205206// # Used definitions207//208// ## User control levels209//210// chain-controlled - key is uncontrolled by user211// i.e autoincrementing index212// can use non-cryptographic hash213// real - key is controlled by user214// but it is hard to generate enough colliding values, i.e owner of signed txs215// can use non-cryptographic hash216// controlled - key is completly controlled by users217// i.e maps with mutable keys218// should use cryptographic hash219//220// ## User control level downgrade reasons221//222// ?1 - chain-controlled -> controlled223// collections/tokens can be destroyed, resulting in massive holes224// ?2 - chain-controlled -> controlled225// same as ?1, but can be only added, resulting in easier exploitation226// ?3 - real -> controlled227// no confirmation required, so addresses can be easily generated228decl_storage! {229 trait Store for Module<T: Config> as Unique {230231 //#region Private members232 /// Used for migrations233 ChainVersion: u64;234 //#endregion235236 //#region Tokens transfer rate limit baskets237 /// (Collection id (controlled?2), who created (real))238 /// TODO: Off chain worker should remove from this map when collection gets removed239 pub CreateItemBasket get(fn create_item_basket): map hasher(blake2_128_concat) (CollectionId, T::AccountId) => Option<T::BlockNumber>;240 /// Collection id (controlled?2), token id (controlled?2)241 pub NftTransferBasket get(fn nft_transfer_basket): double_map hasher(blake2_128_concat) CollectionId, hasher(blake2_128_concat) TokenId => Option<T::BlockNumber>;242 /// Collection id (controlled?2), owning user (real)243 pub FungibleTransferBasket get(fn fungible_transfer_basket): double_map hasher(blake2_128_concat) CollectionId, hasher(twox_64_concat) T::AccountId => Option<T::BlockNumber>;244 /// Collection id (controlled?2), token id (controlled?2)245 pub ReFungibleTransferBasket get(fn refungible_transfer_basket): nmap hasher(blake2_128_concat) CollectionId, hasher(blake2_128_concat) TokenId, hasher(twox_64_concat) T::AccountId => Option<T::BlockNumber>;246 //#endregion247248 /// Variable metadata sponsoring249 /// Collection id (controlled?2), token id (controlled?2)250 pub VariableMetaDataBasket get(fn variable_meta_data_basket): double_map hasher(blake2_128_concat) CollectionId, hasher(blake2_128_concat) TokenId => Option<T::BlockNumber>;251 /// Approval sponsoring252 pub NftApproveBasket get(fn nft_approve_basket): double_map hasher(blake2_128_concat) CollectionId, hasher(blake2_128_concat) TokenId => Option<T::BlockNumber>;253 pub FungibleApproveBasket get(fn fungible_approve_basket): double_map hasher(blake2_128_concat) CollectionId, hasher(twox_64_concat) T::AccountId => Option<T::BlockNumber>;254 pub RefungibleApproveBasket get(fn refungible_approve_basket): nmap hasher(blake2_128_concat) CollectionId, hasher(blake2_128_concat) TokenId, hasher(twox_64_concat) T::AccountId => Option<T::BlockNumber>;255 }256}257258decl_module! {259 pub struct Module<T: Config> for enum Call260 where261 origin: T::Origin262 {263 type Error = Error<T>;264265 fn deposit_event() = default;266267 fn on_initialize(_now: T::BlockNumber) -> Weight {268 0269 }270271 /// This method creates a Collection of NFTs. Each Token may have multiple properties encoded as an array of bytes of certain length. The initial owner of the collection is set to the address that signed the transaction and can be changed later.272 ///273 /// # Permissions274 ///275 /// * Anyone.276 ///277 /// # Arguments278 ///279 /// * collection_name: UTF-16 string with collection name (limit 64 characters), will be stored as zero-terminated.280 ///281 /// * collection_description: UTF-16 string with collection description (limit 256 characters), will be stored as zero-terminated.282 ///283 /// * token_prefix: UTF-8 string with token prefix.284 ///285 /// * mode: [CollectionMode] collection type and type dependent data.286 // returns collection ID287 #[weight = <SelfWeightOf<T>>::create_collection()]288 #[transactional]289 #[deprecated]290 pub fn create_collection(origin,291 collection_name: BoundedVec<u16, ConstU32<MAX_COLLECTION_NAME_LENGTH>>,292 collection_description: BoundedVec<u16, ConstU32<MAX_COLLECTION_DESCRIPTION_LENGTH>>,293 token_prefix: BoundedVec<u8, ConstU32<MAX_TOKEN_PREFIX_LENGTH>>,294 mode: CollectionMode) -> DispatchResult {295 let data: CreateCollectionData<T::AccountId> = CreateCollectionData {296 name: collection_name,297 description: collection_description,298 token_prefix,299 mode,300 ..Default::default()301 };302 Self::create_collection_ex(origin, data)303 }304305 /// This method creates a collection306 ///307 /// Prefer it to deprecated [`created_collection`] method308 #[weight = <SelfWeightOf<T>>::create_collection()]309 #[transactional]310 pub fn create_collection_ex(origin, data: CreateCollectionData<T::AccountId>) -> DispatchResult {311 let sender = ensure_signed(origin)?;312313 // =========314315 T::CollectionDispatch::create(sender, data)?;316317 Ok(())318 }319320 /// **DANGEROUS**: Destroys collection and all NFTs within this collection. Users irrecoverably lose their assets and may lose real money.321 ///322 /// # Permissions323 ///324 /// * Collection Owner.325 ///326 /// # Arguments327 ///328 /// * collection_id: collection to destroy.329 #[weight = <SelfWeightOf<T>>::destroy_collection()]330 #[transactional]331 pub fn destroy_collection(origin, collection_id: CollectionId) -> DispatchResult {332 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);333 let collection = <CollectionHandle<T>>::try_get(collection_id)?;334335 // =========336337 T::CollectionDispatch::destroy(sender, collection)?;338339 <NftTransferBasket<T>>::remove_prefix(collection_id, None);340 <FungibleTransferBasket<T>>::remove_prefix(collection_id, None);341 <ReFungibleTransferBasket<T>>::remove_prefix((collection_id,), None);342343 <VariableMetaDataBasket<T>>::remove_prefix(collection_id, None);344 <NftApproveBasket<T>>::remove_prefix(collection_id, None);345 <FungibleApproveBasket<T>>::remove_prefix(collection_id, None);346 <RefungibleApproveBasket<T>>::remove_prefix((collection_id,), None);347348 Ok(())349 }350351 /// Add an address to allow list.352 ///353 /// # Permissions354 ///355 /// * Collection Owner356 /// * Collection Admin357 ///358 /// # Arguments359 ///360 /// * collection_id.361 ///362 /// * address.363 #[weight = <SelfWeightOf<T>>::add_to_allow_list()]364 #[transactional]365 pub fn add_to_allow_list(origin, collection_id: CollectionId, address: T::CrossAccountId) -> DispatchResult{366367 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);368 let collection = <CollectionHandle<T>>::try_get(collection_id)?;369370 <PalletCommon<T>>::toggle_allowlist(371 &collection,372 &sender,373 &address,374 true,375 )?;376377 Self::deposit_event(Event::<T>::AllowListAddressAdded(378 collection_id,379 address380 ));381382 Ok(())383 }384385 /// Remove an address from allow list.386 ///387 /// # Permissions388 ///389 /// * Collection Owner390 /// * Collection Admin391 ///392 /// # Arguments393 ///394 /// * collection_id.395 ///396 /// * address.397 #[weight = <SelfWeightOf<T>>::remove_from_allow_list()]398 #[transactional]399 pub fn remove_from_allow_list(origin, collection_id: CollectionId, address: T::CrossAccountId) -> DispatchResult{400401 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);402 let collection = <CollectionHandle<T>>::try_get(collection_id)?;403404 <PalletCommon<T>>::toggle_allowlist(405 &collection,406 &sender,407 &address,408 false,409 )?;410411 <Pallet<T>>::deposit_event(Event::<T>::AllowListAddressRemoved(412 collection_id,413 address414 ));415416 Ok(())417 }418419 /// Toggle between normal and allow list access for the methods with access for `Anyone`.420 ///421 /// # Permissions422 ///423 /// * Collection Owner.424 ///425 /// # Arguments426 ///427 /// * collection_id.428 ///429 /// * mode: [AccessMode]430 #[weight = <SelfWeightOf<T>>::set_public_access_mode()]431 #[transactional]432 pub fn set_public_access_mode(origin, collection_id: CollectionId, mode: AccessMode) -> DispatchResult433 {434 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);435436 let mut target_collection = <CollectionHandle<T>>::try_get(collection_id)?;437 target_collection.check_is_owner(&sender)?;438439 target_collection.access = mode.clone();440441 <Pallet<T>>::deposit_event(Event::<T>::PublicAccessModeSet(442 collection_id,443 mode444 ));445446 target_collection.save()447 }448449 /// Allows Anyone to create tokens if:450 /// * Allow List is enabled, and451 /// * Address is added to allow list, and452 /// * This method was called with True parameter453 ///454 /// # Permissions455 /// * Collection Owner456 ///457 /// # Arguments458 ///459 /// * collection_id.460 ///461 /// * mint_permission: Boolean parameter. If True, allows minting to Anyone with conditions above.462 #[weight = <SelfWeightOf<T>>::set_mint_permission()]463 #[transactional]464 pub fn set_mint_permission(origin, collection_id: CollectionId, mint_permission: bool) -> DispatchResult465 {466 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);467468 let mut target_collection = <CollectionHandle<T>>::try_get(collection_id)?;469 target_collection.check_is_owner(&sender)?;470471 target_collection.mint_mode = mint_permission;472473 <Pallet<T>>::deposit_event(Event::<T>::MintPermissionSet(474 collection_id475 ));476477 target_collection.save()478 }479480 /// Change the owner of the collection.481 ///482 /// # Permissions483 ///484 /// * Collection Owner.485 ///486 /// # Arguments487 ///488 /// * collection_id.489 ///490 /// * new_owner.491 #[weight = <SelfWeightOf<T>>::change_collection_owner()]492 #[transactional]493 pub fn change_collection_owner(origin, collection_id: CollectionId, new_owner: T::AccountId) -> DispatchResult {494495 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);496497 let mut target_collection = <CollectionHandle<T>>::try_get(collection_id)?;498 target_collection.check_is_owner(&sender)?;499500 target_collection.owner = new_owner.clone();501 <Pallet<T>>::deposit_event(Event::<T>::CollectionOwnedChanged(502 collection_id,503 new_owner504 ));505506 target_collection.save()507 }508509 /// Adds an admin of the Collection.510 /// NFT Collection can be controlled by multiple admin addresses (some which can also be servers, for example). Admins can issue and burn NFTs, as well as add and remove other admins, but cannot change NFT or Collection ownership.511 ///512 /// # Permissions513 ///514 /// * Collection Owner.515 /// * Collection Admin.516 ///517 /// # Arguments518 ///519 /// * collection_id: ID of the Collection to add admin for.520 ///521 /// * new_admin_id: Address of new admin to add.522 #[weight = <SelfWeightOf<T>>::add_collection_admin()]523 #[transactional]524 pub fn add_collection_admin(origin, collection_id: CollectionId, new_admin_id: T::CrossAccountId) -> DispatchResult {525 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);526 let collection = <CollectionHandle<T>>::try_get(collection_id)?;527528 <Pallet<T>>::deposit_event(Event::<T>::CollectionAdminAdded(529 collection_id,530 new_admin_id.clone()531 ));532533 <PalletCommon<T>>::toggle_admin(&collection, &sender, &new_admin_id, true)534 }535536 /// Remove admin address of the Collection. An admin address can remove itself. List of admins may become empty, in which case only Collection Owner will be able to add an Admin.537 ///538 /// # Permissions539 ///540 /// * Collection Owner.541 /// * Collection Admin.542 ///543 /// # Arguments544 ///545 /// * collection_id: ID of the Collection to remove admin for.546 ///547 /// * account_id: Address of admin to remove.548 #[weight = <SelfWeightOf<T>>::remove_collection_admin()]549 #[transactional]550 pub fn remove_collection_admin(origin, collection_id: CollectionId, account_id: T::CrossAccountId) -> DispatchResult {551 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);552 let collection = <CollectionHandle<T>>::try_get(collection_id)?;553554 <Pallet<T>>::deposit_event(Event::<T>::CollectionAdminRemoved(555 collection_id,556 account_id.clone()557 ));558559 <PalletCommon<T>>::toggle_admin(&collection, &sender, &account_id, false)560 }561562 /// # Permissions563 ///564 /// * Collection Owner565 ///566 /// # Arguments567 ///568 /// * collection_id.569 ///570 /// * new_sponsor.571 #[weight = <SelfWeightOf<T>>::set_collection_sponsor()]572 #[transactional]573 pub fn set_collection_sponsor(origin, collection_id: CollectionId, new_sponsor: T::AccountId) -> DispatchResult {574 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);575576 let mut target_collection = <CollectionHandle<T>>::try_get(collection_id)?;577 target_collection.check_is_owner(&sender)?;578579 target_collection.sponsorship = SponsorshipState::Unconfirmed(new_sponsor.clone());580581 <Pallet<T>>::deposit_event(Event::<T>::CollectionSponsorSet(582 collection_id,583 new_sponsor584 ));585586 target_collection.save()587 }588589 /// # Permissions590 ///591 /// * Sponsor.592 ///593 /// # Arguments594 ///595 /// * collection_id.596 #[weight = <SelfWeightOf<T>>::confirm_sponsorship()]597 #[transactional]598 pub fn confirm_sponsorship(origin, collection_id: CollectionId) -> DispatchResult {599 let sender = ensure_signed(origin)?;600601 let mut target_collection = <CollectionHandle<T>>::try_get(collection_id)?;602 ensure!(603 target_collection.sponsorship.pending_sponsor() == Some(&sender),604 Error::<T>::ConfirmUnsetSponsorFail605 );606607 target_collection.sponsorship = SponsorshipState::Confirmed(sender.clone());608609 <Pallet<T>>::deposit_event(Event::<T>::SponsorshipConfirmed(610 collection_id,611 sender612 ));613614 target_collection.save()615 }616617 /// Switch back to pay-per-own-transaction model.618 ///619 /// # Permissions620 ///621 /// * Collection owner.622 ///623 /// # Arguments624 ///625 /// * collection_id.626 #[weight = <SelfWeightOf<T>>::remove_collection_sponsor()]627 #[transactional]628 pub fn remove_collection_sponsor(origin, collection_id: CollectionId) -> DispatchResult {629 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);630631 let mut target_collection = <CollectionHandle<T>>::try_get(collection_id)?;632 target_collection.check_is_owner(&sender)?;633634 target_collection.sponsorship = SponsorshipState::Disabled;635636 <Pallet<T>>::deposit_event(Event::<T>::CollectionSponsorRemoved(637 collection_id638 ));639 target_collection.save()640 }641642 /// This method creates a concrete instance of NFT Collection created with CreateCollection method.643 ///644 /// # Permissions645 ///646 /// * Collection Owner.647 /// * Collection Admin.648 /// * Anyone if649 /// * Allow List is enabled, and650 /// * Address is added to allow list, and651 /// * MintPermission is enabled (see SetMintPermission method)652 ///653 /// # Arguments654 ///655 /// * collection_id: ID of the collection.656 ///657 /// * owner: Address, initial owner of the NFT.658 ///659 /// * data: Token data to store on chain.660 #[weight = T::CommonWeightInfo::create_item()]661 #[transactional]662 pub fn create_item(origin, collection_id: CollectionId, owner: T::CrossAccountId, data: CreateItemData) -> DispatchResultWithPostInfo {663 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);664 let budget = budget::Value::new(2);665666 dispatch_call::<T, _>(collection_id, |d| d.create_item(sender, owner, data, &budget))667 }668669 /// This method creates multiple items in a collection created with CreateCollection method.670 ///671 /// # Permissions672 ///673 /// * Collection Owner.674 /// * Collection Admin.675 /// * Anyone if676 /// * Allow List is enabled, and677 /// * Address is added to allow list, and678 /// * MintPermission is enabled (see SetMintPermission method)679 ///680 /// # Arguments681 ///682 /// * collection_id: ID of the collection.683 ///684 /// * itemsData: Array items properties. Each property is an array of bytes itself, see [create_item].685 ///686 /// * owner: Address, initial owner of the NFT.687 #[weight = T::CommonWeightInfo::create_multiple_items(items_data.len() as u32)]688 #[transactional]689 pub fn create_multiple_items(origin, collection_id: CollectionId, owner: T::CrossAccountId, items_data: Vec<CreateItemData>) -> DispatchResultWithPostInfo {690 ensure!(!items_data.is_empty(), Error::<T>::EmptyArgument);691 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);692 let budget = budget::Value::new(2);693694 dispatch_call::<T, _>(collection_id, |d| d.create_multiple_items(sender, owner, items_data, &budget))695 }696697 #[weight = T::CommonWeightInfo::create_multiple_items_ex(&data)]698 #[transactional]699 pub fn create_multiple_items_ex(origin, collection_id: CollectionId, data: CreateItemExData<T::CrossAccountId>) -> DispatchResultWithPostInfo {700 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);701 let budget = budget::Value::new(2);702703 dispatch_call::<T, _>(collection_id, |d| d.create_multiple_items_ex(sender, data, &budget))704 }705706 // TODO! transaction weight707708 /// Set transfers_enabled value for particular collection709 ///710 /// # Permissions711 ///712 /// * Collection Owner.713 ///714 /// # Arguments715 ///716 /// * collection_id: ID of the collection.717 ///718 /// * value: New flag value.719 #[weight = <SelfWeightOf<T>>::set_transfers_enabled_flag()]720 #[transactional]721 pub fn set_transfers_enabled_flag(origin, collection_id: CollectionId, value: bool) -> DispatchResult {722 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);723 let mut target_collection = <CollectionHandle<T>>::try_get(collection_id)?;724 target_collection.check_is_owner(&sender)?;725726 // =========727728 target_collection.limits.transfers_enabled = Some(value);729 target_collection.save()730 }731732 /// Destroys a concrete instance of NFT.733 ///734 /// # Permissions735 ///736 /// * Collection Owner.737 /// * Collection Admin.738 /// * Current NFT Owner.739 ///740 /// # Arguments741 ///742 /// * collection_id: ID of the collection.743 ///744 /// * item_id: ID of NFT to burn.745 #[weight = T::CommonWeightInfo::burn_item()]746 #[transactional]747 pub fn burn_item(origin, collection_id: CollectionId, item_id: TokenId, value: u128) -> DispatchResultWithPostInfo {748 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);749750 let post_info = dispatch_call::<T, _>(collection_id, |d| d.burn_item(sender, item_id, value))?;751 if value == 1 {752 <NftTransferBasket<T>>::remove(collection_id, item_id);753 <NftApproveBasket<T>>::remove(collection_id, item_id);754 }755 // Those maps should be cleared only if token disappears completly, need to move this part of logic to pallets?756 // <FungibleApproveBasket<T>>::remove(collection_id, sender.as_sub());757 // <RefungibleApproveBasket<T>>::remove((collection_id, item_id, sender.as_sub()));758 Ok(post_info)759 }760761 /// Destroys a concrete instance of NFT on behalf of the owner762 /// See also: [`approve`]763 ///764 /// # Permissions765 ///766 /// * Collection Owner.767 /// * Collection Admin.768 /// * Current NFT Owner.769 ///770 /// # Arguments771 ///772 /// * collection_id: ID of the collection.773 ///774 /// * item_id: ID of NFT to burn.775 ///776 /// * from: owner of item777 #[weight = T::CommonWeightInfo::burn_from()]778 #[transactional]779 pub fn burn_from(origin, collection_id: CollectionId, from: T::CrossAccountId, item_id: TokenId, value: u128) -> DispatchResultWithPostInfo {780 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);781 let budget = budget::Value::new(2);782783 dispatch_call::<T, _>(collection_id, |d| d.burn_from(sender, from, item_id, value, &budget))784 }785786 /// Change ownership of the token.787 ///788 /// # Permissions789 ///790 /// * Collection Owner791 /// * Collection Admin792 /// * Current NFT owner793 ///794 /// # Arguments795 ///796 /// * recipient: Address of token recipient.797 ///798 /// * collection_id.799 ///800 /// * item_id: ID of the item801 /// * Non-Fungible Mode: Required.802 /// * Fungible Mode: Ignored.803 /// * Re-Fungible Mode: Required.804 ///805 /// * value: Amount to transfer.806 /// * Non-Fungible Mode: Ignored807 /// * Fungible Mode: Must specify transferred amount808 /// * Re-Fungible Mode: Must specify transferred portion (between 0 and 1)809 #[weight = T::CommonWeightInfo::transfer()]810 #[transactional]811 pub fn transfer(origin, recipient: T::CrossAccountId, collection_id: CollectionId, item_id: TokenId, value: u128) -> DispatchResultWithPostInfo {812 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);813 let budget = budget::Value::new(2);814815 dispatch_call::<T, _>(collection_id, |d| d.transfer(sender, recipient, item_id, value, &budget))816 }817818 /// Set, change, or remove approved address to transfer the ownership of the NFT.819 ///820 /// # Permissions821 ///822 /// * Collection Owner823 /// * Collection Admin824 /// * Current NFT owner825 ///826 /// # Arguments827 ///828 /// * approved: Address that is approved to transfer this NFT or zero (if needed to remove approval).829 ///830 /// * collection_id.831 ///832 /// * item_id: ID of the item.833 #[weight = T::CommonWeightInfo::approve()]834 #[transactional]835 pub fn approve(origin, spender: T::CrossAccountId, collection_id: CollectionId, item_id: TokenId, amount: u128) -> DispatchResultWithPostInfo {836 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);837838 dispatch_call::<T, _>(collection_id, |d| d.approve(sender, spender, item_id, amount))839 }840841 /// Change ownership of a NFT on behalf of the owner. See Approve method for additional information. After this method executes, the approval is removed so that the approved address will not be able to transfer this NFT again from this owner.842 ///843 /// # Permissions844 /// * Collection Owner845 /// * Collection Admin846 /// * Current NFT owner847 /// * Address approved by current NFT owner848 ///849 /// # Arguments850 ///851 /// * from: Address that owns token.852 ///853 /// * recipient: Address of token recipient.854 ///855 /// * collection_id.856 ///857 /// * item_id: ID of the item.858 ///859 /// * value: Amount to transfer.860 #[weight = T::CommonWeightInfo::transfer_from()]861 #[transactional]862 pub fn transfer_from(origin, from: T::CrossAccountId, recipient: T::CrossAccountId, collection_id: CollectionId, item_id: TokenId, value: u128 ) -> DispatchResultWithPostInfo {863 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);864 let budget = budget::Value::new(2);865866 dispatch_call::<T, _>(collection_id, |d| d.transfer_from(sender, from, recipient, item_id, value, &budget))867 }868869 /// Set off-chain data schema.870 ///871 /// # Permissions872 ///873 /// * Collection Owner874 /// * Collection Admin875 ///876 /// # Arguments877 ///878 /// * collection_id.879 ///880 /// * schema: String representing the offchain data schema.881 #[weight = T::CommonWeightInfo::set_variable_metadata(data.len() as u32)]882 #[transactional]883 pub fn set_variable_meta_data (884 origin,885 collection_id: CollectionId,886 item_id: TokenId,887 data: BoundedVec<u8, CustomDataLimit>,888 ) -> DispatchResultWithPostInfo {889 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);890891 dispatch_call::<T, _>(collection_id, |d| d.set_variable_metadata(sender, item_id, data))892 }893894 /// Set meta_update_permission value for particular collection895 ///896 /// # Permissions897 ///898 /// * Collection Owner.899 ///900 /// # Arguments901 ///902 /// * collection_id: ID of the collection.903 ///904 /// * value: New flag value.905 #[weight = <SelfWeightOf<T>>::set_meta_update_permission_flag()]906 #[transactional]907 pub fn set_meta_update_permission_flag(origin, collection_id: CollectionId, value: MetaUpdatePermission) -> DispatchResult {908 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);909 let mut target_collection = <CollectionHandle<T>>::try_get(collection_id)?;910911 ensure!(912 target_collection.meta_update_permission != MetaUpdatePermission::None,913 <CommonError<T>>::MetadataFlagFrozen,914 );915 target_collection.check_is_owner(&sender)?;916917 target_collection.meta_update_permission = value;918919 target_collection.save()920 }921922 /// Set schema standard923 /// ImageURL924 /// Unique925 ///926 /// # Permissions927 ///928 /// * Collection Owner929 /// * Collection Admin930 ///931 /// # Arguments932 ///933 /// * collection_id.934 ///935 /// * schema: SchemaVersion: enum936 #[weight = <SelfWeightOf<T>>::set_schema_version()]937 #[transactional]938 pub fn set_schema_version(939 origin,940 collection_id: CollectionId,941 version: SchemaVersion942 ) -> DispatchResult {943 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);944 let mut target_collection = <CollectionHandle<T>>::try_get(collection_id)?;945 target_collection.check_is_owner_or_admin(&sender)?;946 target_collection.schema_version = version;947948 <Pallet<T>>::deposit_event(Event::<T>::SchemaVersionSet(949 collection_id950 ));951952 target_collection.save()953 }954955 /// Set off-chain data schema.956 ///957 /// # Permissions958 ///959 /// * Collection Owner960 /// * Collection Admin961 ///962 /// # Arguments963 ///964 /// * collection_id.965 ///966 /// * schema: String representing the offchain data schema.967 #[weight = <SelfWeightOf<T>>::set_offchain_schema(schema.len() as u32)]968 #[transactional]969 pub fn set_offchain_schema(970 origin,971 collection_id: CollectionId,972 schema: BoundedVec<u8, ConstU32<OFFCHAIN_SCHEMA_LIMIT>>,973 ) -> DispatchResult {974 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);975 let collection = <CollectionHandle<T>>::try_get(collection_id)?;976977 // =========978979 <PalletCommon<T>>::set_field(&collection, &sender, CollectionField::OffchainSchema, schema.into_inner())?;980981 <Pallet<T>>::deposit_event(Event::<T>::OffchainSchemaSet(982 collection_id983 ));984 Ok(())985 }986987 /// Set const on-chain data schema.988 ///989 /// # Permissions990 ///991 /// * Collection Owner992 /// * Collection Admin993 ///994 /// # Arguments995 ///996 /// * collection_id.997 ///998 /// * schema: String representing the const on-chain data schema.999 #[weight = <SelfWeightOf<T>>::set_const_on_chain_schema(schema.len() as u32)]1000 #[transactional]1001 pub fn set_const_on_chain_schema (1002 origin,1003 collection_id: CollectionId,1004 schema: BoundedVec<u8, ConstU32<CONST_ON_CHAIN_SCHEMA_LIMIT>>1005 ) -> DispatchResult {1006 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);1007 let collection = <CollectionHandle<T>>::try_get(collection_id)?;10081009 // =========10101011 <PalletCommon<T>>::set_field(&collection, &sender, CollectionField::ConstOnChainSchema, schema.into_inner())?;10121013 <Pallet<T>>::deposit_event(Event::<T>::ConstOnChainSchemaSet(1014 collection_id1015 ));1016 Ok(())1017 }10181019 /// Set variable on-chain data schema.1020 ///1021 /// # Permissions1022 ///1023 /// * Collection Owner1024 /// * Collection Admin1025 ///1026 /// # Arguments1027 ///1028 /// * collection_id.1029 ///1030 /// * schema: String representing the variable on-chain data schema.1031 #[weight = <SelfWeightOf<T>>::set_const_on_chain_schema(schema.len() as u32)]1032 #[transactional]1033 pub fn set_variable_on_chain_schema (1034 origin,1035 collection_id: CollectionId,1036 schema: BoundedVec<u8, ConstU32<VARIABLE_ON_CHAIN_SCHEMA_LIMIT>>1037 ) -> DispatchResult {1038 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);1039 let collection = <CollectionHandle<T>>::try_get(collection_id)?;10401041 // =========10421043 <PalletCommon<T>>::set_field(&collection, &sender, CollectionField::VariableOnChainSchema, schema.into_inner())?;10441045 <Pallet<T>>::deposit_event(Event::<T>::VariableOnChainSchemaSet(1046 collection_id1047 ));1048 Ok(())1049 }10501051 #[weight = <SelfWeightOf<T>>::set_collection_limits()]1052 #[transactional]1053 pub fn set_collection_limits(1054 origin,1055 collection_id: CollectionId,1056 new_limit: CollectionLimits,1057 ) -> DispatchResult {1058 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);1059 let mut target_collection = <CollectionHandle<T>>::try_get(collection_id)?;1060 target_collection.check_is_owner(&sender)?;1061 let old_limit = &target_collection.limits;10621063 target_collection.limits = <PalletCommon<T>>::clamp_limits(target_collection.mode.clone(), &old_limit, new_limit)?;10641065 <Pallet<T>>::deposit_event(Event::<T>::CollectionLimitSet(1066 collection_id1067 ));10681069 target_collection.save()1070 }1071 }1072}primitives/data-structs/Cargo.tomldiffbeforeafterboth--- a/primitives/data-structs/Cargo.toml
+++ b/primitives/data-structs/Cargo.toml
@@ -25,7 +25,7 @@
sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
derivative = "2.2.0"
struct-versioning = { path = "../../crates/struct-versioning" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
[features]
default = ["std"]
runtime/common/Cargo.tomldiffbeforeafterboth--- a/runtime/common/Cargo.toml
+++ b/runtime/common/Cargo.toml
@@ -40,8 +40,8 @@
[dependencies.sp-std]
default-features = false
-git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.18'
+git = 'https://github.com/paritytech/substrate'
+branch = 'polkadot-v0.9.20'
[dependencies.sp-runtime]
default-features = false
@@ -104,6 +104,6 @@
branch = "unique-polkadot-v0.9.20"
[dependencies]
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
evm-coder = { default-features = false, path = '../../crates/evm-coder' }
-up-sponsorship = { default-features = false, git = "https://github.com/UniqueNetwork/pallet-sponsoring", branch = 'polkadot-v0.9.18' }
+up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = 'polkadot-v0.9.20' }
runtime/common/src/runtime_apis.rsdiffbeforeafterboth--- a/runtime/common/src/runtime_apis.rs
+++ b/runtime/common/src/runtime_apis.rs
@@ -73,8 +73,8 @@
Ok(<pallet_common::Pallet<Runtime>>::collection_stats())
}
fn next_sponsored(collection: CollectionId, account: CrossAccountId, token: TokenId) -> Result<Option<u64>, DispatchError> {
- Ok(<pallet_unique::UniqueSponsorshipPredict<Runtime> as
- pallet_unique::SponsorshipPredict<Runtime>>::predict(
+ Ok(<$crate::sponsoring::UniqueSponsorshipPredict<Runtime> as
+ $crate::sponsoring::SponsorshipPredict<Runtime>>::predict(
collection,
account,
token))
runtime/common/src/sponsoring.rsdiffbeforeafterboth--- a/runtime/common/src/sponsoring.rs
+++ b/runtime/common/src/sponsoring.rs
@@ -37,9 +37,10 @@
use pallet_nonfungible::Config as NonfungibleConfig;
use pallet_refungible::Config as RefungibleConfig;
-pub fn withdraw_transfer<
- T: UniqueConfig + FungibleConfig + NonfungibleConfig + RefungibleConfig,
->(
+pub trait Config: UniqueConfig + FungibleConfig + NonfungibleConfig + RefungibleConfig {}
+impl<T> Config for T where T: UniqueConfig + FungibleConfig + NonfungibleConfig + RefungibleConfig {}
+
+pub fn withdraw_transfer<T: Config>(
collection: &CollectionHandle<T>,
who: &T::CrossAccountId,
item_id: &TokenId,
@@ -108,9 +109,7 @@
Some(())
}
-pub fn withdraw_create_item<
- T: UniqueConfig + FungibleConfig + NonfungibleConfig + RefungibleConfig,
->(
+pub fn withdraw_create_item<T: Config>(
collection: &CollectionHandle<T>,
who: &T::CrossAccountId,
_properties: &CreateItemData,
@@ -141,9 +140,7 @@
Some(())
}
-pub fn withdraw_set_variable_meta_data<
- T: UniqueConfig + FungibleConfig + NonfungibleConfig + RefungibleConfig,
->(
+pub fn withdraw_set_variable_meta_data<T: Config>(
who: &T::CrossAccountId,
collection: &CollectionHandle<T>,
item_id: &TokenId,
@@ -200,7 +197,7 @@
Some(())
}
-pub fn withdraw_approve<T: UniqueConfig + FungibleConfig + NonfungibleConfig + RefungibleConfig>(
+pub fn withdraw_approve<T: Config>(
collection: &CollectionHandle<T>,
who: &T::AccountId,
item_id: &TokenId,
@@ -246,7 +243,7 @@
pub struct UniqueSponsorshipHandler<T>(PhantomData<T>);
impl<T, C> SponsorshipHandler<T::AccountId, C> for UniqueSponsorshipHandler<T>
where
- T: UniqueConfig + FungibleConfig + NonfungibleConfig + RefungibleConfig,
+ T: Config,
C: IsSubType<UniqueCall<T>>,
{
fn get_sponsor(who: &T::AccountId, call: &C) -> Option<T::AccountId> {
@@ -313,13 +310,15 @@
}
}
-use crate::SponsorshipPredict;
+pub trait SponsorshipPredict<T: Config> {
+ fn predict(collection: CollectionId, account: T::CrossAccountId, token: TokenId) -> Option<u64>
+ where
+ u64: From<<T as frame_system::Config>::BlockNumber>;
+}
+
pub struct UniqueSponsorshipPredict<T>(PhantomData<T>);
-impl<T> SponsorshipPredict<T> for UniqueSponsorshipPredict<T>
-where
- T: Config,
-{
+impl<T: Config> SponsorshipPredict<T> for UniqueSponsorshipPredict<T> {
fn predict(collection_id: CollectionId, who: T::CrossAccountId, token: TokenId) -> Option<u64>
where
u64: From<<T as frame_system::Config>::BlockNumber>,
@@ -360,7 +359,7 @@
CollectionMode::NFT => {
<pallet_nonfungible::TokenData<T>>::contains_key((collection.id, token))
}
- CollectionMode::Fungible(_) => true,
+ CollectionMode::Fungible(_) => token == TokenId::default(),
CollectionMode::ReFungible => {
<pallet_refungible::TotalSupply<T>>::contains_key((collection.id, token))
}
runtime/opal/Cargo.tomldiffbeforeafterboth--- a/runtime/opal/Cargo.toml
+++ b/runtime/opal/Cargo.toml
@@ -131,9 +131,9 @@
[dependencies.frame-try-runtime]
default-features = false
-git = 'https://github.com/paritytech/substrate.git'
+git = 'https://github.com/paritytech/substrate'
optional = true
-branch = 'polkadot-v0.9.18'
+branch = 'polkadot-v0.9.20'
[dependencies.frame-executive]
default-features = false
runtime/quartz/Cargo.tomldiffbeforeafterboth--- a/runtime/quartz/Cargo.toml
+++ b/runtime/quartz/Cargo.toml
@@ -131,9 +131,9 @@
[dependencies.frame-try-runtime]
default-features = false
-git = 'https://github.com/paritytech/substrate.git'
+git = 'https://github.com/paritytech/substrate'
optional = true
-branch = 'polkadot-v0.9.18'
+branch = 'polkadot-v0.9.20'
[dependencies.frame-executive]
default-features = false
runtime/tests/Cargo.tomldiffbeforeafterboth--- a/runtime/tests/Cargo.toml
+++ b/runtime/tests/Cargo.toml
@@ -7,22 +7,22 @@
unique-runtime-common = { path = '../common' }
up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
-sp-core = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
-sp-std = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
-sp-io = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
-sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
+sp-core = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.20' }
+sp-std = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.20' }
+sp-io = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.20' }
+sp-runtime = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.20' }
-fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18-2" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-frame-support = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
-frame-system = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
+frame-support = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.20' }
+frame-system = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.20' }
-pallet-balances = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
-pallet-transaction-payment = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
-pallet-timestamp = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
+pallet-balances = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.20' }
+pallet-transaction-payment = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.20' }
+pallet-timestamp = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.20' }
-pallet-evm = { default-features = false, git = 'https://github.com/uniquenetwork/frontier.git', branch = 'unique-polkadot-v0.9.18-2' }
-pallet-ethereum = { default-features = false, git = 'https://github.com/uniquenetwork/frontier.git', branch = 'unique-polkadot-v0.9.18-2' }
+pallet-evm = { default-features = false, git = 'https://github.com/uniquenetwork/frontier', branch = 'unique-polkadot-v0.9.20' }
+pallet-ethereum = { default-features = false, git = 'https://github.com/uniquenetwork/frontier', branch = 'unique-polkadot-v0.9.20' }
pallet-common = { path = '../../pallets/common' }
pallet-structure = { path = '../../pallets/structure' }
runtime/unique/Cargo.tomldiffbeforeafterboth--- a/runtime/unique/Cargo.toml
+++ b/runtime/unique/Cargo.toml
@@ -131,9 +131,9 @@
[dependencies.frame-try-runtime]
default-features = false
-git = 'https://github.com/paritytech/substrate.git'
+git = 'https://github.com/paritytech/substrate'
optional = true
-branch = 'polkadot-v0.9.18'
+branch = 'polkadot-v0.9.20'
[dependencies.frame-executive]
default-features = false
tests/src/interfaces/augment-api-query.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-query.ts
+++ b/tests/src/interfaces/augment-api-query.ts
@@ -5,7 +5,7 @@
import type { BTreeMap, Bytes, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';
-import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1PersistedValidationData, PolkadotPrimitivesV1UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, UpDataStructsCollection, UpDataStructsCollectionField, UpDataStructsCollectionStats } from '@polkadot/types/lookup';
+import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, UpDataStructsCollection, UpDataStructsCollectionField, UpDataStructsCollectionStats } from '@polkadot/types/lookup';
import type { Observable } from '@polkadot/types/types';
declare module '@polkadot/api-base/types/storage' {
@@ -13,25 +13,25 @@
balances: {
/**
* The Balances pallet example of storing the balance of an account.
- *
+ *
* # Example
- *
+ *
* ```nocompile
* impl pallet_balances::Config for Runtime {
* type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>
* }
* ```
- *
+ *
* You can also store the balance of an account in the `System` pallet.
- *
+ *
* # Example
- *
+ *
* ```nocompile
* impl pallet_balances::Config for Runtime {
* type AccountStore = System
* }
* ```
- *
+ *
* But this comes with tradeoffs, storing account balances in the system pallet stores
* `frame_system` data alongside the account data contrary to storing account balances in the
* `Balances` pallet, which uses a `StorageMap` to store balances data only.
@@ -49,7 +49,7 @@
reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Storage version of the pallet.
- *
+ *
* This is set to v2.0.0 for new networks.
**/
storageVersion: AugmentedQuery<ApiType, () => Observable<PalletBalancesReleases>, []> & QueryableStorageEntry<ApiType, []>;
@@ -249,7 +249,7 @@
authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<H256>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* A custom head data that should be returned as result of `validate_block`.
- *
+ *
* See [`Pallet::set_custom_validation_head_data`] for more information.
**/
customValidationHeadData: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;
@@ -259,35 +259,35 @@
didSetValidationCode: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The parachain host configuration that was obtained from the relay parent.
- *
+ *
* This field is meant to be updated each block with the validation data inherent. Therefore,
* before processing of the inherent, e.g. in `on_initialize` this data may be stale.
- *
+ *
* This data is also absent from the genesis.
**/
hostConfiguration: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV2AbridgedHostConfiguration>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* HRMP messages that were sent in a block.
- *
+ *
* This will be cleared in `on_initialize` of each new block.
**/
hrmpOutboundMessages: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotCorePrimitivesOutboundHrmpMessage>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* HRMP watermark that was set in a block.
- *
+ *
* This will be cleared in `on_initialize` of each new block.
**/
hrmpWatermark: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The last downward message queue chain head we have observed.
- *
+ *
* This value is loaded before and saved after processing inbound downward messages carried
* by the system inherent.
**/
lastDmqMqcHead: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The message queue chain heads we have observed per each channel incoming channel.
- *
+ *
* This value is loaded before and saved after processing inbound downward messages carried
* by the system inherent.
**/
@@ -295,7 +295,7 @@
/**
* Validation code that is set by the parachain and is to be communicated to collator and
* consequently the relay-chain.
- *
+ *
* This will be cleared in `on_initialize` of each new block if no other pallet already set
* the value.
**/
@@ -306,35 +306,35 @@
pendingUpwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* In case of a scheduled upgrade, this storage field contains the validation code to be applied.
- *
+ *
* As soon as the relay chain gives us the go-ahead signal, we will overwrite the [`:code`][well_known_keys::CODE]
* which will result the next block process with the new validation code. This concludes the upgrade process.
- *
+ *
* [well_known_keys::CODE]: sp_core::storage::well_known_keys::CODE
**/
pendingValidationCode: AugmentedQuery<ApiType, () => Observable<Bytes>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Number of downward messages processed in a block.
- *
+ *
* This will be cleared in `on_initialize` of each new block.
**/
processedDownwardMessages: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The state proof for the last relay parent block.
- *
+ *
* This field is meant to be updated each block with the validation data inherent. Therefore,
* before processing of the inherent, e.g. in `on_initialize` this data may be stale.
- *
+ *
* This data is also absent from the genesis.
**/
relayStateProof: AugmentedQuery<ApiType, () => Observable<Option<SpTrieStorageProof>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The snapshot of some state related to messaging relevant to the current parachain as per
* the relay parent.
- *
+ *
* This field is meant to be updated each block with the validation data inherent. Therefore,
* before processing of the inherent, e.g. in `on_initialize` this data may be stale.
- *
+ *
* This data is also absent from the genesis.
**/
relevantMessagingState: AugmentedQuery<ApiType, () => Observable<Option<CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot>>, []> & QueryableStorageEntry<ApiType, []>;
@@ -352,7 +352,7 @@
* An option which indicates if the relay-chain restricts signalling a validation code upgrade.
* In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the produced
* candidate will be invalid.
- *
+ *
* This storage item is a mirror of the corresponding value for the current parachain from the
* relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is
* set after the inherent.
@@ -360,7 +360,7 @@
upgradeRestrictionSignal: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV2UpgradeRestriction>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Upward messages that were sent in a block.
- *
+ *
* This will be cleared in `on_initialize` of each new block.
**/
upwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;
@@ -447,10 +447,10 @@
eventCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Events deposited for the current block.
- *
+ *
* NOTE: The item is unbound and should therefore never be read on chain.
* It could otherwise inflate the PoV size of a block.
- *
+ *
* Events have a large in-memory size. Box the events to not go out-of-memory
* just in case someone still reads them from within the runtime.
**/
@@ -458,11 +458,11 @@
/**
* Mapping between a topic (represented by T::Hash) and a vector of indexes
* of events in the `<Events<T>>` list.
- *
+ *
* All topic vectors have deterministic storage locations depending on the topic. This
* allows light-clients to leverage the changes trie storage tracking mechanism and
* in case of changes fetch the list of events of interest.
- *
+ *
* The value has the type `(T::BlockNumber, EventIndex)` because if we used only just
* the `EventIndex` then in case if the topic has the same contents on the next block
* no notification will be triggered thus the event might be lost.
@@ -587,7 +587,7 @@
vesting: {
/**
* Vesting schedules of an account.
- *
+ *
* VestingSchedules: map AccountId => Vec<VestingSchedule>
**/
vestingSchedules: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<OrmlVestingVestingSchedule>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
@@ -620,7 +620,7 @@
outboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<CumulusPalletXcmpQueueOutboundChannelDetails>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The messages that exceeded max individual message weight budget.
- *
+ *
* These message stay in this storage map until they are manually dispatched via
* `service_overweight`.
**/
tests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-rpc.ts
+++ b/tests/src/interfaces/augment-api-rpc.ts
@@ -639,6 +639,10 @@
**/
topmostTokenOwner: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<PalletEvmAccountBasicCrossAccountIdRepr>>>;
/**
+ * Get amount of unique collection tokens
+ **/
+ totalSupply: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u32>>;
+ /**
* Get token variable metadata
**/
variableMetadata: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Bytes>>;
tests/src/interfaces/augment-types.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-types.ts
+++ b/tests/src/interfaces/augment-types.ts
@@ -1,9 +1,9 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
-import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportPalletId, FrameSupportStorageBoundedBTreeSet, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1AbridgedHrmpChannel, PolkadotPrimitivesV1PersistedValidationData, PolkadotPrimitivesV1UpgradeRestriction, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionField, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsMetaUpdatePermission, UpDataStructsNestingRule, UpDataStructsRpcCollection, UpDataStructsSchemaVersion, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './unique';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportPalletId, FrameSupportStorageBoundedBTreeSet, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionField, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsMetaUpdatePermission, UpDataStructsNestingRule, UpDataStructsRpcCollection, UpDataStructsSchemaVersion, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './unique';
import type { Data, StorageKey } from '@polkadot/types';
-import type { BTreeSet, BitVec, Bool, Bytes, I128, I16, I256, I32, I64, I8, Json, Null, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';
+import type { BitVec, Bool, Bytes, I128, I16, I256, I32, I64, I8, Json, Null, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';
import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';
import type { BlockAttestations, IncludedBlocks, MoreAttestations } from '@polkadot/types/interfaces/attestations';
import type { RawAuraPreDigest } from '@polkadot/types/interfaces/aura';
@@ -177,7 +177,6 @@
BridgedBlockNumber: BridgedBlockNumber;
BridgedHeader: BridgedHeader;
BridgeMessageId: BridgeMessageId;
- BTreeSet: BTreeSet;
BufferedSessionChange: BufferedSessionChange;
Bytes: Bytes;
Call: Call;
tests/src/interfaces/lookup.tsdiffbeforeafterboth--- /dev/null
+++ b/tests/src/interfaces/lookup.ts
@@ -0,0 +1,2493 @@
+// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
+/* eslint-disable */
+
+/* eslint-disable sort-keys */
+
+export default {
+ /**
+ * Lookup2: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>
+ **/
+ PolkadotPrimitivesV2PersistedValidationData: {
+ parentHead: 'Bytes',
+ relayParentNumber: 'u32',
+ relayParentStorageRoot: 'H256',
+ maxPovSize: 'u32'
+ },
+ /**
+ * Lookup9: polkadot_primitives::v2::UpgradeRestriction
+ **/
+ PolkadotPrimitivesV2UpgradeRestriction: {
+ _enum: ['Present']
+ },
+ /**
+ * Lookup10: sp_trie::storage_proof::StorageProof
+ **/
+ SpTrieStorageProof: {
+ trieNodes: 'BTreeSet<Bytes>'
+ },
+ /**
+ * Lookup13: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot
+ **/
+ CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {
+ dmqMqcHead: 'H256',
+ relayDispatchQueueSize: '(u32,u32)',
+ ingressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>',
+ egressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>'
+ },
+ /**
+ * Lookup18: polkadot_primitives::v2::AbridgedHrmpChannel
+ **/
+ PolkadotPrimitivesV2AbridgedHrmpChannel: {
+ maxCapacity: 'u32',
+ maxTotalSize: 'u32',
+ maxMessageSize: 'u32',
+ msgCount: 'u32',
+ totalSize: 'u32',
+ mqcHead: 'Option<H256>'
+ },
+ /**
+ * Lookup20: polkadot_primitives::v2::AbridgedHostConfiguration
+ **/
+ PolkadotPrimitivesV2AbridgedHostConfiguration: {
+ maxCodeSize: 'u32',
+ maxHeadDataSize: 'u32',
+ maxUpwardQueueCount: 'u32',
+ maxUpwardQueueSize: 'u32',
+ maxUpwardMessageSize: 'u32',
+ maxUpwardMessageNumPerCandidate: 'u32',
+ hrmpMaxMessageNumPerCandidate: 'u32',
+ validationUpgradeCooldown: 'u32',
+ validationUpgradeDelay: 'u32'
+ },
+ /**
+ * Lookup26: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>
+ **/
+ PolkadotCorePrimitivesOutboundHrmpMessage: {
+ recipient: 'u32',
+ data: 'Bytes'
+ },
+ /**
+ * Lookup28: cumulus_pallet_parachain_system::pallet::Call<T>
+ **/
+ CumulusPalletParachainSystemCall: {
+ _enum: {
+ set_validation_data: {
+ data: 'CumulusPrimitivesParachainInherentParachainInherentData',
+ },
+ sudo_send_upward_message: {
+ message: 'Bytes',
+ },
+ authorize_upgrade: {
+ codeHash: 'H256',
+ },
+ enact_authorized_upgrade: {
+ code: 'Bytes'
+ }
+ }
+ },
+ /**
+ * Lookup29: cumulus_primitives_parachain_inherent::ParachainInherentData
+ **/
+ CumulusPrimitivesParachainInherentParachainInherentData: {
+ validationData: 'PolkadotPrimitivesV2PersistedValidationData',
+ relayChainState: 'SpTrieStorageProof',
+ downwardMessages: 'Vec<PolkadotCorePrimitivesInboundDownwardMessage>',
+ horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'
+ },
+ /**
+ * Lookup31: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
+ **/
+ PolkadotCorePrimitivesInboundDownwardMessage: {
+ sentAt: 'u32',
+ msg: 'Bytes'
+ },
+ /**
+ * Lookup34: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
+ **/
+ PolkadotCorePrimitivesInboundHrmpMessage: {
+ sentAt: 'u32',
+ data: 'Bytes'
+ },
+ /**
+ * Lookup37: cumulus_pallet_parachain_system::pallet::Event<T>
+ **/
+ CumulusPalletParachainSystemEvent: {
+ _enum: {
+ ValidationFunctionStored: 'Null',
+ ValidationFunctionApplied: 'u32',
+ ValidationFunctionDiscarded: 'Null',
+ UpgradeAuthorized: 'H256',
+ DownwardMessagesReceived: 'u32',
+ DownwardMessagesProcessed: '(u64,H256)'
+ }
+ },
+ /**
+ * Lookup38: cumulus_pallet_parachain_system::pallet::Error<T>
+ **/
+ CumulusPalletParachainSystemError: {
+ _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']
+ },
+ /**
+ * Lookup41: pallet_balances::AccountData<Balance>
+ **/
+ PalletBalancesAccountData: {
+ free: 'u128',
+ reserved: 'u128',
+ miscFrozen: 'u128',
+ feeFrozen: 'u128'
+ },
+ /**
+ * Lookup43: pallet_balances::BalanceLock<Balance>
+ **/
+ PalletBalancesBalanceLock: {
+ id: '[u8;8]',
+ amount: 'u128',
+ reasons: 'PalletBalancesReasons'
+ },
+ /**
+ * Lookup45: pallet_balances::Reasons
+ **/
+ PalletBalancesReasons: {
+ _enum: ['Fee', 'Misc', 'All']
+ },
+ /**
+ * Lookup48: pallet_balances::ReserveData<ReserveIdentifier, Balance>
+ **/
+ PalletBalancesReserveData: {
+ id: '[u8;8]',
+ amount: 'u128'
+ },
+ /**
+ * Lookup50: pallet_balances::Releases
+ **/
+ PalletBalancesReleases: {
+ _enum: ['V1_0_0', 'V2_0_0']
+ },
+ /**
+ * Lookup51: pallet_balances::pallet::Call<T, I>
+ **/
+ PalletBalancesCall: {
+ _enum: {
+ transfer: {
+ dest: 'MultiAddress',
+ value: 'Compact<u128>',
+ },
+ set_balance: {
+ who: 'MultiAddress',
+ newFree: 'Compact<u128>',
+ newReserved: 'Compact<u128>',
+ },
+ force_transfer: {
+ source: 'MultiAddress',
+ dest: 'MultiAddress',
+ value: 'Compact<u128>',
+ },
+ transfer_keep_alive: {
+ dest: 'MultiAddress',
+ value: 'Compact<u128>',
+ },
+ transfer_all: {
+ dest: 'MultiAddress',
+ keepAlive: 'bool',
+ },
+ force_unreserve: {
+ who: 'MultiAddress',
+ amount: 'u128'
+ }
+ }
+ },
+ /**
+ * Lookup57: pallet_balances::pallet::Event<T, I>
+ **/
+ PalletBalancesEvent: {
+ _enum: {
+ Endowed: {
+ account: 'AccountId32',
+ freeBalance: 'u128',
+ },
+ DustLost: {
+ account: 'AccountId32',
+ amount: 'u128',
+ },
+ Transfer: {
+ from: 'AccountId32',
+ to: 'AccountId32',
+ amount: 'u128',
+ },
+ BalanceSet: {
+ who: 'AccountId32',
+ free: 'u128',
+ reserved: 'u128',
+ },
+ Reserved: {
+ who: 'AccountId32',
+ amount: 'u128',
+ },
+ Unreserved: {
+ who: 'AccountId32',
+ amount: 'u128',
+ },
+ ReserveRepatriated: {
+ from: 'AccountId32',
+ to: 'AccountId32',
+ amount: 'u128',
+ destinationStatus: 'FrameSupportTokensMiscBalanceStatus',
+ },
+ Deposit: {
+ who: 'AccountId32',
+ amount: 'u128',
+ },
+ Withdraw: {
+ who: 'AccountId32',
+ amount: 'u128',
+ },
+ Slashed: {
+ who: 'AccountId32',
+ amount: 'u128'
+ }
+ }
+ },
+ /**
+ * Lookup58: frame_support::traits::tokens::misc::BalanceStatus
+ **/
+ FrameSupportTokensMiscBalanceStatus: {
+ _enum: ['Free', 'Reserved']
+ },
+ /**
+ * Lookup59: pallet_balances::pallet::Error<T, I>
+ **/
+ PalletBalancesError: {
+ _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']
+ },
+ /**
+ * Lookup62: pallet_timestamp::pallet::Call<T>
+ **/
+ PalletTimestampCall: {
+ _enum: {
+ set: {
+ now: 'Compact<u64>'
+ }
+ }
+ },
+ /**
+ * Lookup65: pallet_transaction_payment::Releases
+ **/
+ PalletTransactionPaymentReleases: {
+ _enum: ['V1Ancient', 'V2']
+ },
+ /**
+ * Lookup67: frame_support::weights::WeightToFeeCoefficient<Balance>
+ **/
+ FrameSupportWeightsWeightToFeeCoefficient: {
+ coeffInteger: 'u128',
+ coeffFrac: 'Perbill',
+ negative: 'bool',
+ degree: 'u8'
+ },
+ /**
+ * Lookup69: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
+ **/
+ PalletTreasuryProposal: {
+ proposer: 'AccountId32',
+ value: 'u128',
+ beneficiary: 'AccountId32',
+ bond: 'u128'
+ },
+ /**
+ * Lookup72: pallet_treasury::pallet::Call<T, I>
+ **/
+ PalletTreasuryCall: {
+ _enum: {
+ propose_spend: {
+ value: 'Compact<u128>',
+ beneficiary: 'MultiAddress',
+ },
+ reject_proposal: {
+ proposalId: 'Compact<u32>',
+ },
+ approve_proposal: {
+ proposalId: 'Compact<u32>'
+ }
+ }
+ },
+ /**
+ * Lookup74: pallet_treasury::pallet::Event<T, I>
+ **/
+ PalletTreasuryEvent: {
+ _enum: {
+ Proposed: {
+ proposalIndex: 'u32',
+ },
+ Spending: {
+ budgetRemaining: 'u128',
+ },
+ Awarded: {
+ proposalIndex: 'u32',
+ award: 'u128',
+ account: 'AccountId32',
+ },
+ Rejected: {
+ proposalIndex: 'u32',
+ slashed: 'u128',
+ },
+ Burnt: {
+ burntFunds: 'u128',
+ },
+ Rollover: {
+ rolloverBalance: 'u128',
+ },
+ Deposit: {
+ value: 'u128'
+ }
+ }
+ },
+ /**
+ * Lookup77: frame_support::PalletId
+ **/
+ FrameSupportPalletId: '[u8;8]',
+ /**
+ * Lookup78: pallet_treasury::pallet::Error<T, I>
+ **/
+ PalletTreasuryError: {
+ _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals']
+ },
+ /**
+ * Lookup79: pallet_sudo::pallet::Call<T>
+ **/
+ PalletSudoCall: {
+ _enum: {
+ sudo: {
+ call: 'Call',
+ },
+ sudo_unchecked_weight: {
+ call: 'Call',
+ weight: 'u64',
+ },
+ set_key: {
+ _alias: {
+ new_: 'new',
+ },
+ new_: 'MultiAddress',
+ },
+ sudo_as: {
+ who: 'MultiAddress',
+ call: 'Call'
+ }
+ }
+ },
+ /**
+ * Lookup81: frame_system::pallet::Call<T>
+ **/
+ FrameSystemCall: {
+ _enum: {
+ fill_block: {
+ ratio: 'Perbill',
+ },
+ remark: {
+ remark: 'Bytes',
+ },
+ set_heap_pages: {
+ pages: 'u64',
+ },
+ set_code: {
+ code: 'Bytes',
+ },
+ set_code_without_checks: {
+ code: 'Bytes',
+ },
+ set_storage: {
+ items: 'Vec<(Bytes,Bytes)>',
+ },
+ kill_storage: {
+ _alias: {
+ keys_: 'keys',
+ },
+ keys_: 'Vec<Bytes>',
+ },
+ kill_prefix: {
+ prefix: 'Bytes',
+ subkeys: 'u32',
+ },
+ remark_with_event: {
+ remark: 'Bytes'
+ }
+ }
+ },
+ /**
+ * Lookup84: orml_vesting::module::Call<T>
+ **/
+ OrmlVestingModuleCall: {
+ _enum: {
+ claim: 'Null',
+ vested_transfer: {
+ dest: 'MultiAddress',
+ schedule: 'OrmlVestingVestingSchedule',
+ },
+ update_vesting_schedules: {
+ who: 'MultiAddress',
+ vestingSchedules: 'Vec<OrmlVestingVestingSchedule>',
+ },
+ claim_for: {
+ dest: 'MultiAddress'
+ }
+ }
+ },
+ /**
+ * Lookup85: orml_vesting::VestingSchedule<BlockNumber, Balance>
+ **/
+ OrmlVestingVestingSchedule: {
+ start: 'u32',
+ period: 'u32',
+ periodCount: 'u32',
+ perPeriod: 'Compact<u128>'
+ },
+ /**
+ * Lookup87: cumulus_pallet_xcmp_queue::pallet::Call<T>
+ **/
+ CumulusPalletXcmpQueueCall: {
+ _enum: {
+ service_overweight: {
+ index: 'u64',
+ weightLimit: 'u64',
+ },
+ suspend_xcm_execution: 'Null',
+ resume_xcm_execution: 'Null',
+ update_suspend_threshold: {
+ _alias: {
+ new_: 'new',
+ },
+ new_: 'u32',
+ },
+ update_drop_threshold: {
+ _alias: {
+ new_: 'new',
+ },
+ new_: 'u32',
+ },
+ update_resume_threshold: {
+ _alias: {
+ new_: 'new',
+ },
+ new_: 'u32',
+ },
+ update_threshold_weight: {
+ _alias: {
+ new_: 'new',
+ },
+ new_: 'u64',
+ },
+ update_weight_restrict_decay: {
+ _alias: {
+ new_: 'new',
+ },
+ new_: 'u64',
+ },
+ update_xcmp_max_individual_weight: {
+ _alias: {
+ new_: 'new',
+ },
+ new_: 'u64'
+ }
+ }
+ },
+ /**
+ * Lookup88: pallet_xcm::pallet::Call<T>
+ **/
+ PalletXcmCall: {
+ _enum: {
+ send: {
+ dest: 'XcmVersionedMultiLocation',
+ message: 'XcmVersionedXcm',
+ },
+ teleport_assets: {
+ dest: 'XcmVersionedMultiLocation',
+ beneficiary: 'XcmVersionedMultiLocation',
+ assets: 'XcmVersionedMultiAssets',
+ feeAssetItem: 'u32',
+ },
+ reserve_transfer_assets: {
+ dest: 'XcmVersionedMultiLocation',
+ beneficiary: 'XcmVersionedMultiLocation',
+ assets: 'XcmVersionedMultiAssets',
+ feeAssetItem: 'u32',
+ },
+ execute: {
+ message: 'XcmVersionedXcm',
+ maxWeight: 'u64',
+ },
+ force_xcm_version: {
+ location: 'XcmV1MultiLocation',
+ xcmVersion: 'u32',
+ },
+ force_default_xcm_version: {
+ maybeXcmVersion: 'Option<u32>',
+ },
+ force_subscribe_version_notify: {
+ location: 'XcmVersionedMultiLocation',
+ },
+ force_unsubscribe_version_notify: {
+ location: 'XcmVersionedMultiLocation',
+ },
+ limited_reserve_transfer_assets: {
+ dest: 'XcmVersionedMultiLocation',
+ beneficiary: 'XcmVersionedMultiLocation',
+ assets: 'XcmVersionedMultiAssets',
+ feeAssetItem: 'u32',
+ weightLimit: 'XcmV2WeightLimit',
+ },
+ limited_teleport_assets: {
+ dest: 'XcmVersionedMultiLocation',
+ beneficiary: 'XcmVersionedMultiLocation',
+ assets: 'XcmVersionedMultiAssets',
+ feeAssetItem: 'u32',
+ weightLimit: 'XcmV2WeightLimit'
+ }
+ }
+ },
+ /**
+ * Lookup89: xcm::VersionedMultiLocation
+ **/
+ XcmVersionedMultiLocation: {
+ _enum: {
+ V0: 'XcmV0MultiLocation',
+ V1: 'XcmV1MultiLocation'
+ }
+ },
+ /**
+ * Lookup90: xcm::v0::multi_location::MultiLocation
+ **/
+ XcmV0MultiLocation: {
+ _enum: {
+ Null: 'Null',
+ X1: 'XcmV0Junction',
+ X2: '(XcmV0Junction,XcmV0Junction)',
+ X3: '(XcmV0Junction,XcmV0Junction,XcmV0Junction)',
+ X4: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',
+ X5: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',
+ X6: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',
+ X7: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',
+ X8: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)'
+ }
+ },
+ /**
+ * Lookup91: xcm::v0::junction::Junction
+ **/
+ XcmV0Junction: {
+ _enum: {
+ Parent: 'Null',
+ Parachain: 'Compact<u32>',
+ AccountId32: {
+ network: 'XcmV0JunctionNetworkId',
+ id: '[u8;32]',
+ },
+ AccountIndex64: {
+ network: 'XcmV0JunctionNetworkId',
+ index: 'Compact<u64>',
+ },
+ AccountKey20: {
+ network: 'XcmV0JunctionNetworkId',
+ key: '[u8;20]',
+ },
+ PalletInstance: 'u8',
+ GeneralIndex: 'Compact<u128>',
+ GeneralKey: 'Bytes',
+ OnlyChild: 'Null',
+ Plurality: {
+ id: 'XcmV0JunctionBodyId',
+ part: 'XcmV0JunctionBodyPart'
+ }
+ }
+ },
+ /**
+ * Lookup92: xcm::v0::junction::NetworkId
+ **/
+ XcmV0JunctionNetworkId: {
+ _enum: {
+ Any: 'Null',
+ Named: 'Bytes',
+ Polkadot: 'Null',
+ Kusama: 'Null'
+ }
+ },
+ /**
+ * Lookup93: xcm::v0::junction::BodyId
+ **/
+ XcmV0JunctionBodyId: {
+ _enum: {
+ Unit: 'Null',
+ Named: 'Bytes',
+ Index: 'Compact<u32>',
+ Executive: 'Null',
+ Technical: 'Null',
+ Legislative: 'Null',
+ Judicial: 'Null'
+ }
+ },
+ /**
+ * Lookup94: xcm::v0::junction::BodyPart
+ **/
+ XcmV0JunctionBodyPart: {
+ _enum: {
+ Voice: 'Null',
+ Members: {
+ count: 'Compact<u32>',
+ },
+ Fraction: {
+ nom: 'Compact<u32>',
+ denom: 'Compact<u32>',
+ },
+ AtLeastProportion: {
+ nom: 'Compact<u32>',
+ denom: 'Compact<u32>',
+ },
+ MoreThanProportion: {
+ nom: 'Compact<u32>',
+ denom: 'Compact<u32>'
+ }
+ }
+ },
+ /**
+ * Lookup95: xcm::v1::multilocation::MultiLocation
+ **/
+ XcmV1MultiLocation: {
+ parents: 'u8',
+ interior: 'XcmV1MultilocationJunctions'
+ },
+ /**
+ * Lookup96: xcm::v1::multilocation::Junctions
+ **/
+ XcmV1MultilocationJunctions: {
+ _enum: {
+ Here: 'Null',
+ X1: 'XcmV1Junction',
+ X2: '(XcmV1Junction,XcmV1Junction)',
+ X3: '(XcmV1Junction,XcmV1Junction,XcmV1Junction)',
+ X4: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',
+ X5: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',
+ X6: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',
+ X7: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',
+ X8: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)'
+ }
+ },
+ /**
+ * Lookup97: xcm::v1::junction::Junction
+ **/
+ XcmV1Junction: {
+ _enum: {
+ Parachain: 'Compact<u32>',
+ AccountId32: {
+ network: 'XcmV0JunctionNetworkId',
+ id: '[u8;32]',
+ },
+ AccountIndex64: {
+ network: 'XcmV0JunctionNetworkId',
+ index: 'Compact<u64>',
+ },
+ AccountKey20: {
+ network: 'XcmV0JunctionNetworkId',
+ key: '[u8;20]',
+ },
+ PalletInstance: 'u8',
+ GeneralIndex: 'Compact<u128>',
+ GeneralKey: 'Bytes',
+ OnlyChild: 'Null',
+ Plurality: {
+ id: 'XcmV0JunctionBodyId',
+ part: 'XcmV0JunctionBodyPart'
+ }
+ }
+ },
+ /**
+ * Lookup98: xcm::VersionedXcm<Call>
+ **/
+ XcmVersionedXcm: {
+ _enum: {
+ V0: 'XcmV0Xcm',
+ V1: 'XcmV1Xcm',
+ V2: 'XcmV2Xcm'
+ }
+ },
+ /**
+ * Lookup99: xcm::v0::Xcm<Call>
+ **/
+ XcmV0Xcm: {
+ _enum: {
+ WithdrawAsset: {
+ assets: 'Vec<XcmV0MultiAsset>',
+ effects: 'Vec<XcmV0Order>',
+ },
+ ReserveAssetDeposit: {
+ assets: 'Vec<XcmV0MultiAsset>',
+ effects: 'Vec<XcmV0Order>',
+ },
+ TeleportAsset: {
+ assets: 'Vec<XcmV0MultiAsset>',
+ effects: 'Vec<XcmV0Order>',
+ },
+ QueryResponse: {
+ queryId: 'Compact<u64>',
+ response: 'XcmV0Response',
+ },
+ TransferAsset: {
+ assets: 'Vec<XcmV0MultiAsset>',
+ dest: 'XcmV0MultiLocation',
+ },
+ TransferReserveAsset: {
+ assets: 'Vec<XcmV0MultiAsset>',
+ dest: 'XcmV0MultiLocation',
+ effects: 'Vec<XcmV0Order>',
+ },
+ Transact: {
+ originType: 'XcmV0OriginKind',
+ requireWeightAtMost: 'u64',
+ call: 'XcmDoubleEncoded',
+ },
+ HrmpNewChannelOpenRequest: {
+ sender: 'Compact<u32>',
+ maxMessageSize: 'Compact<u32>',
+ maxCapacity: 'Compact<u32>',
+ },
+ HrmpChannelAccepted: {
+ recipient: 'Compact<u32>',
+ },
+ HrmpChannelClosing: {
+ initiator: 'Compact<u32>',
+ sender: 'Compact<u32>',
+ recipient: 'Compact<u32>',
+ },
+ RelayedFrom: {
+ who: 'XcmV0MultiLocation',
+ message: 'XcmV0Xcm'
+ }
+ }
+ },
+ /**
+ * Lookup101: xcm::v0::multi_asset::MultiAsset
+ **/
+ XcmV0MultiAsset: {
+ _enum: {
+ None: 'Null',
+ All: 'Null',
+ AllFungible: 'Null',
+ AllNonFungible: 'Null',
+ AllAbstractFungible: {
+ id: 'Bytes',
+ },
+ AllAbstractNonFungible: {
+ class: 'Bytes',
+ },
+ AllConcreteFungible: {
+ id: 'XcmV0MultiLocation',
+ },
+ AllConcreteNonFungible: {
+ class: 'XcmV0MultiLocation',
+ },
+ AbstractFungible: {
+ id: 'Bytes',
+ amount: 'Compact<u128>',
+ },
+ AbstractNonFungible: {
+ class: 'Bytes',
+ instance: 'XcmV1MultiassetAssetInstance',
+ },
+ ConcreteFungible: {
+ id: 'XcmV0MultiLocation',
+ amount: 'Compact<u128>',
+ },
+ ConcreteNonFungible: {
+ class: 'XcmV0MultiLocation',
+ instance: 'XcmV1MultiassetAssetInstance'
+ }
+ }
+ },
+ /**
+ * Lookup102: xcm::v1::multiasset::AssetInstance
+ **/
+ XcmV1MultiassetAssetInstance: {
+ _enum: {
+ Undefined: 'Null',
+ Index: 'Compact<u128>',
+ Array4: '[u8;4]',
+ Array8: '[u8;8]',
+ Array16: '[u8;16]',
+ Array32: '[u8;32]',
+ Blob: 'Bytes'
+ }
+ },
+ /**
+ * Lookup106: xcm::v0::order::Order<Call>
+ **/
+ XcmV0Order: {
+ _enum: {
+ Null: 'Null',
+ DepositAsset: {
+ assets: 'Vec<XcmV0MultiAsset>',
+ dest: 'XcmV0MultiLocation',
+ },
+ DepositReserveAsset: {
+ assets: 'Vec<XcmV0MultiAsset>',
+ dest: 'XcmV0MultiLocation',
+ effects: 'Vec<XcmV0Order>',
+ },
+ ExchangeAsset: {
+ give: 'Vec<XcmV0MultiAsset>',
+ receive: 'Vec<XcmV0MultiAsset>',
+ },
+ InitiateReserveWithdraw: {
+ assets: 'Vec<XcmV0MultiAsset>',
+ reserve: 'XcmV0MultiLocation',
+ effects: 'Vec<XcmV0Order>',
+ },
+ InitiateTeleport: {
+ assets: 'Vec<XcmV0MultiAsset>',
+ dest: 'XcmV0MultiLocation',
+ effects: 'Vec<XcmV0Order>',
+ },
+ QueryHolding: {
+ queryId: 'Compact<u64>',
+ dest: 'XcmV0MultiLocation',
+ assets: 'Vec<XcmV0MultiAsset>',
+ },
+ BuyExecution: {
+ fees: 'XcmV0MultiAsset',
+ weight: 'u64',
+ debt: 'u64',
+ haltOnError: 'bool',
+ xcm: 'Vec<XcmV0Xcm>'
+ }
+ }
+ },
+ /**
+ * Lookup108: xcm::v0::Response
+ **/
+ XcmV0Response: {
+ _enum: {
+ Assets: 'Vec<XcmV0MultiAsset>'
+ }
+ },
+ /**
+ * Lookup109: xcm::v0::OriginKind
+ **/
+ XcmV0OriginKind: {
+ _enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']
+ },
+ /**
+ * Lookup110: xcm::double_encoded::DoubleEncoded<T>
+ **/
+ XcmDoubleEncoded: {
+ encoded: 'Bytes'
+ },
+ /**
+ * Lookup111: xcm::v1::Xcm<Call>
+ **/
+ XcmV1Xcm: {
+ _enum: {
+ WithdrawAsset: {
+ assets: 'XcmV1MultiassetMultiAssets',
+ effects: 'Vec<XcmV1Order>',
+ },
+ ReserveAssetDeposited: {
+ assets: 'XcmV1MultiassetMultiAssets',
+ effects: 'Vec<XcmV1Order>',
+ },
+ ReceiveTeleportedAsset: {
+ assets: 'XcmV1MultiassetMultiAssets',
+ effects: 'Vec<XcmV1Order>',
+ },
+ QueryResponse: {
+ queryId: 'Compact<u64>',
+ response: 'XcmV1Response',
+ },
+ TransferAsset: {
+ assets: 'XcmV1MultiassetMultiAssets',
+ beneficiary: 'XcmV1MultiLocation',
+ },
+ TransferReserveAsset: {
+ assets: 'XcmV1MultiassetMultiAssets',
+ dest: 'XcmV1MultiLocation',
+ effects: 'Vec<XcmV1Order>',
+ },
+ Transact: {
+ originType: 'XcmV0OriginKind',
+ requireWeightAtMost: 'u64',
+ call: 'XcmDoubleEncoded',
+ },
+ HrmpNewChannelOpenRequest: {
+ sender: 'Compact<u32>',
+ maxMessageSize: 'Compact<u32>',
+ maxCapacity: 'Compact<u32>',
+ },
+ HrmpChannelAccepted: {
+ recipient: 'Compact<u32>',
+ },
+ HrmpChannelClosing: {
+ initiator: 'Compact<u32>',
+ sender: 'Compact<u32>',
+ recipient: 'Compact<u32>',
+ },
+ RelayedFrom: {
+ who: 'XcmV1MultilocationJunctions',
+ message: 'XcmV1Xcm',
+ },
+ SubscribeVersion: {
+ queryId: 'Compact<u64>',
+ maxResponseWeight: 'Compact<u64>',
+ },
+ UnsubscribeVersion: 'Null'
+ }
+ },
+ /**
+ * Lookup112: xcm::v1::multiasset::MultiAssets
+ **/
+ XcmV1MultiassetMultiAssets: 'Vec<XcmV1MultiAsset>',
+ /**
+ * Lookup114: xcm::v1::multiasset::MultiAsset
+ **/
+ XcmV1MultiAsset: {
+ id: 'XcmV1MultiassetAssetId',
+ fun: 'XcmV1MultiassetFungibility'
+ },
+ /**
+ * Lookup115: xcm::v1::multiasset::AssetId
+ **/
+ XcmV1MultiassetAssetId: {
+ _enum: {
+ Concrete: 'XcmV1MultiLocation',
+ Abstract: 'Bytes'
+ }
+ },
+ /**
+ * Lookup116: xcm::v1::multiasset::Fungibility
+ **/
+ XcmV1MultiassetFungibility: {
+ _enum: {
+ Fungible: 'Compact<u128>',
+ NonFungible: 'XcmV1MultiassetAssetInstance'
+ }
+ },
+ /**
+ * Lookup118: xcm::v1::order::Order<Call>
+ **/
+ XcmV1Order: {
+ _enum: {
+ Noop: 'Null',
+ DepositAsset: {
+ assets: 'XcmV1MultiassetMultiAssetFilter',
+ maxAssets: 'u32',
+ beneficiary: 'XcmV1MultiLocation',
+ },
+ DepositReserveAsset: {
+ assets: 'XcmV1MultiassetMultiAssetFilter',
+ maxAssets: 'u32',
+ dest: 'XcmV1MultiLocation',
+ effects: 'Vec<XcmV1Order>',
+ },
+ ExchangeAsset: {
+ give: 'XcmV1MultiassetMultiAssetFilter',
+ receive: 'XcmV1MultiassetMultiAssets',
+ },
+ InitiateReserveWithdraw: {
+ assets: 'XcmV1MultiassetMultiAssetFilter',
+ reserve: 'XcmV1MultiLocation',
+ effects: 'Vec<XcmV1Order>',
+ },
+ InitiateTeleport: {
+ assets: 'XcmV1MultiassetMultiAssetFilter',
+ dest: 'XcmV1MultiLocation',
+ effects: 'Vec<XcmV1Order>',
+ },
+ QueryHolding: {
+ queryId: 'Compact<u64>',
+ dest: 'XcmV1MultiLocation',
+ assets: 'XcmV1MultiassetMultiAssetFilter',
+ },
+ BuyExecution: {
+ fees: 'XcmV1MultiAsset',
+ weight: 'u64',
+ debt: 'u64',
+ haltOnError: 'bool',
+ instructions: 'Vec<XcmV1Xcm>'
+ }
+ }
+ },
+ /**
+ * Lookup119: xcm::v1::multiasset::MultiAssetFilter
+ **/
+ XcmV1MultiassetMultiAssetFilter: {
+ _enum: {
+ Definite: 'XcmV1MultiassetMultiAssets',
+ Wild: 'XcmV1MultiassetWildMultiAsset'
+ }
+ },
+ /**
+ * Lookup120: xcm::v1::multiasset::WildMultiAsset
+ **/
+ XcmV1MultiassetWildMultiAsset: {
+ _enum: {
+ All: 'Null',
+ AllOf: {
+ id: 'XcmV1MultiassetAssetId',
+ fun: 'XcmV1MultiassetWildFungibility'
+ }
+ }
+ },
+ /**
+ * Lookup121: xcm::v1::multiasset::WildFungibility
+ **/
+ XcmV1MultiassetWildFungibility: {
+ _enum: ['Fungible', 'NonFungible']
+ },
+ /**
+ * Lookup123: xcm::v1::Response
+ **/
+ XcmV1Response: {
+ _enum: {
+ Assets: 'XcmV1MultiassetMultiAssets',
+ Version: 'u32'
+ }
+ },
+ /**
+ * Lookup124: xcm::v2::Xcm<Call>
+ **/
+ XcmV2Xcm: 'Vec<XcmV2Instruction>',
+ /**
+ * Lookup126: xcm::v2::Instruction<Call>
+ **/
+ XcmV2Instruction: {
+ _enum: {
+ WithdrawAsset: 'XcmV1MultiassetMultiAssets',
+ ReserveAssetDeposited: 'XcmV1MultiassetMultiAssets',
+ ReceiveTeleportedAsset: 'XcmV1MultiassetMultiAssets',
+ QueryResponse: {
+ queryId: 'Compact<u64>',
+ response: 'XcmV2Response',
+ maxWeight: 'Compact<u64>',
+ },
+ TransferAsset: {
+ assets: 'XcmV1MultiassetMultiAssets',
+ beneficiary: 'XcmV1MultiLocation',
+ },
+ TransferReserveAsset: {
+ assets: 'XcmV1MultiassetMultiAssets',
+ dest: 'XcmV1MultiLocation',
+ xcm: 'XcmV2Xcm',
+ },
+ Transact: {
+ originType: 'XcmV0OriginKind',
+ requireWeightAtMost: 'Compact<u64>',
+ call: 'XcmDoubleEncoded',
+ },
+ HrmpNewChannelOpenRequest: {
+ sender: 'Compact<u32>',
+ maxMessageSize: 'Compact<u32>',
+ maxCapacity: 'Compact<u32>',
+ },
+ HrmpChannelAccepted: {
+ recipient: 'Compact<u32>',
+ },
+ HrmpChannelClosing: {
+ initiator: 'Compact<u32>',
+ sender: 'Compact<u32>',
+ recipient: 'Compact<u32>',
+ },
+ ClearOrigin: 'Null',
+ DescendOrigin: 'XcmV1MultilocationJunctions',
+ ReportError: {
+ queryId: 'Compact<u64>',
+ dest: 'XcmV1MultiLocation',
+ maxResponseWeight: 'Compact<u64>',
+ },
+ DepositAsset: {
+ assets: 'XcmV1MultiassetMultiAssetFilter',
+ maxAssets: 'Compact<u32>',
+ beneficiary: 'XcmV1MultiLocation',
+ },
+ DepositReserveAsset: {
+ assets: 'XcmV1MultiassetMultiAssetFilter',
+ maxAssets: 'Compact<u32>',
+ dest: 'XcmV1MultiLocation',
+ xcm: 'XcmV2Xcm',
+ },
+ ExchangeAsset: {
+ give: 'XcmV1MultiassetMultiAssetFilter',
+ receive: 'XcmV1MultiassetMultiAssets',
+ },
+ InitiateReserveWithdraw: {
+ assets: 'XcmV1MultiassetMultiAssetFilter',
+ reserve: 'XcmV1MultiLocation',
+ xcm: 'XcmV2Xcm',
+ },
+ InitiateTeleport: {
+ assets: 'XcmV1MultiassetMultiAssetFilter',
+ dest: 'XcmV1MultiLocation',
+ xcm: 'XcmV2Xcm',
+ },
+ QueryHolding: {
+ queryId: 'Compact<u64>',
+ dest: 'XcmV1MultiLocation',
+ assets: 'XcmV1MultiassetMultiAssetFilter',
+ maxResponseWeight: 'Compact<u64>',
+ },
+ BuyExecution: {
+ fees: 'XcmV1MultiAsset',
+ weightLimit: 'XcmV2WeightLimit',
+ },
+ RefundSurplus: 'Null',
+ SetErrorHandler: 'XcmV2Xcm',
+ SetAppendix: 'XcmV2Xcm',
+ ClearError: 'Null',
+ ClaimAsset: {
+ assets: 'XcmV1MultiassetMultiAssets',
+ ticket: 'XcmV1MultiLocation',
+ },
+ Trap: 'Compact<u64>',
+ SubscribeVersion: {
+ queryId: 'Compact<u64>',
+ maxResponseWeight: 'Compact<u64>',
+ },
+ UnsubscribeVersion: 'Null'
+ }
+ },
+ /**
+ * Lookup127: xcm::v2::Response
+ **/
+ XcmV2Response: {
+ _enum: {
+ Null: 'Null',
+ Assets: 'XcmV1MultiassetMultiAssets',
+ ExecutionResult: 'Option<(u32,XcmV2TraitsError)>',
+ Version: 'u32'
+ }
+ },
+ /**
+ * Lookup130: xcm::v2::traits::Error
+ **/
+ XcmV2TraitsError: {
+ _enum: {
+ Overflow: 'Null',
+ Unimplemented: 'Null',
+ UntrustedReserveLocation: 'Null',
+ UntrustedTeleportLocation: 'Null',
+ MultiLocationFull: 'Null',
+ MultiLocationNotInvertible: 'Null',
+ BadOrigin: 'Null',
+ InvalidLocation: 'Null',
+ AssetNotFound: 'Null',
+ FailedToTransactAsset: 'Null',
+ NotWithdrawable: 'Null',
+ LocationCannotHold: 'Null',
+ ExceedsMaxMessageSize: 'Null',
+ DestinationUnsupported: 'Null',
+ Transport: 'Null',
+ Unroutable: 'Null',
+ UnknownClaim: 'Null',
+ FailedToDecode: 'Null',
+ MaxWeightInvalid: 'Null',
+ NotHoldingFees: 'Null',
+ TooExpensive: 'Null',
+ Trap: 'u64',
+ UnhandledXcmVersion: 'Null',
+ WeightLimitReached: 'u64',
+ Barrier: 'Null',
+ WeightNotComputable: 'Null'
+ }
+ },
+ /**
+ * Lookup131: xcm::v2::WeightLimit
+ **/
+ XcmV2WeightLimit: {
+ _enum: {
+ Unlimited: 'Null',
+ Limited: 'Compact<u64>'
+ }
+ },
+ /**
+ * Lookup132: xcm::VersionedMultiAssets
+ **/
+ XcmVersionedMultiAssets: {
+ _enum: {
+ V0: 'Vec<XcmV0MultiAsset>',
+ V1: 'XcmV1MultiassetMultiAssets'
+ }
+ },
+ /**
+ * Lookup147: cumulus_pallet_xcm::pallet::Call<T>
+ **/
+ CumulusPalletXcmCall: 'Null',
+ /**
+ * Lookup148: cumulus_pallet_dmp_queue::pallet::Call<T>
+ **/
+ CumulusPalletDmpQueueCall: {
+ _enum: {
+ service_overweight: {
+ index: 'u64',
+ weightLimit: 'u64'
+ }
+ }
+ },
+ /**
+ * Lookup149: pallet_inflation::pallet::Call<T>
+ **/
+ PalletInflationCall: {
+ _enum: {
+ start_inflation: {
+ inflationStartRelayBlock: 'u32'
+ }
+ }
+ },
+ /**
+ * Lookup150: pallet_unique::Call<T>
+ **/
+ PalletUniqueCall: {
+ _enum: {
+ create_collection: {
+ collectionName: 'Vec<u16>',
+ collectionDescription: 'Vec<u16>',
+ tokenPrefix: 'Bytes',
+ mode: 'UpDataStructsCollectionMode',
+ },
+ create_collection_ex: {
+ data: 'UpDataStructsCreateCollectionData',
+ },
+ destroy_collection: {
+ collectionId: 'u32',
+ },
+ add_to_allow_list: {
+ collectionId: 'u32',
+ address: 'PalletEvmAccountBasicCrossAccountIdRepr',
+ },
+ remove_from_allow_list: {
+ collectionId: 'u32',
+ address: 'PalletEvmAccountBasicCrossAccountIdRepr',
+ },
+ set_public_access_mode: {
+ collectionId: 'u32',
+ mode: 'UpDataStructsAccessMode',
+ },
+ set_mint_permission: {
+ collectionId: 'u32',
+ mintPermission: 'bool',
+ },
+ change_collection_owner: {
+ collectionId: 'u32',
+ newOwner: 'AccountId32',
+ },
+ add_collection_admin: {
+ collectionId: 'u32',
+ newAdminId: 'PalletEvmAccountBasicCrossAccountIdRepr',
+ },
+ remove_collection_admin: {
+ collectionId: 'u32',
+ accountId: 'PalletEvmAccountBasicCrossAccountIdRepr',
+ },
+ set_collection_sponsor: {
+ collectionId: 'u32',
+ newSponsor: 'AccountId32',
+ },
+ confirm_sponsorship: {
+ collectionId: 'u32',
+ },
+ remove_collection_sponsor: {
+ collectionId: 'u32',
+ },
+ create_item: {
+ collectionId: 'u32',
+ owner: 'PalletEvmAccountBasicCrossAccountIdRepr',
+ data: 'UpDataStructsCreateItemData',
+ },
+ create_multiple_items: {
+ collectionId: 'u32',
+ owner: 'PalletEvmAccountBasicCrossAccountIdRepr',
+ itemsData: 'Vec<UpDataStructsCreateItemData>',
+ },
+ create_multiple_items_ex: {
+ collectionId: 'u32',
+ data: 'UpDataStructsCreateItemExData',
+ },
+ set_transfers_enabled_flag: {
+ collectionId: 'u32',
+ value: 'bool',
+ },
+ burn_item: {
+ collectionId: 'u32',
+ itemId: 'u32',
+ value: 'u128',
+ },
+ burn_from: {
+ collectionId: 'u32',
+ from: 'PalletEvmAccountBasicCrossAccountIdRepr',
+ itemId: 'u32',
+ value: 'u128',
+ },
+ transfer: {
+ recipient: 'PalletEvmAccountBasicCrossAccountIdRepr',
+ collectionId: 'u32',
+ itemId: 'u32',
+ value: 'u128',
+ },
+ approve: {
+ spender: 'PalletEvmAccountBasicCrossAccountIdRepr',
+ collectionId: 'u32',
+ itemId: 'u32',
+ amount: 'u128',
+ },
+ transfer_from: {
+ from: 'PalletEvmAccountBasicCrossAccountIdRepr',
+ recipient: 'PalletEvmAccountBasicCrossAccountIdRepr',
+ collectionId: 'u32',
+ itemId: 'u32',
+ value: 'u128',
+ },
+ set_variable_meta_data: {
+ collectionId: 'u32',
+ itemId: 'u32',
+ data: 'Bytes',
+ },
+ set_meta_update_permission_flag: {
+ collectionId: 'u32',
+ value: 'UpDataStructsMetaUpdatePermission',
+ },
+ set_schema_version: {
+ collectionId: 'u32',
+ version: 'UpDataStructsSchemaVersion',
+ },
+ set_offchain_schema: {
+ collectionId: 'u32',
+ schema: 'Bytes',
+ },
+ set_const_on_chain_schema: {
+ collectionId: 'u32',
+ schema: 'Bytes',
+ },
+ set_variable_on_chain_schema: {
+ collectionId: 'u32',
+ schema: 'Bytes',
+ },
+ set_collection_limits: {
+ collectionId: 'u32',
+ newLimit: 'UpDataStructsCollectionLimits'
+ }
+ }
+ },
+ /**
+ * Lookup156: up_data_structs::CollectionMode
+ **/
+ UpDataStructsCollectionMode: {
+ _enum: {
+ NFT: 'Null',
+ Fungible: 'u8',
+ ReFungible: 'Null'
+ }
+ },
+ /**
+ * Lookup157: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>
+ **/
+ UpDataStructsCreateCollectionData: {
+ mode: 'UpDataStructsCollectionMode',
+ access: 'Option<UpDataStructsAccessMode>',
+ name: 'Vec<u16>',
+ description: 'Vec<u16>',
+ tokenPrefix: 'Bytes',
+ offchainSchema: 'Bytes',
+ schemaVersion: 'Option<UpDataStructsSchemaVersion>',
+ pendingSponsor: 'Option<AccountId32>',
+ limits: 'Option<UpDataStructsCollectionLimits>',
+ variableOnChainSchema: 'Bytes',
+ constOnChainSchema: 'Bytes',
+ metaUpdatePermission: 'Option<UpDataStructsMetaUpdatePermission>'
+ },
+ /**
+ * Lookup159: up_data_structs::AccessMode
+ **/
+ UpDataStructsAccessMode: {
+ _enum: ['Normal', 'AllowList']
+ },
+ /**
+ * Lookup162: up_data_structs::SchemaVersion
+ **/
+ UpDataStructsSchemaVersion: {
+ _enum: ['ImageURL', 'Unique']
+ },
+ /**
+ * Lookup165: up_data_structs::CollectionLimits
+ **/
+ UpDataStructsCollectionLimits: {
+ accountTokenOwnershipLimit: 'Option<u32>',
+ sponsoredDataSize: 'Option<u32>',
+ sponsoredDataRateLimit: 'Option<UpDataStructsSponsoringRateLimit>',
+ tokenLimit: 'Option<u32>',
+ sponsorTransferTimeout: 'Option<u32>',
+ sponsorApproveTimeout: 'Option<u32>',
+ ownerCanTransfer: 'Option<bool>',
+ ownerCanDestroy: 'Option<bool>',
+ transfersEnabled: 'Option<bool>',
+ nestingRule: 'Option<UpDataStructsNestingRule>'
+ },
+ /**
+ * Lookup167: up_data_structs::SponsoringRateLimit
+ **/
+ UpDataStructsSponsoringRateLimit: {
+ _enum: {
+ SponsoringDisabled: 'Null',
+ Blocks: 'u32'
+ }
+ },
+ /**
+ * Lookup170: up_data_structs::NestingRule
+ **/
+ UpDataStructsNestingRule: {
+ _enum: {
+ Disabled: 'Null',
+ Owner: 'Null',
+ OwnerRestricted: 'FrameSupportStorageBoundedBTreeSet'
+ }
+ },
+ /**
+ * Lookup171: frame_support::storage::bounded_btree_set::BoundedBTreeSet<up_data_structs::CollectionId, S>
+ **/
+ FrameSupportStorageBoundedBTreeSet: 'BTreeSet<u32>',
+ /**
+ * Lookup177: up_data_structs::MetaUpdatePermission
+ **/
+ UpDataStructsMetaUpdatePermission: {
+ _enum: ['ItemOwner', 'Admin', 'None']
+ },
+ /**
+ * Lookup178: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>
+ **/
+ PalletEvmAccountBasicCrossAccountIdRepr: {
+ _enum: {
+ Substrate: 'AccountId32',
+ Ethereum: 'H160'
+ }
+ },
+ /**
+ * Lookup180: up_data_structs::CreateItemData
+ **/
+ UpDataStructsCreateItemData: {
+ _enum: {
+ NFT: 'UpDataStructsCreateNftData',
+ Fungible: 'UpDataStructsCreateFungibleData',
+ ReFungible: 'UpDataStructsCreateReFungibleData'
+ }
+ },
+ /**
+ * Lookup181: up_data_structs::CreateNftData
+ **/
+ UpDataStructsCreateNftData: {
+ constData: 'Bytes',
+ variableData: 'Bytes'
+ },
+ /**
+ * Lookup183: up_data_structs::CreateFungibleData
+ **/
+ UpDataStructsCreateFungibleData: {
+ value: 'u128'
+ },
+ /**
+ * Lookup184: up_data_structs::CreateReFungibleData
+ **/
+ UpDataStructsCreateReFungibleData: {
+ constData: 'Bytes',
+ variableData: 'Bytes',
+ pieces: 'u128'
+ },
+ /**
+ * Lookup186: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ **/
+ UpDataStructsCreateItemExData: {
+ _enum: {
+ NFT: 'Vec<UpDataStructsCreateNftExData>',
+ Fungible: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',
+ RefungibleMultipleItems: 'Vec<UpDataStructsCreateRefungibleExData>',
+ RefungibleMultipleOwners: 'UpDataStructsCreateRefungibleExData'
+ }
+ },
+ /**
+ * Lookup188: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ **/
+ UpDataStructsCreateNftExData: {
+ constData: 'Bytes',
+ variableData: 'Bytes',
+ owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
+ },
+ /**
+ * Lookup195: up_data_structs::CreateRefungibleExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ **/
+ UpDataStructsCreateRefungibleExData: {
+ constData: 'Bytes',
+ variableData: 'Bytes',
+ users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>'
+ },
+ /**
+ * Lookup198: pallet_template_transaction_payment::Call<T>
+ **/
+ PalletTemplateTransactionPaymentCall: 'Null',
+ /**
+ * Lookup199: pallet_structure::pallet::Call<T>
+ **/
+ PalletStructureCall: 'Null',
+ /**
+ * Lookup200: pallet_evm::pallet::Call<T>
+ **/
+ PalletEvmCall: {
+ _enum: {
+ withdraw: {
+ address: 'H160',
+ value: 'u128',
+ },
+ call: {
+ source: 'H160',
+ target: 'H160',
+ input: 'Bytes',
+ value: 'U256',
+ gasLimit: 'u64',
+ maxFeePerGas: 'U256',
+ maxPriorityFeePerGas: 'Option<U256>',
+ nonce: 'Option<U256>',
+ accessList: 'Vec<(H160,Vec<H256>)>',
+ },
+ create: {
+ source: 'H160',
+ init: 'Bytes',
+ value: 'U256',
+ gasLimit: 'u64',
+ maxFeePerGas: 'U256',
+ maxPriorityFeePerGas: 'Option<U256>',
+ nonce: 'Option<U256>',
+ accessList: 'Vec<(H160,Vec<H256>)>',
+ },
+ create2: {
+ source: 'H160',
+ init: 'Bytes',
+ salt: 'H256',
+ value: 'U256',
+ gasLimit: 'u64',
+ maxFeePerGas: 'U256',
+ maxPriorityFeePerGas: 'Option<U256>',
+ nonce: 'Option<U256>',
+ accessList: 'Vec<(H160,Vec<H256>)>'
+ }
+ }
+ },
+ /**
+ * Lookup206: pallet_ethereum::pallet::Call<T>
+ **/
+ PalletEthereumCall: {
+ _enum: {
+ transact: {
+ transaction: 'EthereumTransactionTransactionV2'
+ }
+ }
+ },
+ /**
+ * Lookup207: ethereum::transaction::TransactionV2
+ **/
+ EthereumTransactionTransactionV2: {
+ _enum: {
+ Legacy: 'EthereumTransactionLegacyTransaction',
+ EIP2930: 'EthereumTransactionEip2930Transaction',
+ EIP1559: 'EthereumTransactionEip1559Transaction'
+ }
+ },
+ /**
+ * Lookup208: ethereum::transaction::LegacyTransaction
+ **/
+ EthereumTransactionLegacyTransaction: {
+ nonce: 'U256',
+ gasPrice: 'U256',
+ gasLimit: 'U256',
+ action: 'EthereumTransactionTransactionAction',
+ value: 'U256',
+ input: 'Bytes',
+ signature: 'EthereumTransactionTransactionSignature'
+ },
+ /**
+ * Lookup209: ethereum::transaction::TransactionAction
+ **/
+ EthereumTransactionTransactionAction: {
+ _enum: {
+ Call: 'H160',
+ Create: 'Null'
+ }
+ },
+ /**
+ * Lookup210: ethereum::transaction::TransactionSignature
+ **/
+ EthereumTransactionTransactionSignature: {
+ v: 'u64',
+ r: 'H256',
+ s: 'H256'
+ },
+ /**
+ * Lookup212: ethereum::transaction::EIP2930Transaction
+ **/
+ EthereumTransactionEip2930Transaction: {
+ chainId: 'u64',
+ nonce: 'U256',
+ gasPrice: 'U256',
+ gasLimit: 'U256',
+ action: 'EthereumTransactionTransactionAction',
+ value: 'U256',
+ input: 'Bytes',
+ accessList: 'Vec<EthereumTransactionAccessListItem>',
+ oddYParity: 'bool',
+ r: 'H256',
+ s: 'H256'
+ },
+ /**
+ * Lookup214: ethereum::transaction::AccessListItem
+ **/
+ EthereumTransactionAccessListItem: {
+ address: 'H160',
+ storageKeys: 'Vec<H256>'
+ },
+ /**
+ * Lookup215: ethereum::transaction::EIP1559Transaction
+ **/
+ EthereumTransactionEip1559Transaction: {
+ chainId: 'u64',
+ nonce: 'U256',
+ maxPriorityFeePerGas: 'U256',
+ maxFeePerGas: 'U256',
+ gasLimit: 'U256',
+ action: 'EthereumTransactionTransactionAction',
+ value: 'U256',
+ input: 'Bytes',
+ accessList: 'Vec<EthereumTransactionAccessListItem>',
+ oddYParity: 'bool',
+ r: 'H256',
+ s: 'H256'
+ },
+ /**
+ * Lookup216: pallet_evm_migration::pallet::Call<T>
+ **/
+ PalletEvmMigrationCall: {
+ _enum: {
+ begin: {
+ address: 'H160',
+ },
+ set_data: {
+ address: 'H160',
+ data: 'Vec<(H256,H256)>',
+ },
+ finish: {
+ address: 'H160',
+ code: 'Bytes'
+ }
+ }
+ },
+ /**
+ * Lookup219: pallet_sudo::pallet::Event<T>
+ **/
+ PalletSudoEvent: {
+ _enum: {
+ Sudid: {
+ sudoResult: 'Result<Null, SpRuntimeDispatchError>',
+ },
+ KeyChanged: {
+ oldSudoer: 'Option<AccountId32>',
+ },
+ SudoAsDone: {
+ sudoResult: 'Result<Null, SpRuntimeDispatchError>'
+ }
+ }
+ },
+ /**
+ * Lookup221: sp_runtime::DispatchError
+ **/
+ SpRuntimeDispatchError: {
+ _enum: {
+ Other: 'Null',
+ CannotLookup: 'Null',
+ BadOrigin: 'Null',
+ Module: 'SpRuntimeModuleError',
+ ConsumerRemaining: 'Null',
+ NoProviders: 'Null',
+ TooManyConsumers: 'Null',
+ Token: 'SpRuntimeTokenError',
+ Arithmetic: 'SpRuntimeArithmeticError',
+ Transactional: 'SpRuntimeTransactionalError'
+ }
+ },
+ /**
+ * Lookup222: sp_runtime::ModuleError
+ **/
+ SpRuntimeModuleError: {
+ index: 'u8',
+ error: '[u8;4]'
+ },
+ /**
+ * Lookup223: sp_runtime::TokenError
+ **/
+ SpRuntimeTokenError: {
+ _enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']
+ },
+ /**
+ * Lookup224: sp_runtime::ArithmeticError
+ **/
+ SpRuntimeArithmeticError: {
+ _enum: ['Underflow', 'Overflow', 'DivisionByZero']
+ },
+ /**
+ * Lookup225: sp_runtime::TransactionalError
+ **/
+ SpRuntimeTransactionalError: {
+ _enum: ['LimitReached', 'NoLayer']
+ },
+ /**
+ * Lookup226: pallet_sudo::pallet::Error<T>
+ **/
+ PalletSudoError: {
+ _enum: ['RequireSudo']
+ },
+ /**
+ * Lookup227: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>
+ **/
+ FrameSystemAccountInfo: {
+ nonce: 'u32',
+ consumers: 'u32',
+ providers: 'u32',
+ sufficients: 'u32',
+ data: 'PalletBalancesAccountData'
+ },
+ /**
+ * Lookup228: frame_support::weights::PerDispatchClass<T>
+ **/
+ FrameSupportWeightsPerDispatchClassU64: {
+ normal: 'u64',
+ operational: 'u64',
+ mandatory: 'u64'
+ },
+ /**
+ * Lookup229: sp_runtime::generic::digest::Digest
+ **/
+ SpRuntimeDigest: {
+ logs: 'Vec<SpRuntimeDigestDigestItem>'
+ },
+ /**
+ * Lookup231: sp_runtime::generic::digest::DigestItem
+ **/
+ SpRuntimeDigestDigestItem: {
+ _enum: {
+ Other: 'Bytes',
+ __Unused1: 'Null',
+ __Unused2: 'Null',
+ __Unused3: 'Null',
+ Consensus: '([u8;4],Bytes)',
+ Seal: '([u8;4],Bytes)',
+ PreRuntime: '([u8;4],Bytes)',
+ __Unused7: 'Null',
+ RuntimeEnvironmentUpdated: 'Null'
+ }
+ },
+ /**
+ * Lookup233: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>
+ **/
+ FrameSystemEventRecord: {
+ phase: 'FrameSystemPhase',
+ event: 'Event',
+ topics: 'Vec<H256>'
+ },
+ /**
+ * Lookup235: frame_system::pallet::Event<T>
+ **/
+ FrameSystemEvent: {
+ _enum: {
+ ExtrinsicSuccess: {
+ dispatchInfo: 'FrameSupportWeightsDispatchInfo',
+ },
+ ExtrinsicFailed: {
+ dispatchError: 'SpRuntimeDispatchError',
+ dispatchInfo: 'FrameSupportWeightsDispatchInfo',
+ },
+ CodeUpdated: 'Null',
+ NewAccount: {
+ account: 'AccountId32',
+ },
+ KilledAccount: {
+ account: 'AccountId32',
+ },
+ Remarked: {
+ _alias: {
+ hash_: 'hash',
+ },
+ sender: 'AccountId32',
+ hash_: 'H256'
+ }
+ }
+ },
+ /**
+ * Lookup236: frame_support::weights::DispatchInfo
+ **/
+ FrameSupportWeightsDispatchInfo: {
+ weight: 'u64',
+ class: 'FrameSupportWeightsDispatchClass',
+ paysFee: 'FrameSupportWeightsPays'
+ },
+ /**
+ * Lookup237: frame_support::weights::DispatchClass
+ **/
+ FrameSupportWeightsDispatchClass: {
+ _enum: ['Normal', 'Operational', 'Mandatory']
+ },
+ /**
+ * Lookup238: frame_support::weights::Pays
+ **/
+ FrameSupportWeightsPays: {
+ _enum: ['Yes', 'No']
+ },
+ /**
+ * Lookup239: orml_vesting::module::Event<T>
+ **/
+ OrmlVestingModuleEvent: {
+ _enum: {
+ VestingScheduleAdded: {
+ from: 'AccountId32',
+ to: 'AccountId32',
+ vestingSchedule: 'OrmlVestingVestingSchedule',
+ },
+ Claimed: {
+ who: 'AccountId32',
+ amount: 'u128',
+ },
+ VestingSchedulesUpdated: {
+ who: 'AccountId32'
+ }
+ }
+ },
+ /**
+ * Lookup240: cumulus_pallet_xcmp_queue::pallet::Event<T>
+ **/
+ CumulusPalletXcmpQueueEvent: {
+ _enum: {
+ Success: 'Option<H256>',
+ Fail: '(Option<H256>,XcmV2TraitsError)',
+ BadVersion: 'Option<H256>',
+ BadFormat: 'Option<H256>',
+ UpwardMessageSent: 'Option<H256>',
+ XcmpMessageSent: 'Option<H256>',
+ OverweightEnqueued: '(u32,u32,u64,u64)',
+ OverweightServiced: '(u64,u64)'
+ }
+ },
+ /**
+ * Lookup241: pallet_xcm::pallet::Event<T>
+ **/
+ PalletXcmEvent: {
+ _enum: {
+ Attempted: 'XcmV2TraitsOutcome',
+ Sent: '(XcmV1MultiLocation,XcmV1MultiLocation,XcmV2Xcm)',
+ UnexpectedResponse: '(XcmV1MultiLocation,u64)',
+ ResponseReady: '(u64,XcmV2Response)',
+ Notified: '(u64,u8,u8)',
+ NotifyOverweight: '(u64,u8,u8,u64,u64)',
+ NotifyDispatchError: '(u64,u8,u8)',
+ NotifyDecodeFailed: '(u64,u8,u8)',
+ InvalidResponder: '(XcmV1MultiLocation,u64,Option<XcmV1MultiLocation>)',
+ InvalidResponderVersion: '(XcmV1MultiLocation,u64)',
+ ResponseTaken: 'u64',
+ AssetsTrapped: '(H256,XcmV1MultiLocation,XcmVersionedMultiAssets)',
+ VersionChangeNotified: '(XcmV1MultiLocation,u32)',
+ SupportedVersionChanged: '(XcmV1MultiLocation,u32)',
+ NotifyTargetSendFail: '(XcmV1MultiLocation,u64,XcmV2TraitsError)',
+ NotifyTargetMigrationFail: '(XcmVersionedMultiLocation,u64)'
+ }
+ },
+ /**
+ * Lookup242: xcm::v2::traits::Outcome
+ **/
+ XcmV2TraitsOutcome: {
+ _enum: {
+ Complete: 'u64',
+ Incomplete: '(u64,XcmV2TraitsError)',
+ Error: 'XcmV2TraitsError'
+ }
+ },
+ /**
+ * Lookup244: cumulus_pallet_xcm::pallet::Event<T>
+ **/
+ CumulusPalletXcmEvent: {
+ _enum: {
+ InvalidFormat: '[u8;8]',
+ UnsupportedVersion: '[u8;8]',
+ ExecutedDownward: '([u8;8],XcmV2TraitsOutcome)'
+ }
+ },
+ /**
+ * Lookup245: cumulus_pallet_dmp_queue::pallet::Event<T>
+ **/
+ CumulusPalletDmpQueueEvent: {
+ _enum: {
+ InvalidFormat: '[u8;32]',
+ UnsupportedVersion: '[u8;32]',
+ ExecutedDownward: '([u8;32],XcmV2TraitsOutcome)',
+ WeightExhausted: '([u8;32],u64,u64)',
+ OverweightEnqueued: '([u8;32],u64,u64)',
+ OverweightServiced: '(u64,u64)'
+ }
+ },
+ /**
+ * Lookup246: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ **/
+ PalletUniqueRawEvent: {
+ _enum: {
+ CollectionSponsorRemoved: 'u32',
+ CollectionAdminAdded: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',
+ CollectionOwnedChanged: '(u32,AccountId32)',
+ CollectionSponsorSet: '(u32,AccountId32)',
+ ConstOnChainSchemaSet: 'u32',
+ SponsorshipConfirmed: '(u32,AccountId32)',
+ CollectionAdminRemoved: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',
+ AllowListAddressRemoved: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',
+ AllowListAddressAdded: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',
+ CollectionLimitSet: 'u32',
+ MintPermissionSet: 'u32',
+ OffchainSchemaSet: 'u32',
+ PublicAccessModeSet: '(u32,UpDataStructsAccessMode)',
+ SchemaVersionSet: 'u32',
+ VariableOnChainSchemaSet: 'u32'
+ }
+ },
+ /**
+ * Lookup247: pallet_common::pallet::Event<T>
+ **/
+ PalletCommonEvent: {
+ _enum: {
+ CollectionCreated: '(u32,u8,AccountId32)',
+ CollectionDestroyed: 'u32',
+ ItemCreated: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,u128)',
+ ItemDestroyed: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,u128)',
+ Transfer: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,PalletEvmAccountBasicCrossAccountIdRepr,u128)',
+ Approved: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,PalletEvmAccountBasicCrossAccountIdRepr,u128)'
+ }
+ },
+ /**
+ * Lookup248: pallet_structure::pallet::Event<T>
+ **/
+ PalletStructureEvent: {
+ _enum: {
+ Executed: 'Result<Null, SpRuntimeDispatchError>'
+ }
+ },
+ /**
+ * Lookup249: pallet_evm::pallet::Event<T>
+ **/
+ PalletEvmEvent: {
+ _enum: {
+ Log: 'EthereumLog',
+ Created: 'H160',
+ CreatedFailed: 'H160',
+ Executed: 'H160',
+ ExecutedFailed: 'H160',
+ BalanceDeposit: '(AccountId32,H160,U256)',
+ BalanceWithdraw: '(AccountId32,H160,U256)'
+ }
+ },
+ /**
+ * Lookup250: ethereum::log::Log
+ **/
+ EthereumLog: {
+ address: 'H160',
+ topics: 'Vec<H256>',
+ data: 'Bytes'
+ },
+ /**
+ * Lookup251: pallet_ethereum::pallet::Event
+ **/
+ PalletEthereumEvent: {
+ _enum: {
+ Executed: '(H160,H160,H256,EvmCoreErrorExitReason)'
+ }
+ },
+ /**
+ * Lookup252: evm_core::error::ExitReason
+ **/
+ EvmCoreErrorExitReason: {
+ _enum: {
+ Succeed: 'EvmCoreErrorExitSucceed',
+ Error: 'EvmCoreErrorExitError',
+ Revert: 'EvmCoreErrorExitRevert',
+ Fatal: 'EvmCoreErrorExitFatal'
+ }
+ },
+ /**
+ * Lookup253: evm_core::error::ExitSucceed
+ **/
+ EvmCoreErrorExitSucceed: {
+ _enum: ['Stopped', 'Returned', 'Suicided']
+ },
+ /**
+ * Lookup254: evm_core::error::ExitError
+ **/
+ EvmCoreErrorExitError: {
+ _enum: {
+ StackUnderflow: 'Null',
+ StackOverflow: 'Null',
+ InvalidJump: 'Null',
+ InvalidRange: 'Null',
+ DesignatedInvalid: 'Null',
+ CallTooDeep: 'Null',
+ CreateCollision: 'Null',
+ CreateContractLimit: 'Null',
+ OutOfOffset: 'Null',
+ OutOfGas: 'Null',
+ OutOfFund: 'Null',
+ PCUnderflow: 'Null',
+ CreateEmpty: 'Null',
+ Other: 'Text',
+ InvalidCode: 'Null'
+ }
+ },
+ /**
+ * Lookup257: evm_core::error::ExitRevert
+ **/
+ EvmCoreErrorExitRevert: {
+ _enum: ['Reverted']
+ },
+ /**
+ * Lookup258: evm_core::error::ExitFatal
+ **/
+ EvmCoreErrorExitFatal: {
+ _enum: {
+ NotSupported: 'Null',
+ UnhandledInterrupt: 'Null',
+ CallErrorAsFatal: 'EvmCoreErrorExitError',
+ Other: 'Text'
+ }
+ },
+ /**
+ * Lookup259: frame_system::Phase
+ **/
+ FrameSystemPhase: {
+ _enum: {
+ ApplyExtrinsic: 'u32',
+ Finalization: 'Null',
+ Initialization: 'Null'
+ }
+ },
+ /**
+ * Lookup261: frame_system::LastRuntimeUpgradeInfo
+ **/
+ FrameSystemLastRuntimeUpgradeInfo: {
+ specVersion: 'Compact<u32>',
+ specName: 'Text'
+ },
+ /**
+ * Lookup262: frame_system::limits::BlockWeights
+ **/
+ FrameSystemLimitsBlockWeights: {
+ baseBlock: 'u64',
+ maxBlock: 'u64',
+ perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'
+ },
+ /**
+ * Lookup263: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>
+ **/
+ FrameSupportWeightsPerDispatchClassWeightsPerClass: {
+ normal: 'FrameSystemLimitsWeightsPerClass',
+ operational: 'FrameSystemLimitsWeightsPerClass',
+ mandatory: 'FrameSystemLimitsWeightsPerClass'
+ },
+ /**
+ * Lookup264: frame_system::limits::WeightsPerClass
+ **/
+ FrameSystemLimitsWeightsPerClass: {
+ baseExtrinsic: 'u64',
+ maxExtrinsic: 'Option<u64>',
+ maxTotal: 'Option<u64>',
+ reserved: 'Option<u64>'
+ },
+ /**
+ * Lookup266: frame_system::limits::BlockLength
+ **/
+ FrameSystemLimitsBlockLength: {
+ max: 'FrameSupportWeightsPerDispatchClassU32'
+ },
+ /**
+ * Lookup267: frame_support::weights::PerDispatchClass<T>
+ **/
+ FrameSupportWeightsPerDispatchClassU32: {
+ normal: 'u32',
+ operational: 'u32',
+ mandatory: 'u32'
+ },
+ /**
+ * Lookup268: frame_support::weights::RuntimeDbWeight
+ **/
+ FrameSupportWeightsRuntimeDbWeight: {
+ read: 'u64',
+ write: 'u64'
+ },
+ /**
+ * Lookup269: sp_version::RuntimeVersion
+ **/
+ SpVersionRuntimeVersion: {
+ specName: 'Text',
+ implName: 'Text',
+ authoringVersion: 'u32',
+ specVersion: 'u32',
+ implVersion: 'u32',
+ apis: 'Vec<([u8;8],u32)>',
+ transactionVersion: 'u32',
+ stateVersion: 'u8'
+ },
+ /**
+ * Lookup273: frame_system::pallet::Error<T>
+ **/
+ FrameSystemError: {
+ _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']
+ },
+ /**
+ * Lookup275: orml_vesting::module::Error<T>
+ **/
+ OrmlVestingModuleError: {
+ _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']
+ },
+ /**
+ * Lookup277: cumulus_pallet_xcmp_queue::InboundChannelDetails
+ **/
+ CumulusPalletXcmpQueueInboundChannelDetails: {
+ sender: 'u32',
+ state: 'CumulusPalletXcmpQueueInboundState',
+ messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'
+ },
+ /**
+ * Lookup278: cumulus_pallet_xcmp_queue::InboundState
+ **/
+ CumulusPalletXcmpQueueInboundState: {
+ _enum: ['Ok', 'Suspended']
+ },
+ /**
+ * Lookup281: polkadot_parachain::primitives::XcmpMessageFormat
+ **/
+ PolkadotParachainPrimitivesXcmpMessageFormat: {
+ _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']
+ },
+ /**
+ * Lookup284: cumulus_pallet_xcmp_queue::OutboundChannelDetails
+ **/
+ CumulusPalletXcmpQueueOutboundChannelDetails: {
+ recipient: 'u32',
+ state: 'CumulusPalletXcmpQueueOutboundState',
+ signalsExist: 'bool',
+ firstIndex: 'u16',
+ lastIndex: 'u16'
+ },
+ /**
+ * Lookup285: cumulus_pallet_xcmp_queue::OutboundState
+ **/
+ CumulusPalletXcmpQueueOutboundState: {
+ _enum: ['Ok', 'Suspended']
+ },
+ /**
+ * Lookup287: cumulus_pallet_xcmp_queue::QueueConfigData
+ **/
+ CumulusPalletXcmpQueueQueueConfigData: {
+ suspendThreshold: 'u32',
+ dropThreshold: 'u32',
+ resumeThreshold: 'u32',
+ thresholdWeight: 'u64',
+ weightRestrictDecay: 'u64',
+ xcmpMaxIndividualWeight: 'u64'
+ },
+ /**
+ * Lookup289: cumulus_pallet_xcmp_queue::pallet::Error<T>
+ **/
+ CumulusPalletXcmpQueueError: {
+ _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']
+ },
+ /**
+ * Lookup290: pallet_xcm::pallet::Error<T>
+ **/
+ PalletXcmError: {
+ _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']
+ },
+ /**
+ * Lookup291: cumulus_pallet_xcm::pallet::Error<T>
+ **/
+ CumulusPalletXcmError: 'Null',
+ /**
+ * Lookup292: cumulus_pallet_dmp_queue::ConfigData
+ **/
+ CumulusPalletDmpQueueConfigData: {
+ maxIndividual: 'u64'
+ },
+ /**
+ * Lookup293: cumulus_pallet_dmp_queue::PageIndexData
+ **/
+ CumulusPalletDmpQueuePageIndexData: {
+ beginUsed: 'u32',
+ endUsed: 'u32',
+ overweightCount: 'u64'
+ },
+ /**
+ * Lookup296: cumulus_pallet_dmp_queue::pallet::Error<T>
+ **/
+ CumulusPalletDmpQueueError: {
+ _enum: ['Unknown', 'OverLimit']
+ },
+ /**
+ * Lookup300: pallet_unique::Error<T>
+ **/
+ PalletUniqueError: {
+ _enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument']
+ },
+ /**
+ * Lookup301: up_data_structs::Collection<sp_core::crypto::AccountId32>
+ **/
+ UpDataStructsCollection: {
+ owner: 'AccountId32',
+ mode: 'UpDataStructsCollectionMode',
+ access: 'UpDataStructsAccessMode',
+ name: 'Vec<u16>',
+ description: 'Vec<u16>',
+ tokenPrefix: 'Bytes',
+ mintMode: 'bool',
+ schemaVersion: 'UpDataStructsSchemaVersion',
+ sponsorship: 'UpDataStructsSponsorshipState',
+ limits: 'UpDataStructsCollectionLimits',
+ metaUpdatePermission: 'UpDataStructsMetaUpdatePermission'
+ },
+ /**
+ * Lookup302: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
+ **/
+ UpDataStructsSponsorshipState: {
+ _enum: {
+ Disabled: 'Null',
+ Unconfirmed: 'AccountId32',
+ Confirmed: 'AccountId32'
+ }
+ },
+ /**
+ * Lookup304: up_data_structs::CollectionField
+ **/
+ UpDataStructsCollectionField: {
+ _enum: ['VariableOnChainSchema', 'ConstOnChainSchema', 'OffchainSchema']
+ },
+ /**
+ * Lookup307: up_data_structs::CollectionStats
+ **/
+ UpDataStructsCollectionStats: {
+ created: 'u32',
+ destroyed: 'u32',
+ alive: 'u32'
+ },
+ /**
+ * Lookup308: PhantomType::up_data_structs<up_data_structs::RpcCollection<sp_core::crypto::AccountId32>>
+ **/
+ PhantomTypeUpDataStructs: '[Lookup309;0]',
+ /**
+ * Lookup309: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
+ **/
+ UpDataStructsRpcCollection: {
+ owner: 'AccountId32',
+ mode: 'UpDataStructsCollectionMode',
+ access: 'UpDataStructsAccessMode',
+ name: 'Vec<u16>',
+ description: 'Vec<u16>',
+ tokenPrefix: 'Bytes',
+ mintMode: 'bool',
+ offchainSchema: 'Bytes',
+ schemaVersion: 'UpDataStructsSchemaVersion',
+ sponsorship: 'UpDataStructsSponsorshipState',
+ limits: 'UpDataStructsCollectionLimits',
+ variableOnChainSchema: 'Bytes',
+ constOnChainSchema: 'Bytes',
+ metaUpdatePermission: 'UpDataStructsMetaUpdatePermission'
+ },
+ /**
+ * Lookup311: pallet_common::pallet::Error<T>
+ **/
+ PalletCommonError: {
+ _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'TokenVariableDataLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds', 'NestingIsDisabled', 'OnlyOwnerAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded']
+ },
+ /**
+ * Lookup313: pallet_fungible::pallet::Error<T>
+ **/
+ PalletFungibleError: {
+ _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting']
+ },
+ /**
+ * Lookup314: pallet_refungible::ItemData
+ **/
+ PalletRefungibleItemData: {
+ constData: 'Bytes',
+ variableData: 'Bytes'
+ },
+ /**
+ * Lookup318: pallet_refungible::pallet::Error<T>
+ **/
+ PalletRefungibleError: {
+ _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RefungibleDisallowsNesting']
+ },
+ /**
+ * Lookup319: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ **/
+ PalletNonfungibleItemData: {
+ constData: 'Bytes',
+ variableData: 'Bytes',
+ owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
+ },
+ /**
+ * Lookup320: pallet_nonfungible::pallet::Error<T>
+ **/
+ PalletNonfungibleError: {
+ _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount']
+ },
+ /**
+ * Lookup321: pallet_structure::pallet::Error<T>
+ **/
+ PalletStructureError: {
+ _enum: ['OuroborosDetected', 'DepthLimit', 'TokenNotFound']
+ },
+ /**
+ * Lookup323: pallet_evm::pallet::Error<T>
+ **/
+ PalletEvmError: {
+ _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']
+ },
+ /**
+ * Lookup326: fp_rpc::TransactionStatus
+ **/
+ FpRpcTransactionStatus: {
+ transactionHash: 'H256',
+ transactionIndex: 'u32',
+ from: 'H160',
+ to: 'Option<H160>',
+ contractAddress: 'Option<H160>',
+ logs: 'Vec<EthereumLog>',
+ logsBloom: 'EthbloomBloom'
+ },
+ /**
+ * Lookup329: ethbloom::Bloom
+ **/
+ EthbloomBloom: '[u8;256]',
+ /**
+ * Lookup331: ethereum::receipt::ReceiptV3
+ **/
+ EthereumReceiptReceiptV3: {
+ _enum: {
+ Legacy: 'EthereumReceiptEip658ReceiptData',
+ EIP2930: 'EthereumReceiptEip658ReceiptData',
+ EIP1559: 'EthereumReceiptEip658ReceiptData'
+ }
+ },
+ /**
+ * Lookup332: ethereum::receipt::EIP658ReceiptData
+ **/
+ EthereumReceiptEip658ReceiptData: {
+ statusCode: 'u8',
+ usedGas: 'U256',
+ logsBloom: 'EthbloomBloom',
+ logs: 'Vec<EthereumLog>'
+ },
+ /**
+ * Lookup333: ethereum::block::Block<ethereum::transaction::TransactionV2>
+ **/
+ EthereumBlock: {
+ header: 'EthereumHeader',
+ transactions: 'Vec<EthereumTransactionTransactionV2>',
+ ommers: 'Vec<EthereumHeader>'
+ },
+ /**
+ * Lookup334: ethereum::header::Header
+ **/
+ EthereumHeader: {
+ parentHash: 'H256',
+ ommersHash: 'H256',
+ beneficiary: 'H160',
+ stateRoot: 'H256',
+ transactionsRoot: 'H256',
+ receiptsRoot: 'H256',
+ logsBloom: 'EthbloomBloom',
+ difficulty: 'U256',
+ number: 'U256',
+ gasLimit: 'U256',
+ gasUsed: 'U256',
+ timestamp: 'u64',
+ extraData: 'Bytes',
+ mixHash: 'H256',
+ nonce: 'EthereumTypesHashH64'
+ },
+ /**
+ * Lookup335: ethereum_types::hash::H64
+ **/
+ EthereumTypesHashH64: '[u8;8]',
+ /**
+ * Lookup340: pallet_ethereum::pallet::Error<T>
+ **/
+ PalletEthereumError: {
+ _enum: ['InvalidSignature', 'PreLogExists']
+ },
+ /**
+ * Lookup341: pallet_evm_coder_substrate::pallet::Error<T>
+ **/
+ PalletEvmCoderSubstrateError: {
+ _enum: ['OutOfGas', 'OutOfFund']
+ },
+ /**
+ * Lookup342: pallet_evm_contract_helpers::SponsoringModeT
+ **/
+ PalletEvmContractHelpersSponsoringModeT: {
+ _enum: ['Disabled', 'Allowlisted', 'Generous']
+ },
+ /**
+ * Lookup344: pallet_evm_contract_helpers::pallet::Error<T>
+ **/
+ PalletEvmContractHelpersError: {
+ _enum: ['NoPermission']
+ },
+ /**
+ * Lookup345: pallet_evm_migration::pallet::Error<T>
+ **/
+ PalletEvmMigrationError: {
+ _enum: ['AccountNotEmpty', 'AccountIsNotMigrating']
+ },
+ /**
+ * Lookup347: sp_runtime::MultiSignature
+ **/
+ SpRuntimeMultiSignature: {
+ _enum: {
+ Ed25519: 'SpCoreEd25519Signature',
+ Sr25519: 'SpCoreSr25519Signature',
+ Ecdsa: 'SpCoreEcdsaSignature'
+ }
+ },
+ /**
+ * Lookup348: sp_core::ed25519::Signature
+ **/
+ SpCoreEd25519Signature: '[u8;64]',
+ /**
+ * Lookup350: sp_core::sr25519::Signature
+ **/
+ SpCoreSr25519Signature: '[u8;64]',
+ /**
+ * Lookup351: sp_core::ecdsa::Signature
+ **/
+ SpCoreEcdsaSignature: '[u8;65]',
+ /**
+ * Lookup354: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
+ **/
+ FrameSystemExtensionsCheckSpecVersion: 'Null',
+ /**
+ * Lookup355: frame_system::extensions::check_genesis::CheckGenesis<T>
+ **/
+ FrameSystemExtensionsCheckGenesis: 'Null',
+ /**
+ * Lookup358: frame_system::extensions::check_nonce::CheckNonce<T>
+ **/
+ FrameSystemExtensionsCheckNonce: 'Compact<u32>',
+ /**
+ * Lookup359: frame_system::extensions::check_weight::CheckWeight<T>
+ **/
+ FrameSystemExtensionsCheckWeight: 'Null',
+ /**
+ * Lookup360: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
+ **/
+ PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
+ /**
+ * Lookup361: opal_runtime::Runtime
+ **/
+ OpalRuntimeRuntime: 'Null'
+};
tests/src/interfaces/registry.tsdiffbeforeafterboth--- a/tests/src/interfaces/registry.ts
+++ b/tests/src/interfaces/registry.ts
@@ -1,11 +1,10 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
-import type { BTreeSet, CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsMetaUpdatePermission, UpDataStructsSchemaVersion, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportPalletId, FrameSupportStorageBoundedBTreeSet, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionField, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsMetaUpdatePermission, UpDataStructsNestingRule, UpDataStructsRpcCollection, UpDataStructsSchemaVersion, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
declare module '@polkadot/types/types/registry' {
export interface InterfaceTypes {
- BTreeSet: BTreeSet;
CumulusPalletDmpQueueCall: CumulusPalletDmpQueueCall;
CumulusPalletDmpQueueConfigData: CumulusPalletDmpQueueConfigData;
CumulusPalletDmpQueueError: CumulusPalletDmpQueueError;
@@ -48,6 +47,7 @@
EvmCoreErrorExitSucceed: EvmCoreErrorExitSucceed;
FpRpcTransactionStatus: FpRpcTransactionStatus;
FrameSupportPalletId: FrameSupportPalletId;
+ FrameSupportStorageBoundedBTreeSet: FrameSupportStorageBoundedBTreeSet;
FrameSupportTokensMiscBalanceStatus: FrameSupportTokensMiscBalanceStatus;
FrameSupportWeightsDispatchClass: FrameSupportWeightsDispatchClass;
FrameSupportWeightsDispatchInfo: FrameSupportWeightsDispatchInfo;
@@ -104,6 +104,9 @@
PalletNonfungibleItemData: PalletNonfungibleItemData;
PalletRefungibleError: PalletRefungibleError;
PalletRefungibleItemData: PalletRefungibleItemData;
+ PalletStructureCall: PalletStructureCall;
+ PalletStructureError: PalletStructureError;
+ PalletStructureEvent: PalletStructureEvent;
PalletSudoCall: PalletSudoCall;
PalletSudoError: PalletSudoError;
PalletSudoEvent: PalletSudoEvent;
@@ -121,6 +124,7 @@
PalletXcmCall: PalletXcmCall;
PalletXcmError: PalletXcmError;
PalletXcmEvent: PalletXcmEvent;
+ PhantomTypeUpDataStructs: PhantomTypeUpDataStructs;
PolkadotCorePrimitivesInboundDownwardMessage: PolkadotCorePrimitivesInboundDownwardMessage;
PolkadotCorePrimitivesInboundHrmpMessage: PolkadotCorePrimitivesInboundHrmpMessage;
PolkadotCorePrimitivesOutboundHrmpMessage: PolkadotCorePrimitivesOutboundHrmpMessage;
@@ -144,6 +148,7 @@
SpVersionRuntimeVersion: SpVersionRuntimeVersion;
UpDataStructsAccessMode: UpDataStructsAccessMode;
UpDataStructsCollection: UpDataStructsCollection;
+ UpDataStructsCollectionField: UpDataStructsCollectionField;
UpDataStructsCollectionLimits: UpDataStructsCollectionLimits;
UpDataStructsCollectionMode: UpDataStructsCollectionMode;
UpDataStructsCollectionStats: UpDataStructsCollectionStats;
@@ -156,6 +161,8 @@
UpDataStructsCreateReFungibleData: UpDataStructsCreateReFungibleData;
UpDataStructsCreateRefungibleExData: UpDataStructsCreateRefungibleExData;
UpDataStructsMetaUpdatePermission: UpDataStructsMetaUpdatePermission;
+ UpDataStructsNestingRule: UpDataStructsNestingRule;
+ UpDataStructsRpcCollection: UpDataStructsRpcCollection;
UpDataStructsSchemaVersion: UpDataStructsSchemaVersion;
UpDataStructsSponsoringRateLimit: UpDataStructsSponsoringRateLimit;
UpDataStructsSponsorshipState: UpDataStructsSponsorshipState;
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth--- /dev/null
+++ b/tests/src/interfaces/types-lookup.ts
@@ -0,0 +1,2722 @@
+// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
+/* eslint-disable */
+
+declare module '@polkadot/types/lookup' {
+ import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
+ import type { ITuple } from '@polkadot/types-codec/types';
+ import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';
+ import type { Event } from '@polkadot/types/interfaces/system';
+
+ /** @name PolkadotPrimitivesV2PersistedValidationData (2) */
+ export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {
+ readonly parentHead: Bytes;
+ readonly relayParentNumber: u32;
+ readonly relayParentStorageRoot: H256;
+ readonly maxPovSize: u32;
+ }
+
+ /** @name PolkadotPrimitivesV2UpgradeRestriction (9) */
+ export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {
+ readonly isPresent: boolean;
+ readonly type: 'Present';
+ }
+
+ /** @name SpTrieStorageProof (10) */
+ export interface SpTrieStorageProof extends Struct {
+ readonly trieNodes: BTreeSet<Bytes>;
+ }
+
+ /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (13) */
+ export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {
+ readonly dmqMqcHead: H256;
+ readonly relayDispatchQueueSize: ITuple<[u32, u32]>;
+ readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;
+ readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;
+ }
+
+ /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (18) */
+ export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {
+ readonly maxCapacity: u32;
+ readonly maxTotalSize: u32;
+ readonly maxMessageSize: u32;
+ readonly msgCount: u32;
+ readonly totalSize: u32;
+ readonly mqcHead: Option<H256>;
+ }
+
+ /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (20) */
+ export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {
+ readonly maxCodeSize: u32;
+ readonly maxHeadDataSize: u32;
+ readonly maxUpwardQueueCount: u32;
+ readonly maxUpwardQueueSize: u32;
+ readonly maxUpwardMessageSize: u32;
+ readonly maxUpwardMessageNumPerCandidate: u32;
+ readonly hrmpMaxMessageNumPerCandidate: u32;
+ readonly validationUpgradeCooldown: u32;
+ readonly validationUpgradeDelay: u32;
+ }
+
+ /** @name PolkadotCorePrimitivesOutboundHrmpMessage (26) */
+ export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {
+ readonly recipient: u32;
+ readonly data: Bytes;
+ }
+
+ /** @name CumulusPalletParachainSystemCall (28) */
+ export interface CumulusPalletParachainSystemCall extends Enum {
+ readonly isSetValidationData: boolean;
+ readonly asSetValidationData: {
+ readonly data: CumulusPrimitivesParachainInherentParachainInherentData;
+ } & Struct;
+ readonly isSudoSendUpwardMessage: boolean;
+ readonly asSudoSendUpwardMessage: {
+ readonly message: Bytes;
+ } & Struct;
+ readonly isAuthorizeUpgrade: boolean;
+ readonly asAuthorizeUpgrade: {
+ readonly codeHash: H256;
+ } & Struct;
+ readonly isEnactAuthorizedUpgrade: boolean;
+ readonly asEnactAuthorizedUpgrade: {
+ readonly code: Bytes;
+ } & Struct;
+ readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';
+ }
+
+ /** @name CumulusPrimitivesParachainInherentParachainInherentData (29) */
+ export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {
+ readonly validationData: PolkadotPrimitivesV2PersistedValidationData;
+ readonly relayChainState: SpTrieStorageProof;
+ readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;
+ readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;
+ }
+
+ /** @name PolkadotCorePrimitivesInboundDownwardMessage (31) */
+ export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
+ readonly sentAt: u32;
+ readonly msg: Bytes;
+ }
+
+ /** @name PolkadotCorePrimitivesInboundHrmpMessage (34) */
+ export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {
+ readonly sentAt: u32;
+ readonly data: Bytes;
+ }
+
+ /** @name CumulusPalletParachainSystemEvent (37) */
+ export interface CumulusPalletParachainSystemEvent extends Enum {
+ readonly isValidationFunctionStored: boolean;
+ readonly isValidationFunctionApplied: boolean;
+ readonly asValidationFunctionApplied: u32;
+ readonly isValidationFunctionDiscarded: boolean;
+ readonly isUpgradeAuthorized: boolean;
+ readonly asUpgradeAuthorized: H256;
+ readonly isDownwardMessagesReceived: boolean;
+ readonly asDownwardMessagesReceived: u32;
+ readonly isDownwardMessagesProcessed: boolean;
+ readonly asDownwardMessagesProcessed: ITuple<[u64, H256]>;
+ readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';
+ }
+
+ /** @name CumulusPalletParachainSystemError (38) */
+ export interface CumulusPalletParachainSystemError extends Enum {
+ readonly isOverlappingUpgrades: boolean;
+ readonly isProhibitedByPolkadot: boolean;
+ readonly isTooBig: boolean;
+ readonly isValidationDataNotAvailable: boolean;
+ readonly isHostConfigurationNotAvailable: boolean;
+ readonly isNotScheduled: boolean;
+ readonly isNothingAuthorized: boolean;
+ readonly isUnauthorized: boolean;
+ readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';
+ }
+
+ /** @name PalletBalancesAccountData (41) */
+ export interface PalletBalancesAccountData extends Struct {
+ readonly free: u128;
+ readonly reserved: u128;
+ readonly miscFrozen: u128;
+ readonly feeFrozen: u128;
+ }
+
+ /** @name PalletBalancesBalanceLock (43) */
+ export interface PalletBalancesBalanceLock extends Struct {
+ readonly id: U8aFixed;
+ readonly amount: u128;
+ readonly reasons: PalletBalancesReasons;
+ }
+
+ /** @name PalletBalancesReasons (45) */
+ export interface PalletBalancesReasons extends Enum {
+ readonly isFee: boolean;
+ readonly isMisc: boolean;
+ readonly isAll: boolean;
+ readonly type: 'Fee' | 'Misc' | 'All';
+ }
+
+ /** @name PalletBalancesReserveData (48) */
+ export interface PalletBalancesReserveData extends Struct {
+ readonly id: U8aFixed;
+ readonly amount: u128;
+ }
+
+ /** @name PalletBalancesReleases (50) */
+ export interface PalletBalancesReleases extends Enum {
+ readonly isV100: boolean;
+ readonly isV200: boolean;
+ readonly type: 'V100' | 'V200';
+ }
+
+ /** @name PalletBalancesCall (51) */
+ export interface PalletBalancesCall extends Enum {
+ readonly isTransfer: boolean;
+ readonly asTransfer: {
+ readonly dest: MultiAddress;
+ readonly value: Compact<u128>;
+ } & Struct;
+ readonly isSetBalance: boolean;
+ readonly asSetBalance: {
+ readonly who: MultiAddress;
+ readonly newFree: Compact<u128>;
+ readonly newReserved: Compact<u128>;
+ } & Struct;
+ readonly isForceTransfer: boolean;
+ readonly asForceTransfer: {
+ readonly source: MultiAddress;
+ readonly dest: MultiAddress;
+ readonly value: Compact<u128>;
+ } & Struct;
+ readonly isTransferKeepAlive: boolean;
+ readonly asTransferKeepAlive: {
+ readonly dest: MultiAddress;
+ readonly value: Compact<u128>;
+ } & Struct;
+ readonly isTransferAll: boolean;
+ readonly asTransferAll: {
+ readonly dest: MultiAddress;
+ readonly keepAlive: bool;
+ } & Struct;
+ readonly isForceUnreserve: boolean;
+ readonly asForceUnreserve: {
+ readonly who: MultiAddress;
+ readonly amount: u128;
+ } & Struct;
+ readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';
+ }
+
+ /** @name PalletBalancesEvent (57) */
+ export interface PalletBalancesEvent extends Enum {
+ readonly isEndowed: boolean;
+ readonly asEndowed: {
+ readonly account: AccountId32;
+ readonly freeBalance: u128;
+ } & Struct;
+ readonly isDustLost: boolean;
+ readonly asDustLost: {
+ readonly account: AccountId32;
+ readonly amount: u128;
+ } & Struct;
+ readonly isTransfer: boolean;
+ readonly asTransfer: {
+ readonly from: AccountId32;
+ readonly to: AccountId32;
+ readonly amount: u128;
+ } & Struct;
+ readonly isBalanceSet: boolean;
+ readonly asBalanceSet: {
+ readonly who: AccountId32;
+ readonly free: u128;
+ readonly reserved: u128;
+ } & Struct;
+ readonly isReserved: boolean;
+ readonly asReserved: {
+ readonly who: AccountId32;
+ readonly amount: u128;
+ } & Struct;
+ readonly isUnreserved: boolean;
+ readonly asUnreserved: {
+ readonly who: AccountId32;
+ readonly amount: u128;
+ } & Struct;
+ readonly isReserveRepatriated: boolean;
+ readonly asReserveRepatriated: {
+ readonly from: AccountId32;
+ readonly to: AccountId32;
+ readonly amount: u128;
+ readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;
+ } & Struct;
+ readonly isDeposit: boolean;
+ readonly asDeposit: {
+ readonly who: AccountId32;
+ readonly amount: u128;
+ } & Struct;
+ readonly isWithdraw: boolean;
+ readonly asWithdraw: {
+ readonly who: AccountId32;
+ readonly amount: u128;
+ } & Struct;
+ readonly isSlashed: boolean;
+ readonly asSlashed: {
+ readonly who: AccountId32;
+ readonly amount: u128;
+ } & Struct;
+ readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';
+ }
+
+ /** @name FrameSupportTokensMiscBalanceStatus (58) */
+ export interface FrameSupportTokensMiscBalanceStatus extends Enum {
+ readonly isFree: boolean;
+ readonly isReserved: boolean;
+ readonly type: 'Free' | 'Reserved';
+ }
+
+ /** @name PalletBalancesError (59) */
+ export interface PalletBalancesError extends Enum {
+ readonly isVestingBalance: boolean;
+ readonly isLiquidityRestrictions: boolean;
+ readonly isInsufficientBalance: boolean;
+ readonly isExistentialDeposit: boolean;
+ readonly isKeepAlive: boolean;
+ readonly isExistingVestingSchedule: boolean;
+ readonly isDeadAccount: boolean;
+ readonly isTooManyReserves: boolean;
+ readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';
+ }
+
+ /** @name PalletTimestampCall (62) */
+ export interface PalletTimestampCall extends Enum {
+ readonly isSet: boolean;
+ readonly asSet: {
+ readonly now: Compact<u64>;
+ } & Struct;
+ readonly type: 'Set';
+ }
+
+ /** @name PalletTransactionPaymentReleases (65) */
+ export interface PalletTransactionPaymentReleases extends Enum {
+ readonly isV1Ancient: boolean;
+ readonly isV2: boolean;
+ readonly type: 'V1Ancient' | 'V2';
+ }
+
+ /** @name FrameSupportWeightsWeightToFeeCoefficient (67) */
+ export interface FrameSupportWeightsWeightToFeeCoefficient extends Struct {
+ readonly coeffInteger: u128;
+ readonly coeffFrac: Perbill;
+ readonly negative: bool;
+ readonly degree: u8;
+ }
+
+ /** @name PalletTreasuryProposal (69) */
+ export interface PalletTreasuryProposal extends Struct {
+ readonly proposer: AccountId32;
+ readonly value: u128;
+ readonly beneficiary: AccountId32;
+ readonly bond: u128;
+ }
+
+ /** @name PalletTreasuryCall (72) */
+ export interface PalletTreasuryCall extends Enum {
+ readonly isProposeSpend: boolean;
+ readonly asProposeSpend: {
+ readonly value: Compact<u128>;
+ readonly beneficiary: MultiAddress;
+ } & Struct;
+ readonly isRejectProposal: boolean;
+ readonly asRejectProposal: {
+ readonly proposalId: Compact<u32>;
+ } & Struct;
+ readonly isApproveProposal: boolean;
+ readonly asApproveProposal: {
+ readonly proposalId: Compact<u32>;
+ } & Struct;
+ readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal';
+ }
+
+ /** @name PalletTreasuryEvent (74) */
+ export interface PalletTreasuryEvent extends Enum {
+ readonly isProposed: boolean;
+ readonly asProposed: {
+ readonly proposalIndex: u32;
+ } & Struct;
+ readonly isSpending: boolean;
+ readonly asSpending: {
+ readonly budgetRemaining: u128;
+ } & Struct;
+ readonly isAwarded: boolean;
+ readonly asAwarded: {
+ readonly proposalIndex: u32;
+ readonly award: u128;
+ readonly account: AccountId32;
+ } & Struct;
+ readonly isRejected: boolean;
+ readonly asRejected: {
+ readonly proposalIndex: u32;
+ readonly slashed: u128;
+ } & Struct;
+ readonly isBurnt: boolean;
+ readonly asBurnt: {
+ readonly burntFunds: u128;
+ } & Struct;
+ readonly isRollover: boolean;
+ readonly asRollover: {
+ readonly rolloverBalance: u128;
+ } & Struct;
+ readonly isDeposit: boolean;
+ readonly asDeposit: {
+ readonly value: u128;
+ } & Struct;
+ readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit';
+ }
+
+ /** @name FrameSupportPalletId (77) */
+ export interface FrameSupportPalletId extends U8aFixed {}
+
+ /** @name PalletTreasuryError (78) */
+ export interface PalletTreasuryError extends Enum {
+ readonly isInsufficientProposersBalance: boolean;
+ readonly isInvalidIndex: boolean;
+ readonly isTooManyApprovals: boolean;
+ readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals';
+ }
+
+ /** @name PalletSudoCall (79) */
+ export interface PalletSudoCall extends Enum {
+ readonly isSudo: boolean;
+ readonly asSudo: {
+ readonly call: Call;
+ } & Struct;
+ readonly isSudoUncheckedWeight: boolean;
+ readonly asSudoUncheckedWeight: {
+ readonly call: Call;
+ readonly weight: u64;
+ } & Struct;
+ readonly isSetKey: boolean;
+ readonly asSetKey: {
+ readonly new_: MultiAddress;
+ } & Struct;
+ readonly isSudoAs: boolean;
+ readonly asSudoAs: {
+ readonly who: MultiAddress;
+ readonly call: Call;
+ } & Struct;
+ readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';
+ }
+
+ /** @name FrameSystemCall (81) */
+ export interface FrameSystemCall extends Enum {
+ readonly isFillBlock: boolean;
+ readonly asFillBlock: {
+ readonly ratio: Perbill;
+ } & Struct;
+ readonly isRemark: boolean;
+ readonly asRemark: {
+ readonly remark: Bytes;
+ } & Struct;
+ readonly isSetHeapPages: boolean;
+ readonly asSetHeapPages: {
+ readonly pages: u64;
+ } & Struct;
+ readonly isSetCode: boolean;
+ readonly asSetCode: {
+ readonly code: Bytes;
+ } & Struct;
+ readonly isSetCodeWithoutChecks: boolean;
+ readonly asSetCodeWithoutChecks: {
+ readonly code: Bytes;
+ } & Struct;
+ readonly isSetStorage: boolean;
+ readonly asSetStorage: {
+ readonly items: Vec<ITuple<[Bytes, Bytes]>>;
+ } & Struct;
+ readonly isKillStorage: boolean;
+ readonly asKillStorage: {
+ readonly keys_: Vec<Bytes>;
+ } & Struct;
+ readonly isKillPrefix: boolean;
+ readonly asKillPrefix: {
+ readonly prefix: Bytes;
+ readonly subkeys: u32;
+ } & Struct;
+ readonly isRemarkWithEvent: boolean;
+ readonly asRemarkWithEvent: {
+ readonly remark: Bytes;
+ } & Struct;
+ readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';
+ }
+
+ /** @name OrmlVestingModuleCall (84) */
+ export interface OrmlVestingModuleCall extends Enum {
+ readonly isClaim: boolean;
+ readonly isVestedTransfer: boolean;
+ readonly asVestedTransfer: {
+ readonly dest: MultiAddress;
+ readonly schedule: OrmlVestingVestingSchedule;
+ } & Struct;
+ readonly isUpdateVestingSchedules: boolean;
+ readonly asUpdateVestingSchedules: {
+ readonly who: MultiAddress;
+ readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;
+ } & Struct;
+ readonly isClaimFor: boolean;
+ readonly asClaimFor: {
+ readonly dest: MultiAddress;
+ } & Struct;
+ readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';
+ }
+
+ /** @name OrmlVestingVestingSchedule (85) */
+ export interface OrmlVestingVestingSchedule extends Struct {
+ readonly start: u32;
+ readonly period: u32;
+ readonly periodCount: u32;
+ readonly perPeriod: Compact<u128>;
+ }
+
+ /** @name CumulusPalletXcmpQueueCall (87) */
+ export interface CumulusPalletXcmpQueueCall extends Enum {
+ readonly isServiceOverweight: boolean;
+ readonly asServiceOverweight: {
+ readonly index: u64;
+ readonly weightLimit: u64;
+ } & Struct;
+ readonly isSuspendXcmExecution: boolean;
+ readonly isResumeXcmExecution: boolean;
+ readonly isUpdateSuspendThreshold: boolean;
+ readonly asUpdateSuspendThreshold: {
+ readonly new_: u32;
+ } & Struct;
+ readonly isUpdateDropThreshold: boolean;
+ readonly asUpdateDropThreshold: {
+ readonly new_: u32;
+ } & Struct;
+ readonly isUpdateResumeThreshold: boolean;
+ readonly asUpdateResumeThreshold: {
+ readonly new_: u32;
+ } & Struct;
+ readonly isUpdateThresholdWeight: boolean;
+ readonly asUpdateThresholdWeight: {
+ readonly new_: u64;
+ } & Struct;
+ readonly isUpdateWeightRestrictDecay: boolean;
+ readonly asUpdateWeightRestrictDecay: {
+ readonly new_: u64;
+ } & Struct;
+ readonly isUpdateXcmpMaxIndividualWeight: boolean;
+ readonly asUpdateXcmpMaxIndividualWeight: {
+ readonly new_: u64;
+ } & Struct;
+ readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';
+ }
+
+ /** @name PalletXcmCall (88) */
+ export interface PalletXcmCall extends Enum {
+ readonly isSend: boolean;
+ readonly asSend: {
+ readonly dest: XcmVersionedMultiLocation;
+ readonly message: XcmVersionedXcm;
+ } & Struct;
+ readonly isTeleportAssets: boolean;
+ readonly asTeleportAssets: {
+ readonly dest: XcmVersionedMultiLocation;
+ readonly beneficiary: XcmVersionedMultiLocation;
+ readonly assets: XcmVersionedMultiAssets;
+ readonly feeAssetItem: u32;
+ } & Struct;
+ readonly isReserveTransferAssets: boolean;
+ readonly asReserveTransferAssets: {
+ readonly dest: XcmVersionedMultiLocation;
+ readonly beneficiary: XcmVersionedMultiLocation;
+ readonly assets: XcmVersionedMultiAssets;
+ readonly feeAssetItem: u32;
+ } & Struct;
+ readonly isExecute: boolean;
+ readonly asExecute: {
+ readonly message: XcmVersionedXcm;
+ readonly maxWeight: u64;
+ } & Struct;
+ readonly isForceXcmVersion: boolean;
+ readonly asForceXcmVersion: {
+ readonly location: XcmV1MultiLocation;
+ readonly xcmVersion: u32;
+ } & Struct;
+ readonly isForceDefaultXcmVersion: boolean;
+ readonly asForceDefaultXcmVersion: {
+ readonly maybeXcmVersion: Option<u32>;
+ } & Struct;
+ readonly isForceSubscribeVersionNotify: boolean;
+ readonly asForceSubscribeVersionNotify: {
+ readonly location: XcmVersionedMultiLocation;
+ } & Struct;
+ readonly isForceUnsubscribeVersionNotify: boolean;
+ readonly asForceUnsubscribeVersionNotify: {
+ readonly location: XcmVersionedMultiLocation;
+ } & Struct;
+ readonly isLimitedReserveTransferAssets: boolean;
+ readonly asLimitedReserveTransferAssets: {
+ readonly dest: XcmVersionedMultiLocation;
+ readonly beneficiary: XcmVersionedMultiLocation;
+ readonly assets: XcmVersionedMultiAssets;
+ readonly feeAssetItem: u32;
+ readonly weightLimit: XcmV2WeightLimit;
+ } & Struct;
+ readonly isLimitedTeleportAssets: boolean;
+ readonly asLimitedTeleportAssets: {
+ readonly dest: XcmVersionedMultiLocation;
+ readonly beneficiary: XcmVersionedMultiLocation;
+ readonly assets: XcmVersionedMultiAssets;
+ readonly feeAssetItem: u32;
+ readonly weightLimit: XcmV2WeightLimit;
+ } & Struct;
+ readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';
+ }
+
+ /** @name XcmVersionedMultiLocation (89) */
+ export interface XcmVersionedMultiLocation extends Enum {
+ readonly isV0: boolean;
+ readonly asV0: XcmV0MultiLocation;
+ readonly isV1: boolean;
+ readonly asV1: XcmV1MultiLocation;
+ readonly type: 'V0' | 'V1';
+ }
+
+ /** @name XcmV0MultiLocation (90) */
+ export interface XcmV0MultiLocation extends Enum {
+ readonly isNull: boolean;
+ readonly isX1: boolean;
+ readonly asX1: XcmV0Junction;
+ readonly isX2: boolean;
+ readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;
+ readonly isX3: boolean;
+ readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
+ readonly isX4: boolean;
+ readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
+ readonly isX5: boolean;
+ readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
+ readonly isX6: boolean;
+ readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
+ readonly isX7: boolean;
+ readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
+ readonly isX8: boolean;
+ readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
+ readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';
+ }
+
+ /** @name XcmV0Junction (91) */
+ export interface XcmV0Junction extends Enum {
+ readonly isParent: boolean;
+ readonly isParachain: boolean;
+ readonly asParachain: Compact<u32>;
+ readonly isAccountId32: boolean;
+ readonly asAccountId32: {
+ readonly network: XcmV0JunctionNetworkId;
+ readonly id: U8aFixed;
+ } & Struct;
+ readonly isAccountIndex64: boolean;
+ readonly asAccountIndex64: {
+ readonly network: XcmV0JunctionNetworkId;
+ readonly index: Compact<u64>;
+ } & Struct;
+ readonly isAccountKey20: boolean;
+ readonly asAccountKey20: {
+ readonly network: XcmV0JunctionNetworkId;
+ readonly key: U8aFixed;
+ } & Struct;
+ readonly isPalletInstance: boolean;
+ readonly asPalletInstance: u8;
+ readonly isGeneralIndex: boolean;
+ readonly asGeneralIndex: Compact<u128>;
+ readonly isGeneralKey: boolean;
+ readonly asGeneralKey: Bytes;
+ readonly isOnlyChild: boolean;
+ readonly isPlurality: boolean;
+ readonly asPlurality: {
+ readonly id: XcmV0JunctionBodyId;
+ readonly part: XcmV0JunctionBodyPart;
+ } & Struct;
+ readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';
+ }
+
+ /** @name XcmV0JunctionNetworkId (92) */
+ export interface XcmV0JunctionNetworkId extends Enum {
+ readonly isAny: boolean;
+ readonly isNamed: boolean;
+ readonly asNamed: Bytes;
+ readonly isPolkadot: boolean;
+ readonly isKusama: boolean;
+ readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';
+ }
+
+ /** @name XcmV0JunctionBodyId (93) */
+ export interface XcmV0JunctionBodyId extends Enum {
+ readonly isUnit: boolean;
+ readonly isNamed: boolean;
+ readonly asNamed: Bytes;
+ readonly isIndex: boolean;
+ readonly asIndex: Compact<u32>;
+ readonly isExecutive: boolean;
+ readonly isTechnical: boolean;
+ readonly isLegislative: boolean;
+ readonly isJudicial: boolean;
+ readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';
+ }
+
+ /** @name XcmV0JunctionBodyPart (94) */
+ export interface XcmV0JunctionBodyPart extends Enum {
+ readonly isVoice: boolean;
+ readonly isMembers: boolean;
+ readonly asMembers: {
+ readonly count: Compact<u32>;
+ } & Struct;
+ readonly isFraction: boolean;
+ readonly asFraction: {
+ readonly nom: Compact<u32>;
+ readonly denom: Compact<u32>;
+ } & Struct;
+ readonly isAtLeastProportion: boolean;
+ readonly asAtLeastProportion: {
+ readonly nom: Compact<u32>;
+ readonly denom: Compact<u32>;
+ } & Struct;
+ readonly isMoreThanProportion: boolean;
+ readonly asMoreThanProportion: {
+ readonly nom: Compact<u32>;
+ readonly denom: Compact<u32>;
+ } & Struct;
+ readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';
+ }
+
+ /** @name XcmV1MultiLocation (95) */
+ export interface XcmV1MultiLocation extends Struct {
+ readonly parents: u8;
+ readonly interior: XcmV1MultilocationJunctions;
+ }
+
+ /** @name XcmV1MultilocationJunctions (96) */
+ export interface XcmV1MultilocationJunctions extends Enum {
+ readonly isHere: boolean;
+ readonly isX1: boolean;
+ readonly asX1: XcmV1Junction;
+ readonly isX2: boolean;
+ readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;
+ readonly isX3: boolean;
+ readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
+ readonly isX4: boolean;
+ readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
+ readonly isX5: boolean;
+ readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
+ readonly isX6: boolean;
+ readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
+ readonly isX7: boolean;
+ readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
+ readonly isX8: boolean;
+ readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
+ readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';
+ }
+
+ /** @name XcmV1Junction (97) */
+ export interface XcmV1Junction extends Enum {
+ readonly isParachain: boolean;
+ readonly asParachain: Compact<u32>;
+ readonly isAccountId32: boolean;
+ readonly asAccountId32: {
+ readonly network: XcmV0JunctionNetworkId;
+ readonly id: U8aFixed;
+ } & Struct;
+ readonly isAccountIndex64: boolean;
+ readonly asAccountIndex64: {
+ readonly network: XcmV0JunctionNetworkId;
+ readonly index: Compact<u64>;
+ } & Struct;
+ readonly isAccountKey20: boolean;
+ readonly asAccountKey20: {
+ readonly network: XcmV0JunctionNetworkId;
+ readonly key: U8aFixed;
+ } & Struct;
+ readonly isPalletInstance: boolean;
+ readonly asPalletInstance: u8;
+ readonly isGeneralIndex: boolean;
+ readonly asGeneralIndex: Compact<u128>;
+ readonly isGeneralKey: boolean;
+ readonly asGeneralKey: Bytes;
+ readonly isOnlyChild: boolean;
+ readonly isPlurality: boolean;
+ readonly asPlurality: {
+ readonly id: XcmV0JunctionBodyId;
+ readonly part: XcmV0JunctionBodyPart;
+ } & Struct;
+ readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';
+ }
+
+ /** @name XcmVersionedXcm (98) */
+ export interface XcmVersionedXcm extends Enum {
+ readonly isV0: boolean;
+ readonly asV0: XcmV0Xcm;
+ readonly isV1: boolean;
+ readonly asV1: XcmV1Xcm;
+ readonly isV2: boolean;
+ readonly asV2: XcmV2Xcm;
+ readonly type: 'V0' | 'V1' | 'V2';
+ }
+
+ /** @name XcmV0Xcm (99) */
+ export interface XcmV0Xcm extends Enum {
+ readonly isWithdrawAsset: boolean;
+ readonly asWithdrawAsset: {
+ readonly assets: Vec<XcmV0MultiAsset>;
+ readonly effects: Vec<XcmV0Order>;
+ } & Struct;
+ readonly isReserveAssetDeposit: boolean;
+ readonly asReserveAssetDeposit: {
+ readonly assets: Vec<XcmV0MultiAsset>;
+ readonly effects: Vec<XcmV0Order>;
+ } & Struct;
+ readonly isTeleportAsset: boolean;
+ readonly asTeleportAsset: {
+ readonly assets: Vec<XcmV0MultiAsset>;
+ readonly effects: Vec<XcmV0Order>;
+ } & Struct;
+ readonly isQueryResponse: boolean;
+ readonly asQueryResponse: {
+ readonly queryId: Compact<u64>;
+ readonly response: XcmV0Response;
+ } & Struct;
+ readonly isTransferAsset: boolean;
+ readonly asTransferAsset: {
+ readonly assets: Vec<XcmV0MultiAsset>;
+ readonly dest: XcmV0MultiLocation;
+ } & Struct;
+ readonly isTransferReserveAsset: boolean;
+ readonly asTransferReserveAsset: {
+ readonly assets: Vec<XcmV0MultiAsset>;
+ readonly dest: XcmV0MultiLocation;
+ readonly effects: Vec<XcmV0Order>;
+ } & Struct;
+ readonly isTransact: boolean;
+ readonly asTransact: {
+ readonly originType: XcmV0OriginKind;
+ readonly requireWeightAtMost: u64;
+ readonly call: XcmDoubleEncoded;
+ } & Struct;
+ readonly isHrmpNewChannelOpenRequest: boolean;
+ readonly asHrmpNewChannelOpenRequest: {
+ readonly sender: Compact<u32>;
+ readonly maxMessageSize: Compact<u32>;
+ readonly maxCapacity: Compact<u32>;
+ } & Struct;
+ readonly isHrmpChannelAccepted: boolean;
+ readonly asHrmpChannelAccepted: {
+ readonly recipient: Compact<u32>;
+ } & Struct;
+ readonly isHrmpChannelClosing: boolean;
+ readonly asHrmpChannelClosing: {
+ readonly initiator: Compact<u32>;
+ readonly sender: Compact<u32>;
+ readonly recipient: Compact<u32>;
+ } & Struct;
+ readonly isRelayedFrom: boolean;
+ readonly asRelayedFrom: {
+ readonly who: XcmV0MultiLocation;
+ readonly message: XcmV0Xcm;
+ } & Struct;
+ readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';
+ }
+
+ /** @name XcmV0MultiAsset (101) */
+ export interface XcmV0MultiAsset extends Enum {
+ readonly isNone: boolean;
+ readonly isAll: boolean;
+ readonly isAllFungible: boolean;
+ readonly isAllNonFungible: boolean;
+ readonly isAllAbstractFungible: boolean;
+ readonly asAllAbstractFungible: {
+ readonly id: Bytes;
+ } & Struct;
+ readonly isAllAbstractNonFungible: boolean;
+ readonly asAllAbstractNonFungible: {
+ readonly class: Bytes;
+ } & Struct;
+ readonly isAllConcreteFungible: boolean;
+ readonly asAllConcreteFungible: {
+ readonly id: XcmV0MultiLocation;
+ } & Struct;
+ readonly isAllConcreteNonFungible: boolean;
+ readonly asAllConcreteNonFungible: {
+ readonly class: XcmV0MultiLocation;
+ } & Struct;
+ readonly isAbstractFungible: boolean;
+ readonly asAbstractFungible: {
+ readonly id: Bytes;
+ readonly amount: Compact<u128>;
+ } & Struct;
+ readonly isAbstractNonFungible: boolean;
+ readonly asAbstractNonFungible: {
+ readonly class: Bytes;
+ readonly instance: XcmV1MultiassetAssetInstance;
+ } & Struct;
+ readonly isConcreteFungible: boolean;
+ readonly asConcreteFungible: {
+ readonly id: XcmV0MultiLocation;
+ readonly amount: Compact<u128>;
+ } & Struct;
+ readonly isConcreteNonFungible: boolean;
+ readonly asConcreteNonFungible: {
+ readonly class: XcmV0MultiLocation;
+ readonly instance: XcmV1MultiassetAssetInstance;
+ } & Struct;
+ readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';
+ }
+
+ /** @name XcmV1MultiassetAssetInstance (102) */
+ export interface XcmV1MultiassetAssetInstance extends Enum {
+ readonly isUndefined: boolean;
+ readonly isIndex: boolean;
+ readonly asIndex: Compact<u128>;
+ readonly isArray4: boolean;
+ readonly asArray4: U8aFixed;
+ readonly isArray8: boolean;
+ readonly asArray8: U8aFixed;
+ readonly isArray16: boolean;
+ readonly asArray16: U8aFixed;
+ readonly isArray32: boolean;
+ readonly asArray32: U8aFixed;
+ readonly isBlob: boolean;
+ readonly asBlob: Bytes;
+ readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';
+ }
+
+ /** @name XcmV0Order (106) */
+ export interface XcmV0Order extends Enum {
+ readonly isNull: boolean;
+ readonly isDepositAsset: boolean;
+ readonly asDepositAsset: {
+ readonly assets: Vec<XcmV0MultiAsset>;
+ readonly dest: XcmV0MultiLocation;
+ } & Struct;
+ readonly isDepositReserveAsset: boolean;
+ readonly asDepositReserveAsset: {
+ readonly assets: Vec<XcmV0MultiAsset>;
+ readonly dest: XcmV0MultiLocation;
+ readonly effects: Vec<XcmV0Order>;
+ } & Struct;
+ readonly isExchangeAsset: boolean;
+ readonly asExchangeAsset: {
+ readonly give: Vec<XcmV0MultiAsset>;
+ readonly receive: Vec<XcmV0MultiAsset>;
+ } & Struct;
+ readonly isInitiateReserveWithdraw: boolean;
+ readonly asInitiateReserveWithdraw: {
+ readonly assets: Vec<XcmV0MultiAsset>;
+ readonly reserve: XcmV0MultiLocation;
+ readonly effects: Vec<XcmV0Order>;
+ } & Struct;
+ readonly isInitiateTeleport: boolean;
+ readonly asInitiateTeleport: {
+ readonly assets: Vec<XcmV0MultiAsset>;
+ readonly dest: XcmV0MultiLocation;
+ readonly effects: Vec<XcmV0Order>;
+ } & Struct;
+ readonly isQueryHolding: boolean;
+ readonly asQueryHolding: {
+ readonly queryId: Compact<u64>;
+ readonly dest: XcmV0MultiLocation;
+ readonly assets: Vec<XcmV0MultiAsset>;
+ } & Struct;
+ readonly isBuyExecution: boolean;
+ readonly asBuyExecution: {
+ readonly fees: XcmV0MultiAsset;
+ readonly weight: u64;
+ readonly debt: u64;
+ readonly haltOnError: bool;
+ readonly xcm: Vec<XcmV0Xcm>;
+ } & Struct;
+ readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
+ }
+
+ /** @name XcmV0Response (108) */
+ export interface XcmV0Response extends Enum {
+ readonly isAssets: boolean;
+ readonly asAssets: Vec<XcmV0MultiAsset>;
+ readonly type: 'Assets';
+ }
+
+ /** @name XcmV0OriginKind (109) */
+ export interface XcmV0OriginKind extends Enum {
+ readonly isNative: boolean;
+ readonly isSovereignAccount: boolean;
+ readonly isSuperuser: boolean;
+ readonly isXcm: boolean;
+ readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';
+ }
+
+ /** @name XcmDoubleEncoded (110) */
+ export interface XcmDoubleEncoded extends Struct {
+ readonly encoded: Bytes;
+ }
+
+ /** @name XcmV1Xcm (111) */
+ export interface XcmV1Xcm extends Enum {
+ readonly isWithdrawAsset: boolean;
+ readonly asWithdrawAsset: {
+ readonly assets: XcmV1MultiassetMultiAssets;
+ readonly effects: Vec<XcmV1Order>;
+ } & Struct;
+ readonly isReserveAssetDeposited: boolean;
+ readonly asReserveAssetDeposited: {
+ readonly assets: XcmV1MultiassetMultiAssets;
+ readonly effects: Vec<XcmV1Order>;
+ } & Struct;
+ readonly isReceiveTeleportedAsset: boolean;
+ readonly asReceiveTeleportedAsset: {
+ readonly assets: XcmV1MultiassetMultiAssets;
+ readonly effects: Vec<XcmV1Order>;
+ } & Struct;
+ readonly isQueryResponse: boolean;
+ readonly asQueryResponse: {
+ readonly queryId: Compact<u64>;
+ readonly response: XcmV1Response;
+ } & Struct;
+ readonly isTransferAsset: boolean;
+ readonly asTransferAsset: {
+ readonly assets: XcmV1MultiassetMultiAssets;
+ readonly beneficiary: XcmV1MultiLocation;
+ } & Struct;
+ readonly isTransferReserveAsset: boolean;
+ readonly asTransferReserveAsset: {
+ readonly assets: XcmV1MultiassetMultiAssets;
+ readonly dest: XcmV1MultiLocation;
+ readonly effects: Vec<XcmV1Order>;
+ } & Struct;
+ readonly isTransact: boolean;
+ readonly asTransact: {
+ readonly originType: XcmV0OriginKind;
+ readonly requireWeightAtMost: u64;
+ readonly call: XcmDoubleEncoded;
+ } & Struct;
+ readonly isHrmpNewChannelOpenRequest: boolean;
+ readonly asHrmpNewChannelOpenRequest: {
+ readonly sender: Compact<u32>;
+ readonly maxMessageSize: Compact<u32>;
+ readonly maxCapacity: Compact<u32>;
+ } & Struct;
+ readonly isHrmpChannelAccepted: boolean;
+ readonly asHrmpChannelAccepted: {
+ readonly recipient: Compact<u32>;
+ } & Struct;
+ readonly isHrmpChannelClosing: boolean;
+ readonly asHrmpChannelClosing: {
+ readonly initiator: Compact<u32>;
+ readonly sender: Compact<u32>;
+ readonly recipient: Compact<u32>;
+ } & Struct;
+ readonly isRelayedFrom: boolean;
+ readonly asRelayedFrom: {
+ readonly who: XcmV1MultilocationJunctions;
+ readonly message: XcmV1Xcm;
+ } & Struct;
+ readonly isSubscribeVersion: boolean;
+ readonly asSubscribeVersion: {
+ readonly queryId: Compact<u64>;
+ readonly maxResponseWeight: Compact<u64>;
+ } & Struct;
+ readonly isUnsubscribeVersion: boolean;
+ readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';
+ }
+
+ /** @name XcmV1MultiassetMultiAssets (112) */
+ export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}
+
+ /** @name XcmV1MultiAsset (114) */
+ export interface XcmV1MultiAsset extends Struct {
+ readonly id: XcmV1MultiassetAssetId;
+ readonly fun: XcmV1MultiassetFungibility;
+ }
+
+ /** @name XcmV1MultiassetAssetId (115) */
+ export interface XcmV1MultiassetAssetId extends Enum {
+ readonly isConcrete: boolean;
+ readonly asConcrete: XcmV1MultiLocation;
+ readonly isAbstract: boolean;
+ readonly asAbstract: Bytes;
+ readonly type: 'Concrete' | 'Abstract';
+ }
+
+ /** @name XcmV1MultiassetFungibility (116) */
+ export interface XcmV1MultiassetFungibility extends Enum {
+ readonly isFungible: boolean;
+ readonly asFungible: Compact<u128>;
+ readonly isNonFungible: boolean;
+ readonly asNonFungible: XcmV1MultiassetAssetInstance;
+ readonly type: 'Fungible' | 'NonFungible';
+ }
+
+ /** @name XcmV1Order (118) */
+ export interface XcmV1Order extends Enum {
+ readonly isNoop: boolean;
+ readonly isDepositAsset: boolean;
+ readonly asDepositAsset: {
+ readonly assets: XcmV1MultiassetMultiAssetFilter;
+ readonly maxAssets: u32;
+ readonly beneficiary: XcmV1MultiLocation;
+ } & Struct;
+ readonly isDepositReserveAsset: boolean;
+ readonly asDepositReserveAsset: {
+ readonly assets: XcmV1MultiassetMultiAssetFilter;
+ readonly maxAssets: u32;
+ readonly dest: XcmV1MultiLocation;
+ readonly effects: Vec<XcmV1Order>;
+ } & Struct;
+ readonly isExchangeAsset: boolean;
+ readonly asExchangeAsset: {
+ readonly give: XcmV1MultiassetMultiAssetFilter;
+ readonly receive: XcmV1MultiassetMultiAssets;
+ } & Struct;
+ readonly isInitiateReserveWithdraw: boolean;
+ readonly asInitiateReserveWithdraw: {
+ readonly assets: XcmV1MultiassetMultiAssetFilter;
+ readonly reserve: XcmV1MultiLocation;
+ readonly effects: Vec<XcmV1Order>;
+ } & Struct;
+ readonly isInitiateTeleport: boolean;
+ readonly asInitiateTeleport: {
+ readonly assets: XcmV1MultiassetMultiAssetFilter;
+ readonly dest: XcmV1MultiLocation;
+ readonly effects: Vec<XcmV1Order>;
+ } & Struct;
+ readonly isQueryHolding: boolean;
+ readonly asQueryHolding: {
+ readonly queryId: Compact<u64>;
+ readonly dest: XcmV1MultiLocation;
+ readonly assets: XcmV1MultiassetMultiAssetFilter;
+ } & Struct;
+ readonly isBuyExecution: boolean;
+ readonly asBuyExecution: {
+ readonly fees: XcmV1MultiAsset;
+ readonly weight: u64;
+ readonly debt: u64;
+ readonly haltOnError: bool;
+ readonly instructions: Vec<XcmV1Xcm>;
+ } & Struct;
+ readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
+ }
+
+ /** @name XcmV1MultiassetMultiAssetFilter (119) */
+ export interface XcmV1MultiassetMultiAssetFilter extends Enum {
+ readonly isDefinite: boolean;
+ readonly asDefinite: XcmV1MultiassetMultiAssets;
+ readonly isWild: boolean;
+ readonly asWild: XcmV1MultiassetWildMultiAsset;
+ readonly type: 'Definite' | 'Wild';
+ }
+
+ /** @name XcmV1MultiassetWildMultiAsset (120) */
+ export interface XcmV1MultiassetWildMultiAsset extends Enum {
+ readonly isAll: boolean;
+ readonly isAllOf: boolean;
+ readonly asAllOf: {
+ readonly id: XcmV1MultiassetAssetId;
+ readonly fun: XcmV1MultiassetWildFungibility;
+ } & Struct;
+ readonly type: 'All' | 'AllOf';
+ }
+
+ /** @name XcmV1MultiassetWildFungibility (121) */
+ export interface XcmV1MultiassetWildFungibility extends Enum {
+ readonly isFungible: boolean;
+ readonly isNonFungible: boolean;
+ readonly type: 'Fungible' | 'NonFungible';
+ }
+
+ /** @name XcmV1Response (123) */
+ export interface XcmV1Response extends Enum {
+ readonly isAssets: boolean;
+ readonly asAssets: XcmV1MultiassetMultiAssets;
+ readonly isVersion: boolean;
+ readonly asVersion: u32;
+ readonly type: 'Assets' | 'Version';
+ }
+
+ /** @name XcmV2Xcm (124) */
+ export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}
+
+ /** @name XcmV2Instruction (126) */
+ export interface XcmV2Instruction extends Enum {
+ readonly isWithdrawAsset: boolean;
+ readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;
+ readonly isReserveAssetDeposited: boolean;
+ readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;
+ readonly isReceiveTeleportedAsset: boolean;
+ readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;
+ readonly isQueryResponse: boolean;
+ readonly asQueryResponse: {
+ readonly queryId: Compact<u64>;
+ readonly response: XcmV2Response;
+ readonly maxWeight: Compact<u64>;
+ } & Struct;
+ readonly isTransferAsset: boolean;
+ readonly asTransferAsset: {
+ readonly assets: XcmV1MultiassetMultiAssets;
+ readonly beneficiary: XcmV1MultiLocation;
+ } & Struct;
+ readonly isTransferReserveAsset: boolean;
+ readonly asTransferReserveAsset: {
+ readonly assets: XcmV1MultiassetMultiAssets;
+ readonly dest: XcmV1MultiLocation;
+ readonly xcm: XcmV2Xcm;
+ } & Struct;
+ readonly isTransact: boolean;
+ readonly asTransact: {
+ readonly originType: XcmV0OriginKind;
+ readonly requireWeightAtMost: Compact<u64>;
+ readonly call: XcmDoubleEncoded;
+ } & Struct;
+ readonly isHrmpNewChannelOpenRequest: boolean;
+ readonly asHrmpNewChannelOpenRequest: {
+ readonly sender: Compact<u32>;
+ readonly maxMessageSize: Compact<u32>;
+ readonly maxCapacity: Compact<u32>;
+ } & Struct;
+ readonly isHrmpChannelAccepted: boolean;
+ readonly asHrmpChannelAccepted: {
+ readonly recipient: Compact<u32>;
+ } & Struct;
+ readonly isHrmpChannelClosing: boolean;
+ readonly asHrmpChannelClosing: {
+ readonly initiator: Compact<u32>;
+ readonly sender: Compact<u32>;
+ readonly recipient: Compact<u32>;
+ } & Struct;
+ readonly isClearOrigin: boolean;
+ readonly isDescendOrigin: boolean;
+ readonly asDescendOrigin: XcmV1MultilocationJunctions;
+ readonly isReportError: boolean;
+ readonly asReportError: {
+ readonly queryId: Compact<u64>;
+ readonly dest: XcmV1MultiLocation;
+ readonly maxResponseWeight: Compact<u64>;
+ } & Struct;
+ readonly isDepositAsset: boolean;
+ readonly asDepositAsset: {
+ readonly assets: XcmV1MultiassetMultiAssetFilter;
+ readonly maxAssets: Compact<u32>;
+ readonly beneficiary: XcmV1MultiLocation;
+ } & Struct;
+ readonly isDepositReserveAsset: boolean;
+ readonly asDepositReserveAsset: {
+ readonly assets: XcmV1MultiassetMultiAssetFilter;
+ readonly maxAssets: Compact<u32>;
+ readonly dest: XcmV1MultiLocation;
+ readonly xcm: XcmV2Xcm;
+ } & Struct;
+ readonly isExchangeAsset: boolean;
+ readonly asExchangeAsset: {
+ readonly give: XcmV1MultiassetMultiAssetFilter;
+ readonly receive: XcmV1MultiassetMultiAssets;
+ } & Struct;
+ readonly isInitiateReserveWithdraw: boolean;
+ readonly asInitiateReserveWithdraw: {
+ readonly assets: XcmV1MultiassetMultiAssetFilter;
+ readonly reserve: XcmV1MultiLocation;
+ readonly xcm: XcmV2Xcm;
+ } & Struct;
+ readonly isInitiateTeleport: boolean;
+ readonly asInitiateTeleport: {
+ readonly assets: XcmV1MultiassetMultiAssetFilter;
+ readonly dest: XcmV1MultiLocation;
+ readonly xcm: XcmV2Xcm;
+ } & Struct;
+ readonly isQueryHolding: boolean;
+ readonly asQueryHolding: {
+ readonly queryId: Compact<u64>;
+ readonly dest: XcmV1MultiLocation;
+ readonly assets: XcmV1MultiassetMultiAssetFilter;
+ readonly maxResponseWeight: Compact<u64>;
+ } & Struct;
+ readonly isBuyExecution: boolean;
+ readonly asBuyExecution: {
+ readonly fees: XcmV1MultiAsset;
+ readonly weightLimit: XcmV2WeightLimit;
+ } & Struct;
+ readonly isRefundSurplus: boolean;
+ readonly isSetErrorHandler: boolean;
+ readonly asSetErrorHandler: XcmV2Xcm;
+ readonly isSetAppendix: boolean;
+ readonly asSetAppendix: XcmV2Xcm;
+ readonly isClearError: boolean;
+ readonly isClaimAsset: boolean;
+ readonly asClaimAsset: {
+ readonly assets: XcmV1MultiassetMultiAssets;
+ readonly ticket: XcmV1MultiLocation;
+ } & Struct;
+ readonly isTrap: boolean;
+ readonly asTrap: Compact<u64>;
+ readonly isSubscribeVersion: boolean;
+ readonly asSubscribeVersion: {
+ readonly queryId: Compact<u64>;
+ readonly maxResponseWeight: Compact<u64>;
+ } & Struct;
+ readonly isUnsubscribeVersion: boolean;
+ readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion';
+ }
+
+ /** @name XcmV2Response (127) */
+ export interface XcmV2Response extends Enum {
+ readonly isNull: boolean;
+ readonly isAssets: boolean;
+ readonly asAssets: XcmV1MultiassetMultiAssets;
+ readonly isExecutionResult: boolean;
+ readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;
+ readonly isVersion: boolean;
+ readonly asVersion: u32;
+ readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';
+ }
+
+ /** @name XcmV2TraitsError (130) */
+ export interface XcmV2TraitsError extends Enum {
+ readonly isOverflow: boolean;
+ readonly isUnimplemented: boolean;
+ readonly isUntrustedReserveLocation: boolean;
+ readonly isUntrustedTeleportLocation: boolean;
+ readonly isMultiLocationFull: boolean;
+ readonly isMultiLocationNotInvertible: boolean;
+ readonly isBadOrigin: boolean;
+ readonly isInvalidLocation: boolean;
+ readonly isAssetNotFound: boolean;
+ readonly isFailedToTransactAsset: boolean;
+ readonly isNotWithdrawable: boolean;
+ readonly isLocationCannotHold: boolean;
+ readonly isExceedsMaxMessageSize: boolean;
+ readonly isDestinationUnsupported: boolean;
+ readonly isTransport: boolean;
+ readonly isUnroutable: boolean;
+ readonly isUnknownClaim: boolean;
+ readonly isFailedToDecode: boolean;
+ readonly isMaxWeightInvalid: boolean;
+ readonly isNotHoldingFees: boolean;
+ readonly isTooExpensive: boolean;
+ readonly isTrap: boolean;
+ readonly asTrap: u64;
+ readonly isUnhandledXcmVersion: boolean;
+ readonly isWeightLimitReached: boolean;
+ readonly asWeightLimitReached: u64;
+ readonly isBarrier: boolean;
+ readonly isWeightNotComputable: boolean;
+ readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'MultiLocationFull' | 'MultiLocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable';
+ }
+
+ /** @name XcmV2WeightLimit (131) */
+ export interface XcmV2WeightLimit extends Enum {
+ readonly isUnlimited: boolean;
+ readonly isLimited: boolean;
+ readonly asLimited: Compact<u64>;
+ readonly type: 'Unlimited' | 'Limited';
+ }
+
+ /** @name XcmVersionedMultiAssets (132) */
+ export interface XcmVersionedMultiAssets extends Enum {
+ readonly isV0: boolean;
+ readonly asV0: Vec<XcmV0MultiAsset>;
+ readonly isV1: boolean;
+ readonly asV1: XcmV1MultiassetMultiAssets;
+ readonly type: 'V0' | 'V1';
+ }
+
+ /** @name CumulusPalletXcmCall (147) */
+ export type CumulusPalletXcmCall = Null;
+
+ /** @name CumulusPalletDmpQueueCall (148) */
+ export interface CumulusPalletDmpQueueCall extends Enum {
+ readonly isServiceOverweight: boolean;
+ readonly asServiceOverweight: {
+ readonly index: u64;
+ readonly weightLimit: u64;
+ } & Struct;
+ readonly type: 'ServiceOverweight';
+ }
+
+ /** @name PalletInflationCall (149) */
+ export interface PalletInflationCall extends Enum {
+ readonly isStartInflation: boolean;
+ readonly asStartInflation: {
+ readonly inflationStartRelayBlock: u32;
+ } & Struct;
+ readonly type: 'StartInflation';
+ }
+
+ /** @name PalletUniqueCall (150) */
+ export interface PalletUniqueCall extends Enum {
+ readonly isCreateCollection: boolean;
+ readonly asCreateCollection: {
+ readonly collectionName: Vec<u16>;
+ readonly collectionDescription: Vec<u16>;
+ readonly tokenPrefix: Bytes;
+ readonly mode: UpDataStructsCollectionMode;
+ } & Struct;
+ readonly isCreateCollectionEx: boolean;
+ readonly asCreateCollectionEx: {
+ readonly data: UpDataStructsCreateCollectionData;
+ } & Struct;
+ readonly isDestroyCollection: boolean;
+ readonly asDestroyCollection: {
+ readonly collectionId: u32;
+ } & Struct;
+ readonly isAddToAllowList: boolean;
+ readonly asAddToAllowList: {
+ readonly collectionId: u32;
+ readonly address: PalletEvmAccountBasicCrossAccountIdRepr;
+ } & Struct;
+ readonly isRemoveFromAllowList: boolean;
+ readonly asRemoveFromAllowList: {
+ readonly collectionId: u32;
+ readonly address: PalletEvmAccountBasicCrossAccountIdRepr;
+ } & Struct;
+ readonly isSetPublicAccessMode: boolean;
+ readonly asSetPublicAccessMode: {
+ readonly collectionId: u32;
+ readonly mode: UpDataStructsAccessMode;
+ } & Struct;
+ readonly isSetMintPermission: boolean;
+ readonly asSetMintPermission: {
+ readonly collectionId: u32;
+ readonly mintPermission: bool;
+ } & Struct;
+ readonly isChangeCollectionOwner: boolean;
+ readonly asChangeCollectionOwner: {
+ readonly collectionId: u32;
+ readonly newOwner: AccountId32;
+ } & Struct;
+ readonly isAddCollectionAdmin: boolean;
+ readonly asAddCollectionAdmin: {
+ readonly collectionId: u32;
+ readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;
+ } & Struct;
+ readonly isRemoveCollectionAdmin: boolean;
+ readonly asRemoveCollectionAdmin: {
+ readonly collectionId: u32;
+ readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;
+ } & Struct;
+ readonly isSetCollectionSponsor: boolean;
+ readonly asSetCollectionSponsor: {
+ readonly collectionId: u32;
+ readonly newSponsor: AccountId32;
+ } & Struct;
+ readonly isConfirmSponsorship: boolean;
+ readonly asConfirmSponsorship: {
+ readonly collectionId: u32;
+ } & Struct;
+ readonly isRemoveCollectionSponsor: boolean;
+ readonly asRemoveCollectionSponsor: {
+ readonly collectionId: u32;
+ } & Struct;
+ readonly isCreateItem: boolean;
+ readonly asCreateItem: {
+ readonly collectionId: u32;
+ readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
+ readonly data: UpDataStructsCreateItemData;
+ } & Struct;
+ readonly isCreateMultipleItems: boolean;
+ readonly asCreateMultipleItems: {
+ readonly collectionId: u32;
+ readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
+ readonly itemsData: Vec<UpDataStructsCreateItemData>;
+ } & Struct;
+ readonly isCreateMultipleItemsEx: boolean;
+ readonly asCreateMultipleItemsEx: {
+ readonly collectionId: u32;
+ readonly data: UpDataStructsCreateItemExData;
+ } & Struct;
+ readonly isSetTransfersEnabledFlag: boolean;
+ readonly asSetTransfersEnabledFlag: {
+ readonly collectionId: u32;
+ readonly value: bool;
+ } & Struct;
+ readonly isBurnItem: boolean;
+ readonly asBurnItem: {
+ readonly collectionId: u32;
+ readonly itemId: u32;
+ readonly value: u128;
+ } & Struct;
+ readonly isBurnFrom: boolean;
+ readonly asBurnFrom: {
+ readonly collectionId: u32;
+ readonly from: PalletEvmAccountBasicCrossAccountIdRepr;
+ readonly itemId: u32;
+ readonly value: u128;
+ } & Struct;
+ readonly isTransfer: boolean;
+ readonly asTransfer: {
+ readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;
+ readonly collectionId: u32;
+ readonly itemId: u32;
+ readonly value: u128;
+ } & Struct;
+ readonly isApprove: boolean;
+ readonly asApprove: {
+ readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;
+ readonly collectionId: u32;
+ readonly itemId: u32;
+ readonly amount: u128;
+ } & Struct;
+ readonly isTransferFrom: boolean;
+ readonly asTransferFrom: {
+ readonly from: PalletEvmAccountBasicCrossAccountIdRepr;
+ readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;
+ readonly collectionId: u32;
+ readonly itemId: u32;
+ readonly value: u128;
+ } & Struct;
+ readonly isSetVariableMetaData: boolean;
+ readonly asSetVariableMetaData: {
+ readonly collectionId: u32;
+ readonly itemId: u32;
+ readonly data: Bytes;
+ } & Struct;
+ readonly isSetMetaUpdatePermissionFlag: boolean;
+ readonly asSetMetaUpdatePermissionFlag: {
+ readonly collectionId: u32;
+ readonly value: UpDataStructsMetaUpdatePermission;
+ } & Struct;
+ readonly isSetSchemaVersion: boolean;
+ readonly asSetSchemaVersion: {
+ readonly collectionId: u32;
+ readonly version: UpDataStructsSchemaVersion;
+ } & Struct;
+ readonly isSetOffchainSchema: boolean;
+ readonly asSetOffchainSchema: {
+ readonly collectionId: u32;
+ readonly schema: Bytes;
+ } & Struct;
+ readonly isSetConstOnChainSchema: boolean;
+ readonly asSetConstOnChainSchema: {
+ readonly collectionId: u32;
+ readonly schema: Bytes;
+ } & Struct;
+ readonly isSetVariableOnChainSchema: boolean;
+ readonly asSetVariableOnChainSchema: {
+ readonly collectionId: u32;
+ readonly schema: Bytes;
+ } & Struct;
+ readonly isSetCollectionLimits: boolean;
+ readonly asSetCollectionLimits: {
+ readonly collectionId: u32;
+ readonly newLimit: UpDataStructsCollectionLimits;
+ } & Struct;
+ readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'SetPublicAccessMode' | 'SetMintPermission' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetVariableMetaData' | 'SetMetaUpdatePermissionFlag' | 'SetSchemaVersion' | 'SetOffchainSchema' | 'SetConstOnChainSchema' | 'SetVariableOnChainSchema' | 'SetCollectionLimits';
+ }
+
+ /** @name UpDataStructsCollectionMode (156) */
+ export interface UpDataStructsCollectionMode extends Enum {
+ readonly isNft: boolean;
+ readonly isFungible: boolean;
+ readonly asFungible: u8;
+ readonly isReFungible: boolean;
+ readonly type: 'Nft' | 'Fungible' | 'ReFungible';
+ }
+
+ /** @name UpDataStructsCreateCollectionData (157) */
+ export interface UpDataStructsCreateCollectionData extends Struct {
+ readonly mode: UpDataStructsCollectionMode;
+ readonly access: Option<UpDataStructsAccessMode>;
+ readonly name: Vec<u16>;
+ readonly description: Vec<u16>;
+ readonly tokenPrefix: Bytes;
+ readonly offchainSchema: Bytes;
+ readonly schemaVersion: Option<UpDataStructsSchemaVersion>;
+ readonly pendingSponsor: Option<AccountId32>;
+ readonly limits: Option<UpDataStructsCollectionLimits>;
+ readonly variableOnChainSchema: Bytes;
+ readonly constOnChainSchema: Bytes;
+ readonly metaUpdatePermission: Option<UpDataStructsMetaUpdatePermission>;
+ }
+
+ /** @name UpDataStructsAccessMode (159) */
+ export interface UpDataStructsAccessMode extends Enum {
+ readonly isNormal: boolean;
+ readonly isAllowList: boolean;
+ readonly type: 'Normal' | 'AllowList';
+ }
+
+ /** @name UpDataStructsSchemaVersion (162) */
+ export interface UpDataStructsSchemaVersion extends Enum {
+ readonly isImageURL: boolean;
+ readonly isUnique: boolean;
+ readonly type: 'ImageURL' | 'Unique';
+ }
+
+ /** @name UpDataStructsCollectionLimits (165) */
+ export interface UpDataStructsCollectionLimits extends Struct {
+ readonly accountTokenOwnershipLimit: Option<u32>;
+ readonly sponsoredDataSize: Option<u32>;
+ readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;
+ readonly tokenLimit: Option<u32>;
+ readonly sponsorTransferTimeout: Option<u32>;
+ readonly sponsorApproveTimeout: Option<u32>;
+ readonly ownerCanTransfer: Option<bool>;
+ readonly ownerCanDestroy: Option<bool>;
+ readonly transfersEnabled: Option<bool>;
+ readonly nestingRule: Option<UpDataStructsNestingRule>;
+ }
+
+ /** @name UpDataStructsSponsoringRateLimit (167) */
+ export interface UpDataStructsSponsoringRateLimit extends Enum {
+ readonly isSponsoringDisabled: boolean;
+ readonly isBlocks: boolean;
+ readonly asBlocks: u32;
+ readonly type: 'SponsoringDisabled' | 'Blocks';
+ }
+
+ /** @name UpDataStructsNestingRule (170) */
+ export interface UpDataStructsNestingRule extends Enum {
+ readonly isDisabled: boolean;
+ readonly isOwner: boolean;
+ readonly isOwnerRestricted: boolean;
+ readonly asOwnerRestricted: FrameSupportStorageBoundedBTreeSet;
+ readonly type: 'Disabled' | 'Owner' | 'OwnerRestricted';
+ }
+
+ /** @name FrameSupportStorageBoundedBTreeSet (171) */
+ export interface FrameSupportStorageBoundedBTreeSet extends BTreeSet<u32> {}
+
+ /** @name UpDataStructsMetaUpdatePermission (177) */
+ export interface UpDataStructsMetaUpdatePermission extends Enum {
+ readonly isItemOwner: boolean;
+ readonly isAdmin: boolean;
+ readonly isNone: boolean;
+ readonly type: 'ItemOwner' | 'Admin' | 'None';
+ }
+
+ /** @name PalletEvmAccountBasicCrossAccountIdRepr (178) */
+ export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {
+ readonly isSubstrate: boolean;
+ readonly asSubstrate: AccountId32;
+ readonly isEthereum: boolean;
+ readonly asEthereum: H160;
+ readonly type: 'Substrate' | 'Ethereum';
+ }
+
+ /** @name UpDataStructsCreateItemData (180) */
+ export interface UpDataStructsCreateItemData extends Enum {
+ readonly isNft: boolean;
+ readonly asNft: UpDataStructsCreateNftData;
+ readonly isFungible: boolean;
+ readonly asFungible: UpDataStructsCreateFungibleData;
+ readonly isReFungible: boolean;
+ readonly asReFungible: UpDataStructsCreateReFungibleData;
+ readonly type: 'Nft' | 'Fungible' | 'ReFungible';
+ }
+
+ /** @name UpDataStructsCreateNftData (181) */
+ export interface UpDataStructsCreateNftData extends Struct {
+ readonly constData: Bytes;
+ readonly variableData: Bytes;
+ }
+
+ /** @name UpDataStructsCreateFungibleData (183) */
+ export interface UpDataStructsCreateFungibleData extends Struct {
+ readonly value: u128;
+ }
+
+ /** @name UpDataStructsCreateReFungibleData (184) */
+ export interface UpDataStructsCreateReFungibleData extends Struct {
+ readonly constData: Bytes;
+ readonly variableData: Bytes;
+ readonly pieces: u128;
+ }
+
+ /** @name UpDataStructsCreateItemExData (186) */
+ export interface UpDataStructsCreateItemExData extends Enum {
+ readonly isNft: boolean;
+ readonly asNft: Vec<UpDataStructsCreateNftExData>;
+ readonly isFungible: boolean;
+ readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;
+ readonly isRefungibleMultipleItems: boolean;
+ readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExData>;
+ readonly isRefungibleMultipleOwners: boolean;
+ readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExData;
+ readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';
+ }
+
+ /** @name UpDataStructsCreateNftExData (188) */
+ export interface UpDataStructsCreateNftExData extends Struct {
+ readonly constData: Bytes;
+ readonly variableData: Bytes;
+ readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
+ }
+
+ /** @name UpDataStructsCreateRefungibleExData (195) */
+ export interface UpDataStructsCreateRefungibleExData extends Struct {
+ readonly constData: Bytes;
+ readonly variableData: Bytes;
+ readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;
+ }
+
+ /** @name PalletTemplateTransactionPaymentCall (198) */
+ export type PalletTemplateTransactionPaymentCall = Null;
+
+ /** @name PalletStructureCall (199) */
+ export type PalletStructureCall = Null;
+
+ /** @name PalletEvmCall (200) */
+ export interface PalletEvmCall extends Enum {
+ readonly isWithdraw: boolean;
+ readonly asWithdraw: {
+ readonly address: H160;
+ readonly value: u128;
+ } & Struct;
+ readonly isCall: boolean;
+ readonly asCall: {
+ readonly source: H160;
+ readonly target: H160;
+ readonly input: Bytes;
+ readonly value: U256;
+ readonly gasLimit: u64;
+ readonly maxFeePerGas: U256;
+ readonly maxPriorityFeePerGas: Option<U256>;
+ readonly nonce: Option<U256>;
+ readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;
+ } & Struct;
+ readonly isCreate: boolean;
+ readonly asCreate: {
+ readonly source: H160;
+ readonly init: Bytes;
+ readonly value: U256;
+ readonly gasLimit: u64;
+ readonly maxFeePerGas: U256;
+ readonly maxPriorityFeePerGas: Option<U256>;
+ readonly nonce: Option<U256>;
+ readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;
+ } & Struct;
+ readonly isCreate2: boolean;
+ readonly asCreate2: {
+ readonly source: H160;
+ readonly init: Bytes;
+ readonly salt: H256;
+ readonly value: U256;
+ readonly gasLimit: u64;
+ readonly maxFeePerGas: U256;
+ readonly maxPriorityFeePerGas: Option<U256>;
+ readonly nonce: Option<U256>;
+ readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;
+ } & Struct;
+ readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';
+ }
+
+ /** @name PalletEthereumCall (206) */
+ export interface PalletEthereumCall extends Enum {
+ readonly isTransact: boolean;
+ readonly asTransact: {
+ readonly transaction: EthereumTransactionTransactionV2;
+ } & Struct;
+ readonly type: 'Transact';
+ }
+
+ /** @name EthereumTransactionTransactionV2 (207) */
+ export interface EthereumTransactionTransactionV2 extends Enum {
+ readonly isLegacy: boolean;
+ readonly asLegacy: EthereumTransactionLegacyTransaction;
+ readonly isEip2930: boolean;
+ readonly asEip2930: EthereumTransactionEip2930Transaction;
+ readonly isEip1559: boolean;
+ readonly asEip1559: EthereumTransactionEip1559Transaction;
+ readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
+ }
+
+ /** @name EthereumTransactionLegacyTransaction (208) */
+ export interface EthereumTransactionLegacyTransaction extends Struct {
+ readonly nonce: U256;
+ readonly gasPrice: U256;
+ readonly gasLimit: U256;
+ readonly action: EthereumTransactionTransactionAction;
+ readonly value: U256;
+ readonly input: Bytes;
+ readonly signature: EthereumTransactionTransactionSignature;
+ }
+
+ /** @name EthereumTransactionTransactionAction (209) */
+ export interface EthereumTransactionTransactionAction extends Enum {
+ readonly isCall: boolean;
+ readonly asCall: H160;
+ readonly isCreate: boolean;
+ readonly type: 'Call' | 'Create';
+ }
+
+ /** @name EthereumTransactionTransactionSignature (210) */
+ export interface EthereumTransactionTransactionSignature extends Struct {
+ readonly v: u64;
+ readonly r: H256;
+ readonly s: H256;
+ }
+
+ /** @name EthereumTransactionEip2930Transaction (212) */
+ export interface EthereumTransactionEip2930Transaction extends Struct {
+ readonly chainId: u64;
+ readonly nonce: U256;
+ readonly gasPrice: U256;
+ readonly gasLimit: U256;
+ readonly action: EthereumTransactionTransactionAction;
+ readonly value: U256;
+ readonly input: Bytes;
+ readonly accessList: Vec<EthereumTransactionAccessListItem>;
+ readonly oddYParity: bool;
+ readonly r: H256;
+ readonly s: H256;
+ }
+
+ /** @name EthereumTransactionAccessListItem (214) */
+ export interface EthereumTransactionAccessListItem extends Struct {
+ readonly address: H160;
+ readonly storageKeys: Vec<H256>;
+ }
+
+ /** @name EthereumTransactionEip1559Transaction (215) */
+ export interface EthereumTransactionEip1559Transaction extends Struct {
+ readonly chainId: u64;
+ readonly nonce: U256;
+ readonly maxPriorityFeePerGas: U256;
+ readonly maxFeePerGas: U256;
+ readonly gasLimit: U256;
+ readonly action: EthereumTransactionTransactionAction;
+ readonly value: U256;
+ readonly input: Bytes;
+ readonly accessList: Vec<EthereumTransactionAccessListItem>;
+ readonly oddYParity: bool;
+ readonly r: H256;
+ readonly s: H256;
+ }
+
+ /** @name PalletEvmMigrationCall (216) */
+ export interface PalletEvmMigrationCall extends Enum {
+ readonly isBegin: boolean;
+ readonly asBegin: {
+ readonly address: H160;
+ } & Struct;
+ readonly isSetData: boolean;
+ readonly asSetData: {
+ readonly address: H160;
+ readonly data: Vec<ITuple<[H256, H256]>>;
+ } & Struct;
+ readonly isFinish: boolean;
+ readonly asFinish: {
+ readonly address: H160;
+ readonly code: Bytes;
+ } & Struct;
+ readonly type: 'Begin' | 'SetData' | 'Finish';
+ }
+
+ /** @name PalletSudoEvent (219) */
+ export interface PalletSudoEvent extends Enum {
+ readonly isSudid: boolean;
+ readonly asSudid: {
+ readonly sudoResult: Result<Null, SpRuntimeDispatchError>;
+ } & Struct;
+ readonly isKeyChanged: boolean;
+ readonly asKeyChanged: {
+ readonly oldSudoer: Option<AccountId32>;
+ } & Struct;
+ readonly isSudoAsDone: boolean;
+ readonly asSudoAsDone: {
+ readonly sudoResult: Result<Null, SpRuntimeDispatchError>;
+ } & Struct;
+ readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';
+ }
+
+ /** @name SpRuntimeDispatchError (221) */
+ export interface SpRuntimeDispatchError extends Enum {
+ readonly isOther: boolean;
+ readonly isCannotLookup: boolean;
+ readonly isBadOrigin: boolean;
+ readonly isModule: boolean;
+ readonly asModule: SpRuntimeModuleError;
+ readonly isConsumerRemaining: boolean;
+ readonly isNoProviders: boolean;
+ readonly isTooManyConsumers: boolean;
+ readonly isToken: boolean;
+ readonly asToken: SpRuntimeTokenError;
+ readonly isArithmetic: boolean;
+ readonly asArithmetic: SpRuntimeArithmeticError;
+ readonly isTransactional: boolean;
+ readonly asTransactional: SpRuntimeTransactionalError;
+ readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';
+ }
+
+ /** @name SpRuntimeModuleError (222) */
+ export interface SpRuntimeModuleError extends Struct {
+ readonly index: u8;
+ readonly error: U8aFixed;
+ }
+
+ /** @name SpRuntimeTokenError (223) */
+ export interface SpRuntimeTokenError extends Enum {
+ readonly isNoFunds: boolean;
+ readonly isWouldDie: boolean;
+ readonly isBelowMinimum: boolean;
+ readonly isCannotCreate: boolean;
+ readonly isUnknownAsset: boolean;
+ readonly isFrozen: boolean;
+ readonly isUnsupported: boolean;
+ readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';
+ }
+
+ /** @name SpRuntimeArithmeticError (224) */
+ export interface SpRuntimeArithmeticError extends Enum {
+ readonly isUnderflow: boolean;
+ readonly isOverflow: boolean;
+ readonly isDivisionByZero: boolean;
+ readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';
+ }
+
+ /** @name SpRuntimeTransactionalError (225) */
+ export interface SpRuntimeTransactionalError extends Enum {
+ readonly isLimitReached: boolean;
+ readonly isNoLayer: boolean;
+ readonly type: 'LimitReached' | 'NoLayer';
+ }
+
+ /** @name PalletSudoError (226) */
+ export interface PalletSudoError extends Enum {
+ readonly isRequireSudo: boolean;
+ readonly type: 'RequireSudo';
+ }
+
+ /** @name FrameSystemAccountInfo (227) */
+ export interface FrameSystemAccountInfo extends Struct {
+ readonly nonce: u32;
+ readonly consumers: u32;
+ readonly providers: u32;
+ readonly sufficients: u32;
+ readonly data: PalletBalancesAccountData;
+ }
+
+ /** @name FrameSupportWeightsPerDispatchClassU64 (228) */
+ export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {
+ readonly normal: u64;
+ readonly operational: u64;
+ readonly mandatory: u64;
+ }
+
+ /** @name SpRuntimeDigest (229) */
+ export interface SpRuntimeDigest extends Struct {
+ readonly logs: Vec<SpRuntimeDigestDigestItem>;
+ }
+
+ /** @name SpRuntimeDigestDigestItem (231) */
+ export interface SpRuntimeDigestDigestItem extends Enum {
+ readonly isOther: boolean;
+ readonly asOther: Bytes;
+ readonly isConsensus: boolean;
+ readonly asConsensus: ITuple<[U8aFixed, Bytes]>;
+ readonly isSeal: boolean;
+ readonly asSeal: ITuple<[U8aFixed, Bytes]>;
+ readonly isPreRuntime: boolean;
+ readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;
+ readonly isRuntimeEnvironmentUpdated: boolean;
+ readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';
+ }
+
+ /** @name FrameSystemEventRecord (233) */
+ export interface FrameSystemEventRecord extends Struct {
+ readonly phase: FrameSystemPhase;
+ readonly event: Event;
+ readonly topics: Vec<H256>;
+ }
+
+ /** @name FrameSystemEvent (235) */
+ export interface FrameSystemEvent extends Enum {
+ readonly isExtrinsicSuccess: boolean;
+ readonly asExtrinsicSuccess: {
+ readonly dispatchInfo: FrameSupportWeightsDispatchInfo;
+ } & Struct;
+ readonly isExtrinsicFailed: boolean;
+ readonly asExtrinsicFailed: {
+ readonly dispatchError: SpRuntimeDispatchError;
+ readonly dispatchInfo: FrameSupportWeightsDispatchInfo;
+ } & Struct;
+ readonly isCodeUpdated: boolean;
+ readonly isNewAccount: boolean;
+ readonly asNewAccount: {
+ readonly account: AccountId32;
+ } & Struct;
+ readonly isKilledAccount: boolean;
+ readonly asKilledAccount: {
+ readonly account: AccountId32;
+ } & Struct;
+ readonly isRemarked: boolean;
+ readonly asRemarked: {
+ readonly sender: AccountId32;
+ readonly hash_: H256;
+ } & Struct;
+ readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';
+ }
+
+ /** @name FrameSupportWeightsDispatchInfo (236) */
+ export interface FrameSupportWeightsDispatchInfo extends Struct {
+ readonly weight: u64;
+ readonly class: FrameSupportWeightsDispatchClass;
+ readonly paysFee: FrameSupportWeightsPays;
+ }
+
+ /** @name FrameSupportWeightsDispatchClass (237) */
+ export interface FrameSupportWeightsDispatchClass extends Enum {
+ readonly isNormal: boolean;
+ readonly isOperational: boolean;
+ readonly isMandatory: boolean;
+ readonly type: 'Normal' | 'Operational' | 'Mandatory';
+ }
+
+ /** @name FrameSupportWeightsPays (238) */
+ export interface FrameSupportWeightsPays extends Enum {
+ readonly isYes: boolean;
+ readonly isNo: boolean;
+ readonly type: 'Yes' | 'No';
+ }
+
+ /** @name OrmlVestingModuleEvent (239) */
+ export interface OrmlVestingModuleEvent extends Enum {
+ readonly isVestingScheduleAdded: boolean;
+ readonly asVestingScheduleAdded: {
+ readonly from: AccountId32;
+ readonly to: AccountId32;
+ readonly vestingSchedule: OrmlVestingVestingSchedule;
+ } & Struct;
+ readonly isClaimed: boolean;
+ readonly asClaimed: {
+ readonly who: AccountId32;
+ readonly amount: u128;
+ } & Struct;
+ readonly isVestingSchedulesUpdated: boolean;
+ readonly asVestingSchedulesUpdated: {
+ readonly who: AccountId32;
+ } & Struct;
+ readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';
+ }
+
+ /** @name CumulusPalletXcmpQueueEvent (240) */
+ export interface CumulusPalletXcmpQueueEvent extends Enum {
+ readonly isSuccess: boolean;
+ readonly asSuccess: Option<H256>;
+ readonly isFail: boolean;
+ readonly asFail: ITuple<[Option<H256>, XcmV2TraitsError]>;
+ readonly isBadVersion: boolean;
+ readonly asBadVersion: Option<H256>;
+ readonly isBadFormat: boolean;
+ readonly asBadFormat: Option<H256>;
+ readonly isUpwardMessageSent: boolean;
+ readonly asUpwardMessageSent: Option<H256>;
+ readonly isXcmpMessageSent: boolean;
+ readonly asXcmpMessageSent: Option<H256>;
+ readonly isOverweightEnqueued: boolean;
+ readonly asOverweightEnqueued: ITuple<[u32, u32, u64, u64]>;
+ readonly isOverweightServiced: boolean;
+ readonly asOverweightServiced: ITuple<[u64, u64]>;
+ readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';
+ }
+
+ /** @name PalletXcmEvent (241) */
+ export interface PalletXcmEvent extends Enum {
+ readonly isAttempted: boolean;
+ readonly asAttempted: XcmV2TraitsOutcome;
+ readonly isSent: boolean;
+ readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;
+ readonly isUnexpectedResponse: boolean;
+ readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;
+ readonly isResponseReady: boolean;
+ readonly asResponseReady: ITuple<[u64, XcmV2Response]>;
+ readonly isNotified: boolean;
+ readonly asNotified: ITuple<[u64, u8, u8]>;
+ readonly isNotifyOverweight: boolean;
+ readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;
+ readonly isNotifyDispatchError: boolean;
+ readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;
+ readonly isNotifyDecodeFailed: boolean;
+ readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;
+ readonly isInvalidResponder: boolean;
+ readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;
+ readonly isInvalidResponderVersion: boolean;
+ readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;
+ readonly isResponseTaken: boolean;
+ readonly asResponseTaken: u64;
+ readonly isAssetsTrapped: boolean;
+ readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;
+ readonly isVersionChangeNotified: boolean;
+ readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;
+ readonly isSupportedVersionChanged: boolean;
+ readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;
+ readonly isNotifyTargetSendFail: boolean;
+ readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;
+ readonly isNotifyTargetMigrationFail: boolean;
+ readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;
+ readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';
+ }
+
+ /** @name XcmV2TraitsOutcome (242) */
+ export interface XcmV2TraitsOutcome extends Enum {
+ readonly isComplete: boolean;
+ readonly asComplete: u64;
+ readonly isIncomplete: boolean;
+ readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;
+ readonly isError: boolean;
+ readonly asError: XcmV2TraitsError;
+ readonly type: 'Complete' | 'Incomplete' | 'Error';
+ }
+
+ /** @name CumulusPalletXcmEvent (244) */
+ export interface CumulusPalletXcmEvent extends Enum {
+ readonly isInvalidFormat: boolean;
+ readonly asInvalidFormat: U8aFixed;
+ readonly isUnsupportedVersion: boolean;
+ readonly asUnsupportedVersion: U8aFixed;
+ readonly isExecutedDownward: boolean;
+ readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;
+ readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';
+ }
+
+ /** @name CumulusPalletDmpQueueEvent (245) */
+ export interface CumulusPalletDmpQueueEvent extends Enum {
+ readonly isInvalidFormat: boolean;
+ readonly asInvalidFormat: U8aFixed;
+ readonly isUnsupportedVersion: boolean;
+ readonly asUnsupportedVersion: U8aFixed;
+ readonly isExecutedDownward: boolean;
+ readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;
+ readonly isWeightExhausted: boolean;
+ readonly asWeightExhausted: ITuple<[U8aFixed, u64, u64]>;
+ readonly isOverweightEnqueued: boolean;
+ readonly asOverweightEnqueued: ITuple<[U8aFixed, u64, u64]>;
+ readonly isOverweightServiced: boolean;
+ readonly asOverweightServiced: ITuple<[u64, u64]>;
+ readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';
+ }
+
+ /** @name PalletUniqueRawEvent (246) */
+ export interface PalletUniqueRawEvent extends Enum {
+ readonly isCollectionSponsorRemoved: boolean;
+ readonly asCollectionSponsorRemoved: u32;
+ readonly isCollectionAdminAdded: boolean;
+ readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
+ readonly isCollectionOwnedChanged: boolean;
+ readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;
+ readonly isCollectionSponsorSet: boolean;
+ readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;
+ readonly isConstOnChainSchemaSet: boolean;
+ readonly asConstOnChainSchemaSet: u32;
+ readonly isSponsorshipConfirmed: boolean;
+ readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;
+ readonly isCollectionAdminRemoved: boolean;
+ readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
+ readonly isAllowListAddressRemoved: boolean;
+ readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
+ readonly isAllowListAddressAdded: boolean;
+ readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
+ readonly isCollectionLimitSet: boolean;
+ readonly asCollectionLimitSet: u32;
+ readonly isMintPermissionSet: boolean;
+ readonly asMintPermissionSet: u32;
+ readonly isOffchainSchemaSet: boolean;
+ readonly asOffchainSchemaSet: u32;
+ readonly isPublicAccessModeSet: boolean;
+ readonly asPublicAccessModeSet: ITuple<[u32, UpDataStructsAccessMode]>;
+ readonly isSchemaVersionSet: boolean;
+ readonly asSchemaVersionSet: u32;
+ readonly isVariableOnChainSchemaSet: boolean;
+ readonly asVariableOnChainSchemaSet: u32;
+ readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'ConstOnChainSchemaSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'MintPermissionSet' | 'OffchainSchemaSet' | 'PublicAccessModeSet' | 'SchemaVersionSet' | 'VariableOnChainSchemaSet';
+ }
+
+ /** @name PalletCommonEvent (247) */
+ export interface PalletCommonEvent extends Enum {
+ readonly isCollectionCreated: boolean;
+ readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;
+ readonly isCollectionDestroyed: boolean;
+ readonly asCollectionDestroyed: u32;
+ readonly isItemCreated: boolean;
+ readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;
+ readonly isItemDestroyed: boolean;
+ readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;
+ readonly isTransfer: boolean;
+ readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;
+ readonly isApproved: boolean;
+ readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;
+ readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved';
+ }
+
+ /** @name PalletStructureEvent (248) */
+ export interface PalletStructureEvent extends Enum {
+ readonly isExecuted: boolean;
+ readonly asExecuted: Result<Null, SpRuntimeDispatchError>;
+ readonly type: 'Executed';
+ }
+
+ /** @name PalletEvmEvent (249) */
+ export interface PalletEvmEvent extends Enum {
+ readonly isLog: boolean;
+ readonly asLog: EthereumLog;
+ readonly isCreated: boolean;
+ readonly asCreated: H160;
+ readonly isCreatedFailed: boolean;
+ readonly asCreatedFailed: H160;
+ readonly isExecuted: boolean;
+ readonly asExecuted: H160;
+ readonly isExecutedFailed: boolean;
+ readonly asExecutedFailed: H160;
+ readonly isBalanceDeposit: boolean;
+ readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;
+ readonly isBalanceWithdraw: boolean;
+ readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;
+ readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';
+ }
+
+ /** @name EthereumLog (250) */
+ export interface EthereumLog extends Struct {
+ readonly address: H160;
+ readonly topics: Vec<H256>;
+ readonly data: Bytes;
+ }
+
+ /** @name PalletEthereumEvent (251) */
+ export interface PalletEthereumEvent extends Enum {
+ readonly isExecuted: boolean;
+ readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;
+ readonly type: 'Executed';
+ }
+
+ /** @name EvmCoreErrorExitReason (252) */
+ export interface EvmCoreErrorExitReason extends Enum {
+ readonly isSucceed: boolean;
+ readonly asSucceed: EvmCoreErrorExitSucceed;
+ readonly isError: boolean;
+ readonly asError: EvmCoreErrorExitError;
+ readonly isRevert: boolean;
+ readonly asRevert: EvmCoreErrorExitRevert;
+ readonly isFatal: boolean;
+ readonly asFatal: EvmCoreErrorExitFatal;
+ readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';
+ }
+
+ /** @name EvmCoreErrorExitSucceed (253) */
+ export interface EvmCoreErrorExitSucceed extends Enum {
+ readonly isStopped: boolean;
+ readonly isReturned: boolean;
+ readonly isSuicided: boolean;
+ readonly type: 'Stopped' | 'Returned' | 'Suicided';
+ }
+
+ /** @name EvmCoreErrorExitError (254) */
+ export interface EvmCoreErrorExitError extends Enum {
+ readonly isStackUnderflow: boolean;
+ readonly isStackOverflow: boolean;
+ readonly isInvalidJump: boolean;
+ readonly isInvalidRange: boolean;
+ readonly isDesignatedInvalid: boolean;
+ readonly isCallTooDeep: boolean;
+ readonly isCreateCollision: boolean;
+ readonly isCreateContractLimit: boolean;
+ readonly isOutOfOffset: boolean;
+ readonly isOutOfGas: boolean;
+ readonly isOutOfFund: boolean;
+ readonly isPcUnderflow: boolean;
+ readonly isCreateEmpty: boolean;
+ readonly isOther: boolean;
+ readonly asOther: Text;
+ readonly isInvalidCode: boolean;
+ readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';
+ }
+
+ /** @name EvmCoreErrorExitRevert (257) */
+ export interface EvmCoreErrorExitRevert extends Enum {
+ readonly isReverted: boolean;
+ readonly type: 'Reverted';
+ }
+
+ /** @name EvmCoreErrorExitFatal (258) */
+ export interface EvmCoreErrorExitFatal extends Enum {
+ readonly isNotSupported: boolean;
+ readonly isUnhandledInterrupt: boolean;
+ readonly isCallErrorAsFatal: boolean;
+ readonly asCallErrorAsFatal: EvmCoreErrorExitError;
+ readonly isOther: boolean;
+ readonly asOther: Text;
+ readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';
+ }
+
+ /** @name FrameSystemPhase (259) */
+ export interface FrameSystemPhase extends Enum {
+ readonly isApplyExtrinsic: boolean;
+ readonly asApplyExtrinsic: u32;
+ readonly isFinalization: boolean;
+ readonly isInitialization: boolean;
+ readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';
+ }
+
+ /** @name FrameSystemLastRuntimeUpgradeInfo (261) */
+ export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {
+ readonly specVersion: Compact<u32>;
+ readonly specName: Text;
+ }
+
+ /** @name FrameSystemLimitsBlockWeights (262) */
+ export interface FrameSystemLimitsBlockWeights extends Struct {
+ readonly baseBlock: u64;
+ readonly maxBlock: u64;
+ readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;
+ }
+
+ /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (263) */
+ export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {
+ readonly normal: FrameSystemLimitsWeightsPerClass;
+ readonly operational: FrameSystemLimitsWeightsPerClass;
+ readonly mandatory: FrameSystemLimitsWeightsPerClass;
+ }
+
+ /** @name FrameSystemLimitsWeightsPerClass (264) */
+ export interface FrameSystemLimitsWeightsPerClass extends Struct {
+ readonly baseExtrinsic: u64;
+ readonly maxExtrinsic: Option<u64>;
+ readonly maxTotal: Option<u64>;
+ readonly reserved: Option<u64>;
+ }
+
+ /** @name FrameSystemLimitsBlockLength (266) */
+ export interface FrameSystemLimitsBlockLength extends Struct {
+ readonly max: FrameSupportWeightsPerDispatchClassU32;
+ }
+
+ /** @name FrameSupportWeightsPerDispatchClassU32 (267) */
+ export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {
+ readonly normal: u32;
+ readonly operational: u32;
+ readonly mandatory: u32;
+ }
+
+ /** @name FrameSupportWeightsRuntimeDbWeight (268) */
+ export interface FrameSupportWeightsRuntimeDbWeight extends Struct {
+ readonly read: u64;
+ readonly write: u64;
+ }
+
+ /** @name SpVersionRuntimeVersion (269) */
+ export interface SpVersionRuntimeVersion extends Struct {
+ readonly specName: Text;
+ readonly implName: Text;
+ readonly authoringVersion: u32;
+ readonly specVersion: u32;
+ readonly implVersion: u32;
+ readonly apis: Vec<ITuple<[U8aFixed, u32]>>;
+ readonly transactionVersion: u32;
+ readonly stateVersion: u8;
+ }
+
+ /** @name FrameSystemError (273) */
+ export interface FrameSystemError extends Enum {
+ readonly isInvalidSpecName: boolean;
+ readonly isSpecVersionNeedsToIncrease: boolean;
+ readonly isFailedToExtractRuntimeVersion: boolean;
+ readonly isNonDefaultComposite: boolean;
+ readonly isNonZeroRefCount: boolean;
+ readonly isCallFiltered: boolean;
+ readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';
+ }
+
+ /** @name OrmlVestingModuleError (275) */
+ export interface OrmlVestingModuleError extends Enum {
+ readonly isZeroVestingPeriod: boolean;
+ readonly isZeroVestingPeriodCount: boolean;
+ readonly isInsufficientBalanceToLock: boolean;
+ readonly isTooManyVestingSchedules: boolean;
+ readonly isAmountLow: boolean;
+ readonly isMaxVestingSchedulesExceeded: boolean;
+ readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';
+ }
+
+ /** @name CumulusPalletXcmpQueueInboundChannelDetails (277) */
+ export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {
+ readonly sender: u32;
+ readonly state: CumulusPalletXcmpQueueInboundState;
+ readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;
+ }
+
+ /** @name CumulusPalletXcmpQueueInboundState (278) */
+ export interface CumulusPalletXcmpQueueInboundState extends Enum {
+ readonly isOk: boolean;
+ readonly isSuspended: boolean;
+ readonly type: 'Ok' | 'Suspended';
+ }
+
+ /** @name PolkadotParachainPrimitivesXcmpMessageFormat (281) */
+ export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {
+ readonly isConcatenatedVersionedXcm: boolean;
+ readonly isConcatenatedEncodedBlob: boolean;
+ readonly isSignals: boolean;
+ readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';
+ }
+
+ /** @name CumulusPalletXcmpQueueOutboundChannelDetails (284) */
+ export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {
+ readonly recipient: u32;
+ readonly state: CumulusPalletXcmpQueueOutboundState;
+ readonly signalsExist: bool;
+ readonly firstIndex: u16;
+ readonly lastIndex: u16;
+ }
+
+ /** @name CumulusPalletXcmpQueueOutboundState (285) */
+ export interface CumulusPalletXcmpQueueOutboundState extends Enum {
+ readonly isOk: boolean;
+ readonly isSuspended: boolean;
+ readonly type: 'Ok' | 'Suspended';
+ }
+
+ /** @name CumulusPalletXcmpQueueQueueConfigData (287) */
+ export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {
+ readonly suspendThreshold: u32;
+ readonly dropThreshold: u32;
+ readonly resumeThreshold: u32;
+ readonly thresholdWeight: u64;
+ readonly weightRestrictDecay: u64;
+ readonly xcmpMaxIndividualWeight: u64;
+ }
+
+ /** @name CumulusPalletXcmpQueueError (289) */
+ export interface CumulusPalletXcmpQueueError extends Enum {
+ readonly isFailedToSend: boolean;
+ readonly isBadXcmOrigin: boolean;
+ readonly isBadXcm: boolean;
+ readonly isBadOverweightIndex: boolean;
+ readonly isWeightOverLimit: boolean;
+ readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';
+ }
+
+ /** @name PalletXcmError (290) */
+ export interface PalletXcmError extends Enum {
+ readonly isUnreachable: boolean;
+ readonly isSendFailure: boolean;
+ readonly isFiltered: boolean;
+ readonly isUnweighableMessage: boolean;
+ readonly isDestinationNotInvertible: boolean;
+ readonly isEmpty: boolean;
+ readonly isCannotReanchor: boolean;
+ readonly isTooManyAssets: boolean;
+ readonly isInvalidOrigin: boolean;
+ readonly isBadVersion: boolean;
+ readonly isBadLocation: boolean;
+ readonly isNoSubscription: boolean;
+ readonly isAlreadySubscribed: boolean;
+ readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';
+ }
+
+ /** @name CumulusPalletXcmError (291) */
+ export type CumulusPalletXcmError = Null;
+
+ /** @name CumulusPalletDmpQueueConfigData (292) */
+ export interface CumulusPalletDmpQueueConfigData extends Struct {
+ readonly maxIndividual: u64;
+ }
+
+ /** @name CumulusPalletDmpQueuePageIndexData (293) */
+ export interface CumulusPalletDmpQueuePageIndexData extends Struct {
+ readonly beginUsed: u32;
+ readonly endUsed: u32;
+ readonly overweightCount: u64;
+ }
+
+ /** @name CumulusPalletDmpQueueError (296) */
+ export interface CumulusPalletDmpQueueError extends Enum {
+ readonly isUnknown: boolean;
+ readonly isOverLimit: boolean;
+ readonly type: 'Unknown' | 'OverLimit';
+ }
+
+ /** @name PalletUniqueError (300) */
+ export interface PalletUniqueError extends Enum {
+ readonly isCollectionDecimalPointLimitExceeded: boolean;
+ readonly isConfirmUnsetSponsorFail: boolean;
+ readonly isEmptyArgument: boolean;
+ readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';
+ }
+
+ /** @name UpDataStructsCollection (301) */
+ export interface UpDataStructsCollection extends Struct {
+ readonly owner: AccountId32;
+ readonly mode: UpDataStructsCollectionMode;
+ readonly access: UpDataStructsAccessMode;
+ readonly name: Vec<u16>;
+ readonly description: Vec<u16>;
+ readonly tokenPrefix: Bytes;
+ readonly mintMode: bool;
+ readonly schemaVersion: UpDataStructsSchemaVersion;
+ readonly sponsorship: UpDataStructsSponsorshipState;
+ readonly limits: UpDataStructsCollectionLimits;
+ readonly metaUpdatePermission: UpDataStructsMetaUpdatePermission;
+ }
+
+ /** @name UpDataStructsSponsorshipState (302) */
+ export interface UpDataStructsSponsorshipState extends Enum {
+ readonly isDisabled: boolean;
+ readonly isUnconfirmed: boolean;
+ readonly asUnconfirmed: AccountId32;
+ readonly isConfirmed: boolean;
+ readonly asConfirmed: AccountId32;
+ readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
+ }
+
+ /** @name UpDataStructsCollectionField (304) */
+ export interface UpDataStructsCollectionField extends Enum {
+ readonly isVariableOnChainSchema: boolean;
+ readonly isConstOnChainSchema: boolean;
+ readonly isOffchainSchema: boolean;
+ readonly type: 'VariableOnChainSchema' | 'ConstOnChainSchema' | 'OffchainSchema';
+ }
+
+ /** @name UpDataStructsCollectionStats (307) */
+ export interface UpDataStructsCollectionStats extends Struct {
+ readonly created: u32;
+ readonly destroyed: u32;
+ readonly alive: u32;
+ }
+
+ /** @name PhantomTypeUpDataStructs (308) */
+ export interface PhantomTypeUpDataStructs extends Vec<UpDataStructsRpcCollection> {}
+
+ /** @name UpDataStructsRpcCollection (309) */
+ export interface UpDataStructsRpcCollection extends Struct {
+ readonly owner: AccountId32;
+ readonly mode: UpDataStructsCollectionMode;
+ readonly access: UpDataStructsAccessMode;
+ readonly name: Vec<u16>;
+ readonly description: Vec<u16>;
+ readonly tokenPrefix: Bytes;
+ readonly mintMode: bool;
+ readonly offchainSchema: Bytes;
+ readonly schemaVersion: UpDataStructsSchemaVersion;
+ readonly sponsorship: UpDataStructsSponsorshipState;
+ readonly limits: UpDataStructsCollectionLimits;
+ readonly variableOnChainSchema: Bytes;
+ readonly constOnChainSchema: Bytes;
+ readonly metaUpdatePermission: UpDataStructsMetaUpdatePermission;
+ }
+
+ /** @name PalletCommonError (311) */
+ export interface PalletCommonError extends Enum {
+ readonly isCollectionNotFound: boolean;
+ readonly isMustBeTokenOwner: boolean;
+ readonly isNoPermission: boolean;
+ readonly isPublicMintingNotAllowed: boolean;
+ readonly isAddressNotInAllowlist: boolean;
+ readonly isCollectionNameLimitExceeded: boolean;
+ readonly isCollectionDescriptionLimitExceeded: boolean;
+ readonly isCollectionTokenPrefixLimitExceeded: boolean;
+ readonly isTotalCollectionsLimitExceeded: boolean;
+ readonly isTokenVariableDataLimitExceeded: boolean;
+ readonly isCollectionAdminCountExceeded: boolean;
+ readonly isCollectionLimitBoundsExceeded: boolean;
+ readonly isOwnerPermissionsCantBeReverted: boolean;
+ readonly isTransferNotAllowed: boolean;
+ readonly isAccountTokenLimitExceeded: boolean;
+ readonly isCollectionTokenLimitExceeded: boolean;
+ readonly isMetadataFlagFrozen: boolean;
+ readonly isTokenNotFound: boolean;
+ readonly isTokenValueTooLow: boolean;
+ readonly isApprovedValueTooLow: boolean;
+ readonly isCantApproveMoreThanOwned: boolean;
+ readonly isAddressIsZero: boolean;
+ readonly isUnsupportedOperation: boolean;
+ readonly isNotSufficientFounds: boolean;
+ readonly isNestingIsDisabled: boolean;
+ readonly isOnlyOwnerAllowedToNest: boolean;
+ readonly isSourceCollectionIsNotAllowedToNest: boolean;
+ readonly isCollectionFieldSizeExceeded: boolean;
+ readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'TokenVariableDataLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'NestingIsDisabled' | 'OnlyOwnerAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded';
+ }
+
+ /** @name PalletFungibleError (313) */
+ export interface PalletFungibleError extends Enum {
+ readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;
+ readonly isFungibleItemsHaveNoId: boolean;
+ readonly isFungibleItemsDontHaveData: boolean;
+ readonly isFungibleDisallowsNesting: boolean;
+ readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting';
+ }
+
+ /** @name PalletRefungibleItemData (314) */
+ export interface PalletRefungibleItemData extends Struct {
+ readonly constData: Bytes;
+ readonly variableData: Bytes;
+ }
+
+ /** @name PalletRefungibleError (318) */
+ export interface PalletRefungibleError extends Enum {
+ readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;
+ readonly isWrongRefungiblePieces: boolean;
+ readonly isRefungibleDisallowsNesting: boolean;
+ readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RefungibleDisallowsNesting';
+ }
+
+ /** @name PalletNonfungibleItemData (319) */
+ export interface PalletNonfungibleItemData extends Struct {
+ readonly constData: Bytes;
+ readonly variableData: Bytes;
+ readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
+ }
+
+ /** @name PalletNonfungibleError (320) */
+ export interface PalletNonfungibleError extends Enum {
+ readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;
+ readonly isNonfungibleItemsHaveNoAmount: boolean;
+ readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount';
+ }
+
+ /** @name PalletStructureError (321) */
+ export interface PalletStructureError extends Enum {
+ readonly isOuroborosDetected: boolean;
+ readonly isDepthLimit: boolean;
+ readonly isTokenNotFound: boolean;
+ readonly type: 'OuroborosDetected' | 'DepthLimit' | 'TokenNotFound';
+ }
+
+ /** @name PalletEvmError (323) */
+ export interface PalletEvmError extends Enum {
+ readonly isBalanceLow: boolean;
+ readonly isFeeOverflow: boolean;
+ readonly isPaymentOverflow: boolean;
+ readonly isWithdrawFailed: boolean;
+ readonly isGasPriceTooLow: boolean;
+ readonly isInvalidNonce: boolean;
+ readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';
+ }
+
+ /** @name FpRpcTransactionStatus (326) */
+ export interface FpRpcTransactionStatus extends Struct {
+ readonly transactionHash: H256;
+ readonly transactionIndex: u32;
+ readonly from: H160;
+ readonly to: Option<H160>;
+ readonly contractAddress: Option<H160>;
+ readonly logs: Vec<EthereumLog>;
+ readonly logsBloom: EthbloomBloom;
+ }
+
+ /** @name EthbloomBloom (329) */
+ export interface EthbloomBloom extends U8aFixed {}
+
+ /** @name EthereumReceiptReceiptV3 (331) */
+ export interface EthereumReceiptReceiptV3 extends Enum {
+ readonly isLegacy: boolean;
+ readonly asLegacy: EthereumReceiptEip658ReceiptData;
+ readonly isEip2930: boolean;
+ readonly asEip2930: EthereumReceiptEip658ReceiptData;
+ readonly isEip1559: boolean;
+ readonly asEip1559: EthereumReceiptEip658ReceiptData;
+ readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
+ }
+
+ /** @name EthereumReceiptEip658ReceiptData (332) */
+ export interface EthereumReceiptEip658ReceiptData extends Struct {
+ readonly statusCode: u8;
+ readonly usedGas: U256;
+ readonly logsBloom: EthbloomBloom;
+ readonly logs: Vec<EthereumLog>;
+ }
+
+ /** @name EthereumBlock (333) */
+ export interface EthereumBlock extends Struct {
+ readonly header: EthereumHeader;
+ readonly transactions: Vec<EthereumTransactionTransactionV2>;
+ readonly ommers: Vec<EthereumHeader>;
+ }
+
+ /** @name EthereumHeader (334) */
+ export interface EthereumHeader extends Struct {
+ readonly parentHash: H256;
+ readonly ommersHash: H256;
+ readonly beneficiary: H160;
+ readonly stateRoot: H256;
+ readonly transactionsRoot: H256;
+ readonly receiptsRoot: H256;
+ readonly logsBloom: EthbloomBloom;
+ readonly difficulty: U256;
+ readonly number: U256;
+ readonly gasLimit: U256;
+ readonly gasUsed: U256;
+ readonly timestamp: u64;
+ readonly extraData: Bytes;
+ readonly mixHash: H256;
+ readonly nonce: EthereumTypesHashH64;
+ }
+
+ /** @name EthereumTypesHashH64 (335) */
+ export interface EthereumTypesHashH64 extends U8aFixed {}
+
+ /** @name PalletEthereumError (340) */
+ export interface PalletEthereumError extends Enum {
+ readonly isInvalidSignature: boolean;
+ readonly isPreLogExists: boolean;
+ readonly type: 'InvalidSignature' | 'PreLogExists';
+ }
+
+ /** @name PalletEvmCoderSubstrateError (341) */
+ export interface PalletEvmCoderSubstrateError extends Enum {
+ readonly isOutOfGas: boolean;
+ readonly isOutOfFund: boolean;
+ readonly type: 'OutOfGas' | 'OutOfFund';
+ }
+
+ /** @name PalletEvmContractHelpersSponsoringModeT (342) */
+ export interface PalletEvmContractHelpersSponsoringModeT extends Enum {
+ readonly isDisabled: boolean;
+ readonly isAllowlisted: boolean;
+ readonly isGenerous: boolean;
+ readonly type: 'Disabled' | 'Allowlisted' | 'Generous';
+ }
+
+ /** @name PalletEvmContractHelpersError (344) */
+ export interface PalletEvmContractHelpersError extends Enum {
+ readonly isNoPermission: boolean;
+ readonly type: 'NoPermission';
+ }
+
+ /** @name PalletEvmMigrationError (345) */
+ export interface PalletEvmMigrationError extends Enum {
+ readonly isAccountNotEmpty: boolean;
+ readonly isAccountIsNotMigrating: boolean;
+ readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';
+ }
+
+ /** @name SpRuntimeMultiSignature (347) */
+ export interface SpRuntimeMultiSignature extends Enum {
+ readonly isEd25519: boolean;
+ readonly asEd25519: SpCoreEd25519Signature;
+ readonly isSr25519: boolean;
+ readonly asSr25519: SpCoreSr25519Signature;
+ readonly isEcdsa: boolean;
+ readonly asEcdsa: SpCoreEcdsaSignature;
+ readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
+ }
+
+ /** @name SpCoreEd25519Signature (348) */
+ export interface SpCoreEd25519Signature extends U8aFixed {}
+
+ /** @name SpCoreSr25519Signature (350) */
+ export interface SpCoreSr25519Signature extends U8aFixed {}
+
+ /** @name SpCoreEcdsaSignature (351) */
+ export interface SpCoreEcdsaSignature extends U8aFixed {}
+
+ /** @name FrameSystemExtensionsCheckSpecVersion (354) */
+ export type FrameSystemExtensionsCheckSpecVersion = Null;
+
+ /** @name FrameSystemExtensionsCheckGenesis (355) */
+ export type FrameSystemExtensionsCheckGenesis = Null;
+
+ /** @name FrameSystemExtensionsCheckNonce (358) */
+ export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
+
+ /** @name FrameSystemExtensionsCheckWeight (359) */
+ export type FrameSystemExtensionsCheckWeight = Null;
+
+ /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (360) */
+ export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
+
+ /** @name OpalRuntimeRuntime (361) */
+ export type OpalRuntimeRuntime = Null;
+
+} // declare module
tests/src/interfaces/unique/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/unique/types.ts
+++ b/tests/src/interfaces/unique/types.ts
@@ -1,13 +1,10 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
-import type { BTreeMap, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
+import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';
import type { Event } from '@polkadot/types/interfaces/system';
-
-/** @name BTreeSet */
-export interface BTreeSet extends BTreeSet<Bytes> {}
/** @name CumulusPalletDmpQueueCall */
export interface CumulusPalletDmpQueueCall extends Enum {
@@ -450,7 +447,7 @@
export interface FrameSupportPalletId extends U8aFixed {}
/** @name FrameSupportStorageBoundedBTreeSet */
-export interface FrameSupportStorageBoundedBTreeSet extends Vec<u32> {}
+export interface FrameSupportStorageBoundedBTreeSet extends BTreeSet<u32> {}
/** @name FrameSupportTokensMiscBalanceStatus */
export interface FrameSupportTokensMiscBalanceStatus extends Enum {
@@ -1595,7 +1592,7 @@
}
/** @name PhantomTypeUpDataStructs */
-export interface PhantomTypeUpDataStructs extends Vec<Lookup308> {}
+export interface PhantomTypeUpDataStructs extends Vec<Lookup309> {}
/** @name PolkadotCorePrimitivesInboundDownwardMessage */
export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
@@ -1753,7 +1750,7 @@
/** @name SpTrieStorageProof */
export interface SpTrieStorageProof extends Struct {
- readonly trieNodes: BTreeSet;
+ readonly trieNodes: BTreeSet<Bytes>;
}
/** @name SpVersionRuntimeVersion */