difftreelog
Merge pull request #297 from UniqueNetwork/feature/polkadot-v0.9.17
in: master
Upgrade to polkadot v0.9.17
34 files changed
Cargo.lockdiffbeforeafterboth--- a/Cargo.lock
+++ b/Cargo.lock
@@ -68,7 +68,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47"
dependencies = [
- "getrandom 0.2.4",
+ "getrandom 0.2.5",
"once_cell",
"version_check",
]
@@ -99,9 +99,9 @@
[[package]]
name = "anyhow"
-version = "1.0.53"
+version = "1.0.55"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "94a45b455c14666b85fc40a019e8ab9eb75e3a124e05494f5397122bc9eb06e0"
+checksum = "159bb86af3a200e19a068f4224eae4c8bb2d0fa054c7e5d1cacd5cef95e684cd"
[[package]]
name = "approx"
@@ -223,9 +223,9 @@
[[package]]
name = "async-lock"
-version = "2.4.0"
+version = "2.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e6a8ea61bf9947a1007c5cada31e647dbc77b103c679858150003ba697ea798b"
+checksum = "e97a171d191782fba31bb902b14ad94e24a68145032b7eedf871ab0bc0d077b6"
dependencies = [
"event-listener",
]
@@ -431,7 +431,7 @@
[[package]]
name = "beefy-gadget"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"beefy-primitives",
"fnv",
@@ -460,11 +460,10 @@
[[package]]
name = "beefy-gadget-rpc"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"beefy-gadget",
"beefy-primitives",
- "derive_more",
"futures 0.3.21",
"jsonrpc-core",
"jsonrpc-core-client",
@@ -484,12 +483,12 @@
[[package]]
name = "beefy-merkle-tree"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
[[package]]
name = "beefy-primitives"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -682,7 +681,7 @@
[[package]]
name = "bp-header-chain"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"finality-grandpa",
"frame-support",
@@ -698,7 +697,7 @@
[[package]]
name = "bp-message-dispatch"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"bp-runtime",
"frame-support",
@@ -710,7 +709,7 @@
[[package]]
name = "bp-messages"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"bitvec",
"bp-runtime",
@@ -726,7 +725,7 @@
[[package]]
name = "bp-polkadot-core"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"bp-messages",
"bp-runtime",
@@ -744,7 +743,7 @@
[[package]]
name = "bp-rococo"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"bp-messages",
"bp-polkadot-core",
@@ -761,7 +760,7 @@
[[package]]
name = "bp-runtime"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"frame-support",
"hash-db",
@@ -779,7 +778,7 @@
[[package]]
name = "bp-test-utils"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"bp-header-chain",
"ed25519-dalek",
@@ -794,7 +793,7 @@
[[package]]
name = "bp-wococo"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"bp-messages",
"bp-polkadot-core",
@@ -809,7 +808,7 @@
[[package]]
name = "bridge-runtime-common"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"bp-message-dispatch",
"bp-messages",
@@ -925,22 +924,22 @@
[[package]]
name = "cargo_metadata"
-version = "0.14.1"
+version = "0.14.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ba2ae6de944143141f6155a473a6b02f66c7c3f9f47316f802f80204ebfe6e12"
+checksum = "4acbb09d9ee8e23699b9634375c72795d095bf268439da88562cf9b501f181fa"
dependencies = [
"camino",
"cargo-platform",
- "semver 1.0.5",
+ "semver 1.0.6",
"serde",
"serde_json",
]
[[package]]
name = "cc"
-version = "1.0.72"
+version = "1.0.73"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "22a9137b95ea06864e018375b72adfb7db6e6f68cfc8df5a04d00288050485ee"
+checksum = "2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11"
dependencies = [
"jobserver",
]
@@ -1052,20 +1051,35 @@
[[package]]
name = "clap"
-version = "2.34.0"
+version = "3.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c"
+checksum = "5177fac1ab67102d8989464efd043c6ff44191b1557ec1ddd489b4f7e1447e77"
dependencies = [
- "ansi_term",
"atty",
"bitflags",
- "strsim 0.8.0",
+ "clap_derive",
+ "indexmap",
+ "lazy_static",
+ "os_str_bytes",
+ "strsim",
+ "termcolor",
"textwrap",
- "unicode-width",
- "vec_map",
]
[[package]]
+name = "clap_derive"
+version = "3.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "01d42c94ce7c2252681b5fed4d3627cc807b13dfc033246bd05d5b252399000e"
+dependencies = [
+ "heck 0.4.0",
+ "proc-macro-error",
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
name = "cloudabi"
version = "0.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1140,18 +1154,18 @@
[[package]]
name = "cranelift-bforest"
-version = "0.80.0"
+version = "0.80.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9516ba6b2ba47b4cbf63b713f75b432fafa0a0e0464ec8381ec76e6efe931ab3"
+checksum = "62fc68cdb867b7d27b5f33cd65eb11376dfb41a2d09568a1a2c2bc1dc204f4ef"
dependencies = [
"cranelift-entity",
]
[[package]]
name = "cranelift-codegen"
-version = "0.80.0"
+version = "0.80.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "489e5d0081f7edff6be12d71282a8bf387b5df64d5592454b75d662397f2d642"
+checksum = "31253a44ab62588f8235a996cc9b0636d98a299190069ced9628b8547329b47a"
dependencies = [
"cranelift-bforest",
"cranelift-codegen-meta",
@@ -1166,33 +1180,33 @@
[[package]]
name = "cranelift-codegen-meta"
-version = "0.80.0"
+version = "0.80.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d36ee1140371bb0f69100e734b30400157a4adf7b86148dee8b0a438763ead48"
+checksum = "7a20ab4627d30b702fb1b8a399882726d216b8164d3b3fa6189e3bf901506afe"
dependencies = [
"cranelift-codegen-shared",
]
[[package]]
name = "cranelift-codegen-shared"
-version = "0.80.0"
+version = "0.80.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "981da52d8f746af1feb96290c83977ff8d41071a7499e991d8abae0d4869f564"
+checksum = "6687d9668dacfed4468361f7578d86bded8ca4db978f734d9b631494bebbb5b8"
[[package]]
name = "cranelift-entity"
-version = "0.80.0"
+version = "0.80.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a2906740053dd3bcf95ce53df0fd9b5649c68ae4bd9adada92b406f059eae461"
+checksum = "c77c5d72db97ba2cb36f69037a709edbae0d29cb25503775891e7151c5c874bf"
dependencies = [
"serde",
]
[[package]]
name = "cranelift-frontend"
-version = "0.80.0"
+version = "0.80.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b7cb156de1097f567d46bf57a0cd720a72c3e15e1a2bd8b1041ba2fc894471b7"
+checksum = "426dca83f63c7c64ea459eb569aadc5e0c66536c0042ed5d693f91830e8750d0"
dependencies = [
"cranelift-codegen",
"log",
@@ -1202,9 +1216,9 @@
[[package]]
name = "cranelift-native"
-version = "0.80.0"
+version = "0.80.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "166028ca0343a6ee7bddac0e70084e142b23f99c701bd6f6ea9123afac1a7a46"
+checksum = "8007864b5d0c49b026c861a15761785a2871124e401630c03ef1426e6d0d559e"
dependencies = [
"cranelift-codegen",
"libc",
@@ -1213,9 +1227,9 @@
[[package]]
name = "cranelift-wasm"
-version = "0.80.0"
+version = "0.80.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5012a1cde0c8b3898770b711490d803018ae9bec2d60674ba0e5b2058a874f80"
+checksum = "94cf12c071415ba261d897387ae5350c4d83c238376c8c5a96514ecfa2ea66a3"
dependencies = [
"cranelift-codegen",
"cranelift-entity",
@@ -1288,11 +1302,12 @@
[[package]]
name = "crypto-common"
-version = "0.1.2"
+version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a4600d695eb3f6ce1cd44e6e291adceb2cc3ab12f20a33777ecd0bf6eba34e06"
+checksum = "57952ca27b5e3606ff4dd79b0020231aaf9d6aa76dc05fd30137538c50bd3ce8"
dependencies = [
"generic-array 0.14.5",
+ "typenum",
]
[[package]]
@@ -1331,7 +1346,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c1a816186fa68d9e426e3cb4ae4dff1fcd8e4a2c34b781bf7a822574a0d0aac8"
dependencies = [
- "sct",
+ "sct 0.6.1",
]
[[package]]
@@ -1367,17 +1382,17 @@
[[package]]
name = "cumulus-client-cli"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562"
+source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"
dependencies = [
+ "clap",
"sc-cli",
"sc-service",
- "structopt",
]
[[package]]
name = "cumulus-client-collator"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562"
+source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"
dependencies = [
"cumulus-client-consensus-common",
"cumulus-client-network",
@@ -1401,7 +1416,7 @@
[[package]]
name = "cumulus-client-consensus-aura"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562"
+source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"
dependencies = [
"async-trait",
"cumulus-client-consensus-common",
@@ -1430,7 +1445,7 @@
[[package]]
name = "cumulus-client-consensus-common"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562"
+source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"
dependencies = [
"async-trait",
"cumulus-relay-chain-interface",
@@ -1451,7 +1466,7 @@
[[package]]
name = "cumulus-client-network"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562"
+source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"
dependencies = [
"async-trait",
"cumulus-relay-chain-interface",
@@ -1459,7 +1474,7 @@
"futures 0.3.21",
"futures-timer",
"parity-scale-codec",
- "parking_lot 0.11.2",
+ "parking_lot 0.12.0",
"polkadot-node-primitives",
"polkadot-parachain",
"polkadot-primitives",
@@ -1476,7 +1491,7 @@
[[package]]
name = "cumulus-client-pov-recovery"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562"
+source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"
dependencies = [
"cumulus-primitives-core",
"cumulus-relay-chain-interface",
@@ -1487,7 +1502,7 @@
"polkadot-node-subsystem",
"polkadot-overseer",
"polkadot-primitives",
- "rand 0.8.4",
+ "rand 0.8.5",
"sc-client-api",
"sc-consensus",
"sp-api",
@@ -1500,7 +1515,7 @@
[[package]]
name = "cumulus-client-service"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562"
+source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"
dependencies = [
"cumulus-client-collator",
"cumulus-client-consensus-common",
@@ -1508,7 +1523,7 @@
"cumulus-primitives-core",
"cumulus-relay-chain-interface",
"parity-scale-codec",
- "parking_lot 0.10.2",
+ "parking_lot 0.12.0",
"polkadot-overseer",
"polkadot-primitives",
"sc-chain-spec",
@@ -1529,7 +1544,7 @@
[[package]]
name = "cumulus-pallet-aura-ext"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562"
+source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"
dependencies = [
"frame-executive",
"frame-support",
@@ -1547,7 +1562,7 @@
[[package]]
name = "cumulus-pallet-dmp-queue"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562"
+source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -1565,7 +1580,7 @@
[[package]]
name = "cumulus-pallet-parachain-system"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562"
+source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"
dependencies = [
"cumulus-pallet-parachain-system-proc-macro",
"cumulus-primitives-core",
@@ -1595,9 +1610,9 @@
[[package]]
name = "cumulus-pallet-parachain-system-proc-macro"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562"
+source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"
dependencies = [
- "proc-macro-crate 1.1.0",
+ "proc-macro-crate 1.1.3",
"proc-macro2",
"quote",
"syn",
@@ -1606,7 +1621,7 @@
[[package]]
name = "cumulus-pallet-xcm"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562"
+source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -1623,7 +1638,7 @@
[[package]]
name = "cumulus-pallet-xcmp-queue"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562"
+source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -1641,7 +1656,7 @@
[[package]]
name = "cumulus-primitives-core"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562"
+source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"
dependencies = [
"frame-support",
"parity-scale-codec",
@@ -1657,7 +1672,7 @@
[[package]]
name = "cumulus-primitives-parachain-inherent"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562"
+source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"
dependencies = [
"async-trait",
"cumulus-primitives-core",
@@ -1680,7 +1695,7 @@
[[package]]
name = "cumulus-primitives-timestamp"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562"
+source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"
dependencies = [
"cumulus-primitives-core",
"sp-inherents",
@@ -1691,7 +1706,7 @@
[[package]]
name = "cumulus-primitives-utility"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562"
+source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -1708,13 +1723,13 @@
[[package]]
name = "cumulus-relay-chain-interface"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562"
+source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"
dependencies = [
"async-trait",
"cumulus-primitives-core",
"derive_more",
"futures 0.3.21",
- "parking_lot 0.11.2",
+ "parking_lot 0.12.0",
"polkadot-overseer",
"sc-client-api",
"sc-service",
@@ -1729,14 +1744,14 @@
[[package]]
name = "cumulus-relay-chain-local"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562"
+source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"
dependencies = [
"async-trait",
"cumulus-primitives-core",
"cumulus-relay-chain-interface",
"futures 0.3.21",
"futures-timer",
- "parking_lot 0.11.2",
+ "parking_lot 0.12.0",
"polkadot-client",
"polkadot-service",
"sc-client-api",
@@ -1757,7 +1772,7 @@
[[package]]
name = "cumulus-test-relay-sproof-builder"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562"
+source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"
dependencies = [
"cumulus-primitives-core",
"parity-scale-codec",
@@ -1813,7 +1828,7 @@
"ident_case",
"proc-macro2",
"quote",
- "strsim 0.10.0",
+ "strsim",
"syn",
]
@@ -1898,9 +1913,9 @@
[[package]]
name = "digest"
-version = "0.10.2"
+version = "0.10.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8cb780dce4f9a8f5c087362b3a4595936b2019e7c8b30f2c3e9a7e94e6ae9837"
+checksum = "f2fb860ca6fafa5552fb6d0e816a69c8e49f0908bf524e30a90d97c85892d506"
dependencies = [
"block-buffer 0.10.2",
"crypto-common",
@@ -2031,7 +2046,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7c5f0096a91d210159eceb2ff5e1c4da18388a170e1e3ce948aac9c8fdbbf595"
dependencies = [
- "heck",
+ "heck 0.3.3",
"proc-macro2",
"quote",
"syn",
@@ -2278,7 +2293,7 @@
[[package]]
name = "fc-consensus"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.16#86ba914ab040c95c41db2e39a2edcb90cd51c971"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.17#f08656c065b5d7ba35393cd5d57a19b1997e382c"
dependencies = [
"async-trait",
"derive_more",
@@ -2305,7 +2320,7 @@
[[package]]
name = "fc-db"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.16#86ba914ab040c95c41db2e39a2edcb90cd51c971"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.17#f08656c065b5d7ba35393cd5d57a19b1997e382c"
dependencies = [
"fp-storage",
"kvdb",
@@ -2321,7 +2336,7 @@
[[package]]
name = "fc-mapping-sync"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.16#86ba914ab040c95c41db2e39a2edcb90cd51c971"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.17#f08656c065b5d7ba35393cd5d57a19b1997e382c"
dependencies = [
"fc-consensus",
"fc-db",
@@ -2339,7 +2354,7 @@
[[package]]
name = "fc-rpc"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.16#86ba914ab040c95c41db2e39a2edcb90cd51c971"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.17#f08656c065b5d7ba35393cd5d57a19b1997e382c"
dependencies = [
"ethereum",
"ethereum-types",
@@ -2379,13 +2394,13 @@
"sp-runtime",
"sp-storage",
"sp-transaction-pool",
- "tokio 1.16.1",
+ "tokio 1.17.0",
]
[[package]]
name = "fc-rpc-core"
version = "1.1.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.16#86ba914ab040c95c41db2e39a2edcb90cd51c971"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.17#f08656c065b5d7ba35393cd5d57a19b1997e382c"
dependencies = [
"ethereum",
"ethereum-types",
@@ -2442,7 +2457,7 @@
checksum = "cfcf0ed7fe52a17a03854ec54a9f76d6d84508d1c0e66bc1793301c73fc8493c"
dependencies = [
"byteorder",
- "rand 0.8.4",
+ "rand 0.8.5",
"rustc-hex",
"static_assertions",
]
@@ -2491,7 +2506,7 @@
[[package]]
name = "fork-tree"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"parity-scale-codec",
]
@@ -2509,7 +2524,7 @@
[[package]]
name = "fp-consensus"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.16#86ba914ab040c95c41db2e39a2edcb90cd51c971"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.17#f08656c065b5d7ba35393cd5d57a19b1997e382c"
dependencies = [
"ethereum",
"parity-scale-codec",
@@ -2523,7 +2538,7 @@
[[package]]
name = "fp-evm"
version = "3.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.16#86ba914ab040c95c41db2e39a2edcb90cd51c971"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.17#f08656c065b5d7ba35393cd5d57a19b1997e382c"
dependencies = [
"evm",
"impl-trait-for-tuples",
@@ -2537,7 +2552,7 @@
[[package]]
name = "fp-rpc"
version = "3.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.16#86ba914ab040c95c41db2e39a2edcb90cd51c971"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.17#f08656c065b5d7ba35393cd5d57a19b1997e382c"
dependencies = [
"ethereum",
"ethereum-types",
@@ -2554,7 +2569,7 @@
[[package]]
name = "fp-self-contained"
version = "1.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.16#86ba914ab040c95c41db2e39a2edcb90cd51c971"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.17#f08656c065b5d7ba35393cd5d57a19b1997e382c"
dependencies = [
"ethereum",
"frame-support",
@@ -2571,12 +2586,12 @@
[[package]]
name = "fp-storage"
version = "2.0.0"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.16#86ba914ab040c95c41db2e39a2edcb90cd51c971"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.17#f08656c065b5d7ba35393cd5d57a19b1997e382c"
[[package]]
name = "frame-benchmarking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-support",
"frame-system",
@@ -2585,6 +2600,7 @@
"parity-scale-codec",
"paste",
"scale-info",
+ "serde",
"sp-api",
"sp-application-crypto",
"sp-io",
@@ -2597,10 +2613,11 @@
[[package]]
name = "frame-benchmarking-cli"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"Inflector",
"chrono",
+ "clap",
"frame-benchmarking",
"frame-support",
"handlebars",
@@ -2612,18 +2629,18 @@
"sc-executor",
"sc-service",
"serde",
+ "serde_json",
"sp-core",
"sp-externalities",
"sp-keystore",
"sp-runtime",
"sp-state-machine",
- "structopt",
]
[[package]]
name = "frame-election-provider-support"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-support",
"frame-system",
@@ -2637,7 +2654,7 @@
[[package]]
name = "frame-executive"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-support",
"frame-system",
@@ -2665,7 +2682,7 @@
[[package]]
name = "frame-support"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"bitflags",
"frame-metadata",
@@ -2694,7 +2711,7 @@
[[package]]
name = "frame-support-procedural"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"Inflector",
"frame-support-procedural-tools",
@@ -2706,10 +2723,10 @@
[[package]]
name = "frame-support-procedural-tools"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-support-procedural-tools-derive",
- "proc-macro-crate 1.1.0",
+ "proc-macro-crate 1.1.3",
"proc-macro2",
"quote",
"syn",
@@ -2718,7 +2735,7 @@
[[package]]
name = "frame-support-procedural-tools-derive"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"proc-macro2",
"quote",
@@ -2728,7 +2745,7 @@
[[package]]
name = "frame-system"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-support",
"log",
@@ -2745,7 +2762,7 @@
[[package]]
name = "frame-system-benchmarking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -2760,7 +2777,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.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"parity-scale-codec",
"sp-api",
@@ -2769,7 +2786,7 @@
[[package]]
name = "frame-try-runtime"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-support",
"sp-api",
@@ -2779,9 +2796,9 @@
[[package]]
name = "fs-err"
-version = "2.6.0"
+version = "2.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5ebd3504ad6116843b8375ad70df74e7bfe83cac77a1f3fe73200c844d43bfe0"
+checksum = "5bd79fa345a495d3ae89fb7165fec01c0e72f41821d642dda363a1e97975652e"
[[package]]
name = "fs-swap"
@@ -2915,8 +2932,8 @@
checksum = "3a1387e07917c711fb4ee4f48ea0adb04a3c9739e53ef85bf43ae1edc2937a8b"
dependencies = [
"futures-io",
- "rustls",
- "webpki",
+ "rustls 0.19.1",
+ "webpki 0.21.4",
]
[[package]]
@@ -2990,9 +3007,9 @@
[[package]]
name = "getrandom"
-version = "0.2.4"
+version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "418d37c8b1d42553c93648be529cb70f920d3baf8ef469b74b9638df426e0b4c"
+checksum = "d39cd93900197114fa1fcb7ae84ca742095eed9442088988ae74fa744e930e77"
dependencies = [
"cfg-if 1.0.0",
"libc",
@@ -3065,7 +3082,7 @@
"http",
"indexmap",
"slab",
- "tokio 1.16.1",
+ "tokio 1.17.0",
"tokio-util",
"tracing",
]
@@ -3127,6 +3144,12 @@
]
[[package]]
+name = "heck"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2540771e65fc8cb83cd6e8a237f70c319bd5c29f78ed1084ba5d50eeac86f7f9"
+
+[[package]]
name = "hermit-abi"
version = "0.1.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -3258,9 +3281,9 @@
[[package]]
name = "hyper"
-version = "0.14.16"
+version = "0.14.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b7ec3e62bdc98a2f0393a5048e4c30ef659440ea6e0e572965103e72bd836f55"
+checksum = "043f0e083e9901b6cc658a77d1eb86f4fc650bbb977a4337dd63192826aa85dd"
dependencies = [
"bytes 1.1.0",
"futures-channel",
@@ -3271,10 +3294,10 @@
"http-body",
"httparse",
"httpdate",
- "itoa 0.4.8",
+ "itoa 1.0.1",
"pin-project-lite 0.2.8",
"socket2 0.4.4",
- "tokio 1.16.1",
+ "tokio 1.17.0",
"tower-service",
"tracing",
"want",
@@ -3290,11 +3313,11 @@
"futures-util",
"hyper",
"log",
- "rustls",
- "rustls-native-certs",
- "tokio 1.16.1",
- "tokio-rustls",
- "webpki",
+ "rustls 0.19.1",
+ "rustls-native-certs 0.5.0",
+ "tokio 1.17.0",
+ "tokio-rustls 0.22.0",
+ "webpki 0.21.4",
]
[[package]]
@@ -3422,9 +3445,9 @@
[[package]]
name = "integer-encoding"
-version = "3.0.2"
+version = "3.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "90c11140ffea82edce8dcd74137ce9324ec24b3cf0175fc9d7e29164da9915b8"
+checksum = "0e85a1509a128c855368e135cffcde7eac17d8e1083f41e2b98c58bc1a5074be"
[[package]]
name = "integer-sqrt"
@@ -3627,7 +3650,7 @@
"jsonrpc-core",
"lazy_static",
"log",
- "tokio 1.16.1",
+ "tokio 1.17.0",
"tokio-stream",
"tokio-util",
"unicase",
@@ -3654,20 +3677,74 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6373a33d987866ccfe1af4bc11b089dce941764313f9fd8b7cf13fcb51b72dc5"
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",
"jsonrpsee-proc-macros",
- "jsonrpsee-types",
- "jsonrpsee-utils",
- "jsonrpsee-ws-client",
+ "jsonrpsee-types 0.8.0",
+ "jsonrpsee-ws-client 0.8.0",
+]
+
+[[package]]
+name = "jsonrpsee-client-transport"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3303cdf246e6ab76e2866fb3d9acb6c76a068b1b28bd923a1b7a8122257ad7b5"
+dependencies = [
+ "futures 0.3.21",
+ "http",
+ "jsonrpsee-core",
+ "jsonrpsee-types 0.8.0",
+ "pin-project 1.0.10",
+ "rustls-native-certs 0.6.1",
+ "soketto",
+ "thiserror",
+ "tokio 1.17.0",
+ "tokio-rustls 0.23.2",
+ "tokio-util",
+ "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",
+ "soketto",
+ "thiserror",
+ "tokio 1.17.0",
+ "tracing",
+]
+
+[[package]]
name = "jsonrpsee-proc-macros"
-version = "0.4.1"
+version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d802063f7a3c867456955f9d2f15eb3ee0edb5ec9ec2b5526324756759221c0f"
+checksum = "4299ebf790ea9de1cb72e73ff2ae44c723ef264299e5e2d5ef46a371eb3ac3d8"
dependencies = [
- "log",
- "proc-macro-crate 1.1.0",
+ "proc-macro-crate 1.1.3",
"proc-macro2",
"quote",
"syn",
@@ -3693,6 +3770,20 @@
]
[[package]]
+name = "jsonrpsee-types"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c1b3f601bbbe45cd63f5407b6f7d7950e08a7d4f82aa699ff41a4a5e9e54df58"
+dependencies = [
+ "anyhow",
+ "beef",
+ "serde",
+ "serde_json",
+ "thiserror",
+ "tracing",
+]
+
+[[package]]
name = "jsonrpsee-utils"
version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -3700,7 +3791,7 @@
dependencies = [
"arrayvec 0.7.2",
"beef",
- "jsonrpsee-types",
+ "jsonrpsee-types 0.4.1",
]
[[package]]
@@ -3714,20 +3805,31 @@
"fnv",
"futures 0.3.21",
"http",
- "jsonrpsee-types",
+ "jsonrpsee-types 0.4.1",
"log",
"pin-project 1.0.10",
- "rustls-native-certs",
+ "rustls-native-certs 0.5.0",
"serde",
"serde_json",
"soketto",
"thiserror",
- "tokio 1.16.1",
- "tokio-rustls",
+ "tokio 1.17.0",
+ "tokio-rustls 0.22.0",
"tokio-util",
]
[[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",
+ "jsonrpsee-core",
+ "jsonrpsee-types 0.8.0",
+]
+
+[[package]]
name = "keccak"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -3745,8 +3847,8 @@
[[package]]
name = "kusama-runtime"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"beefy-primitives",
"bitvec",
@@ -3833,8 +3935,8 @@
[[package]]
name = "kusama-runtime-constants"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"frame-support",
"polkadot-primitives",
@@ -3905,9 +4007,9 @@
[[package]]
name = "libc"
-version = "0.2.117"
+version = "0.2.119"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e74d72e0f9b65b5b4ca49a346af3976df0f9c61d550727f349ecd559f251a26c"
+checksum = "1bf2e165bb3457c8e098ea76f3e3bc9db55f87aa90d52d0e6be741470916aaa4"
[[package]]
name = "libloading"
@@ -4000,7 +4102,7 @@
"pin-project 1.0.10",
"prost",
"prost-build",
- "rand 0.8.4",
+ "rand 0.8.5",
"ring",
"rw-stream-sink",
"sha2 0.9.9",
@@ -4138,7 +4240,7 @@
"libp2p-core",
"libp2p-swarm",
"log",
- "rand 0.8.4",
+ "rand 0.8.5",
"smallvec",
"socket2 0.4.4",
"void",
@@ -4190,7 +4292,7 @@
"log",
"prost",
"prost-build",
- "rand 0.8.4",
+ "rand 0.8.5",
"sha2 0.9.9",
"snow",
"static_assertions",
@@ -4281,7 +4383,7 @@
"log",
"prost",
"prost-build",
- "rand 0.8.4",
+ "rand 0.8.5",
"sha2 0.9.9",
"thiserror",
"unsigned-varint 0.7.1",
@@ -4392,7 +4494,7 @@
"rw-stream-sink",
"soketto",
"url 2.2.2",
- "webpki-roots",
+ "webpki-roots 0.21.1",
]
[[package]]
@@ -4449,7 +4551,7 @@
"libsecp256k1-core",
"libsecp256k1-gen-ecmult",
"libsecp256k1-gen-genmult",
- "rand 0.8.4",
+ "rand 0.8.5",
"serde",
"sha2 0.9.9",
"typenum",
@@ -4719,8 +4821,8 @@
[[package]]
name = "metered-channel"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"derive_more",
"futures 0.3.21",
@@ -4736,7 +4838,7 @@
checksum = "fd2c2cc134e57461f0898b0e921f0a7819b5e3f3a4335b9aa390ce81a5f36fb9"
dependencies = [
"futures 0.3.21",
- "rand 0.8.4",
+ "rand 0.8.5",
"thrift",
]
@@ -4777,9 +4879,9 @@
[[package]]
name = "mio"
-version = "0.7.14"
+version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8067b404fe97c70829f082dec8bcf4f71225d7eaea1d8645349cb76fa06205cc"
+checksum = "ba272f85fa0b41fc91872be579b3bbe0f56b792aa361a380eb669469f68dafb2"
dependencies = [
"libc",
"log",
@@ -4892,7 +4994,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "424f6e86263cd5294cbd7f1e95746b95aca0e0d66bff31e5a40d6baa87b4aa99"
dependencies = [
- "proc-macro-crate 1.1.0",
+ "proc-macro-crate 1.1.3",
"proc-macro-error",
"proc-macro2",
"quote",
@@ -4932,7 +5034,7 @@
"num-complex",
"num-rational 0.4.0",
"num-traits",
- "rand 0.8.4",
+ "rand 0.8.5",
"rand_distr",
"simba",
"typenum",
@@ -4955,7 +5057,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "10a8690bf09abf659851e58cd666c3d37ac6af07c2bd7a9e332cfba471715775"
dependencies = [
- "rand 0.8.4",
+ "rand 0.8.5",
]
[[package]]
@@ -4994,9 +5096,9 @@
[[package]]
name = "ntapi"
-version = "0.3.6"
+version = "0.3.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3f6bb902e437b6d86e03cce10a7e2af662292c5dfef23b65899ea3ac9354ad44"
+checksum = "c28774a7fd2fbb4f0babd8237ce554b73af68021b5f695a3cebd6c59bac0980f"
dependencies = [
"winapi 0.3.9",
]
@@ -5144,7 +5246,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.16#d9c538ae3b9dc0f7faacff2deed70becd10cd46e"
+source = "git+https://github.com/UniqueNetwork/open-runtime-module-library?branch=unique-polkadot-v0.9.17#8cea7142d6ac4471e226e92c20005794e8e78063"
dependencies = [
"frame-support",
"frame-system",
@@ -5157,6 +5259,15 @@
]
[[package]]
+name = "os_str_bytes"
+version = "6.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8e22443d1643a904602595ba1cd8f7d896afe56d26712531c5ff73a15b2fbf64"
+dependencies = [
+ "memchr",
+]
+
+[[package]]
name = "owning_ref"
version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -5168,7 +5279,7 @@
[[package]]
name = "pallet-aura"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-support",
"frame-system",
@@ -5184,7 +5295,7 @@
[[package]]
name = "pallet-authority-discovery"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-support",
"frame-system",
@@ -5200,7 +5311,7 @@
[[package]]
name = "pallet-authorship"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-support",
"frame-system",
@@ -5215,7 +5326,7 @@
[[package]]
name = "pallet-babe"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5239,7 +5350,7 @@
[[package]]
name = "pallet-bags-list"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -5259,7 +5370,7 @@
[[package]]
name = "pallet-balances"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5274,7 +5385,7 @@
[[package]]
name = "pallet-base-fee"
version = "1.0.0"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.16#86ba914ab040c95c41db2e39a2edcb90cd51c971"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.17#f08656c065b5d7ba35393cd5d57a19b1997e382c"
dependencies = [
"frame-support",
"frame-system",
@@ -5289,7 +5400,7 @@
[[package]]
name = "pallet-beefy"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"beefy-primitives",
"frame-support",
@@ -5305,7 +5416,7 @@
[[package]]
name = "pallet-beefy-mmr"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"beefy-merkle-tree",
"beefy-primitives",
@@ -5330,7 +5441,7 @@
[[package]]
name = "pallet-bounties"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5348,7 +5459,7 @@
[[package]]
name = "pallet-bridge-dispatch"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"bp-message-dispatch",
"bp-runtime",
@@ -5365,7 +5476,7 @@
[[package]]
name = "pallet-bridge-grandpa"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"bp-header-chain",
"bp-runtime",
@@ -5387,7 +5498,7 @@
[[package]]
name = "pallet-bridge-messages"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"bitvec",
"bp-message-dispatch",
@@ -5408,7 +5519,7 @@
[[package]]
name = "pallet-collective"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5444,7 +5555,7 @@
[[package]]
name = "pallet-democracy"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5460,7 +5571,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.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -5477,14 +5588,13 @@
"sp-runtime",
"sp-std",
"static_assertions",
- "strum 0.22.0",
- "strum_macros 0.23.1",
+ "strum",
]
[[package]]
name = "pallet-elections-phragmen"
version = "5.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5502,7 +5612,7 @@
[[package]]
name = "pallet-ethereum"
version = "4.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.16#86ba914ab040c95c41db2e39a2edcb90cd51c971"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.17#f08656c065b5d7ba35393cd5d57a19b1997e382c"
dependencies = [
"ethereum",
"ethereum-types",
@@ -5532,7 +5642,7 @@
[[package]]
name = "pallet-evm"
version = "6.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.16#86ba914ab040c95c41db2e39a2edcb90cd51c971"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.17#f08656c065b5d7ba35393cd5d57a19b1997e382c"
dependencies = [
"evm",
"evm-gasometer",
@@ -5651,7 +5761,7 @@
[[package]]
name = "pallet-gilt"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5666,7 +5776,7 @@
[[package]]
name = "pallet-grandpa"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5689,7 +5799,7 @@
[[package]]
name = "pallet-identity"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"enumflags2",
"frame-benchmarking",
@@ -5705,7 +5815,7 @@
[[package]]
name = "pallet-im-online"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5725,7 +5835,7 @@
[[package]]
name = "pallet-indices"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5761,7 +5871,7 @@
[[package]]
name = "pallet-membership"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5778,7 +5888,7 @@
[[package]]
name = "pallet-mmr"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"ckb-merkle-mountain-range",
"frame-benchmarking",
@@ -5796,7 +5906,7 @@
[[package]]
name = "pallet-mmr-primitives"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-support",
"frame-system",
@@ -5812,7 +5922,7 @@
[[package]]
name = "pallet-mmr-rpc"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"jsonrpc-core",
"jsonrpc-core-client",
@@ -5829,7 +5939,7 @@
[[package]]
name = "pallet-multisig"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5844,7 +5954,7 @@
[[package]]
name = "pallet-nicks"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-support",
"frame-system",
@@ -5877,7 +5987,7 @@
[[package]]
name = "pallet-offences"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-support",
"frame-system",
@@ -5894,7 +6004,7 @@
[[package]]
name = "pallet-offences-benchmarking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -5917,7 +6027,7 @@
[[package]]
name = "pallet-preimage"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5933,7 +6043,7 @@
[[package]]
name = "pallet-proxy"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5948,7 +6058,7 @@
[[package]]
name = "pallet-randomness-collective-flip"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-support",
"frame-system",
@@ -5962,7 +6072,7 @@
[[package]]
name = "pallet-recovery"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-support",
"frame-system",
@@ -5992,7 +6102,7 @@
[[package]]
name = "pallet-scheduler"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6008,7 +6118,7 @@
[[package]]
name = "pallet-session"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-support",
"frame-system",
@@ -6029,7 +6139,7 @@
[[package]]
name = "pallet-session-benchmarking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6045,7 +6155,7 @@
[[package]]
name = "pallet-society"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-support",
"frame-system",
@@ -6059,7 +6169,7 @@
[[package]]
name = "pallet-staking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -6082,9 +6192,9 @@
[[package]]
name = "pallet-staking-reward-curve"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
- "proc-macro-crate 1.1.0",
+ "proc-macro-crate 1.1.3",
"proc-macro2",
"quote",
"syn",
@@ -6093,7 +6203,7 @@
[[package]]
name = "pallet-staking-reward-fn"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"log",
"sp-arithmetic",
@@ -6102,7 +6212,7 @@
[[package]]
name = "pallet-sudo"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-support",
"frame-system",
@@ -6116,7 +6226,7 @@
[[package]]
name = "pallet-template-transaction-payment"
version = "3.0.0"
-source = "git+https://github.com/UniqueNetwork/pallet-sponsoring?branch=polkadot-v0.9.16#a08e9828d44c54ec9905e9c7f642f0e734f92780"
+source = "git+https://github.com/UniqueNetwork/pallet-sponsoring?branch=polkadot-v0.9.17#d9553babbc1cfdd44794cb0118dbb1491670e97e"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6136,7 +6246,7 @@
[[package]]
name = "pallet-timestamp"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6154,7 +6264,7 @@
[[package]]
name = "pallet-tips"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6173,7 +6283,7 @@
[[package]]
name = "pallet-transaction-payment"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-support",
"frame-system",
@@ -6190,7 +6300,7 @@
[[package]]
name = "pallet-transaction-payment-rpc"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"jsonrpc-core",
"jsonrpc-core-client",
@@ -6207,7 +6317,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.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"pallet-transaction-payment",
"parity-scale-codec",
@@ -6218,7 +6328,7 @@
[[package]]
name = "pallet-treasury"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6291,7 +6401,7 @@
[[package]]
name = "pallet-utility"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6307,7 +6417,7 @@
[[package]]
name = "pallet-vesting"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6321,8 +6431,8 @@
[[package]]
name = "pallet-xcm"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"frame-support",
"frame-system",
@@ -6339,8 +6449,8 @@
[[package]]
name = "pallet-xcm-benchmarks"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6357,7 +6467,7 @@
[[package]]
name = "parachain-info"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562"
+source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -6369,9 +6479,9 @@
[[package]]
name = "parity-db"
-version = "0.3.6"
+version = "0.3.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "68de01cff53da5574397233383dd7f5c15ee958c348245765ea8cb09f2571e6b"
+checksum = "09aa6c5bb8070cf0456d9fc228b3022e900aae9092c48c9c45facf97422efc1d"
dependencies = [
"blake2-rfc",
"crc32fast",
@@ -6382,7 +6492,7 @@
"lz4",
"memmap2 0.2.3",
"parking_lot 0.11.2",
- "rand 0.8.4",
+ "rand 0.8.5",
"snap",
]
@@ -6406,7 +6516,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1557010476e0595c9b568d16dcfb81b93cdeb157612726f5170d31aa707bed27"
dependencies = [
- "proc-macro-crate 1.1.0",
+ "proc-macro-crate 1.1.3",
"proc-macro2",
"quote",
"syn",
@@ -6428,7 +6538,7 @@
"libc",
"log",
"rand 0.7.3",
- "tokio 1.16.1",
+ "tokio 1.17.0",
"winapi 0.3.9",
]
@@ -6522,6 +6632,16 @@
]
[[package]]
+name = "parking_lot"
+version = "0.12.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "87f5ec2493a61ac0506c0f4199f99070cbe83857b0337006a30f3e6719b8ef58"
+dependencies = [
+ "lock_api 0.4.6",
+ "parking_lot_core 0.9.1",
+]
+
+[[package]]
name = "parking_lot_core"
version = "0.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -6550,6 +6670,19 @@
]
[[package]]
+name = "parking_lot_core"
+version = "0.9.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "28141e0cc4143da2443301914478dc976a61ffdb3f043058310c70df2fed8954"
+dependencies = [
+ "cfg-if 1.0.0",
+ "libc",
+ "redox_syscall 0.2.10",
+ "smallvec",
+ "windows-sys",
+]
+
+[[package]]
name = "paste"
version = "1.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -6716,8 +6849,8 @@
[[package]]
name = "polkadot-approval-distribution"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"futures 0.3.21",
"polkadot-node-network-protocol",
@@ -6730,8 +6863,8 @@
[[package]]
name = "polkadot-availability-bitfield-distribution"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"futures 0.3.21",
"polkadot-node-network-protocol",
@@ -6743,8 +6876,8 @@
[[package]]
name = "polkadot-availability-distribution"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"derive_more",
"futures 0.3.21",
@@ -6756,7 +6889,7 @@
"polkadot-node-subsystem",
"polkadot-node-subsystem-util",
"polkadot-primitives",
- "rand 0.8.4",
+ "rand 0.8.5",
"sp-core",
"sp-keystore",
"thiserror",
@@ -6765,8 +6898,8 @@
[[package]]
name = "polkadot-availability-recovery"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"futures 0.3.21",
"lru 0.7.2",
@@ -6777,7 +6910,7 @@
"polkadot-node-subsystem",
"polkadot-node-subsystem-util",
"polkadot-primitives",
- "rand 0.8.4",
+ "rand 0.8.5",
"sc-network",
"thiserror",
"tracing",
@@ -6785,9 +6918,10 @@
[[package]]
name = "polkadot-cli"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
+ "clap",
"frame-benchmarking-cli",
"futures 0.3.21",
"log",
@@ -6800,7 +6934,6 @@
"sc-tracing",
"sp-core",
"sp-trie",
- "structopt",
"substrate-build-script-utils",
"thiserror",
"try-runtime-cli",
@@ -6808,8 +6941,8 @@
[[package]]
name = "polkadot-client"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"beefy-primitives",
"frame-benchmarking",
@@ -6838,8 +6971,8 @@
[[package]]
name = "polkadot-collator-protocol"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"always-assert",
"derive_more",
@@ -6859,8 +6992,8 @@
[[package]]
name = "polkadot-core-primitives"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"parity-scale-codec",
"parity-util-mem",
@@ -6872,8 +7005,8 @@
[[package]]
name = "polkadot-dispute-distribution"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"derive_more",
"futures 0.3.21",
@@ -6894,8 +7027,8 @@
[[package]]
name = "polkadot-erasure-coding"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"parity-scale-codec",
"polkadot-node-primitives",
@@ -6908,8 +7041,8 @@
[[package]]
name = "polkadot-gossip-support"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"futures 0.3.21",
"futures-timer",
@@ -6917,7 +7050,7 @@
"polkadot-node-subsystem",
"polkadot-node-subsystem-util",
"polkadot-primitives",
- "rand 0.8.4",
+ "rand 0.8.5",
"rand_chacha 0.3.1",
"sc-network",
"sp-application-crypto",
@@ -6928,8 +7061,8 @@
[[package]]
name = "polkadot-network-bridge"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"async-trait",
"futures 0.3.21",
@@ -6947,8 +7080,8 @@
[[package]]
name = "polkadot-node-collation-generation"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"futures 0.3.21",
"parity-scale-codec",
@@ -6965,8 +7098,8 @@
[[package]]
name = "polkadot-node-core-approval-voting"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"bitvec",
"derive_more",
@@ -6993,8 +7126,8 @@
[[package]]
name = "polkadot-node-core-av-store"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"bitvec",
"futures 0.3.21",
@@ -7013,8 +7146,8 @@
[[package]]
name = "polkadot-node-core-backing"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"bitvec",
"futures 0.3.21",
@@ -7031,8 +7164,8 @@
[[package]]
name = "polkadot-node-core-bitfield-signing"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"futures 0.3.21",
"polkadot-node-subsystem",
@@ -7046,8 +7179,8 @@
[[package]]
name = "polkadot-node-core-candidate-validation"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"async-trait",
"futures 0.3.21",
@@ -7064,8 +7197,8 @@
[[package]]
name = "polkadot-node-core-chain-api"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"futures 0.3.21",
"polkadot-node-subsystem",
@@ -7079,8 +7212,8 @@
[[package]]
name = "polkadot-node-core-chain-selection"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"futures 0.3.21",
"futures-timer",
@@ -7096,8 +7229,8 @@
[[package]]
name = "polkadot-node-core-dispute-coordinator"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"futures 0.3.21",
"kvdb",
@@ -7114,8 +7247,8 @@
[[package]]
name = "polkadot-node-core-parachains-inherent"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"async-trait",
"futures 0.3.21",
@@ -7131,8 +7264,8 @@
[[package]]
name = "polkadot-node-core-provisioner"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"bitvec",
"futures 0.3.21",
@@ -7141,15 +7274,15 @@
"polkadot-node-subsystem",
"polkadot-node-subsystem-util",
"polkadot-primitives",
- "rand 0.8.4",
+ "rand 0.8.5",
"thiserror",
"tracing",
]
[[package]]
name = "polkadot-node-core-pvf"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"always-assert",
"assert_matches",
@@ -7162,7 +7295,7 @@
"polkadot-core-primitives",
"polkadot-node-subsystem-util",
"polkadot-parachain",
- "rand 0.8.4",
+ "rand 0.8.5",
"sc-executor",
"sc-executor-common",
"sc-executor-wasmtime",
@@ -7178,8 +7311,8 @@
[[package]]
name = "polkadot-node-core-pvf-checker"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"futures 0.3.21",
"polkadot-node-primitives",
@@ -7194,8 +7327,8 @@
[[package]]
name = "polkadot-node-core-runtime-api"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"futures 0.3.21",
"memory-lru",
@@ -7212,8 +7345,8 @@
[[package]]
name = "polkadot-node-jaeger"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"async-std",
"lazy_static",
@@ -7230,8 +7363,8 @@
[[package]]
name = "polkadot-node-metrics"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"bs58",
"futures 0.3.21",
@@ -7249,8 +7382,8 @@
[[package]]
name = "polkadot-node-network-protocol"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"async-trait",
"derive_more",
@@ -7261,14 +7394,14 @@
"polkadot-primitives",
"sc-authority-discovery",
"sc-network",
- "strum 0.23.0",
+ "strum",
"thiserror",
]
[[package]]
name = "polkadot-node-primitives"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"bounded-vec",
"futures 0.3.21",
@@ -7289,8 +7422,8 @@
[[package]]
name = "polkadot-node-subsystem"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"polkadot-node-jaeger",
"polkadot-node-subsystem-types",
@@ -7299,8 +7432,8 @@
[[package]]
name = "polkadot-node-subsystem-types"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"derive_more",
"futures 0.3.21",
@@ -7318,8 +7451,8 @@
[[package]]
name = "polkadot-node-subsystem-util"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"async-trait",
"derive_more",
@@ -7336,7 +7469,7 @@
"polkadot-node-subsystem",
"polkadot-overseer",
"polkadot-primitives",
- "rand 0.8.4",
+ "rand 0.8.5",
"sp-application-crypto",
"sp-core",
"sp-keystore",
@@ -7346,8 +7479,8 @@
[[package]]
name = "polkadot-overseer"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"futures 0.3.21",
"futures-timer",
@@ -7367,8 +7500,8 @@
[[package]]
name = "polkadot-overseer-gen"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"async-trait",
"futures 0.3.21",
@@ -7384,10 +7517,10 @@
[[package]]
name = "polkadot-overseer-gen-proc-macro"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
- "proc-macro-crate 1.1.0",
+ "proc-macro-crate 1.1.3",
"proc-macro2",
"quote",
"syn",
@@ -7395,8 +7528,8 @@
[[package]]
name = "polkadot-parachain"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"derive_more",
"frame-support",
@@ -7412,8 +7545,8 @@
[[package]]
name = "polkadot-performance-test"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"env_logger",
"kusama-runtime",
@@ -7427,8 +7560,8 @@
[[package]]
name = "polkadot-primitives"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"bitvec",
"frame-system",
@@ -7457,8 +7590,8 @@
[[package]]
name = "polkadot-rpc"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"beefy-gadget",
"beefy-gadget-rpc",
@@ -7488,8 +7621,8 @@
[[package]]
name = "polkadot-runtime"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"beefy-primitives",
"bitvec",
@@ -7572,8 +7705,8 @@
[[package]]
name = "polkadot-runtime-common"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"beefy-primitives",
"bitvec",
@@ -7619,8 +7752,8 @@
[[package]]
name = "polkadot-runtime-constants"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"frame-support",
"polkadot-primitives",
@@ -7631,8 +7764,8 @@
[[package]]
name = "polkadot-runtime-metrics"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"bs58",
"parity-scale-codec",
@@ -7643,8 +7776,8 @@
[[package]]
name = "polkadot-runtime-parachains"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"bitflags",
"bitvec",
@@ -7664,7 +7797,7 @@
"parity-scale-codec",
"polkadot-primitives",
"polkadot-runtime-metrics",
- "rand 0.8.4",
+ "rand 0.8.5",
"rand_chacha 0.3.1",
"rustc-hex",
"scale-info",
@@ -7678,14 +7811,15 @@
"sp-session",
"sp-staking",
"sp-std",
+ "static_assertions",
"xcm",
"xcm-executor",
]
[[package]]
name = "polkadot-service"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"async-trait",
"beefy-gadget",
@@ -7784,8 +7918,8 @@
[[package]]
name = "polkadot-statement-distribution"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"arrayvec 0.5.2",
"derive_more",
@@ -7805,8 +7939,8 @@
[[package]]
name = "polkadot-statement-table"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"parity-scale-codec",
"polkadot-primitives",
@@ -7815,8 +7949,8 @@
[[package]]
name = "polkadot-test-runtime"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"beefy-primitives",
"bitvec",
@@ -7877,8 +8011,8 @@
[[package]]
name = "polkadot-test-service"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"frame-benchmarking",
"frame-system",
@@ -7898,7 +8032,7 @@
"polkadot-runtime-parachains",
"polkadot-service",
"polkadot-test-runtime",
- "rand 0.8.4",
+ "rand 0.8.5",
"sc-authority-discovery",
"sc-chain-spec",
"sc-cli",
@@ -7925,7 +8059,7 @@
"substrate-test-client",
"tempfile",
"test-runtime-constants",
- "tokio 1.16.1",
+ "tokio 1.17.0",
"tracing",
]
@@ -8008,9 +8142,9 @@
[[package]]
name = "proc-macro-crate"
-version = "1.1.0"
+version = "1.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1ebace6889caf889b4d3f76becee12e90353f2b8c7d875534a71e5742f8f6f83"
+checksum = "e17d47ce914bf4de440332250b0edd23ce48c005f59fab39d3335866b114f11a"
dependencies = [
"thiserror",
"toml",
@@ -8080,7 +8214,7 @@
checksum = "62941722fb675d463659e49c4f3fe1fe792ff24fe5bbaa9c08cd3b98a1c354f5"
dependencies = [
"bytes 1.1.0",
- "heck",
+ "heck 0.3.3",
"itertools",
"lazy_static",
"log",
@@ -8118,9 +8252,9 @@
[[package]]
name = "psm"
-version = "0.1.16"
+version = "0.1.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cd136ff4382c4753fc061cb9e4712ab2af263376b95bbd5bd8cd50c020b78e69"
+checksum = "6eca0fa5dd7c4c96e184cec588f0b1db1ee3165e678db21c09793105acb17e6f"
dependencies = [
"cc",
]
@@ -8173,20 +8307,19 @@
"libc",
"rand_chacha 0.2.2",
"rand_core 0.5.1",
- "rand_hc 0.2.0",
+ "rand_hc",
"rand_pcg",
]
[[package]]
name = "rand"
-version = "0.8.4"
+version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8"
+checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
dependencies = [
"libc",
"rand_chacha 0.3.1",
"rand_core 0.6.3",
- "rand_hc 0.3.1",
]
[[package]]
@@ -8224,7 +8357,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7"
dependencies = [
- "getrandom 0.2.4",
+ "getrandom 0.2.5",
]
[[package]]
@@ -8234,7 +8367,7 @@
checksum = "32cb0b9bc82b0a0876c2dd994a7e7a2683d3e7390ca40e6886785ef0c7e3ee31"
dependencies = [
"num-traits",
- "rand 0.8.4",
+ "rand 0.8.5",
]
[[package]]
@@ -8244,15 +8377,6 @@
checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c"
dependencies = [
"rand_core 0.5.1",
-]
-
-[[package]]
-name = "rand_hc"
-version = "0.3.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d51e9f596de227fda2ea6c84607f5558e196eeaf43c986b724ba4fb8fdf497e7"
-dependencies = [
- "rand_core 0.6.3",
]
[[package]]
@@ -8316,7 +8440,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "528532f3d801c87aec9def2add9ca802fe569e44a544afe633765267840abe64"
dependencies = [
- "getrandom 0.2.4",
+ "getrandom 0.2.5",
"redox_syscall 0.2.10",
]
@@ -8405,10 +8529,10 @@
[[package]]
name = "remote-externalities"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"env_logger",
- "jsonrpsee",
+ "jsonrpsee 0.8.0",
"log",
"parity-scale-codec",
"serde",
@@ -8492,8 +8616,8 @@
[[package]]
name = "rococo-runtime"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"beefy-primitives",
"bp-messages",
@@ -8567,8 +8691,8 @@
[[package]]
name = "rococo-runtime-constants"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"frame-support",
"polkadot-primitives",
@@ -8629,7 +8753,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366"
dependencies = [
- "semver 1.0.5",
+ "semver 1.0.6",
]
[[package]]
@@ -8655,23 +8779,56 @@
"base64",
"log",
"ring",
- "sct",
- "webpki",
+ "sct 0.6.1",
+ "webpki 0.21.4",
]
[[package]]
+name = "rustls"
+version = "0.20.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4fbfeb8d0ddb84706bc597a5574ab8912817c52a397f819e5b614e2265206921"
+dependencies = [
+ "log",
+ "ring",
+ "sct 0.7.0",
+ "webpki 0.22.0",
+]
+
+[[package]]
name = "rustls-native-certs"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5a07b7c1885bd8ed3831c289b7870b13ef46fe0e856d288c30d9cc17d75a2092"
dependencies = [
"openssl-probe",
- "rustls",
+ "rustls 0.19.1",
+ "schannel",
+ "security-framework",
+]
+
+[[package]]
+name = "rustls-native-certs"
+version = "0.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5ca9ebdfa27d3fc180e42879037b5338ab1c040c06affd00d8338598e7800943"
+dependencies = [
+ "openssl-probe",
+ "rustls-pemfile",
"schannel",
"security-framework",
]
[[package]]
+name = "rustls-pemfile"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5eebeaeb360c87bfb72e84abdb3447159c0eaececf1bef2aecd65a8be949d1c9"
+dependencies = [
+ "base64",
+]
+
+[[package]]
name = "rustversion"
version = "1.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -8724,7 +8881,7 @@
[[package]]
name = "sc-allocator"
version = "4.1.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"log",
"sp-core",
@@ -8735,10 +8892,9 @@
[[package]]
name = "sc-authority-discovery"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"async-trait",
- "derive_more",
"futures 0.3.21",
"futures-timer",
"ip_network",
@@ -8757,12 +8913,13 @@
"sp-keystore",
"sp-runtime",
"substrate-prometheus-endpoint",
+ "thiserror",
]
[[package]]
name = "sc-basic-authorship"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"futures 0.3.21",
"futures-timer",
@@ -8785,7 +8942,7 @@
[[package]]
name = "sc-block-builder"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"parity-scale-codec",
"sc-client-api",
@@ -8801,7 +8958,7 @@
[[package]]
name = "sc-chain-spec"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"impl-trait-for-tuples",
"memmap2 0.5.3",
@@ -8818,9 +8975,9 @@
[[package]]
name = "sc-chain-spec-derive"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
- "proc-macro-crate 1.1.0",
+ "proc-macro-crate 1.1.3",
"proc-macro2",
"quote",
"syn",
@@ -8829,9 +8986,10 @@
[[package]]
name = "sc-cli"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"chrono",
+ "clap",
"fdlimit",
"futures 0.3.21",
"hex",
@@ -8858,16 +9016,15 @@
"sp-panic-handler",
"sp-runtime",
"sp-version",
- "structopt",
"thiserror",
"tiny-bip39",
- "tokio 1.16.1",
+ "tokio 1.17.0",
]
[[package]]
name = "sc-client-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"fnv",
"futures 0.3.21",
@@ -8895,7 +9052,7 @@
[[package]]
name = "sc-client-db"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"hash-db",
"kvdb",
@@ -8920,7 +9077,7 @@
[[package]]
name = "sc-consensus"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"async-trait",
"futures 0.3.21",
@@ -8944,10 +9101,9 @@
[[package]]
name = "sc-consensus-aura"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"async-trait",
- "derive_more",
"futures 0.3.21",
"log",
"parity-scale-codec",
@@ -8968,15 +9124,15 @@
"sp-keystore",
"sp-runtime",
"substrate-prometheus-endpoint",
+ "thiserror",
]
[[package]]
name = "sc-consensus-babe"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"async-trait",
- "derive_more",
"fork-tree",
"futures 0.3.21",
"log",
@@ -9011,14 +9167,14 @@
"sp-runtime",
"sp-version",
"substrate-prometheus-endpoint",
+ "thiserror",
]
[[package]]
name = "sc-consensus-babe-rpc"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
- "derive_more",
"futures 0.3.21",
"jsonrpc-core",
"jsonrpc-core-client",
@@ -9035,12 +9191,13 @@
"sp-core",
"sp-keystore",
"sp-runtime",
+ "thiserror",
]
[[package]]
name = "sc-consensus-epochs"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"fork-tree",
"parity-scale-codec",
@@ -9053,7 +9210,7 @@
[[package]]
name = "sc-consensus-slots"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"async-trait",
"futures 0.3.21",
@@ -9078,7 +9235,7 @@
[[package]]
name = "sc-consensus-uncles"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"sc-client-api",
"sp-authorship",
@@ -9089,7 +9246,7 @@
[[package]]
name = "sc-executor"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"lazy_static",
"libsecp256k1 0.7.0",
@@ -9117,9 +9274,8 @@
[[package]]
name = "sc-executor-common"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
- "derive_more",
"environmental",
"parity-scale-codec",
"sc-allocator",
@@ -9135,7 +9291,7 @@
[[package]]
name = "sc-executor-wasmi"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"log",
"parity-scale-codec",
@@ -9151,7 +9307,7 @@
[[package]]
name = "sc-executor-wasmtime"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"cfg-if 1.0.0",
"libc",
@@ -9169,10 +9325,9 @@
[[package]]
name = "sc-finality-grandpa"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"async-trait",
- "derive_more",
"dyn-clone",
"finality-grandpa",
"fork-tree",
@@ -9181,7 +9336,7 @@
"log",
"parity-scale-codec",
"parking_lot 0.11.2",
- "rand 0.8.4",
+ "rand 0.8.5",
"sc-block-builder",
"sc-chain-spec",
"sc-client-api",
@@ -9202,14 +9357,14 @@
"sp-keystore",
"sp-runtime",
"substrate-prometheus-endpoint",
+ "thiserror",
]
[[package]]
name = "sc-finality-grandpa-rpc"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
- "derive_more",
"finality-grandpa",
"futures 0.3.21",
"jsonrpc-core",
@@ -9226,12 +9381,13 @@
"sp-blockchain",
"sp-core",
"sp-runtime",
+ "thiserror",
]
[[package]]
name = "sc-informant"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"ansi_term",
"futures 0.3.21",
@@ -9248,22 +9404,22 @@
[[package]]
name = "sc-keystore"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"async-trait",
- "derive_more",
"hex",
"parking_lot 0.11.2",
"serde_json",
"sp-application-crypto",
"sp-core",
"sp-keystore",
+ "thiserror",
]
[[package]]
name = "sc-network"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"async-std",
"async-trait",
@@ -9271,7 +9427,6 @@
"bitflags",
"bytes 1.1.0",
"cid",
- "derive_more",
"either",
"fnv",
"fork-tree",
@@ -9314,7 +9469,7 @@
[[package]]
name = "sc-network-gossip"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"futures 0.3.21",
"futures-timer",
@@ -9330,7 +9485,7 @@
[[package]]
name = "sc-offchain"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"bytes 1.1.0",
"fnv",
@@ -9358,7 +9513,7 @@
[[package]]
name = "sc-peerset"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"futures 0.3.21",
"libp2p",
@@ -9371,7 +9526,7 @@
[[package]]
name = "sc-proposer-metrics"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"log",
"substrate-prometheus-endpoint",
@@ -9380,7 +9535,7 @@
[[package]]
name = "sc-rpc"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"futures 0.3.21",
"hash-db",
@@ -9411,7 +9566,7 @@
[[package]]
name = "sc-rpc-api"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"futures 0.3.21",
"jsonrpc-core",
@@ -9436,7 +9591,7 @@
[[package]]
name = "sc-rpc-server"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"futures 0.3.21",
"jsonrpc-core",
@@ -9447,13 +9602,13 @@
"log",
"serde_json",
"substrate-prometheus-endpoint",
- "tokio 1.16.1",
+ "tokio 1.17.0",
]
[[package]]
name = "sc-service"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"async-trait",
"directories",
@@ -9509,7 +9664,7 @@
"substrate-prometheus-endpoint",
"tempfile",
"thiserror",
- "tokio 1.16.1",
+ "tokio 1.17.0",
"tracing",
"tracing-futures",
]
@@ -9517,7 +9672,7 @@
[[package]]
name = "sc-state-db"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"log",
"parity-scale-codec",
@@ -9531,7 +9686,7 @@
[[package]]
name = "sc-sync-state-rpc"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"jsonrpc-core",
"jsonrpc-core-client",
@@ -9553,7 +9708,7 @@
[[package]]
name = "sc-telemetry"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"chrono",
"futures 0.3.21",
@@ -9571,7 +9726,7 @@
[[package]]
name = "sc-tracing"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"ansi_term",
"atty",
@@ -9602,9 +9757,9 @@
[[package]]
name = "sc-tracing-proc-macro"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
- "proc-macro-crate 1.1.0",
+ "proc-macro-crate 1.1.3",
"proc-macro2",
"quote",
"syn",
@@ -9613,7 +9768,7 @@
[[package]]
name = "sc-transaction-pool"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"futures 0.3.21",
"futures-timer",
@@ -9640,9 +9795,8 @@
[[package]]
name = "sc-transaction-pool-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
- "derive_more",
"futures 0.3.21",
"log",
"serde",
@@ -9654,7 +9808,7 @@
[[package]]
name = "sc-utils"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"futures 0.3.21",
"futures-timer",
@@ -9683,7 +9837,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "baeb2780690380592f86205aa4ee49815feb2acad8c2f59e6dd207148c3f1fcd"
dependencies = [
- "proc-macro-crate 1.1.0",
+ "proc-macro-crate 1.1.3",
"proc-macro2",
"quote",
"syn",
@@ -9740,6 +9894,16 @@
]
[[package]]
+name = "sct"
+version = "0.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4"
+dependencies = [
+ "ring",
+ "untrusted",
+]
+
+[[package]]
name = "secrecy"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -9800,9 +9964,9 @@
[[package]]
name = "semver"
-version = "1.0.5"
+version = "1.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0486718e92ec9a68fbed73bb5ef687d71103b142595b406835649bebd33f72c7"
+checksum = "a4a3381e03edd24287172047536f20cabde766e2cd3e65e6b00fb3af51c4f38d"
dependencies = [
"serde",
]
@@ -9844,9 +10008,9 @@
[[package]]
name = "serde_json"
-version = "1.0.78"
+version = "1.0.79"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d23c1ba4cf0efd44be32017709280b32d1cea5c3f1275c3b6d9e8bc54f758085"
+checksum = "8e8d9fa5c3b304765ce1fd9c4c8a3de2c8db365a5b91be52f186efc675681d95"
dependencies = [
"itoa 1.0.1",
"ryu",
@@ -9905,13 +10069,13 @@
[[package]]
name = "sha2"
-version = "0.10.1"
+version = "0.10.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "99c3bd8169c58782adad9290a9af5939994036b76187f7b4f0e6de91dbbfc0ec"
+checksum = "55deaec60f81eefe3cce0dc50bda92d6d8e88f2a27df7c5033b42afeb1ed2676"
dependencies = [
"cfg-if 1.0.0",
"cpufeatures 0.2.1",
- "digest 0.10.2",
+ "digest 0.10.3",
]
[[package]]
@@ -9999,8 +10163,8 @@
[[package]]
name = "slot-range-helper"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"enumn",
"parity-scale-codec",
@@ -10039,7 +10203,7 @@
"aes-gcm",
"blake2",
"chacha20poly1305",
- "rand 0.8.4",
+ "rand 0.8.5",
"rand_core 0.6.3",
"ring",
"rustc_version 0.3.3",
@@ -10081,14 +10245,14 @@
"futures 0.3.21",
"httparse",
"log",
- "rand 0.8.4",
+ "rand 0.8.5",
"sha-1 0.9.8",
]
[[package]]
name = "sp-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"hash-db",
"log",
@@ -10105,10 +10269,10 @@
[[package]]
name = "sp-api-proc-macro"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"blake2-rfc",
- "proc-macro-crate 1.1.0",
+ "proc-macro-crate 1.1.3",
"proc-macro2",
"quote",
"syn",
@@ -10116,8 +10280,8 @@
[[package]]
name = "sp-application-crypto"
-version = "4.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+version = "5.0.0"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -10130,7 +10294,7 @@
[[package]]
name = "sp-arithmetic"
version = "4.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"integer-sqrt",
"num-traits",
@@ -10145,7 +10309,7 @@
[[package]]
name = "sp-authority-discovery"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -10158,7 +10322,7 @@
[[package]]
name = "sp-authorship"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"async-trait",
"parity-scale-codec",
@@ -10170,7 +10334,7 @@
[[package]]
name = "sp-block-builder"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"parity-scale-codec",
"sp-api",
@@ -10182,7 +10346,7 @@
[[package]]
name = "sp-blockchain"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"futures 0.3.21",
"log",
@@ -10200,7 +10364,7 @@
[[package]]
name = "sp-consensus"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"async-trait",
"futures 0.3.21",
@@ -10219,7 +10383,7 @@
[[package]]
name = "sp-consensus-aura"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"async-trait",
"parity-scale-codec",
@@ -10237,7 +10401,7 @@
[[package]]
name = "sp-consensus-babe"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"async-trait",
"merlin",
@@ -10260,7 +10424,7 @@
[[package]]
name = "sp-consensus-slots"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -10272,7 +10436,7 @@
[[package]]
name = "sp-consensus-vrf"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"parity-scale-codec",
"schnorrkel",
@@ -10283,8 +10447,8 @@
[[package]]
name = "sp-core"
-version = "4.1.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+version = "5.0.0"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"base58",
"bitflags",
@@ -10312,7 +10476,7 @@
"schnorrkel",
"secrecy",
"serde",
- "sha2 0.10.1",
+ "sha2 0.10.2",
"sp-core-hashing",
"sp-debug-derive",
"sp-externalities",
@@ -10332,11 +10496,11 @@
[[package]]
name = "sp-core-hashing"
version = "4.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"blake2-rfc",
"byteorder",
- "sha2 0.10.1",
+ "sha2 0.10.2",
"sp-std",
"tiny-keccak",
"twox-hash",
@@ -10345,7 +10509,7 @@
[[package]]
name = "sp-core-hashing-proc-macro"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"proc-macro2",
"quote",
@@ -10356,7 +10520,7 @@
[[package]]
name = "sp-database"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"kvdb",
"parking_lot 0.11.2",
@@ -10365,7 +10529,7 @@
[[package]]
name = "sp-debug-derive"
version = "4.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"proc-macro2",
"quote",
@@ -10374,8 +10538,8 @@
[[package]]
name = "sp-externalities"
-version = "0.10.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+version = "0.11.0"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"environmental",
"parity-scale-codec",
@@ -10386,7 +10550,7 @@
[[package]]
name = "sp-finality-grandpa"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"finality-grandpa",
"log",
@@ -10404,7 +10568,7 @@
[[package]]
name = "sp-inherents"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"async-trait",
"impl-trait-for-tuples",
@@ -10417,8 +10581,8 @@
[[package]]
name = "sp-io"
-version = "4.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+version = "5.0.0"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"futures 0.3.21",
"hash-db",
@@ -10441,22 +10605,21 @@
[[package]]
name = "sp-keyring"
-version = "4.1.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+version = "5.0.0"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"lazy_static",
"sp-core",
"sp-runtime",
- "strum 0.22.0",
+ "strum",
]
[[package]]
name = "sp-keystore"
-version = "0.10.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+version = "0.11.0"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"async-trait",
- "derive_more",
"futures 0.3.21",
"merlin",
"parity-scale-codec",
@@ -10465,20 +10628,22 @@
"serde",
"sp-core",
"sp-externalities",
+ "thiserror",
]
[[package]]
name = "sp-maybe-compressed-blob"
version = "4.1.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
+ "thiserror",
"zstd",
]
[[package]]
name = "sp-npos-elections"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -10493,9 +10658,9 @@
[[package]]
name = "sp-npos-elections-solution-type"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
- "proc-macro-crate 1.1.0",
+ "proc-macro-crate 1.1.3",
"proc-macro2",
"quote",
"syn",
@@ -10504,7 +10669,7 @@
[[package]]
name = "sp-offchain"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"sp-api",
"sp-core",
@@ -10514,7 +10679,7 @@
[[package]]
name = "sp-panic-handler"
version = "4.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"backtrace",
"lazy_static",
@@ -10523,8 +10688,8 @@
[[package]]
name = "sp-rpc"
-version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+version = "5.0.0"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"rustc-hash",
"serde",
@@ -10533,8 +10698,8 @@
[[package]]
name = "sp-runtime"
-version = "4.1.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+version = "5.0.0"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"either",
"hash256-std-hasher",
@@ -10555,8 +10720,8 @@
[[package]]
name = "sp-runtime-interface"
-version = "4.1.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+version = "5.0.0"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"impl-trait-for-tuples",
"parity-scale-codec",
@@ -10573,10 +10738,10 @@
[[package]]
name = "sp-runtime-interface-proc-macro"
version = "4.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"Inflector",
- "proc-macro-crate 1.1.0",
+ "proc-macro-crate 1.1.3",
"proc-macro2",
"quote",
"syn",
@@ -10585,7 +10750,7 @@
[[package]]
name = "sp-serializer"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"serde",
"serde_json",
@@ -10594,7 +10759,7 @@
[[package]]
name = "sp-session"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -10608,7 +10773,7 @@
[[package]]
name = "sp-staking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -10618,8 +10783,8 @@
[[package]]
name = "sp-state-machine"
-version = "0.10.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+version = "0.11.0"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"hash-db",
"log",
@@ -10642,12 +10807,12 @@
[[package]]
name = "sp-std"
version = "4.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
[[package]]
name = "sp-storage"
-version = "4.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+version = "5.0.0"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"impl-serde",
"parity-scale-codec",
@@ -10660,7 +10825,7 @@
[[package]]
name = "sp-tasks"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"log",
"sp-core",
@@ -10673,7 +10838,7 @@
[[package]]
name = "sp-timestamp"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"async-trait",
"futures-timer",
@@ -10689,7 +10854,7 @@
[[package]]
name = "sp-tracing"
version = "4.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"parity-scale-codec",
"sp-std",
@@ -10701,7 +10866,7 @@
[[package]]
name = "sp-transaction-pool"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"sp-api",
"sp-runtime",
@@ -10710,7 +10875,7 @@
[[package]]
name = "sp-transaction-storage-proof"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"async-trait",
"log",
@@ -10725,8 +10890,8 @@
[[package]]
name = "sp-trie"
-version = "4.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+version = "5.0.0"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"hash-db",
"memory-db",
@@ -10741,7 +10906,7 @@
[[package]]
name = "sp-version"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"impl-serde",
"parity-scale-codec",
@@ -10758,7 +10923,7 @@
[[package]]
name = "sp-version-proc-macro"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"parity-scale-codec",
"proc-macro2",
@@ -10768,8 +10933,8 @@
[[package]]
name = "sp-wasm-interface"
-version = "4.1.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+version = "5.0.0"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"impl-trait-for-tuples",
"log",
@@ -10787,9 +10952,9 @@
[[package]]
name = "ss58-registry"
-version = "1.12.0"
+version = "1.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8319f44e20b42e5c11b88b1ad4130c35fe2974665a007b08b02322070177136a"
+checksum = "2f9799e6d412271cb2414597581128b03f3285f260ea49f5363d07df6a332b3e"
dependencies = [
"Inflector",
"proc-macro2",
@@ -10846,73 +11011,22 @@
"lazy_static",
"nalgebra",
"num-traits",
- "rand 0.8.4",
+ "rand 0.8.5",
]
-
-[[package]]
-name = "strsim"
-version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
[[package]]
name = "strsim"
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
-
-[[package]]
-name = "structopt"
-version = "0.3.26"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0c6b5c64445ba8094a6ab0c3cd2ad323e07171012d9c98b0b15651daf1787a10"
-dependencies = [
- "clap",
- "lazy_static",
- "structopt-derive",
-]
-
-[[package]]
-name = "structopt-derive"
-version = "0.4.18"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dcb5ae327f9cc13b68763b5749770cb9e048a99bd9dfdfa58d0cf05d5f64afe0"
-dependencies = [
- "heck",
- "proc-macro-error",
- "proc-macro2",
- "quote",
- "syn",
-]
[[package]]
name = "strum"
-version = "0.22.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f7ac893c7d471c8a21f31cfe213ec4f6d9afeed25537c772e08ef3f005f8729e"
-dependencies = [
- "strum_macros 0.22.0",
-]
-
-[[package]]
-name = "strum"
version = "0.23.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cae14b91c7d11c9a851d3fbc80a963198998c2a64eec840477fa92d8ce9b70bb"
dependencies = [
- "strum_macros 0.23.1",
-]
-
-[[package]]
-name = "strum_macros"
-version = "0.22.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "339f799d8b549e3744c7ac7feb216383e4005d94bdb22561b3ab8f3b808ae9fb"
-dependencies = [
- "heck",
- "proc-macro2",
- "quote",
- "syn",
+ "strum_macros",
]
[[package]]
@@ -10921,7 +11035,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5bb0dc7ee9c15cea6199cde9a127fa16a4c5819af85395457ad72d68edc85a38"
dependencies = [
- "heck",
+ "heck 0.3.3",
"proc-macro2",
"quote",
"rustversion",
@@ -10944,7 +11058,7 @@
[[package]]
name = "substrate-build-script-utils"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"platforms",
]
@@ -10952,7 +11066,7 @@
[[package]]
name = "substrate-frame-rpc-system"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"frame-system-rpc-runtime-api",
"futures 0.3.21",
@@ -10974,21 +11088,21 @@
[[package]]
name = "substrate-prometheus-endpoint"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"async-std",
- "derive_more",
"futures-util",
"hyper",
"log",
"prometheus",
- "tokio 1.16.1",
+ "thiserror",
+ "tokio 1.17.0",
]
[[package]]
name = "substrate-test-client"
version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"async-trait",
"futures 0.3.21",
@@ -11014,19 +11128,19 @@
[[package]]
name = "substrate-test-utils"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"futures 0.3.21",
"substrate-test-utils-derive",
- "tokio 1.16.1",
+ "tokio 1.17.0",
]
[[package]]
name = "substrate-test-utils-derive"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
- "proc-macro-crate 1.1.0",
+ "proc-macro-crate 1.1.3",
"proc-macro2",
"quote",
"syn",
@@ -11035,12 +11149,13 @@
[[package]]
name = "substrate-wasm-builder"
version = "5.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
"ansi_term",
"build-helper",
"cargo_metadata",
"sp-maybe-compressed-blob",
+ "strum",
"tempfile",
"toml",
"walkdir",
@@ -11119,8 +11234,8 @@
[[package]]
name = "test-runtime-constants"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"frame-support",
"polkadot-primitives",
@@ -11131,12 +11246,9 @@
[[package]]
name = "textwrap"
-version = "0.11.0"
+version = "0.14.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
-dependencies = [
- "unicode-width",
-]
+checksum = "0066c8d12af8b5acd21e00547c3797fde4e8677254a7ee429176ccebbe93dd80"
[[package]]
name = "thiserror"
@@ -11257,18 +11369,19 @@
[[package]]
name = "tokio"
-version = "1.16.1"
+version = "1.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0c27a64b625de6d309e8c57716ba93021dccf1b3b5c97edd6d3dd2d2135afc0a"
+checksum = "2af73ac49756f3f7c01172e34a23e5d0216f6c32333757c2c61feb2bbff5a5ee"
dependencies = [
"bytes 1.1.0",
"libc",
"memchr",
- "mio 0.7.14",
+ "mio 0.8.0",
"num_cpus",
"once_cell",
"pin-project-lite 0.2.8",
"signal-hook-registry",
+ "socket2 0.4.4",
"tokio-macros 1.7.0",
"winapi 0.3.9",
]
@@ -11301,9 +11414,20 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bc6844de72e57df1980054b38be3a9f4702aba4858be64dd700181a8a6d0e1b6"
dependencies = [
- "rustls",
- "tokio 1.16.1",
- "webpki",
+ "rustls 0.19.1",
+ "tokio 1.17.0",
+ "webpki 0.21.4",
+]
+
+[[package]]
+name = "tokio-rustls"
+version = "0.23.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a27d5f2b839802bd8267fa19b0530f5a08b9c08cd417976be2a65d130fe1c11b"
+dependencies = [
+ "rustls 0.20.4",
+ "tokio 1.17.0",
+ "webpki 0.22.0",
]
[[package]]
@@ -11314,7 +11438,7 @@
dependencies = [
"futures-core",
"pin-project-lite 0.2.8",
- "tokio 1.16.1",
+ "tokio 1.17.0",
]
[[package]]
@@ -11329,7 +11453,7 @@
"futures-sink",
"log",
"pin-project-lite 0.2.8",
- "tokio 1.16.1",
+ "tokio 1.17.0",
]
[[package]]
@@ -11349,9 +11473,9 @@
[[package]]
name = "tracing"
-version = "0.1.30"
+version = "0.1.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2d8d93354fe2a8e50d5953f5ae2e47a3fc2ef03292e7ea46e3cc38f549525fb9"
+checksum = "f6c650a8ef0cd2dd93736f033d21cbd1224c5a967aa0c258d00fcf7dafef9b9f"
dependencies = [
"cfg-if 1.0.0",
"pin-project-lite 0.2.8",
@@ -11483,7 +11607,7 @@
"ipnet",
"lazy_static",
"log",
- "rand 0.8.4",
+ "rand 0.8.5",
"smallvec",
"thiserror",
"tinyvec",
@@ -11518,9 +11642,10 @@
[[package]]
name = "try-runtime-cli"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
dependencies = [
- "jsonrpsee",
+ "clap",
+ "jsonrpsee 0.4.1",
"log",
"parity-scale-codec",
"remote-externalities",
@@ -11536,7 +11661,6 @@
"sp-runtime",
"sp-state-machine",
"sp-version",
- "structopt",
"zstd",
]
@@ -11553,7 +11677,7 @@
checksum = "4ee73e6e4924fe940354b8d4d98cad5231175d615cd855b758adc658c0aac6a0"
dependencies = [
"cfg-if 1.0.0",
- "rand 0.8.4",
+ "rand 0.8.5",
"static_assertions",
]
@@ -11630,12 +11754,6 @@
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"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -11645,6 +11763,7 @@
name = "unique-node"
version = "0.9.16"
dependencies = [
+ "clap",
"cumulus-client-cli",
"cumulus-client-collator",
"cumulus-client-consensus-aura",
@@ -11710,7 +11829,6 @@
"sp-timestamp",
"sp-transaction-pool",
"sp-trie",
- "structopt",
"substrate-build-script-utils",
"substrate-frame-rpc-system",
"substrate-prometheus-endpoint",
@@ -11924,7 +12042,7 @@
[[package]]
name = "up-sponsorship"
version = "0.1.0"
-source = "git+https://github.com/UniqueNetwork/pallet-sponsoring?branch=polkadot-v0.9.16#a08e9828d44c54ec9905e9c7f642f0e734f92780"
+source = "git+https://github.com/UniqueNetwork/pallet-sponsoring?branch=polkadot-v0.9.17#d9553babbc1cfdd44794cb0118dbb1491670e97e"
dependencies = [
"impl-trait-for-tuples",
]
@@ -11975,12 +12093,6 @@
checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
[[package]]
-name = "vec_map"
-version = "0.8.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"
-
-[[package]]
name = "version_check"
version = "0.9.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -12164,9 +12276,9 @@
[[package]]
name = "wasmtime"
-version = "0.33.0"
+version = "0.33.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "414be1bc5ca12e755ffd3ff7acc3a6d1979922f8237fc34068b2156cebcc3270"
+checksum = "4c9c724da92e39a85d2231d4c2a942c8be295211441dbca581c6c3f3f45a9f00"
dependencies = [
"anyhow",
"backtrace",
@@ -12196,9 +12308,9 @@
[[package]]
name = "wasmtime-cache"
-version = "0.33.0"
+version = "0.33.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8b9b4cd1949206fda9241faf8c460a7d797aa1692594d3dd6bc1cbfa57ee20d0"
+checksum = "da4439d99100298344567c0eb6916ad5864e99e54760b8177c427e529077fb30"
dependencies = [
"anyhow",
"base64",
@@ -12216,9 +12328,9 @@
[[package]]
name = "wasmtime-cranelift"
-version = "0.33.0"
+version = "0.33.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a4693d33725773615a4c9957e4aa731af57b27dca579702d1d8ed5750760f1a9"
+checksum = "1762765dd69245f00e5d9783b695039e449a7be0f9c5383e4c78465dd6131aeb"
dependencies = [
"anyhow",
"cranelift-codegen",
@@ -12238,9 +12350,9 @@
[[package]]
name = "wasmtime-environ"
-version = "0.33.0"
+version = "0.33.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5b17e47116a078b9770e6fb86cff8b9a660826623cebcfff251b047c8d8993ef"
+checksum = "c4468301d95ec71710bb6261382efe27d1296447711645e3dbabaea6e4de3504"
dependencies = [
"anyhow",
"cranelift-entity",
@@ -12258,9 +12370,9 @@
[[package]]
name = "wasmtime-jit"
-version = "0.33.0"
+version = "0.33.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "60ea5b380bdf92e32911400375aeefb900ac9d3f8e350bb6ba555a39315f2ee7"
+checksum = "ab0ae6e581ff014b470ec35847ea3c0b4c3ace89a55df5a04c802a11f4574e7d"
dependencies = [
"addr2line",
"anyhow",
@@ -12280,9 +12392,9 @@
[[package]]
name = "wasmtime-runtime"
-version = "0.33.0"
+version = "0.33.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "abc7cd79937edd6e238b337608ebbcaf9c086a8457f01dfd598324f7fa56d81a"
+checksum = "6d9c28877ae37a367cda7b52b8887589816152e95dde9b7c80cc686f52761961"
dependencies = [
"anyhow",
"backtrace",
@@ -12295,7 +12407,7 @@
"mach",
"memoffset",
"more-asserts",
- "rand 0.8.4",
+ "rand 0.8.5",
"region",
"rustix",
"thiserror",
@@ -12305,9 +12417,9 @@
[[package]]
name = "wasmtime-types"
-version = "0.33.0"
+version = "0.33.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d9e5e51a461a2cf2b69e1fc48f325b17d78a8582816e18479e8ead58844b23f8"
+checksum = "395726e8f5dd8c57cb0db445627b842343f7e29ed7489467fdf7953ed9d3cd4f"
dependencies = [
"cranelift-entity",
"serde",
@@ -12336,15 +12448,34 @@
]
[[package]]
+name = "webpki"
+version = "0.22.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f095d78192e208183081cc07bc5515ef55216397af48b873e5edcd72637fa1bd"
+dependencies = [
+ "ring",
+ "untrusted",
+]
+
+[[package]]
name = "webpki-roots"
version = "0.21.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aabe153544e473b775453675851ecc86863d2a81d786d741f6b76778f2a48940"
dependencies = [
- "webpki",
+ "webpki 0.21.4",
]
[[package]]
+name = "webpki-roots"
+version = "0.22.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "552ceb903e957524388c4d3475725ff2c8b7960922063af6ce53c9a43da07449"
+dependencies = [
+ "webpki 0.22.0",
+]
+
+[[package]]
name = "wepoll-ffi"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -12355,8 +12486,8 @@
[[package]]
name = "westend-runtime"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"beefy-primitives",
"bitvec",
@@ -12441,8 +12572,8 @@
[[package]]
name = "westend-runtime-constants"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"frame-support",
"polkadot-primitives",
@@ -12512,6 +12643,49 @@
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
[[package]]
+name = "windows-sys"
+version = "0.32.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3df6e476185f92a12c072be4a189a0210dcdcf512a1891d6dff9edb874deadc6"
+dependencies = [
+ "windows_aarch64_msvc",
+ "windows_i686_gnu",
+ "windows_i686_msvc",
+ "windows_x86_64_gnu",
+ "windows_x86_64_msvc",
+]
+
+[[package]]
+name = "windows_aarch64_msvc"
+version = "0.32.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d8e92753b1c443191654ec532f14c199742964a061be25d77d7a96f09db20bf5"
+
+[[package]]
+name = "windows_i686_gnu"
+version = "0.32.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6a711c68811799e017b6038e0922cb27a5e2f43a2ddb609fe0b6f3eeda9de615"
+
+[[package]]
+name = "windows_i686_msvc"
+version = "0.32.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "146c11bb1a02615db74680b32a68e2d61f553cc24c4eb5b4ca10311740e44172"
+
+[[package]]
+name = "windows_x86_64_gnu"
+version = "0.32.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c912b12f7454c6620635bbff3450962753834be2a594819bd5e945af18ec64bc"
+
+[[package]]
+name = "windows_x86_64_msvc"
+version = "0.32.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "504a2476202769977a040c6364301a3f65d0cc9e3fb08600b2bda150a0488316"
+
+[[package]]
name = "winreg"
version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -12549,8 +12723,8 @@
[[package]]
name = "xcm"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"derivative",
"impl-trait-for-tuples",
@@ -12562,8 +12736,8 @@
[[package]]
name = "xcm-builder"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"frame-support",
"frame-system",
@@ -12582,8 +12756,8 @@
[[package]]
name = "xcm-executor"
-version = "0.9.16"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+version = "0.9.17"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -12601,7 +12775,7 @@
[[package]]
name = "xcm-procedural"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"
dependencies = [
"Inflector",
"proc-macro2",
@@ -12619,7 +12793,7 @@
"log",
"nohash-hasher",
"parking_lot 0.11.2",
- "rand 0.8.4",
+ "rand 0.8.5",
"static_assertions",
]
@@ -12640,9 +12814,9 @@
[[package]]
name = "zeroize_derive"
-version = "1.3.1"
+version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "81e8f13fef10b63c06356d65d416b070798ddabcadc10d3ece0c5be9b3c7eddb"
+checksum = "3f8f187641dad4f680d25c4bfc4225b418165984179f26ca76ec4fb6441d3a17"
dependencies = [
"proc-macro2",
"quote",
Dockerfile-parachaindiffbeforeafterboth--- a/Dockerfile-parachain
+++ b/Dockerfile-parachain
@@ -4,7 +4,7 @@
ARG RUST_TOOLCHAIN=nightly-2021-11-11
#ARG RUST_C=1.58.0-nightly
-ARG POLKA_VERSION=release-v0.9.16
+ARG POLKA_VERSION=release-v0.9.17
ARG UNIQUE_BRANCH=develop
#ARG USER=***
README.mddiffbeforeafterboth--- a/README.md
+++ b/README.md
@@ -86,7 +86,7 @@
```
git clone https://github.com/paritytech/polkadot.git
cd polkadot
-git checkout release-v0.9.16
+git checkout release-v0.9.17
cargo build --release
```
@@ -202,4 +202,4 @@
)
destWeight:
<WEIGHT>
-```
\ No newline at end of file
+```
client/rpc/Cargo.tomldiffbeforeafterboth--- a/client/rpc/Cargo.toml
+++ b/client/rpc/Cargo.toml
@@ -12,8 +12,8 @@
jsonrpc-core-client = "18.0.0"
jsonrpc-derive = "18.0.0"
-sp-api = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.16" }
-sp-blockchain = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.16" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.16" }
-sp-rpc = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.16" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.16" }
+sp-api = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.17" }
+sp-blockchain = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.17" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.17" }
+sp-rpc = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.17" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.17" }
client/rpc/src/lib.rsdiffbeforeafterboth--- a/client/rpc/src/lib.rs
+++ b/client/rpc/src/lib.rs
@@ -177,6 +177,7 @@
};
}
+#[allow(deprecated)]
impl<C, Block, CrossAccountId, AccountId>
UniqueApi<<Block as BlockT>::Hash, CrossAccountId, AccountId> for Unique<C, Block>
where
node/cli/Cargo.tomldiffbeforeafterboth--- a/node/cli/Cargo.toml
+++ b/node/cli/Cargo.toml
@@ -3,7 +3,7 @@
[build-dependencies.substrate-build-script-utils]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
################################################################################
# Substrate Dependecies
@@ -16,150 +16,150 @@
[dependencies.frame-benchmarking]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.frame-benchmarking-cli]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.pallet-transaction-payment-rpc]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.substrate-prometheus-endpoint]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sc-basic-authorship]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sc-chain-spec]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sc-cli]
features = ['wasmtime']
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sc-client-api]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sc-consensus]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sc-consensus-aura]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sc-executor]
features = ['wasmtime']
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sc-finality-grandpa]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sc-keystore]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sc-rpc]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sc-rpc-api]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sc-service]
features = ['wasmtime']
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sc-telemetry]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sc-transaction-pool]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sc-tracing]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sp-block-builder]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sp-api]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sp-blockchain]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sp-consensus]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sp-consensus-aura]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sp-core]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sp-finality-grandpa]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sp-inherents]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sp-keystore]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sp-offchain]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sp-runtime]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sp-session]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sp-timestamp]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sp-transaction-pool]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sp-trie]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.substrate-frame-rpc-system]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sc-network]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.serde]
features = ['derive']
@@ -173,66 +173,66 @@
# Cumulus dependencies
[dependencies.cumulus-client-consensus-aura]
-git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.16'
+git = 'https://github.com/uniqueNetwork/cumulus.git'
+branch = 'polkadot-v0.9.17'
[dependencies.cumulus-client-consensus-common]
-git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.16'
+git = 'https://github.com/uniqueNetwork/cumulus.git'
+branch = 'polkadot-v0.9.17'
[dependencies.cumulus-client-collator]
-git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.16'
+git = 'https://github.com/uniqueNetwork/cumulus.git'
+branch = 'polkadot-v0.9.17'
[dependencies.cumulus-client-cli]
-git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.16'
+git = 'https://github.com/uniqueNetwork/cumulus.git'
+branch = 'polkadot-v0.9.17'
[dependencies.cumulus-client-network]
-git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.16'
+git = 'https://github.com/uniqueNetwork/cumulus.git'
+branch = 'polkadot-v0.9.17'
[dependencies.cumulus-primitives-core]
-git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.16'
+git = 'https://github.com/uniqueNetwork/cumulus.git'
+branch = 'polkadot-v0.9.17'
[dependencies.cumulus-primitives-parachain-inherent]
-git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.16'
+git = 'https://github.com/uniqueNetwork/cumulus.git'
+branch = 'polkadot-v0.9.17'
[dependencies.cumulus-client-service]
-git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.16'
+git = 'https://github.com/uniqueNetwork/cumulus.git'
+branch = 'polkadot-v0.9.17'
[dependencies.cumulus-relay-chain-interface]
-git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.16'
+git = 'https://github.com/uniqueNetwork/cumulus.git'
+branch = 'polkadot-v0.9.17'
[dependencies.cumulus-relay-chain-local]
-git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.16'
+git = 'https://github.com/uniqueNetwork/cumulus.git'
+branch = 'polkadot-v0.9.17'
################################################################################
# Polkadot dependencies
[dependencies.polkadot-primitives]
git = "https://github.com/paritytech/polkadot"
-branch = 'release-v0.9.16'
+branch = 'release-v0.9.17'
[dependencies.polkadot-service]
git = "https://github.com/paritytech/polkadot"
-branch = 'release-v0.9.16'
+branch = 'release-v0.9.17'
[dependencies.polkadot-cli]
git = "https://github.com/paritytech/polkadot"
-branch = 'release-v0.9.16'
+branch = 'release-v0.9.17'
[dependencies.polkadot-test-service]
git = "https://github.com/paritytech/polkadot"
-branch = 'release-v0.9.16'
+branch = 'release-v0.9.17'
[dependencies.polkadot-parachain]
git = "https://github.com/paritytech/polkadot"
-branch = 'release-v0.9.16'
+branch = 'release-v0.9.17'
################################################################################
@@ -271,17 +271,17 @@
log = '0.4.14'
flexi_logger = "0.15.7"
parking_lot = '0.11.2'
-structopt = '0.3.23'
+clap = "3.1.2"
jsonrpc-core = '18.0.0'
jsonrpc-pubsub = "18.0.0"
-fc-rpc-core = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.16" }
-fc-consensus = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.16" }
-fc-mapping-sync = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.16" }
-fc-rpc = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.16" }
-fc-db = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.16" }
-fp-rpc = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.16" }
-pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.16" }
+fc-rpc-core = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }
+fc-consensus = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }
+fc-mapping-sync = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }
+fc-rpc = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }
+fc-db = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }
+fp-rpc = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }
+pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }
unique-rpc = { path = "../rpc" }
node/cli/src/cli.rsdiffbeforeafterboth--- a/node/cli/src/cli.rs
+++ b/node/cli/src/cli.rs
@@ -1,16 +1,16 @@
use crate::chain_spec;
use std::path::PathBuf;
-use structopt::StructOpt;
+use clap::Parser;
/// Sub-commands supported by the collator.
-#[derive(Debug, StructOpt)]
+#[derive(Debug, Parser)]
pub enum Subcommand {
/// Export the genesis state of the parachain.
- #[structopt(name = "export-genesis-state")]
+ #[clap(name = "export-genesis-state")]
ExportGenesisState(ExportGenesisStateCommand),
/// Export the genesis wasm of the parachain.
- #[structopt(name = "export-genesis-wasm")]
+ #[clap(name = "export-genesis-wasm")]
ExportGenesisWasm(ExportGenesisWasmCommand),
/// Build a chain specification.
@@ -40,49 +40,45 @@
}
/// Command for exporting the genesis state of the parachain
-#[derive(Debug, StructOpt)]
+#[derive(Debug, Parser)]
pub struct ExportGenesisStateCommand {
/// Output file name or stdout if unspecified.
- #[structopt(parse(from_os_str))]
+ #[clap(parse(from_os_str))]
pub output: Option<PathBuf>,
/// Id of the parachain this state is for.
///
/// Default: 100
- #[structopt(long, conflicts_with = "chain")]
+ #[clap(long, conflicts_with = "chain")]
pub parachain_id: Option<u32>,
/// Write output in binary. Default is to write in hex.
- #[structopt(short, long)]
+ #[clap(short, long)]
pub raw: bool,
/// The name of the chain for that the genesis state should be exported.
- #[structopt(long, conflicts_with = "parachain-id")]
+ #[clap(long, conflicts_with = "parachain-id")]
pub chain: Option<String>,
}
/// Command for exporting the genesis wasm file.
-#[derive(Debug, StructOpt)]
+#[derive(Debug, Parser)]
pub struct ExportGenesisWasmCommand {
/// Output file name or stdout if unspecified.
- #[structopt(parse(from_os_str))]
+ #[clap(parse(from_os_str))]
pub output: Option<PathBuf>,
/// Write output in binary. Default is to write in hex.
- #[structopt(short, long)]
+ #[clap(short, long)]
pub raw: bool,
/// The name of the chain for that the genesis wasm file should be exported.
- #[structopt(long)]
+ #[clap(long)]
pub chain: Option<String>,
}
-#[derive(Debug, StructOpt)]
-#[structopt(settings = &[
- structopt::clap::AppSettings::GlobalVersion,
- structopt::clap::AppSettings::ArgsNegateSubcommands,
- structopt::clap::AppSettings::SubcommandsNegateReqs,
-])]
+#[derive(Debug, Parser)]
+#[clap(args_conflicts_with_subcommands = true, subcommand_negates_reqs = true)]
pub struct Cli {
#[structopt(subcommand)]
pub subcommand: Option<Subcommand>,
@@ -122,7 +118,7 @@
Self {
base_path,
chain_id,
- base: polkadot_cli::RunCmd::from_iter(relay_chain_args),
+ base: polkadot_cli::RunCmd::parse_from(relay_chain_args),
}
}
}
node/cli/src/service.rsdiffbeforeafterboth--- a/node/cli/src/service.rs
+++ b/node/cli/src/service.rs
@@ -527,7 +527,7 @@
sync_oracle,
keystore,
force_authoring,
- slot_duration,
+ slot_duration: *slot_duration,
// We got around 500ms for proposing
block_proposal_slot_portion: SlotProportion::new(1f32 / 24f32),
telemetry,
node/rpc/Cargo.tomldiffbeforeafterboth--- a/node/rpc/Cargo.toml
+++ b/node/rpc/Cargo.toml
@@ -13,40 +13,40 @@
futures = { version = "0.3.17", features = ["compat"] }
jsonrpc-core = "18.0.0"
jsonrpc-pubsub = "18.0.0"
-# pallet-contracts-rpc = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-pallet-transaction-payment-rpc = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-pallet-transaction-payment-rpc-runtime-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sc-client-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sc-consensus-aura = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sc-consensus-epochs = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sc-finality-grandpa = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sc-finality-grandpa-rpc = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sc-keystore = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sc-network = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sc-rpc-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sc-rpc = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sc-service = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-block-builder = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-blockchain = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-consensus = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-consensus-aura = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-core = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-offchain = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-storage = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-session = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-transaction-pool = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sc-transaction-pool = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-substrate-frame-rpc-system = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
+# pallet-contracts-rpc = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+pallet-transaction-payment-rpc = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+pallet-transaction-payment-rpc-runtime-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sc-client-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sc-consensus-aura = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sc-consensus-epochs = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sc-finality-grandpa = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sc-finality-grandpa-rpc = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sc-keystore = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sc-network = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sc-rpc-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sc-rpc = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sc-service = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-block-builder = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-blockchain = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-consensus = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-consensus-aura = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-core = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-offchain = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-storage = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-session = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-transaction-pool = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sc-transaction-pool = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+substrate-frame-rpc-system = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
tokio = { version = "0.2.25", features = ["macros", "sync"] }
-pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.16" }
-fc-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.16" }
-fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.16" }
-fc-rpc-core = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.16" }
-fc-db = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.16" }
-fc-mapping-sync = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.16" }
+pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }
+fc-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }
+fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }
+fc-rpc-core = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }
+fc-db = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }
+fc-mapping-sync = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }
pallet-unique = { path = "../../pallets/unique" }
uc-rpc = { path = "../../client/rpc" }
pallets/common/Cargo.tomldiffbeforeafterboth--- a/pallets/common/Cargo.toml
+++ b/pallets/common/Cargo.toml
@@ -10,16 +10,16 @@
version = '2.0.0'
[dependencies]
-frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
+frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
up-evm-mapping = { default-features = false, path = '../../primitives/evm-mapping' }
up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
pallet-evm-coder-substrate = { default-features = false, path = '../../pallets/evm-coder-substrate' }
evm-coder = { default-features = false, path = '../../crates/evm-coder' }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.16" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }
serde = { version = "1.0.130", default-features = false }
scale-info = { version = "1.0.0", default-features = false, features = [
"derive",
pallets/evm-coder-substrate/Cargo.tomldiffbeforeafterboth--- a/pallets/evm-coder-substrate/Cargo.toml
+++ b/pallets/evm-coder-substrate/Cargo.toml
@@ -7,15 +7,15 @@
scale-info = { version = "1.0.0", default-features = false, features = [
"derive",
] }
-sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
+sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
ethereum = { version = "0.11.1", default-features = false }
evm-coder = { default-features = false, path = "../../crates/evm-coder" }
-pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.16" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.16" }
-frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }
+frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
[dependencies.codec]
default-features = false
pallets/evm-coder-substrate/src/lib.rsdiffbeforeafterboth--- a/pallets/evm-coder-substrate/src/lib.rs
+++ b/pallets/evm-coder-substrate/src/lib.rs
@@ -18,7 +18,7 @@
execution::{self, Result},
types::{Msg, value},
};
- use frame_support::{ensure};
+ use frame_support::{ensure, sp_runtime::ModuleError};
use pallet_evm::{
ExitError, ExitRevert, ExitSucceed, GasWeightMapping, PrecompileFailure, PrecompileOutput,
PrecompileResult, runner::stack::MaybeMirroredLog,
@@ -207,7 +207,7 @@
pub fn dispatch_to_evm<T: Config>(err: DispatchError) -> evm_coder::execution::Error {
use evm_coder::execution::Error as ExError;
match err {
- DispatchError::Module { index, error, .. }
+ DispatchError::Module(ModuleError { index, error, .. })
if index
== T::PalletInfo::index::<Pallet<T>>()
.expect("evm-coder-substrate is a pallet, which should be added to runtime")
@@ -219,10 +219,10 @@
_ => unreachable!("this pallet only defines two possible errors"),
}
}
- DispatchError::Module {
+ DispatchError::Module(ModuleError {
message: Some(msg), ..
- } => ExError::Revert(msg.into()),
- DispatchError::Module { index, error, .. } => {
+ }) => ExError::Revert(msg.into()),
+ DispatchError::Module(ModuleError { index, error, .. }) => {
ExError::Revert(format!("error {} in pallet {}", error, index))
}
e => ExError::Revert(format!("substrate error: {:?}", e)),
pallets/evm-contract-helpers/Cargo.tomldiffbeforeafterboth--- a/pallets/evm-contract-helpers/Cargo.toml
+++ b/pallets/evm-contract-helpers/Cargo.toml
@@ -7,15 +7,15 @@
scale-info = { version = "1.0.0", default-features = false, features = [
"derive",
] }
-frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
+frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
evm-coder = { default-features = false, path = '../../crates/evm-coder' }
pallet-evm-coder-substrate = { default-features = false, path = '../../pallets/evm-coder-substrate' }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.16" }
-up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/UniqueNetwork/pallet-sponsoring", branch = 'polkadot-v0.9.16' }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }
+up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/UniqueNetwork/pallet-sponsoring", branch = 'polkadot-v0.9.17' }
log = "0.4.14"
[dependencies.codec]
pallets/evm-migration/Cargo.tomldiffbeforeafterboth--- a/pallets/evm-migration/Cargo.toml
+++ b/pallets/evm-migration/Cargo.toml
@@ -7,15 +7,15 @@
scale-info = { version = "1.0.0", default-features = false, features = [
"derive",
] }
-frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-io = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.16" }
-fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.16" }
+frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-io = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }
+fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }
[dependencies.codec]
default-features = false
pallets/evm-transaction-payment/Cargo.tomldiffbeforeafterboth--- a/pallets/evm-transaction-payment/Cargo.toml
+++ b/pallets/evm-transaction-payment/Cargo.toml
@@ -7,16 +7,16 @@
scale-info = { version = "1.0.0", default-features = false, features = [
"derive",
] }
-frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-io = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.16" }
-fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.16" }
-pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.16" }
-up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/UniqueNetwork/pallet-sponsoring", branch = 'polkadot-v0.9.16' }
+frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-io = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }
+fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }
+up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/UniqueNetwork/pallet-sponsoring", branch = 'polkadot-v0.9.17' }
up-evm-mapping = { default-features = false, path = "../../primitives/evm-mapping" }
[dependencies.codec]
pallets/fungible/Cargo.tomldiffbeforeafterboth--- a/pallets/fungible/Cargo.toml
+++ b/pallets/fungible/Cargo.toml
@@ -10,17 +10,17 @@
version = '2.0.0'
[dependencies]
-frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
+frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
pallet-common = { default-features = false, path = '../common' }
up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
evm-coder = { default-features = false, path = '../../crates/evm-coder' }
pallet-evm-coder-substrate = { default-features = false, path = '../evm-coder-substrate' }
ethereum = { version = "0.11.1", default-features = false }
-frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
+frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
scale-info = { version = "1.0.0", default-features = false, features = [
"derive",
] }
pallets/inflation/Cargo.tomldiffbeforeafterboth--- a/pallets/inflation/Cargo.toml
+++ b/pallets/inflation/Cargo.toml
@@ -43,37 +43,37 @@
default-features = false
optional = true
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.frame-support]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.frame-system]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.pallet-balances]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.pallet-timestamp]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.pallet-randomness-collective-flip]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sp-std]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.serde]
default-features = false
@@ -83,17 +83,17 @@
[dependencies.sp-runtime]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sp-core]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sp-io]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies]
scale-info = { version = "1.0.0", default-features = false, features = ["derive"] }
pallets/nonfungible/Cargo.tomldiffbeforeafterboth--- a/pallets/nonfungible/Cargo.toml
+++ b/pallets/nonfungible/Cargo.toml
@@ -10,17 +10,17 @@
version = '2.0.0'
[dependencies]
-frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
+frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
pallet-common = { default-features = false, path = '../common' }
up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
evm-coder = { default-features = false, path = '../../crates/evm-coder' }
pallet-evm-coder-substrate = { default-features = false, path = '../evm-coder-substrate' }
ethereum = { version = "0.11.1", default-features = false }
-frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
+frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
scale-info = { version = "1.0.0", default-features = false, features = [
"derive",
] }
pallets/refungible/Cargo.tomldiffbeforeafterboth--- a/pallets/refungible/Cargo.toml
+++ b/pallets/refungible/Cargo.toml
@@ -10,14 +10,14 @@
version = '2.0.0'
[dependencies]
-frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
+frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
pallet-common = { default-features = false, path = '../common' }
up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
-frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
+frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
scale-info = { version = "1.0.0", default-features = false, features = [
"derive",
] }
pallets/scheduler/Cargo.tomldiffbeforeafterboth--- a/pallets/scheduler/Cargo.toml
+++ b/pallets/scheduler/Cargo.toml
@@ -13,19 +13,19 @@
serde = { version = "1.0.130", default-features = false }
codec = { package = "parity-scale-codec", version = "2.3.0", default-features = false }
scale-info = { version = "1.0.0", default-features = false, features = ["derive"] }
-frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-io = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
+frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-io = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
-up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/UniqueNetwork/pallet-sponsoring", branch = 'polkadot-v0.9.16' }
+up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/UniqueNetwork/pallet-sponsoring", branch = 'polkadot-v0.9.17' }
log = { version = "0.4.14", default-features = false }
[dev-dependencies]
-sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-substrate-test-utils = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
+sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+substrate-test-utils = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
[features]
default = ["std"]
pallets/unique/Cargo.tomldiffbeforeafterboth--- a/pallets/unique/Cargo.toml
+++ b/pallets/unique/Cargo.toml
@@ -61,42 +61,42 @@
default-features = false
optional = true
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.frame-support]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.frame-system]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.pallet-balances]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.pallet-timestamp]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.pallet-randomness-collective-flip]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sp-std]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.pallet-transaction-payment]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.serde]
default-features = false
@@ -106,17 +106,17 @@
[dependencies.sp-runtime]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sp-core]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sp-io]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
################################################################################
@@ -129,9 +129,9 @@
] }
ethereum = { version = "0.11.1", default-features = false }
rlp = { default-features = false, version = "0.5.0" }
-sp-api = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.16" }
+sp-api = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.17" }
-up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/UniqueNetwork/pallet-sponsoring", branch = 'polkadot-v0.9.16' }
+up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/UniqueNetwork/pallet-sponsoring", branch = 'polkadot-v0.9.17' }
up-evm-mapping = { default-features = false, path = "../../primitives/evm-mapping" }
evm-coder = { default-features = false, path = "../../crates/evm-coder" }
pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }
@@ -139,9 +139,9 @@
"serde_no_std",
] }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.16" }
-pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.16" }
-fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.16" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }
+fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }
hex-literal = "0.3.3"
pallet-common = { default-features = false, path = "../common" }
primitives/data-structs/Cargo.tomldiffbeforeafterboth--- a/primitives/data-structs/Cargo.toml
+++ b/primitives/data-structs/Cargo.toml
@@ -16,11 +16,11 @@
serde = { version = "1.0.130", features = [
'derive',
], default-features = false, optional = true }
-frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
+frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
derivative = "2.2.0"
[features]
primitives/evm-mapping/Cargo.tomldiffbeforeafterboth--- a/primitives/evm-mapping/Cargo.toml
+++ b/primitives/evm-mapping/Cargo.toml
@@ -4,8 +4,8 @@
edition = "2021"
[dependencies]
-sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
+sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
[features]
default = ["std"]
primitives/rpc/Cargo.tomldiffbeforeafterboth--- a/primitives/rpc/Cargo.toml
+++ b/primitives/rpc/Cargo.toml
@@ -9,10 +9,10 @@
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = [
"derive",
] }
-sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-api = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
-sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.16' }
+sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-api = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
+sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }
[features]
default = ["std"]
runtime/Cargo.tomldiffbeforeafterboth--- a/runtime/Cargo.toml
+++ b/runtime/Cargo.toml
@@ -118,33 +118,33 @@
default-features = false
git = 'https://github.com/paritytech/substrate.git'
optional = true
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.frame-executive]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.frame-support]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.frame-system]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.frame-system-benchmarking]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
optional = true
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.frame-system-rpc-runtime-api]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.hex-literal]
optional = true
@@ -159,131 +159,131 @@
[dependencies.pallet-aura]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.pallet-balances]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
# Contracts specific packages
# [dependencies.pallet-contracts]
# git = 'https://github.com/paritytech/substrate.git'
# default-features = false
-# branch = 'polkadot-v0.9.16'
+# branch = 'polkadot-v0.9.17'
# version = '4.0.0-dev'
# [dependencies.pallet-contracts-primitives]
# git = 'https://github.com/paritytech/substrate.git'
# default-features = false
-# branch = 'polkadot-v0.9.16'
+# branch = 'polkadot-v0.9.17'
# version = '4.0.0-dev'
# [dependencies.pallet-contracts-rpc-runtime-api]
# git = 'https://github.com/paritytech/substrate.git'
# default-features = false
-# branch = 'polkadot-v0.9.16'
+# branch = 'polkadot-v0.9.17'
# version = '4.0.0-dev'
[dependencies.pallet-randomness-collective-flip]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.pallet-sudo]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.pallet-timestamp]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.pallet-transaction-payment]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.pallet-transaction-payment-rpc-runtime-api]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.pallet-treasury]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
# [dependencies.pallet-vesting]
# default-features = false
# git = 'https://github.com/paritytech/substrate.git'
-# branch = 'polkadot-v0.9.16'
+# branch = 'polkadot-v0.9.17'
[dependencies.sp-arithmetic]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sp-api]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sp-block-builder]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sp-core]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sp-consensus-aura]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sp-inherents]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sp-io]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sp-offchain]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sp-runtime]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sp-session]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sp-std]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sp-transaction-pool]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.sp-version]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
[dependencies.smallvec]
version = '1.6.1'
@@ -293,47 +293,47 @@
[dependencies.parachain-info]
default-features = false
-git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.16'
+git = 'https://github.com/uniqueNetwork/cumulus.git'
+branch = 'polkadot-v0.9.17'
[dependencies.cumulus-pallet-aura-ext]
-git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.16'
+git = 'https://github.com/uniqueNetwork/cumulus.git'
+branch = 'polkadot-v0.9.17'
default-features = false
[dependencies.cumulus-pallet-parachain-system]
-git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.16'
+git = 'https://github.com/uniqueNetwork/cumulus.git'
+branch = 'polkadot-v0.9.17'
default-features = false
[dependencies.cumulus-primitives-core]
-git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.16'
+git = 'https://github.com/uniqueNetwork/cumulus.git'
+branch = 'polkadot-v0.9.17'
default-features = false
[dependencies.cumulus-pallet-xcm]
-git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.16'
+git = 'https://github.com/uniqueNetwork/cumulus.git'
+branch = 'polkadot-v0.9.17'
default-features = false
[dependencies.cumulus-pallet-dmp-queue]
-git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.16'
+git = 'https://github.com/uniqueNetwork/cumulus.git'
+branch = 'polkadot-v0.9.17'
default-features = false
[dependencies.cumulus-pallet-xcmp-queue]
-git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.16'
+git = 'https://github.com/uniqueNetwork/cumulus.git'
+branch = 'polkadot-v0.9.17'
default-features = false
[dependencies.cumulus-primitives-utility]
-git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.16'
+git = 'https://github.com/uniqueNetwork/cumulus.git'
+branch = 'polkadot-v0.9.17'
default-features = false
[dependencies.cumulus-primitives-timestamp]
-git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.16'
+git = 'https://github.com/uniqueNetwork/cumulus.git'
+branch = 'polkadot-v0.9.17'
default-features = false
################################################################################
@@ -341,32 +341,32 @@
[dependencies.polkadot-parachain]
git = 'https://github.com/paritytech/polkadot'
-branch = 'release-v0.9.16'
+branch = 'release-v0.9.17'
default-features = false
[dependencies.xcm]
git = 'https://github.com/paritytech/polkadot'
-branch = 'release-v0.9.16'
+branch = 'release-v0.9.17'
default-features = false
[dependencies.xcm-builder]
git = 'https://github.com/paritytech/polkadot'
-branch = 'release-v0.9.16'
+branch = 'release-v0.9.17'
default-features = false
[dependencies.xcm-executor]
git = 'https://github.com/paritytech/polkadot'
-branch = 'release-v0.9.16'
+branch = 'release-v0.9.17'
default-features = false
[dependencies.pallet-xcm]
git = 'https://github.com/paritytech/polkadot'
-branch = 'release-v0.9.16'
+branch = 'release-v0.9.17'
default-features = false
[dependencies.orml-vesting]
git = 'https://github.com/UniqueNetwork/open-runtime-module-library'
-branch = 'unique-polkadot-v0.9.16'
+branch = 'unique-polkadot-v0.9.17'
version = "0.4.1-dev"
default-features = false
@@ -389,21 +389,21 @@
pallet-nonfungible = { default-features = false, path = "../pallets/nonfungible" }
pallet-unq-scheduler = { path = '../pallets/scheduler', default-features = false }
# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }
-pallet-charge-transaction = { git = "https://github.com/UniqueNetwork/pallet-sponsoring", branch = 'polkadot-v0.9.16', package = "pallet-template-transaction-payment", default-features = false, version = '3.0.0' }
+pallet-charge-transaction = { git = "https://github.com/UniqueNetwork/pallet-sponsoring", branch = 'polkadot-v0.9.17', package = "pallet-template-transaction-payment", default-features = false, version = '3.0.0' }
pallet-evm-migration = { path = '../pallets/evm-migration', default-features = false }
pallet-evm-contract-helpers = { path = '../pallets/evm-contract-helpers', default-features = false }
pallet-evm-transaction-payment = { path = '../pallets/evm-transaction-payment', default-features = false }
pallet-evm-coder-substrate = { default-features = false, path = "../pallets/evm-coder-substrate" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.16" }
-pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.16" }
-pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.16" }
-fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.16" }
-fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.16" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }
+pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }
+fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }
+fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }
################################################################################
# Build Dependencies
[build-dependencies.substrate-wasm-builder]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.16'
+branch = 'polkadot-v0.9.17'
runtime/src/lib.rsdiffbeforeafterboth1//2// This file is subject to the terms and conditions defined in3// file 'LICENSE', which is part of this source code package.4//56//! The Substrate Node Template runtime. This can be compiled with `#[no_std]`, ready for Wasm.78#![cfg_attr(not(feature = "std"), no_std)]9// `construct_runtime!` does a lot of recursion and requires us to increase the limit to 256.10#![recursion_limit = "1024"]11#![allow(clippy::from_over_into, clippy::identity_op)]12#![allow(clippy::fn_to_numeric_cast_with_truncation)]13// Make the WASM binary available.14#[cfg(feature = "std")]15include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs"));1617use sp_api::impl_runtime_apis;18use sp_core::{crypto::KeyTypeId, OpaqueMetadata, H256, U256, H160};19use sp_runtime::DispatchError;20// #[cfg(any(feature = "std", test))]21// pub use sp_runtime::BuildStorage;2223use sp_runtime::{24 Permill, Perbill, Percent, create_runtime_str, generic, impl_opaque_keys,25 traits::{26 AccountIdLookup, BlakeTwo256, Block as BlockT, IdentifyAccount, Verify,27 AccountIdConversion, Zero,28 },29 transaction_validity::{TransactionSource, TransactionValidity},30 ApplyExtrinsicResult, MultiSignature, RuntimeAppPublic,31};3233use sp_std::prelude::*;3435#[cfg(feature = "std")]36use sp_version::NativeVersion;37use sp_version::RuntimeVersion;38pub use pallet_transaction_payment::{39 Multiplier, TargetedFeeAdjustment, FeeDetails, RuntimeDispatchInfo,40};41// A few exports that help ease life for downstream crates.42pub use pallet_balances::Call as BalancesCall;43pub use pallet_evm::{EnsureAddressTruncated, HashedAddressMapping, Runner};44pub use frame_support::{45 construct_runtime, match_type,46 dispatch::DispatchResult,47 PalletId, parameter_types, StorageValue, ConsensusEngineId,48 traits::{49 tokens::currency::Currency as CurrencyT, OnUnbalanced as OnUnbalancedT, Everything,50 Currency, ExistenceRequirement, Get, IsInVec, KeyOwnerProofSystem, LockIdentifier,51 OnUnbalanced, Randomness, FindAuthor,52 },53 weights::{54 constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, WEIGHT_PER_SECOND},55 DispatchClass, DispatchInfo, GetDispatchInfo, IdentityFee, Pays, PostDispatchInfo, Weight,56 WeightToFeePolynomial, WeightToFeeCoefficient, WeightToFeeCoefficients,57 },58};59use up_data_structs::*;60// use pallet_contracts::weights::WeightInfo;61// #[cfg(any(feature = "std", test))]62use frame_system::{63 self as frame_system, EnsureRoot, EnsureSigned,64 limits::{BlockWeights, BlockLength},65};66use sp_arithmetic::{67 traits::{BaseArithmetic, Unsigned},68};69use smallvec::smallvec;70use codec::{Encode, Decode};71use pallet_evm::{Account as EVMAccount, FeeCalculator, GasWeightMapping, OnMethodCall};72use fp_rpc::TransactionStatus;73use sp_runtime::{74 traits::{BlockNumberProvider, Dispatchable, PostDispatchInfoOf, Saturating},75 transaction_validity::TransactionValidityError,76 SaturatedConversion,77};7879// pub use pallet_timestamp::Call as TimestampCall;80pub use sp_consensus_aura::sr25519::AuthorityId as AuraId;8182// Polkadot imports83use pallet_xcm::XcmPassthrough;84use polkadot_parachain::primitives::Sibling;85use xcm::v1::{BodyId, Junction::*, MultiLocation, NetworkId, Junctions::*};86use xcm_builder::{87 AccountId32Aliases, AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, CurrencyAdapter,88 EnsureXcmOrigin, FixedWeightBounds, LocationInverter, NativeAsset, ParentAsSuperuser,89 ParentIsDefault, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia,90 SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit,91};92use xcm_executor::{Config, XcmExecutor, Assets};93use sp_std::{marker::PhantomData};9495use xcm::latest::{96 // Xcm,97 AssetId::{Concrete},98 Fungibility::Fungible as XcmFungible,99 MultiAsset,100 Error as XcmError,101};102use xcm_executor::traits::{MatchesFungible, WeightTrader};103//use xcm_executor::traits::MatchesFungible;104use sp_runtime::traits::CheckedConversion;105106// mod chain_extension;107// use crate::chain_extension::{NFTExtension, Imbalance};108109/// An index to a block.110pub type BlockNumber = u32;111112/// Alias to 512-bit hash when used in the context of a transaction signature on the chain.113pub type Signature = MultiSignature;114115/// Some way of identifying an account on the chain. We intentionally make it equivalent116/// to the public key of our transaction signing scheme.117pub type AccountId = <<Signature as Verify>::Signer as IdentifyAccount>::AccountId;118119pub type CrossAccountId = pallet_common::account::BasicCrossAccountId<Runtime>;120121/// The type for looking up accounts. We don't expect more than 4 billion of them, but you122/// never know...123pub type AccountIndex = u32;124125/// Balance of an account.126pub type Balance = u128;127128/// Index of a transaction in the chain.129pub type Index = u32;130131/// A hash of some data used by the chain.132pub type Hash = sp_core::H256;133134/// Digest item type.135pub type DigestItem = generic::DigestItem;136137/// Opaque types. These are used by the CLI to instantiate machinery that don't need to know138/// the specifics of the runtime. They can then be made to be agnostic over specific formats139/// of data like extrinsics, allowing for them to continue syncing the network through upgrades140/// to even the core data structures.141pub mod opaque {142 use super::*;143144 pub use sp_runtime::OpaqueExtrinsic as UncheckedExtrinsic;145146 /// Opaque block type.147 pub type Block = generic::Block<Header, UncheckedExtrinsic>;148149 pub type SessionHandlers = ();150151 impl_opaque_keys! {152 pub struct SessionKeys {153 pub aura: Aura,154 }155 }156}157158/// This runtime version.159pub const VERSION: RuntimeVersion = RuntimeVersion {160 spec_name: create_runtime_str!("opal"),161 impl_name: create_runtime_str!("opal"),162 authoring_version: 1,163 spec_version: 916010,164 impl_version: 0,165 apis: RUNTIME_API_VERSIONS,166 transaction_version: 1,167 state_version: 0,168};169170pub const MILLISECS_PER_BLOCK: u64 = 12000;171172pub const SLOT_DURATION: u64 = MILLISECS_PER_BLOCK;173174// These time units are defined in number of blocks.175pub const MINUTES: BlockNumber = 60_000 / (MILLISECS_PER_BLOCK as BlockNumber);176pub const HOURS: BlockNumber = MINUTES * 60;177pub const DAYS: BlockNumber = HOURS * 24;178179parameter_types! {180 pub const DefaultSponsoringRateLimit: BlockNumber = 1 * DAYS;181}182183#[derive(codec::Encode, codec::Decode)]184pub enum XCMPMessage<XAccountId, XBalance> {185 /// Transfer tokens to the given account from the Parachain account.186 TransferToken(XAccountId, XBalance),187}188189/// The version information used to identify this runtime when compiled natively.190#[cfg(feature = "std")]191pub fn native_version() -> NativeVersion {192 NativeVersion {193 runtime_version: VERSION,194 can_author_with: Default::default(),195 }196}197198type NegativeImbalance = <Balances as Currency<AccountId>>::NegativeImbalance;199200pub struct DealWithFees;201impl OnUnbalanced<NegativeImbalance> for DealWithFees {202 fn on_unbalanceds<B>(mut fees_then_tips: impl Iterator<Item = NegativeImbalance>) {203 if let Some(fees) = fees_then_tips.next() {204 // for fees, 100% to treasury205 let mut split = fees.ration(100, 0);206 if let Some(tips) = fees_then_tips.next() {207 // for tips, if any, 100% to treasury208 tips.ration_merge_into(100, 0, &mut split);209 }210 Treasury::on_unbalanced(split.0);211 // Author::on_unbalanced(split.1);212 }213 }214}215216/// We assume that ~10% of the block weight is consumed by `on_initalize` handlers.217/// This is used to limit the maximal weight of a single extrinsic.218const AVERAGE_ON_INITIALIZE_RATIO: Perbill = Perbill::from_percent(10);219/// We allow `Normal` extrinsics to fill up the block up to 75%, the rest can be used220/// by Operational extrinsics.221const NORMAL_DISPATCH_RATIO: Perbill = Perbill::from_percent(75);222/// We allow for 2 seconds of compute with a 6 second average block time.223const MAXIMUM_BLOCK_WEIGHT: Weight = WEIGHT_PER_SECOND / 2;224225parameter_types! {226 pub const BlockHashCount: BlockNumber = 2400;227 pub RuntimeBlockLength: BlockLength =228 BlockLength::max_with_normal_ratio(5 * 1024 * 1024, NORMAL_DISPATCH_RATIO);229 pub const AvailableBlockRatio: Perbill = Perbill::from_percent(75);230 pub const MaximumBlockLength: u32 = 5 * 1024 * 1024;231 pub RuntimeBlockWeights: BlockWeights = BlockWeights::builder()232 .base_block(BlockExecutionWeight::get())233 .for_class(DispatchClass::all(), |weights| {234 weights.base_extrinsic = ExtrinsicBaseWeight::get();235 })236 .for_class(DispatchClass::Normal, |weights| {237 weights.max_total = Some(NORMAL_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT);238 })239 .for_class(DispatchClass::Operational, |weights| {240 weights.max_total = Some(MAXIMUM_BLOCK_WEIGHT);241 // Operational transactions have some extra reserved space, so that they242 // are included even if block reached `MAXIMUM_BLOCK_WEIGHT`.243 weights.reserved = Some(244 MAXIMUM_BLOCK_WEIGHT - NORMAL_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT245 );246 })247 .avg_block_initialization(AVERAGE_ON_INITIALIZE_RATIO)248 .build_or_panic();249 pub const Version: RuntimeVersion = VERSION;250 pub const SS58Prefix: u8 = 42;251}252253/*2548880 - Unique2558881 - Quartz2568882 - Opal257*/258parameter_types! {259 pub const ChainId: u64 = 8882;260}261262pub struct FixedFee;263impl FeeCalculator for FixedFee {264 fn min_gas_price() -> U256 {265 // Targeting 0.15 UNQ per transfer266 1_024_947_215_000u64.into()267 }268}269270// Assuming slowest ethereum opcode is SSTORE, with gas price of 20000 as our worst case271// (contract, which only writes a lot of data),272// approximating on top of our real store write weight273parameter_types! {274 pub const WritesPerSecond: u64 = WEIGHT_PER_SECOND / <Runtime as frame_system::Config>::DbWeight::get().write;275 pub const GasPerSecond: u64 = WritesPerSecond::get() * 20000;276 pub const WeightPerGas: u64 = WEIGHT_PER_SECOND / GasPerSecond::get();277}278279/// Limiting EVM execution to 50% of block for substrate users and management tasks280/// EVM transaction consumes more weight than substrate's, so we can't rely on them being281/// scheduled fairly282const EVM_DISPATCH_RATIO: Perbill = Perbill::from_percent(50);283parameter_types! {284 pub BlockGasLimit: U256 = U256::from(NORMAL_DISPATCH_RATIO * EVM_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT / WeightPerGas::get());285}286287pub enum FixedGasWeightMapping {}288impl GasWeightMapping for FixedGasWeightMapping {289 fn gas_to_weight(gas: u64) -> Weight {290 gas.saturating_mul(WeightPerGas::get())291 }292 fn weight_to_gas(weight: Weight) -> u64 {293 weight / WeightPerGas::get()294 }295}296297impl pallet_evm::Config for Runtime {298 type BlockGasLimit = BlockGasLimit;299 type FeeCalculator = FixedFee;300 type GasWeightMapping = FixedGasWeightMapping;301 type BlockHashMapping = pallet_ethereum::EthereumBlockHashMapping<Self>;302 type CallOrigin = EnsureAddressTruncated;303 type WithdrawOrigin = EnsureAddressTruncated;304 type AddressMapping = HashedAddressMapping<Self::Hashing>;305 type PrecompilesType = ();306 type PrecompilesValue = ();307 type Currency = Balances;308 type Event = Event;309 type OnMethodCall = (310 pallet_evm_migration::OnMethodCall<Self>,311 pallet_unique::UniqueErcSupport<Self>,312 pallet_evm_contract_helpers::HelpersOnMethodCall<Self>,313 );314 type OnCreate = pallet_evm_contract_helpers::HelpersOnCreate<Self>;315 type ChainId = ChainId;316 type Runner = pallet_evm::runner::stack::Runner<Self>;317 type OnChargeTransaction = pallet_evm_transaction_payment::OnChargeTransaction<Self>;318 type TransactionValidityHack = pallet_evm_transaction_payment::TransactionValidityHack<Self>;319 type FindAuthor = EthereumFindAuthor<Aura>;320}321322impl pallet_evm_migration::Config for Runtime {323 type WeightInfo = pallet_evm_migration::weights::SubstrateWeight<Self>;324}325326pub struct EthereumFindAuthor<F>(core::marker::PhantomData<F>);327impl<F: FindAuthor<u32>> FindAuthor<H160> for EthereumFindAuthor<F> {328 fn find_author<'a, I>(digests: I) -> Option<H160>329 where330 I: 'a + IntoIterator<Item = (ConsensusEngineId, &'a [u8])>,331 {332 if let Some(author_index) = F::find_author(digests) {333 let authority_id = Aura::authorities()[author_index as usize].clone();334 return Some(H160::from_slice(&authority_id.to_raw_vec()[4..24]));335 }336 None337 }338}339340impl pallet_ethereum::Config for Runtime {341 type Event = Event;342 type StateRoot = pallet_ethereum::IntermediateStateRoot;343}344345impl pallet_randomness_collective_flip::Config for Runtime {}346347impl frame_system::Config for Runtime {348 /// The data to be stored in an account.349 type AccountData = pallet_balances::AccountData<Balance>;350 /// The identifier used to distinguish between accounts.351 type AccountId = AccountId;352 /// The basic call filter to use in dispatchable.353 type BaseCallFilter = Everything;354 /// Maximum number of block number to block hash mappings to keep (oldest pruned first).355 type BlockHashCount = BlockHashCount;356 /// The maximum length of a block (in bytes).357 type BlockLength = RuntimeBlockLength;358 /// The index type for blocks.359 type BlockNumber = BlockNumber;360 /// The weight of the overhead invoked on the block import process, independent of the extrinsics included in that block.361 type BlockWeights = RuntimeBlockWeights;362 /// The aggregated dispatch type that is available for extrinsics.363 type Call = Call;364 /// The weight of database operations that the runtime can invoke.365 type DbWeight = RocksDbWeight;366 /// The ubiquitous event type.367 type Event = Event;368 /// The type for hashing blocks and tries.369 type Hash = Hash;370 /// The hashing algorithm used.371 type Hashing = BlakeTwo256;372 /// The header type.373 type Header = generic::Header<BlockNumber, BlakeTwo256>;374 /// The index type for storing how many extrinsics an account has signed.375 type Index = Index;376 /// The lookup mechanism to get account ID from whatever is passed in dispatchers.377 type Lookup = AccountIdLookup<AccountId, ()>;378 /// What to do if an account is fully reaped from the system.379 type OnKilledAccount = ();380 /// What to do if a new account is created.381 type OnNewAccount = ();382 type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode<Self>;383 /// The ubiquitous origin type.384 type Origin = Origin;385 /// This type is being generated by `construct_runtime!`.386 type PalletInfo = PalletInfo;387 /// This is used as an identifier of the chain. 42 is the generic substrate prefix.388 type SS58Prefix = SS58Prefix;389 /// Weight information for the extrinsics of this pallet.390 type SystemWeightInfo = frame_system::weights::SubstrateWeight<Self>;391 /// Version of the runtime.392 type Version = Version;393 type MaxConsumers = ConstU32<16>;394}395396parameter_types! {397 pub const MinimumPeriod: u64 = SLOT_DURATION / 2;398}399400impl pallet_timestamp::Config for Runtime {401 /// A timestamp: milliseconds since the unix epoch.402 type Moment = u64;403 type OnTimestampSet = ();404 type MinimumPeriod = MinimumPeriod;405 type WeightInfo = ();406}407408parameter_types! {409 // pub const ExistentialDeposit: u128 = 500;410 pub const ExistentialDeposit: u128 = 0;411 pub const MaxLocks: u32 = 50;412}413414impl pallet_balances::Config for Runtime {415 type MaxLocks = MaxLocks;416 type MaxReserves = ();417 type ReserveIdentifier = [u8; 8];418 /// The type for recording an account's balance.419 type Balance = Balance;420 /// The ubiquitous event type.421 type Event = Event;422 type DustRemoval = Treasury;423 type ExistentialDeposit = ExistentialDeposit;424 type AccountStore = System;425 type WeightInfo = pallet_balances::weights::SubstrateWeight<Self>;426}427428pub const MICROUNIQUE: Balance = 1_000_000_000_000;429pub const MILLIUNIQUE: Balance = 1_000 * MICROUNIQUE;430pub const CENTIUNIQUE: Balance = 10 * MILLIUNIQUE;431pub const UNIQUE: Balance = 100 * CENTIUNIQUE;432433pub const fn deposit(items: u32, bytes: u32) -> Balance {434 items as Balance * 15 * CENTIUNIQUE + (bytes as Balance) * 6 * CENTIUNIQUE435}436437/*438parameter_types! {439 pub TombstoneDeposit: Balance = deposit(440 1,441 sp_std::mem::size_of::<pallet_contracts::Pallet<Runtime>> as u32,442 );443 pub DepositPerContract: Balance = TombstoneDeposit::get();444 pub const DepositPerStorageByte: Balance = deposit(0, 1);445 pub const DepositPerStorageItem: Balance = deposit(1, 0);446 pub RentFraction: Perbill = Perbill::from_rational(1u32, 30 * DAYS);447 pub const SurchargeReward: Balance = 150 * MILLIUNIQUE;448 pub const SignedClaimHandicap: u32 = 2;449 pub const MaxDepth: u32 = 32;450 pub const MaxValueSize: u32 = 16 * 1024;451 pub const MaxCodeSize: u32 = 1024 * 1024 * 25; // 25 Mb452 // The lazy deletion runs inside on_initialize.453 pub DeletionWeightLimit: Weight = AVERAGE_ON_INITIALIZE_RATIO *454 RuntimeBlockWeights::get().max_block;455 // The weight needed for decoding the queue should be less or equal than a fifth456 // of the overall weight dedicated to the lazy deletion.457 pub DeletionQueueDepth: u32 = ((DeletionWeightLimit::get() / (458 <Runtime as pallet_contracts::Config>::WeightInfo::on_initialize_per_queue_item(1) -459 <Runtime as pallet_contracts::Config>::WeightInfo::on_initialize_per_queue_item(0)460 )) / 5) as u32;461 pub Schedule: pallet_contracts::Schedule<Runtime> = Default::default();462}463464impl pallet_contracts::Config for Runtime {465 type Time = Timestamp;466 type Randomness = RandomnessCollectiveFlip;467 type Currency = Balances;468 type Event = Event;469 type RentPayment = ();470 type SignedClaimHandicap = SignedClaimHandicap;471 type TombstoneDeposit = TombstoneDeposit;472 type DepositPerContract = DepositPerContract;473 type DepositPerStorageByte = DepositPerStorageByte;474 type DepositPerStorageItem = DepositPerStorageItem;475 type RentFraction = RentFraction;476 type SurchargeReward = SurchargeReward;477 type WeightPrice = pallet_transaction_payment::Pallet<Self>;478 type WeightInfo = pallet_contracts::weights::SubstrateWeight<Self>;479 type ChainExtension = NFTExtension;480 type DeletionQueueDepth = DeletionQueueDepth;481 type DeletionWeightLimit = DeletionWeightLimit;482 type Schedule = Schedule;483 type CallStack = [pallet_contracts::Frame<Self>; 31];484}485*/486487parameter_types! {488 pub const TransactionByteFee: Balance = 501 * MICROUNIQUE; // Targeting 0.1 Unique per NFT transfer489 /// This value increases the priority of `Operational` transactions by adding490 /// a "virtual tip" that's equal to the `OperationalFeeMultiplier * final_fee`.491 pub const OperationalFeeMultiplier: u8 = 5;492}493494/// Linear implementor of `WeightToFeePolynomial`495pub struct LinearFee<T>(sp_std::marker::PhantomData<T>);496497impl<T> WeightToFeePolynomial for LinearFee<T>498where499 T: BaseArithmetic + From<u32> + Copy + Unsigned,500{501 type Balance = T;502503 fn polynomial() -> WeightToFeeCoefficients<Self::Balance> {504 smallvec!(WeightToFeeCoefficient {505 // Targeting 0.1 Unique per NFT transfer506 coeff_integer: 142_688_000u32.into(),507 coeff_frac: Perbill::zero(),508 negative: false,509 degree: 1,510 })511 }512}513514impl pallet_transaction_payment::Config for Runtime {515 type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter<Balances, DealWithFees>;516 type TransactionByteFee = TransactionByteFee;517 type OperationalFeeMultiplier = OperationalFeeMultiplier;518 type WeightToFee = LinearFee<Balance>;519 type FeeMultiplierUpdate = ();520}521522parameter_types! {523 pub const ProposalBond: Permill = Permill::from_percent(5);524 pub const ProposalBondMinimum: Balance = 1 * UNIQUE;525 pub const ProposalBondMaximum: Balance = 1000 * UNIQUE;526 pub const SpendPeriod: BlockNumber = 5 * MINUTES;527 pub const Burn: Permill = Permill::from_percent(0);528 pub const TipCountdown: BlockNumber = 1 * DAYS;529 pub const TipFindersFee: Percent = Percent::from_percent(20);530 pub const TipReportDepositBase: Balance = 1 * UNIQUE;531 pub const DataDepositPerByte: Balance = 1 * CENTIUNIQUE;532 pub const BountyDepositBase: Balance = 1 * UNIQUE;533 pub const BountyDepositPayoutDelay: BlockNumber = 1 * DAYS;534 pub const TreasuryModuleId: PalletId = PalletId(*b"py/trsry");535 pub const BountyUpdatePeriod: BlockNumber = 14 * DAYS;536 pub const MaximumReasonLength: u32 = 16384;537 pub const BountyCuratorDeposit: Permill = Permill::from_percent(50);538 pub const BountyValueMinimum: Balance = 5 * UNIQUE;539 pub const MaxApprovals: u32 = 100;540}541542impl pallet_treasury::Config for Runtime {543 type PalletId = TreasuryModuleId;544 type Currency = Balances;545 type ApproveOrigin = EnsureRoot<AccountId>;546 type RejectOrigin = EnsureRoot<AccountId>;547 type Event = Event;548 type OnSlash = ();549 type ProposalBond = ProposalBond;550 type ProposalBondMinimum = ProposalBondMinimum;551 type ProposalBondMaximum = ProposalBondMaximum;552 type SpendPeriod = SpendPeriod;553 type Burn = Burn;554 type BurnDestination = ();555 type SpendFunds = ();556 type WeightInfo = pallet_treasury::weights::SubstrateWeight<Self>;557 type MaxApprovals = MaxApprovals;558}559560impl pallet_sudo::Config for Runtime {561 type Event = Event;562 type Call = Call;563}564565pub struct RelayChainBlockNumberProvider<T>(sp_std::marker::PhantomData<T>);566567impl<T: cumulus_pallet_parachain_system::Config> BlockNumberProvider568 for RelayChainBlockNumberProvider<T>569{570 type BlockNumber = BlockNumber;571572 fn current_block_number() -> Self::BlockNumber {573 cumulus_pallet_parachain_system::Pallet::<T>::validation_data()574 .map(|d| d.relay_parent_number)575 .unwrap_or_default()576 }577}578579parameter_types! {580 pub const MinVestedTransfer: Balance = 10 * UNIQUE;581 pub const MaxVestingSchedules: u32 = 28;582}583584impl orml_vesting::Config for Runtime {585 type Event = Event;586 type Currency = pallet_balances::Pallet<Runtime>;587 type MinVestedTransfer = MinVestedTransfer;588 type VestedTransferOrigin = EnsureSigned<AccountId>;589 type WeightInfo = ();590 type MaxVestingSchedules = MaxVestingSchedules;591 type BlockNumberProvider = RelayChainBlockNumberProvider<Runtime>;592}593594parameter_types! {595 pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT / 4;596 pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT / 4;597}598599impl cumulus_pallet_parachain_system::Config for Runtime {600 type Event = Event;601 type SelfParaId = parachain_info::Pallet<Self>;602 type OnSystemEvent = ();603 // type DownwardMessageHandlers = cumulus_primitives_utility::UnqueuedDmpAsParent<604 // MaxDownwardMessageWeight,605 // XcmExecutor<XcmConfig>,606 // Call,607 // >;608 type OutboundXcmpMessageSource = XcmpQueue;609 type DmpMessageHandler = DmpQueue;610 type ReservedDmpWeight = ReservedDmpWeight;611 type ReservedXcmpWeight = ReservedXcmpWeight;612 type XcmpMessageHandler = XcmpQueue;613}614615impl parachain_info::Config for Runtime {}616617impl cumulus_pallet_aura_ext::Config for Runtime {}618619parameter_types! {620 pub const RelayLocation: MultiLocation = MultiLocation::parent();621 pub const RelayNetwork: NetworkId = NetworkId::Polkadot;622 pub RelayOrigin: Origin = cumulus_pallet_xcm::Origin::Relay.into();623 pub Ancestry: MultiLocation = Parachain(ParachainInfo::parachain_id().into()).into();624}625626/// Type for specifying how a `MultiLocation` can be converted into an `AccountId`. This is used627/// when determining ownership of accounts for asset transacting and when attempting to use XCM628/// `Transact` in order to determine the dispatch Origin.629pub type LocationToAccountId = (630 // The parent (Relay-chain) origin converts to the default `AccountId`.631 ParentIsDefault<AccountId>,632 // Sibling parachain origins convert to AccountId via the `ParaId::into`.633 SiblingParachainConvertsVia<Sibling, AccountId>,634 // Straight up local `AccountId32` origins just alias directly to `AccountId`.635 AccountId32Aliases<RelayNetwork, AccountId>,636);637638pub struct OnlySelfCurrency;639impl<B: TryFrom<u128>> MatchesFungible<B> for OnlySelfCurrency {640 fn matches_fungible(a: &MultiAsset) -> Option<B> {641 match (&a.id, &a.fun) {642 (Concrete(_), XcmFungible(ref amount)) => CheckedConversion::checked_from(*amount),643 _ => None,644 }645 }646}647648/// Means for transacting assets on this chain.649pub type LocalAssetTransactor = CurrencyAdapter<650 // Use this currency:651 Balances,652 // Use this currency when it is a fungible asset matching the given location or name:653 OnlySelfCurrency,654 // Do a simple punn to convert an AccountId32 MultiLocation into a native chain account ID:655 LocationToAccountId,656 // Our chain's account ID type (we can't get away without mentioning it explicitly):657 AccountId,658 // We don't track any teleports.659 (),660>;661662/// This is the type we use to convert an (incoming) XCM origin into a local `Origin` instance,663/// ready for dispatching a transaction with Xcm's `Transact`. There is an `OriginKind` which can664/// biases the kind of local `Origin` it will become.665pub type XcmOriginToTransactDispatchOrigin = (666 // Sovereign account converter; this attempts to derive an `AccountId` from the origin location667 // using `LocationToAccountId` and then turn that into the usual `Signed` origin. Useful for668 // foreign chains who want to have a local sovereign account on this chain which they control.669 SovereignSignedViaLocation<LocationToAccountId, Origin>,670 // Native converter for Relay-chain (Parent) location; will converts to a `Relay` origin when671 // recognised.672 RelayChainAsNative<RelayOrigin, Origin>,673 // Native converter for sibling Parachains; will convert to a `SiblingPara` origin when674 // recognised.675 SiblingParachainAsNative<cumulus_pallet_xcm::Origin, Origin>,676 // Superuser converter for the Relay-chain (Parent) location. This will allow it to issue a677 // transaction from the Root origin.678 ParentAsSuperuser<Origin>,679 // Native signed account converter; this just converts an `AccountId32` origin into a normal680 // `Origin::Signed` origin of the same 32-byte value.681 SignedAccountId32AsNative<RelayNetwork, Origin>,682 // Xcm origins can be represented natively under the Xcm pallet's Xcm origin.683 XcmPassthrough<Origin>,684);685686parameter_types! {687 // One XCM operation is 1_000_000 weight - almost certainly a conservative estimate.688 pub UnitWeightCost: Weight = 1_000_000;689 // 1200 UNIQUEs buy 1 second of weight.690 pub const WeightPrice: (MultiLocation, u128) = (MultiLocation::parent(), 1_200 * UNIQUE);691 pub const MaxInstructions: u32 = 100;692 pub const MaxAuthorities: u32 = 100_000;693}694695match_type! {696 pub type ParentOrParentsUnitPlurality: impl Contains<MultiLocation> = {697 MultiLocation { parents: 1, interior: Here } |698 MultiLocation { parents: 1, interior: X1(Plurality { id: BodyId::Unit, .. }) }699 };700}701702pub type Barrier = (703 TakeWeightCredit,704 AllowTopLevelPaidExecutionFrom<Everything>,705 AllowUnpaidExecutionFrom<ParentOrParentsUnitPlurality>,706 // ^^^ Parent & its unit plurality gets free execution707);708709pub struct UsingOnlySelfCurrencyComponents<710 WeightToFee: WeightToFeePolynomial<Balance = Currency::Balance>,711 AssetId: Get<MultiLocation>,712 AccountId,713 Currency: CurrencyT<AccountId>,714 OnUnbalanced: OnUnbalancedT<Currency::NegativeImbalance>,715>(716 Weight,717 Currency::Balance,718 PhantomData<(WeightToFee, AssetId, AccountId, Currency, OnUnbalanced)>,719);720impl<721 WeightToFee: WeightToFeePolynomial<Balance = Currency::Balance>,722 AssetId: Get<MultiLocation>,723 AccountId,724 Currency: CurrencyT<AccountId>,725 OnUnbalanced: OnUnbalancedT<Currency::NegativeImbalance>,726 > WeightTrader727 for UsingOnlySelfCurrencyComponents<WeightToFee, AssetId, AccountId, Currency, OnUnbalanced>728{729 fn new() -> Self {730 Self(0, Zero::zero(), PhantomData)731 }732733 fn buy_weight(&mut self, weight: Weight, payment: Assets) -> Result<Assets, XcmError> {734 let amount = WeightToFee::calc(&weight);735 let u128_amount: u128 = amount.try_into().map_err(|_| XcmError::Overflow)?;736737 // location to this parachain through relay chain738 let option1: xcm::v1::AssetId = Concrete(MultiLocation {739 parents: 1,740 interior: X1(Parachain(ParachainInfo::parachain_id().into())),741 });742 // direct location743 let option2: xcm::v1::AssetId = Concrete(MultiLocation {744 parents: 0,745 interior: Here,746 });747748 let required = if payment.fungible.contains_key(&option1) {749 (option1, u128_amount).into()750 } else if payment.fungible.contains_key(&option2) {751 (option2, u128_amount).into()752 } else {753 (Concrete(MultiLocation::default()), u128_amount).into()754 };755756 let unused = payment757 .checked_sub(required)758 .map_err(|_| XcmError::TooExpensive)?;759 self.0 = self.0.saturating_add(weight);760 self.1 = self.1.saturating_add(amount);761 Ok(unused)762 }763764 fn refund_weight(&mut self, weight: Weight) -> Option<MultiAsset> {765 let weight = weight.min(self.0);766 let amount = WeightToFee::calc(&weight);767 self.0 -= weight;768 self.1 = self.1.saturating_sub(amount);769 let amount: u128 = amount.saturated_into();770 if amount > 0 {771 Some((AssetId::get(), amount).into())772 } else {773 None774 }775 }776}777impl<778 WeightToFee: WeightToFeePolynomial<Balance = Currency::Balance>,779 AssetId: Get<MultiLocation>,780 AccountId,781 Currency: CurrencyT<AccountId>,782 OnUnbalanced: OnUnbalancedT<Currency::NegativeImbalance>,783 > Drop784 for UsingOnlySelfCurrencyComponents<WeightToFee, AssetId, AccountId, Currency, OnUnbalanced>785{786 fn drop(&mut self) {787 OnUnbalanced::on_unbalanced(Currency::issue(self.1));788 }789}790791pub struct XcmConfig;792impl Config for XcmConfig {793 type Call = Call;794 type XcmSender = XcmRouter;795 // How to withdraw and deposit an asset.796 type AssetTransactor = LocalAssetTransactor;797 type OriginConverter = XcmOriginToTransactDispatchOrigin;798 type IsReserve = NativeAsset;799 type IsTeleporter = (); // Teleportation is disabled800 type LocationInverter = LocationInverter<Ancestry>;801 type Barrier = Barrier;802 type Weigher = FixedWeightBounds<UnitWeightCost, Call, MaxInstructions>;803 type Trader = UsingOnlySelfCurrencyComponents<804 IdentityFee<Balance>,805 RelayLocation,806 AccountId,807 Balances,808 (),809 >;810 type ResponseHandler = (); // Don't handle responses for now.811 type SubscriptionService = PolkadotXcm;812813 type AssetTrap = PolkadotXcm;814 type AssetClaims = PolkadotXcm;815}816817// parameter_types! {818// pub const MaxDownwardMessageWeight: Weight = MAXIMUM_BLOCK_WEIGHT / 10;819// }820821/// No local origins on this chain are allowed to dispatch XCM sends/executions.822pub type LocalOriginToLocation = (SignedToAccountId32<Origin, AccountId, RelayNetwork>,);823824/// The means for routing XCM messages which are not for local execution into the right message825/// queues.826pub type XcmRouter = (827 // Two routers - use UMP to communicate with the relay chain:828 cumulus_primitives_utility::ParentAsUmp<ParachainSystem, ()>,829 // ..and XCMP to communicate with the sibling chains.830 XcmpQueue,831);832833impl pallet_evm_coder_substrate::Config for Runtime {834 type EthereumTransactionSender = pallet_ethereum::Pallet<Self>;835 type GasWeightMapping = FixedGasWeightMapping;836}837838impl pallet_xcm::Config for Runtime {839 type Event = Event;840 type SendXcmOrigin = EnsureXcmOrigin<Origin, LocalOriginToLocation>;841 type XcmRouter = XcmRouter;842 type ExecuteXcmOrigin = EnsureXcmOrigin<Origin, LocalOriginToLocation>;843 type XcmExecuteFilter = Everything;844 type XcmExecutor = XcmExecutor<XcmConfig>;845 type XcmTeleportFilter = Everything;846 type XcmReserveTransferFilter = Everything;847 type Weigher = FixedWeightBounds<UnitWeightCost, Call, MaxInstructions>;848 type LocationInverter = LocationInverter<Ancestry>;849 type Origin = Origin;850 type Call = Call;851 const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100;852 type AdvertisedXcmVersion = pallet_xcm::CurrentXcmVersion;853}854855impl cumulus_pallet_xcm::Config for Runtime {856 type Event = Event;857 type XcmExecutor = XcmExecutor<XcmConfig>;858}859860impl cumulus_pallet_xcmp_queue::Config for Runtime {861 type Event = Event;862 type XcmExecutor = XcmExecutor<XcmConfig>;863 type ChannelInfo = ParachainSystem;864 type VersionWrapper = ();865 type ExecuteOverweightOrigin = frame_system::EnsureRoot<AccountId>;866}867868impl cumulus_pallet_dmp_queue::Config for Runtime {869 type Event = Event;870 type XcmExecutor = XcmExecutor<XcmConfig>;871 type ExecuteOverweightOrigin = frame_system::EnsureRoot<AccountId>;872}873874impl pallet_aura::Config for Runtime {875 type AuthorityId = AuraId;876 type DisabledValidators = ();877 type MaxAuthorities = MaxAuthorities;878}879880parameter_types! {881 pub TreasuryAccountId: AccountId = TreasuryModuleId::get().into_account();882 pub const CollectionCreationPrice: Balance = 2 * UNIQUE;883}884885impl pallet_common::Config for Runtime {886 type Event = Event;887 type EvmBackwardsAddressMapping = up_evm_mapping::MapBackwardsAddressTruncated;888 type EvmAddressMapping = HashedAddressMapping<Self::Hashing>;889 type CrossAccountId = pallet_common::account::BasicCrossAccountId<Self>;890891 type Currency = Balances;892 type CollectionCreationPrice = CollectionCreationPrice;893 type TreasuryAccountId = TreasuryAccountId;894}895896impl pallet_fungible::Config for Runtime {897 type WeightInfo = pallet_fungible::weights::SubstrateWeight<Self>;898}899impl pallet_refungible::Config for Runtime {900 type WeightInfo = pallet_refungible::weights::SubstrateWeight<Self>;901}902impl pallet_nonfungible::Config for Runtime {903 type WeightInfo = pallet_nonfungible::weights::SubstrateWeight<Self>;904}905906impl pallet_unique::Config for Runtime {907 type Event = Event;908 type WeightInfo = pallet_unique::weights::SubstrateWeight<Self>;909}910911parameter_types! {912 pub const InflationBlockInterval: BlockNumber = 100; // every time per how many blocks inflation is applied913}914915/// Used for the pallet inflation916impl pallet_inflation::Config for Runtime {917 type Currency = Balances;918 type TreasuryAccountId = TreasuryAccountId;919 type InflationBlockInterval = InflationBlockInterval;920 type BlockNumberProvider = RelayChainBlockNumberProvider<Runtime>;921}922923// parameter_types! {924// pub MaximumSchedulerWeight: Weight = Perbill::from_percent(50) *925// RuntimeBlockWeights::get().max_block;926// pub const MaxScheduledPerBlock: u32 = 50;927// }928929type EvmSponsorshipHandler = (930 pallet_unique::UniqueEthSponsorshipHandler<Runtime>,931 pallet_evm_contract_helpers::HelpersContractSponsoring<Runtime>,932);933type SponsorshipHandler = (934 pallet_unique::UniqueSponsorshipHandler<Runtime>,935 //pallet_contract_helpers::ContractSponsorshipHandler<Runtime>,936 pallet_evm_transaction_payment::BridgeSponsorshipHandler<Runtime>,937);938939// impl pallet_unq_scheduler::Config for Runtime {940// type Event = Event;941// type Origin = Origin;942// type PalletsOrigin = OriginCaller;943// type Call = Call;944// type MaximumWeight = MaximumSchedulerWeight;945// type ScheduleOrigin = EnsureSigned<AccountId>;946// type MaxScheduledPerBlock = MaxScheduledPerBlock;947// type SponsorshipHandler = SponsorshipHandler;948// type WeightInfo = ();949// }950951impl pallet_evm_transaction_payment::Config for Runtime {952 type EvmSponsorshipHandler = EvmSponsorshipHandler;953 type Currency = Balances;954 type EvmAddressMapping = HashedAddressMapping<Self::Hashing>;955 type EvmBackwardsAddressMapping = up_evm_mapping::MapBackwardsAddressTruncated;956}957958impl pallet_charge_transaction::Config for Runtime {959 type SponsorshipHandler = SponsorshipHandler;960}961962// impl pallet_contract_helpers::Config for Runtime {963// type DefaultSponsoringRateLimit = DefaultSponsoringRateLimit;964// }965966parameter_types! {967 // 0x842899ECF380553E8a4de75bF534cdf6fBF64049968 pub const HelpersContractAddress: H160 = H160([969 0x84, 0x28, 0x99, 0xec, 0xf3, 0x80, 0x55, 0x3e, 0x8a, 0x4d, 0xe7, 0x5b, 0xf5, 0x34, 0xcd, 0xf6, 0xfb, 0xf6, 0x40, 0x49,970 ]);971}972973impl pallet_evm_contract_helpers::Config for Runtime {974 type ContractAddress = HelpersContractAddress;975 type DefaultSponsoringRateLimit = DefaultSponsoringRateLimit;976}977978construct_runtime!(979 pub enum Runtime where980 Block = Block,981 NodeBlock = opaque::Block,982 UncheckedExtrinsic = UncheckedExtrinsic983 {984 ParachainSystem: cumulus_pallet_parachain_system::{Pallet, Call, Config, Storage, Inherent, Event<T>, ValidateUnsigned} = 20,985 ParachainInfo: parachain_info::{Pallet, Storage, Config} = 21,986987 Aura: pallet_aura::{Pallet, Config<T>} = 22,988 AuraExt: cumulus_pallet_aura_ext::{Pallet, Config} = 23,989990 Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>} = 30,991 RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Pallet, Storage} = 31,992 Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 32,993 TransactionPayment: pallet_transaction_payment::{Pallet, Storage} = 33,994 Treasury: pallet_treasury::{Pallet, Call, Storage, Config, Event<T>} = 34,995 Sudo: pallet_sudo::{Pallet, Call, Storage, Config<T>, Event<T>} = 35,996 System: frame_system::{Pallet, Call, Storage, Config, Event<T>} = 36,997 Vesting: orml_vesting::{Pallet, Storage, Call, Event<T>, Config<T>} = 37,998 // Vesting: pallet_vesting::{Pallet, Call, Config<T>, Storage, Event<T>} = 37,999 // Contracts: pallet_contracts::{Pallet, Call, Storage, Event<T>} = 38,10001001 // XCM helpers.1002 XcmpQueue: cumulus_pallet_xcmp_queue::{Pallet, Call, Storage, Event<T>} = 50,1003 PolkadotXcm: pallet_xcm::{Pallet, Call, Event<T>, Origin} = 51,1004 CumulusXcm: cumulus_pallet_xcm::{Pallet, Call, Event<T>, Origin} = 52,1005 DmpQueue: cumulus_pallet_dmp_queue::{Pallet, Call, Storage, Event<T>} = 53,10061007 // Unique Pallets1008 Inflation: pallet_inflation::{Pallet, Call, Storage} = 60,1009 Unique: pallet_unique::{Pallet, Call, Storage, Event<T>} = 61,1010 // Scheduler: pallet_unq_scheduler::{Pallet, Call, Storage, Event<T>} = 62,1011 // free = 631012 Charging: pallet_charge_transaction::{Pallet, Call, Storage } = 64,1013 // ContractHelpers: pallet_contract_helpers::{Pallet, Call, Storage} = 65,1014 Common: pallet_common::{Pallet, Storage, Event<T>} = 66,1015 Fungible: pallet_fungible::{Pallet, Storage} = 67,1016 Refungible: pallet_refungible::{Pallet, Storage} = 68,1017 Nonfungible: pallet_nonfungible::{Pallet, Storage} = 69,10181019 // Frontier1020 EVM: pallet_evm::{Pallet, Config, Call, Storage, Event<T>} = 100,1021 Ethereum: pallet_ethereum::{Pallet, Config, Call, Storage, Event, Origin} = 101,10221023 EvmCoderSubstrate: pallet_evm_coder_substrate::{Pallet, Storage} = 150,1024 EvmContractHelpers: pallet_evm_contract_helpers::{Pallet, Storage} = 151,1025 EvmTransactionPayment: pallet_evm_transaction_payment::{Pallet} = 152,1026 EvmMigration: pallet_evm_migration::{Pallet, Call, Storage} = 153,1027 }1028);10291030pub struct TransactionConverter;10311032impl fp_rpc::ConvertTransaction<UncheckedExtrinsic> for TransactionConverter {1033 fn convert_transaction(&self, transaction: pallet_ethereum::Transaction) -> UncheckedExtrinsic {1034 UncheckedExtrinsic::new_unsigned(1035 pallet_ethereum::Call::<Runtime>::transact { transaction }.into(),1036 )1037 }1038}10391040impl fp_rpc::ConvertTransaction<opaque::UncheckedExtrinsic> for TransactionConverter {1041 fn convert_transaction(1042 &self,1043 transaction: pallet_ethereum::Transaction,1044 ) -> opaque::UncheckedExtrinsic {1045 let extrinsic = UncheckedExtrinsic::new_unsigned(1046 pallet_ethereum::Call::<Runtime>::transact { transaction }.into(),1047 );1048 let encoded = extrinsic.encode();1049 opaque::UncheckedExtrinsic::decode(&mut &encoded[..])1050 .expect("Encoded extrinsic is always valid")1051 }1052}10531054/// The address format for describing accounts.1055pub type Address = sp_runtime::MultiAddress<AccountId, ()>;1056/// Block header type as expected by this runtime.1057pub type Header = generic::Header<BlockNumber, BlakeTwo256>;1058/// Block type as expected by this runtime.1059pub type Block = generic::Block<Header, UncheckedExtrinsic>;1060/// A Block signed with a Justification1061pub type SignedBlock = generic::SignedBlock<Block>;1062/// BlockId type as expected by this runtime.1063pub type BlockId = generic::BlockId<Block>;1064/// The SignedExtension to the basic transaction logic.1065pub type SignedExtra = (1066 frame_system::CheckSpecVersion<Runtime>,1067 // system::CheckTxVersion<Runtime>,1068 frame_system::CheckGenesis<Runtime>,1069 frame_system::CheckEra<Runtime>,1070 frame_system::CheckNonce<Runtime>,1071 frame_system::CheckWeight<Runtime>,1072 pallet_charge_transaction::ChargeTransactionPayment<Runtime>,1073 //pallet_contract_helpers::ContractHelpersExtension<Runtime>,1074);1075/// Unchecked extrinsic type as expected by this runtime.1076pub type UncheckedExtrinsic =1077 fp_self_contained::UncheckedExtrinsic<Address, Call, Signature, SignedExtra>;1078/// Extrinsic type that has already been checked.1079pub type CheckedExtrinsic = fp_self_contained::CheckedExtrinsic<AccountId, Call, SignedExtra, H160>;1080/// Executive: handles dispatch to the various modules.1081pub type Executive = frame_executive::Executive<1082 Runtime,1083 Block,1084 frame_system::ChainContext<Runtime>,1085 Runtime,1086 AllPalletsReversedWithSystemFirst,1087>;10881089impl_opaque_keys! {1090 pub struct SessionKeys {1091 pub aura: Aura,1092 }1093}10941095impl fp_self_contained::SelfContainedCall for Call {1096 type SignedInfo = H160;10971098 fn is_self_contained(&self) -> bool {1099 match self {1100 Call::Ethereum(call) => call.is_self_contained(),1101 _ => false,1102 }1103 }11041105 fn check_self_contained(&self) -> Option<Result<Self::SignedInfo, TransactionValidityError>> {1106 match self {1107 Call::Ethereum(call) => call.check_self_contained(),1108 _ => None,1109 }1110 }11111112 fn validate_self_contained(&self, info: &Self::SignedInfo) -> Option<TransactionValidity> {1113 match self {1114 Call::Ethereum(call) => call.validate_self_contained(info),1115 _ => None,1116 }1117 }11181119 fn pre_dispatch_self_contained(1120 &self,1121 info: &Self::SignedInfo,1122 ) -> Option<Result<(), TransactionValidityError>> {1123 match self {1124 Call::Ethereum(call) => call.pre_dispatch_self_contained(info),1125 _ => None,1126 }1127 }11281129 fn apply_self_contained(1130 self,1131 info: Self::SignedInfo,1132 ) -> Option<sp_runtime::DispatchResultWithInfo<PostDispatchInfoOf<Self>>> {1133 match self {1134 call @ Call::Ethereum(pallet_ethereum::Call::transact { .. }) => Some(call.dispatch(1135 Origin::from(pallet_ethereum::RawOrigin::EthereumTransaction(info)),1136 )),1137 _ => None,1138 }1139 }1140}11411142macro_rules! dispatch_unique_runtime {1143 ($collection:ident.$method:ident($($name:ident),*)) => {{1144 use pallet_unique::dispatch::Dispatched;11451146 let collection = Dispatched::dispatch(<pallet_common::CollectionHandle<Runtime>>::try_get($collection)?);1147 let dispatch = collection.as_dyn();11481149 Ok(dispatch.$method($($name),*))1150 }};1151}1152impl_runtime_apis! {1153 impl up_rpc::UniqueApi<Block, CrossAccountId, AccountId>1154 for Runtime1155 {1156 fn account_tokens(collection: CollectionId, account: CrossAccountId) -> Result<Vec<TokenId>, DispatchError> {1157 dispatch_unique_runtime!(collection.account_tokens(account))1158 }1159 fn token_exists(collection: CollectionId, token: TokenId) -> Result<bool, DispatchError> {1160 dispatch_unique_runtime!(collection.token_exists(token))1161 }11621163 fn token_owner(collection: CollectionId, token: TokenId) -> Result<Option<CrossAccountId>, DispatchError> {1164 dispatch_unique_runtime!(collection.token_owner(token))1165 }1166 fn const_metadata(collection: CollectionId, token: TokenId) -> Result<Vec<u8>, DispatchError> {1167 dispatch_unique_runtime!(collection.const_metadata(token))1168 }1169 fn variable_metadata(collection: CollectionId, token: TokenId) -> Result<Vec<u8>, DispatchError> {1170 dispatch_unique_runtime!(collection.variable_metadata(token))1171 }11721173 fn collection_tokens(collection: CollectionId) -> Result<u32, DispatchError> {1174 dispatch_unique_runtime!(collection.collection_tokens())1175 }1176 fn account_balance(collection: CollectionId, account: CrossAccountId) -> Result<u32, DispatchError> {1177 dispatch_unique_runtime!(collection.account_balance(account))1178 }1179 fn balance(collection: CollectionId, account: CrossAccountId, token: TokenId) -> Result<u128, DispatchError> {1180 dispatch_unique_runtime!(collection.balance(account, token))1181 }1182 fn allowance(1183 collection: CollectionId,1184 sender: CrossAccountId,1185 spender: CrossAccountId,1186 token: TokenId,1187 ) -> Result<u128, DispatchError> {1188 dispatch_unique_runtime!(collection.allowance(sender, spender, token))1189 }11901191 fn eth_contract_code(account: H160) -> Option<Vec<u8>> {1192 <pallet_unique::UniqueErcSupport<Runtime>>::get_code(&account)1193 .or_else(|| <pallet_evm_migration::OnMethodCall<Runtime>>::get_code(&account))1194 .or_else(|| <pallet_evm_contract_helpers::HelpersOnMethodCall<Self>>::get_code(&account))1195 }1196 fn adminlist(collection: CollectionId) -> Result<Vec<CrossAccountId>, DispatchError> {1197 Ok(<pallet_common::Pallet<Runtime>>::adminlist(collection))1198 }1199 fn allowlist(collection: CollectionId) -> Result<Vec<CrossAccountId>, DispatchError> {1200 Ok(<pallet_common::Pallet<Runtime>>::allowlist(collection))1201 }1202 fn allowed(collection: CollectionId, user: CrossAccountId) -> Result<bool, DispatchError> {1203 Ok(<pallet_common::Pallet<Runtime>>::allowed(collection, user))1204 }1205 fn last_token_id(collection: CollectionId) -> Result<TokenId, DispatchError> {1206 dispatch_unique_runtime!(collection.last_token_id())1207 }1208 fn collection_by_id(collection: CollectionId) -> Result<Option<Collection<AccountId>>, DispatchError> {1209 Ok(<pallet_common::CollectionById<Runtime>>::get(collection))1210 }1211 fn collection_stats() -> Result<CollectionStats, DispatchError> {1212 Ok(<pallet_common::Pallet<Runtime>>::collection_stats())1213 }1214 }12151216 impl sp_api::Core<Block> for Runtime {1217 fn version() -> RuntimeVersion {1218 VERSION1219 }12201221 fn execute_block(block: Block) {1222 Executive::execute_block(block)1223 }12241225 fn initialize_block(header: &<Block as BlockT>::Header) {1226 Executive::initialize_block(header)1227 }1228 }12291230 impl sp_api::Metadata<Block> for Runtime {1231 fn metadata() -> OpaqueMetadata {1232 OpaqueMetadata::new(Runtime::metadata().into())1233 }1234 }12351236 impl sp_block_builder::BlockBuilder<Block> for Runtime {1237 fn apply_extrinsic(extrinsic: <Block as BlockT>::Extrinsic) -> ApplyExtrinsicResult {1238 Executive::apply_extrinsic(extrinsic)1239 }12401241 fn finalize_block() -> <Block as BlockT>::Header {1242 Executive::finalize_block()1243 }12441245 fn inherent_extrinsics(data: sp_inherents::InherentData) -> Vec<<Block as BlockT>::Extrinsic> {1246 data.create_extrinsics()1247 }12481249 fn check_inherents(1250 block: Block,1251 data: sp_inherents::InherentData,1252 ) -> sp_inherents::CheckInherentsResult {1253 data.check_extrinsics(&block)1254 }12551256 // fn random_seed() -> <Block as BlockT>::Hash {1257 // RandomnessCollectiveFlip::random_seed().01258 // }1259 }12601261 impl sp_transaction_pool::runtime_api::TaggedTransactionQueue<Block> for Runtime {1262 fn validate_transaction(1263 source: TransactionSource,1264 tx: <Block as BlockT>::Extrinsic,1265 hash: <Block as BlockT>::Hash,1266 ) -> TransactionValidity {1267 Executive::validate_transaction(source, tx, hash)1268 }1269 }12701271 impl sp_offchain::OffchainWorkerApi<Block> for Runtime {1272 fn offchain_worker(header: &<Block as BlockT>::Header) {1273 Executive::offchain_worker(header)1274 }1275 }12761277 impl fp_rpc::EthereumRuntimeRPCApi<Block> for Runtime {1278 fn chain_id() -> u64 {1279 <Runtime as pallet_evm::Config>::ChainId::get()1280 }12811282 fn account_basic(address: H160) -> EVMAccount {1283 EVM::account_basic(&address)1284 }12851286 fn gas_price() -> U256 {1287 <Runtime as pallet_evm::Config>::FeeCalculator::min_gas_price()1288 }12891290 fn account_code_at(address: H160) -> Vec<u8> {1291 EVM::account_codes(address)1292 }12931294 fn author() -> H160 {1295 <pallet_evm::Pallet<Runtime>>::find_author()1296 }12971298 fn storage_at(address: H160, index: U256) -> H256 {1299 let mut tmp = [0u8; 32];1300 index.to_big_endian(&mut tmp);1301 EVM::account_storages(address, H256::from_slice(&tmp[..]))1302 }13031304 #[allow(clippy::redundant_closure)]1305 fn call(1306 from: H160,1307 to: H160,1308 data: Vec<u8>,1309 value: U256,1310 gas_limit: U256,1311 max_fee_per_gas: Option<U256>,1312 max_priority_fee_per_gas: Option<U256>,1313 nonce: Option<U256>,1314 estimate: bool,1315 access_list: Option<Vec<(H160, Vec<H256>)>>,1316 ) -> Result<pallet_evm::CallInfo, sp_runtime::DispatchError> {1317 let config = if estimate {1318 let mut config = <Runtime as pallet_evm::Config>::config().clone();1319 config.estimate = true;1320 Some(config)1321 } else {1322 None1323 };13241325 <Runtime as pallet_evm::Config>::Runner::call(1326 from,1327 to,1328 data,1329 value,1330 gas_limit.low_u64(),1331 max_fee_per_gas,1332 max_priority_fee_per_gas,1333 nonce,1334 access_list.unwrap_or_default(),1335 config.as_ref().unwrap_or_else(|| <Runtime as pallet_evm::Config>::config()),1336 ).map_err(|err| err.into())1337 }13381339 #[allow(clippy::redundant_closure)]1340 fn create(1341 from: H160,1342 data: Vec<u8>,1343 value: U256,1344 gas_limit: U256,1345 max_fee_per_gas: Option<U256>,1346 max_priority_fee_per_gas: Option<U256>,1347 nonce: Option<U256>,1348 estimate: bool,1349 access_list: Option<Vec<(H160, Vec<H256>)>>,1350 ) -> Result<pallet_evm::CreateInfo, sp_runtime::DispatchError> {1351 let config = if estimate {1352 let mut config = <Runtime as pallet_evm::Config>::config().clone();1353 config.estimate = true;1354 Some(config)1355 } else {1356 None1357 };13581359 <Runtime as pallet_evm::Config>::Runner::create(1360 from,1361 data,1362 value,1363 gas_limit.low_u64(),1364 max_fee_per_gas,1365 max_priority_fee_per_gas,1366 nonce,1367 access_list.unwrap_or_default(),1368 config.as_ref().unwrap_or_else(|| <Runtime as pallet_evm::Config>::config()),1369 ).map_err(|err| err.into())1370 }13711372 fn current_transaction_statuses() -> Option<Vec<TransactionStatus>> {1373 Ethereum::current_transaction_statuses()1374 }13751376 fn current_block() -> Option<pallet_ethereum::Block> {1377 Ethereum::current_block()1378 }13791380 fn current_receipts() -> Option<Vec<pallet_ethereum::Receipt>> {1381 Ethereum::current_receipts()1382 }13831384 fn current_all() -> (1385 Option<pallet_ethereum::Block>,1386 Option<Vec<pallet_ethereum::Receipt>>,1387 Option<Vec<TransactionStatus>>1388 ) {1389 (1390 Ethereum::current_block(),1391 Ethereum::current_receipts(),1392 Ethereum::current_transaction_statuses()1393 )1394 }13951396 fn extrinsic_filter(xts: Vec<<Block as sp_api::BlockT>::Extrinsic>) -> Vec<pallet_ethereum::Transaction> {1397 xts.into_iter().filter_map(|xt| match xt.0.function {1398 Call::Ethereum(pallet_ethereum::Call::transact { transaction }) => Some(transaction),1399 _ => None1400 }).collect()1401 }14021403 fn elasticity() -> Option<Permill> {1404 None1405 }1406 }14071408 impl sp_session::SessionKeys<Block> for Runtime {1409 fn decode_session_keys(1410 encoded: Vec<u8>,1411 ) -> Option<Vec<(Vec<u8>, KeyTypeId)>> {1412 SessionKeys::decode_into_raw_public_keys(&encoded)1413 }14141415 fn generate_session_keys(seed: Option<Vec<u8>>) -> Vec<u8> {1416 SessionKeys::generate(seed)1417 }1418 }14191420 impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {1421 fn slot_duration() -> sp_consensus_aura::SlotDuration {1422 sp_consensus_aura::SlotDuration::from_millis(Aura::slot_duration())1423 }14241425 fn authorities() -> Vec<AuraId> {1426 Aura::authorities().to_vec()1427 }1428 }14291430 impl cumulus_primitives_core::CollectCollationInfo<Block> for Runtime {1431 fn collect_collation_info(header: &<Block as BlockT>::Header) -> cumulus_primitives_core::CollationInfo {1432 ParachainSystem::collect_collation_info(header)1433 }1434 }14351436 impl frame_system_rpc_runtime_api::AccountNonceApi<Block, AccountId, Index> for Runtime {1437 fn account_nonce(account: AccountId) -> Index {1438 System::account_nonce(account)1439 }1440 }14411442 impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi<Block, Balance> for Runtime {1443 fn query_info(uxt: <Block as BlockT>::Extrinsic, len: u32) -> RuntimeDispatchInfo<Balance> {1444 TransactionPayment::query_info(uxt, len)1445 }1446 fn query_fee_details(uxt: <Block as BlockT>::Extrinsic, len: u32) -> FeeDetails<Balance> {1447 TransactionPayment::query_fee_details(uxt, len)1448 }1449 }14501451 /*1452 impl pallet_contracts_rpc_runtime_api::ContractsApi<Block, AccountId, Balance, BlockNumber, Hash>1453 for Runtime1454 {1455 fn call(1456 origin: AccountId,1457 dest: AccountId,1458 value: Balance,1459 gas_limit: u64,1460 input_data: Vec<u8>,1461 ) -> pallet_contracts_primitives::ContractExecResult {1462 Contracts::bare_call(origin, dest, value, gas_limit, input_data, false)1463 }14641465 fn instantiate(1466 origin: AccountId,1467 endowment: Balance,1468 gas_limit: u64,1469 code: pallet_contracts_primitives::Code<Hash>,1470 data: Vec<u8>,1471 salt: Vec<u8>,1472 ) -> pallet_contracts_primitives::ContractInstantiateResult<AccountId, BlockNumber>1473 {1474 Contracts::bare_instantiate(origin, endowment, gas_limit, code, data, salt, true, false)1475 }14761477 fn get_storage(1478 address: AccountId,1479 key: [u8; 32],1480 ) -> pallet_contracts_primitives::GetStorageResult {1481 Contracts::get_storage(address, key)1482 }14831484 fn rent_projection(1485 address: AccountId,1486 ) -> pallet_contracts_primitives::RentProjectionResult<BlockNumber> {1487 Contracts::rent_projection(address)1488 }1489 }1490 */14911492 #[cfg(feature = "runtime-benchmarks")]1493 impl frame_benchmarking::Benchmark<Block> for Runtime {1494 fn benchmark_metadata(extra: bool) -> (1495 Vec<frame_benchmarking::BenchmarkList>,1496 Vec<frame_support::traits::StorageInfo>,1497 ) {1498 use frame_benchmarking::{list_benchmark, Benchmarking, BenchmarkList};1499 use frame_support::traits::StorageInfoTrait;15001501 let mut list = Vec::<BenchmarkList>::new();15021503 list_benchmark!(list, extra, pallet_evm_migration, EvmMigration);1504 list_benchmark!(list, extra, pallet_unique, Unique);1505 list_benchmark!(list, extra, pallet_inflation, Inflation);1506 list_benchmark!(list, extra, pallet_fungible, Fungible);1507 list_benchmark!(list, extra, pallet_refungible, Refungible);1508 list_benchmark!(list, extra, pallet_nonfungible, Nonfungible);1509 // list_benchmark!(list, extra, pallet_evm_coder_substrate, EvmCoderSubstrate);15101511 let storage_info = AllPalletsReversedWithSystemFirst::storage_info();15121513 return (list, storage_info)1514 }15151516 fn dispatch_benchmark(1517 config: frame_benchmarking::BenchmarkConfig1518 ) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, sp_runtime::RuntimeString> {1519 use frame_benchmarking::{Benchmarking, BenchmarkBatch, add_benchmark, TrackedStorageKey};15201521 let allowlist: Vec<TrackedStorageKey> = vec![1522 // Block Number1523 hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef702a5c1b19ab7a04f536c519aca4983ac").to_vec().into(),1524 // Total Issuance1525 hex_literal::hex!("c2261276cc9d1f8598ea4b6a74b15c2f57c875e4cff74148e4628f264b974c80").to_vec().into(),1526 // Execution Phase1527 hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef7ff553b5a9862a516939d82b3d3d8661a").to_vec().into(),1528 // Event Count1529 hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef70a98fdbe9ce6c55837576c60c7af3850").to_vec().into(),1530 // System Events1531 hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef780d41e5e16056765bc8461851072c9d7").to_vec().into(),1532 ];15331534 let mut batches = Vec::<BenchmarkBatch>::new();1535 let params = (&config, &allowlist);15361537 add_benchmark!(params, batches, pallet_evm_migration, EvmMigration);1538 add_benchmark!(params, batches, pallet_unique, Unique);1539 add_benchmark!(params, batches, pallet_inflation, Inflation);1540 add_benchmark!(params, batches, pallet_fungible, Fungible);1541 add_benchmark!(params, batches, pallet_refungible, Refungible);1542 add_benchmark!(params, batches, pallet_nonfungible, Nonfungible);1543 // add_benchmark!(params, batches, pallet_evm_coder_substrate, EvmCoderSubstrate);15441545 if batches.is_empty() { return Err("Benchmark not found for this pallet.".into()) }1546 Ok(batches)1547 }1548 }1549}15501551struct CheckInherents;15521553impl cumulus_pallet_parachain_system::CheckInherents<Block> for CheckInherents {1554 fn check_inherents(1555 block: &Block,1556 relay_state_proof: &cumulus_pallet_parachain_system::RelayChainStateProof,1557 ) -> sp_inherents::CheckInherentsResult {1558 let relay_chain_slot = relay_state_proof1559 .read_slot()1560 .expect("Could not read the relay chain slot from the proof");15611562 let inherent_data =1563 cumulus_primitives_timestamp::InherentDataProvider::from_relay_chain_slot_and_duration(1564 relay_chain_slot,1565 sp_std::time::Duration::from_secs(6),1566 )1567 .create_inherent_data()1568 .expect("Could not create the timestamp inherent data");15691570 inherent_data.check_extrinsics(block)1571 }1572}15731574cumulus_pallet_parachain_system::register_validate_block!(1575 Runtime = Runtime,1576 BlockExecutor = cumulus_pallet_aura_ext::BlockExecutor::<Runtime, Executive>,1577 CheckInherents = CheckInherents,1578);1//2// This file is subject to the terms and conditions defined in3// file 'LICENSE', which is part of this source code package.4//56//! The Substrate Node Template runtime. This can be compiled with `#[no_std]`, ready for Wasm.78#![cfg_attr(not(feature = "std"), no_std)]9// `construct_runtime!` does a lot of recursion and requires us to increase the limit to 256.10#![recursion_limit = "1024"]11#![allow(clippy::from_over_into, clippy::identity_op)]12#![allow(clippy::fn_to_numeric_cast_with_truncation)]13// Make the WASM binary available.14#[cfg(feature = "std")]15include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs"));1617use sp_api::impl_runtime_apis;18use sp_core::{crypto::KeyTypeId, OpaqueMetadata, H256, U256, H160};19use sp_runtime::DispatchError;20// #[cfg(any(feature = "std", test))]21// pub use sp_runtime::BuildStorage;2223use sp_runtime::{24 Permill, Perbill, Percent, create_runtime_str, generic, impl_opaque_keys,25 traits::{26 AccountIdLookup, BlakeTwo256, Block as BlockT, IdentifyAccount, Verify,27 AccountIdConversion, Zero,28 },29 transaction_validity::{TransactionSource, TransactionValidity},30 ApplyExtrinsicResult, MultiSignature, RuntimeAppPublic,31};3233use sp_std::prelude::*;3435#[cfg(feature = "std")]36use sp_version::NativeVersion;37use sp_version::RuntimeVersion;38pub use pallet_transaction_payment::{39 Multiplier, TargetedFeeAdjustment, FeeDetails, RuntimeDispatchInfo,40};41// A few exports that help ease life for downstream crates.42pub use pallet_balances::Call as BalancesCall;43pub use pallet_evm::{EnsureAddressTruncated, HashedAddressMapping, Runner};44pub use frame_support::{45 construct_runtime, match_type,46 dispatch::DispatchResult,47 PalletId, parameter_types, StorageValue, ConsensusEngineId,48 traits::{49 tokens::currency::Currency as CurrencyT, OnUnbalanced as OnUnbalancedT, Everything,50 Currency, ExistenceRequirement, Get, IsInVec, KeyOwnerProofSystem, LockIdentifier,51 OnUnbalanced, Randomness, FindAuthor,52 },53 weights::{54 constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, WEIGHT_PER_SECOND},55 DispatchClass, DispatchInfo, GetDispatchInfo, IdentityFee, Pays, PostDispatchInfo, Weight,56 WeightToFeePolynomial, WeightToFeeCoefficient, WeightToFeeCoefficients,57 },58};59use up_data_structs::*;60// use pallet_contracts::weights::WeightInfo;61// #[cfg(any(feature = "std", test))]62use frame_system::{63 self as frame_system, EnsureRoot, EnsureSigned,64 limits::{BlockWeights, BlockLength},65};66use sp_arithmetic::{67 traits::{BaseArithmetic, Unsigned},68};69use smallvec::smallvec;70use codec::{Encode, Decode};71use pallet_evm::{Account as EVMAccount, FeeCalculator, GasWeightMapping, OnMethodCall};72use fp_rpc::TransactionStatus;73use sp_runtime::{74 traits::{BlockNumberProvider, Dispatchable, PostDispatchInfoOf, Saturating},75 transaction_validity::TransactionValidityError,76 SaturatedConversion,77};7879// pub use pallet_timestamp::Call as TimestampCall;80pub use sp_consensus_aura::sr25519::AuthorityId as AuraId;8182// Polkadot imports83use pallet_xcm::XcmPassthrough;84use polkadot_parachain::primitives::Sibling;85use xcm::v1::{BodyId, Junction::*, MultiLocation, NetworkId, Junctions::*};86use xcm_builder::{87 AccountId32Aliases, AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, CurrencyAdapter,88 EnsureXcmOrigin, FixedWeightBounds, LocationInverter, NativeAsset, ParentAsSuperuser,89 RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia,90 SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit,91 ParentIsPreset,92};93use xcm_executor::{Config, XcmExecutor, Assets};94use sp_std::{marker::PhantomData};9596use xcm::latest::{97 // Xcm,98 AssetId::{Concrete},99 Fungibility::Fungible as XcmFungible,100 MultiAsset,101 Error as XcmError,102};103use xcm_executor::traits::{MatchesFungible, WeightTrader};104//use xcm_executor::traits::MatchesFungible;105use sp_runtime::traits::CheckedConversion;106107// mod chain_extension;108// use crate::chain_extension::{NFTExtension, Imbalance};109110/// An index to a block.111pub type BlockNumber = u32;112113/// Alias to 512-bit hash when used in the context of a transaction signature on the chain.114pub type Signature = MultiSignature;115116/// Some way of identifying an account on the chain. We intentionally make it equivalent117/// to the public key of our transaction signing scheme.118pub type AccountId = <<Signature as Verify>::Signer as IdentifyAccount>::AccountId;119120pub type CrossAccountId = pallet_common::account::BasicCrossAccountId<Runtime>;121122/// The type for looking up accounts. We don't expect more than 4 billion of them, but you123/// never know...124pub type AccountIndex = u32;125126/// Balance of an account.127pub type Balance = u128;128129/// Index of a transaction in the chain.130pub type Index = u32;131132/// A hash of some data used by the chain.133pub type Hash = sp_core::H256;134135/// Digest item type.136pub type DigestItem = generic::DigestItem;137138/// Opaque types. These are used by the CLI to instantiate machinery that don't need to know139/// the specifics of the runtime. They can then be made to be agnostic over specific formats140/// of data like extrinsics, allowing for them to continue syncing the network through upgrades141/// to even the core data structures.142pub mod opaque {143 use super::*;144145 pub use sp_runtime::OpaqueExtrinsic as UncheckedExtrinsic;146147 /// Opaque block type.148 pub type Block = generic::Block<Header, UncheckedExtrinsic>;149150 pub type SessionHandlers = ();151152 impl_opaque_keys! {153 pub struct SessionKeys {154 pub aura: Aura,155 }156 }157}158159/// This runtime version.160pub const VERSION: RuntimeVersion = RuntimeVersion {161 spec_name: create_runtime_str!("opal"),162 impl_name: create_runtime_str!("opal"),163 authoring_version: 1,164 spec_version: 916010,165 impl_version: 0,166 apis: RUNTIME_API_VERSIONS,167 transaction_version: 1,168 state_version: 0,169};170171pub const MILLISECS_PER_BLOCK: u64 = 12000;172173pub const SLOT_DURATION: u64 = MILLISECS_PER_BLOCK;174175// These time units are defined in number of blocks.176pub const MINUTES: BlockNumber = 60_000 / (MILLISECS_PER_BLOCK as BlockNumber);177pub const HOURS: BlockNumber = MINUTES * 60;178pub const DAYS: BlockNumber = HOURS * 24;179180parameter_types! {181 pub const DefaultSponsoringRateLimit: BlockNumber = 1 * DAYS;182}183184#[derive(codec::Encode, codec::Decode)]185pub enum XCMPMessage<XAccountId, XBalance> {186 /// Transfer tokens to the given account from the Parachain account.187 TransferToken(XAccountId, XBalance),188}189190/// The version information used to identify this runtime when compiled natively.191#[cfg(feature = "std")]192pub fn native_version() -> NativeVersion {193 NativeVersion {194 runtime_version: VERSION,195 can_author_with: Default::default(),196 }197}198199type NegativeImbalance = <Balances as Currency<AccountId>>::NegativeImbalance;200201pub struct DealWithFees;202impl OnUnbalanced<NegativeImbalance> for DealWithFees {203 fn on_unbalanceds<B>(mut fees_then_tips: impl Iterator<Item = NegativeImbalance>) {204 if let Some(fees) = fees_then_tips.next() {205 // for fees, 100% to treasury206 let mut split = fees.ration(100, 0);207 if let Some(tips) = fees_then_tips.next() {208 // for tips, if any, 100% to treasury209 tips.ration_merge_into(100, 0, &mut split);210 }211 Treasury::on_unbalanced(split.0);212 // Author::on_unbalanced(split.1);213 }214 }215}216217/// We assume that ~10% of the block weight is consumed by `on_initalize` handlers.218/// This is used to limit the maximal weight of a single extrinsic.219const AVERAGE_ON_INITIALIZE_RATIO: Perbill = Perbill::from_percent(10);220/// We allow `Normal` extrinsics to fill up the block up to 75%, the rest can be used221/// by Operational extrinsics.222const NORMAL_DISPATCH_RATIO: Perbill = Perbill::from_percent(75);223/// We allow for 2 seconds of compute with a 6 second average block time.224const MAXIMUM_BLOCK_WEIGHT: Weight = WEIGHT_PER_SECOND / 2;225226parameter_types! {227 pub const BlockHashCount: BlockNumber = 2400;228 pub RuntimeBlockLength: BlockLength =229 BlockLength::max_with_normal_ratio(5 * 1024 * 1024, NORMAL_DISPATCH_RATIO);230 pub const AvailableBlockRatio: Perbill = Perbill::from_percent(75);231 pub const MaximumBlockLength: u32 = 5 * 1024 * 1024;232 pub RuntimeBlockWeights: BlockWeights = BlockWeights::builder()233 .base_block(BlockExecutionWeight::get())234 .for_class(DispatchClass::all(), |weights| {235 weights.base_extrinsic = ExtrinsicBaseWeight::get();236 })237 .for_class(DispatchClass::Normal, |weights| {238 weights.max_total = Some(NORMAL_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT);239 })240 .for_class(DispatchClass::Operational, |weights| {241 weights.max_total = Some(MAXIMUM_BLOCK_WEIGHT);242 // Operational transactions have some extra reserved space, so that they243 // are included even if block reached `MAXIMUM_BLOCK_WEIGHT`.244 weights.reserved = Some(245 MAXIMUM_BLOCK_WEIGHT - NORMAL_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT246 );247 })248 .avg_block_initialization(AVERAGE_ON_INITIALIZE_RATIO)249 .build_or_panic();250 pub const Version: RuntimeVersion = VERSION;251 pub const SS58Prefix: u8 = 42;252}253254/*2558880 - Unique2568881 - Quartz2578882 - Opal258*/259parameter_types! {260 pub const ChainId: u64 = 8882;261}262263pub struct FixedFee;264impl FeeCalculator for FixedFee {265 fn min_gas_price() -> U256 {266 // Targeting 0.15 UNQ per transfer267 1_024_947_215_000u64.into()268 }269}270271// Assuming slowest ethereum opcode is SSTORE, with gas price of 20000 as our worst case272// (contract, which only writes a lot of data),273// approximating on top of our real store write weight274parameter_types! {275 pub const WritesPerSecond: u64 = WEIGHT_PER_SECOND / <Runtime as frame_system::Config>::DbWeight::get().write;276 pub const GasPerSecond: u64 = WritesPerSecond::get() * 20000;277 pub const WeightPerGas: u64 = WEIGHT_PER_SECOND / GasPerSecond::get();278}279280/// Limiting EVM execution to 50% of block for substrate users and management tasks281/// EVM transaction consumes more weight than substrate's, so we can't rely on them being282/// scheduled fairly283const EVM_DISPATCH_RATIO: Perbill = Perbill::from_percent(50);284parameter_types! {285 pub BlockGasLimit: U256 = U256::from(NORMAL_DISPATCH_RATIO * EVM_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT / WeightPerGas::get());286}287288pub enum FixedGasWeightMapping {}289impl GasWeightMapping for FixedGasWeightMapping {290 fn gas_to_weight(gas: u64) -> Weight {291 gas.saturating_mul(WeightPerGas::get())292 }293 fn weight_to_gas(weight: Weight) -> u64 {294 weight / WeightPerGas::get()295 }296}297298impl pallet_evm::Config for Runtime {299 type BlockGasLimit = BlockGasLimit;300 type FeeCalculator = FixedFee;301 type GasWeightMapping = FixedGasWeightMapping;302 type BlockHashMapping = pallet_ethereum::EthereumBlockHashMapping<Self>;303 type CallOrigin = EnsureAddressTruncated;304 type WithdrawOrigin = EnsureAddressTruncated;305 type AddressMapping = HashedAddressMapping<Self::Hashing>;306 type PrecompilesType = ();307 type PrecompilesValue = ();308 type Currency = Balances;309 type Event = Event;310 type OnMethodCall = (311 pallet_evm_migration::OnMethodCall<Self>,312 pallet_unique::UniqueErcSupport<Self>,313 pallet_evm_contract_helpers::HelpersOnMethodCall<Self>,314 );315 type OnCreate = pallet_evm_contract_helpers::HelpersOnCreate<Self>;316 type ChainId = ChainId;317 type Runner = pallet_evm::runner::stack::Runner<Self>;318 type OnChargeTransaction = pallet_evm_transaction_payment::OnChargeTransaction<Self>;319 type TransactionValidityHack = pallet_evm_transaction_payment::TransactionValidityHack<Self>;320 type FindAuthor = EthereumFindAuthor<Aura>;321}322323impl pallet_evm_migration::Config for Runtime {324 type WeightInfo = pallet_evm_migration::weights::SubstrateWeight<Self>;325}326327pub struct EthereumFindAuthor<F>(core::marker::PhantomData<F>);328impl<F: FindAuthor<u32>> FindAuthor<H160> for EthereumFindAuthor<F> {329 fn find_author<'a, I>(digests: I) -> Option<H160>330 where331 I: 'a + IntoIterator<Item = (ConsensusEngineId, &'a [u8])>,332 {333 if let Some(author_index) = F::find_author(digests) {334 let authority_id = Aura::authorities()[author_index as usize].clone();335 return Some(H160::from_slice(&authority_id.to_raw_vec()[4..24]));336 }337 None338 }339}340341impl pallet_ethereum::Config for Runtime {342 type Event = Event;343 type StateRoot = pallet_ethereum::IntermediateStateRoot;344}345346impl pallet_randomness_collective_flip::Config for Runtime {}347348impl frame_system::Config for Runtime {349 /// The data to be stored in an account.350 type AccountData = pallet_balances::AccountData<Balance>;351 /// The identifier used to distinguish between accounts.352 type AccountId = AccountId;353 /// The basic call filter to use in dispatchable.354 type BaseCallFilter = Everything;355 /// Maximum number of block number to block hash mappings to keep (oldest pruned first).356 type BlockHashCount = BlockHashCount;357 /// The maximum length of a block (in bytes).358 type BlockLength = RuntimeBlockLength;359 /// The index type for blocks.360 type BlockNumber = BlockNumber;361 /// The weight of the overhead invoked on the block import process, independent of the extrinsics included in that block.362 type BlockWeights = RuntimeBlockWeights;363 /// The aggregated dispatch type that is available for extrinsics.364 type Call = Call;365 /// The weight of database operations that the runtime can invoke.366 type DbWeight = RocksDbWeight;367 /// The ubiquitous event type.368 type Event = Event;369 /// The type for hashing blocks and tries.370 type Hash = Hash;371 /// The hashing algorithm used.372 type Hashing = BlakeTwo256;373 /// The header type.374 type Header = generic::Header<BlockNumber, BlakeTwo256>;375 /// The index type for storing how many extrinsics an account has signed.376 type Index = Index;377 /// The lookup mechanism to get account ID from whatever is passed in dispatchers.378 type Lookup = AccountIdLookup<AccountId, ()>;379 /// What to do if an account is fully reaped from the system.380 type OnKilledAccount = ();381 /// What to do if a new account is created.382 type OnNewAccount = ();383 type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode<Self>;384 /// The ubiquitous origin type.385 type Origin = Origin;386 /// This type is being generated by `construct_runtime!`.387 type PalletInfo = PalletInfo;388 /// This is used as an identifier of the chain. 42 is the generic substrate prefix.389 type SS58Prefix = SS58Prefix;390 /// Weight information for the extrinsics of this pallet.391 type SystemWeightInfo = frame_system::weights::SubstrateWeight<Self>;392 /// Version of the runtime.393 type Version = Version;394 type MaxConsumers = ConstU32<16>;395}396397parameter_types! {398 pub const MinimumPeriod: u64 = SLOT_DURATION / 2;399}400401impl pallet_timestamp::Config for Runtime {402 /// A timestamp: milliseconds since the unix epoch.403 type Moment = u64;404 type OnTimestampSet = ();405 type MinimumPeriod = MinimumPeriod;406 type WeightInfo = ();407}408409parameter_types! {410 // pub const ExistentialDeposit: u128 = 500;411 pub const ExistentialDeposit: u128 = 0;412 pub const MaxLocks: u32 = 50;413}414415impl pallet_balances::Config for Runtime {416 type MaxLocks = MaxLocks;417 type MaxReserves = ();418 type ReserveIdentifier = [u8; 8];419 /// The type for recording an account's balance.420 type Balance = Balance;421 /// The ubiquitous event type.422 type Event = Event;423 type DustRemoval = Treasury;424 type ExistentialDeposit = ExistentialDeposit;425 type AccountStore = System;426 type WeightInfo = pallet_balances::weights::SubstrateWeight<Self>;427}428429pub const MICROUNIQUE: Balance = 1_000_000_000_000;430pub const MILLIUNIQUE: Balance = 1_000 * MICROUNIQUE;431pub const CENTIUNIQUE: Balance = 10 * MILLIUNIQUE;432pub const UNIQUE: Balance = 100 * CENTIUNIQUE;433434pub const fn deposit(items: u32, bytes: u32) -> Balance {435 items as Balance * 15 * CENTIUNIQUE + (bytes as Balance) * 6 * CENTIUNIQUE436}437438/*439parameter_types! {440 pub TombstoneDeposit: Balance = deposit(441 1,442 sp_std::mem::size_of::<pallet_contracts::Pallet<Runtime>> as u32,443 );444 pub DepositPerContract: Balance = TombstoneDeposit::get();445 pub const DepositPerStorageByte: Balance = deposit(0, 1);446 pub const DepositPerStorageItem: Balance = deposit(1, 0);447 pub RentFraction: Perbill = Perbill::from_rational(1u32, 30 * DAYS);448 pub const SurchargeReward: Balance = 150 * MILLIUNIQUE;449 pub const SignedClaimHandicap: u32 = 2;450 pub const MaxDepth: u32 = 32;451 pub const MaxValueSize: u32 = 16 * 1024;452 pub const MaxCodeSize: u32 = 1024 * 1024 * 25; // 25 Mb453 // The lazy deletion runs inside on_initialize.454 pub DeletionWeightLimit: Weight = AVERAGE_ON_INITIALIZE_RATIO *455 RuntimeBlockWeights::get().max_block;456 // The weight needed for decoding the queue should be less or equal than a fifth457 // of the overall weight dedicated to the lazy deletion.458 pub DeletionQueueDepth: u32 = ((DeletionWeightLimit::get() / (459 <Runtime as pallet_contracts::Config>::WeightInfo::on_initialize_per_queue_item(1) -460 <Runtime as pallet_contracts::Config>::WeightInfo::on_initialize_per_queue_item(0)461 )) / 5) as u32;462 pub Schedule: pallet_contracts::Schedule<Runtime> = Default::default();463}464465impl pallet_contracts::Config for Runtime {466 type Time = Timestamp;467 type Randomness = RandomnessCollectiveFlip;468 type Currency = Balances;469 type Event = Event;470 type RentPayment = ();471 type SignedClaimHandicap = SignedClaimHandicap;472 type TombstoneDeposit = TombstoneDeposit;473 type DepositPerContract = DepositPerContract;474 type DepositPerStorageByte = DepositPerStorageByte;475 type DepositPerStorageItem = DepositPerStorageItem;476 type RentFraction = RentFraction;477 type SurchargeReward = SurchargeReward;478 type WeightPrice = pallet_transaction_payment::Pallet<Self>;479 type WeightInfo = pallet_contracts::weights::SubstrateWeight<Self>;480 type ChainExtension = NFTExtension;481 type DeletionQueueDepth = DeletionQueueDepth;482 type DeletionWeightLimit = DeletionWeightLimit;483 type Schedule = Schedule;484 type CallStack = [pallet_contracts::Frame<Self>; 31];485}486*/487488parameter_types! {489 pub const TransactionByteFee: Balance = 501 * MICROUNIQUE; // Targeting 0.1 Unique per NFT transfer490 /// This value increases the priority of `Operational` transactions by adding491 /// a "virtual tip" that's equal to the `OperationalFeeMultiplier * final_fee`.492 pub const OperationalFeeMultiplier: u8 = 5;493}494495/// Linear implementor of `WeightToFeePolynomial`496pub struct LinearFee<T>(sp_std::marker::PhantomData<T>);497498impl<T> WeightToFeePolynomial for LinearFee<T>499where500 T: BaseArithmetic + From<u32> + Copy + Unsigned,501{502 type Balance = T;503504 fn polynomial() -> WeightToFeeCoefficients<Self::Balance> {505 smallvec!(WeightToFeeCoefficient {506 // Targeting 0.1 Unique per NFT transfer507 coeff_integer: 142_688_000u32.into(),508 coeff_frac: Perbill::zero(),509 negative: false,510 degree: 1,511 })512 }513}514515impl pallet_transaction_payment::Config for Runtime {516 type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter<Balances, DealWithFees>;517 type TransactionByteFee = TransactionByteFee;518 type OperationalFeeMultiplier = OperationalFeeMultiplier;519 type WeightToFee = LinearFee<Balance>;520 type FeeMultiplierUpdate = ();521}522523parameter_types! {524 pub const ProposalBond: Permill = Permill::from_percent(5);525 pub const ProposalBondMinimum: Balance = 1 * UNIQUE;526 pub const ProposalBondMaximum: Balance = 1000 * UNIQUE;527 pub const SpendPeriod: BlockNumber = 5 * MINUTES;528 pub const Burn: Permill = Permill::from_percent(0);529 pub const TipCountdown: BlockNumber = 1 * DAYS;530 pub const TipFindersFee: Percent = Percent::from_percent(20);531 pub const TipReportDepositBase: Balance = 1 * UNIQUE;532 pub const DataDepositPerByte: Balance = 1 * CENTIUNIQUE;533 pub const BountyDepositBase: Balance = 1 * UNIQUE;534 pub const BountyDepositPayoutDelay: BlockNumber = 1 * DAYS;535 pub const TreasuryModuleId: PalletId = PalletId(*b"py/trsry");536 pub const BountyUpdatePeriod: BlockNumber = 14 * DAYS;537 pub const MaximumReasonLength: u32 = 16384;538 pub const BountyCuratorDeposit: Permill = Permill::from_percent(50);539 pub const BountyValueMinimum: Balance = 5 * UNIQUE;540 pub const MaxApprovals: u32 = 100;541}542543impl pallet_treasury::Config for Runtime {544 type PalletId = TreasuryModuleId;545 type Currency = Balances;546 type ApproveOrigin = EnsureRoot<AccountId>;547 type RejectOrigin = EnsureRoot<AccountId>;548 type Event = Event;549 type OnSlash = ();550 type ProposalBond = ProposalBond;551 type ProposalBondMinimum = ProposalBondMinimum;552 type ProposalBondMaximum = ProposalBondMaximum;553 type SpendPeriod = SpendPeriod;554 type Burn = Burn;555 type BurnDestination = ();556 type SpendFunds = ();557 type WeightInfo = pallet_treasury::weights::SubstrateWeight<Self>;558 type MaxApprovals = MaxApprovals;559}560561impl pallet_sudo::Config for Runtime {562 type Event = Event;563 type Call = Call;564}565566pub struct RelayChainBlockNumberProvider<T>(sp_std::marker::PhantomData<T>);567568impl<T: cumulus_pallet_parachain_system::Config> BlockNumberProvider569 for RelayChainBlockNumberProvider<T>570{571 type BlockNumber = BlockNumber;572573 fn current_block_number() -> Self::BlockNumber {574 cumulus_pallet_parachain_system::Pallet::<T>::validation_data()575 .map(|d| d.relay_parent_number)576 .unwrap_or_default()577 }578}579580parameter_types! {581 pub const MinVestedTransfer: Balance = 10 * UNIQUE;582 pub const MaxVestingSchedules: u32 = 28;583}584585impl orml_vesting::Config for Runtime {586 type Event = Event;587 type Currency = pallet_balances::Pallet<Runtime>;588 type MinVestedTransfer = MinVestedTransfer;589 type VestedTransferOrigin = EnsureSigned<AccountId>;590 type WeightInfo = ();591 type MaxVestingSchedules = MaxVestingSchedules;592 type BlockNumberProvider = RelayChainBlockNumberProvider<Runtime>;593}594595parameter_types! {596 pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT / 4;597 pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT / 4;598}599600impl cumulus_pallet_parachain_system::Config for Runtime {601 type Event = Event;602 type SelfParaId = parachain_info::Pallet<Self>;603 type OnSystemEvent = ();604 // type DownwardMessageHandlers = cumulus_primitives_utility::UnqueuedDmpAsParent<605 // MaxDownwardMessageWeight,606 // XcmExecutor<XcmConfig>,607 // Call,608 // >;609 type OutboundXcmpMessageSource = XcmpQueue;610 type DmpMessageHandler = DmpQueue;611 type ReservedDmpWeight = ReservedDmpWeight;612 type ReservedXcmpWeight = ReservedXcmpWeight;613 type XcmpMessageHandler = XcmpQueue;614}615616impl parachain_info::Config for Runtime {}617618impl cumulus_pallet_aura_ext::Config for Runtime {}619620parameter_types! {621 pub const RelayLocation: MultiLocation = MultiLocation::parent();622 pub const RelayNetwork: NetworkId = NetworkId::Polkadot;623 pub RelayOrigin: Origin = cumulus_pallet_xcm::Origin::Relay.into();624 pub Ancestry: MultiLocation = Parachain(ParachainInfo::parachain_id().into()).into();625}626627/// Type for specifying how a `MultiLocation` can be converted into an `AccountId`. This is used628/// when determining ownership of accounts for asset transacting and when attempting to use XCM629/// `Transact` in order to determine the dispatch Origin.630pub type LocationToAccountId = (631 // The parent (Relay-chain) origin converts to the default `AccountId`.632 ParentIsPreset<AccountId>,633 // Sibling parachain origins convert to AccountId via the `ParaId::into`.634 SiblingParachainConvertsVia<Sibling, AccountId>,635 // Straight up local `AccountId32` origins just alias directly to `AccountId`.636 AccountId32Aliases<RelayNetwork, AccountId>,637);638639pub struct OnlySelfCurrency;640impl<B: TryFrom<u128>> MatchesFungible<B> for OnlySelfCurrency {641 fn matches_fungible(a: &MultiAsset) -> Option<B> {642 match (&a.id, &a.fun) {643 (Concrete(_), XcmFungible(ref amount)) => CheckedConversion::checked_from(*amount),644 _ => None,645 }646 }647}648649/// Means for transacting assets on this chain.650pub type LocalAssetTransactor = CurrencyAdapter<651 // Use this currency:652 Balances,653 // Use this currency when it is a fungible asset matching the given location or name:654 OnlySelfCurrency,655 // Do a simple punn to convert an AccountId32 MultiLocation into a native chain account ID:656 LocationToAccountId,657 // Our chain's account ID type (we can't get away without mentioning it explicitly):658 AccountId,659 // We don't track any teleports.660 (),661>;662663/// This is the type we use to convert an (incoming) XCM origin into a local `Origin` instance,664/// ready for dispatching a transaction with Xcm's `Transact`. There is an `OriginKind` which can665/// biases the kind of local `Origin` it will become.666pub type XcmOriginToTransactDispatchOrigin = (667 // Sovereign account converter; this attempts to derive an `AccountId` from the origin location668 // using `LocationToAccountId` and then turn that into the usual `Signed` origin. Useful for669 // foreign chains who want to have a local sovereign account on this chain which they control.670 SovereignSignedViaLocation<LocationToAccountId, Origin>,671 // Native converter for Relay-chain (Parent) location; will converts to a `Relay` origin when672 // recognised.673 RelayChainAsNative<RelayOrigin, Origin>,674 // Native converter for sibling Parachains; will convert to a `SiblingPara` origin when675 // recognised.676 SiblingParachainAsNative<cumulus_pallet_xcm::Origin, Origin>,677 // Superuser converter for the Relay-chain (Parent) location. This will allow it to issue a678 // transaction from the Root origin.679 ParentAsSuperuser<Origin>,680 // Native signed account converter; this just converts an `AccountId32` origin into a normal681 // `Origin::Signed` origin of the same 32-byte value.682 SignedAccountId32AsNative<RelayNetwork, Origin>,683 // Xcm origins can be represented natively under the Xcm pallet's Xcm origin.684 XcmPassthrough<Origin>,685);686687parameter_types! {688 // One XCM operation is 1_000_000 weight - almost certainly a conservative estimate.689 pub UnitWeightCost: Weight = 1_000_000;690 // 1200 UNIQUEs buy 1 second of weight.691 pub const WeightPrice: (MultiLocation, u128) = (MultiLocation::parent(), 1_200 * UNIQUE);692 pub const MaxInstructions: u32 = 100;693 pub const MaxAuthorities: u32 = 100_000;694}695696match_type! {697 pub type ParentOrParentsUnitPlurality: impl Contains<MultiLocation> = {698 MultiLocation { parents: 1, interior: Here } |699 MultiLocation { parents: 1, interior: X1(Plurality { id: BodyId::Unit, .. }) }700 };701}702703pub type Barrier = (704 TakeWeightCredit,705 AllowTopLevelPaidExecutionFrom<Everything>,706 AllowUnpaidExecutionFrom<ParentOrParentsUnitPlurality>,707 // ^^^ Parent & its unit plurality gets free execution708);709710pub struct UsingOnlySelfCurrencyComponents<711 WeightToFee: WeightToFeePolynomial<Balance = Currency::Balance>,712 AssetId: Get<MultiLocation>,713 AccountId,714 Currency: CurrencyT<AccountId>,715 OnUnbalanced: OnUnbalancedT<Currency::NegativeImbalance>,716>(717 Weight,718 Currency::Balance,719 PhantomData<(WeightToFee, AssetId, AccountId, Currency, OnUnbalanced)>,720);721impl<722 WeightToFee: WeightToFeePolynomial<Balance = Currency::Balance>,723 AssetId: Get<MultiLocation>,724 AccountId,725 Currency: CurrencyT<AccountId>,726 OnUnbalanced: OnUnbalancedT<Currency::NegativeImbalance>,727 > WeightTrader728 for UsingOnlySelfCurrencyComponents<WeightToFee, AssetId, AccountId, Currency, OnUnbalanced>729{730 fn new() -> Self {731 Self(0, Zero::zero(), PhantomData)732 }733734 fn buy_weight(&mut self, weight: Weight, payment: Assets) -> Result<Assets, XcmError> {735 let amount = WeightToFee::calc(&weight);736 let u128_amount: u128 = amount.try_into().map_err(|_| XcmError::Overflow)?;737738 // location to this parachain through relay chain739 let option1: xcm::v1::AssetId = Concrete(MultiLocation {740 parents: 1,741 interior: X1(Parachain(ParachainInfo::parachain_id().into())),742 });743 // direct location744 let option2: xcm::v1::AssetId = Concrete(MultiLocation {745 parents: 0,746 interior: Here,747 });748749 let required = if payment.fungible.contains_key(&option1) {750 (option1, u128_amount).into()751 } else if payment.fungible.contains_key(&option2) {752 (option2, u128_amount).into()753 } else {754 (Concrete(MultiLocation::default()), u128_amount).into()755 };756757 let unused = payment758 .checked_sub(required)759 .map_err(|_| XcmError::TooExpensive)?;760 self.0 = self.0.saturating_add(weight);761 self.1 = self.1.saturating_add(amount);762 Ok(unused)763 }764765 fn refund_weight(&mut self, weight: Weight) -> Option<MultiAsset> {766 let weight = weight.min(self.0);767 let amount = WeightToFee::calc(&weight);768 self.0 -= weight;769 self.1 = self.1.saturating_sub(amount);770 let amount: u128 = amount.saturated_into();771 if amount > 0 {772 Some((AssetId::get(), amount).into())773 } else {774 None775 }776 }777}778impl<779 WeightToFee: WeightToFeePolynomial<Balance = Currency::Balance>,780 AssetId: Get<MultiLocation>,781 AccountId,782 Currency: CurrencyT<AccountId>,783 OnUnbalanced: OnUnbalancedT<Currency::NegativeImbalance>,784 > Drop785 for UsingOnlySelfCurrencyComponents<WeightToFee, AssetId, AccountId, Currency, OnUnbalanced>786{787 fn drop(&mut self) {788 OnUnbalanced::on_unbalanced(Currency::issue(self.1));789 }790}791792pub struct XcmConfig;793impl Config for XcmConfig {794 type Call = Call;795 type XcmSender = XcmRouter;796 // How to withdraw and deposit an asset.797 type AssetTransactor = LocalAssetTransactor;798 type OriginConverter = XcmOriginToTransactDispatchOrigin;799 type IsReserve = NativeAsset;800 type IsTeleporter = (); // Teleportation is disabled801 type LocationInverter = LocationInverter<Ancestry>;802 type Barrier = Barrier;803 type Weigher = FixedWeightBounds<UnitWeightCost, Call, MaxInstructions>;804 type Trader = UsingOnlySelfCurrencyComponents<805 IdentityFee<Balance>,806 RelayLocation,807 AccountId,808 Balances,809 (),810 >;811 type ResponseHandler = (); // Don't handle responses for now.812 type SubscriptionService = PolkadotXcm;813814 type AssetTrap = PolkadotXcm;815 type AssetClaims = PolkadotXcm;816}817818// parameter_types! {819// pub const MaxDownwardMessageWeight: Weight = MAXIMUM_BLOCK_WEIGHT / 10;820// }821822/// No local origins on this chain are allowed to dispatch XCM sends/executions.823pub type LocalOriginToLocation = (SignedToAccountId32<Origin, AccountId, RelayNetwork>,);824825/// The means for routing XCM messages which are not for local execution into the right message826/// queues.827pub type XcmRouter = (828 // Two routers - use UMP to communicate with the relay chain:829 cumulus_primitives_utility::ParentAsUmp<ParachainSystem, ()>,830 // ..and XCMP to communicate with the sibling chains.831 XcmpQueue,832);833834impl pallet_evm_coder_substrate::Config for Runtime {835 type EthereumTransactionSender = pallet_ethereum::Pallet<Self>;836 type GasWeightMapping = FixedGasWeightMapping;837}838839impl pallet_xcm::Config for Runtime {840 type Event = Event;841 type SendXcmOrigin = EnsureXcmOrigin<Origin, LocalOriginToLocation>;842 type XcmRouter = XcmRouter;843 type ExecuteXcmOrigin = EnsureXcmOrigin<Origin, LocalOriginToLocation>;844 type XcmExecuteFilter = Everything;845 type XcmExecutor = XcmExecutor<XcmConfig>;846 type XcmTeleportFilter = Everything;847 type XcmReserveTransferFilter = Everything;848 type Weigher = FixedWeightBounds<UnitWeightCost, Call, MaxInstructions>;849 type LocationInverter = LocationInverter<Ancestry>;850 type Origin = Origin;851 type Call = Call;852 const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100;853 type AdvertisedXcmVersion = pallet_xcm::CurrentXcmVersion;854}855856impl cumulus_pallet_xcm::Config for Runtime {857 type Event = Event;858 type XcmExecutor = XcmExecutor<XcmConfig>;859}860861impl cumulus_pallet_xcmp_queue::Config for Runtime {862 type Event = Event;863 type XcmExecutor = XcmExecutor<XcmConfig>;864 type ChannelInfo = ParachainSystem;865 type VersionWrapper = ();866 type ExecuteOverweightOrigin = frame_system::EnsureRoot<AccountId>;867 type ControllerOrigin = EnsureRoot<AccountId>;868 type ControllerOriginConverter = XcmOriginToTransactDispatchOrigin;869}870871impl cumulus_pallet_dmp_queue::Config for Runtime {872 type Event = Event;873 type XcmExecutor = XcmExecutor<XcmConfig>;874 type ExecuteOverweightOrigin = frame_system::EnsureRoot<AccountId>;875}876877impl pallet_aura::Config for Runtime {878 type AuthorityId = AuraId;879 type DisabledValidators = ();880 type MaxAuthorities = MaxAuthorities;881}882883parameter_types! {884 pub TreasuryAccountId: AccountId = TreasuryModuleId::get().into_account();885 pub const CollectionCreationPrice: Balance = 2 * UNIQUE;886}887888impl pallet_common::Config for Runtime {889 type Event = Event;890 type EvmBackwardsAddressMapping = up_evm_mapping::MapBackwardsAddressTruncated;891 type EvmAddressMapping = HashedAddressMapping<Self::Hashing>;892 type CrossAccountId = pallet_common::account::BasicCrossAccountId<Self>;893894 type Currency = Balances;895 type CollectionCreationPrice = CollectionCreationPrice;896 type TreasuryAccountId = TreasuryAccountId;897}898899impl pallet_fungible::Config for Runtime {900 type WeightInfo = pallet_fungible::weights::SubstrateWeight<Self>;901}902impl pallet_refungible::Config for Runtime {903 type WeightInfo = pallet_refungible::weights::SubstrateWeight<Self>;904}905impl pallet_nonfungible::Config for Runtime {906 type WeightInfo = pallet_nonfungible::weights::SubstrateWeight<Self>;907}908909impl pallet_unique::Config for Runtime {910 type Event = Event;911 type WeightInfo = pallet_unique::weights::SubstrateWeight<Self>;912}913914parameter_types! {915 pub const InflationBlockInterval: BlockNumber = 100; // every time per how many blocks inflation is applied916}917918/// Used for the pallet inflation919impl pallet_inflation::Config for Runtime {920 type Currency = Balances;921 type TreasuryAccountId = TreasuryAccountId;922 type InflationBlockInterval = InflationBlockInterval;923 type BlockNumberProvider = RelayChainBlockNumberProvider<Runtime>;924}925926// parameter_types! {927// pub MaximumSchedulerWeight: Weight = Perbill::from_percent(50) *928// RuntimeBlockWeights::get().max_block;929// pub const MaxScheduledPerBlock: u32 = 50;930// }931932type EvmSponsorshipHandler = (933 pallet_unique::UniqueEthSponsorshipHandler<Runtime>,934 pallet_evm_contract_helpers::HelpersContractSponsoring<Runtime>,935);936type SponsorshipHandler = (937 pallet_unique::UniqueSponsorshipHandler<Runtime>,938 //pallet_contract_helpers::ContractSponsorshipHandler<Runtime>,939 pallet_evm_transaction_payment::BridgeSponsorshipHandler<Runtime>,940);941942// impl pallet_unq_scheduler::Config for Runtime {943// type Event = Event;944// type Origin = Origin;945// type PalletsOrigin = OriginCaller;946// type Call = Call;947// type MaximumWeight = MaximumSchedulerWeight;948// type ScheduleOrigin = EnsureSigned<AccountId>;949// type MaxScheduledPerBlock = MaxScheduledPerBlock;950// type SponsorshipHandler = SponsorshipHandler;951// type WeightInfo = ();952// }953954impl pallet_evm_transaction_payment::Config for Runtime {955 type EvmSponsorshipHandler = EvmSponsorshipHandler;956 type Currency = Balances;957 type EvmAddressMapping = HashedAddressMapping<Self::Hashing>;958 type EvmBackwardsAddressMapping = up_evm_mapping::MapBackwardsAddressTruncated;959}960961impl pallet_charge_transaction::Config for Runtime {962 type SponsorshipHandler = SponsorshipHandler;963}964965// impl pallet_contract_helpers::Config for Runtime {966// type DefaultSponsoringRateLimit = DefaultSponsoringRateLimit;967// }968969parameter_types! {970 // 0x842899ECF380553E8a4de75bF534cdf6fBF64049971 pub const HelpersContractAddress: H160 = H160([972 0x84, 0x28, 0x99, 0xec, 0xf3, 0x80, 0x55, 0x3e, 0x8a, 0x4d, 0xe7, 0x5b, 0xf5, 0x34, 0xcd, 0xf6, 0xfb, 0xf6, 0x40, 0x49,973 ]);974}975976impl pallet_evm_contract_helpers::Config for Runtime {977 type ContractAddress = HelpersContractAddress;978 type DefaultSponsoringRateLimit = DefaultSponsoringRateLimit;979}980981construct_runtime!(982 pub enum Runtime where983 Block = Block,984 NodeBlock = opaque::Block,985 UncheckedExtrinsic = UncheckedExtrinsic986 {987 ParachainSystem: cumulus_pallet_parachain_system::{Pallet, Call, Config, Storage, Inherent, Event<T>, ValidateUnsigned} = 20,988 ParachainInfo: parachain_info::{Pallet, Storage, Config} = 21,989990 Aura: pallet_aura::{Pallet, Config<T>} = 22,991 AuraExt: cumulus_pallet_aura_ext::{Pallet, Config} = 23,992993 Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>} = 30,994 RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Pallet, Storage} = 31,995 Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 32,996 TransactionPayment: pallet_transaction_payment::{Pallet, Storage} = 33,997 Treasury: pallet_treasury::{Pallet, Call, Storage, Config, Event<T>} = 34,998 Sudo: pallet_sudo::{Pallet, Call, Storage, Config<T>, Event<T>} = 35,999 System: frame_system::{Pallet, Call, Storage, Config, Event<T>} = 36,1000 Vesting: orml_vesting::{Pallet, Storage, Call, Event<T>, Config<T>} = 37,1001 // Vesting: pallet_vesting::{Pallet, Call, Config<T>, Storage, Event<T>} = 37,1002 // Contracts: pallet_contracts::{Pallet, Call, Storage, Event<T>} = 38,10031004 // XCM helpers.1005 XcmpQueue: cumulus_pallet_xcmp_queue::{Pallet, Call, Storage, Event<T>} = 50,1006 PolkadotXcm: pallet_xcm::{Pallet, Call, Event<T>, Origin} = 51,1007 CumulusXcm: cumulus_pallet_xcm::{Pallet, Call, Event<T>, Origin} = 52,1008 DmpQueue: cumulus_pallet_dmp_queue::{Pallet, Call, Storage, Event<T>} = 53,10091010 // Unique Pallets1011 Inflation: pallet_inflation::{Pallet, Call, Storage} = 60,1012 Unique: pallet_unique::{Pallet, Call, Storage, Event<T>} = 61,1013 // Scheduler: pallet_unq_scheduler::{Pallet, Call, Storage, Event<T>} = 62,1014 // free = 631015 Charging: pallet_charge_transaction::{Pallet, Call, Storage } = 64,1016 // ContractHelpers: pallet_contract_helpers::{Pallet, Call, Storage} = 65,1017 Common: pallet_common::{Pallet, Storage, Event<T>} = 66,1018 Fungible: pallet_fungible::{Pallet, Storage} = 67,1019 Refungible: pallet_refungible::{Pallet, Storage} = 68,1020 Nonfungible: pallet_nonfungible::{Pallet, Storage} = 69,10211022 // Frontier1023 EVM: pallet_evm::{Pallet, Config, Call, Storage, Event<T>} = 100,1024 Ethereum: pallet_ethereum::{Pallet, Config, Call, Storage, Event, Origin} = 101,10251026 EvmCoderSubstrate: pallet_evm_coder_substrate::{Pallet, Storage} = 150,1027 EvmContractHelpers: pallet_evm_contract_helpers::{Pallet, Storage} = 151,1028 EvmTransactionPayment: pallet_evm_transaction_payment::{Pallet} = 152,1029 EvmMigration: pallet_evm_migration::{Pallet, Call, Storage} = 153,1030 }1031);10321033pub struct TransactionConverter;10341035impl fp_rpc::ConvertTransaction<UncheckedExtrinsic> for TransactionConverter {1036 fn convert_transaction(&self, transaction: pallet_ethereum::Transaction) -> UncheckedExtrinsic {1037 UncheckedExtrinsic::new_unsigned(1038 pallet_ethereum::Call::<Runtime>::transact { transaction }.into(),1039 )1040 }1041}10421043impl fp_rpc::ConvertTransaction<opaque::UncheckedExtrinsic> for TransactionConverter {1044 fn convert_transaction(1045 &self,1046 transaction: pallet_ethereum::Transaction,1047 ) -> opaque::UncheckedExtrinsic {1048 let extrinsic = UncheckedExtrinsic::new_unsigned(1049 pallet_ethereum::Call::<Runtime>::transact { transaction }.into(),1050 );1051 let encoded = extrinsic.encode();1052 opaque::UncheckedExtrinsic::decode(&mut &encoded[..])1053 .expect("Encoded extrinsic is always valid")1054 }1055}10561057/// The address format for describing accounts.1058pub type Address = sp_runtime::MultiAddress<AccountId, ()>;1059/// Block header type as expected by this runtime.1060pub type Header = generic::Header<BlockNumber, BlakeTwo256>;1061/// Block type as expected by this runtime.1062pub type Block = generic::Block<Header, UncheckedExtrinsic>;1063/// A Block signed with a Justification1064pub type SignedBlock = generic::SignedBlock<Block>;1065/// BlockId type as expected by this runtime.1066pub type BlockId = generic::BlockId<Block>;1067/// The SignedExtension to the basic transaction logic.1068pub type SignedExtra = (1069 frame_system::CheckSpecVersion<Runtime>,1070 // system::CheckTxVersion<Runtime>,1071 frame_system::CheckGenesis<Runtime>,1072 frame_system::CheckEra<Runtime>,1073 frame_system::CheckNonce<Runtime>,1074 frame_system::CheckWeight<Runtime>,1075 pallet_charge_transaction::ChargeTransactionPayment<Runtime>,1076 //pallet_contract_helpers::ContractHelpersExtension<Runtime>,1077);1078/// Unchecked extrinsic type as expected by this runtime.1079pub type UncheckedExtrinsic =1080 fp_self_contained::UncheckedExtrinsic<Address, Call, Signature, SignedExtra>;1081/// Extrinsic type that has already been checked.1082pub type CheckedExtrinsic = fp_self_contained::CheckedExtrinsic<AccountId, Call, SignedExtra, H160>;1083/// Executive: handles dispatch to the various modules.1084pub type Executive = frame_executive::Executive<1085 Runtime,1086 Block,1087 frame_system::ChainContext<Runtime>,1088 Runtime,1089 AllPalletsReversedWithSystemFirst,1090>;10911092impl_opaque_keys! {1093 pub struct SessionKeys {1094 pub aura: Aura,1095 }1096}10971098impl fp_self_contained::SelfContainedCall for Call {1099 type SignedInfo = H160;11001101 fn is_self_contained(&self) -> bool {1102 match self {1103 Call::Ethereum(call) => call.is_self_contained(),1104 _ => false,1105 }1106 }11071108 fn check_self_contained(&self) -> Option<Result<Self::SignedInfo, TransactionValidityError>> {1109 match self {1110 Call::Ethereum(call) => call.check_self_contained(),1111 _ => None,1112 }1113 }11141115 fn validate_self_contained(&self, info: &Self::SignedInfo) -> Option<TransactionValidity> {1116 match self {1117 Call::Ethereum(call) => call.validate_self_contained(info),1118 _ => None,1119 }1120 }11211122 fn pre_dispatch_self_contained(1123 &self,1124 info: &Self::SignedInfo,1125 ) -> Option<Result<(), TransactionValidityError>> {1126 match self {1127 Call::Ethereum(call) => call.pre_dispatch_self_contained(info),1128 _ => None,1129 }1130 }11311132 fn apply_self_contained(1133 self,1134 info: Self::SignedInfo,1135 ) -> Option<sp_runtime::DispatchResultWithInfo<PostDispatchInfoOf<Self>>> {1136 match self {1137 call @ Call::Ethereum(pallet_ethereum::Call::transact { .. }) => Some(call.dispatch(1138 Origin::from(pallet_ethereum::RawOrigin::EthereumTransaction(info)),1139 )),1140 _ => None,1141 }1142 }1143}11441145macro_rules! dispatch_unique_runtime {1146 ($collection:ident.$method:ident($($name:ident),*)) => {{1147 use pallet_unique::dispatch::Dispatched;11481149 let collection = Dispatched::dispatch(<pallet_common::CollectionHandle<Runtime>>::try_get($collection)?);1150 let dispatch = collection.as_dyn();11511152 Ok(dispatch.$method($($name),*))1153 }};1154}1155impl_runtime_apis! {1156 impl up_rpc::UniqueApi<Block, CrossAccountId, AccountId>1157 for Runtime1158 {1159 fn account_tokens(collection: CollectionId, account: CrossAccountId) -> Result<Vec<TokenId>, DispatchError> {1160 dispatch_unique_runtime!(collection.account_tokens(account))1161 }1162 fn token_exists(collection: CollectionId, token: TokenId) -> Result<bool, DispatchError> {1163 dispatch_unique_runtime!(collection.token_exists(token))1164 }11651166 fn token_owner(collection: CollectionId, token: TokenId) -> Result<Option<CrossAccountId>, DispatchError> {1167 dispatch_unique_runtime!(collection.token_owner(token))1168 }1169 fn const_metadata(collection: CollectionId, token: TokenId) -> Result<Vec<u8>, DispatchError> {1170 dispatch_unique_runtime!(collection.const_metadata(token))1171 }1172 fn variable_metadata(collection: CollectionId, token: TokenId) -> Result<Vec<u8>, DispatchError> {1173 dispatch_unique_runtime!(collection.variable_metadata(token))1174 }11751176 fn collection_tokens(collection: CollectionId) -> Result<u32, DispatchError> {1177 dispatch_unique_runtime!(collection.collection_tokens())1178 }1179 fn account_balance(collection: CollectionId, account: CrossAccountId) -> Result<u32, DispatchError> {1180 dispatch_unique_runtime!(collection.account_balance(account))1181 }1182 fn balance(collection: CollectionId, account: CrossAccountId, token: TokenId) -> Result<u128, DispatchError> {1183 dispatch_unique_runtime!(collection.balance(account, token))1184 }1185 fn allowance(1186 collection: CollectionId,1187 sender: CrossAccountId,1188 spender: CrossAccountId,1189 token: TokenId,1190 ) -> Result<u128, DispatchError> {1191 dispatch_unique_runtime!(collection.allowance(sender, spender, token))1192 }11931194 fn eth_contract_code(account: H160) -> Option<Vec<u8>> {1195 <pallet_unique::UniqueErcSupport<Runtime>>::get_code(&account)1196 .or_else(|| <pallet_evm_migration::OnMethodCall<Runtime>>::get_code(&account))1197 .or_else(|| <pallet_evm_contract_helpers::HelpersOnMethodCall<Self>>::get_code(&account))1198 }1199 fn adminlist(collection: CollectionId) -> Result<Vec<CrossAccountId>, DispatchError> {1200 Ok(<pallet_common::Pallet<Runtime>>::adminlist(collection))1201 }1202 fn allowlist(collection: CollectionId) -> Result<Vec<CrossAccountId>, DispatchError> {1203 Ok(<pallet_common::Pallet<Runtime>>::allowlist(collection))1204 }1205 fn allowed(collection: CollectionId, user: CrossAccountId) -> Result<bool, DispatchError> {1206 Ok(<pallet_common::Pallet<Runtime>>::allowed(collection, user))1207 }1208 fn last_token_id(collection: CollectionId) -> Result<TokenId, DispatchError> {1209 dispatch_unique_runtime!(collection.last_token_id())1210 }1211 fn collection_by_id(collection: CollectionId) -> Result<Option<Collection<AccountId>>, DispatchError> {1212 Ok(<pallet_common::CollectionById<Runtime>>::get(collection))1213 }1214 fn collection_stats() -> Result<CollectionStats, DispatchError> {1215 Ok(<pallet_common::Pallet<Runtime>>::collection_stats())1216 }1217 }12181219 impl sp_api::Core<Block> for Runtime {1220 fn version() -> RuntimeVersion {1221 VERSION1222 }12231224 fn execute_block(block: Block) {1225 Executive::execute_block(block)1226 }12271228 fn initialize_block(header: &<Block as BlockT>::Header) {1229 Executive::initialize_block(header)1230 }1231 }12321233 impl sp_api::Metadata<Block> for Runtime {1234 fn metadata() -> OpaqueMetadata {1235 OpaqueMetadata::new(Runtime::metadata().into())1236 }1237 }12381239 impl sp_block_builder::BlockBuilder<Block> for Runtime {1240 fn apply_extrinsic(extrinsic: <Block as BlockT>::Extrinsic) -> ApplyExtrinsicResult {1241 Executive::apply_extrinsic(extrinsic)1242 }12431244 fn finalize_block() -> <Block as BlockT>::Header {1245 Executive::finalize_block()1246 }12471248 fn inherent_extrinsics(data: sp_inherents::InherentData) -> Vec<<Block as BlockT>::Extrinsic> {1249 data.create_extrinsics()1250 }12511252 fn check_inherents(1253 block: Block,1254 data: sp_inherents::InherentData,1255 ) -> sp_inherents::CheckInherentsResult {1256 data.check_extrinsics(&block)1257 }12581259 // fn random_seed() -> <Block as BlockT>::Hash {1260 // RandomnessCollectiveFlip::random_seed().01261 // }1262 }12631264 impl sp_transaction_pool::runtime_api::TaggedTransactionQueue<Block> for Runtime {1265 fn validate_transaction(1266 source: TransactionSource,1267 tx: <Block as BlockT>::Extrinsic,1268 hash: <Block as BlockT>::Hash,1269 ) -> TransactionValidity {1270 Executive::validate_transaction(source, tx, hash)1271 }1272 }12731274 impl sp_offchain::OffchainWorkerApi<Block> for Runtime {1275 fn offchain_worker(header: &<Block as BlockT>::Header) {1276 Executive::offchain_worker(header)1277 }1278 }12791280 impl fp_rpc::EthereumRuntimeRPCApi<Block> for Runtime {1281 fn chain_id() -> u64 {1282 <Runtime as pallet_evm::Config>::ChainId::get()1283 }12841285 fn account_basic(address: H160) -> EVMAccount {1286 EVM::account_basic(&address)1287 }12881289 fn gas_price() -> U256 {1290 <Runtime as pallet_evm::Config>::FeeCalculator::min_gas_price()1291 }12921293 fn account_code_at(address: H160) -> Vec<u8> {1294 EVM::account_codes(address)1295 }12961297 fn author() -> H160 {1298 <pallet_evm::Pallet<Runtime>>::find_author()1299 }13001301 fn storage_at(address: H160, index: U256) -> H256 {1302 let mut tmp = [0u8; 32];1303 index.to_big_endian(&mut tmp);1304 EVM::account_storages(address, H256::from_slice(&tmp[..]))1305 }13061307 #[allow(clippy::redundant_closure)]1308 fn call(1309 from: H160,1310 to: H160,1311 data: Vec<u8>,1312 value: U256,1313 gas_limit: U256,1314 max_fee_per_gas: Option<U256>,1315 max_priority_fee_per_gas: Option<U256>,1316 nonce: Option<U256>,1317 estimate: bool,1318 access_list: Option<Vec<(H160, Vec<H256>)>>,1319 ) -> Result<pallet_evm::CallInfo, sp_runtime::DispatchError> {1320 let config = if estimate {1321 let mut config = <Runtime as pallet_evm::Config>::config().clone();1322 config.estimate = true;1323 Some(config)1324 } else {1325 None1326 };13271328 <Runtime as pallet_evm::Config>::Runner::call(1329 from,1330 to,1331 data,1332 value,1333 gas_limit.low_u64(),1334 max_fee_per_gas,1335 max_priority_fee_per_gas,1336 nonce,1337 access_list.unwrap_or_default(),1338 config.as_ref().unwrap_or_else(|| <Runtime as pallet_evm::Config>::config()),1339 ).map_err(|err| err.into())1340 }13411342 #[allow(clippy::redundant_closure)]1343 fn create(1344 from: H160,1345 data: Vec<u8>,1346 value: U256,1347 gas_limit: U256,1348 max_fee_per_gas: Option<U256>,1349 max_priority_fee_per_gas: Option<U256>,1350 nonce: Option<U256>,1351 estimate: bool,1352 access_list: Option<Vec<(H160, Vec<H256>)>>,1353 ) -> Result<pallet_evm::CreateInfo, sp_runtime::DispatchError> {1354 let config = if estimate {1355 let mut config = <Runtime as pallet_evm::Config>::config().clone();1356 config.estimate = true;1357 Some(config)1358 } else {1359 None1360 };13611362 <Runtime as pallet_evm::Config>::Runner::create(1363 from,1364 data,1365 value,1366 gas_limit.low_u64(),1367 max_fee_per_gas,1368 max_priority_fee_per_gas,1369 nonce,1370 access_list.unwrap_or_default(),1371 config.as_ref().unwrap_or_else(|| <Runtime as pallet_evm::Config>::config()),1372 ).map_err(|err| err.into())1373 }13741375 fn current_transaction_statuses() -> Option<Vec<TransactionStatus>> {1376 Ethereum::current_transaction_statuses()1377 }13781379 fn current_block() -> Option<pallet_ethereum::Block> {1380 Ethereum::current_block()1381 }13821383 fn current_receipts() -> Option<Vec<pallet_ethereum::Receipt>> {1384 Ethereum::current_receipts()1385 }13861387 fn current_all() -> (1388 Option<pallet_ethereum::Block>,1389 Option<Vec<pallet_ethereum::Receipt>>,1390 Option<Vec<TransactionStatus>>1391 ) {1392 (1393 Ethereum::current_block(),1394 Ethereum::current_receipts(),1395 Ethereum::current_transaction_statuses()1396 )1397 }13981399 fn extrinsic_filter(xts: Vec<<Block as sp_api::BlockT>::Extrinsic>) -> Vec<pallet_ethereum::Transaction> {1400 xts.into_iter().filter_map(|xt| match xt.0.function {1401 Call::Ethereum(pallet_ethereum::Call::transact { transaction }) => Some(transaction),1402 _ => None1403 }).collect()1404 }14051406 fn elasticity() -> Option<Permill> {1407 None1408 }1409 }14101411 impl sp_session::SessionKeys<Block> for Runtime {1412 fn decode_session_keys(1413 encoded: Vec<u8>,1414 ) -> Option<Vec<(Vec<u8>, KeyTypeId)>> {1415 SessionKeys::decode_into_raw_public_keys(&encoded)1416 }14171418 fn generate_session_keys(seed: Option<Vec<u8>>) -> Vec<u8> {1419 SessionKeys::generate(seed)1420 }1421 }14221423 impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {1424 fn slot_duration() -> sp_consensus_aura::SlotDuration {1425 sp_consensus_aura::SlotDuration::from_millis(Aura::slot_duration())1426 }14271428 fn authorities() -> Vec<AuraId> {1429 Aura::authorities().to_vec()1430 }1431 }14321433 impl cumulus_primitives_core::CollectCollationInfo<Block> for Runtime {1434 fn collect_collation_info(header: &<Block as BlockT>::Header) -> cumulus_primitives_core::CollationInfo {1435 ParachainSystem::collect_collation_info(header)1436 }1437 }14381439 impl frame_system_rpc_runtime_api::AccountNonceApi<Block, AccountId, Index> for Runtime {1440 fn account_nonce(account: AccountId) -> Index {1441 System::account_nonce(account)1442 }1443 }14441445 impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi<Block, Balance> for Runtime {1446 fn query_info(uxt: <Block as BlockT>::Extrinsic, len: u32) -> RuntimeDispatchInfo<Balance> {1447 TransactionPayment::query_info(uxt, len)1448 }1449 fn query_fee_details(uxt: <Block as BlockT>::Extrinsic, len: u32) -> FeeDetails<Balance> {1450 TransactionPayment::query_fee_details(uxt, len)1451 }1452 }14531454 /*1455 impl pallet_contracts_rpc_runtime_api::ContractsApi<Block, AccountId, Balance, BlockNumber, Hash>1456 for Runtime1457 {1458 fn call(1459 origin: AccountId,1460 dest: AccountId,1461 value: Balance,1462 gas_limit: u64,1463 input_data: Vec<u8>,1464 ) -> pallet_contracts_primitives::ContractExecResult {1465 Contracts::bare_call(origin, dest, value, gas_limit, input_data, false)1466 }14671468 fn instantiate(1469 origin: AccountId,1470 endowment: Balance,1471 gas_limit: u64,1472 code: pallet_contracts_primitives::Code<Hash>,1473 data: Vec<u8>,1474 salt: Vec<u8>,1475 ) -> pallet_contracts_primitives::ContractInstantiateResult<AccountId, BlockNumber>1476 {1477 Contracts::bare_instantiate(origin, endowment, gas_limit, code, data, salt, true, false)1478 }14791480 fn get_storage(1481 address: AccountId,1482 key: [u8; 32],1483 ) -> pallet_contracts_primitives::GetStorageResult {1484 Contracts::get_storage(address, key)1485 }14861487 fn rent_projection(1488 address: AccountId,1489 ) -> pallet_contracts_primitives::RentProjectionResult<BlockNumber> {1490 Contracts::rent_projection(address)1491 }1492 }1493 */14941495 #[cfg(feature = "runtime-benchmarks")]1496 impl frame_benchmarking::Benchmark<Block> for Runtime {1497 fn benchmark_metadata(extra: bool) -> (1498 Vec<frame_benchmarking::BenchmarkList>,1499 Vec<frame_support::traits::StorageInfo>,1500 ) {1501 use frame_benchmarking::{list_benchmark, Benchmarking, BenchmarkList};1502 use frame_support::traits::StorageInfoTrait;15031504 let mut list = Vec::<BenchmarkList>::new();15051506 list_benchmark!(list, extra, pallet_evm_migration, EvmMigration);1507 list_benchmark!(list, extra, pallet_unique, Unique);1508 list_benchmark!(list, extra, pallet_inflation, Inflation);1509 list_benchmark!(list, extra, pallet_fungible, Fungible);1510 list_benchmark!(list, extra, pallet_refungible, Refungible);1511 list_benchmark!(list, extra, pallet_nonfungible, Nonfungible);1512 // list_benchmark!(list, extra, pallet_evm_coder_substrate, EvmCoderSubstrate);15131514 let storage_info = AllPalletsReversedWithSystemFirst::storage_info();15151516 return (list, storage_info)1517 }15181519 fn dispatch_benchmark(1520 config: frame_benchmarking::BenchmarkConfig1521 ) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, sp_runtime::RuntimeString> {1522 use frame_benchmarking::{Benchmarking, BenchmarkBatch, add_benchmark, TrackedStorageKey};15231524 let allowlist: Vec<TrackedStorageKey> = vec![1525 // Block Number1526 hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef702a5c1b19ab7a04f536c519aca4983ac").to_vec().into(),1527 // Total Issuance1528 hex_literal::hex!("c2261276cc9d1f8598ea4b6a74b15c2f57c875e4cff74148e4628f264b974c80").to_vec().into(),1529 // Execution Phase1530 hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef7ff553b5a9862a516939d82b3d3d8661a").to_vec().into(),1531 // Event Count1532 hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef70a98fdbe9ce6c55837576c60c7af3850").to_vec().into(),1533 // System Events1534 hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef780d41e5e16056765bc8461851072c9d7").to_vec().into(),1535 ];15361537 let mut batches = Vec::<BenchmarkBatch>::new();1538 let params = (&config, &allowlist);15391540 add_benchmark!(params, batches, pallet_evm_migration, EvmMigration);1541 add_benchmark!(params, batches, pallet_unique, Unique);1542 add_benchmark!(params, batches, pallet_inflation, Inflation);1543 add_benchmark!(params, batches, pallet_fungible, Fungible);1544 add_benchmark!(params, batches, pallet_refungible, Refungible);1545 add_benchmark!(params, batches, pallet_nonfungible, Nonfungible);1546 // add_benchmark!(params, batches, pallet_evm_coder_substrate, EvmCoderSubstrate);15471548 if batches.is_empty() { return Err("Benchmark not found for this pallet.".into()) }1549 Ok(batches)1550 }1551 }1552}15531554struct CheckInherents;15551556impl cumulus_pallet_parachain_system::CheckInherents<Block> for CheckInherents {1557 fn check_inherents(1558 block: &Block,1559 relay_state_proof: &cumulus_pallet_parachain_system::RelayChainStateProof,1560 ) -> sp_inherents::CheckInherentsResult {1561 let relay_chain_slot = relay_state_proof1562 .read_slot()1563 .expect("Could not read the relay chain slot from the proof");15641565 let inherent_data =1566 cumulus_primitives_timestamp::InherentDataProvider::from_relay_chain_slot_and_duration(1567 relay_chain_slot,1568 sp_std::time::Duration::from_secs(6),1569 )1570 .create_inherent_data()1571 .expect("Could not create the timestamp inherent data");15721573 inherent_data.check_extrinsics(block)1574 }1575}15761577cumulus_pallet_parachain_system::register_validate_block!(1578 Runtime = Runtime,1579 BlockExecutor = cumulus_pallet_aura_ext::BlockExecutor::<Runtime, Executive>,1580 CheckInherents = CheckInherents,1581);tests/README.mddiffbeforeafterboth--- a/tests/README.md
+++ b/tests/README.md
@@ -5,7 +5,7 @@
1. Checkout polkadot in sibling folder with this project
```bash
git clone https://github.com/paritytech/polkadot.git && cd polkadot
-git checkout release-v0.9.16
+git checkout release-v0.9.17
```
2. Build with nightly-2021-11-11
tests/src/interfaces/augment-api-consts.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-consts.ts
+++ b/tests/src/interfaces/augment-api-consts.ts
@@ -30,6 +30,7 @@
};
common: {
collectionAdminsLimit: u32 & AugmentedConst<ApiType>;
+ collectionCreationPrice: u128 & AugmentedConst<ApiType>;
/**
* Generic const
**/
@@ -137,6 +138,8 @@
burn: Permill & AugmentedConst<ApiType>;
/**
* The maximum number of approvals that can wait in the spending queue.
+ *
+ * NOTE: This parameter is also used within the Bounties Pallet extension if enabled.
**/
maxApprovals: u32 & AugmentedConst<ApiType>;
/**
tests/src/interfaces/augment-api-query.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-query.ts
+++ b/tests/src/interfaces/augment-api-query.ts
@@ -12,8 +12,29 @@
export interface AugmentedQueries<ApiType extends ApiTypes> {
balances: {
/**
- * The balance of an account.
+ * 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.
* NOTE: This is only used in the case that this pallet is used to store balances.
**/
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
@@ -588,6 +609,10 @@
**/
queueConfig: AugmentedQuery<ApiType, () => Observable<CumulusPalletXcmpQueueQueueConfigData>, []> & QueryableStorageEntry<ApiType, []>;
/**
+ * Whether or not the XCMP queue is suspended from executing incoming XCMs or not.
+ **/
+ queueSuspended: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
* Any signal messages waiting to be sent.
**/
signalMessages: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-tx.ts
+++ b/tests/src/interfaces/augment-api-tx.ts
@@ -425,11 +425,6 @@
remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
/**
* Make some on-chain remark and emit event.
- *
- * # <weight>
- * - `O(b)` where b is the length of the remark.
- * - 1 event.
- * # </weight>
**/
remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
/**
@@ -982,6 +977,14 @@
};
xcmpQueue: {
/**
+ * Resumes all XCM executions for the XCMP queue.
+ *
+ * Note that this function doesn't change the status of the in/out bound channels.
+ *
+ * - `origin`: Must pass `ControllerOrigin`.
+ **/
+ resumeXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
+ /**
* Services a single overweight XCM.
*
* - `origin`: Must pass `ExecuteOverweightOrigin`.
@@ -998,6 +1001,59 @@
**/
serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;
/**
+ * Suspends all XCM executions for the XCMP queue, regardless of the sender's origin.
+ *
+ * - `origin`: Must pass `ControllerOrigin`.
+ **/
+ suspendXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
+ /**
+ * Overwrites the number of pages of messages which must be in the queue after which we drop any further
+ * messages from the channel.
+ *
+ * - `origin`: Must pass `Root`.
+ * - `new`: Desired value for `QueueConfigData.drop_threshold`
+ **/
+ updateDropThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
+ /**
+ * Overwrites the number of pages of messages which the queue must be reduced to before it signals that
+ * message sending may recommence after it has been suspended.
+ *
+ * - `origin`: Must pass `Root`.
+ * - `new`: Desired value for `QueueConfigData.resume_threshold`
+ **/
+ updateResumeThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
+ /**
+ * Overwrites the number of pages of messages which must be in the queue for the other side to be told to
+ * suspend their sending.
+ *
+ * - `origin`: Must pass `Root`.
+ * - `new`: Desired value for `QueueConfigData.suspend_value`
+ **/
+ updateSuspendThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
+ /**
+ * Overwrites the amount of remaining weight under which we stop processing messages.
+ *
+ * - `origin`: Must pass `Root`.
+ * - `new`: Desired value for `QueueConfigData.threshold_weight`
+ **/
+ updateThresholdWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
+ /**
+ * Overwrites the speed to which the available weight approaches the maximum weight.
+ * A lower number results in a faster progression. A value of 1 makes the entire weight available initially.
+ *
+ * - `origin`: Must pass `Root`.
+ * - `new`: Desired value for `QueueConfigData.weight_restrict_decay`.
+ **/
+ updateWeightRestrictDecay: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
+ /**
+ * Overwrite the maximum amount of weight any individual message may consume.
+ * Messages above this weight go into the overweight queue and may only be serviced explicitly.
+ *
+ * - `origin`: Must pass `Root`.
+ * - `new`: Desired value for `QueueConfigData.xcmp_max_individual_weight`.
+ **/
+ updateXcmpMaxIndividualWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
+ /**
* Generic tx
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
tests/src/interfaces/augment-types.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-types.ts
+++ b/tests/src/interfaces/augment-types.ts
@@ -1,7 +1,7 @@
// 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, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, 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, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1AbridgedHrmpChannel, PolkadotPrimitivesV1PersistedValidationData, PolkadotPrimitivesV1UpgradeRestriction, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpTrieStorageProof, SpVersionRuntimeVersion, UniqueRuntimeRuntime, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateNftData, UpDataStructsCreateReFungibleData, 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 './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, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, 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, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1AbridgedHrmpChannel, PolkadotPrimitivesV1PersistedValidationData, PolkadotPrimitivesV1UpgradeRestriction, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpTrieStorageProof, SpVersionRuntimeVersion, UniqueRuntimeRuntime, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateNftData, UpDataStructsCreateReFungibleData, 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 './unique';
import type { Data, StorageKey } from '@polkadot/types';
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';
@@ -18,7 +18,7 @@
import type { StatementKind } from '@polkadot/types/interfaces/claims';
import type { CollectiveOrigin, MemberCount, ProposalIndex, Votes, VotesTo230 } from '@polkadot/types/interfaces/collective';
import type { AuthorityId, RawVRFOutput } from '@polkadot/types/interfaces/consensus';
-import type { AliveContractInfo, CodeHash, CodeSource, CodeUploadRequest, CodeUploadResult, CodeUploadResultValue, ContractCallFlags, ContractCallRequest, ContractExecResult, ContractExecResultErr, ContractExecResultErrModule, ContractExecResultOk, ContractExecResultResult, ContractExecResultSuccessTo255, ContractExecResultSuccessTo260, ContractExecResultTo255, ContractExecResultTo260, ContractExecResultTo267, ContractInfo, ContractInstantiateResult, ContractInstantiateResultTo267, ContractInstantiateResultTo299, ContractReturnFlags, ContractStorageKey, DeletedContract, ExecReturnValue, Gas, HostFnWeights, HostFnWeightsTo264, InstantiateRequest, InstantiateRequestV1, InstantiateRequestV2, InstantiateReturnValue, InstantiateReturnValueOk, InstantiateReturnValueTo267, InstructionWeights, Limits, LimitsTo264, PrefabWasmModule, RentProjection, Schedule, ScheduleTo212, ScheduleTo258, ScheduleTo264, SeedOf, StorageDeposit, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts';
+import type { AliveContractInfo, CodeHash, CodeUploadRequest, CodeUploadResult, CodeUploadResultValue, ContractCallFlags, ContractCallRequest, ContractExecResult, ContractExecResultErr, ContractExecResultErrModule, ContractExecResultOk, ContractExecResultResult, ContractExecResultSuccessTo255, ContractExecResultSuccessTo260, ContractExecResultTo255, ContractExecResultTo260, ContractExecResultTo267, ContractInfo, ContractInstantiateResult, ContractInstantiateResultTo267, ContractReturnFlags, ContractStorageKey, DeletedContract, ExecReturnValue, Gas, HostFnWeights, HostFnWeightsTo264, InstantiateRequest, InstantiateReturnValue, InstantiateReturnValueTo267, InstructionWeights, Limits, LimitsTo264, PrefabWasmModule, RentProjection, Schedule, ScheduleTo212, ScheduleTo258, ScheduleTo264, SeedOf, StorageDeposit, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts';
import type { ContractConstructorSpecLatest, ContractConstructorSpecV0, ContractConstructorSpecV1, ContractConstructorSpecV2, ContractConstructorSpecV3, ContractContractSpecV0, ContractContractSpecV1, ContractContractSpecV2, ContractContractSpecV3, ContractCryptoHasher, ContractDiscriminant, ContractDisplayName, ContractEventParamSpecLatest, ContractEventParamSpecV0, ContractEventParamSpecV2, ContractEventSpecLatest, ContractEventSpecV0, ContractEventSpecV1, ContractEventSpecV2, ContractLayoutArray, ContractLayoutCell, ContractLayoutEnum, ContractLayoutHash, ContractLayoutHashingStrategy, ContractLayoutKey, ContractLayoutStruct, ContractLayoutStructField, ContractMessageParamSpecLatest, ContractMessageParamSpecV0, ContractMessageParamSpecV2, ContractMessageSpecLatest, ContractMessageSpecV0, ContractMessageSpecV1, ContractMessageSpecV2, ContractMetadata, ContractMetadataLatest, ContractMetadataV0, ContractMetadataV1, ContractMetadataV2, ContractMetadataV3, ContractProject, ContractProjectContract, ContractProjectInfo, ContractProjectSource, ContractProjectV0, ContractSelector, ContractStorageLayout, ContractTypeSpec } from '@polkadot/types/interfaces/contractsAbi';
import type { FundIndex, FundInfo, LastContribution, TrieIndex } from '@polkadot/types/interfaces/crowdloan';
import type { ConfigData, MessageId, OverweightIndex, PageCounter, PageIndexData } from '@polkadot/types/interfaces/cumulus';
@@ -198,7 +198,6 @@
ClassMetadata: ClassMetadata;
CodecHash: CodecHash;
CodeHash: CodeHash;
- CodeSource: CodeSource;
CodeUploadRequest: CodeUploadRequest;
CodeUploadResult: CodeUploadResult;
CodeUploadResultValue: CodeUploadResultValue;
@@ -251,7 +250,6 @@
ContractInfo: ContractInfo;
ContractInstantiateResult: ContractInstantiateResult;
ContractInstantiateResultTo267: ContractInstantiateResultTo267;
- ContractInstantiateResultTo299: ContractInstantiateResultTo299;
ContractLayoutArray: ContractLayoutArray;
ContractLayoutCell: ContractLayoutCell;
ContractLayoutEnum: ContractLayoutEnum;
@@ -593,10 +591,7 @@
InstanceId: InstanceId;
InstanceMetadata: InstanceMetadata;
InstantiateRequest: InstantiateRequest;
- InstantiateRequestV1: InstantiateRequestV1;
- InstantiateRequestV2: InstantiateRequestV2;
InstantiateReturnValue: InstantiateReturnValue;
- InstantiateReturnValueOk: InstantiateReturnValueOk;
InstantiateReturnValueTo267: InstantiateReturnValueTo267;
InstructionV2: InstructionV2;
InstructionWeights: InstructionWeights;
@@ -1054,6 +1049,7 @@
SpRuntimeDigest: SpRuntimeDigest;
SpRuntimeDigestDigestItem: SpRuntimeDigestDigestItem;
SpRuntimeDispatchError: SpRuntimeDispatchError;
+ SpRuntimeModuleError: SpRuntimeModuleError;
SpRuntimeMultiSignature: SpRuntimeMultiSignature;
SpRuntimeTokenError: SpRuntimeTokenError;
SpTrieStorageProof: SpTrieStorageProof;
tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -260,7 +260,7 @@
_enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']
},
/**
- * Lookup60: pallet_timestamp::pallet::Call<T>
+ * Lookup61: pallet_timestamp::pallet::Call<T>
**/
PalletTimestampCall: {
_enum: {
@@ -270,13 +270,13 @@
}
},
/**
- * Lookup63: pallet_transaction_payment::Releases
+ * Lookup64: pallet_transaction_payment::Releases
**/
PalletTransactionPaymentReleases: {
_enum: ['V1Ancient', 'V2']
},
/**
- * Lookup65: frame_support::weights::WeightToFeeCoefficient<Balance>
+ * Lookup66: frame_support::weights::WeightToFeeCoefficient<Balance>
**/
FrameSupportWeightsWeightToFeeCoefficient: {
coeffInteger: 'u128',
@@ -285,7 +285,7 @@
degree: 'u8'
},
/**
- * Lookup67: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
+ * Lookup68: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
**/
PalletTreasuryProposal: {
proposer: 'AccountId32',
@@ -294,7 +294,7 @@
bond: 'u128'
},
/**
- * Lookup70: pallet_treasury::pallet::Call<T, I>
+ * Lookup71: pallet_treasury::pallet::Call<T, I>
**/
PalletTreasuryCall: {
_enum: {
@@ -311,7 +311,7 @@
}
},
/**
- * Lookup72: pallet_treasury::pallet::Event<T, I>
+ * Lookup73: pallet_treasury::pallet::Event<T, I>
**/
PalletTreasuryEvent: {
_enum: {
@@ -342,17 +342,17 @@
}
},
/**
- * Lookup75: frame_support::PalletId
+ * Lookup76: frame_support::PalletId
**/
FrameSupportPalletId: '[u8;8]',
/**
- * Lookup76: pallet_treasury::pallet::Error<T, I>
+ * Lookup77: pallet_treasury::pallet::Error<T, I>
**/
PalletTreasuryError: {
_enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals']
},
/**
- * Lookup77: pallet_sudo::pallet::Call<T>
+ * Lookup78: pallet_sudo::pallet::Call<T>
**/
PalletSudoCall: {
_enum: {
@@ -376,7 +376,7 @@
}
},
/**
- * Lookup79: frame_system::pallet::Call<T>
+ * Lookup80: frame_system::pallet::Call<T>
**/
FrameSystemCall: {
_enum: {
@@ -414,7 +414,7 @@
}
},
/**
- * Lookup82: orml_vesting::module::Call<T>
+ * Lookup83: orml_vesting::module::Call<T>
**/
OrmlVestingModuleCall: {
_enum: {
@@ -433,7 +433,7 @@
}
},
/**
- * Lookup83: orml_vesting::VestingSchedule<BlockNumber, Balance>
+ * Lookup84: orml_vesting::VestingSchedule<BlockNumber, Balance>
**/
OrmlVestingVestingSchedule: {
start: 'u32',
@@ -442,18 +442,56 @@
perPeriod: 'Compact<u128>'
},
/**
- * Lookup85: cumulus_pallet_xcmp_queue::pallet::Call<T>
+ * Lookup86: cumulus_pallet_xcmp_queue::pallet::Call<T>
**/
CumulusPalletXcmpQueueCall: {
_enum: {
service_overweight: {
index: 'u64',
- weightLimit: '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'
}
}
},
/**
- * Lookup86: pallet_xcm::pallet::Call<T>
+ * Lookup87: pallet_xcm::pallet::Call<T>
**/
PalletXcmCall: {
_enum: {
@@ -507,7 +545,7 @@
}
},
/**
- * Lookup87: xcm::VersionedMultiLocation
+ * Lookup88: xcm::VersionedMultiLocation
**/
XcmVersionedMultiLocation: {
_enum: {
@@ -516,7 +554,7 @@
}
},
/**
- * Lookup88: xcm::v0::multi_location::MultiLocation
+ * Lookup89: xcm::v0::multi_location::MultiLocation
**/
XcmV0MultiLocation: {
_enum: {
@@ -532,7 +570,7 @@
}
},
/**
- * Lookup89: xcm::v0::junction::Junction
+ * Lookup90: xcm::v0::junction::Junction
**/
XcmV0Junction: {
_enum: {
@@ -561,7 +599,7 @@
}
},
/**
- * Lookup90: xcm::v0::junction::NetworkId
+ * Lookup91: xcm::v0::junction::NetworkId
**/
XcmV0JunctionNetworkId: {
_enum: {
@@ -572,7 +610,7 @@
}
},
/**
- * Lookup91: xcm::v0::junction::BodyId
+ * Lookup92: xcm::v0::junction::BodyId
**/
XcmV0JunctionBodyId: {
_enum: {
@@ -586,7 +624,7 @@
}
},
/**
- * Lookup92: xcm::v0::junction::BodyPart
+ * Lookup93: xcm::v0::junction::BodyPart
**/
XcmV0JunctionBodyPart: {
_enum: {
@@ -609,14 +647,14 @@
}
},
/**
- * Lookup93: xcm::v1::multilocation::MultiLocation
+ * Lookup94: xcm::v1::multilocation::MultiLocation
**/
XcmV1MultiLocation: {
parents: 'u8',
interior: 'XcmV1MultilocationJunctions'
},
/**
- * Lookup94: xcm::v1::multilocation::Junctions
+ * Lookup95: xcm::v1::multilocation::Junctions
**/
XcmV1MultilocationJunctions: {
_enum: {
@@ -632,7 +670,7 @@
}
},
/**
- * Lookup95: xcm::v1::junction::Junction
+ * Lookup96: xcm::v1::junction::Junction
**/
XcmV1Junction: {
_enum: {
@@ -660,7 +698,7 @@
}
},
/**
- * Lookup96: xcm::VersionedXcm<Call>
+ * Lookup97: xcm::VersionedXcm<Call>
**/
XcmVersionedXcm: {
_enum: {
@@ -670,7 +708,7 @@
}
},
/**
- * Lookup97: xcm::v0::Xcm<Call>
+ * Lookup98: xcm::v0::Xcm<Call>
**/
XcmV0Xcm: {
_enum: {
@@ -724,7 +762,7 @@
}
},
/**
- * Lookup99: xcm::v0::multi_asset::MultiAsset
+ * Lookup100: xcm::v0::multi_asset::MultiAsset
**/
XcmV0MultiAsset: {
_enum: {
@@ -763,7 +801,7 @@
}
},
/**
- * Lookup100: xcm::v1::multiasset::AssetInstance
+ * Lookup101: xcm::v1::multiasset::AssetInstance
**/
XcmV1MultiassetAssetInstance: {
_enum: {
@@ -777,7 +815,7 @@
}
},
/**
- * Lookup104: xcm::v0::order::Order<Call>
+ * Lookup105: xcm::v0::order::Order<Call>
**/
XcmV0Order: {
_enum: {
@@ -820,7 +858,7 @@
}
},
/**
- * Lookup106: xcm::v0::Response
+ * Lookup107: xcm::v0::Response
**/
XcmV0Response: {
_enum: {
@@ -828,19 +866,19 @@
}
},
/**
- * Lookup107: xcm::v0::OriginKind
+ * Lookup108: xcm::v0::OriginKind
**/
XcmV0OriginKind: {
_enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']
},
/**
- * Lookup108: xcm::double_encoded::DoubleEncoded<T>
+ * Lookup109: xcm::double_encoded::DoubleEncoded<T>
**/
XcmDoubleEncoded: {
encoded: 'Bytes'
},
/**
- * Lookup109: xcm::v1::Xcm<Call>
+ * Lookup110: xcm::v1::Xcm<Call>
**/
XcmV1Xcm: {
_enum: {
@@ -899,18 +937,18 @@
}
},
/**
- * Lookup110: xcm::v1::multiasset::MultiAssets
+ * Lookup111: xcm::v1::multiasset::MultiAssets
**/
XcmV1MultiassetMultiAssets: 'Vec<XcmV1MultiAsset>',
/**
- * Lookup112: xcm::v1::multiasset::MultiAsset
+ * Lookup113: xcm::v1::multiasset::MultiAsset
**/
XcmV1MultiAsset: {
id: 'XcmV1MultiassetAssetId',
fun: 'XcmV1MultiassetFungibility'
},
/**
- * Lookup113: xcm::v1::multiasset::AssetId
+ * Lookup114: xcm::v1::multiasset::AssetId
**/
XcmV1MultiassetAssetId: {
_enum: {
@@ -919,7 +957,7 @@
}
},
/**
- * Lookup114: xcm::v1::multiasset::Fungibility
+ * Lookup115: xcm::v1::multiasset::Fungibility
**/
XcmV1MultiassetFungibility: {
_enum: {
@@ -928,7 +966,7 @@
}
},
/**
- * Lookup116: xcm::v1::order::Order<Call>
+ * Lookup117: xcm::v1::order::Order<Call>
**/
XcmV1Order: {
_enum: {
@@ -973,7 +1011,7 @@
}
},
/**
- * Lookup117: xcm::v1::multiasset::MultiAssetFilter
+ * Lookup118: xcm::v1::multiasset::MultiAssetFilter
**/
XcmV1MultiassetMultiAssetFilter: {
_enum: {
@@ -982,7 +1020,7 @@
}
},
/**
- * Lookup118: xcm::v1::multiasset::WildMultiAsset
+ * Lookup119: xcm::v1::multiasset::WildMultiAsset
**/
XcmV1MultiassetWildMultiAsset: {
_enum: {
@@ -994,13 +1032,13 @@
}
},
/**
- * Lookup119: xcm::v1::multiasset::WildFungibility
+ * Lookup120: xcm::v1::multiasset::WildFungibility
**/
XcmV1MultiassetWildFungibility: {
_enum: ['Fungible', 'NonFungible']
},
/**
- * Lookup121: xcm::v1::Response
+ * Lookup122: xcm::v1::Response
**/
XcmV1Response: {
_enum: {
@@ -1009,11 +1047,11 @@
}
},
/**
- * Lookup122: xcm::v2::Xcm<Call>
+ * Lookup123: xcm::v2::Xcm<Call>
**/
XcmV2Xcm: 'Vec<XcmV2Instruction>',
/**
- * Lookup124: xcm::v2::Instruction<Call>
+ * Lookup125: xcm::v2::Instruction<Call>
**/
XcmV2Instruction: {
_enum: {
@@ -1111,7 +1149,7 @@
}
},
/**
- * Lookup125: xcm::v2::Response
+ * Lookup126: xcm::v2::Response
**/
XcmV2Response: {
_enum: {
@@ -1122,7 +1160,7 @@
}
},
/**
- * Lookup128: xcm::v2::traits::Error
+ * Lookup129: xcm::v2::traits::Error
**/
XcmV2TraitsError: {
_enum: {
@@ -1155,7 +1193,7 @@
}
},
/**
- * Lookup129: xcm::v2::WeightLimit
+ * Lookup130: xcm::v2::WeightLimit
**/
XcmV2WeightLimit: {
_enum: {
@@ -1164,7 +1202,7 @@
}
},
/**
- * Lookup130: xcm::VersionedMultiAssets
+ * Lookup131: xcm::VersionedMultiAssets
**/
XcmVersionedMultiAssets: {
_enum: {
@@ -1173,11 +1211,11 @@
}
},
/**
- * Lookup145: cumulus_pallet_xcm::pallet::Call<T>
+ * Lookup146: cumulus_pallet_xcm::pallet::Call<T>
**/
CumulusPalletXcmCall: 'Null',
/**
- * Lookup146: cumulus_pallet_dmp_queue::pallet::Call<T>
+ * Lookup147: cumulus_pallet_dmp_queue::pallet::Call<T>
**/
CumulusPalletDmpQueueCall: {
_enum: {
@@ -1188,7 +1226,7 @@
}
},
/**
- * Lookup147: pallet_inflation::pallet::Call<T>
+ * Lookup148: pallet_inflation::pallet::Call<T>
**/
PalletInflationCall: {
_enum: {
@@ -1198,7 +1236,7 @@
}
},
/**
- * Lookup148: pallet_unique::Call<T>
+ * Lookup149: pallet_unique::Call<T>
**/
PalletUniqueCall: {
_enum: {
@@ -1328,7 +1366,7 @@
}
},
/**
- * Lookup154: up_data_structs::CollectionMode
+ * Lookup155: up_data_structs::CollectionMode
**/
UpDataStructsCollectionMode: {
_enum: {
@@ -1338,7 +1376,7 @@
}
},
/**
- * Lookup155: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>
+ * Lookup156: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>
**/
UpDataStructsCreateCollectionData: {
mode: 'UpDataStructsCollectionMode',
@@ -1355,24 +1393,24 @@
metaUpdatePermission: 'Option<UpDataStructsMetaUpdatePermission>'
},
/**
- * Lookup157: up_data_structs::AccessMode
+ * Lookup158: up_data_structs::AccessMode
**/
UpDataStructsAccessMode: {
_enum: ['Normal', 'AllowList']
},
/**
- * Lookup160: up_data_structs::SchemaVersion
+ * Lookup161: up_data_structs::SchemaVersion
**/
UpDataStructsSchemaVersion: {
_enum: ['ImageURL', 'Unique']
},
/**
- * Lookup163: up_data_structs::CollectionLimits
+ * Lookup164: up_data_structs::CollectionLimits
**/
UpDataStructsCollectionLimits: {
accountTokenOwnershipLimit: 'Option<u32>',
sponsoredDataSize: 'Option<u32>',
- sponsoredDataRateLimit: 'Option<Option<u32>>',
+ sponsoredDataRateLimit: 'Option<UpDataStructsSponsoringRateLimit>',
tokenLimit: 'Option<u32>',
sponsorTransferTimeout: 'Option<u32>',
sponsorApproveTimeout: 'Option<u32>',
@@ -1381,13 +1419,22 @@
transfersEnabled: 'Option<bool>'
},
/**
- * Lookup169: up_data_structs::MetaUpdatePermission
+ * Lookup166: up_data_structs::SponsoringRateLimit
+ **/
+ UpDataStructsSponsoringRateLimit: {
+ _enum: {
+ SponsoringDisabled: 'Null',
+ Blocks: 'u32'
+ }
+ },
+ /**
+ * Lookup170: up_data_structs::MetaUpdatePermission
**/
UpDataStructsMetaUpdatePermission: {
_enum: ['ItemOwner', 'Admin', 'None']
},
/**
- * Lookup171: pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>
+ * Lookup172: pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>
**/
PalletCommonAccountBasicCrossAccountIdRepr: {
_enum: {
@@ -1396,7 +1443,7 @@
}
},
/**
- * Lookup173: up_data_structs::CreateItemData
+ * Lookup174: up_data_structs::CreateItemData
**/
UpDataStructsCreateItemData: {
_enum: {
@@ -1406,20 +1453,20 @@
}
},
/**
- * Lookup174: up_data_structs::CreateNftData
+ * Lookup175: up_data_structs::CreateNftData
**/
UpDataStructsCreateNftData: {
constData: 'Bytes',
variableData: 'Bytes'
},
/**
- * Lookup176: up_data_structs::CreateFungibleData
+ * Lookup177: up_data_structs::CreateFungibleData
**/
UpDataStructsCreateFungibleData: {
value: 'u128'
},
/**
- * Lookup177: up_data_structs::CreateReFungibleData
+ * Lookup178: up_data_structs::CreateReFungibleData
**/
UpDataStructsCreateReFungibleData: {
constData: 'Bytes',
@@ -1427,11 +1474,11 @@
pieces: 'u128'
},
/**
- * Lookup180: pallet_template_transaction_payment::Call<T>
+ * Lookup181: pallet_template_transaction_payment::Call<T>
**/
PalletTemplateTransactionPaymentCall: 'Null',
/**
- * Lookup181: pallet_evm::pallet::Call<T>
+ * Lookup182: pallet_evm::pallet::Call<T>
**/
PalletEvmCall: {
_enum: {
@@ -1474,7 +1521,7 @@
}
},
/**
- * Lookup187: pallet_ethereum::pallet::Call<T>
+ * Lookup188: pallet_ethereum::pallet::Call<T>
**/
PalletEthereumCall: {
_enum: {
@@ -1484,7 +1531,7 @@
}
},
/**
- * Lookup188: ethereum::transaction::TransactionV2
+ * Lookup189: ethereum::transaction::TransactionV2
**/
EthereumTransactionTransactionV2: {
_enum: {
@@ -1494,7 +1541,7 @@
}
},
/**
- * Lookup189: ethereum::transaction::LegacyTransaction
+ * Lookup190: ethereum::transaction::LegacyTransaction
**/
EthereumTransactionLegacyTransaction: {
nonce: 'U256',
@@ -1506,7 +1553,7 @@
signature: 'EthereumTransactionTransactionSignature'
},
/**
- * Lookup190: ethereum::transaction::TransactionAction
+ * Lookup191: ethereum::transaction::TransactionAction
**/
EthereumTransactionTransactionAction: {
_enum: {
@@ -1515,7 +1562,7 @@
}
},
/**
- * Lookup191: ethereum::transaction::TransactionSignature
+ * Lookup192: ethereum::transaction::TransactionSignature
**/
EthereumTransactionTransactionSignature: {
v: 'u64',
@@ -1523,7 +1570,7 @@
s: 'H256'
},
/**
- * Lookup193: ethereum::transaction::EIP2930Transaction
+ * Lookup194: ethereum::transaction::EIP2930Transaction
**/
EthereumTransactionEip2930Transaction: {
chainId: 'u64',
@@ -1539,14 +1586,14 @@
s: 'H256'
},
/**
- * Lookup195: ethereum::transaction::AccessListItem
+ * Lookup196: ethereum::transaction::AccessListItem
**/
EthereumTransactionAccessListItem: {
address: 'H160',
slots: 'Vec<H256>'
},
/**
- * Lookup196: ethereum::transaction::EIP1559Transaction
+ * Lookup197: ethereum::transaction::EIP1559Transaction
**/
EthereumTransactionEip1559Transaction: {
chainId: 'u64',
@@ -1563,7 +1610,7 @@
s: 'H256'
},
/**
- * Lookup197: pallet_evm_migration::pallet::Call<T>
+ * Lookup198: pallet_evm_migration::pallet::Call<T>
**/
PalletEvmMigrationCall: {
_enum: {
@@ -1581,7 +1628,7 @@
}
},
/**
- * Lookup200: pallet_sudo::pallet::Event<T>
+ * Lookup201: pallet_sudo::pallet::Event<T>
**/
PalletSudoEvent: {
_enum: {
@@ -1597,17 +1644,14 @@
}
},
/**
- * Lookup202: sp_runtime::DispatchError
+ * Lookup203: sp_runtime::DispatchError
**/
SpRuntimeDispatchError: {
_enum: {
Other: 'Null',
CannotLookup: 'Null',
BadOrigin: 'Null',
- Module: {
- index: 'u8',
- error: 'u8',
- },
+ Module: 'SpRuntimeModuleError',
ConsumerRemaining: 'Null',
NoProviders: 'Null',
TooManyConsumers: 'Null',
@@ -1616,25 +1660,32 @@
}
},
/**
- * Lookup203: sp_runtime::TokenError
+ * Lookup204: sp_runtime::ModuleError
+ **/
+ SpRuntimeModuleError: {
+ index: 'u8',
+ error: 'u8'
+ },
+ /**
+ * Lookup205: sp_runtime::TokenError
**/
SpRuntimeTokenError: {
_enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']
},
/**
- * Lookup204: sp_runtime::ArithmeticError
+ * Lookup206: sp_runtime::ArithmeticError
**/
SpRuntimeArithmeticError: {
_enum: ['Underflow', 'Overflow', 'DivisionByZero']
},
/**
- * Lookup205: pallet_sudo::pallet::Error<T>
+ * Lookup207: pallet_sudo::pallet::Error<T>
**/
PalletSudoError: {
_enum: ['RequireSudo']
},
/**
- * Lookup206: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>
+ * Lookup208: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>
**/
FrameSystemAccountInfo: {
nonce: 'u32',
@@ -1644,7 +1695,7 @@
data: 'PalletBalancesAccountData'
},
/**
- * Lookup207: frame_support::weights::PerDispatchClass<T>
+ * Lookup209: frame_support::weights::PerDispatchClass<T>
**/
FrameSupportWeightsPerDispatchClassU64: {
normal: 'u64',
@@ -1652,13 +1703,13 @@
mandatory: 'u64'
},
/**
- * Lookup208: sp_runtime::generic::digest::Digest
+ * Lookup210: sp_runtime::generic::digest::Digest
**/
SpRuntimeDigest: {
logs: 'Vec<SpRuntimeDigestDigestItem>'
},
/**
- * Lookup210: sp_runtime::generic::digest::DigestItem
+ * Lookup212: sp_runtime::generic::digest::DigestItem
**/
SpRuntimeDigestDigestItem: {
_enum: {
@@ -1674,7 +1725,7 @@
}
},
/**
- * Lookup212: frame_system::EventRecord<unique_runtime::Event, primitive_types::H256>
+ * Lookup214: frame_system::EventRecord<unique_runtime::Event, primitive_types::H256>
**/
FrameSystemEventRecord: {
phase: 'FrameSystemPhase',
@@ -1682,7 +1733,7 @@
topics: 'Vec<H256>'
},
/**
- * Lookup214: frame_system::pallet::Event<T>
+ * Lookup216: frame_system::pallet::Event<T>
**/
FrameSystemEvent: {
_enum: {
@@ -1710,7 +1761,7 @@
}
},
/**
- * Lookup215: frame_support::weights::DispatchInfo
+ * Lookup217: frame_support::weights::DispatchInfo
**/
FrameSupportWeightsDispatchInfo: {
weight: 'u64',
@@ -1718,19 +1769,19 @@
paysFee: 'FrameSupportWeightsPays'
},
/**
- * Lookup216: frame_support::weights::DispatchClass
+ * Lookup218: frame_support::weights::DispatchClass
**/
FrameSupportWeightsDispatchClass: {
_enum: ['Normal', 'Operational', 'Mandatory']
},
/**
- * Lookup217: frame_support::weights::Pays
+ * Lookup219: frame_support::weights::Pays
**/
FrameSupportWeightsPays: {
_enum: ['Yes', 'No']
},
/**
- * Lookup218: orml_vesting::module::Event<T>
+ * Lookup220: orml_vesting::module::Event<T>
**/
OrmlVestingModuleEvent: {
_enum: {
@@ -1749,7 +1800,7 @@
}
},
/**
- * Lookup219: cumulus_pallet_xcmp_queue::pallet::Event<T>
+ * Lookup221: cumulus_pallet_xcmp_queue::pallet::Event<T>
**/
CumulusPalletXcmpQueueEvent: {
_enum: {
@@ -1764,7 +1815,7 @@
}
},
/**
- * Lookup220: pallet_xcm::pallet::Event<T>
+ * Lookup222: pallet_xcm::pallet::Event<T>
**/
PalletXcmEvent: {
_enum: {
@@ -1787,7 +1838,7 @@
}
},
/**
- * Lookup221: xcm::v2::traits::Outcome
+ * Lookup223: xcm::v2::traits::Outcome
**/
XcmV2TraitsOutcome: {
_enum: {
@@ -1797,7 +1848,7 @@
}
},
/**
- * Lookup223: cumulus_pallet_xcm::pallet::Event<T>
+ * Lookup225: cumulus_pallet_xcm::pallet::Event<T>
**/
CumulusPalletXcmEvent: {
_enum: {
@@ -1807,7 +1858,7 @@
}
},
/**
- * Lookup224: cumulus_pallet_dmp_queue::pallet::Event<T>
+ * Lookup226: cumulus_pallet_dmp_queue::pallet::Event<T>
**/
CumulusPalletDmpQueueEvent: {
_enum: {
@@ -1820,7 +1871,7 @@
}
},
/**
- * Lookup225: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup227: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
PalletUniqueRawEvent: {
_enum: {
@@ -1842,7 +1893,7 @@
}
},
/**
- * Lookup226: pallet_common::pallet::Event<T>
+ * Lookup228: pallet_common::pallet::Event<T>
**/
PalletCommonEvent: {
_enum: {
@@ -1855,7 +1906,7 @@
}
},
/**
- * Lookup227: pallet_evm::pallet::Event<T>
+ * Lookup229: pallet_evm::pallet::Event<T>
**/
PalletEvmEvent: {
_enum: {
@@ -1869,7 +1920,7 @@
}
},
/**
- * Lookup228: ethereum::log::Log
+ * Lookup230: ethereum::log::Log
**/
EthereumLog: {
address: 'H160',
@@ -1877,7 +1928,7 @@
data: 'Bytes'
},
/**
- * Lookup229: pallet_ethereum::pallet::Event
+ * Lookup231: pallet_ethereum::pallet::Event
**/
PalletEthereumEvent: {
_enum: {
@@ -1885,7 +1936,7 @@
}
},
/**
- * Lookup230: evm_core::error::ExitReason
+ * Lookup232: evm_core::error::ExitReason
**/
EvmCoreErrorExitReason: {
_enum: {
@@ -1896,13 +1947,13 @@
}
},
/**
- * Lookup231: evm_core::error::ExitSucceed
+ * Lookup233: evm_core::error::ExitSucceed
**/
EvmCoreErrorExitSucceed: {
_enum: ['Stopped', 'Returned', 'Suicided']
},
/**
- * Lookup232: evm_core::error::ExitError
+ * Lookup234: evm_core::error::ExitError
**/
EvmCoreErrorExitError: {
_enum: {
@@ -1924,13 +1975,13 @@
}
},
/**
- * Lookup235: evm_core::error::ExitRevert
+ * Lookup237: evm_core::error::ExitRevert
**/
EvmCoreErrorExitRevert: {
_enum: ['Reverted']
},
/**
- * Lookup236: evm_core::error::ExitFatal
+ * Lookup238: evm_core::error::ExitFatal
**/
EvmCoreErrorExitFatal: {
_enum: {
@@ -1941,7 +1992,7 @@
}
},
/**
- * Lookup237: frame_system::Phase
+ * Lookup239: frame_system::Phase
**/
FrameSystemPhase: {
_enum: {
@@ -1951,14 +2002,14 @@
}
},
/**
- * Lookup239: frame_system::LastRuntimeUpgradeInfo
+ * Lookup241: frame_system::LastRuntimeUpgradeInfo
**/
FrameSystemLastRuntimeUpgradeInfo: {
specVersion: 'Compact<u32>',
specName: 'Text'
},
/**
- * Lookup240: frame_system::limits::BlockWeights
+ * Lookup242: frame_system::limits::BlockWeights
**/
FrameSystemLimitsBlockWeights: {
baseBlock: 'u64',
@@ -1966,7 +2017,7 @@
perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'
},
/**
- * Lookup241: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>
+ * Lookup243: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>
**/
FrameSupportWeightsPerDispatchClassWeightsPerClass: {
normal: 'FrameSystemLimitsWeightsPerClass',
@@ -1974,7 +2025,7 @@
mandatory: 'FrameSystemLimitsWeightsPerClass'
},
/**
- * Lookup242: frame_system::limits::WeightsPerClass
+ * Lookup244: frame_system::limits::WeightsPerClass
**/
FrameSystemLimitsWeightsPerClass: {
baseExtrinsic: 'u64',
@@ -1983,13 +2034,13 @@
reserved: 'Option<u64>'
},
/**
- * Lookup244: frame_system::limits::BlockLength
+ * Lookup246: frame_system::limits::BlockLength
**/
FrameSystemLimitsBlockLength: {
max: 'FrameSupportWeightsPerDispatchClassU32'
},
/**
- * Lookup245: frame_support::weights::PerDispatchClass<T>
+ * Lookup247: frame_support::weights::PerDispatchClass<T>
**/
FrameSupportWeightsPerDispatchClassU32: {
normal: 'u32',
@@ -1997,14 +2048,14 @@
mandatory: 'u32'
},
/**
- * Lookup246: frame_support::weights::RuntimeDbWeight
+ * Lookup248: frame_support::weights::RuntimeDbWeight
**/
FrameSupportWeightsRuntimeDbWeight: {
read: 'u64',
write: 'u64'
},
/**
- * Lookup247: sp_version::RuntimeVersion
+ * Lookup249: sp_version::RuntimeVersion
**/
SpVersionRuntimeVersion: {
specName: 'Text',
@@ -2017,19 +2068,19 @@
stateVersion: 'u8'
},
/**
- * Lookup251: frame_system::pallet::Error<T>
+ * Lookup253: frame_system::pallet::Error<T>
**/
FrameSystemError: {
_enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']
},
/**
- * Lookup253: orml_vesting::module::Error<T>
+ * Lookup255: orml_vesting::module::Error<T>
**/
OrmlVestingModuleError: {
_enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']
},
/**
- * Lookup255: cumulus_pallet_xcmp_queue::InboundChannelDetails
+ * Lookup257: cumulus_pallet_xcmp_queue::InboundChannelDetails
**/
CumulusPalletXcmpQueueInboundChannelDetails: {
sender: 'u32',
@@ -2037,19 +2088,19 @@
messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'
},
/**
- * Lookup256: cumulus_pallet_xcmp_queue::InboundState
+ * Lookup258: cumulus_pallet_xcmp_queue::InboundState
**/
CumulusPalletXcmpQueueInboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup259: polkadot_parachain::primitives::XcmpMessageFormat
+ * Lookup261: polkadot_parachain::primitives::XcmpMessageFormat
**/
PolkadotParachainPrimitivesXcmpMessageFormat: {
_enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']
},
/**
- * Lookup262: cumulus_pallet_xcmp_queue::OutboundChannelDetails
+ * Lookup264: cumulus_pallet_xcmp_queue::OutboundChannelDetails
**/
CumulusPalletXcmpQueueOutboundChannelDetails: {
recipient: 'u32',
@@ -2059,13 +2110,13 @@
lastIndex: 'u16'
},
/**
- * Lookup263: cumulus_pallet_xcmp_queue::OutboundState
+ * Lookup265: cumulus_pallet_xcmp_queue::OutboundState
**/
CumulusPalletXcmpQueueOutboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup265: cumulus_pallet_xcmp_queue::QueueConfigData
+ * Lookup267: cumulus_pallet_xcmp_queue::QueueConfigData
**/
CumulusPalletXcmpQueueQueueConfigData: {
suspendThreshold: 'u32',
@@ -2076,29 +2127,29 @@
xcmpMaxIndividualWeight: 'u64'
},
/**
- * Lookup267: cumulus_pallet_xcmp_queue::pallet::Error<T>
+ * Lookup269: cumulus_pallet_xcmp_queue::pallet::Error<T>
**/
CumulusPalletXcmpQueueError: {
_enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']
},
/**
- * Lookup268: pallet_xcm::pallet::Error<T>
+ * Lookup270: pallet_xcm::pallet::Error<T>
**/
PalletXcmError: {
_enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']
},
/**
- * Lookup269: cumulus_pallet_xcm::pallet::Error<T>
+ * Lookup271: cumulus_pallet_xcm::pallet::Error<T>
**/
CumulusPalletXcmError: 'Null',
/**
- * Lookup270: cumulus_pallet_dmp_queue::ConfigData
+ * Lookup272: cumulus_pallet_dmp_queue::ConfigData
**/
CumulusPalletDmpQueueConfigData: {
maxIndividual: 'u64'
},
/**
- * Lookup271: cumulus_pallet_dmp_queue::PageIndexData
+ * Lookup273: cumulus_pallet_dmp_queue::PageIndexData
**/
CumulusPalletDmpQueuePageIndexData: {
beginUsed: 'u32',
@@ -2106,19 +2157,19 @@
overweightCount: 'u64'
},
/**
- * Lookup274: cumulus_pallet_dmp_queue::pallet::Error<T>
+ * Lookup276: cumulus_pallet_dmp_queue::pallet::Error<T>
**/
CumulusPalletDmpQueueError: {
_enum: ['Unknown', 'OverLimit']
},
/**
- * Lookup278: pallet_unique::Error<T>
+ * Lookup280: pallet_unique::Error<T>
**/
PalletUniqueError: {
_enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument']
},
/**
- * Lookup279: up_data_structs::Collection<sp_core::crypto::AccountId32>
+ * Lookup281: up_data_structs::Collection<sp_core::crypto::AccountId32>
**/
UpDataStructsCollection: {
owner: 'AccountId32',
@@ -2137,7 +2188,7 @@
metaUpdatePermission: 'UpDataStructsMetaUpdatePermission'
},
/**
- * Lookup280: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
+ * Lookup282: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
**/
UpDataStructsSponsorshipState: {
_enum: {
@@ -2147,7 +2198,7 @@
}
},
/**
- * Lookup283: up_data_structs::CollectionStats
+ * Lookup285: up_data_structs::CollectionStats
**/
UpDataStructsCollectionStats: {
created: 'u32',
@@ -2155,32 +2206,32 @@
alive: 'u32'
},
/**
- * Lookup284: pallet_common::pallet::Error<T>
+ * Lookup286: 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']
},
/**
- * Lookup286: pallet_fungible::pallet::Error<T>
+ * Lookup288: pallet_fungible::pallet::Error<T>
**/
PalletFungibleError: {
_enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData']
},
/**
- * Lookup287: pallet_refungible::ItemData
+ * Lookup289: pallet_refungible::ItemData
**/
PalletRefungibleItemData: {
constData: 'Bytes',
variableData: 'Bytes'
},
/**
- * Lookup291: pallet_refungible::pallet::Error<T>
+ * Lookup293: pallet_refungible::pallet::Error<T>
**/
PalletRefungibleError: {
_enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces']
},
/**
- * Lookup292: pallet_nonfungible::ItemData<pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup294: pallet_nonfungible::ItemData<pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
PalletNonfungibleItemData: {
constData: 'Bytes',
@@ -2188,19 +2239,19 @@
owner: 'PalletCommonAccountBasicCrossAccountIdRepr'
},
/**
- * Lookup293: pallet_nonfungible::pallet::Error<T>
+ * Lookup295: pallet_nonfungible::pallet::Error<T>
**/
PalletNonfungibleError: {
_enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount']
},
/**
- * Lookup295: pallet_evm::pallet::Error<T>
+ * Lookup297: pallet_evm::pallet::Error<T>
**/
PalletEvmError: {
_enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']
},
/**
- * Lookup298: fp_rpc::TransactionStatus
+ * Lookup300: fp_rpc::TransactionStatus
**/
FpRpcTransactionStatus: {
transactionHash: 'H256',
@@ -2212,11 +2263,11 @@
logsBloom: 'EthbloomBloom'
},
/**
- * Lookup301: ethbloom::Bloom
+ * Lookup303: ethbloom::Bloom
**/
EthbloomBloom: '[u8;256]',
/**
- * Lookup303: ethereum::receipt::ReceiptV3
+ * Lookup305: ethereum::receipt::ReceiptV3
**/
EthereumReceiptReceiptV3: {
_enum: {
@@ -2226,7 +2277,7 @@
}
},
/**
- * Lookup304: ethereum::receipt::EIP658ReceiptData
+ * Lookup306: ethereum::receipt::EIP658ReceiptData
**/
EthereumReceiptEip658ReceiptData: {
statusCode: 'u8',
@@ -2235,7 +2286,7 @@
logs: 'Vec<EthereumLog>'
},
/**
- * Lookup305: ethereum::block::Block<ethereum::transaction::TransactionV2>
+ * Lookup307: ethereum::block::Block<ethereum::transaction::TransactionV2>
**/
EthereumBlock: {
header: 'EthereumHeader',
@@ -2243,7 +2294,7 @@
ommers: 'Vec<EthereumHeader>'
},
/**
- * Lookup306: ethereum::header::Header
+ * Lookup308: ethereum::header::Header
**/
EthereumHeader: {
parentHash: 'H256',
@@ -2263,41 +2314,41 @@
nonce: 'EthereumTypesHashH64'
},
/**
- * Lookup307: ethereum_types::hash::H64
+ * Lookup309: ethereum_types::hash::H64
**/
EthereumTypesHashH64: '[u8;8]',
/**
- * Lookup312: pallet_ethereum::pallet::Error<T>
+ * Lookup314: pallet_ethereum::pallet::Error<T>
**/
PalletEthereumError: {
_enum: ['InvalidSignature', 'PreLogExists']
},
/**
- * Lookup313: pallet_evm_coder_substrate::pallet::Error<T>
+ * Lookup315: pallet_evm_coder_substrate::pallet::Error<T>
**/
PalletEvmCoderSubstrateError: {
_enum: ['OutOfGas', 'OutOfFund']
},
/**
- * Lookup314: pallet_evm_contract_helpers::SponsoringModeT
+ * Lookup316: pallet_evm_contract_helpers::SponsoringModeT
**/
PalletEvmContractHelpersSponsoringModeT: {
_enum: ['Disabled', 'Allowlisted', 'Generous']
},
/**
- * Lookup316: pallet_evm_contract_helpers::pallet::Error<T>
+ * Lookup318: pallet_evm_contract_helpers::pallet::Error<T>
**/
PalletEvmContractHelpersError: {
_enum: ['NoPermission']
},
/**
- * Lookup317: pallet_evm_migration::pallet::Error<T>
+ * Lookup319: pallet_evm_migration::pallet::Error<T>
**/
PalletEvmMigrationError: {
_enum: ['AccountNotEmpty', 'AccountIsNotMigrating']
},
/**
- * Lookup319: sp_runtime::MultiSignature
+ * Lookup321: sp_runtime::MultiSignature
**/
SpRuntimeMultiSignature: {
_enum: {
@@ -2307,39 +2358,39 @@
}
},
/**
- * Lookup320: sp_core::ed25519::Signature
+ * Lookup322: sp_core::ed25519::Signature
**/
SpCoreEd25519Signature: '[u8;64]',
/**
- * Lookup322: sp_core::sr25519::Signature
+ * Lookup324: sp_core::sr25519::Signature
**/
SpCoreSr25519Signature: '[u8;64]',
/**
- * Lookup323: sp_core::ecdsa::Signature
+ * Lookup325: sp_core::ecdsa::Signature
**/
SpCoreEcdsaSignature: '[u8;65]',
/**
- * Lookup326: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
+ * Lookup328: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
**/
FrameSystemExtensionsCheckSpecVersion: 'Null',
/**
- * Lookup327: frame_system::extensions::check_genesis::CheckGenesis<T>
+ * Lookup329: frame_system::extensions::check_genesis::CheckGenesis<T>
**/
FrameSystemExtensionsCheckGenesis: 'Null',
/**
- * Lookup330: frame_system::extensions::check_nonce::CheckNonce<T>
+ * Lookup332: frame_system::extensions::check_nonce::CheckNonce<T>
**/
FrameSystemExtensionsCheckNonce: 'Compact<u32>',
/**
- * Lookup331: frame_system::extensions::check_weight::CheckWeight<T>
+ * Lookup333: frame_system::extensions::check_weight::CheckWeight<T>
**/
FrameSystemExtensionsCheckWeight: 'Null',
/**
- * Lookup332: pallet_template_transaction_payment::ChargeTransactionPayment<unique_runtime::Runtime>
+ * Lookup334: pallet_template_transaction_payment::ChargeTransactionPayment<unique_runtime::Runtime>
**/
PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
/**
- * Lookup333: unique_runtime::Runtime
+ * Lookup335: unique_runtime::Runtime
**/
UniqueRuntimeRuntime: 'Null'
};
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -284,7 +284,7 @@
readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';
}
- /** @name PalletTimestampCall (60) */
+ /** @name PalletTimestampCall (61) */
export interface PalletTimestampCall extends Enum {
readonly isSet: boolean;
readonly asSet: {
@@ -293,14 +293,14 @@
readonly type: 'Set';
}
- /** @name PalletTransactionPaymentReleases (63) */
+ /** @name PalletTransactionPaymentReleases (64) */
export interface PalletTransactionPaymentReleases extends Enum {
readonly isV1Ancient: boolean;
readonly isV2: boolean;
readonly type: 'V1Ancient' | 'V2';
}
- /** @name FrameSupportWeightsWeightToFeeCoefficient (65) */
+ /** @name FrameSupportWeightsWeightToFeeCoefficient (66) */
export interface FrameSupportWeightsWeightToFeeCoefficient extends Struct {
readonly coeffInteger: u128;
readonly coeffFrac: Perbill;
@@ -308,7 +308,7 @@
readonly degree: u8;
}
- /** @name PalletTreasuryProposal (67) */
+ /** @name PalletTreasuryProposal (68) */
export interface PalletTreasuryProposal extends Struct {
readonly proposer: AccountId32;
readonly value: u128;
@@ -316,7 +316,7 @@
readonly bond: u128;
}
- /** @name PalletTreasuryCall (70) */
+ /** @name PalletTreasuryCall (71) */
export interface PalletTreasuryCall extends Enum {
readonly isProposeSpend: boolean;
readonly asProposeSpend: {
@@ -334,7 +334,7 @@
readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal';
}
- /** @name PalletTreasuryEvent (72) */
+ /** @name PalletTreasuryEvent (73) */
export interface PalletTreasuryEvent extends Enum {
readonly isProposed: boolean;
readonly asProposed: {
@@ -370,10 +370,10 @@
readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit';
}
- /** @name FrameSupportPalletId (75) */
+ /** @name FrameSupportPalletId (76) */
export interface FrameSupportPalletId extends U8aFixed {}
- /** @name PalletTreasuryError (76) */
+ /** @name PalletTreasuryError (77) */
export interface PalletTreasuryError extends Enum {
readonly isInsufficientProposersBalance: boolean;
readonly isInvalidIndex: boolean;
@@ -381,7 +381,7 @@
readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals';
}
- /** @name PalletSudoCall (77) */
+ /** @name PalletSudoCall (78) */
export interface PalletSudoCall extends Enum {
readonly isSudo: boolean;
readonly asSudo: {
@@ -404,7 +404,7 @@
readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';
}
- /** @name FrameSystemCall (79) */
+ /** @name FrameSystemCall (80) */
export interface FrameSystemCall extends Enum {
readonly isFillBlock: boolean;
readonly asFillBlock: {
@@ -446,7 +446,7 @@
readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';
}
- /** @name OrmlVestingModuleCall (82) */
+ /** @name OrmlVestingModuleCall (83) */
export interface OrmlVestingModuleCall extends Enum {
readonly isClaim: boolean;
readonly isVestedTransfer: boolean;
@@ -466,7 +466,7 @@
readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';
}
- /** @name OrmlVestingVestingSchedule (83) */
+ /** @name OrmlVestingVestingSchedule (84) */
export interface OrmlVestingVestingSchedule extends Struct {
readonly start: u32;
readonly period: u32;
@@ -474,17 +474,43 @@
readonly perPeriod: Compact<u128>;
}
- /** @name CumulusPalletXcmpQueueCall (85) */
+ /** @name CumulusPalletXcmpQueueCall (86) */
export interface CumulusPalletXcmpQueueCall extends Enum {
readonly isServiceOverweight: boolean;
readonly asServiceOverweight: {
readonly index: u64;
readonly weightLimit: u64;
} & Struct;
- readonly type: 'ServiceOverweight';
+ 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 (86) */
+ /** @name PalletXcmCall (87) */
export interface PalletXcmCall extends Enum {
readonly isSend: boolean;
readonly asSend: {
@@ -546,7 +572,7 @@
readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';
}
- /** @name XcmVersionedMultiLocation (87) */
+ /** @name XcmVersionedMultiLocation (88) */
export interface XcmVersionedMultiLocation extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0MultiLocation;
@@ -555,7 +581,7 @@
readonly type: 'V0' | 'V1';
}
- /** @name XcmV0MultiLocation (88) */
+ /** @name XcmV0MultiLocation (89) */
export interface XcmV0MultiLocation extends Enum {
readonly isNull: boolean;
readonly isX1: boolean;
@@ -577,7 +603,7 @@
readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';
}
- /** @name XcmV0Junction (89) */
+ /** @name XcmV0Junction (90) */
export interface XcmV0Junction extends Enum {
readonly isParent: boolean;
readonly isParachain: boolean;
@@ -612,7 +638,7 @@
readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';
}
- /** @name XcmV0JunctionNetworkId (90) */
+ /** @name XcmV0JunctionNetworkId (91) */
export interface XcmV0JunctionNetworkId extends Enum {
readonly isAny: boolean;
readonly isNamed: boolean;
@@ -622,7 +648,7 @@
readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';
}
- /** @name XcmV0JunctionBodyId (91) */
+ /** @name XcmV0JunctionBodyId (92) */
export interface XcmV0JunctionBodyId extends Enum {
readonly isUnit: boolean;
readonly isNamed: boolean;
@@ -636,7 +662,7 @@
readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';
}
- /** @name XcmV0JunctionBodyPart (92) */
+ /** @name XcmV0JunctionBodyPart (93) */
export interface XcmV0JunctionBodyPart extends Enum {
readonly isVoice: boolean;
readonly isMembers: boolean;
@@ -661,13 +687,13 @@
readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';
}
- /** @name XcmV1MultiLocation (93) */
+ /** @name XcmV1MultiLocation (94) */
export interface XcmV1MultiLocation extends Struct {
readonly parents: u8;
readonly interior: XcmV1MultilocationJunctions;
}
- /** @name XcmV1MultilocationJunctions (94) */
+ /** @name XcmV1MultilocationJunctions (95) */
export interface XcmV1MultilocationJunctions extends Enum {
readonly isHere: boolean;
readonly isX1: boolean;
@@ -689,7 +715,7 @@
readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';
}
- /** @name XcmV1Junction (95) */
+ /** @name XcmV1Junction (96) */
export interface XcmV1Junction extends Enum {
readonly isParachain: boolean;
readonly asParachain: Compact<u32>;
@@ -723,7 +749,7 @@
readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';
}
- /** @name XcmVersionedXcm (96) */
+ /** @name XcmVersionedXcm (97) */
export interface XcmVersionedXcm extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0Xcm;
@@ -734,7 +760,7 @@
readonly type: 'V0' | 'V1' | 'V2';
}
- /** @name XcmV0Xcm (97) */
+ /** @name XcmV0Xcm (98) */
export interface XcmV0Xcm extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: {
@@ -797,7 +823,7 @@
readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';
}
- /** @name XcmV0MultiAsset (99) */
+ /** @name XcmV0MultiAsset (100) */
export interface XcmV0MultiAsset extends Enum {
readonly isNone: boolean;
readonly isAll: boolean;
@@ -842,7 +868,7 @@
readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';
}
- /** @name XcmV1MultiassetAssetInstance (100) */
+ /** @name XcmV1MultiassetAssetInstance (101) */
export interface XcmV1MultiassetAssetInstance extends Enum {
readonly isUndefined: boolean;
readonly isIndex: boolean;
@@ -860,7 +886,7 @@
readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';
}
- /** @name XcmV0Order (104) */
+ /** @name XcmV0Order (105) */
export interface XcmV0Order extends Enum {
readonly isNull: boolean;
readonly isDepositAsset: boolean;
@@ -908,14 +934,14 @@
readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
}
- /** @name XcmV0Response (106) */
+ /** @name XcmV0Response (107) */
export interface XcmV0Response extends Enum {
readonly isAssets: boolean;
readonly asAssets: Vec<XcmV0MultiAsset>;
readonly type: 'Assets';
}
- /** @name XcmV0OriginKind (107) */
+ /** @name XcmV0OriginKind (108) */
export interface XcmV0OriginKind extends Enum {
readonly isNative: boolean;
readonly isSovereignAccount: boolean;
@@ -924,12 +950,12 @@
readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';
}
- /** @name XcmDoubleEncoded (108) */
+ /** @name XcmDoubleEncoded (109) */
export interface XcmDoubleEncoded extends Struct {
readonly encoded: Bytes;
}
- /** @name XcmV1Xcm (109) */
+ /** @name XcmV1Xcm (110) */
export interface XcmV1Xcm extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: {
@@ -998,16 +1024,16 @@
readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';
}
- /** @name XcmV1MultiassetMultiAssets (110) */
+ /** @name XcmV1MultiassetMultiAssets (111) */
export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}
- /** @name XcmV1MultiAsset (112) */
+ /** @name XcmV1MultiAsset (113) */
export interface XcmV1MultiAsset extends Struct {
readonly id: XcmV1MultiassetAssetId;
readonly fun: XcmV1MultiassetFungibility;
}
- /** @name XcmV1MultiassetAssetId (113) */
+ /** @name XcmV1MultiassetAssetId (114) */
export interface XcmV1MultiassetAssetId extends Enum {
readonly isConcrete: boolean;
readonly asConcrete: XcmV1MultiLocation;
@@ -1016,7 +1042,7 @@
readonly type: 'Concrete' | 'Abstract';
}
- /** @name XcmV1MultiassetFungibility (114) */
+ /** @name XcmV1MultiassetFungibility (115) */
export interface XcmV1MultiassetFungibility extends Enum {
readonly isFungible: boolean;
readonly asFungible: Compact<u128>;
@@ -1025,7 +1051,7 @@
readonly type: 'Fungible' | 'NonFungible';
}
- /** @name XcmV1Order (116) */
+ /** @name XcmV1Order (117) */
export interface XcmV1Order extends Enum {
readonly isNoop: boolean;
readonly isDepositAsset: boolean;
@@ -1075,7 +1101,7 @@
readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
}
- /** @name XcmV1MultiassetMultiAssetFilter (117) */
+ /** @name XcmV1MultiassetMultiAssetFilter (118) */
export interface XcmV1MultiassetMultiAssetFilter extends Enum {
readonly isDefinite: boolean;
readonly asDefinite: XcmV1MultiassetMultiAssets;
@@ -1084,7 +1110,7 @@
readonly type: 'Definite' | 'Wild';
}
- /** @name XcmV1MultiassetWildMultiAsset (118) */
+ /** @name XcmV1MultiassetWildMultiAsset (119) */
export interface XcmV1MultiassetWildMultiAsset extends Enum {
readonly isAll: boolean;
readonly isAllOf: boolean;
@@ -1095,14 +1121,14 @@
readonly type: 'All' | 'AllOf';
}
- /** @name XcmV1MultiassetWildFungibility (119) */
+ /** @name XcmV1MultiassetWildFungibility (120) */
export interface XcmV1MultiassetWildFungibility extends Enum {
readonly isFungible: boolean;
readonly isNonFungible: boolean;
readonly type: 'Fungible' | 'NonFungible';
}
- /** @name XcmV1Response (121) */
+ /** @name XcmV1Response (122) */
export interface XcmV1Response extends Enum {
readonly isAssets: boolean;
readonly asAssets: XcmV1MultiassetMultiAssets;
@@ -1111,10 +1137,10 @@
readonly type: 'Assets' | 'Version';
}
- /** @name XcmV2Xcm (122) */
+ /** @name XcmV2Xcm (123) */
export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}
- /** @name XcmV2Instruction (124) */
+ /** @name XcmV2Instruction (125) */
export interface XcmV2Instruction extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;
@@ -1234,7 +1260,7 @@
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 (125) */
+ /** @name XcmV2Response (126) */
export interface XcmV2Response extends Enum {
readonly isNull: boolean;
readonly isAssets: boolean;
@@ -1246,7 +1272,7 @@
readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';
}
- /** @name XcmV2TraitsError (128) */
+ /** @name XcmV2TraitsError (129) */
export interface XcmV2TraitsError extends Enum {
readonly isOverflow: boolean;
readonly isUnimplemented: boolean;
@@ -1279,7 +1305,7 @@
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 (129) */
+ /** @name XcmV2WeightLimit (130) */
export interface XcmV2WeightLimit extends Enum {
readonly isUnlimited: boolean;
readonly isLimited: boolean;
@@ -1287,7 +1313,7 @@
readonly type: 'Unlimited' | 'Limited';
}
- /** @name XcmVersionedMultiAssets (130) */
+ /** @name XcmVersionedMultiAssets (131) */
export interface XcmVersionedMultiAssets extends Enum {
readonly isV0: boolean;
readonly asV0: Vec<XcmV0MultiAsset>;
@@ -1296,10 +1322,10 @@
readonly type: 'V0' | 'V1';
}
- /** @name CumulusPalletXcmCall (145) */
+ /** @name CumulusPalletXcmCall (146) */
export type CumulusPalletXcmCall = Null;
- /** @name CumulusPalletDmpQueueCall (146) */
+ /** @name CumulusPalletDmpQueueCall (147) */
export interface CumulusPalletDmpQueueCall extends Enum {
readonly isServiceOverweight: boolean;
readonly asServiceOverweight: {
@@ -1309,7 +1335,7 @@
readonly type: 'ServiceOverweight';
}
- /** @name PalletInflationCall (147) */
+ /** @name PalletInflationCall (148) */
export interface PalletInflationCall extends Enum {
readonly isStartInflation: boolean;
readonly asStartInflation: {
@@ -1318,7 +1344,7 @@
readonly type: 'StartInflation';
}
- /** @name PalletUniqueCall (148) */
+ /** @name PalletUniqueCall (149) */
export interface PalletUniqueCall extends Enum {
readonly isCreateCollection: boolean;
readonly asCreateCollection: {
@@ -1474,7 +1500,7 @@
readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'SetPublicAccessMode' | 'SetMintPermission' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetVariableMetaData' | 'SetMetaUpdatePermissionFlag' | 'SetSchemaVersion' | 'SetOffchainSchema' | 'SetConstOnChainSchema' | 'SetVariableOnChainSchema' | 'SetCollectionLimits';
}
- /** @name UpDataStructsCollectionMode (154) */
+ /** @name UpDataStructsCollectionMode (155) */
export interface UpDataStructsCollectionMode extends Enum {
readonly isNft: boolean;
readonly isFungible: boolean;
@@ -1483,7 +1509,7 @@
readonly type: 'Nft' | 'Fungible' | 'ReFungible';
}
- /** @name UpDataStructsCreateCollectionData (155) */
+ /** @name UpDataStructsCreateCollectionData (156) */
export interface UpDataStructsCreateCollectionData extends Struct {
readonly mode: UpDataStructsCollectionMode;
readonly access: Option<UpDataStructsAccessMode>;
@@ -1499,29 +1525,21 @@
readonly metaUpdatePermission: Option<UpDataStructsMetaUpdatePermission>;
}
- /** @name UpDataStructsAccessMode (157) */
+ /** @name UpDataStructsAccessMode (158) */
export interface UpDataStructsAccessMode extends Enum {
readonly isNormal: boolean;
readonly isAllowList: boolean;
readonly type: 'Normal' | 'AllowList';
}
- /** @name UpDataStructsSchemaVersion (160) */
+ /** @name UpDataStructsSchemaVersion (161) */
export interface UpDataStructsSchemaVersion extends Enum {
readonly isImageURL: boolean;
readonly isUnique: boolean;
readonly type: 'ImageURL' | 'Unique';
}
- /** @name UpDataStructsSponsoringRateLimit */
- export interface UpDataStructsSponsoringRateLimit extends Enum {
- readonly isSponsoringDisabled: boolean;
- readonly isBlocks: boolean;
- readonly asBlocks: u32;
- readonly type: 'SponsoringDisabled' | 'Blocks';
- }
-
- /** @name UpDataStructsCollectionLimits (163) */
+ /** @name UpDataStructsCollectionLimits (164) */
export interface UpDataStructsCollectionLimits extends Struct {
readonly accountTokenOwnershipLimit: Option<u32>;
readonly sponsoredDataSize: Option<u32>;
@@ -1534,7 +1552,15 @@
readonly transfersEnabled: Option<bool>;
}
- /** @name UpDataStructsMetaUpdatePermission (169) */
+ /** @name UpDataStructsSponsoringRateLimit (166) */
+ export interface UpDataStructsSponsoringRateLimit extends Enum {
+ readonly isSponsoringDisabled: boolean;
+ readonly isBlocks: boolean;
+ readonly asBlocks: u32;
+ readonly type: 'SponsoringDisabled' | 'Blocks';
+ }
+
+ /** @name UpDataStructsMetaUpdatePermission (170) */
export interface UpDataStructsMetaUpdatePermission extends Enum {
readonly isItemOwner: boolean;
readonly isAdmin: boolean;
@@ -1542,7 +1568,7 @@
readonly type: 'ItemOwner' | 'Admin' | 'None';
}
- /** @name PalletCommonAccountBasicCrossAccountIdRepr (171) */
+ /** @name PalletCommonAccountBasicCrossAccountIdRepr (172) */
export interface PalletCommonAccountBasicCrossAccountIdRepr extends Enum {
readonly isSubstrate: boolean;
readonly asSubstrate: AccountId32;
@@ -1551,7 +1577,7 @@
readonly type: 'Substrate' | 'Ethereum';
}
- /** @name UpDataStructsCreateItemData (173) */
+ /** @name UpDataStructsCreateItemData (174) */
export interface UpDataStructsCreateItemData extends Enum {
readonly isNft: boolean;
readonly asNft: UpDataStructsCreateNftData;
@@ -1562,28 +1588,28 @@
readonly type: 'Nft' | 'Fungible' | 'ReFungible';
}
- /** @name UpDataStructsCreateNftData (174) */
+ /** @name UpDataStructsCreateNftData (175) */
export interface UpDataStructsCreateNftData extends Struct {
readonly constData: Bytes;
readonly variableData: Bytes;
}
- /** @name UpDataStructsCreateFungibleData (176) */
+ /** @name UpDataStructsCreateFungibleData (177) */
export interface UpDataStructsCreateFungibleData extends Struct {
readonly value: u128;
}
- /** @name UpDataStructsCreateReFungibleData (177) */
+ /** @name UpDataStructsCreateReFungibleData (178) */
export interface UpDataStructsCreateReFungibleData extends Struct {
readonly constData: Bytes;
readonly variableData: Bytes;
readonly pieces: u128;
}
- /** @name PalletTemplateTransactionPaymentCall (180) */
+ /** @name PalletTemplateTransactionPaymentCall (181) */
export type PalletTemplateTransactionPaymentCall = Null;
- /** @name PalletEvmCall (181) */
+ /** @name PalletEvmCall (182) */
export interface PalletEvmCall extends Enum {
readonly isWithdraw: boolean;
readonly asWithdraw: {
@@ -1628,7 +1654,7 @@
readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';
}
- /** @name PalletEthereumCall (187) */
+ /** @name PalletEthereumCall (188) */
export interface PalletEthereumCall extends Enum {
readonly isTransact: boolean;
readonly asTransact: {
@@ -1637,7 +1663,7 @@
readonly type: 'Transact';
}
- /** @name EthereumTransactionTransactionV2 (188) */
+ /** @name EthereumTransactionTransactionV2 (189) */
export interface EthereumTransactionTransactionV2 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: EthereumTransactionLegacyTransaction;
@@ -1648,7 +1674,7 @@
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
}
- /** @name EthereumTransactionLegacyTransaction (189) */
+ /** @name EthereumTransactionLegacyTransaction (190) */
export interface EthereumTransactionLegacyTransaction extends Struct {
readonly nonce: U256;
readonly gasPrice: U256;
@@ -1659,7 +1685,7 @@
readonly signature: EthereumTransactionTransactionSignature;
}
- /** @name EthereumTransactionTransactionAction (190) */
+ /** @name EthereumTransactionTransactionAction (191) */
export interface EthereumTransactionTransactionAction extends Enum {
readonly isCall: boolean;
readonly asCall: H160;
@@ -1667,14 +1693,14 @@
readonly type: 'Call' | 'Create';
}
- /** @name EthereumTransactionTransactionSignature (191) */
+ /** @name EthereumTransactionTransactionSignature (192) */
export interface EthereumTransactionTransactionSignature extends Struct {
readonly v: u64;
readonly r: H256;
readonly s: H256;
}
- /** @name EthereumTransactionEip2930Transaction (193) */
+ /** @name EthereumTransactionEip2930Transaction (194) */
export interface EthereumTransactionEip2930Transaction extends Struct {
readonly chainId: u64;
readonly nonce: U256;
@@ -1689,13 +1715,13 @@
readonly s: H256;
}
- /** @name EthereumTransactionAccessListItem (195) */
+ /** @name EthereumTransactionAccessListItem (196) */
export interface EthereumTransactionAccessListItem extends Struct {
readonly address: H160;
readonly slots: Vec<H256>;
}
- /** @name EthereumTransactionEip1559Transaction (196) */
+ /** @name EthereumTransactionEip1559Transaction (197) */
export interface EthereumTransactionEip1559Transaction extends Struct {
readonly chainId: u64;
readonly nonce: U256;
@@ -1711,7 +1737,7 @@
readonly s: H256;
}
- /** @name PalletEvmMigrationCall (197) */
+ /** @name PalletEvmMigrationCall (198) */
export interface PalletEvmMigrationCall extends Enum {
readonly isBegin: boolean;
readonly asBegin: {
@@ -1730,7 +1756,7 @@
readonly type: 'Begin' | 'SetData' | 'Finish';
}
- /** @name PalletSudoEvent (200) */
+ /** @name PalletSudoEvent (201) */
export interface PalletSudoEvent extends Enum {
readonly isSudid: boolean;
readonly asSudid: {
@@ -1747,16 +1773,13 @@
readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';
}
- /** @name SpRuntimeDispatchError (202) */
+ /** @name SpRuntimeDispatchError (203) */
export interface SpRuntimeDispatchError extends Enum {
readonly isOther: boolean;
readonly isCannotLookup: boolean;
readonly isBadOrigin: boolean;
readonly isModule: boolean;
- readonly asModule: {
- readonly index: u8;
- readonly error: u8;
- } & Struct;
+ readonly asModule: SpRuntimeModuleError;
readonly isConsumerRemaining: boolean;
readonly isNoProviders: boolean;
readonly isTooManyConsumers: boolean;
@@ -1767,7 +1790,13 @@
readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic';
}
- /** @name SpRuntimeTokenError (203) */
+ /** @name SpRuntimeModuleError (204) */
+ export interface SpRuntimeModuleError extends Struct {
+ readonly index: u8;
+ readonly error: u8;
+ }
+
+ /** @name SpRuntimeTokenError (205) */
export interface SpRuntimeTokenError extends Enum {
readonly isNoFunds: boolean;
readonly isWouldDie: boolean;
@@ -1779,7 +1808,7 @@
readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';
}
- /** @name SpRuntimeArithmeticError (204) */
+ /** @name SpRuntimeArithmeticError (206) */
export interface SpRuntimeArithmeticError extends Enum {
readonly isUnderflow: boolean;
readonly isOverflow: boolean;
@@ -1787,13 +1816,13 @@
readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';
}
- /** @name PalletSudoError (205) */
+ /** @name PalletSudoError (207) */
export interface PalletSudoError extends Enum {
readonly isRequireSudo: boolean;
readonly type: 'RequireSudo';
}
- /** @name FrameSystemAccountInfo (206) */
+ /** @name FrameSystemAccountInfo (208) */
export interface FrameSystemAccountInfo extends Struct {
readonly nonce: u32;
readonly consumers: u32;
@@ -1802,19 +1831,19 @@
readonly data: PalletBalancesAccountData;
}
- /** @name FrameSupportWeightsPerDispatchClassU64 (207) */
+ /** @name FrameSupportWeightsPerDispatchClassU64 (209) */
export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {
readonly normal: u64;
readonly operational: u64;
readonly mandatory: u64;
}
- /** @name SpRuntimeDigest (208) */
+ /** @name SpRuntimeDigest (210) */
export interface SpRuntimeDigest extends Struct {
readonly logs: Vec<SpRuntimeDigestDigestItem>;
}
- /** @name SpRuntimeDigestDigestItem (210) */
+ /** @name SpRuntimeDigestDigestItem (212) */
export interface SpRuntimeDigestDigestItem extends Enum {
readonly isOther: boolean;
readonly asOther: Bytes;
@@ -1828,14 +1857,14 @@
readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';
}
- /** @name FrameSystemEventRecord (212) */
+ /** @name FrameSystemEventRecord (214) */
export interface FrameSystemEventRecord extends Struct {
readonly phase: FrameSystemPhase;
readonly event: Event;
readonly topics: Vec<H256>;
}
- /** @name FrameSystemEvent (214) */
+ /** @name FrameSystemEvent (216) */
export interface FrameSystemEvent extends Enum {
readonly isExtrinsicSuccess: boolean;
readonly asExtrinsicSuccess: {
@@ -1863,14 +1892,14 @@
readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';
}
- /** @name FrameSupportWeightsDispatchInfo (215) */
+ /** @name FrameSupportWeightsDispatchInfo (217) */
export interface FrameSupportWeightsDispatchInfo extends Struct {
readonly weight: u64;
readonly class: FrameSupportWeightsDispatchClass;
readonly paysFee: FrameSupportWeightsPays;
}
- /** @name FrameSupportWeightsDispatchClass (216) */
+ /** @name FrameSupportWeightsDispatchClass (218) */
export interface FrameSupportWeightsDispatchClass extends Enum {
readonly isNormal: boolean;
readonly isOperational: boolean;
@@ -1878,14 +1907,14 @@
readonly type: 'Normal' | 'Operational' | 'Mandatory';
}
- /** @name FrameSupportWeightsPays (217) */
+ /** @name FrameSupportWeightsPays (219) */
export interface FrameSupportWeightsPays extends Enum {
readonly isYes: boolean;
readonly isNo: boolean;
readonly type: 'Yes' | 'No';
}
- /** @name OrmlVestingModuleEvent (218) */
+ /** @name OrmlVestingModuleEvent (220) */
export interface OrmlVestingModuleEvent extends Enum {
readonly isVestingScheduleAdded: boolean;
readonly asVestingScheduleAdded: {
@@ -1905,7 +1934,7 @@
readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';
}
- /** @name CumulusPalletXcmpQueueEvent (219) */
+ /** @name CumulusPalletXcmpQueueEvent (221) */
export interface CumulusPalletXcmpQueueEvent extends Enum {
readonly isSuccess: boolean;
readonly asSuccess: Option<H256>;
@@ -1926,7 +1955,7 @@
readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';
}
- /** @name PalletXcmEvent (220) */
+ /** @name PalletXcmEvent (222) */
export interface PalletXcmEvent extends Enum {
readonly isAttempted: boolean;
readonly asAttempted: XcmV2TraitsOutcome;
@@ -1963,7 +1992,7 @@
readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';
}
- /** @name XcmV2TraitsOutcome (221) */
+ /** @name XcmV2TraitsOutcome (223) */
export interface XcmV2TraitsOutcome extends Enum {
readonly isComplete: boolean;
readonly asComplete: u64;
@@ -1974,7 +2003,7 @@
readonly type: 'Complete' | 'Incomplete' | 'Error';
}
- /** @name CumulusPalletXcmEvent (223) */
+ /** @name CumulusPalletXcmEvent (225) */
export interface CumulusPalletXcmEvent extends Enum {
readonly isInvalidFormat: boolean;
readonly asInvalidFormat: U8aFixed;
@@ -1985,7 +2014,7 @@
readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';
}
- /** @name CumulusPalletDmpQueueEvent (224) */
+ /** @name CumulusPalletDmpQueueEvent (226) */
export interface CumulusPalletDmpQueueEvent extends Enum {
readonly isInvalidFormat: boolean;
readonly asInvalidFormat: U8aFixed;
@@ -2002,7 +2031,7 @@
readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';
}
- /** @name PalletUniqueRawEvent (225) */
+ /** @name PalletUniqueRawEvent (227) */
export interface PalletUniqueRawEvent extends Enum {
readonly isCollectionSponsorRemoved: boolean;
readonly asCollectionSponsorRemoved: u32;
@@ -2037,7 +2066,7 @@
readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'ConstOnChainSchemaSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'MintPermissionSet' | 'OffchainSchemaSet' | 'PublicAccessModeSet' | 'SchemaVersionSet' | 'VariableOnChainSchemaSet';
}
- /** @name PalletCommonEvent (226) */
+ /** @name PalletCommonEvent (228) */
export interface PalletCommonEvent extends Enum {
readonly isCollectionCreated: boolean;
readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;
@@ -2054,7 +2083,7 @@
readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved';
}
- /** @name PalletEvmEvent (227) */
+ /** @name PalletEvmEvent (229) */
export interface PalletEvmEvent extends Enum {
readonly isLog: boolean;
readonly asLog: EthereumLog;
@@ -2073,21 +2102,21 @@
readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';
}
- /** @name EthereumLog (228) */
+ /** @name EthereumLog (230) */
export interface EthereumLog extends Struct {
readonly address: H160;
readonly topics: Vec<H256>;
readonly data: Bytes;
}
- /** @name PalletEthereumEvent (229) */
+ /** @name PalletEthereumEvent (231) */
export interface PalletEthereumEvent extends Enum {
readonly isExecuted: boolean;
readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;
readonly type: 'Executed';
}
- /** @name EvmCoreErrorExitReason (230) */
+ /** @name EvmCoreErrorExitReason (232) */
export interface EvmCoreErrorExitReason extends Enum {
readonly isSucceed: boolean;
readonly asSucceed: EvmCoreErrorExitSucceed;
@@ -2100,7 +2129,7 @@
readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';
}
- /** @name EvmCoreErrorExitSucceed (231) */
+ /** @name EvmCoreErrorExitSucceed (233) */
export interface EvmCoreErrorExitSucceed extends Enum {
readonly isStopped: boolean;
readonly isReturned: boolean;
@@ -2108,7 +2137,7 @@
readonly type: 'Stopped' | 'Returned' | 'Suicided';
}
- /** @name EvmCoreErrorExitError (232) */
+ /** @name EvmCoreErrorExitError (234) */
export interface EvmCoreErrorExitError extends Enum {
readonly isStackUnderflow: boolean;
readonly isStackOverflow: boolean;
@@ -2129,13 +2158,13 @@
readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'InvalidCode' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other';
}
- /** @name EvmCoreErrorExitRevert (235) */
+ /** @name EvmCoreErrorExitRevert (237) */
export interface EvmCoreErrorExitRevert extends Enum {
readonly isReverted: boolean;
readonly type: 'Reverted';
}
- /** @name EvmCoreErrorExitFatal (236) */
+ /** @name EvmCoreErrorExitFatal (238) */
export interface EvmCoreErrorExitFatal extends Enum {
readonly isNotSupported: boolean;
readonly isUnhandledInterrupt: boolean;
@@ -2146,7 +2175,7 @@
readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';
}
- /** @name FrameSystemPhase (237) */
+ /** @name FrameSystemPhase (239) */
export interface FrameSystemPhase extends Enum {
readonly isApplyExtrinsic: boolean;
readonly asApplyExtrinsic: u32;
@@ -2155,27 +2184,27 @@
readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';
}
- /** @name FrameSystemLastRuntimeUpgradeInfo (239) */
+ /** @name FrameSystemLastRuntimeUpgradeInfo (241) */
export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {
readonly specVersion: Compact<u32>;
readonly specName: Text;
}
- /** @name FrameSystemLimitsBlockWeights (240) */
+ /** @name FrameSystemLimitsBlockWeights (242) */
export interface FrameSystemLimitsBlockWeights extends Struct {
readonly baseBlock: u64;
readonly maxBlock: u64;
readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;
}
- /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (241) */
+ /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (243) */
export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {
readonly normal: FrameSystemLimitsWeightsPerClass;
readonly operational: FrameSystemLimitsWeightsPerClass;
readonly mandatory: FrameSystemLimitsWeightsPerClass;
}
- /** @name FrameSystemLimitsWeightsPerClass (242) */
+ /** @name FrameSystemLimitsWeightsPerClass (244) */
export interface FrameSystemLimitsWeightsPerClass extends Struct {
readonly baseExtrinsic: u64;
readonly maxExtrinsic: Option<u64>;
@@ -2183,25 +2212,25 @@
readonly reserved: Option<u64>;
}
- /** @name FrameSystemLimitsBlockLength (244) */
+ /** @name FrameSystemLimitsBlockLength (246) */
export interface FrameSystemLimitsBlockLength extends Struct {
readonly max: FrameSupportWeightsPerDispatchClassU32;
}
- /** @name FrameSupportWeightsPerDispatchClassU32 (245) */
+ /** @name FrameSupportWeightsPerDispatchClassU32 (247) */
export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {
readonly normal: u32;
readonly operational: u32;
readonly mandatory: u32;
}
- /** @name FrameSupportWeightsRuntimeDbWeight (246) */
+ /** @name FrameSupportWeightsRuntimeDbWeight (248) */
export interface FrameSupportWeightsRuntimeDbWeight extends Struct {
readonly read: u64;
readonly write: u64;
}
- /** @name SpVersionRuntimeVersion (247) */
+ /** @name SpVersionRuntimeVersion (249) */
export interface SpVersionRuntimeVersion extends Struct {
readonly specName: Text;
readonly implName: Text;
@@ -2213,7 +2242,7 @@
readonly stateVersion: u8;
}
- /** @name FrameSystemError (251) */
+ /** @name FrameSystemError (253) */
export interface FrameSystemError extends Enum {
readonly isInvalidSpecName: boolean;
readonly isSpecVersionNeedsToIncrease: boolean;
@@ -2224,7 +2253,7 @@
readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';
}
- /** @name OrmlVestingModuleError (253) */
+ /** @name OrmlVestingModuleError (255) */
export interface OrmlVestingModuleError extends Enum {
readonly isZeroVestingPeriod: boolean;
readonly isZeroVestingPeriodCount: boolean;
@@ -2235,21 +2264,21 @@
readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';
}
- /** @name CumulusPalletXcmpQueueInboundChannelDetails (255) */
+ /** @name CumulusPalletXcmpQueueInboundChannelDetails (257) */
export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {
readonly sender: u32;
readonly state: CumulusPalletXcmpQueueInboundState;
readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;
}
- /** @name CumulusPalletXcmpQueueInboundState (256) */
+ /** @name CumulusPalletXcmpQueueInboundState (258) */
export interface CumulusPalletXcmpQueueInboundState extends Enum {
readonly isOk: boolean;
readonly isSuspended: boolean;
readonly type: 'Ok' | 'Suspended';
}
- /** @name PolkadotParachainPrimitivesXcmpMessageFormat (259) */
+ /** @name PolkadotParachainPrimitivesXcmpMessageFormat (261) */
export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {
readonly isConcatenatedVersionedXcm: boolean;
readonly isConcatenatedEncodedBlob: boolean;
@@ -2257,7 +2286,7 @@
readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';
}
- /** @name CumulusPalletXcmpQueueOutboundChannelDetails (262) */
+ /** @name CumulusPalletXcmpQueueOutboundChannelDetails (264) */
export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {
readonly recipient: u32;
readonly state: CumulusPalletXcmpQueueOutboundState;
@@ -2266,14 +2295,14 @@
readonly lastIndex: u16;
}
- /** @name CumulusPalletXcmpQueueOutboundState (263) */
+ /** @name CumulusPalletXcmpQueueOutboundState (265) */
export interface CumulusPalletXcmpQueueOutboundState extends Enum {
readonly isOk: boolean;
readonly isSuspended: boolean;
readonly type: 'Ok' | 'Suspended';
}
- /** @name CumulusPalletXcmpQueueQueueConfigData (265) */
+ /** @name CumulusPalletXcmpQueueQueueConfigData (267) */
export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {
readonly suspendThreshold: u32;
readonly dropThreshold: u32;
@@ -2283,7 +2312,7 @@
readonly xcmpMaxIndividualWeight: u64;
}
- /** @name CumulusPalletXcmpQueueError (267) */
+ /** @name CumulusPalletXcmpQueueError (269) */
export interface CumulusPalletXcmpQueueError extends Enum {
readonly isFailedToSend: boolean;
readonly isBadXcmOrigin: boolean;
@@ -2293,7 +2322,7 @@
readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';
}
- /** @name PalletXcmError (268) */
+ /** @name PalletXcmError (270) */
export interface PalletXcmError extends Enum {
readonly isUnreachable: boolean;
readonly isSendFailure: boolean;
@@ -2311,29 +2340,29 @@
readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';
}
- /** @name CumulusPalletXcmError (269) */
+ /** @name CumulusPalletXcmError (271) */
export type CumulusPalletXcmError = Null;
- /** @name CumulusPalletDmpQueueConfigData (270) */
+ /** @name CumulusPalletDmpQueueConfigData (272) */
export interface CumulusPalletDmpQueueConfigData extends Struct {
readonly maxIndividual: u64;
}
- /** @name CumulusPalletDmpQueuePageIndexData (271) */
+ /** @name CumulusPalletDmpQueuePageIndexData (273) */
export interface CumulusPalletDmpQueuePageIndexData extends Struct {
readonly beginUsed: u32;
readonly endUsed: u32;
readonly overweightCount: u64;
}
- /** @name CumulusPalletDmpQueueError (274) */
+ /** @name CumulusPalletDmpQueueError (276) */
export interface CumulusPalletDmpQueueError extends Enum {
readonly isUnknown: boolean;
readonly isOverLimit: boolean;
readonly type: 'Unknown' | 'OverLimit';
}
- /** @name PalletUniqueError (278) */
+ /** @name PalletUniqueError (280) */
export interface PalletUniqueError extends Enum {
readonly isCollectionDecimalPointLimitExceeded: boolean;
readonly isConfirmUnsetSponsorFail: boolean;
@@ -2341,7 +2370,7 @@
readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';
}
- /** @name UpDataStructsCollection (279) */
+ /** @name UpDataStructsCollection (281) */
export interface UpDataStructsCollection extends Struct {
readonly owner: AccountId32;
readonly mode: UpDataStructsCollectionMode;
@@ -2359,7 +2388,7 @@
readonly metaUpdatePermission: UpDataStructsMetaUpdatePermission;
}
- /** @name UpDataStructsSponsorshipState (280) */
+ /** @name UpDataStructsSponsorshipState (282) */
export interface UpDataStructsSponsorshipState extends Enum {
readonly isDisabled: boolean;
readonly isUnconfirmed: boolean;
@@ -2369,14 +2398,14 @@
readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
}
- /** @name UpDataStructsCollectionStats (283) */
+ /** @name UpDataStructsCollectionStats (285) */
export interface UpDataStructsCollectionStats extends Struct {
readonly created: u32;
readonly destroyed: u32;
readonly alive: u32;
}
- /** @name PalletCommonError (284) */
+ /** @name PalletCommonError (286) */
export interface PalletCommonError extends Enum {
readonly isCollectionNotFound: boolean;
readonly isMustBeTokenOwner: boolean;
@@ -2404,7 +2433,7 @@
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';
}
- /** @name PalletFungibleError (286) */
+ /** @name PalletFungibleError (288) */
export interface PalletFungibleError extends Enum {
readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isFungibleItemsHaveNoId: boolean;
@@ -2412,34 +2441,34 @@
readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData';
}
- /** @name PalletRefungibleItemData (287) */
+ /** @name PalletRefungibleItemData (289) */
export interface PalletRefungibleItemData extends Struct {
readonly constData: Bytes;
readonly variableData: Bytes;
}
- /** @name PalletRefungibleError (291) */
+ /** @name PalletRefungibleError (293) */
export interface PalletRefungibleError extends Enum {
readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isWrongRefungiblePieces: boolean;
readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces';
}
- /** @name PalletNonfungibleItemData (292) */
+ /** @name PalletNonfungibleItemData (294) */
export interface PalletNonfungibleItemData extends Struct {
readonly constData: Bytes;
readonly variableData: Bytes;
readonly owner: PalletCommonAccountBasicCrossAccountIdRepr;
}
- /** @name PalletNonfungibleError (293) */
+ /** @name PalletNonfungibleError (295) */
export interface PalletNonfungibleError extends Enum {
readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isNonfungibleItemsHaveNoAmount: boolean;
readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount';
}
- /** @name PalletEvmError (295) */
+ /** @name PalletEvmError (297) */
export interface PalletEvmError extends Enum {
readonly isBalanceLow: boolean;
readonly isFeeOverflow: boolean;
@@ -2450,7 +2479,7 @@
readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';
}
- /** @name FpRpcTransactionStatus (298) */
+ /** @name FpRpcTransactionStatus (300) */
export interface FpRpcTransactionStatus extends Struct {
readonly transactionHash: H256;
readonly transactionIndex: u32;
@@ -2461,10 +2490,10 @@
readonly logsBloom: EthbloomBloom;
}
- /** @name EthbloomBloom (301) */
+ /** @name EthbloomBloom (303) */
export interface EthbloomBloom extends U8aFixed {}
- /** @name EthereumReceiptReceiptV3 (303) */
+ /** @name EthereumReceiptReceiptV3 (305) */
export interface EthereumReceiptReceiptV3 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: EthereumReceiptEip658ReceiptData;
@@ -2475,7 +2504,7 @@
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
}
- /** @name EthereumReceiptEip658ReceiptData (304) */
+ /** @name EthereumReceiptEip658ReceiptData (306) */
export interface EthereumReceiptEip658ReceiptData extends Struct {
readonly statusCode: u8;
readonly usedGas: U256;
@@ -2483,14 +2512,14 @@
readonly logs: Vec<EthereumLog>;
}
- /** @name EthereumBlock (305) */
+ /** @name EthereumBlock (307) */
export interface EthereumBlock extends Struct {
readonly header: EthereumHeader;
readonly transactions: Vec<EthereumTransactionTransactionV2>;
readonly ommers: Vec<EthereumHeader>;
}
- /** @name EthereumHeader (306) */
+ /** @name EthereumHeader (308) */
export interface EthereumHeader extends Struct {
readonly parentHash: H256;
readonly ommersHash: H256;
@@ -2509,24 +2538,24 @@
readonly nonce: EthereumTypesHashH64;
}
- /** @name EthereumTypesHashH64 (307) */
+ /** @name EthereumTypesHashH64 (309) */
export interface EthereumTypesHashH64 extends U8aFixed {}
- /** @name PalletEthereumError (312) */
+ /** @name PalletEthereumError (314) */
export interface PalletEthereumError extends Enum {
readonly isInvalidSignature: boolean;
readonly isPreLogExists: boolean;
readonly type: 'InvalidSignature' | 'PreLogExists';
}
- /** @name PalletEvmCoderSubstrateError (313) */
+ /** @name PalletEvmCoderSubstrateError (315) */
export interface PalletEvmCoderSubstrateError extends Enum {
readonly isOutOfGas: boolean;
readonly isOutOfFund: boolean;
readonly type: 'OutOfGas' | 'OutOfFund';
}
- /** @name PalletEvmContractHelpersSponsoringModeT (314) */
+ /** @name PalletEvmContractHelpersSponsoringModeT (316) */
export interface PalletEvmContractHelpersSponsoringModeT extends Enum {
readonly isDisabled: boolean;
readonly isAllowlisted: boolean;
@@ -2534,20 +2563,20 @@
readonly type: 'Disabled' | 'Allowlisted' | 'Generous';
}
- /** @name PalletEvmContractHelpersError (316) */
+ /** @name PalletEvmContractHelpersError (318) */
export interface PalletEvmContractHelpersError extends Enum {
readonly isNoPermission: boolean;
readonly type: 'NoPermission';
}
- /** @name PalletEvmMigrationError (317) */
+ /** @name PalletEvmMigrationError (319) */
export interface PalletEvmMigrationError extends Enum {
readonly isAccountNotEmpty: boolean;
readonly isAccountIsNotMigrating: boolean;
readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';
}
- /** @name SpRuntimeMultiSignature (319) */
+ /** @name SpRuntimeMultiSignature (321) */
export interface SpRuntimeMultiSignature extends Enum {
readonly isEd25519: boolean;
readonly asEd25519: SpCoreEd25519Signature;
@@ -2558,31 +2587,31 @@
readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
}
- /** @name SpCoreEd25519Signature (320) */
+ /** @name SpCoreEd25519Signature (322) */
export interface SpCoreEd25519Signature extends U8aFixed {}
- /** @name SpCoreSr25519Signature (322) */
+ /** @name SpCoreSr25519Signature (324) */
export interface SpCoreSr25519Signature extends U8aFixed {}
- /** @name SpCoreEcdsaSignature (323) */
+ /** @name SpCoreEcdsaSignature (325) */
export interface SpCoreEcdsaSignature extends U8aFixed {}
- /** @name FrameSystemExtensionsCheckSpecVersion (326) */
+ /** @name FrameSystemExtensionsCheckSpecVersion (328) */
export type FrameSystemExtensionsCheckSpecVersion = Null;
- /** @name FrameSystemExtensionsCheckGenesis (327) */
+ /** @name FrameSystemExtensionsCheckGenesis (329) */
export type FrameSystemExtensionsCheckGenesis = Null;
- /** @name FrameSystemExtensionsCheckNonce (330) */
+ /** @name FrameSystemExtensionsCheckNonce (332) */
export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
- /** @name FrameSystemExtensionsCheckWeight (331) */
+ /** @name FrameSystemExtensionsCheckWeight (333) */
export type FrameSystemExtensionsCheckWeight = Null;
- /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (332) */
+ /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (334) */
export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
- /** @name UniqueRuntimeRuntime (333) */
+ /** @name UniqueRuntimeRuntime (335) */
export type UniqueRuntimeRuntime = Null;
} // declare module
tests/src/interfaces/unique/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/unique/types.ts
+++ b/tests/src/interfaces/unique/types.ts
@@ -133,7 +133,33 @@
readonly index: u64;
readonly weightLimit: u64;
} & Struct;
- readonly type: 'ServiceOverweight';
+ 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 CumulusPalletXcmpQueueError */
@@ -1634,10 +1660,7 @@
readonly isCannotLookup: boolean;
readonly isBadOrigin: boolean;
readonly isModule: boolean;
- readonly asModule: {
- readonly index: u8;
- readonly error: u8;
- } & Struct;
+ readonly asModule: SpRuntimeModuleError;
readonly isConsumerRemaining: boolean;
readonly isNoProviders: boolean;
readonly isTooManyConsumers: boolean;
@@ -1648,6 +1671,12 @@
readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic';
}
+/** @name SpRuntimeModuleError */
+export interface SpRuntimeModuleError extends Struct {
+ readonly index: u8;
+ readonly error: u8;
+}
+
/** @name SpRuntimeMultiSignature */
export interface SpRuntimeMultiSignature extends Enum {
readonly isEd25519: boolean;
@@ -1810,6 +1839,7 @@
readonly isSponsoringDisabled: boolean;
readonly isBlocks: boolean;
readonly asBlocks: u32;
+ readonly type: 'SponsoringDisabled' | 'Blocks';
}
/** @name UpDataStructsSponsorshipState */