diff --git a/Cargo.lock b/Cargo.lock index 6d35e78631..8d73941e87 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -23,9 +23,9 @@ dependencies = [ [[package]] name = "addr2line" -version = "0.15.1" +version = "0.15.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03345e98af8f3d786b6d9f656ccfa6ac316d954e92bc4841f0bba20789d5fb5a" +checksum = "e7a2e47a1fbe209ee101dd6d61285226744c6c8d3c21c8dc878ba6cb9f467f3a" dependencies = [ "gimli 0.24.0", ] @@ -98,9 +98,9 @@ checksum = "739f4a8db6605981345c5654f3a85b056ce52f37a39d34da03f25bf2151ea16e" [[package]] name = "aho-corasick" -version = "0.7.18" +version = "0.7.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f" +checksum = "7404febffaa47dac81aa44dba71523c9d069b1bdc50a77db41195149e17f68e5" dependencies = [ "memchr", ] @@ -210,7 +210,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a3203e79f4dd9bdda415ed03cf14dae5a2bf775c683a00f94e9cd1faf0f596e5" dependencies = [ "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] @@ -321,7 +321,7 @@ dependencies = [ "async-io", "async-lock", "async-process", - "crossbeam-utils 0.8.4", + "crossbeam-utils 0.8.5", "futures-channel", "futures-core", "futures-io", @@ -358,6 +358,19 @@ version = "4.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e91831deabf0d6d7ec49552e489aed63b7456a7a3c46cff62adad428110b0af0" +[[package]] +name = "async-tls" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f23d769dbf1838d5df5156e7b1ad404f4c463d1ac2c6aeb6cd943630f8a8400" +dependencies = [ + "futures-core", + "futures-io", + "rustls 0.19.1", + "webpki 0.21.4", + "webpki-roots", +] + [[package]] name = "async-trait" version = "0.1.50" @@ -366,7 +379,7 @@ checksum = "0b98e84bbb4cbcdd97da190ba0c58a1bb0de2c1fdf67d159e192ed766aeca722" dependencies = [ "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] @@ -429,16 +442,16 @@ checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" [[package]] name = "backtrace" -version = "0.3.59" +version = "0.3.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4717cfcbfaa661a0fd48f8453951837ae7e8f81e481fbb136e3202d72805a744" +checksum = "88fb5a785d6b44fd9d6700935608639af1b8356de1e55d5f7c2740f4faa15d82" dependencies = [ - "addr2line 0.15.1", + "addr2line 0.14.1", "cc", "cfg-if 1.0.0", "libc", "miniz_oxide", - "object 0.24.0", + "object 0.23.0", "rustc-demangle", ] @@ -475,10 +488,10 @@ checksum = "6736e2428df2ca2848d846c43e88745121a6654696e349ce0054a420815a7409" [[package]] name = "beefy-gadget" version = "0.1.0" -source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=rococo-v1#b0e5f2da52cc9bc9804a23e111d003413b268faf" +source = "git+https://github.com/paritytech//grandpa-bridge-gadget?rev=063e18a1f82945d5a304906db92bfbb571bac459#063e18a1f82945d5a304906db92bfbb571bac459" dependencies = [ "beefy-primitives", - "futures 0.3.15", + "futures 0.3.14", "hex", "log", "parity-scale-codec", @@ -489,6 +502,7 @@ dependencies = [ "sc-network-gossip", "sp-api", "sp-application-crypto", + "sp-arithmetic", "sp-blockchain", "sp-consensus", "sp-core", @@ -502,11 +516,11 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "0.1.0" -source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=rococo-v1#b0e5f2da52cc9bc9804a23e111d003413b268faf" +source = "git+https://github.com/paritytech//grandpa-bridge-gadget?rev=063e18a1f82945d5a304906db92bfbb571bac459#063e18a1f82945d5a304906db92bfbb571bac459" dependencies = [ "beefy-gadget", "beefy-primitives", - "futures 0.3.15", + "futures 0.3.14", "jsonrpc-core", "jsonrpc-core-client", "jsonrpc-derive", @@ -523,7 +537,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "0.1.0" -source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=rococo-v1#b0e5f2da52cc9bc9804a23e111d003413b268faf" +source = "git+https://github.com/paritytech//grandpa-bridge-gadget?rev=063e18a1f82945d5a304906db92bfbb571bac459#063e18a1f82945d5a304906db92bfbb571bac459" dependencies = [ "parity-scale-codec", "sp-api", @@ -697,6 +711,114 @@ dependencies = [ "once_cell", ] +[[package]] +name = "bp-header-chain" +version = "0.1.0" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" +dependencies = [ + "finality-grandpa", + "frame-support", + "parity-scale-codec", + "serde", + "sp-core", + "sp-finality-grandpa", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "bp-messages" +version = "0.1.0" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" +dependencies = [ + "bp-runtime", + "frame-support", + "frame-system", + "parity-scale-codec", + "sp-std", +] + +[[package]] +name = "bp-polkadot-core" +version = "0.1.0" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" +dependencies = [ + "bp-messages", + "bp-runtime", + "frame-support", + "frame-system", + "parity-scale-codec", + "sp-api", + "sp-core", + "sp-runtime", + "sp-std", + "sp-version", +] + +[[package]] +name = "bp-rococo" +version = "0.1.0" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" +dependencies = [ + "bp-header-chain", + "bp-messages", + "bp-polkadot-core", + "bp-runtime", + "parity-scale-codec", + "sp-api", + "sp-runtime", + "sp-std", + "sp-version", +] + +[[package]] +name = "bp-runtime" +version = "0.1.0" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" +dependencies = [ + "frame-support", + "hash-db", + "num-traits", + "parity-scale-codec", + "sp-core", + "sp-io", + "sp-runtime", + "sp-state-machine", + "sp-std", + "sp-trie", +] + +[[package]] +name = "bp-test-utils" +version = "0.1.0" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" +dependencies = [ + "bp-header-chain", + "ed25519-dalek", + "finality-grandpa", + "parity-scale-codec", + "sp-application-crypto", + "sp-finality-grandpa", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "bp-wococo" +version = "0.1.0" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" +dependencies = [ + "bp-header-chain", + "bp-messages", + "bp-polkadot-core", + "bp-runtime", + "parity-scale-codec", + "sp-api", + "sp-runtime", + "sp-std", + "sp-version", +] + [[package]] name = "bs58" version = "0.4.0" @@ -705,9 +827,9 @@ checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" [[package]] name = "bstr" -version = "0.2.16" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90682c8d613ad3373e66de8c6411e0ae2ab2571e879d2efbf73558cc66f21279" +checksum = "a40b47ad93e1a5404e6c18dec46b628214fee441c70f4ab5d6942142cc268a3d" dependencies = [ "memchr", ] @@ -774,6 +896,15 @@ version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "631ae5198c9be5e753e5cc215e1bd73c2b466a3565173db433f52bb9d3e66dba" +[[package]] +name = "camino" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4648c6d00a709aa069a236adcaae4f605a6241c72bf5bee79331a4b625921a9" +dependencies = [ + "serde", +] + [[package]] name = "cargo-platform" version = "0.1.1" @@ -796,6 +927,20 @@ dependencies = [ "serde_json", ] +[[package]] +name = "cargo_metadata" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "081e3f0755c1f380c2d010481b6fa2e02973586d5f2b24eebb7a2a1d98b143d8" +dependencies = [ + "camino", + "cargo-platform", + "semver 0.11.0", + "semver-parser 0.10.2", + "serde", + "serde_json", +] + [[package]] name = "cc" version = "1.0.67" @@ -980,13 +1125,10 @@ dependencies = [ ] [[package]] -name = "cpufeatures" -version = "0.1.1" +name = "cpuid-bool" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dec1028182c380cc45a2e2c5ec841134f2dfd0f8f5f0a5bcd68004f81b5efdf4" -dependencies = [ - "libc", -] +checksum = "8aebca1129a03dc6dc2b127edd729435bbc4a37e1d5f4d7513165089ceb02634" [[package]] name = "cpuid-bool" @@ -996,38 +1138,36 @@ checksum = "dcb25d077389e53838a8158c8e99174c5a9d902dee4904320db714f3c653ffba" [[package]] name = "cranelift-bforest" -version = "0.71.0" +version = "0.74.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcee7a5107071484772b89fdf37f0f460b7db75f476e43ea7a684fd942470bcf" +checksum = "c8ca3560686e7c9c7ed7e0fe77469f2410ba5d7781b1acaa9adc8d8deea28e3e" dependencies = [ "cranelift-entity", ] [[package]] name = "cranelift-codegen" -version = "0.71.0" +version = "0.74.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "654ab96f0f1cab71c0d323618a58360a492da2c341eb2c1f977fc195c664001b" +checksum = "baf9bf1ffffb6ce3d2e5ebc83549bd2436426c99b31cc550d521364cbe35d276" dependencies = [ - "byteorder", "cranelift-bforest", "cranelift-codegen-meta", "cranelift-codegen-shared", "cranelift-entity", - "gimli 0.23.0", + "gimli 0.24.0", "log", "regalloc", "serde", "smallvec 1.6.1", "target-lexicon", - "thiserror", ] [[package]] name = "cranelift-codegen-meta" -version = "0.71.0" +version = "0.74.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65994cfc5be9d5fd10c5fc30bcdddfa50c04bb79c91329287bff846434ff8f14" +checksum = "4cc21936a5a6d07e23849ffe83e5c1f6f50305c074f4b2970ca50c13bf55b821" dependencies = [ "cranelift-codegen-shared", "cranelift-entity", @@ -1035,27 +1175,27 @@ dependencies = [ [[package]] name = "cranelift-codegen-shared" -version = "0.71.0" +version = "0.74.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "889d720b688b8b7df5e4903f9b788c3c59396050f5548e516e58ccb7312463ab" +checksum = "ca5b6ffaa87560bebe69a5446449da18090b126037920b0c1c6d5945f72faf6b" dependencies = [ "serde", ] [[package]] name = "cranelift-entity" -version = "0.71.0" +version = "0.74.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a2e6884a363e42a9ba980193ea8603a4272f8a92bd8bbaf9f57a94dbea0ff96" +checksum = "7d6b4a8bef04f82e4296782646f733c641d09497df2fabf791323fefaa44c64c" dependencies = [ "serde", ] [[package]] name = "cranelift-frontend" -version = "0.71.0" +version = "0.74.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6f41e2f9b57d2c030e249d0958f1cdc2c3cd46accf8c0438b3d1944e9153444" +checksum = "c31b783b351f966fce33e3c03498cb116d16d97a8f9978164a60920bd0d3a99c" dependencies = [ "cranelift-codegen", "log", @@ -1065,9 +1205,9 @@ dependencies = [ [[package]] name = "cranelift-native" -version = "0.71.0" +version = "0.74.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aab70ba7575665375d31cbdea2462916ce58be887834e1b83c860b43b51af637" +checksum = "a77c88d3dd48021ff1e37e978a00098524abd3513444ae252c08d37b310b3d2a" dependencies = [ "cranelift-codegen", "target-lexicon", @@ -1075,9 +1215,9 @@ dependencies = [ [[package]] name = "cranelift-wasm" -version = "0.71.0" +version = "0.74.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2fc3d2e70da6439adf97648dcdf81834363154f2907405345b6fbe7ca38918c" +checksum = "edb6d408e2da77cdbbd65466298d44c86ae71c1785d2ab0d8657753cdb4d9d89" dependencies = [ "cranelift-codegen", "cranelift-entity", @@ -1106,7 +1246,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "06ed27e177f16d65f0f0c22a213e17c696ace5dd64b14258b52f9417ccb52db4" dependencies = [ "cfg-if 1.0.0", - "crossbeam-utils 0.8.4", + "crossbeam-utils 0.8.5", ] [[package]] @@ -1127,8 +1267,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94af6efb46fef72616855b036a624cf27ba656ffc9be1b9a3c931cfc7749a9a9" dependencies = [ "cfg-if 1.0.0", - "crossbeam-epoch 0.9.4", - "crossbeam-utils 0.8.4", + "crossbeam-epoch 0.9.5", + "crossbeam-utils 0.8.5", ] [[package]] @@ -1148,12 +1288,12 @@ dependencies = [ [[package]] name = "crossbeam-epoch" -version = "0.9.4" +version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52fb27eab85b17fbb9f6fd667089e07d6a2eb8743d02639ee7f6a7a7729c9c94" +checksum = "4ec02e091aa634e2c3ada4a392989e7c3116673ef0ac5b72232439094d73b7fd" dependencies = [ "cfg-if 1.0.0", - "crossbeam-utils 0.8.4", + "crossbeam-utils 0.8.5", "lazy_static", "memoffset 0.6.3", "scopeguard", @@ -1183,11 +1323,10 @@ dependencies = [ [[package]] name = "crossbeam-utils" -version = "0.8.4" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4feb231f0d4d6af81aed15928e58ecf5816aa62a2393e2c82f46973e92a9a278" +checksum = "d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db" dependencies = [ - "autocfg", "cfg-if 1.0.0", "lazy_static", ] @@ -1234,7 +1373,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5e98e2ad1a782e33928b96fc3948e7c355e5af34ba4de7670fe8bac2a3b2006d" dependencies = [ "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] @@ -1251,7 +1390,7 @@ dependencies = [ [[package]] name = "cumulus-client-cli" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=rococo-v1#da4c3bac6e9584e65740ef5db4dbd2c31c1a91db" +source = "git+https://github.com/paritytech//cumulus?rev=08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae#08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae" dependencies = [ "sc-cli", "sc-service", @@ -1261,35 +1400,65 @@ dependencies = [ [[package]] name = "cumulus-client-collator" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=rococo-v1#da4c3bac6e9584e65740ef5db4dbd2c31c1a91db" +source = "git+https://github.com/paritytech//cumulus?rev=08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae#08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", "cumulus-primitives-core", - "futures 0.3.15", + "futures 0.3.14", "parity-scale-codec", - "parking_lot 0.9.0", + "parking_lot 0.10.2", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-overseer", "polkadot-primitives", "sc-client-api", + "sp-api", "sp-consensus", "sp-core", "sp-io", "sp-runtime", - "sp-state-machine", + "tracing", +] + +[[package]] +name = "cumulus-client-consensus-aura" +version = "0.1.0" +source = "git+https://github.com/paritytech//cumulus?rev=08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae#08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae" +dependencies = [ + "async-trait", + "cumulus-client-consensus-common", + "cumulus-primitives-core", + "futures 0.3.14", + "parity-scale-codec", + "parking_lot 0.10.2", + "polkadot-service", + "sc-client-api", + "sc-consensus-aura", + "sc-consensus-slots", + "sc-telemetry", + "sp-api", + "sp-application-crypto", + "sp-block-builder", + "sp-blockchain", + "sp-consensus", + "sp-consensus-aura", + "sp-core", + "sp-inherents", + "sp-keystore", + "sp-runtime", + "substrate-prometheus-endpoint", "tracing", ] [[package]] name = "cumulus-client-consensus-common" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=rococo-v1#da4c3bac6e9584e65740ef5db4dbd2c31c1a91db" +source = "git+https://github.com/paritytech//cumulus?rev=08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae#08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae" dependencies = [ "async-trait", "dyn-clone", - "futures 0.3.15", + "futures 0.3.14", "parity-scale-codec", "polkadot-primitives", "polkadot-runtime", @@ -1303,22 +1472,20 @@ dependencies = [ "sp-runtime", "sp-trie", "substrate-prometheus-endpoint", - "tokio 0.1.22", "tracing", ] [[package]] name = "cumulus-client-consensus-relay-chain" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=rococo-v1#da4c3bac6e9584e65740ef5db4dbd2c31c1a91db" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.4#08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae" dependencies = [ "async-trait", "cumulus-client-consensus-common", "cumulus-primitives-core", - "cumulus-primitives-parachain-inherent", - "futures 0.3.15", + "futures 0.3.14", "parity-scale-codec", - "parking_lot 0.9.0", + "parking_lot 0.10.2", "polkadot-service", "sc-client-api", "sp-api", @@ -1335,10 +1502,10 @@ dependencies = [ [[package]] name = "cumulus-client-network" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=rococo-v1#da4c3bac6e9584e65740ef5db4dbd2c31c1a91db" +source = "git+https://github.com/paritytech//cumulus?rev=08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae#08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae" dependencies = [ "derive_more 0.99.13", - "futures 0.3.15", + "futures 0.3.14", "futures-timer 3.0.2", "parity-scale-codec", "parking_lot 0.10.2", @@ -1356,20 +1523,49 @@ dependencies = [ "tracing", ] +[[package]] +name = "cumulus-client-pov-recovery" +version = "0.1.0" +source = "git+https://github.com/paritytech//cumulus?rev=08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae#08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae" +dependencies = [ + "cumulus-primitives-core", + "futures 0.3.14", + "futures-timer 3.0.2", + "parity-scale-codec", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-overseer", + "polkadot-parachain", + "polkadot-primitives", + "polkadot-service", + "polkadot-statement-table", + "rand 0.8.3", + "sc-client-api", + "sp-api", + "sp-consensus", + "sp-core", + "sp-maybe-compressed-blob", + "sp-runtime", + "tracing", +] + [[package]] name = "cumulus-client-service" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=rococo-v1#da4c3bac6e9584e65740ef5db4dbd2c31c1a91db" +source = "git+https://github.com/paritytech//cumulus?rev=08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae#08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae" dependencies = [ "cumulus-client-collator", "cumulus-client-consensus-common", + "cumulus-client-pov-recovery", "cumulus-primitives-core", - "futures 0.3.15", "parity-scale-codec", + "parking_lot 0.10.2", + "polkadot-overseer", "polkadot-primitives", "polkadot-service", "sc-chain-spec", "sc-client-api", + "sc-consensus-babe", "sc-service", "sc-telemetry", "sc-tracing", @@ -1381,10 +1577,46 @@ dependencies = [ "tracing", ] +[[package]] +name = "cumulus-pallet-aura-ext" +version = "0.1.0" +source = "git+https://github.com/paritytech//cumulus?rev=08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae#08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae" +dependencies = [ + "frame-executive", + "frame-support", + "frame-system", + "pallet-aura", + "parity-scale-codec", + "serde", + "sp-application-crypto", + "sp-consensus-aura", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "cumulus-pallet-dmp-queue" +version = "0.1.0" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.4#08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae" +dependencies = [ + "cumulus-primitives-core", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "rand 0.8.3", + "rand_chacha 0.3.0", + "sp-io", + "sp-runtime", + "sp-std", + "xcm", + "xcm-executor", +] + [[package]] name = "cumulus-pallet-parachain-system" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=rococo-v1#da4c3bac6e9584e65740ef5db4dbd2c31c1a91db" +source = "git+https://github.com/paritytech//cumulus?rev=08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae#08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", @@ -1414,13 +1646,14 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=rococo-v1#da4c3bac6e9584e65740ef5db4dbd2c31c1a91db" +source = "git+https://github.com/paritytech//cumulus?rev=08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae#08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae" dependencies = [ "cumulus-primitives-core", "frame-support", "frame-system", "parity-scale-codec", "serde", + "sp-io", "sp-runtime", "sp-std", "xcm", @@ -1429,7 +1662,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=rococo-v1#da4c3bac6e9584e65740ef5db4dbd2c31c1a91db" +source = "git+https://github.com/paritytech//cumulus?rev=08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae#08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1447,7 +1680,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=rococo-v1#da4c3bac6e9584e65740ef5db4dbd2c31c1a91db" +source = "git+https://github.com/paritytech//cumulus?rev=08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae#08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -1455,6 +1688,7 @@ dependencies = [ "polkadot-core-primitives", "polkadot-parachain", "polkadot-primitives", + "sp-api", "sp-runtime", "sp-std", "sp-trie", @@ -1464,10 +1698,12 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=rococo-v1#da4c3bac6e9584e65740ef5db4dbd2c31c1a91db" +source = "git+https://github.com/paritytech//cumulus?rev=08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae#08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae" dependencies = [ + "async-trait", "cumulus-primitives-core", "parity-scale-codec", + "polkadot-service", "sc-client-api", "sp-api", "sp-core", @@ -1482,7 +1718,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=rococo-v1#da4c3bac6e9584e65740ef5db4dbd2c31c1a91db" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.4#08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1546,7 +1782,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f0f83e699727abca3c56e187945f303389590305ab2f0185ea445aa66e8d5f2a" dependencies = [ "data-encoding", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] @@ -1557,7 +1793,7 @@ checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" dependencies = [ "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] @@ -1583,7 +1819,7 @@ dependencies = [ "convert_case", "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] @@ -1655,6 +1891,12 @@ dependencies = [ "quick-error 1.2.3", ] +[[package]] +name = "downcast-rs" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650" + [[package]] name = "dyn-clonable" version = "0.9.0" @@ -1673,7 +1915,7 @@ checksum = "558e40ea573c374cf53507fd240b7ee2f5477df7cfebdb97323ec61c719399c5" dependencies = [ "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] @@ -1684,9 +1926,9 @@ checksum = "ee2626afccd7561a06cf1367e2950c4718ea04565e20fb5029b6c7d8ad09abcf" [[package]] name = "ed25519" -version = "1.1.1" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d0860415b12243916284c67a9be413e044ee6668247b99ba26d94b2bc06c8f6" +checksum = "37c66a534cbb46ab4ea03477eae19d5c22c01da8258030280b7bd9d8433fb6ef" dependencies = [ "signature", ] @@ -1701,7 +1943,7 @@ dependencies = [ "ed25519", "rand 0.7.3", "serde", - "sha2 0.9.5", + "sha2 0.9.3", "zeroize", ] @@ -1720,7 +1962,7 @@ dependencies = [ "heck", "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] @@ -1740,7 +1982,7 @@ checksum = "946ee94e3dbf58fdd324f9ce245c7b238d46a66f00e86a020b71996349e46cce" dependencies = [ "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] @@ -1751,7 +1993,7 @@ checksum = "4e58b112d5099aa0857c5d05f0eacab86406dd8c0f85fe5d320a13256d29ecf4" dependencies = [ "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] @@ -1855,7 +2097,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e43f2f1833d64e33f15592464d6fdd70f349dda7b1a53088eb83cd94014008c5" dependencies = [ - "futures 0.3.15", + "futures 0.3.14", ] [[package]] @@ -1876,7 +2118,7 @@ checksum = "aa4da3c766cd7a0db8242e326e9e4e081edd567072893ed320008189715366a4" dependencies = [ "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", "synstructure", ] @@ -1927,7 +2169,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c6447e2f8178843749e8c8003206def83ec124a7859475395777a28b5338647c" dependencies = [ "either", - "futures 0.3.15", + "futures 0.3.14", "futures-timer 3.0.2", "log", "num-traits", @@ -1975,7 +2217,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "parity-scale-codec", ] @@ -1993,7 +2235,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "3.1.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-support", "frame-system", @@ -2012,7 +2254,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "Inflector", "chrono", @@ -2035,7 +2277,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-support", "frame-system", @@ -2048,7 +2290,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-support", "frame-system", @@ -2063,7 +2305,7 @@ dependencies = [ [[package]] name = "frame-metadata" version = "13.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "parity-scale-codec", "serde", @@ -2074,13 +2316,14 @@ dependencies = [ [[package]] name = "frame-support" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "bitflags", "frame-metadata", "frame-support-procedural", "impl-trait-for-tuples", "log", + "max-encoded-len", "once_cell", "parity-scale-codec", "paste", @@ -2100,41 +2343,41 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "Inflector", "frame-support-procedural-tools", "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] name = "frame-support-procedural-tools" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.0.0", "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] name = "frame-system" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -2151,7 +2394,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.4#ea5d3570673d125dfe0b7da33b345c3c13195380" dependencies = [ "frame-benchmarking", "frame-support", @@ -2165,7 +2408,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "parity-scale-codec", "sp-api", @@ -2174,7 +2417,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-support", "parity-scale-codec", @@ -2185,9 +2428,9 @@ dependencies = [ [[package]] name = "fs-err" -version = "2.6.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ebd3504ad6116843b8375ad70df74e7bfe83cac77a1f3fe73200c844d43bfe0" +checksum = "bcd1163ae48bda72a20ae26d66a04d3094135cadab911cff418ae5e33f253431" [[package]] name = "fs-swap" @@ -2247,9 +2490,9 @@ checksum = "3a471a38ef8ed83cd6e40aa59c1ffe17db6855c18e3604d9c4ed8c08ebc28678" [[package]] name = "futures" -version = "0.3.15" +version = "0.3.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e7e43a803dae2fa37c1f6a8fe121e1f7bf9548b4dfc0522a42f34145dadfc27" +checksum = "a9d5813545e459ad3ca1bff9915e9ad7f1a47dc6a91b627ce321d5863b7dd253" dependencies = [ "futures-channel", "futures-core", @@ -2262,9 +2505,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.15" +version = "0.3.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e682a68b29a882df0545c143dc3646daefe80ba479bcdede94d5a703de2871e2" +checksum = "ce79c6a52a299137a6013061e0cf0e688fce5d7f1bc60125f520912fdb29ec25" dependencies = [ "futures-core", "futures-sink", @@ -2272,9 +2515,9 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.15" +version = "0.3.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0402f765d8a89a26043b889b26ce3c4679d268fa6bb22cd7c6aad98340e179d1" +checksum = "098cd1c6dda6ca01650f1a37a794245eb73181d0d4d4e955e2f3c37db7af1815" [[package]] name = "futures-cpupool" @@ -2293,7 +2536,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fdcef58a173af8148b182684c9f2d5250875adbcaff7b5794073894f9d8634a9" dependencies = [ "futures 0.1.31", - "futures 0.3.15", + "futures 0.3.14", "lazy_static", "log", "parking_lot 0.9.0", @@ -2304,9 +2547,9 @@ dependencies = [ [[package]] name = "futures-executor" -version = "0.3.15" +version = "0.3.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "badaa6a909fac9e7236d0620a2f57f7664640c56575b71a7552fbd68deafab79" +checksum = "10f6cb7042eda00f0049b1d2080aa4b93442997ee507eb3828e8bd7577f94c9d" dependencies = [ "futures-core", "futures-task", @@ -2316,9 +2559,9 @@ dependencies = [ [[package]] name = "futures-io" -version = "0.3.15" +version = "0.3.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acc499defb3b348f8d8f3f66415835a9131856ff7714bf10dadfc4ec4bdb29a1" +checksum = "365a1a1fb30ea1c03a830fdb2158f5236833ac81fa0ad12fe35b29cddc35cb04" [[package]] name = "futures-lite" @@ -2337,15 +2580,14 @@ dependencies = [ [[package]] name = "futures-macro" -version = "0.3.15" +version = "0.3.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4c40298486cdf52cc00cd6d6987892ba502c7656a16a4192a9992b1ccedd121" +checksum = "668c6733a182cd7deb4f1de7ba3bf2120823835b3bcfbeacf7d2c4a773c1bb8b" dependencies = [ - "autocfg", "proc-macro-hack", "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] @@ -2356,20 +2598,20 @@ checksum = "3a1387e07917c711fb4ee4f48ea0adb04a3c9739e53ef85bf43ae1edc2937a8b" dependencies = [ "futures-io", "rustls 0.19.1", - "webpki", + "webpki 0.21.4", ] [[package]] name = "futures-sink" -version = "0.3.15" +version = "0.3.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a57bead0ceff0d6dde8f465ecd96c9338121bb7717d3e7b108059531870c4282" +checksum = "5c5629433c555de3d82861a7a4e3794a4c40040390907cfbfd7143a92a426c23" [[package]] name = "futures-task" -version = "0.3.15" +version = "0.3.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a16bef9fc1a4dddb5bee51c989e3fbba26569cbb0e31f5b303c184e3dd33dae" +checksum = "ba7aa51095076f3ba6d9a1f702f74bd05ec65f555d70d2033d55ba8d69f581bc" [[package]] name = "futures-timer" @@ -2385,11 +2627,10 @@ checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" [[package]] name = "futures-util" -version = "0.3.15" +version = "0.3.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "feb5c238d27e2bf94ffdfd27b2c29e3df4a68c4193bb6427384259e2bf191967" +checksum = "3c144ad54d60f23927f0a6b6d816e4271278b64f005ad65e4e35291d2de9c025" dependencies = [ - "autocfg", "futures 0.1.31", "futures-channel", "futures-core", @@ -2476,17 +2717,17 @@ name = "gimli" version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f6503fe142514ca4799d4c26297c4248239fe8838d827db6bd6065c6ed29a6ce" -dependencies = [ - "fallible-iterator", - "indexmap", - "stable_deref_trait", -] [[package]] name = "gimli" version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0e4075386626662786ddb0ec9081e7c7eeb1ba31951f447ca780ef9f5d568189" +dependencies = [ + "fallible-iterator", + "indexmap", + "stable_deref_trait", +] [[package]] name = "glob" @@ -2560,14 +2801,14 @@ dependencies = [ [[package]] name = "handlebars" -version = "3.5.5" +version = "3.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4498fc115fa7d34de968184e473529abb40eeb6be8bc5f7faba3d08c316cb3e3" +checksum = "580b6f551b29a3a02436318aed09ba1c58eea177dc49e39beac627ad356730a5" dependencies = [ "log", "pest", "pest_derive", - "quick-error 2.0.1", + "quick-error 2.0.0", "serde", "serde_json", ] @@ -2739,9 +2980,9 @@ dependencies = [ [[package]] name = "httparse" -version = "1.4.1" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3a87b616e37e93c22fb19bcd386f02f3af5ea98a25670ad0fce773de23c5e68" +checksum = "4a1ce40d6fc9764887c2fdc7305c3dcc429ba11ff981c1509416afd5697e4437" [[package]] name = "httpdate" @@ -2833,7 +3074,7 @@ dependencies = [ "rustls-native-certs", "tokio 0.2.25", "tokio-rustls", - "webpki", + "webpki 0.21.4", ] [[package]] @@ -2886,7 +3127,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ae8ab7f67bad3240049cb24fb9cb0b4c2c6af4c245840917fbbdededeee91179" dependencies = [ "async-io", - "futures 0.3.15", + "futures 0.3.14", "futures-lite", "if-addrs", "ipnet", @@ -2930,7 +3171,7 @@ checksum = "d5dacb10c5b3bb92d46ba347505a9041e676bb20ad220101326bffb0c93031ee" dependencies = [ "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] @@ -2974,7 +3215,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "64fa110ec7b8f493f416eed552740d10e7030ad5f63b2308f82c9608ec2df275" dependencies = [ - "futures 0.3.15", + "futures 0.3.14", "futures-timer 2.0.2", ] @@ -3046,9 +3287,9 @@ dependencies = [ [[package]] name = "js-sys" -version = "0.3.51" +version = "0.3.50" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83bdfbace3a0e81a4253f73b49e960b053e396a11012cbd49b9b74d6a2b67062" +checksum = "2d99f9e3e84b8f67f846ef5b4cbbc3b1c29f6c759fcbce6f01aa0e73d932a24c" dependencies = [ "wasm-bindgen", ] @@ -3100,7 +3341,7 @@ dependencies = [ "proc-macro-crate 0.1.5", "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] @@ -3175,36 +3416,17 @@ dependencies = [ "slab", ] -[[package]] -name = "jsonrpsee-http-client" -version = "0.2.0-alpha.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e3a49473ea266be8e9f23e20a7bfa4349109b42319d72cc0b8a101e18fa6466" -dependencies = [ - "async-trait", - "fnv", - "hyper 0.13.10", - "hyper-rustls", - "jsonrpsee-types", - "jsonrpsee-utils", - "log", - "serde", - "serde_json", - "thiserror", - "url 2.2.2", -] - [[package]] name = "jsonrpsee-proc-macros" -version = "0.2.0-alpha.5" +version = "0.2.0-alpha.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0cbaee9ca6440e191545a68c7bf28db0ff918359a904e37a6e7cf7edd132f5a" +checksum = "5784ee8bb31988fa2c7a755fe31b0e21aa51894a67e5c99b6d4470f0253bf31a" dependencies = [ "Inflector", "proc-macro-crate 1.0.0", "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] @@ -3224,14 +3446,25 @@ dependencies = [ ] [[package]] -name = "jsonrpsee-utils" +name = "jsonrpsee-ws-client" version = "0.2.0-alpha.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d63cf4d423614e71fd144a8691208539d2b23d8373e069e2fbe023c5eba5e922" +checksum = "d6fdb4390bd25358c62e8b778652a564a1723ba07dca0feb3da439c2253fe59f" dependencies = [ - "futures-util", - "hyper 0.13.10", + "async-std", + "async-tls", + "async-trait", + "fnv", + "futures 0.3.14", "jsonrpsee-types", + "log", + "pin-project 1.0.7", + "serde", + "serde_json", + "soketto", + "thiserror", + "url 2.2.1", + "webpki 0.22.0", ] [[package]] @@ -3252,8 +3485,8 @@ dependencies = [ [[package]] name = "kusama-runtime" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +version = "0.9.4" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "beefy-primitives", "bitvec", @@ -3266,6 +3499,7 @@ dependencies = [ "frame-try-runtime", "hex-literal 0.3.1", "log", + "max-encoded-len", "pallet-authority-discovery", "pallet-authorship", "pallet-babe", @@ -3275,6 +3509,7 @@ dependencies = [ "pallet-democracy", "pallet-election-provider-multi-phase", "pallet-elections-phragmen", + "pallet-gilt", "pallet-grandpa", "pallet-identity", "pallet-im-online", @@ -3293,7 +3528,7 @@ dependencies = [ "pallet-session-benchmarking", "pallet-society", "pallet-staking", - "pallet-staking-reward-curve", + "pallet-staking-reward-fn", "pallet-timestamp", "pallet-tips", "pallet-transaction-payment", @@ -3301,14 +3536,17 @@ dependencies = [ "pallet-treasury", "pallet-utility", "pallet-vesting", + "pallet-xcm", "parity-scale-codec", "polkadot-primitives", "polkadot-runtime-common", + "polkadot-runtime-parachains", "rustc-hex", "serde", "serde_derive", "smallvec 1.6.1", "sp-api", + "sp-arithmetic", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", @@ -3325,6 +3563,9 @@ dependencies = [ "sp-version", "static_assertions", "substrate-wasm-builder 3.0.0", + "xcm", + "xcm-builder", + "xcm-executor", ] [[package]] @@ -3359,9 +3600,9 @@ dependencies = [ [[package]] name = "kvdb-rocksdb" -version = "0.11.1" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94b27cdb788bf1c8ade782289f9dbee626940be2961fd75c7cde993fa2f1ded1" +checksum = "34446c373ccc494c2124439281c198c7636ccdc2752c06722bbffd56d459c1e4" dependencies = [ "fs-swap", "kvdb", @@ -3433,7 +3674,7 @@ checksum = "08053fbef67cd777049ef7a95ebaca2ece370b4ed7712c3fa404d69a88cb741b" dependencies = [ "atomic", "bytes 1.0.1", - "futures 0.3.15", + "futures 0.3.14", "lazy_static", "libp2p-core", "libp2p-deflate", @@ -3475,7 +3716,7 @@ dependencies = [ "ed25519-dalek", "either", "fnv", - "futures 0.3.15", + "futures 0.3.14", "futures-timer 3.0.2", "lazy_static", "libsecp256k1", @@ -3490,7 +3731,7 @@ dependencies = [ "rand 0.7.3", "ring", "rw-stream-sink", - "sha2 0.9.5", + "sha2 0.9.3", "smallvec 1.6.1", "thiserror", "unsigned-varint 0.7.0", @@ -3505,7 +3746,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2181a641cd15f9b6ba71b1335800f309012a0a97a29ffaabbbf40e9d3d58f08" dependencies = [ "flate2", - "futures 0.3.15", + "futures 0.3.14", "libp2p-core", ] @@ -3516,7 +3757,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "62e63dab8b5ff35e0c101a3e51e843ba782c07bbb1682f5fd827622e0d02b98b" dependencies = [ "async-std-resolver", - "futures 0.3.15", + "futures 0.3.14", "libp2p-core", "log", "smallvec 1.6.1", @@ -3531,7 +3772,7 @@ checksum = "48a9b570f6766301d9c4aa00fce3554cad1598e2f466debbc4dde909028417cf" dependencies = [ "cuckoofilter", "fnv", - "futures 0.3.15", + "futures 0.3.14", "libp2p-core", "libp2p-swarm", "log", @@ -3552,7 +3793,7 @@ dependencies = [ "byteorder", "bytes 1.0.1", "fnv", - "futures 0.3.15", + "futures 0.3.14", "hex_fmt", "libp2p-core", "libp2p-swarm", @@ -3561,7 +3802,7 @@ dependencies = [ "prost-build", "rand 0.7.3", "regex", - "sha2 0.9.5", + "sha2 0.9.3", "smallvec 1.6.1", "unsigned-varint 0.7.0", "wasm-timer", @@ -3573,7 +3814,7 @@ version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5f668f00efd9883e8b7bcc582eaf0164615792608f886f6577da18bcbeea0a46" dependencies = [ - "futures 0.3.15", + "futures 0.3.14", "libp2p-core", "libp2p-swarm", "log", @@ -3594,14 +3835,14 @@ dependencies = [ "bytes 1.0.1", "either", "fnv", - "futures 0.3.15", + "futures 0.3.14", "libp2p-core", "libp2p-swarm", "log", "prost", "prost-build", "rand 0.7.3", - "sha2 0.9.5", + "sha2 0.9.3", "smallvec 1.6.1", "uint", "unsigned-varint 0.7.0", @@ -3611,14 +3852,14 @@ dependencies = [ [[package]] name = "libp2p-mdns" -version = "0.30.2" +version = "0.30.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4efa70c1c3d2d91237f8546e27aeb85e287d62c066a7b4f3ea6a696d43ced714" +checksum = "41e282f974c4bea56db8acca50387f05189406e346318cb30190b0bde662961e" dependencies = [ "async-io", "data-encoding", "dns-parser", - "futures 0.3.15", + "futures 0.3.14", "if-watch", "lazy_static", "libp2p-core", @@ -3638,7 +3879,7 @@ checksum = "85e9b544335d1ed30af71daa96edbefadef6f19c7a55f078b9fc92c87163105d" dependencies = [ "asynchronous-codec 0.6.0", "bytes 1.0.1", - "futures 0.3.15", + "futures 0.3.14", "libp2p-core", "log", "nohash-hasher", @@ -3656,14 +3897,14 @@ checksum = "36db0f0db3b0433f5b9463f1c0cd9eadc0a3734a9170439ce501ff99733a88bd" dependencies = [ "bytes 1.0.1", "curve25519-dalek 3.1.0", - "futures 0.3.15", + "futures 0.3.14", "lazy_static", "libp2p-core", "log", "prost", "prost-build", "rand 0.7.3", - "sha2 0.9.5", + "sha2 0.9.3", "snow", "static_assertions", "x25519-dalek", @@ -3676,7 +3917,7 @@ version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bf4bfaffac63bf3c7ec11ed9d8879d455966ddea7e78ee14737f0b6dce0d1cd1" dependencies = [ - "futures 0.3.15", + "futures 0.3.14", "libp2p-core", "libp2p-swarm", "log", @@ -3693,7 +3934,7 @@ checksum = "0c8c37b4d2a075b4be8442760a5f8c037180f0c8dd5b5734b9978ab868b3aa11" dependencies = [ "asynchronous-codec 0.6.0", "bytes 1.0.1", - "futures 0.3.15", + "futures 0.3.14", "libp2p-core", "log", "prost", @@ -3708,7 +3949,7 @@ version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6ce3374f3b28162db9d3442c9347c4f14cb01e8290052615c7d341d40eae0599" dependencies = [ - "futures 0.3.15", + "futures 0.3.14", "log", "pin-project 1.0.7", "rand 0.7.3", @@ -3724,7 +3965,7 @@ checksum = "0b8786aca3f18671d8776289706a5521f6c9124a820f69e358de214b9939440d" dependencies = [ "asynchronous-codec 0.6.0", "bytes 1.0.1", - "futures 0.3.15", + "futures 0.3.14", "futures-timer 3.0.2", "libp2p-core", "libp2p-swarm", @@ -3747,7 +3988,7 @@ checksum = "1cdbe172f08e6d0f95fa8634e273d4c4268c4063de2e33e7435194b0130c62e3" dependencies = [ "async-trait", "bytes 1.0.1", - "futures 0.3.15", + "futures 0.3.14", "libp2p-core", "libp2p-swarm", "log", @@ -3766,7 +4007,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e04d8e1eef675029ec728ba14e8d0da7975d84b6679b699b4ae91a1de9c3a92" dependencies = [ "either", - "futures 0.3.15", + "futures 0.3.14", "libp2p-core", "log", "rand 0.7.3", @@ -3782,7 +4023,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "365b0a699fea5168676840567582a012ea297b1ca02eee467e58301b9c9c5eed" dependencies = [ "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] @@ -3792,7 +4033,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2b1a27d21c477951799e99d5c105d78868258502ce092988040a808d5a19bbd9" dependencies = [ "async-io", - "futures 0.3.15", + "futures 0.3.14", "futures-timer 3.0.2", "if-watch", "ipnet", @@ -3809,7 +4050,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ffd6564bb3b7ff203661ccbb69003c2b551e34cef974f2d6c6a28306a12170b5" dependencies = [ "async-std", - "futures 0.3.15", + "futures 0.3.14", "libp2p-core", "log", ] @@ -3820,7 +4061,7 @@ version = "0.28.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2d413e4cf9b8e5dfbcd2a60d3dc5a3391308bdb463684093d4f67137b7113de" dependencies = [ - "futures 0.3.15", + "futures 0.3.14", "js-sys", "libp2p-core", "parity-send-wrapper", @@ -3835,14 +4076,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cace60995ef6f637e4752cccbb2590f6bc358e8741a0d066307636c69a4b3a74" dependencies = [ "either", - "futures 0.3.15", + "futures 0.3.14", "futures-rustls", "libp2p-core", "log", "quicksink", "rw-stream-sink", "soketto", - "url 2.2.2", + "url 2.2.1", "webpki-roots", ] @@ -3852,7 +4093,7 @@ version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f35da42cfc6d5cb0dcf3ad6881bc68d146cdf38f98655e09e33fbba4d13eabc4" dependencies = [ - "futures 0.3.15", + "futures 0.3.14", "libp2p-core", "parking_lot 0.11.1", "thiserror", @@ -3889,9 +4130,9 @@ dependencies = [ [[package]] name = "libz-sys" -version = "1.1.3" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de5435b8549c16d423ed0c03dbaafe57cf6c3344744f1242520d59c9d8ecec66" +checksum = "602113192b08db8f38796c4e85c39e960c145965140e918018bcde1952429655" dependencies = [ "cc", "pkg-config", @@ -3934,9 +4175,9 @@ dependencies = [ [[package]] name = "lock_api" -version = "0.4.4" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0382880606dff6d15c9476c416d18690b72742aa7b605bb6dd6ec9030fbf07eb" +checksum = "5a3c91c24eae6777794bb1997ad98bbb87daf92890acab859f7eaa4320333176" dependencies = [ "scopeguard", ] @@ -4023,6 +4264,28 @@ dependencies = [ "rawpointer", ] +[[package]] +name = "max-encoded-len" +version = "3.0.0" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" +dependencies = [ + "impl-trait-for-tuples", + "max-encoded-len-derive", + "parity-scale-codec", + "primitive-types", +] + +[[package]] +name = "max-encoded-len-derive" +version = "3.0.0" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" +dependencies = [ + "proc-macro-crate 1.0.0", + "proc-macro2 1.0.26", + "quote 1.0.9", + "syn 1.0.71", +] + [[package]] name = "maybe-uninit" version = "2.0.0" @@ -4031,9 +4294,9 @@ checksum = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00" [[package]] name = "memchr" -version = "2.4.0" +version = "2.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc" +checksum = "0ee1c47aaa256ecabcaea351eae4a9b01ef39ed810004e298d2511ed284b1525" [[package]] name = "memmap2" @@ -4103,10 +4366,10 @@ dependencies = [ [[package]] name = "metered-channel" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "derive_more 0.99.13", - "futures 0.3.15", + "futures 0.3.14", "futures-timer 3.0.2", ] @@ -4116,7 +4379,7 @@ version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c023c3f16109e7f33aa451f773fd61070e265b4977d0b6e344a51049296dd7df" dependencies = [ - "futures 0.3.15", + "futures 0.3.14", "rand 0.7.3", "thrift", ] @@ -4138,7 +4401,7 @@ checksum = "7f2b9e8883d58e34b18facd16c4564a77ea50fce028ad3d0ee6753440e37acc8" dependencies = [ "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] @@ -4255,7 +4518,7 @@ dependencies = [ "digest 0.9.0", "generic-array 0.14.4", "multihash-derive", - "sha2 0.9.5", + "sha2 0.9.3", "sha3", "unsigned-varint 0.5.1", ] @@ -4270,7 +4533,7 @@ dependencies = [ "proc-macro-error", "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", "synstructure", ] @@ -4287,7 +4550,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7d91ec0a2440aaff5f78ec35631a7027d50386c6163aa975f7caa0d5da4b6ff8" dependencies = [ "bytes 1.0.1", - "futures 0.3.15", + "futures 0.3.14", "log", "pin-project 1.0.7", "smallvec 1.6.1", @@ -4459,16 +4722,16 @@ name = "object" version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a9a7ab5d64814df0fe4a4b5ead45ed6c5f181ee3ff04ba344313a6c80446c5d4" -dependencies = [ - "crc32fast", - "indexmap", -] [[package]] name = "object" version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1a5b3dd1c072ee7963717671d1ca129f1048fda25edea6b752bfc71ac8854170" +dependencies = [ + "crc32fast", + "indexmap", +] [[package]] name = "once_cell" @@ -4493,9 +4756,9 @@ checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" [[package]] name = "openssl-probe" -version = "0.1.4" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28988d872ab76095a6e6ac88d99b54fd267702734fd7ffe610ca27f533ddb95a" +checksum = "77af24da69f9d9341038eba93a073b1fdaaa1b788221b00a69bce9e762cb32de" [[package]] name = "ordered-float" @@ -4546,15 +4809,30 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", "xcm", "xcm-executor", ] +[[package]] +name = "pallet-aura" +version = "3.0.0" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" +dependencies = [ + "frame-support", + "frame-system", + "pallet-session", + "pallet-timestamp", + "parity-scale-codec", + "sp-application-crypto", + "sp-consensus-aura", + "sp-runtime", + "sp-std", +] + [[package]] name = "pallet-authority-discovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-support", "frame-system", @@ -4569,14 +4847,13 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-support", "frame-system", "impl-trait-for-tuples", "parity-scale-codec", - "sp-authorship", - "sp-inherents", + "sp-authorship 3.0.0 (git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6)", "sp-runtime", "sp-std", ] @@ -4584,7 +4861,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-benchmarking", "frame-support", @@ -4607,12 +4884,13 @@ dependencies = [ [[package]] name = "pallet-balances" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "log", + "max-encoded-len", "parity-scale-codec", "sp-runtime", "sp-std", @@ -4621,7 +4899,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "0.1.0" -source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=rococo-v1#b0e5f2da52cc9bc9804a23e111d003413b268faf" +source = "git+https://github.com/paritytech//grandpa-bridge-gadget?rev=063e18a1f82945d5a304906db92bfbb571bac459#063e18a1f82945d5a304906db92bfbb571bac459" dependencies = [ "beefy-primitives", "frame-support", @@ -4636,7 +4914,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-benchmarking", "frame-support", @@ -4647,10 +4925,31 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-bridge-grandpa" +version = "0.1.0" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" +dependencies = [ + "bp-header-chain", + "bp-runtime", + "bp-test-utils", + "finality-grandpa", + "frame-support", + "frame-system", + "log", + "num-traits", + "parity-scale-codec", + "serde", + "sp-finality-grandpa", + "sp-runtime", + "sp-std", + "sp-trie", +] + [[package]] name = "pallet-chainlink-feed" version = "0.1.0" -source = "git+https://github.com/ChainSafe/chainlink-polkadot#ee618d840cba167d5e77643511b2a4265951e8f1" +source = "git+https://github.com/ChainSafe/chainlink-polkadot?branch=upgrade-substrate-master#486bf0780ca7224de0062c71092bf4009bcec565" dependencies = [ "frame-benchmarking", "frame-support", @@ -4666,7 +4965,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-benchmarking", "frame-support", @@ -4697,7 +4996,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-benchmarking", "frame-support", @@ -4712,7 +5011,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4722,6 +5021,7 @@ dependencies = [ "parity-scale-codec", "rand 0.7.3", "sp-arithmetic", + "sp-core", "sp-io", "sp-npos-elections", "sp-runtime", @@ -4732,7 +5032,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-benchmarking", "frame-support", @@ -4747,9 +5047,23 @@ dependencies = [ ] [[package]] -name = "pallet-grandpa" +name = "pallet-gilt" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.4#ea5d3570673d125dfe0b7da33b345c3c13195380" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec", + "sp-arithmetic", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-grandpa" +version = "3.1.0" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-benchmarking", "frame-support", @@ -4761,6 +5075,7 @@ dependencies = [ "sp-application-crypto", "sp-core", "sp-finality-grandpa", + "sp-io", "sp-runtime", "sp-session", "sp-staking", @@ -4770,7 +5085,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4785,7 +5100,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-benchmarking", "frame-support", @@ -4804,7 +5119,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-benchmarking", "frame-support", @@ -4812,7 +5127,7 @@ dependencies = [ "parity-scale-codec", "sp-core", "sp-io", - "sp-keyring", + "sp-keyring 3.0.0 (git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6)", "sp-runtime", "sp-std", ] @@ -4835,7 +5150,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-benchmarking", "frame-support", @@ -4850,7 +5165,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -4867,7 +5182,7 @@ dependencies = [ [[package]] name = "pallet-mmr-primitives" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-support", "frame-system", @@ -4883,7 +5198,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -4901,7 +5216,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-benchmarking", "frame-support", @@ -4916,7 +5231,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-support", "frame-system", @@ -4929,7 +5244,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-support", "frame-system", @@ -4945,7 +5260,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4983,11 +5298,12 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "max-encoded-len", "parity-scale-codec", "sp-core", "sp-io", @@ -4998,7 +5314,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-support", "frame-system", @@ -5011,7 +5327,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "enumflags2", "frame-support", @@ -5033,8 +5349,6 @@ dependencies = [ "frame-system", "log", "pallet-balances", - "pallet-proxy", - "pallet-staking", "parity-scale-codec", "serde", "sp-core", @@ -5065,7 +5379,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-benchmarking", "frame-support", @@ -5080,7 +5394,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-support", "frame-system", @@ -5099,7 +5413,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-benchmarking", "frame-support", @@ -5115,7 +5429,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-support", "frame-system", @@ -5128,7 +5442,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5152,18 +5466,27 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", +] + +[[package]] +name = "pallet-staking-reward-fn" +version = "3.0.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.4#ea5d3570673d125dfe0b7da33b345c3c13195380" +dependencies = [ + "log", + "sp-arithmetic", ] [[package]] name = "pallet-sudo" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-support", "frame-system", @@ -5176,7 +5499,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-benchmarking", "frame-support", @@ -5194,7 +5517,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-benchmarking", "frame-support", @@ -5209,7 +5532,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-support", "frame-system", @@ -5225,7 +5548,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -5242,7 +5565,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5253,7 +5576,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-benchmarking", "frame-support", @@ -5269,7 +5592,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-benchmarking", "frame-support", @@ -5284,7 +5607,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5298,7 +5621,7 @@ dependencies = [ [[package]] name = "pallet-xcm" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "frame-support", "frame-system", @@ -5307,6 +5630,7 @@ dependencies = [ "sp-runtime", "sp-std", "xcm", + "xcm-executor", ] [[package]] @@ -5330,7 +5654,7 @@ dependencies = [ [[package]] name = "parachain-info" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=rococo-v1#da4c3bac6e9584e65740ef5db4dbd2c31c1a91db" +source = "git+https://github.com/paritytech//cumulus?rev=08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae#08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -5343,6 +5667,8 @@ dependencies = [ name = "parachain-runtime" version = "2.0.0" dependencies = [ + "cumulus-pallet-aura-ext", + "cumulus-pallet-dmp-queue", "cumulus-pallet-parachain-system", "cumulus-pallet-xcm", "cumulus-pallet-xcmp-queue", @@ -5354,9 +5680,12 @@ dependencies = [ "frame-system", "frame-system-benchmarking", "frame-system-rpc-runtime-api", + "hex", "hex-literal 0.3.1", + "log", "pallet-asset-depository", "pallet-asset-index", + "pallet-aura", "pallet-balances", "pallet-chainlink-feed", "pallet-committee", @@ -5376,6 +5705,7 @@ dependencies = [ "serde", "sp-api", "sp-block-builder", + "sp-consensus-aura", "sp-core", "sp-inherents", "sp-io", @@ -5424,7 +5754,7 @@ dependencies = [ "serde", "static_assertions", "unsigned-varint 0.7.0", - "url 2.2.2", + "url 2.2.1", ] [[package]] @@ -5449,7 +5779,7 @@ dependencies = [ "proc-macro-crate 0.1.5", "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] @@ -5502,7 +5832,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2" dependencies = [ "proc-macro2 1.0.26", - "syn 1.0.72", + "syn 1.0.71", "synstructure", ] @@ -5517,9 +5847,9 @@ dependencies = [ [[package]] name = "parity-wasm" -version = "0.41.0" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddfc878dac00da22f8f61e7af3157988424567ab01d9920b962ef7dcbd7cd865" +checksum = "be5e13c266502aadf83426d87d81a0f5d1ef45b8027f5a471c360abfe4bfae92" [[package]] name = "parity-ws" @@ -5536,7 +5866,7 @@ dependencies = [ "rand 0.7.3", "sha-1 0.8.2", "slab", - "url 2.2.2", + "url 2.2.1", ] [[package]] @@ -5573,7 +5903,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6d7744ac029df22dca6284efe4e898991d28e3085c706c972bcd7da4a27a15eb" dependencies = [ "instant", - "lock_api 0.4.4", + "lock_api 0.4.3", "parking_lot_core 0.8.3", ] @@ -5615,7 +5945,7 @@ dependencies = [ "cfg-if 1.0.0", "instant", "libc", - "redox_syscall 0.2.8", + "redox_syscall 0.2.7", "smallvec 1.6.1", "winapi 0.3.9", ] @@ -5698,7 +6028,7 @@ dependencies = [ "pest_meta", "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] @@ -5748,7 +6078,7 @@ checksum = "3be26700300be6d9d23264c73211d8190e755b6b5ca7a1b28230025511b52a5e" dependencies = [ "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] @@ -5759,7 +6089,7 @@ checksum = "48c950132583b500556b1efd71d45b319029f2b71518d979fcc208e16b42426f" dependencies = [ "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] @@ -5782,17 +6112,22 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "pint" -version = "2.0.0" +version = "3.0.0" dependencies = [ "cumulus-client-cli", "cumulus-client-collator", + "cumulus-client-consensus-aura", + "cumulus-client-consensus-common", "cumulus-client-consensus-relay-chain", "cumulus-client-network", "cumulus-client-service", + "cumulus-pallet-parachain-system", "cumulus-primitives-core", + "cumulus-primitives-parachain-inherent", "derive_more 0.15.0", "frame-benchmarking", "frame-benchmarking-cli", + "futures 0.3.14", "hex-literal 0.2.1", "jsonrpc-core", "log", @@ -5811,6 +6146,7 @@ dependencies = [ "sc-consensus", "sc-executor", "sc-keystore", + "sc-network", "sc-rpc", "sc-rpc-api", "sc-service", @@ -5822,15 +6158,19 @@ dependencies = [ "sp-block-builder", "sp-blockchain", "sp-consensus", + "sp-consensus-aura", "sp-core", "sp-inherents", + "sp-keystore", + "sp-offchain", "sp-runtime", + "sp-session", "sp-timestamp", "sp-transaction-pool", - "sp-trie", "structopt", "substrate-build-script-utils", "substrate-frame-rpc-system", + "substrate-prometheus-endpoint", ] [[package]] @@ -5848,9 +6188,9 @@ checksum = "989d43012e2ca1c4a02507c67282691a0a3207f9dc67cec596b43fe925b3d325" [[package]] name = "polkadot-approval-distribution" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ - "futures 0.3.15", + "futures 0.3.14", "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-node-subsystem", @@ -5862,10 +6202,9 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ - "futures 0.3.15", - "parity-scale-codec", + "futures 0.3.14", "polkadot-node-network-protocol", "polkadot-node-subsystem", "polkadot-node-subsystem-util", @@ -5876,9 +6215,9 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ - "futures 0.3.15", + "futures 0.3.14", "lru", "parity-scale-codec", "polkadot-erasure-coding", @@ -5899,9 +6238,9 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ - "futures 0.3.15", + "futures 0.3.14", "lru", "parity-scale-codec", "polkadot-erasure-coding", @@ -5917,11 +6256,11 @@ dependencies = [ [[package]] name = "polkadot-cli" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +version = "0.9.4" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "frame-benchmarking-cli", - "futures 0.3.15", + "futures 0.3.14", "log", "polkadot-node-core-pvf", "polkadot-service", @@ -5938,10 +6277,10 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "always-assert", - "futures 0.3.15", + "futures 0.3.14", "futures-timer 3.0.2", "polkadot-node-network-protocol", "polkadot-node-primitives", @@ -5957,8 +6296,8 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +version = "0.9.4" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "parity-scale-codec", "parity-util-mem", @@ -5969,8 +6308,8 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +version = "0.9.4" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -5984,9 +6323,9 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ - "futures 0.3.15", + "futures 0.3.14", "polkadot-node-network-protocol", "polkadot-node-subsystem", "polkadot-node-subsystem-util", @@ -5999,10 +6338,10 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "async-trait", - "futures 0.3.15", + "futures 0.3.14", "parity-scale-codec", "parking_lot 0.11.1", "polkadot-node-network-protocol", @@ -6019,9 +6358,9 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ - "futures 0.3.15", + "futures 0.3.14", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-primitives", @@ -6037,11 +6376,11 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "bitvec", "derive_more 0.99.13", - "futures 0.3.15", + "futures 0.3.14", "futures-timer 3.0.2", "kvdb", "merlin", @@ -6066,10 +6405,10 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "bitvec", - "futures 0.3.15", + "futures 0.3.14", "futures-timer 3.0.2", "kvdb", "parity-scale-codec", @@ -6086,10 +6425,10 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "bitvec", - "futures 0.3.15", + "futures 0.3.14", "polkadot-erasure-coding", "polkadot-node-primitives", "polkadot-node-subsystem", @@ -6104,9 +6443,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ - "futures 0.3.15", + "futures 0.3.14", "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", @@ -6119,9 +6458,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-selection" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ - "futures 0.3.15", + "futures 0.3.14", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", @@ -6134,10 +6473,10 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "async-trait", - "futures 0.3.15", + "futures 0.3.14", "parity-scale-codec", "polkadot-node-core-pvf", "polkadot-node-primitives", @@ -6152,9 +6491,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ - "futures 0.3.15", + "futures 0.3.14", "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", @@ -6163,37 +6502,30 @@ dependencies = [ ] [[package]] -name = "polkadot-node-core-proposer" +name = "polkadot-node-core-parachains-inherent" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ - "futures 0.3.15", + "async-trait", + "futures 0.3.14", "futures-timer 3.0.2", "polkadot-node-subsystem", "polkadot-overseer", "polkadot-primitives", - "sc-basic-authorship", - "sc-block-builder", - "sc-client-api", - "sc-telemetry", - "sp-api", "sp-blockchain", - "sp-consensus", - "sp-core", "sp-inherents", "sp-runtime", - "sp-transaction-pool", - "substrate-prometheus-endpoint", + "thiserror", "tracing", ] [[package]] name = "polkadot-node-core-provisioner" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "bitvec", - "futures 0.3.15", + "futures 0.3.14", "futures-timer 3.0.2", "polkadot-node-subsystem", "polkadot-node-subsystem-util", @@ -6205,13 +6537,13 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "always-assert", "assert_matches", "async-process", "async-std", - "futures 0.3.15", + "futures 0.3.14", "futures-timer 3.0.2", "libc", "parity-scale-codec", @@ -6233,9 +6565,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ - "futures 0.3.15", + "futures 0.3.14", "memory-lru", "parity-util-mem", "polkadot-node-subsystem", @@ -6251,7 +6583,7 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "async-std", "lazy_static", @@ -6269,9 +6601,9 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ - "futures 0.3.15", + "futures 0.3.14", "parity-scale-codec", "polkadot-node-jaeger", "polkadot-node-primitives", @@ -6284,9 +6616,9 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ - "futures 0.3.15", + "futures 0.3.14", "parity-scale-codec", "polkadot-parachain", "polkadot-primitives", @@ -6306,12 +6638,12 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "async-std", "async-trait", "derive_more 0.99.13", - "futures 0.3.15", + "futures 0.3.14", "futures-timer 3.0.2", "lazy_static", "log", @@ -6336,10 +6668,10 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "async-trait", - "futures 0.3.15", + "futures 0.3.14", "futures-timer 3.0.2", "lru", "metered-channel", @@ -6364,15 +6696,17 @@ dependencies = [ [[package]] name = "polkadot-overseer" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "async-trait", - "futures 0.3.15", + "futures 0.3.14", "futures-timer 3.0.2", + "lru", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", + "polkadot-procmacro-overseer-subsystems-gen", "sc-client-api", "sp-api", "tracing", @@ -6380,8 +6714,8 @@ dependencies = [ [[package]] name = "polkadot-parachain" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +version = "0.9.4" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "derive_more 0.99.13", "parity-scale-codec", @@ -6395,8 +6729,8 @@ dependencies = [ [[package]] name = "polkadot-primitives" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +version = "0.9.4" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "bitvec", "frame-system", @@ -6410,6 +6744,7 @@ dependencies = [ "sp-application-crypto", "sp-arithmetic", "sp-authority-discovery", + "sp-consensus-slots", "sp-core", "sp-inherents", "sp-io", @@ -6422,21 +6757,32 @@ dependencies = [ "thiserror", ] +[[package]] +name = "polkadot-procmacro-overseer-subsystems-gen" +version = "0.1.0" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" +dependencies = [ + "assert_matches", + "proc-macro2 1.0.26", + "quote 1.0.9", + "syn 1.0.71", +] + [[package]] name = "polkadot-procmacro-subsystem-dispatch-gen" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "assert_matches", "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] name = "polkadot-rpc" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +version = "0.9.4" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "beefy-gadget", "beefy-gadget-rpc", @@ -6468,8 +6814,8 @@ dependencies = [ [[package]] name = "polkadot-runtime" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +version = "0.9.4" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "beefy-primitives", "bitvec", @@ -6482,6 +6828,7 @@ dependencies = [ "frame-try-runtime", "hex-literal 0.3.1", "log", + "max-encoded-len", "pallet-authority-discovery", "pallet-authorship", "pallet-babe", @@ -6543,8 +6890,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +version = "0.9.4" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "beefy-primitives", "bitvec", @@ -6587,8 +6934,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +version = "0.9.4" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "bitvec", "derive_more 0.99.13", @@ -6626,14 +6973,14 @@ dependencies = [ [[package]] name = "polkadot-service" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +version = "0.9.4" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "beefy-gadget", "beefy-primitives", "frame-benchmarking", "frame-system-rpc-runtime-api", - "futures 0.3.15", + "futures 0.3.14", "hex-literal 0.3.1", "kusama-runtime", "kvdb", @@ -6658,7 +7005,7 @@ dependencies = [ "polkadot-node-core-candidate-selection", "polkadot-node-core-candidate-validation", "polkadot-node-core-chain-api", - "polkadot-node-core-proposer", + "polkadot-node-core-parachains-inherent", "polkadot-node-core-provisioner", "polkadot-node-core-runtime-api", "polkadot-node-primitives", @@ -6673,6 +7020,7 @@ dependencies = [ "polkadot-statement-distribution", "rococo-runtime", "sc-authority-discovery", + "sc-basic-authorship", "sc-block-builder", "sc-chain-spec", "sc-client-api", @@ -6680,6 +7028,7 @@ dependencies = [ "sc-consensus", "sc-consensus-babe", "sc-consensus-slots", + "sc-consensus-uncles 0.9.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.4)", "sc-executor", "sc-finality-grandpa", "sc-finality-grandpa-warp-sync", @@ -6705,6 +7054,7 @@ dependencies = [ "sp-session", "sp-state-machine", "sp-storage", + "sp-timestamp", "sp-transaction-pool", "sp-trie", "substrate-prometheus-endpoint", @@ -6716,10 +7066,10 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "arrayvec 0.5.2", - "futures 0.3.15", + "futures 0.3.14", "indexmap", "parity-scale-codec", "polkadot-node-network-protocol", @@ -6728,14 +7078,16 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "sc-network", + "sp-keystore", "sp-staking", + "thiserror", "tracing", ] [[package]] name = "polkadot-statement-table" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +version = "0.9.4" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -6744,8 +7096,8 @@ dependencies = [ [[package]] name = "polkadot-test-runtime" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +version = "0.9.4" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "beefy-primitives", "bitvec", @@ -6801,13 +7153,13 @@ dependencies = [ [[package]] name = "polkadot-test-service" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +version = "0.9.4" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "frame-benchmarking", "frame-system", "futures 0.1.31", - "futures 0.3.15", + "futures 0.3.14", "hex", "pallet-balances", "pallet-staking", @@ -6843,7 +7195,7 @@ dependencies = [ "sp-core", "sp-finality-grandpa", "sp-inherents", - "sp-keyring", + "sp-keyring 3.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.4)", "sp-runtime", "sp-state-machine", "substrate-test-client", @@ -6870,7 +7222,7 @@ version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4b7456bc1ad2d4cf82b3a016be4c2ac48daf11bf990c1603ebd447fe6f30fca8" dependencies = [ - "cpuid-bool", + "cpuid-bool 0.2.0", "universal-hash", ] @@ -6880,7 +7232,7 @@ version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eebcc4aa140b9abd2bc40d9c3f7ccec842679cd79045ac3a7ac698c1a064b7cd" dependencies = [ - "cpuid-bool", + "cpuid-bool 0.2.0", "opaque-debug 0.3.0", "universal-hash", ] @@ -6932,7 +7284,7 @@ dependencies = [ "proc-macro-error-attr", "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", "version_check", ] @@ -6974,7 +7326,7 @@ version = "1.0.26" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a152013215dca273577e18d2bf00fa862b89b24169fb78c4c95aeb07992c9cec" dependencies = [ - "unicode-xid 0.2.2", + "unicode-xid 0.2.1", ] [[package]] @@ -7029,7 +7381,7 @@ dependencies = [ "itertools 0.9.0", "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] @@ -7053,13 +7405,13 @@ dependencies = [ [[package]] name = "pwasm-utils" -version = "0.14.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f53bc2558e8376358ebdc28301546471d67336584f6438ed4b7c7457a055fd7" +checksum = "a0e517f47d9964362883182404b68d0b6949382c0baa40aa5ffca94f5f1e3481" dependencies = [ "byteorder", "log", - "parity-wasm 0.41.0", + "parity-wasm 0.42.2", ] [[package]] @@ -7070,9 +7422,9 @@ checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" [[package]] name = "quick-error" -version = "2.0.1" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3" +checksum = "3ac73b1112776fc109b2e61909bc46c7e1bf0d7f690ffb1676553acce16d5cda" [[package]] name = "quicksink" @@ -7273,7 +7625,7 @@ checksum = "9ab346ac5921dc62ffa9f89b7a773907511cdfa5490c572ae9be1be33e8afa4a" dependencies = [ "crossbeam-channel", "crossbeam-deque 0.8.0", - "crossbeam-utils 0.8.4", + "crossbeam-utils 0.8.5", "lazy_static", "num_cpus", ] @@ -7295,9 +7647,9 @@ checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce" [[package]] name = "redox_syscall" -version = "0.2.8" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "742739e41cd49414de871ea5e549afb7e2a3ac77b589bcbebe8c82fab37147fc" +checksum = "85dd92e586f7355c633911e11f77f3d12f04b1b1bd76a198bd34ae3af8341ef2" dependencies = [ "bitflags", ] @@ -7309,7 +7661,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "528532f3d801c87aec9def2add9ca802fe569e44a544afe633765267840abe64" dependencies = [ "getrandom 0.2.2", - "redox_syscall 0.2.8", + "redox_syscall 0.2.7", ] [[package]] @@ -7342,7 +7694,7 @@ checksum = "4c38e3aecd2b21cb3959637b883bb3714bc7e43f0268b9a29d3743ee3e55cdd2" dependencies = [ "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] @@ -7359,9 +7711,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.5.4" +version = "1.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461" +checksum = "2a26af418b574bd56588335b3a3659a65725d4e636eb1016c2f9e3b38c7cc759" dependencies = [ "aho-corasick", "memchr", @@ -7380,9 +7732,9 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.6.25" +version = "0.6.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b" +checksum = "24d5f089152e60f62d28b835fbff2cd2e8dc0baf1ac13343bef92ab7eed84548" [[package]] name = "region" @@ -7399,14 +7751,15 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "env_logger 0.8.3", - "hex-literal 0.3.1", - "jsonrpsee-http-client", + "hex", "jsonrpsee-proc-macros", + "jsonrpsee-ws-client", "log", "parity-scale-codec", + "serde_json", "sp-core", "sp-io", "sp-runtime", @@ -7464,9 +7817,9 @@ dependencies = [ [[package]] name = "rocksdb" -version = "0.16.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c749134fda8bfc90d0de643d59bfc841dcb3ac8a1062e12b6754bd60235c48b3" +checksum = "23d83c02c429044d58474eaf5ae31e062d0de894e21125b47437ec0edc1397e6" dependencies = [ "libc", "librocksdb-sys", @@ -7474,21 +7827,25 @@ dependencies = [ [[package]] name = "rococo-runtime" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +version = "0.9.4" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "beefy-primitives", + "bp-rococo", + "bp-wococo", "frame-executive", "frame-support", "frame-system", "frame-system-rpc-runtime-api", "hex-literal 0.3.1", "log", + "max-encoded-len", "pallet-authority-discovery", "pallet-authorship", "pallet-babe", "pallet-balances", "pallet-beefy", + "pallet-bridge-grandpa", "pallet-collective", "pallet-grandpa", "pallet-im-online", @@ -7547,9 +7904,9 @@ dependencies = [ [[package]] name = "rustc-demangle" -version = "0.1.19" +version = "0.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "410f7acf3cb3a44527c5d9546bad4bf4e6c460915d5f9f2fc524498bfe8f70ce" +checksum = "6e3bad0ee36814ca07d7968269dd4b7ec89ec2da10c4bb613928d3077083c232" [[package]] name = "rustc-hash" @@ -7582,7 +7939,7 @@ dependencies = [ "log", "ring", "sct", - "webpki", + "webpki 0.21.4", ] [[package]] @@ -7595,7 +7952,7 @@ dependencies = [ "log", "ring", "sct", - "webpki", + "webpki 0.21.4", ] [[package]] @@ -7626,7 +7983,7 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4da5fcb054c46f5a5dff833b129285a93d3f0179531735e6c866e8cc307d2020" dependencies = [ - "futures 0.3.15", + "futures 0.3.14", "pin-project 0.4.28", "static_assertions", ] @@ -7667,12 +8024,12 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "async-trait", "derive_more 0.99.13", "either", - "futures 0.3.15", + "futures 0.3.14", "futures-timer 3.0.2", "ip_network", "libp2p", @@ -7696,9 +8053,9 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ - "futures 0.3.15", + "futures 0.3.14", "futures-timer 3.0.2", "log", "parity-scale-codec", @@ -7719,7 +8076,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -7735,7 +8092,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -7756,22 +8113,22 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] name = "sc-cli" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "chrono", "fdlimit", - "futures 0.3.15", + "futures 0.3.14", "hex", "libp2p", "log", @@ -7790,7 +8147,7 @@ dependencies = [ "serde_json", "sp-blockchain", "sp-core", - "sp-keyring", + "sp-keyring 3.0.0 (git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6)", "sp-keystore", "sp-panic-handler", "sp-runtime", @@ -7805,11 +8162,11 @@ dependencies = [ [[package]] name = "sc-client-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "derive_more 0.99.13", "fnv", - "futures 0.3.15", + "futures 0.3.14", "hash-db", "kvdb", "lazy_static", @@ -7839,7 +8196,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "blake2-rfc", "hash-db", @@ -7869,7 +8226,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "parking_lot 0.11.1", "sc-client-api", @@ -7878,15 +8235,46 @@ dependencies = [ "sp-runtime", ] +[[package]] +name = "sc-consensus-aura" +version = "0.9.0" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" +dependencies = [ + "async-trait", + "derive_more 0.99.13", + "futures 0.3.14", + "futures-timer 3.0.2", + "log", + "parity-scale-codec", + "sc-block-builder", + "sc-client-api", + "sc-consensus-slots", + "sc-telemetry", + "sp-api", + "sp-application-crypto", + "sp-block-builder", + "sp-blockchain", + "sp-consensus", + "sp-consensus-aura", + "sp-consensus-slots", + "sp-core", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-version", + "substrate-prometheus-endpoint", +] + [[package]] name = "sc-consensus-babe" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "async-trait", "derive_more 0.99.13", "fork-tree", - "futures 0.3.15", + "futures 0.3.14", "futures-timer 3.0.2", "log", "merlin", @@ -7901,7 +8289,7 @@ dependencies = [ "sc-client-api", "sc-consensus-epochs", "sc-consensus-slots", - "sc-consensus-uncles", + "sc-consensus-uncles 0.9.0 (git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6)", "sc-keystore", "sc-telemetry", "schnorrkel", @@ -7919,7 +8307,6 @@ dependencies = [ "sp-io", "sp-keystore", "sp-runtime", - "sp-timestamp", "sp-utils", "sp-version", "substrate-prometheus-endpoint", @@ -7928,10 +8315,10 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "derive_more 0.99.13", - "futures 0.3.15", + "futures 0.3.14", "jsonrpc-core", "jsonrpc-core-client", "jsonrpc-derive", @@ -7952,7 +8339,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "fork-tree", "parity-scale-codec", @@ -7965,11 +8352,12 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "async-trait", - "futures 0.3.15", + "futures 0.3.14", "futures-timer 3.0.2", + "impl-trait-for-tuples", "log", "parity-scale-codec", "sc-client-api", @@ -7992,28 +8380,36 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ - "log", "sc-client-api", - "sp-authorship", - "sp-consensus", - "sp-core", - "sp-inherents", + "sp-authorship 3.0.0 (git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6)", + "sp-runtime", + "thiserror", +] + +[[package]] +name = "sc-consensus-uncles" +version = "0.9.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.4#ea5d3570673d125dfe0b7da33b345c3c13195380" +dependencies = [ + "sc-client-api", + "sp-authorship 3.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.4)", "sp-runtime", + "thiserror", ] [[package]] name = "sc-executor" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "derive_more 0.99.13", "lazy_static", "libsecp256k1", "log", "parity-scale-codec", - "parity-wasm 0.41.0", + "parity-wasm 0.42.2", "parking_lot 0.11.1", "sc-executor-common", "sc-executor-wasmi", @@ -8022,7 +8418,6 @@ dependencies = [ "sp-core", "sp-externalities", "sp-io", - "sp-maybe-compressed-blob", "sp-panic-handler", "sp-runtime-interface", "sp-serializer", @@ -8036,14 +8431,14 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "derive_more 0.99.13", "parity-scale-codec", - "parity-wasm 0.41.0", "pwasm-utils", "sp-allocator", "sp-core", + "sp-maybe-compressed-blob", "sp-serializer", "sp-wasm-interface", "thiserror", @@ -8053,7 +8448,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "log", "parity-scale-codec", @@ -8068,12 +8463,11 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "log", "parity-scale-codec", - "parity-wasm 0.41.0", - "pwasm-utils", + "parity-wasm 0.42.2", "sc-executor-common", "scoped-tls", "sp-allocator", @@ -8086,14 +8480,14 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "async-trait", "derive_more 0.99.13", "dyn-clone", "finality-grandpa", "fork-tree", - "futures 0.3.15", + "futures 0.3.14", "futures-timer 3.0.2", "linked-hash-map", "log", @@ -8121,16 +8515,17 @@ dependencies = [ "sp-runtime", "sp-utils", "substrate-prometheus-endpoint", + "wasm-timer", ] [[package]] name = "sc-finality-grandpa-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "derive_more 0.99.13", "finality-grandpa", - "futures 0.3.15", + "futures 0.3.14", "jsonrpc-core", "jsonrpc-core-client", "jsonrpc-derive", @@ -8150,10 +8545,10 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-warp-sync" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "derive_more 0.99.13", - "futures 0.3.15", + "futures 0.3.14", "log", "num-traits", "parity-scale-codec", @@ -8171,10 +8566,11 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "ansi_term 0.12.1", - "futures 0.3.15", + "futures 0.3.14", + "futures-timer 3.0.2", "log", "parity-util-mem", "sc-client-api", @@ -8182,18 +8578,17 @@ dependencies = [ "sp-blockchain", "sp-runtime", "sp-transaction-pool", - "sp-utils", "wasm-timer", ] [[package]] name = "sc-keystore" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "async-trait", "derive_more 0.99.13", - "futures 0.3.15", + "futures 0.3.14", "futures-util", "hex", "merlin", @@ -8209,7 +8604,26 @@ dependencies = [ [[package]] name = "sc-light" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" +dependencies = [ + "hash-db", + "lazy_static", + "parity-scale-codec", + "parking_lot 0.11.1", + "sc-client-api", + "sc-executor", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-externalities", + "sp-runtime", + "sp-state-machine", +] + +[[package]] +name = "sc-light" +version = "3.0.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.4#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "hash-db", "lazy_static", @@ -8228,7 +8642,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "async-std", "async-trait", @@ -8242,7 +8656,7 @@ dependencies = [ "erased-serde", "fnv", "fork-tree", - "futures 0.3.15", + "futures 0.3.14", "futures-timer 3.0.2", "hex", "ip_network", @@ -8281,9 +8695,9 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ - "futures 0.3.15", + "futures 0.3.14", "futures-timer 3.0.2", "libp2p", "log", @@ -8298,11 +8712,11 @@ dependencies = [ [[package]] name = "sc-offchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "bytes 0.5.6", "fnv", - "futures 0.3.15", + "futures 0.3.14", "futures-timer 3.0.2", "hex", "hyper 0.13.10", @@ -8326,9 +8740,9 @@ dependencies = [ [[package]] name = "sc-peerset" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ - "futures 0.3.15", + "futures 0.3.14", "libp2p", "log", "serde_json", @@ -8339,7 +8753,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -8348,9 +8762,9 @@ dependencies = [ [[package]] name = "sc-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ - "futures 0.3.15", + "futures 0.3.14", "hash-db", "jsonrpc-core", "jsonrpc-pubsub", @@ -8374,6 +8788,7 @@ dependencies = [ "sp-runtime", "sp-session", "sp-state-machine", + "sp-tracing", "sp-transaction-pool", "sp-utils", "sp-version", @@ -8382,10 +8797,10 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "derive_more 0.99.13", - "futures 0.3.15", + "futures 0.3.14", "jsonrpc-core", "jsonrpc-core-client", "jsonrpc-derive", @@ -8399,6 +8814,7 @@ dependencies = [ "sp-core", "sp-rpc", "sp-runtime", + "sp-tracing", "sp-transaction-pool", "sp-version", ] @@ -8406,7 +8822,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "futures 0.1.31", "jsonrpc-core", @@ -8424,13 +8840,13 @@ dependencies = [ [[package]] name = "sc-service" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "async-trait", "directories", "exit-future", "futures 0.1.31", - "futures 0.3.15", + "futures 0.3.14", "futures-timer 3.0.2", "hash-db", "jsonrpc-core", @@ -8449,7 +8865,7 @@ dependencies = [ "sc-executor", "sc-informant", "sc-keystore", - "sc-light", + "sc-light 3.0.0 (git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6)", "sc-network", "sc-offchain", "sc-rpc", @@ -8488,7 +8904,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "log", "parity-scale-codec", @@ -8503,7 +8919,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -8523,10 +8939,10 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "chrono", - "futures 0.3.15", + "futures 0.3.14", "libp2p", "log", "parking_lot 0.11.1", @@ -8543,7 +8959,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "ansi_term 0.12.1", "atty", @@ -8554,37 +8970,47 @@ dependencies = [ "parking_lot 0.11.1", "regex", "rustc-hash", + "sc-client-api", + "sc-rpc-server", + "sc-telemetry", "sc-tracing-proc-macro", "serde", "serde_json", + "sp-api", + "sp-block-builder", + "sp-blockchain", + "sp-core", + "sp-rpc", + "sp-runtime", + "sp-storage", "sp-tracing", "thiserror", "tracing", - "tracing-core", "tracing-log", "tracing-subscriber", "wasm-bindgen", + "wasm-timer", "web-sys", ] [[package]] name = "sc-tracing-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] name = "sc-transaction-graph" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "derive_more 0.99.13", - "futures 0.3.15", + "futures 0.3.14", "linked-hash-map", "log", "parity-util-mem", @@ -8603,9 +9029,9 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ - "futures 0.3.15", + "futures 0.3.14", "futures-diagnose", "intervalier", "log", @@ -8684,7 +9110,7 @@ checksum = "aaaae8f38bb311444cfb7f1979af0bc9240d95795f75f9ceddf6a59b79ceffa0" dependencies = [ "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] @@ -8774,22 +9200,22 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.126" +version = "1.0.125" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec7505abeacaec74ae4778d9d9328fe5a5d04253220a85c4ee022239fc996d03" +checksum = "558dc50e1a5a5fa7112ca2ce4effcb321b0300c0d4ccf0776a9f60cd89031171" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.126" +version = "1.0.125" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "963a7dbc9895aeac7ac90e74f34a5d5261828f79df35cbed41e10189d3804d43" +checksum = "b093b7a2bb58203b5da3056c05b4ec1fed827dcfdb37347a8841695263b3d06d" dependencies = [ "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] @@ -8817,13 +9243,13 @@ dependencies = [ [[package]] name = "sha-1" -version = "0.9.6" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c4cfa741c5832d0ef7fab46cabed29c2aae926db0b11bb2069edd8db5e64e16" +checksum = "dfebf75d25bd900fd1e7d11501efab59bc846dbc76196839663e6637bba9f25f" dependencies = [ "block-buffer 0.9.0", "cfg-if 1.0.0", - "cpufeatures", + "cpuid-bool 0.1.2", "digest 0.9.0", "opaque-debug 0.3.0", ] @@ -8842,13 +9268,13 @@ dependencies = [ [[package]] name = "sha2" -version = "0.9.5" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b362ae5752fd2137731f9fa25fd4d9058af34666ca1966fb969119cc35719f12" +checksum = "fa827a14b29ab7f44778d14a88d3cb76e949c45083f7dbfa507d0cb699dc12de" dependencies = [ "block-buffer 0.9.0", "cfg-if 1.0.0", - "cpufeatures", + "cpuid-bool 0.1.2", "digest 0.9.0", "opaque-debug 0.3.0", ] @@ -8923,10 +9349,19 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f173ac3d1a7e3b28003f40de0b5ce7fe2710f9b9dc3fc38664cebee46b3b6527" +[[package]] +name = "slog" +version = "2.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8347046d4ebd943127157b94d63abb990fcf729dc4e9978927fdf4ac3c998d06" +dependencies = [ + "erased-serde", +] + [[package]] name = "slot-range-helper" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +version = "0.9.4" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "enumn", "parity-scale-codec", @@ -8972,7 +9407,7 @@ dependencies = [ "rand_core 0.5.1", "ring", "rustc_version", - "sha2 0.9.5", + "sha2 0.9.3", "subtle 2.4.0", "x25519-dalek", ] @@ -9007,17 +9442,17 @@ dependencies = [ "base64 0.12.3", "bytes 0.5.6", "flate2", - "futures 0.3.15", + "futures 0.3.14", "httparse", "log", "rand 0.7.3", - "sha-1 0.9.6", + "sha-1 0.9.4", ] [[package]] name = "sp-allocator" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "log", "sp-core", @@ -9029,7 +9464,7 @@ dependencies = [ [[package]] name = "sp-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "hash-db", "log", @@ -9046,20 +9481,21 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "blake2-rfc", "proc-macro-crate 1.0.0", "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] name = "sp-application-crypto" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ + "max-encoded-len", "parity-scale-codec", "serde", "sp-core", @@ -9070,7 +9506,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "integer-sqrt", "num-traits", @@ -9084,7 +9520,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "parity-scale-codec", "sp-api", @@ -9096,8 +9532,21 @@ dependencies = [ [[package]] name = "sp-authorship" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" +dependencies = [ + "async-trait", + "parity-scale-codec", + "sp-inherents", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "sp-authorship" +version = "3.0.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.4#ea5d3570673d125dfe0b7da33b345c3c13195380" dependencies = [ + "async-trait", "parity-scale-codec", "sp-inherents", "sp-runtime", @@ -9107,7 +9556,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "parity-scale-codec", "sp-api", @@ -9119,9 +9568,9 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ - "futures 0.3.15", + "futures 0.3.14", "log", "lru", "parity-scale-codec", @@ -9137,7 +9586,7 @@ dependencies = [ [[package]] name = "sp-chain-spec" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "serde", "serde_json", @@ -9146,10 +9595,10 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "async-trait", - "futures 0.3.15", + "futures 0.3.14", "futures-timer 3.0.2", "libp2p", "log", @@ -9170,11 +9619,29 @@ dependencies = [ "wasm-timer", ] +[[package]] +name = "sp-consensus-aura" +version = "0.9.0" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" +dependencies = [ + "async-trait", + "parity-scale-codec", + "sp-api", + "sp-application-crypto", + "sp-consensus", + "sp-consensus-slots", + "sp-inherents", + "sp-runtime", + "sp-std", + "sp-timestamp", +] + [[package]] name = "sp-consensus-babe" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ + "async-trait", "merlin", "parity-scale-codec", "serde", @@ -9194,7 +9661,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "parity-scale-codec", "sp-arithmetic", @@ -9204,7 +9671,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -9216,14 +9683,14 @@ dependencies = [ [[package]] name = "sp-core" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "base58", "blake2-rfc", "byteorder", "dyn-clonable", "ed25519-dalek", - "futures 0.3.15", + "futures 0.3.14", "hash-db", "hash256-std-hasher", "hex", @@ -9231,6 +9698,7 @@ dependencies = [ "lazy_static", "libsecp256k1", "log", + "max-encoded-len", "merlin", "num-traits", "parity-scale-codec", @@ -9242,7 +9710,7 @@ dependencies = [ "schnorrkel", "secrecy", "serde", - "sha2 0.9.5", + "sha2 0.9.3", "sp-debug-derive", "sp-externalities", "sp-runtime-interface", @@ -9260,7 +9728,7 @@ dependencies = [ [[package]] name = "sp-database" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "kvdb", "parking_lot 0.11.1", @@ -9269,17 +9737,17 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] name = "sp-externalities" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "environmental", "parity-scale-codec", @@ -9290,7 +9758,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "finality-grandpa", "log", @@ -9307,11 +9775,13 @@ dependencies = [ [[package]] name = "sp-inherents" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ + "async-trait", + "impl-trait-for-tuples", "parity-scale-codec", - "parking_lot 0.11.1", "sp-core", + "sp-runtime", "sp-std", "thiserror", ] @@ -9319,9 +9789,9 @@ dependencies = [ [[package]] name = "sp-io" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ - "futures 0.3.15", + "futures 0.3.14", "hash-db", "libsecp256k1", "log", @@ -9330,6 +9800,7 @@ dependencies = [ "sp-core", "sp-externalities", "sp-keystore", + "sp-maybe-compressed-blob", "sp-runtime-interface", "sp-state-machine", "sp-std", @@ -9343,7 +9814,18 @@ dependencies = [ [[package]] name = "sp-keyring" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" +dependencies = [ + "lazy_static", + "sp-core", + "sp-runtime", + "strum", +] + +[[package]] +name = "sp-keyring" +version = "3.0.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.4#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "lazy_static", "sp-core", @@ -9354,11 +9836,11 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "async-trait", "derive_more 0.99.13", - "futures 0.3.15", + "futures 0.3.14", "merlin", "parity-scale-codec", "parking_lot 0.11.1", @@ -9371,7 +9853,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "ruzstd", "zstd", @@ -9380,7 +9862,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "parity-scale-codec", "serde", @@ -9393,18 +9875,18 @@ dependencies = [ [[package]] name = "sp-npos-elections-compact" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] name = "sp-offchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "sp-api", "sp-core", @@ -9414,7 +9896,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "backtrace", ] @@ -9422,21 +9904,24 @@ dependencies = [ [[package]] name = "sp-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ + "rustc-hash", "serde", "sp-core", + "tracing-core", ] [[package]] name = "sp-runtime" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "either", "hash256-std-hasher", "impl-trait-for-tuples", "log", + "max-encoded-len", "parity-scale-codec", "parity-util-mem", "paste", @@ -9452,7 +9937,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -9469,19 +9954,19 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "Inflector", "proc-macro-crate 1.0.0", "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] name = "sp-serializer" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "serde", "serde_json", @@ -9490,7 +9975,7 @@ dependencies = [ [[package]] name = "sp-session" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "parity-scale-codec", "sp-api", @@ -9503,7 +9988,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -9513,7 +9998,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "hash-db", "log", @@ -9528,6 +10013,7 @@ dependencies = [ "sp-std", "sp-trie", "thiserror", + "tracing", "trie-db", "trie-root", ] @@ -9535,12 +10021,12 @@ dependencies = [ [[package]] name = "sp-std" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" [[package]] name = "sp-storage" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9553,7 +10039,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "log", "sp-core", @@ -9566,23 +10052,32 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ + "async-trait", + "futures-timer 3.0.2", + "log", "parity-scale-codec", "sp-api", "sp-inherents", "sp-runtime", "sp-std", + "thiserror", "wasm-timer", ] [[package]] name = "sp-tracing" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ + "erased-serde", "log", "parity-scale-codec", + "parking_lot 0.10.2", + "serde", + "serde_json", + "slog", "sp-std", "tracing", "tracing-core", @@ -9592,10 +10087,10 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "derive_more 0.99.13", - "futures 0.3.15", + "futures 0.3.14", "log", "parity-scale-codec", "serde", @@ -9608,7 +10103,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "hash-db", "memory-db", @@ -9622,9 +10117,9 @@ dependencies = [ [[package]] name = "sp-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ - "futures 0.3.15", + "futures 0.3.14", "futures-core", "futures-timer 3.0.2", "lazy_static", @@ -9634,19 +10129,32 @@ dependencies = [ [[package]] name = "sp-version" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "impl-serde", "parity-scale-codec", "serde", "sp-runtime", "sp-std", + "sp-version-proc-macro", +] + +[[package]] +name = "sp-version-proc-macro" +version = "3.0.0" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" +dependencies = [ + "parity-scale-codec", + "proc-macro-crate 1.0.0", + "proc-macro2 1.0.26", + "quote 1.0.9", + "syn 1.0.71", ] [[package]] name = "sp-wasm-interface" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -9694,7 +10202,7 @@ dependencies = [ "memchr", "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] @@ -9765,7 +10273,7 @@ dependencies = [ "proc-macro-error", "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] @@ -9786,7 +10294,7 @@ dependencies = [ "heck", "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] @@ -9805,7 +10313,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "platforms", ] @@ -9813,10 +10321,10 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-system-rpc-runtime-api", - "futures 0.3.15", + "futures 0.3.14", "jsonrpc-core", "jsonrpc-core-client", "jsonrpc-derive", @@ -9836,7 +10344,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "async-std", "derive_more 0.99.13", @@ -9850,11 +10358,11 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.4#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "async-trait", "futures 0.1.31", - "futures 0.3.15", + "futures 0.3.14", "hash-db", "hex", "parity-scale-codec", @@ -9862,7 +10370,7 @@ dependencies = [ "sc-client-db", "sc-consensus", "sc-executor", - "sc-light", + "sc-light 3.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.4)", "sc-offchain", "sc-service", "serde", @@ -9870,7 +10378,7 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-core", - "sp-keyring", + "sp-keyring 3.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.4)", "sp-keystore", "sp-runtime", "sp-state-machine", @@ -9885,7 +10393,7 @@ dependencies = [ "ansi_term 0.12.1", "atty", "build-helper", - "cargo_metadata", + "cargo_metadata 0.12.3", "tempfile", "toml", "walkdir", @@ -9895,12 +10403,12 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "ansi_term 0.12.1", "atty", "build-helper", - "cargo_metadata", + "cargo_metadata 0.13.1", "sp-maybe-compressed-blob", "tempfile", "toml", @@ -9933,13 +10441,13 @@ dependencies = [ [[package]] name = "syn" -version = "1.0.72" +version = "1.0.71" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1e8cdbefb79a9a5a65e0db8b47b723ee907b7c7f8496c76a1770b5c310bab82" +checksum = "ad184cc9470f9117b2ac6817bfe297307418819ba40552f9b3846f05c33d5373" dependencies = [ "proc-macro2 1.0.26", "quote 1.0.9", - "unicode-xid 0.2.2", + "unicode-xid 0.2.1", ] [[package]] @@ -9950,8 +10458,8 @@ checksum = "b834f2d66f734cb897113e34aaff2f1ab4719ca946f9a7358dba8f8064148701" dependencies = [ "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", - "unicode-xid 0.2.2", + "syn 1.0.71", + "unicode-xid 0.2.1", ] [[package]] @@ -9968,9 +10476,9 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "target-lexicon" -version = "0.11.2" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "422045212ea98508ae3d28025bc5aaa2bd4a9cdaecd442a08da2ee620ee9ea95" +checksum = "64ae3b39281e4b14b8123bdbaddd472b7dfe215e444181f2f9d2443c2444f834" [[package]] name = "tempfile" @@ -9981,7 +10489,7 @@ dependencies = [ "cfg-if 1.0.0", "libc", "rand 0.8.3", - "redox_syscall 0.2.8", + "redox_syscall 0.2.7", "remove_dir_all", "winapi 0.3.9", ] @@ -10021,7 +10529,7 @@ checksum = "7765189610d8241a44529806d6fd1f2e0a08734313a35d5b3a556f92b381f3c0" dependencies = [ "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] @@ -10078,7 +10586,7 @@ dependencies = [ "pbkdf2 0.4.0", "rand 0.7.3", "rustc-hash", - "sha2 0.9.5", + "sha2 0.9.3", "thiserror", "unicode-normalization", "zeroize", @@ -10259,7 +10767,7 @@ dependencies = [ "futures-core", "rustls 0.18.1", "tokio 0.2.25", - "webpki", + "webpki 0.21.4", ] [[package]] @@ -10407,7 +10915,7 @@ checksum = "c42e6fa53307c8a17e4ccd4dc81cf5ec38db9209f59b222210375b54ee40d1e2" dependencies = [ "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", ] [[package]] @@ -10452,9 +10960,9 @@ dependencies = [ [[package]] name = "tracing-subscriber" -version = "0.2.18" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa5553bf0883ba7c9cbe493b085c29926bd41b66afc31ff72cf17ff4fb60dcd5" +checksum = "705096c6f83bf68ea5d357a6aa01829ddbdac531b357b45abeca842938085baa" dependencies = [ "ansi_term 0.12.1", "chrono", @@ -10515,7 +11023,7 @@ dependencies = [ "smallvec 1.6.1", "thiserror", "tinyvec", - "url 2.2.2", + "url 2.2.1", ] [[package]] @@ -10546,7 +11054,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=rococo-v1#2be8fcc4236d32786c62f6f27a98e7fe7e550807" +source = "git+https://github.com/paritytech//substrate?rev=1d04678e20555e623c974ee1127bc8a45abcf3d6#1d04678e20555e623c974ee1127bc8a45abcf3d6" dependencies = [ "frame-try-runtime", "log", @@ -10647,9 +11155,9 @@ checksum = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc" [[package]] name = "unicode-xid" -version = "0.2.2" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3" +checksum = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564" [[package]] name = "universal-hash" @@ -10710,9 +11218,9 @@ dependencies = [ [[package]] name = "url" -version = "2.2.2" +version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a507c383b2d33b5fc35d1861e77e6b383d158b2da5e14fe51b83dfedf6fd578c" +checksum = "9ccd964113622c8e9322cfac19eb1004a07e636c545f325da085d5cdde6f1f8b" dependencies = [ "form_urlencoded", "idna 0.2.3", @@ -10805,9 +11313,9 @@ checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" [[package]] name = "wasm-bindgen" -version = "0.2.74" +version = "0.2.73" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d54ee1d4ed486f78874278e63e4069fc1ab9f6a18ca492076ffb90c5eb2997fd" +checksum = "83240549659d187488f91f33c0f8547cbfef0b2088bc470c116d1d260ef623d9" dependencies = [ "cfg-if 1.0.0", "wasm-bindgen-macro", @@ -10815,24 +11323,24 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.74" +version = "0.2.73" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b33f6a0694ccfea53d94db8b2ed1c3a8a4c86dd936b13b9f0a15ec4a451b900" +checksum = "ae70622411ca953215ca6d06d3ebeb1e915f0f6613e3b495122878d7ebec7dae" dependencies = [ "bumpalo", "lazy_static", "log", "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.24" +version = "0.4.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fba7978c679d53ce2d0ac80c8c175840feb849a161664365d1287b41f2e67f1" +checksum = "81b8b767af23de6ac18bf2168b690bed2902743ddf0fb39252e36f9e2bfc63ea" dependencies = [ "cfg-if 1.0.0", "js-sys", @@ -10842,9 +11350,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.74" +version = "0.2.73" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "088169ca61430fe1e58b8096c24975251700e7b1f6fd91cc9d59b04fb9b18bd4" +checksum = "3e734d91443f177bfdb41969de821e15c516931c3c3db3d318fa1b68975d0f6f" dependencies = [ "quote 1.0.9", "wasm-bindgen-macro-support", @@ -10852,22 +11360,22 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.74" +version = "0.2.73" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be2241542ff3d9f241f5e2cb6dd09b37efe786df8851c54957683a49f0987a97" +checksum = "d53739ff08c8a68b0fdbcd54c372b8ab800b1449ab3c9d706503bc7dd1621b2c" dependencies = [ "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.74" +version = "0.2.73" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7cff876b8f18eed75a66cf49b65e7f967cb354a7aa16003fb55dbfd25b44b4f" +checksum = "d9a543ae66aa233d14bb765ed9af4a33e81b8b58d1584cf1b47ff8cd0b9e4489" [[package]] name = "wasm-gc-api" @@ -10886,7 +11394,7 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be0ecb0db480561e9a7642b5d3e4187c128914e58aa84330b9493e3eb68c5e7f" dependencies = [ - "futures 0.3.15", + "futures 0.3.14", "js-sys", "parking_lot 0.11.1", "pin-utils", @@ -10897,38 +11405,39 @@ dependencies = [ [[package]] name = "wasmi" -version = "0.6.2" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf617d864d25af3587aa745529f7aaa541066c876d57e050c0d0c85c61c92aff" +checksum = "d2ee05bba3d1d994652079893941a2ef9324d2b58a63c31b40678fb7eddd7a5a" dependencies = [ + "downcast-rs", "libc", "memory_units", "num-rational 0.2.4", "num-traits", - "parity-wasm 0.41.0", + "parity-wasm 0.42.2", "wasmi-validation", ] [[package]] name = "wasmi-validation" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea78c597064ba73596099281e2f4cfc019075122a65cdda3205af94f0b264d93" +checksum = "a2eb8e860796d8be48efef530b60eebf84e74a88bce107374fffb0da97d504b8" dependencies = [ - "parity-wasm 0.41.0", + "parity-wasm 0.42.2", ] [[package]] name = "wasmparser" -version = "0.76.0" +version = "0.78.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "755a9a4afe3f6cccbbe6d7e965eef44cf260b001f93e547eba84255c1d0187d8" +checksum = "52144d4c78e5cf8b055ceab8e5fa22814ce4315d6002ad32cfd914f37c12fd65" [[package]] name = "wasmtime" -version = "0.24.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "718cb52a9fdb7ab12471e9b9d051c9adfa6b5c504e0a1fea045e5eabc81eedd9" +checksum = "b310b9d20fcf59385761d1ade7a3ef06aecc380e3d3172035b919eaf7465d9f7" dependencies = [ "anyhow", "backtrace", @@ -10936,9 +11445,11 @@ dependencies = [ "cfg-if 1.0.0", "cpp_demangle", "indexmap", + "lazy_static", "libc", "log", "paste", + "psm", "region", "rustc-demangle", "serde", @@ -10957,9 +11468,9 @@ dependencies = [ [[package]] name = "wasmtime-cache" -version = "0.24.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f984df56c4adeba91540f9052db9f7a8b3b00cfaac1a023bee50a972f588b0c" +checksum = "d14d500d5c3dc5f5c097158feee123d64b3097f0d836a2a27dff9c761c73c843" dependencies = [ "anyhow", "base64 0.13.0", @@ -10970,7 +11481,7 @@ dependencies = [ "libc", "log", "serde", - "sha2 0.9.5", + "sha2 0.9.3", "toml", "winapi 0.3.9", "zstd", @@ -10978,28 +11489,29 @@ dependencies = [ [[package]] name = "wasmtime-cranelift" -version = "0.24.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a05abbf94e03c2c8ee02254b1949320c4d45093de5d9d6ed4d9351d536075c9" +checksum = "c525b39f062eada7db3c1298287b96dcb6e472b9f6b22501300b28d9fa7582f6" dependencies = [ "cranelift-codegen", "cranelift-entity", "cranelift-frontend", "cranelift-wasm", + "target-lexicon", "wasmparser", "wasmtime-environ", ] [[package]] name = "wasmtime-debug" -version = "0.24.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "382eecd6281c6c1d1f3c904c3c143e671fc1a9573820cbfa777fba45ce2eda9c" +checksum = "c5d2a763e7a6fc734218e0e463196762a4f409c483063d81e0e85f96343b2e0a" dependencies = [ "anyhow", - "gimli 0.23.0", + "gimli 0.24.0", "more-asserts", - "object 0.23.0", + "object 0.24.0", "target-lexicon", "thiserror", "wasmparser", @@ -11008,16 +11520,15 @@ dependencies = [ [[package]] name = "wasmtime-environ" -version = "0.24.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81011b2b833663d7e0ce34639459a0e301e000fc7331e0298b3a27c78d0cec60" +checksum = "f64d0c2d881c31b0d65c1f2695e022d71eb60b9fbdd336aacca28208b58eac90" dependencies = [ - "anyhow", "cfg-if 1.0.0", "cranelift-codegen", "cranelift-entity", "cranelift-wasm", - "gimli 0.23.0", + "gimli 0.24.0", "indexmap", "log", "more-asserts", @@ -11028,9 +11539,9 @@ dependencies = [ [[package]] name = "wasmtime-fiber" -version = "0.24.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d92da32e31af2e3d828f485f5f24651ed4d3b7f03a46ea6555eae6940d1402cd" +checksum = "a089d44cd7e2465d41a53b840a5b4fca1bf6d1ecfebc970eac9592b34ea5f0b3" dependencies = [ "cc", "libc", @@ -11039,11 +11550,11 @@ dependencies = [ [[package]] name = "wasmtime-jit" -version = "0.24.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b5f649623859a12d361fe4cc4793de44f7c3ff34c322c5714289787e89650bb" +checksum = "4d4539ea734422b7c868107e2187d7746d8affbcaa71916d72639f53757ad707" dependencies = [ - "addr2line 0.14.1", + "addr2line 0.15.2", "anyhow", "cfg-if 1.0.0", "cranelift-codegen", @@ -11051,10 +11562,10 @@ dependencies = [ "cranelift-frontend", "cranelift-native", "cranelift-wasm", - "gimli 0.23.0", + "gimli 0.24.0", "log", "more-asserts", - "object 0.23.0", + "object 0.24.0", "rayon", "region", "serde", @@ -11072,13 +11583,13 @@ dependencies = [ [[package]] name = "wasmtime-obj" -version = "0.24.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef2e99cd9858f57fd062e9351e07881cedfc8597928385e02a48d9333b9e15a1" +checksum = "8e1a8ff85246d091828e2225af521a6208ed28c997bb5c39eb697366dc2e2f2b" dependencies = [ "anyhow", "more-asserts", - "object 0.23.0", + "object 0.24.0", "target-lexicon", "wasmtime-debug", "wasmtime-environ", @@ -11086,16 +11597,16 @@ dependencies = [ [[package]] name = "wasmtime-profiling" -version = "0.24.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e46c0a590e49278ba7f79ef217af9db4ecc671b50042c185093e22d73524abb2" +checksum = "e24364d522dcd67c897c8fffc42e5bdfc57207bbb6d7eeade0da9d4a7d70105b" dependencies = [ "anyhow", "cfg-if 1.0.0", - "gimli 0.23.0", + "gimli 0.24.0", "lazy_static", "libc", - "object 0.23.0", + "object 0.24.0", "scroll", "serde", "target-lexicon", @@ -11105,10 +11616,11 @@ dependencies = [ [[package]] name = "wasmtime-runtime" -version = "0.24.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1438a09185fc7ca067caf1a80d7e5b398eefd4fb7630d94841448ade60feb3d0" +checksum = "c51e57976e8a19a18a18e002c6eb12e5769554204238e47ff155fda1809ef0f7" dependencies = [ + "anyhow", "backtrace", "cc", "cfg-if 1.0.0", @@ -11116,12 +11628,14 @@ dependencies = [ "lazy_static", "libc", "log", + "mach", "memoffset 0.6.3", "more-asserts", - "psm", + "rand 0.8.3", "region", "thiserror", "wasmtime-environ", + "wasmtime-fiber", "winapi 0.3.9", ] @@ -11145,9 +11659,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.51" +version = "0.3.50" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e828417b379f3df7111d3a2a9e5753706cae29c41f7c4029ee9fd77f3e09e582" +checksum = "a905d57e488fec8861446d3393670fb50d27a262344013181c2cdf9fff5481be" dependencies = [ "js-sys", "wasm-bindgen", @@ -11163,13 +11677,23 @@ dependencies = [ "untrusted", ] +[[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]] @@ -11183,8 +11707,8 @@ dependencies = [ [[package]] name = "westend-runtime" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +version = "0.9.4" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "beefy-primitives", "bitvec", @@ -11197,6 +11721,7 @@ dependencies = [ "frame-try-runtime", "hex-literal 0.3.1", "log", + "max-encoded-len", "pallet-authority-discovery", "pallet-authorship", "pallet-babe", @@ -11231,6 +11756,7 @@ dependencies = [ "pallet-treasury", "pallet-utility", "pallet-vesting", + "pallet-xcm", "parity-scale-codec", "polkadot-parachain", "polkadot-primitives", @@ -11257,6 +11783,9 @@ dependencies = [ "sp-version", "static_assertions", "substrate-wasm-builder 3.0.0", + "xcm", + "xcm-builder", + "xcm-executor", ] [[package]] @@ -11356,8 +11885,8 @@ dependencies = [ [[package]] name = "xcm" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +version = "0.9.4" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "derivative", "impl-trait-for-tuples", @@ -11366,12 +11895,13 @@ dependencies = [ [[package]] name = "xcm-builder" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +version = "0.9.4" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "frame-support", "frame-system", "impl-trait-for-tuples", + "pallet-transaction-payment", "parity-scale-codec", "polkadot-parachain", "sp-arithmetic", @@ -11389,6 +11919,7 @@ dependencies = [ "frame-election-provider-support", "frame-support", "frame-system", + "max-encoded-len", "pallet-balances", "pallet-proxy", "pallet-session", @@ -11405,8 +11936,8 @@ dependencies = [ [[package]] name = "xcm-executor" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=rococo-v1#56d0154fcf8903c4198598a53b5ff213cffabb45" +version = "0.9.4" +source = "git+https://github.com/paritytech//polkadot?rev=2f28561a09aab0613b5f8a68fbabf723d5fc197e#2f28561a09aab0613b5f8a68fbabf723d5fc197e" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -11426,7 +11957,7 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e7d9028f208dd5e63c614be69f115c1b53cacc1111437d4c765185856666c107" dependencies = [ - "futures 0.3.15", + "futures 0.3.14", "log", "nohash-hasher", "parking_lot 0.11.1", @@ -11451,7 +11982,7 @@ checksum = "a2c1e130bebaeab2f23886bf9acbaca14b092408c452543c857f66399cd6dab1" dependencies = [ "proc-macro2 1.0.26", "quote 1.0.9", - "syn 1.0.72", + "syn 1.0.71", "synstructure", ] diff --git a/Cargo.toml b/Cargo.toml index 80a478869b..d6e02692ca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,3 +8,182 @@ members = [ 'primitives/*', 'runtime', ] + +[patch."https://github.com/paritytech/substrate"] +frame-benchmarking = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +frame-benchmarking-cli = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +frame-election-provider-support = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +frame-executive = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +frame-support = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +frame-support-procedural = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +frame-support-procedural-tools = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +frame-support-procedural-tools-derive = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +frame-system = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +frame-try-runtime = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +max-encoded-len = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +max-encoded-len-derive = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-aura = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-authorship = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-babe = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-balances = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-bounties = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-collective = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-democracy = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-election-provider-multi-phase = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-elections-phragmen = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-grandpa = {git = 'https://github.com/paritytech//substrate', rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-identity = {git = 'https://github.com/paritytech//substrate', rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-im-online = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-indices = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-membership = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-mmr = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-mmr-primitives = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-mmr-rpc = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-multisig = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-nicks = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-offences = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-proxy = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-offences-benchmarking = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-randomness-collective-flip = {git = 'https://github.com/paritytech//substrate', rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-recovery = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-session-benchmarking = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-scheduler = {git = 'https://github.com/paritytech//substrate', rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-sudo = {git = 'https://github.com/paritytech//substrate', rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-session = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-society = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-staking = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-staking-reward-curve = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-timestamp = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-tips = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-transaction-payment = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-treasury = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-utility = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +pallet-vesting = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +remote-externalities = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sc-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sc-basic-authorship = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sc-block-builder = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sc-chain-spec = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sc-cli = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sc-client-api = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sc-client-db = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sc-consensus = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sc-consensus-aura = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sc-consensus-babe = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sc-consensus-babe-rpc = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sc-consensus-epochs = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +#sc-consensus-manual-seal = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sc-consensus-slots = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sc-executor = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sc-executor-common = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sc-executor-wasmtime = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sc-finality-grandpa = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sc-finality-grandpa-rpc = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sc-finality-grandpa-warp-sync = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sc-informant = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sc-keystore = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sc-network = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sc-network-gossip = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sc-offchain = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sc-rpc = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sc-rpc-api = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sc-service = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sc-sync-state-rpc = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sc-telemetry = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sc-tracing = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sc-transaction-pool = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-allocator = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-api = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-application-crypto = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-arithmetic = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-block-builder = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-blockchain = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-chain-spec = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-consensus = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-consensus-aura = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-consensus-babe = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-consensus-slots = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-consensus-vrf = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-core = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-debug-derive = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-externalities = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-finality-grandpa = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-inherents = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-io = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-keystore = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-maybe-compressed-blob = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-npos-elections = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-offchain = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-rpc = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-runtime = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-runtime-interface = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-runtime-interface-proc-macro = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-serializer = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-session = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-staking = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-state-machine = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-std = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-storage = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-timestamp = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-tracing = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-transaction-pool = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-trie = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-utils = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-version = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +sp-wasm-interface = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +substrate-build-script-utils = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +substrate-frame-rpc-system = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +substrate-prometheus-endpoint = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +try-runtime-cli = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} +substrate-wasm-builder = { git = "https://github.com/paritytech//substrate", rev = '1d04678e20555e623c974ee1127bc8a45abcf3d6'} + +[patch."https://github.com/paritytech/polkadot"] +xcm = { git = "https://github.com/paritytech//polkadot", rev = "2f28561a09aab0613b5f8a68fbabf723d5fc197e" } +xcm-executor = { git = "https://github.com/paritytech//polkadot", rev = "2f28561a09aab0613b5f8a68fbabf723d5fc197e" } +xcm-builder = { git = "https://github.com/paritytech//polkadot", rev = "2f28561a09aab0613b5f8a68fbabf723d5fc197e" } +polkadot-parachain = { git = "https://github.com/paritytech//polkadot", rev = "2f28561a09aab0613b5f8a68fbabf723d5fc197e" } +pallet-xcm = { git = "https://github.com/paritytech//polkadot", rev = "2f28561a09aab0613b5f8a68fbabf723d5fc197e" } +polkadot-primitives = { git = "https://github.com/paritytech//polkadot", rev = "2f28561a09aab0613b5f8a68fbabf723d5fc197e" } +polkadot-core-primitives = { git = "https://github.com/paritytech//polkadot", rev = "2f28561a09aab0613b5f8a68fbabf723d5fc197e" } +polkadot-runtime = { git = "https://github.com/paritytech//polkadot", rev = "2f28561a09aab0613b5f8a68fbabf723d5fc197e" } +polkadot-runtime-common = { git = "https://github.com/paritytech//polkadot", rev = "2f28561a09aab0613b5f8a68fbabf723d5fc197e" } +rococo-runtime = { git = "https://github.com/paritytech//polkadot", rev = "2f28561a09aab0613b5f8a68fbabf723d5fc197e" } +westend-runtime = { git = "https://github.com/paritytech//polkadot", rev = "2f28561a09aab0613b5f8a68fbabf723d5fc197e" } +kusama-runtime = { git = "https://github.com/paritytech//polkadot", rev = "2f28561a09aab0613b5f8a68fbabf723d5fc197e" } +polkadot-runtime-parachains = { git = "https://github.com/paritytech//polkadot", rev = "2f28561a09aab0613b5f8a68fbabf723d5fc197e" } +polkadot-node-network-protocol = { git = "https://github.com/paritytech//polkadot", rev = "2f28561a09aab0613b5f8a68fbabf723d5fc197e" } +polkadot-node-subsystem = { git = "https://github.com/paritytech//polkadot", rev = "2f28561a09aab0613b5f8a68fbabf723d5fc197e" } +polkadot-statement-table = { git = "https://github.com/paritytech//polkadot", rev = "2f28561a09aab0613b5f8a68fbabf723d5fc197e" } +polkadot-overseer = { git = "https://github.com/paritytech//polkadot", rev = "2f28561a09aab0613b5f8a68fbabf723d5fc197e" } +polkadot-node-primitives = { git = "https://github.com/paritytech//polkadot", rev = "2f28561a09aab0613b5f8a68fbabf723d5fc197e" } +polkadot-service = { git = "https://github.com/paritytech//polkadot", rev = "2f28561a09aab0613b5f8a68fbabf723d5fc197e" } +polkadot-cli = { git = "https://github.com/paritytech//polkadot", rev = "2f28561a09aab0613b5f8a68fbabf723d5fc197e" } +polkadot-test-service = { git = "https://github.com/paritytech//polkadot", rev = "2f28561a09aab0613b5f8a68fbabf723d5fc197e" } +polkadot-node-core-pvf = { git = "https://github.com/paritytech//polkadot", rev = "2f28561a09aab0613b5f8a68fbabf723d5fc197e" } + +[patch."https://github.com/paritytech/cumulus"] +cumulus-primitives-core = { git = "https://github.com/paritytech//cumulus", rev = "08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae" } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech//cumulus", rev = "08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae" } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech//cumulus", rev = "08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae" } +parachain-info = { git = "https://github.com/paritytech//cumulus", rev = "08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae" } +cumulus-client-cli = { git = "https://github.com/paritytech//cumulus", rev = "08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae" } +cumulus-client-collator = { git = "https://github.com/paritytech//cumulus", rev = "08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae" } +cumulus-client-network = { git = "https://github.com/paritytech//cumulus", rev = "08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae" } +cumulus-client-service = { git = "https://github.com/paritytech//cumulus", rev = "08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae" } +#cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech//cumulus", rev = "08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae" } +cumulus-client-consensus-aura = { git = "https://github.com/paritytech//cumulus", rev = "08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae" } +cumulus-client-consensus-common = { git = "https://github.com/paritytech//cumulus", rev = "08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae" } +cumulus-pallet-xcm = { git = "https://github.com/paritytech//cumulus", rev = "08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae" } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech//cumulus", rev = "08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech//cumulus", rev = "08b7bcfe21b2ce2a26dcdaa664bf8c016f7c93ae" } + +[patch."https://github.com/paritytech/grandpa-bridge-gadget"] +pallet-beefy = { git = "https://github.com/paritytech//grandpa-bridge-gadget", rev = "063e18a1f82945d5a304906db92bfbb571bac459" } +beefy-primitives = { git = "https://github.com/paritytech//grandpa-bridge-gadget", rev = "063e18a1f82945d5a304906db92bfbb571bac459" } +beefy-gadget = { git = "https://github.com/paritytech//grandpa-bridge-gadget", rev = "063e18a1f82945d5a304906db92bfbb571bac459" } +beefy-gadget-rpc = { git = "https://github.com/paritytech//grandpa-bridge-gadget", rev = "063e18a1f82945d5a304906db92bfbb571bac459" } \ No newline at end of file diff --git a/node/Cargo.toml b/node/Cargo.toml index 1fa9c38b03..f0caff8da1 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -1,224 +1,96 @@ -[dependencies] -derive_more = '0.15.0' -log = "0.4.13" -codec = { package = 'parity-scale-codec', version = '2.0.0' } -structopt = "0.3.8" -serde = { version = "1.0.119", features = ["derive"] } -hex-literal = "0.2.1" -# RPC related dependencies -jsonrpc-core = "15.1.0" - -[dependencies.frame-benchmarking] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.frame-benchmarking-cli] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' -optional = true - -[dependencies.parachain-runtime] -path = '../runtime' -version = '2.0.0' - -[dependencies.pallet-transaction-payment-rpc] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.sc-basic-authorship] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '0.9.0' - -[dependencies.sc-chain-spec] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.sc-cli] -features = ['wasmtime'] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '0.9.0' - -[dependencies.sc-client-api] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.sc-consensus] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '0.9.0' - -[dependencies.sc-executor] -features = ['wasmtime'] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '0.9.0' - -[dependencies.sc-keystore] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.sc-rpc] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.sc-rpc-api] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '0.9.0' - -[dependencies.sc-service] -features = ['wasmtime'] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '0.9.0' - -[dependencies.sc-telemetry] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.sc-transaction-pool] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.sc-tracing] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.sp-api] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.sp-block-builder] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.sp-blockchain] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.sp-consensus] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '0.9.0' - -[dependencies.sp-core] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.sp-inherents] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.sp-runtime] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.sp-timestamp] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.sp-transaction-pool] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.sp-trie] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.substrate-frame-rpc-system] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[build-dependencies.substrate-build-script-utils] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -# Cumulus dependencies -[dependencies.cumulus-client-consensus-relay-chain] -git = 'https://github.com/paritytech/cumulus.git' -branch = 'rococo-v1' - -[dependencies.cumulus-client-collator] -git = 'https://github.com/paritytech/cumulus.git' -branch = 'rococo-v1' - -[dependencies.cumulus-client-cli] -git = 'https://github.com/paritytech/cumulus.git' -branch = 'rococo-v1' - -[dependencies.cumulus-client-network] -git = 'https://github.com/paritytech/cumulus.git' -branch = 'rococo-v1' - -[dependencies.cumulus-primitives-core] -git = 'https://github.com/paritytech/cumulus.git' -branch = 'rococo-v1' - -[dependencies.cumulus-client-service] -git = 'https://github.com/paritytech/cumulus.git' -branch = 'rococo-v1' - -# Polkadot dependencies -[dependencies.polkadot-primitives] -git = "https://github.com/paritytech/polkadot" -branch = 'rococo-v1' - -[dependencies.polkadot-service] -git = "https://github.com/paritytech/polkadot" -branch = 'rococo-v1' - -[dependencies.polkadot-cli] -git = "https://github.com/paritytech/polkadot" -branch = 'rococo-v1' - -[dependencies.polkadot-test-service] -git = "https://github.com/paritytech/polkadot" -branch = 'rococo-v1' - -[dependencies.polkadot-parachain] -git = "https://github.com/paritytech/polkadot" -branch = 'rococo-v1' - [package] -authors = ['Anonymous'] -build = 'build.rs' +name = 'pint' +authors = ['ChainSafe Systems'] description = 'A new Cumulus FRAME-based Substrate node, ready for hacking.' -edition = '2018' +license = 'Unlicense' +version = '3.0.0' homepage = 'https://substrate.dev' -license = 'LGPL-3.0-only' -name = 'pint' repository = 'https://github.com/substrate-developer-hub/substrate-parachain-template' -version = '2.0.0' +edition = '2018' +build = 'build.rs' + [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] +[build-dependencies] +substrate-build-script-utils = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } + [features] default = [] runtime-benchmarks = [ - 'frame-benchmarking-cli', - 'parachain-runtime/runtime-benchmarks', - 'polkadot-service/runtime-benchmarks' + 'parachain-runtime/runtime-benchmarks', + 'polkadot-service/runtime-benchmarks' ] +[dependencies] +derive_more = '0.15.0' +log = '0.4.14' +codec = { package = 'parity-scale-codec', version = '2.0.0' } +structopt = '0.3.8' +serde = { version = '1.0.119', features = ['derive'] } +hex-literal = '0.2.1' +futures = { version = "0.3.1", features = ["compat"] } +# RPC related Dependencies +jsonrpc-core = '15.1.0' + +# Local Dependencies +parachain-runtime = { path = '../runtime' } + +# Substrate Dependencies +frame-benchmarking = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } +frame-benchmarking-cli = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } + +pallet-transaction-payment-rpc = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } + +substrate-frame-rpc-system = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } +substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "master" } + +## Substrate Client Dependencies +sc-basic-authorship = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } +sc-chain-spec = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } +sc-cli = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } +sc-client-api = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } +sc-consensus = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } +sc-executor = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } +sc-network = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } +sc-keystore = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } +sc-rpc = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } +sc-rpc-api = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } +sc-service = { git = 'https://github.com/paritytech/substrate', branch = "master", version = '0.9.0', features = ['wasmtime'] } +sc-telemetry = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } +sc-transaction-pool = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } +sc-tracing = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } + +## Substrate Primitive Dependencies +sp-api = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } +sp-block-builder = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } +sp-blockchain = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } +sp-consensus = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } +sp-consensus-aura = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } +sp-core = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } +sp-inherents = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } +sp-keystore = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } +sp-offchain = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } +sp-runtime = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } +sp-session = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } +sp-timestamp = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } +sp-transaction-pool = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } + +# Cumulus dependencies +cumulus-client-consensus-aura = { git = 'https://github.com/paritytech/cumulus', branch = 'polkadot-v0.9.4' } +cumulus-client-consensus-common = { git = 'https://github.com/paritytech/cumulus', branch = 'polkadot-v0.9.4' } +cumulus-client-collator = { git = 'https://github.com/paritytech/cumulus', branch = 'polkadot-v0.9.4' } +cumulus-client-cli = { git = 'https://github.com/paritytech/cumulus', branch = 'polkadot-v0.9.4' } +cumulus-client-network = { git = 'https://github.com/paritytech/cumulus', branch = 'polkadot-v0.9.4' } +cumulus-client-service = { git = 'https://github.com/paritytech/cumulus', branch = 'polkadot-v0.9.4' } +cumulus-primitives-core = { git = 'https://github.com/paritytech/cumulus', branch = 'polkadot-v0.9.4' } +cumulus-primitives-parachain-inherent = { git = 'https://github.com/paritytech/cumulus', branch = 'polkadot-v0.9.4' } +cumulus-client-consensus-relay-chain = { git = 'https://github.com/paritytech/cumulus', branch = 'polkadot-v0.9.4' } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.4" } + + +# Polkadot dependencies +polkadot-primitives = { git = 'https://github.com/paritytech/polkadot', branch = 'release-v0.9.4'} +polkadot-service = { git = 'https://github.com/paritytech/polkadot', branch = 'release-v0.9.4'} +polkadot-cli = { git = 'https://github.com/paritytech/polkadot', branch = 'release-v0.9.4'} +polkadot-test-service = { git = 'https://github.com/paritytech/polkadot', branch = 'release-v0.9.4'} +polkadot-parachain = { git = 'https://github.com/paritytech/polkadot', branch = 'release-v0.9.4'} \ No newline at end of file diff --git a/node/src/chain_spec.rs b/node/src/chain_spec.rs index 32a4152ef0..bb82a3d686 100644 --- a/node/src/chain_spec.rs +++ b/node/src/chain_spec.rs @@ -2,7 +2,7 @@ // SPDX-License-Identifier: LGPL-3.0-only use cumulus_primitives_core::ParaId; -use parachain_runtime::{AccountId, Signature}; +use parachain_runtime::{AccountId, AuraId, Signature}; use sc_chain_spec::{ChainSpecExtension, ChainSpecGroup}; use sc_service::ChainType; use serde::{Deserialize, Serialize}; @@ -56,6 +56,10 @@ pub fn pint_development_config(id: ParaId) -> ChainSpec { move || { pint_testnet_genesis( get_account_id_from_seed::("Alice"), + vec![ + get_from_seed::("Alice"), + get_from_seed::("Bob"), + ], vec![ get_account_id_from_seed::("Alice"), get_account_id_from_seed::("Bob"), @@ -92,6 +96,10 @@ pub fn pint_local_config(id: ParaId) -> ChainSpec { move || { pint_testnet_genesis( get_account_id_from_seed::("Alice"), + vec![ + get_from_seed::("Alice"), + get_from_seed::("Bob"), + ], vec![ get_account_id_from_seed::("Alice"), get_account_id_from_seed::("Bob"), @@ -128,6 +136,7 @@ pub fn pint_local_config(id: ParaId) -> ChainSpec { fn pint_testnet_genesis( root_key: AccountId, + _initial_authorities: Vec, endowed_accounts: Vec, council_members: Vec, id: ParaId, @@ -139,10 +148,6 @@ fn pint_testnet_genesis( .to_vec(), changes_trie_config: Default::default(), }, - pallet_committee: parachain_runtime::CommitteeConfig { - council_members, - ..Default::default() - }, pallet_balances: parachain_runtime::BalancesConfig { balances: endowed_accounts .iter() @@ -150,7 +155,16 @@ fn pint_testnet_genesis( .map(|k| (k, 1 << 60)) .collect(), }, + pallet_committee: parachain_runtime::CommitteeConfig { + council_members, + ..Default::default() + }, pallet_sudo: parachain_runtime::SudoConfig { key: root_key }, parachain_info: parachain_runtime::ParachainInfoConfig { parachain_id: id }, + // no need to pass anything to aura, in fact it will panic if we do. Session will take care + // of this. + pallet_aura: Default::default(), + cumulus_pallet_aura_ext: Default::default(), + cumulus_pallet_parachain_system: Default::default(), } } diff --git a/node/src/cli.rs b/node/src/cli.rs index 7740547298..b693e9fd3e 100644 --- a/node/src/cli.rs +++ b/node/src/cli.rs @@ -2,6 +2,8 @@ // SPDX-License-Identifier: LGPL-3.0-only use crate::chain_spec; +use cumulus_client_cli; +use sc_cli; use std::path::PathBuf; use structopt::StructOpt; @@ -37,7 +39,6 @@ pub enum Subcommand { /// Revert the chain to a previous state. Revert(sc_cli::RevertCmd), - #[cfg(feature = "runtime-benchmarks")] /// The custom benchmark subcommmand benchmarking runtime pallets. #[structopt(name = "benchmark", about = "Benchmark runtime pallets.")] Benchmark(frame_benchmarking_cli::BenchmarkCmd), @@ -52,8 +53,8 @@ pub struct ExportGenesisStateCommand { /// Id of the parachain this state is for. /// - /// Default: 200 - #[structopt(long)] + /// Default: 100 + #[structopt(long, conflicts_with = "chain")] pub parachain_id: Option, /// Write output in binary. Default is to write in hex. @@ -61,7 +62,7 @@ pub struct ExportGenesisStateCommand { pub raw: bool, /// The name of the chain for that the genesis state should be exported. - #[structopt(long)] + #[structopt(long, conflicts_with = "parachain-id")] pub chain: Option, } @@ -81,42 +82,18 @@ pub struct ExportGenesisWasmCommand { pub chain: Option, } -#[derive(Debug, StructOpt)] -pub struct RunCmd { - #[structopt(flatten)] - pub base: sc_cli::RunCmd, - - /// Id of the parachain this collator collates for. - #[structopt(long)] - pub parachain_id: Option, -} - -impl std::ops::Deref for RunCmd { - type Target = sc_cli::RunCmd; - - fn deref(&self) -> &Self::Target { - &self.base - } -} - #[derive(Debug, StructOpt)] #[structopt(settings = &[ -structopt::clap::AppSettings::GlobalVersion, -structopt::clap::AppSettings::ArgsNegateSubcommands, -structopt::clap::AppSettings::SubcommandsNegateReqs, + structopt::clap::AppSettings::GlobalVersion, + structopt::clap::AppSettings::ArgsNegateSubcommands, + structopt::clap::AppSettings::SubcommandsNegateReqs, ])] pub struct Cli { #[structopt(subcommand)] pub subcommand: Option, #[structopt(flatten)] - pub run: RunCmd, - - /// Run node as collator. - /// - /// Note that this is the same as running with `--validator`. - #[structopt(long, conflicts_with = "validator")] - pub collator: bool, + pub run: cumulus_client_cli::RunCmd, /// Relaychain arguments #[structopt(raw = true)] diff --git a/node/src/command.rs b/node/src/command.rs index 64949ccf93..f2b144765f 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -1,26 +1,22 @@ // Copyright 2021 ChainSafe Systems // SPDX-License-Identifier: LGPL-3.0-only -#![allow(clippy::borrowed_box)] - use crate::{ chain_spec, cli::{Cli, RelayChainCli, Subcommand}, + service::{new_partial, ParachainRuntimeExecutor}, }; use codec::Encode; use cumulus_client_service::genesis::generate_genesis_block; use cumulus_primitives_core::ParaId; use log::info; -use parachain_runtime::Block; +use parachain_runtime::{Block, RuntimeApi}; use polkadot_parachain::primitives::AccountIdConversion; use sc_cli::{ ChainSpec, CliConfiguration, DefaultConfigurationValues, ImportParams, KeystoreParams, NetworkParams, Result, RuntimeVersion, SharedParams, SubstrateCli, }; -use sc_service::{ - config::{BasePath, PrometheusConfig}, - PartialComponents, -}; +use sc_service::config::{BasePath, PrometheusConfig}; use sp_core::hexdisplay::HexDisplay; use sp_runtime::traits::Block as BlockT; use std::{io::Write, net::SocketAddr}; @@ -32,10 +28,9 @@ fn load_spec( Ok(match id { "pint-local" => Box::new(chain_spec::pint_local_config(para_id)), "pint-dev" => Box::new(chain_spec::pint_development_config(para_id)), - path => Box::new( - chain_spec::ChainSpec::from_json_file(std::path::PathBuf::from(path)) - .unwrap_or(chain_spec::pint_development_config(para_id)), - ), + path => Box::new(chain_spec::ChainSpec::from_json_file( + std::path::PathBuf::from(path), + )?), }) } @@ -67,7 +62,7 @@ impl SubstrateCli for Cli { } fn copyright_start_year() -> i32 { - 2017 + 2021 } fn load_spec(&self, id: &str) -> std::result::Result, String> { @@ -92,7 +87,7 @@ impl SubstrateCli for RelayChainCli { "PINT Collator\n\nThe command-line arguments provided first will be \ passed to the parachain node, while the arguments provided after -- will be passed \ to the relaychain node.\n\n\ - rococo-collator [parachain-args] -- [relaychain-args]" + parachain-collator [parachain-args] -- [relaychain-args]" .into() } @@ -109,7 +104,8 @@ impl SubstrateCli for RelayChainCli { } fn load_spec(&self, id: &str) -> std::result::Result, String> { - polkadot_cli::Cli::from_iter([RelayChainCli::executable_name()].iter()).load_spec(id) + polkadot_cli::Cli::from_iter([RelayChainCli::executable_name().to_string()].iter()) + .load_spec(id) } fn native_runtime_version(chain_spec: &Box) -> &'static RuntimeVersion { @@ -126,6 +122,24 @@ fn extract_genesis_wasm(chain_spec: &Box) -> Result {{ + let runner = $cli.create_runner($cmd)?; + runner.async_run(|$config| { + let $components = new_partial::< + RuntimeApi, + ParachainRuntimeExecutor, + _ + >( + &$config, + crate::service::parachain_build_import_queue, + )?; + let task_manager = $components.task_manager; + { $( $code )* }.map(|v| (v, task_manager)) + }) + }} +} + /// Parse command line arguments into service configuration. pub fn run() -> Result<()> { let cli = Cli::from_args(); @@ -136,49 +150,23 @@ pub fn run() -> Result<()> { runner.sync_run(|config| cmd.run(config.chain_spec, config.network)) } Some(Subcommand::CheckBlock(cmd)) => { - let runner = cli.create_runner(cmd)?; - runner.async_run(|config| { - let PartialComponents { - client, - task_manager, - import_queue, - .. - } = crate::service::new_partial(&config)?; - Ok((cmd.run(client, import_queue), task_manager)) + construct_async_run!(|components, cli, cmd, config| { + Ok(cmd.run(components.client, components.import_queue)) }) } Some(Subcommand::ExportBlocks(cmd)) => { - let runner = cli.create_runner(cmd)?; - runner.async_run(|config| { - let PartialComponents { - client, - task_manager, - .. - } = crate::service::new_partial(&config)?; - Ok((cmd.run(client, config.database), task_manager)) + construct_async_run!(|components, cli, cmd, config| { + Ok(cmd.run(components.client, config.database)) }) } Some(Subcommand::ExportState(cmd)) => { - let runner = cli.create_runner(cmd)?; - runner.async_run(|config| { - let PartialComponents { - client, - task_manager, - .. - } = crate::service::new_partial(&config)?; - Ok((cmd.run(client, config.chain_spec), task_manager)) + construct_async_run!(|components, cli, cmd, config| { + Ok(cmd.run(components.client, config.chain_spec)) }) } Some(Subcommand::ImportBlocks(cmd)) => { - let runner = cli.create_runner(cmd)?; - runner.async_run(|config| { - let PartialComponents { - client, - task_manager, - import_queue, - .. - } = crate::service::new_partial(&config)?; - Ok((cmd.run(client, import_queue), task_manager)) + construct_async_run!(|components, cli, cmd, config| { + Ok(cmd.run(components.client, components.import_queue)) }) } Some(Subcommand::PurgeChain(cmd)) => { @@ -187,7 +175,7 @@ pub fn run() -> Result<()> { runner.sync_run(|config| { let polkadot_cli = RelayChainCli::new( &config, - [RelayChainCli::executable_name()] + [RelayChainCli::executable_name().to_string()] .iter() .chain(cli.relaychain_args.iter()), ); @@ -202,18 +190,9 @@ pub fn run() -> Result<()> { cmd.run(config, polkadot_config) }) } - Some(Subcommand::Revert(cmd)) => { - let runner = cli.create_runner(cmd)?; - runner.async_run(|config| { - let PartialComponents { - client, - task_manager, - backend, - .. - } = crate::service::new_partial(&config)?; - Ok((cmd.run(client, backend), task_manager)) - }) - } + Some(Subcommand::Revert(cmd)) => construct_async_run!(|components, cli, cmd, config| { + Ok(cmd.run(components.client, components.backend)) + }), Some(Subcommand::ExportGenesisState(params)) => { let mut builder = sc_cli::LoggerBuilder::new(""); builder.with_profiling(sc_tracing::TracingReceiver::Log, ""); @@ -259,31 +238,27 @@ pub fn run() -> Result<()> { Ok(()) } - #[cfg(feature = "runtime-benchmarks")] - Some(Subcommand::Benchmark(params)) => { + Some(Subcommand::Benchmark(cmd)) => { if cfg!(feature = "runtime-benchmarks") { - let runner = cli.create_runner(params)?; + let runner = cli.create_runner(cmd)?; - runner.sync_run(|config| params.run::(config)) + runner.sync_run(|config| cmd.run::(config)) } else { Err("Benchmarking wasn't enabled when building the node. \ - You can enable it with `--features runtime-benchmarks`." + You can enable it with `--features runtime-benchmarks`." .into()) } } None => { - let runner = cli.create_runner(&*cli.run)?; + let runner = cli.create_runner(&cli.run.normalize())?; runner.run_node_until_exit(|config| async move { - // TODO - let key = sp_core::Pair::generate().0; - let para_id = chain_spec::Extensions::try_get(&*config.chain_spec).map(|e| e.para_id); let polkadot_cli = RelayChainCli::new( &config, - [RelayChainCli::executable_name()] + [RelayChainCli::executable_name().to_string()] .iter() .chain(cli.relaychain_args.iter()), ); @@ -301,14 +276,20 @@ pub fn run() -> Result<()> { let polkadot_config = SubstrateCli::create_configuration(&polkadot_cli, &polkadot_cli, task_executor) .map_err(|err| format!("Relay chain argument error: {}", err))?; - let collator = cli.run.base.validator || cli.collator; info!("Parachain id: {:?}", id); info!("Parachain Account: {}", parachain_account); info!("Parachain genesis state: {}", genesis_state); - info!("Is collating: {}", if collator { "yes" } else { "no" }); + info!( + "Is collating: {}", + if config.role.is_authority() { + "yes" + } else { + "no" + } + ); - crate::service::start_node(config, key, polkadot_config, id, collator) + crate::service::start_node(config, polkadot_config, id) .await .map(|r| r.0) .map_err(Into::into) diff --git a/node/src/lib.rs b/node/src/lib.rs new file mode 100644 index 0000000000..70ce7ccafc --- /dev/null +++ b/node/src/lib.rs @@ -0,0 +1,5 @@ +// Copyright 2021 ChainSafe Systems +// SPDX-License-Identifier: LGPL-3.0-only + +pub mod chain_spec; +pub mod service; diff --git a/node/src/main.rs b/node/src/main.rs index 8e6700311a..9f84e354ff 100644 --- a/node/src/main.rs +++ b/node/src/main.rs @@ -1,7 +1,9 @@ // Copyright 2021 ChainSafe Systems // SPDX-License-Identifier: LGPL-3.0-only -#![warn(unused_extern_crates)] +//! Substrate Parachain Node Template CLI + +#![warn(missing_docs)] mod chain_spec; #[macro_use] diff --git a/node/src/service.rs b/node/src/service.rs index 02d665e965..867b1a26d4 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -1,27 +1,44 @@ // Copyright 2021 ChainSafe Systems // SPDX-License-Identifier: LGPL-3.0-only -use cumulus_client_consensus_relay_chain::{ - build_relay_chain_consensus, BuildRelayChainConsensusParams, +// Local Runtime Types +use parachain_runtime::RuntimeApi; + +// Cumulus Imports +use cumulus_client_consensus_aura::{ + build_aura_consensus, BuildAuraConsensusParams, SlotProportion, }; +use cumulus_client_consensus_common::ParachainConsensus; use cumulus_client_network::build_block_announce_validator; use cumulus_client_service::{ prepare_node_config, start_collator, start_full_node, StartCollatorParams, StartFullNodeParams, }; use cumulus_primitives_core::ParaId; -use parachain_runtime::{opaque::Block, RuntimeApi}; -use polkadot_primitives::v0::CollatorPair; + +// Substrate Imports +use sc_client_api::ExecutorProvider; use sc_executor::native_executor_instance; -pub use sc_executor::NativeExecutor; +use sc_network::NetworkService; use sc_service::{Configuration, PartialComponents, Role, TFullBackend, TFullClient, TaskManager}; -use sc_telemetry::{Telemetry, TelemetryWorker, TelemetryWorkerHandle}; +use sc_telemetry::{Telemetry, TelemetryHandle, TelemetryWorker, TelemetryWorkerHandle}; +use sp_api::ConstructRuntimeApi; +use sp_consensus::SlotData; +use sp_keystore::SyncCryptoStorePtr; use sp_runtime::traits::BlakeTwo256; -use sp_trie::PrefixedMemoryDB; use std::sync::Arc; +use substrate_prometheus_endpoint::Registry; + +pub use sc_executor::NativeExecutor; + +// Runtime type overrides +type BlockNumber = u32; +type Header = sp_runtime::generic::Header; +pub type Block = sp_runtime::generic::Block; +type Hash = sp_core::H256; // Native executor instance. native_executor_instance!( - pub Executor, + pub ParachainRuntimeExecutor, parachain_runtime::api::dispatch, parachain_runtime::native_version, frame_benchmarking::benchmarking::HostFunctions, @@ -31,22 +48,45 @@ native_executor_instance!( /// /// Use this macro if you don't actually need the full service, but just the builder in order to /// be able to perform chain operations. -#[allow(clippy::type_complexity)] -pub fn new_partial( +pub fn new_partial( config: &Configuration, + build_import_queue: BIQ, ) -> Result< PartialComponents< TFullClient, TFullBackend, (), - sp_consensus::import_queue::BasicQueue>, + sp_consensus::DefaultImportQueue>, sc_transaction_pool::FullPool>, (Option, Option), >, sc_service::Error, -> { - let inherent_data_providers = sp_inherents::InherentDataProviders::new(); - +> +where + RuntimeApi: ConstructRuntimeApi> + + Send + + Sync + + 'static, + RuntimeApi::RuntimeApi: sp_transaction_pool::runtime_api::TaggedTransactionQueue + + sp_api::Metadata + + sp_session::SessionKeys + + sp_api::ApiExt< + Block, + StateBackend = sc_client_api::StateBackendFor, Block>, + > + sp_offchain::OffchainWorkerApi + + sp_block_builder::BlockBuilder, + sc_client_api::StateBackendFor, Block>: sp_api::StateBackend, + Executor: sc_executor::NativeExecutionDispatch + 'static, + BIQ: FnOnce( + Arc>, + &Configuration, + Option, + &TaskManager, + ) -> Result< + sp_consensus::DefaultImportQueue>, + sc_service::Error, + >, +{ let telemetry = config .telemetry_endpoints .clone() @@ -72,8 +112,6 @@ pub fn new_partial( telemetry }); - let registry = config.prometheus_registry(); - let transaction_pool = sc_transaction_pool::BasicPool::new_full( config.transaction_pool.clone(), config.role.is_authority().into(), @@ -82,12 +120,11 @@ pub fn new_partial( client.clone(), ); - let import_queue = cumulus_client_consensus_relay_chain::import_queue( - client.clone(), + let import_queue = build_import_queue( client.clone(), - inherent_data_providers.clone(), - &task_manager.spawn_essential_handle(), - registry, + config, + telemetry.as_ref().map(|telemetry| telemetry.handle()), + &task_manager, )?; let params = PartialComponents { @@ -97,7 +134,6 @@ pub fn new_partial( keystore_container, task_manager, transaction_pool, - inherent_data_providers, select_chain: (), other: (telemetry, telemetry_worker_handle), }; @@ -109,20 +145,55 @@ pub fn new_partial( /// /// This is the actual implementation that is abstract over the executor and the runtime api. #[sc_tracing::logging::prefix_logs_with("Parachain")] -async fn start_node_impl( +async fn start_node_impl( parachain_config: Configuration, - collator_key: CollatorPair, polkadot_config: Configuration, id: ParaId, - validator: bool, rpc_ext_builder: RB, + build_import_queue: BIQ, + build_consensus: BIC, ) -> sc_service::error::Result<(TaskManager, Arc>)> where + RuntimeApi: ConstructRuntimeApi> + + Send + + Sync + + 'static, + RuntimeApi::RuntimeApi: sp_transaction_pool::runtime_api::TaggedTransactionQueue + + sp_api::Metadata + + sp_session::SessionKeys + + sp_api::ApiExt< + Block, + StateBackend = sc_client_api::StateBackendFor, Block>, + > + sp_offchain::OffchainWorkerApi + + sp_block_builder::BlockBuilder + + cumulus_primitives_core::CollectCollationInfo, + sc_client_api::StateBackendFor, Block>: sp_api::StateBackend, + Executor: sc_executor::NativeExecutionDispatch + 'static, RB: Fn( Arc>, ) -> jsonrpc_core::IoHandler + Send + 'static, + BIQ: FnOnce( + Arc>, + &Configuration, + Option, + &TaskManager, + ) -> Result< + sp_consensus::DefaultImportQueue>, + sc_service::Error, + >, + BIC: FnOnce( + Arc>, + Option<&Registry>, + Option, + &TaskManager, + &polkadot_service::NewFull, + Arc>>, + Arc>, + SyncCryptoStorePtr, + bool, + ) -> Result>, sc_service::Error>, { if matches!(parachain_config.role, Role::Light) { return Err("Light client not supported!".into()); @@ -130,56 +201,42 @@ where let parachain_config = prepare_node_config(parachain_config); - let params = new_partial(¶chain_config)?; - params - .inherent_data_providers - .register_provider(sp_timestamp::InherentDataProvider) - .unwrap(); + let params = new_partial::(¶chain_config, build_import_queue)?; let (mut telemetry, telemetry_worker_handle) = params.other; - let polkadot_full_node = cumulus_client_service::build_polkadot_full_node( - polkadot_config, - collator_key.clone(), - telemetry_worker_handle, - ) - .map_err(|e| match e { - polkadot_service::Error::Sub(x) => x, - s => format!("{}", s).into(), - })?; + let relay_chain_full_node = + cumulus_client_service::build_polkadot_full_node(polkadot_config, telemetry_worker_handle) + .map_err(|e| match e { + polkadot_service::Error::Sub(x) => x, + s => format!("{}", s).into(), + })?; let client = params.client.clone(); let backend = params.backend.clone(); let block_announce_validator = build_block_announce_validator( - polkadot_full_node.client.clone(), + relay_chain_full_node.client.clone(), id, - Box::new(polkadot_full_node.network.clone()), - polkadot_full_node.backend.clone(), + Box::new(relay_chain_full_node.network.clone()), + relay_chain_full_node.backend.clone(), ); + let force_authoring = parachain_config.force_authoring; + let validator = parachain_config.role.is_authority(); let prometheus_registry = parachain_config.prometheus_registry().cloned(); let transaction_pool = params.transaction_pool.clone(); let mut task_manager = params.task_manager; - let import_queue = params.import_queue; - let (network, network_status_sinks, system_rpc_tx, start_network) = + let import_queue = cumulus_client_service::SharedImportQueue::new(params.import_queue); + let (network, system_rpc_tx, start_network) = sc_service::build_network(sc_service::BuildNetworkParams { config: ¶chain_config, client: client.clone(), transaction_pool: transaction_pool.clone(), spawn_handle: task_manager.spawn_handle(), - import_queue, + import_queue: import_queue.clone(), on_demand: None, block_announce_validator_builder: Some(Box::new(|_| block_announce_validator)), })?; - if parachain_config.offchain_worker.enabled { - sc_service::build_offchain_workers( - ¶chain_config, - task_manager.spawn_handle(), - client.clone(), - network.clone(), - ); - } - let rpc_client = client.clone(); let rpc_extensions_builder = Box::new(move |_, _| rpc_ext_builder(rpc_client.clone())); @@ -194,7 +251,6 @@ where keystore: params.keystore_container.sync_keystore(), backend: backend.clone(), network: network.clone(), - network_status_sinks, system_rpc_tx, telemetry: telemetry.as_mut(), })?; @@ -205,23 +261,19 @@ where }; if validator { - let proposer_factory = sc_basic_authorship::ProposerFactory::with_proof_recording( - task_manager.spawn_handle(), + let parachain_consensus = build_consensus( client.clone(), - transaction_pool, prometheus_registry.as_ref(), - telemetry.as_ref().map(|x| x.handle()), - ); - let spawner = task_manager.spawn_handle(); + telemetry.as_ref().map(|t| t.handle()), + &task_manager, + &relay_chain_full_node, + transaction_pool, + network, + params.keystore_container.sync_keystore(), + force_authoring, + )?; - let parachain_consensus = build_relay_chain_consensus(BuildRelayChainConsensusParams { - para_id: id, - proposer_factory, - inherent_data_providers: params.inherent_data_providers, - block_import: client.clone(), - relay_chain_client: polkadot_full_node.client.clone(), - relay_chain_backend: polkadot_full_node.backend.clone(), - }); + let spawner = task_manager.spawn_handle(); let params = StartCollatorParams { para_id: id, @@ -229,11 +281,10 @@ where announce_block, client: client.clone(), task_manager: &mut task_manager, - collator_key, - relay_chain_full_node: polkadot_full_node, + relay_chain_full_node, spawner, - backend, parachain_consensus, + import_queue, }; start_collator(params).await?; @@ -243,7 +294,7 @@ where announce_block, task_manager: &mut task_manager, para_id: id, - polkadot_full_node, + relay_chain_full_node, }; start_full_node(params)?; @@ -254,21 +305,140 @@ where Ok((task_manager, client)) } +/// Build the import queue for the the parachain runtime. +pub fn parachain_build_import_queue( + client: Arc>, + config: &Configuration, + telemetry: Option, + task_manager: &TaskManager, +) -> Result< + sp_consensus::DefaultImportQueue< + Block, + TFullClient, + >, + sc_service::Error, +> { + let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?; + + cumulus_client_consensus_aura::import_queue::< + sp_consensus_aura::sr25519::AuthorityPair, + _, + _, + _, + _, + _, + _, + >(cumulus_client_consensus_aura::ImportQueueParams { + block_import: client.clone(), + client: client.clone(), + create_inherent_data_providers: move |_, _| async move { + let time = sp_timestamp::InherentDataProvider::from_system_time(); + + let slot = + sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_duration( + *time, + slot_duration.slot_duration(), + ); + + Ok((time, slot)) + }, + registry: config.prometheus_registry().clone(), + can_author_with: sp_consensus::CanAuthorWithNativeVersion::new(client.executor().clone()), + spawner: &task_manager.spawn_essential_handle(), + telemetry, + }) + .map_err(Into::into) +} + /// Start a normal parachain node. pub async fn start_node( parachain_config: Configuration, - collator_key: CollatorPair, polkadot_config: Configuration, id: ParaId, - validator: bool, -) -> sc_service::error::Result<(TaskManager, Arc>)> { - start_node_impl( +) -> sc_service::error::Result<( + TaskManager, + Arc>, +)> { + start_node_impl::( parachain_config, - collator_key, polkadot_config, id, - validator, |_| Default::default(), + parachain_build_import_queue, + |client, + prometheus_registry, + telemetry, + task_manager, + relay_chain_node, + transaction_pool, + sync_oracle, + keystore, + force_authoring| { + let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?; + + let proposer_factory = sc_basic_authorship::ProposerFactory::with_proof_recording( + task_manager.spawn_handle(), + client.clone(), + transaction_pool, + prometheus_registry.clone(), + telemetry.clone(), + ); + + let relay_chain_backend = relay_chain_node.backend.clone(); + let relay_chain_client = relay_chain_node.client.clone(); + Ok(build_aura_consensus::< + sp_consensus_aura::sr25519::AuthorityPair, + _, + _, + _, + _, + _, + _, + _, + _, + _, + >(BuildAuraConsensusParams { + proposer_factory, + create_inherent_data_providers: move |_, (relay_parent, validation_data)| { + let parachain_inherent = + cumulus_primitives_parachain_inherent::ParachainInherentData::create_at_with_client( + relay_parent, + &relay_chain_client, + &*relay_chain_backend, + &validation_data, + id, + ); + async move { + let time = sp_timestamp::InherentDataProvider::from_system_time(); + + let slot = + sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_duration( + *time, + slot_duration.slot_duration(), + ); + + let parachain_inherent = parachain_inherent.ok_or_else(|| { + Box::::from( + "Failed to create parachain inherent", + ) + })?; + Ok((time, slot, parachain_inherent)) + } + }, + block_import: client.clone(), + relay_chain_client: relay_chain_node.client.clone(), + relay_chain_backend: relay_chain_node.backend.clone(), + para_client: client.clone(), + backoff_authoring_blocks: Option::<()>::None, + sync_oracle, + keystore, + force_authoring, + slot_duration, + // We got around 500ms for proposing + block_proposal_slot_portion: SlotProportion::new(1f32 / 24f32), + telemetry, + })) + }, ) .await } diff --git a/pallets/asset-depository/Cargo.toml b/pallets/asset-depository/Cargo.toml index 33b2cd823d..954342cd09 100644 --- a/pallets/asset-depository/Cargo.toml +++ b/pallets/asset-depository/Cargo.toml @@ -8,6 +8,21 @@ readme = 'README.md' repository = 'https://github.com/ChainSafe/PINT/' version = '0.0.1' +[dependencies] +codec = { package = 'parity-scale-codec', version = '2.0.0', default-features = false, features = ['derive']} + +# Substrate Dependencies +frame-support = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +frame-system = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +frame-benchmarking = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false, optional = true } + +[dev-dependencies] +serde = { version = "1.0.101" } + +sp-core = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +sp-io = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +sp-runtime = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } + [features] default = ['std'] std = [ @@ -21,51 +36,5 @@ runtime-benchmarks = [ 'frame-system/runtime-benchmarks', ] -[dependencies.codec] -default-features = false -features = ['derive'] -package = 'parity-scale-codec' -version = '2.0.0' - -[dependencies.frame-support] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.frame-system] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.frame-benchmarking] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' -optional = true - -[dev-dependencies] -serde = { version = "1.0.101" } - -[dev-dependencies.sp-core] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dev-dependencies.sp-io] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dev-dependencies.sp-runtime] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] diff --git a/pallets/asset-index/Cargo.toml b/pallets/asset-index/Cargo.toml index 9e57222bd3..e1c6ad13ff 100644 --- a/pallets/asset-index/Cargo.toml +++ b/pallets/asset-index/Cargo.toml @@ -8,10 +8,36 @@ readme = 'README.md' repository = 'https://github.com/ChainSafe/PINT/' version = '0.0.1' +[dependencies] +codec = { package = 'parity-scale-codec', version = '2.0.0', default-features = false, features = ['derive'] } + +# Substrate Dependencies +frame-support = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +frame-system = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +frame-benchmarking = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false, optional = true } + +# Polkadot Dependencies +xcm = { git = 'https://github.com/paritytech/polkadot', branch = 'release-v0.9.4', default-features = false } +xcm-executor = { git = 'https://github.com/paritytech/polkadot', branch = 'release-v0.9.4', default-features = false } + +# PINT dependencies +pallet-chainlink-feed = { git = "https://github.com/ChainSafe/chainlink-polkadot", branch = "upgrade-substrate-master", default-features = false, optional = true } +pallet-remote-asset-manager = { path = "../remote-asset-manager", default-features = false } +pallet-asset-depository = { path = "../asset-depository", default-features = false } +pallet-price-feed = { path = "../price-feed", default-features = false } + +[dev-dependencies] +serde = { version = "1.0.101" } + +sp-core = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +sp-io = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +sp-runtime = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } + +pallet-balances = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } + [features] default = ['std'] std = [ - 'sp-std/std', 'codec/std', 'frame-support/std', 'frame-system/std', @@ -30,92 +56,5 @@ runtime-benchmarks = [ 'pallet-chainlink-feed/runtime-benchmarks', ] -[dependencies.codec] -default-features = false -features = ['derive'] -package = 'parity-scale-codec' -version = '2.0.0' - -[dependencies.sp-std] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.frame-support] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.frame-system] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.frame-benchmarking] -default-features = false -git = 'https://github.com/paritytech/substrate' -branch = 'rococo-v1' -optional = true - -[dependencies.pallet-chainlink-feed] -default_features = false -package = 'pallet-chainlink-feed' -git = "https://github.com/ChainSafe/chainlink-polkadot" -optional = true - -[dependencies.xcm] -git = "https://github.com/paritytech/polkadot" -branch = 'rococo-v1' -default-features = false - -[dependencies.xcm-executor] -default-features = false -git = 'https://github.com/paritytech/polkadot' -branch = 'rococo-v1' - -[dependencies.pallet-remote-asset-manager] -default-features = false -path = '../remote-asset-manager' -version = '0.0.1' - -[dependencies.pallet-asset-depository] -default-features = false -path = '../asset-depository' -version = '0.0.1' - -[dependencies.pallet-price-feed] -default-features = false -path = '../price-feed' -version = '0.0.1' - -[dev-dependencies] -serde = { version = "1.0.101" } - -[dev-dependencies.pallet-balances] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dev-dependencies.sp-core] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dev-dependencies.sp-io] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dev-dependencies.sp-runtime] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] diff --git a/pallets/asset-index/src/lib.rs b/pallets/asset-index/src/lib.rs index aae50e7d30..bb547b62c2 100644 --- a/pallets/asset-index/src/lib.rs +++ b/pallets/asset-index/src/lib.rs @@ -216,7 +216,7 @@ pub mod pallet { .filter(|holding| matches!(holding.availability, AssetAvailability::Liquid(_))) .ok_or(Error::::UnsupportedAsset)?; - let pint_amount = Self::calculate_pint_equivalent(asset_id.clone(), amount)?; + let pint_amount = Self::calculate_pint_equivalent(asset_id, amount)?; // make sure we can store the additional deposit holding.units = holding @@ -227,7 +227,7 @@ pub mod pallet { // withdraw from the caller's sovereign account T::MultiAssetDepository::withdraw(&asset_id, &caller, amount)?; // update the holding - Holdings::::insert(asset_id.clone(), holding); + Holdings::::insert(asset_id, holding); // increase the total issuance let issued = T::IndexToken::issue(pint_amount); @@ -325,7 +325,7 @@ pub mod pallet { for (price, units) in asset_prices { let asset = price.quote; // try to start the unbonding process - let state = if T::RemoteAssetManager::unbond(asset.clone(), units).is_ok() { + let state = if T::RemoteAssetManager::unbond(asset, units).is_ok() { // the XCM call was dispatched successfully, however, this is // *NOT* synonymous with a successful completion of the unbonding process. // instead, this state implies that XCM is now being processed on a different parachain @@ -402,7 +402,7 @@ pub mod pallet { // unbonding process already started, try to complete it if T::RemoteAssetManager::withdraw_unbonded( caller.clone(), - asset.asset.clone(), + asset.asset, asset.units, ) .is_ok() diff --git a/pallets/asset-index/src/types.rs b/pallets/asset-index/src/types.rs index 3fc051e2a1..25dcdac3b6 100644 --- a/pallets/asset-index/src/types.rs +++ b/pallets/asset-index/src/types.rs @@ -6,14 +6,15 @@ use codec::FullCodec; use frame_support::pallet_prelude::*; use frame_support::sp_runtime::traits::AtLeast32BitUnsigned; use frame_support::sp_runtime::SaturatedConversion; -use pallet_asset_depository::MultiAssetDepository; -use sp_std::{ +use frame_support::sp_std::{ + self, cmp::{Eq, PartialEq}, fmt::Debug, marker::PhantomData, prelude::*, result, }; +use pallet_asset_depository::MultiAssetDepository; use xcm::v0::{Error as XcmError, MultiAsset, MultiLocation, Result}; use xcm_executor::{ traits::{Convert, MatchesFungible, TransactAsset}, diff --git a/pallets/committee/Cargo.toml b/pallets/committee/Cargo.toml index b1d4728944..290b07d451 100644 --- a/pallets/committee/Cargo.toml +++ b/pallets/committee/Cargo.toml @@ -8,6 +8,25 @@ readme = 'README.md' repository = 'https://github.com/ChainSafe/PINT/' version = '0.0.1' +[dependencies] +serde = { version = "1.0.101", optional = true } +codec = { package = 'parity-scale-codec', version = '2.0.0', default-features = false, features = ['derive']} + +# Substrate Dependencies +frame-support = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +frame-system = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +frame-benchmarking = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false, optional = true } +sp-runtime = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false, optional = true } + + +[dev-dependencies] +sp-core = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +sp-io = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +sp-runtime = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } + +pallet-balances = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } + + [features] default = ['std'] std = [ @@ -24,61 +43,5 @@ runtime-benchmarks = [ 'sp-runtime/runtime-benchmarks', ] -[dependencies.codec] -default-features = false -features = ['derive'] -package = 'parity-scale-codec' -version = '2.0.0' - -[dependencies.frame-support] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.frame-system] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.frame-benchmarking] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' -optional = true - -[dependencies.sp-runtime] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.serde] -version = "1.0.101" -optional = true - -[dev-dependencies.serde] -version = "1.0.101" - -[dev-dependencies.pallet-balances] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dev-dependencies.sp-core] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dev-dependencies.sp-io] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] diff --git a/pallets/committee/src/lib.rs b/pallets/committee/src/lib.rs index 69b0f6f535..80fd16d308 100644 --- a/pallets/committee/src/lib.rs +++ b/pallets/committee/src/lib.rs @@ -35,12 +35,11 @@ pub mod pallet { use frame_support::{ dispatch::{Codec, DispatchResultWithPostInfo}, pallet_prelude::*, - sp_runtime::traits::Dispatchable, + sp_runtime::traits::{CheckedAdd, Dispatchable, One, Zero}, sp_std::{boxed::Box, vec::Vec}, weights::{GetDispatchInfo, PostDispatchInfo}, }; use frame_system::pallet_prelude::*; - use sp_runtime::traits::{CheckedAdd, One, Zero}; type AccountIdFor = ::AccountId; type HashFor = ::Hash; @@ -72,7 +71,7 @@ pub mod pallet { /// Duration (in blocks) of the voting period type VotingPeriod: Get; - /// Minumum number of council members that must vote for a action to be passed + /// Minimum number of council members that must vote for a action to be passed type MinCouncilVotes: Get; /// Origin that is permitted to create proposals @@ -328,7 +327,7 @@ pub mod pallet { /// The provided action will be turned into a proposal and added to the list of current active proposals /// to be voted on in the next voting period. pub fn propose(origin: OriginFor, action: Box) -> DispatchResultWithPostInfo { - let proposer = T::ProposalSubmissionOrigin::ensure_origin(origin.clone())?; + let proposer = T::ProposalSubmissionOrigin::ensure_origin(origin)?; // Create a new proposal with a unique nonce let nonce = Self::take_and_increment_nonce()?; @@ -395,7 +394,7 @@ pub mod pallet { origin: OriginFor, proposal_hash: HashFor, ) -> DispatchResultWithPostInfo { - let closer = T::ProposalExecutionOrigin::ensure_origin(origin.clone())?; + let closer = T::ProposalExecutionOrigin::ensure_origin(origin)?; // ensure proposal has not already been executed ensure!( diff --git a/pallets/committee/src/types.rs b/pallets/committee/src/types.rs index 025c12bfdf..6c18a01d82 100644 --- a/pallets/committee/src/types.rs +++ b/pallets/committee/src/types.rs @@ -4,11 +4,11 @@ use crate::{Config, Members, Origin}; use frame_support::{ pallet_prelude::*, + sp_runtime::traits::Hash, sp_std::{self, prelude::Vec}, traits::EnsureOrigin, }; use frame_system::RawOrigin; -use sp_runtime::traits::Hash; #[cfg(feature = "std")] use serde::{Deserialize, Serialize}; diff --git a/pallets/committee/src/utils.rs b/pallets/committee/src/utils.rs index b2fc51d8f9..63371743d3 100644 --- a/pallets/committee/src/utils.rs +++ b/pallets/committee/src/utils.rs @@ -1,7 +1,7 @@ // Copyright 2021 ChainSafe Systems // SPDX-License-Identifier: LGPL-3.0-only -use sp_runtime::traits::{CheckedAdd, CheckedDiv, CheckedMul, One}; +use frame_support::sp_runtime::traits::{CheckedAdd, CheckedDiv, CheckedMul, One}; // Proposal submissions and voting follow set cycles e.g. // diff --git a/pallets/local-treasury/Cargo.toml b/pallets/local-treasury/Cargo.toml index ff59cfc830..6b6b477bb7 100644 --- a/pallets/local-treasury/Cargo.toml +++ b/pallets/local-treasury/Cargo.toml @@ -8,6 +8,23 @@ readme = 'README.md' repository = 'https://github.com/ChainSafe/PINT/' version = '0.0.1' +[dependencies] +codec = { package = 'parity-scale-codec', version = '2.0.0', default-features = false, features = ['derive']} + +# Substrate Dependencies +frame-support = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +frame-system = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +frame-benchmarking = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false, optional = true } + +[dev-dependencies] +serde = { version = "1.0.101" } + +sp-core = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +sp-io = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +sp-runtime = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } + +pallet-balances = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } + [features] default = ['std'] std = [ @@ -20,57 +37,5 @@ runtime-benchmarks = [ 'frame-support/runtime-benchmarks', ] -[dependencies.codec] -default-features = false -features = ['derive'] -package = 'parity-scale-codec' -version = '2.0.0' - -[dependencies.frame-support] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.frame-system] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.frame-benchmarking] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' -optional = true - -[dev-dependencies] -serde = { version = "1.0.101" } - -[dev-dependencies.pallet-balances] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dev-dependencies.sp-core] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dev-dependencies.sp-io] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dev-dependencies.sp-runtime] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] diff --git a/pallets/price-feed/Cargo.toml b/pallets/price-feed/Cargo.toml index adb4f81a41..2b57b4ac32 100644 --- a/pallets/price-feed/Cargo.toml +++ b/pallets/price-feed/Cargo.toml @@ -8,6 +8,27 @@ readme = 'README.md' repository = 'https://github.com/ChainSafe/PINT/' version = '0.0.1' +[dependencies] +serde = { version = "1.0.101", optional = true } +codec = { package = 'parity-scale-codec', version = '2.0.0', default-features = false, features = ['derive']} + +# Substrate Dependencies +frame-support = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +frame-system = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +frame-benchmarking = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false, optional = true } + +# PINT dependencies +pallet-chainlink-feed = { git = 'https://github.com/ChainSafe/chainlink-polkadot', branch = 'upgrade-substrate-master', default-features = false } + +[dev-dependencies] +serde = { version = "1.0.101" } +sp-core = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +sp-io = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +sp-runtime = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } + +pallet-balances = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } + + [features] default = ['std'] std = [ @@ -23,62 +44,5 @@ runtime-benchmarks = [ 'pallet-chainlink-feed/runtime-benchmarks', ] -[dependencies.codec] -default-features = false -features = ['derive'] -package = 'parity-scale-codec' -version = '2.0.0' - -[dependencies.frame-support] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.frame-system] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.pallet-chainlink-feed] -default_features = false -package = 'pallet-chainlink-feed' -git = "https://github.com/ChainSafe/chainlink-polkadot" - -[dependencies] -serde = { version = "1.0.101", optional = true } - -[dependencies.frame-benchmarking] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' -optional = true - -[dev-dependencies.pallet-balances] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dev-dependencies.sp-core] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dev-dependencies.sp-io] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dev-dependencies.sp-runtime] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] \ No newline at end of file diff --git a/pallets/price-feed/src/mock.rs b/pallets/price-feed/src/mock.rs index f563a6db4f..ea4886282c 100644 --- a/pallets/price-feed/src/mock.rs +++ b/pallets/price-feed/src/mock.rs @@ -90,12 +90,10 @@ parameter_types! { pub const OracleLimit: u32 = 10; pub const FeedLimit: u16 = 10; pub const PruningWindow: u32 = 3; - pub const PaysFeeConf: pallet_chainlink_feed::SubmitterPaysFee = pallet_chainlink_feed::SubmitterPaysFee::FreeForValidSubmission; } pub(crate) type FeedId = u16; pub(crate) type Value = u128; - impl pallet_chainlink_feed::Config for Test { type Event = Event; type FeedId = FeedId; @@ -107,7 +105,6 @@ impl pallet_chainlink_feed::Config for Test { type OracleCountLimit = OracleLimit; type FeedLimit = FeedLimit; type OnAnswerHandler = (); - type SubmitterPaysFee = PaysFeeConf; type WeightInfo = pallet_chainlink_feed::default_weights::WeightInfo; } diff --git a/pallets/remote-asset-manager/Cargo.toml b/pallets/remote-asset-manager/Cargo.toml index 2e1c8dedeb..95c33bf0eb 100644 --- a/pallets/remote-asset-manager/Cargo.toml +++ b/pallets/remote-asset-manager/Cargo.toml @@ -8,6 +8,37 @@ readme = 'README.md' repository = 'https://github.com/ChainSafe/PINT/' version = '0.0.1' +[dependencies] +log = { version = "0.4.14", default-features = false } +serde = { version = "1.0.101", features = ["derive"], optional = true } +codec = { package = 'parity-scale-codec', version = '2.0.0', default-features = false, features = ['derive']} + +# Substrate Dependencies +frame-support = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +frame-system = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +frame-benchmarking = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false, optional = true } + +# Polkadot Dependencies +xcm = { git = 'https://github.com/paritytech/polkadot', branch = 'release-v0.9.4', default-features = false } +xcm-executor = { git = 'https://github.com/paritytech/polkadot', branch = 'release-v0.9.4', default-features = false } + +# Cumulus dependencies +cumulus-pallet-xcm = { git = 'https://github.com/paritytech/cumulus', branch = 'polkadot-v0.9.4', default-features = false } +cumulus-primitives-core = { git = 'https://github.com/paritytech/cumulus', branch = 'polkadot-v0.9.4', default-features = false } + +# PINT dependencies +xcm-calls = {path = "../../primitives/xcm-calls", default-features = false } + +[dev-dependencies] +sp-core = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +sp-io = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +sp-runtime = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } + +pallet-balances = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } + +xcm-builder = { git = 'https://github.com/paritytech/polkadot', branch = 'release-v0.9.4', default-features = false } + + [features] default = ['std'] std = [ @@ -28,98 +59,5 @@ runtime-benchmarks = [ 'frame-support/runtime-benchmarks' ] -[dependencies] -log = { version = "0.4.14", default-features = false } -serde = { version = "1.0.101", features = ["derive"], optional = true } - -[dependencies.codec] -default-features = false -features = ['derive'] -package = 'parity-scale-codec' -version = '2.0.0' - -[dependencies.frame-support] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.frame-system] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.frame-benchmarking] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' -optional = true - -[dependencies.xcm] -default-features = false -git = 'https://github.com/paritytech/polkadot' -branch = 'rococo-v1' - -[dependencies.xcm-executor] -default-features = false -git = 'https://github.com/paritytech/polkadot' -branch = 'rococo-v1' - -[dependencies.cumulus-pallet-xcm] -default-features = false -git = 'https://github.com/paritytech/cumulus' -branch = 'rococo-v1' - -[dependencies.cumulus-primitives-core] -default-features = false -git = 'https://github.com/paritytech/cumulus' -branch = 'rococo-v1' - -[dependencies.xcm-calls] -default-features = false -path = '../../primitives/xcm-calls' -version = '0.0.1' - -[dev-dependencies.pallet-staking] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dev-dependencies.pallet-proxy] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dev-dependencies.xcm-builder] -default-features = false -git = 'https://github.com/paritytech/polkadot' -branch = 'rococo-v1' - -[dev-dependencies.pallet-balances] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dev-dependencies.sp-core] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dev-dependencies.sp-io] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dev-dependencies.sp-runtime] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] \ No newline at end of file diff --git a/pallets/remote-asset-manager/src/lib.rs b/pallets/remote-asset-manager/src/lib.rs index dc202a0a8d..8a6bbbd343 100644 --- a/pallets/remote-asset-manager/src/lib.rs +++ b/pallets/remote-asset-manager/src/lib.rs @@ -167,6 +167,7 @@ pub mod pallet { >; #[pallet::genesis_config] + #[allow(clippy::type_complexity)] pub struct GenesisConfig { /// key-value pairs for the `PalletStakingConfig` storage map pub staking_configs: Vec<(T::AssetId, StakingConfig)>, diff --git a/pallets/saft-registry/Cargo.toml b/pallets/saft-registry/Cargo.toml index 0293c4cb4d..7197abd5c6 100644 --- a/pallets/saft-registry/Cargo.toml +++ b/pallets/saft-registry/Cargo.toml @@ -8,6 +8,30 @@ readme = 'README.md' repository = 'https://github.com/ChainSafe/PINT/' version = '0.0.1' +[dependencies] +codec = { package = 'parity-scale-codec', version = '2.0.0', default-features = false, features = ['derive']} + +# Substrate Dependencies +frame-support = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +frame-system = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +frame-benchmarking = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false, optional = true } + +# PINT dependencies +pallet-asset-index = {path = "../asset-index", default-features = false } + + +[dev-dependencies] +serde = { version = "1.0.101" } + +sp-core = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +sp-io = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +sp-runtime = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } + +pallet-balances = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } + +[package.metadata.docs.rs] +targets = ['x86_64-unknown-linux-gnu'] + [features] default = ['std'] std = [ @@ -21,62 +45,3 @@ runtime-benchmarks = [ 'frame-support/runtime-benchmarks', 'pallet-asset-index/runtime-benchmarks', ] - -[dependencies.pallet-asset-index] -default-features = false -path = "../asset-index" - -[dependencies.codec] -default-features = false -features = ['derive'] -package = 'parity-scale-codec' -version = '2.0.0' - -[dependencies.frame-support] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.frame-system] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.frame-benchmarking] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' -optional = true - -[dev-dependencies] -serde = { version = "1.0.101" } - -[dev-dependencies.pallet-balances] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dev-dependencies.sp-core] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dev-dependencies.sp-io] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dev-dependencies.sp-runtime] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] diff --git a/pallets/xcm-asset-support/Cargo.toml b/pallets/xcm-asset-support/Cargo.toml index d81a12f04f..2468a52ea3 100644 --- a/pallets/xcm-asset-support/Cargo.toml +++ b/pallets/xcm-asset-support/Cargo.toml @@ -8,6 +8,29 @@ readme = 'README.md' repository = 'https://github.com/ChainSafe/PINT/' version = '0.0.1' +[dependencies] +codec = { package = 'parity-scale-codec', version = '2.0.0', default-features = false, features = ['derive']} + +# Substrate Dependencies +frame-support = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false} +frame-system = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +frame-benchmarking = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false, optional = true } + +# Polkadot Dependencies +xcm = { git = 'https://github.com/paritytech/polkadot', branch = 'release-v0.9.4', default-features = false } +xcm-executor = { git = 'https://github.com/paritytech/polkadot', branch = 'release-v0.9.4', default-features = false } + +[dev-dependencies] +serde = { version = "1.0.101" } + +sp-core = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +sp-io = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +sp-runtime = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } + +pallet-balances = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } + +xcm-builder = { git = 'https://github.com/paritytech/polkadot', branch = 'release-v0.9.4', default-features = false } + [features] default = ['std'] std = [ @@ -23,72 +46,6 @@ runtime-benchmarks = [ 'xcm-builder/runtime-benchmarks', ] -[dependencies.codec] -default-features = false -features = ['derive'] -package = 'parity-scale-codec' -version = '2.0.0' - -[dependencies.frame-support] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.frame-system] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.frame-benchmarking] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' -optional = true - -[dependencies.xcm] -default-features = false -git = 'https://github.com/paritytech/polkadot' -branch = 'rococo-v1' - -[dependencies.xcm-executor] -default-features = false -git = 'https://github.com/paritytech/polkadot' -branch = 'rococo-v1' - -[dev-dependencies] -serde = { version = "1.0.101" } - -[dev-dependencies.xcm-builder] -default-features = false -git = 'https://github.com/paritytech/polkadot' -branch = 'rococo-v1' - -[dev-dependencies.pallet-balances] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dev-dependencies.sp-core] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dev-dependencies.sp-io] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dev-dependencies.sp-runtime] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] diff --git a/pallets/xcm-asset-support/src/lib.rs b/pallets/xcm-asset-support/src/lib.rs index 65b28a2946..20039cc39d 100644 --- a/pallets/xcm-asset-support/src/lib.rs +++ b/pallets/xcm-asset-support/src/lib.rs @@ -38,14 +38,14 @@ impl XcmAssetExecutor { let (dest, recipient) = Self::split_multi_location(&dest); - let dest = dest.ok_or_else(|| Error::InvalidDestination)?; + let dest = dest.ok_or(Error::InvalidDestination)?; let self_location = Config::SelfLocation::get(); frame_support::ensure!(dest != self_location, Error::NoCrossChainTransfer); - let recipient = recipient.ok_or_else(|| Error::InvalidDestination)?; + let recipient = recipient.ok_or(Error::InvalidDestination)?; // the native location of the asset type - let reserve = Self::asset_reserve(&asset).ok_or_else(|| Error::InvalidDestination)?; + let reserve = Self::asset_reserve(&asset).ok_or(Error::InvalidDestination)?; let xcm = if reserve == self_location { Self::transfer_reserve_asset_locally(asset, dest, recipient) @@ -125,8 +125,8 @@ impl XcmAssetExecutor { ) -> Xcm { let mut reanchored_dest = dest.clone(); if reserve == Junction::Parent.into() { - if let MultiLocation::X2(Junction::Parent, Junction::Parachain { id }) = dest { - reanchored_dest = Junction::Parachain { id }.into(); + if let MultiLocation::X2(Junction::Parent, Junction::Parachain(id)) = dest { + reanchored_dest = Junction::Parachain(id).into(); } } @@ -161,11 +161,11 @@ impl XcmAssetExecutor { location: &MultiLocation, ) -> (Option, Option) { let chain_location = match (location.first(), location.at(1)) { - (Some(Junction::Parent), Some(Junction::Parachain { id })) => { - Some((Junction::Parent, Junction::Parachain { id: *id }).into()) + (Some(Junction::Parent), Some(Junction::Parachain(id))) => { + Some((Junction::Parent, Junction::Parachain(*id)).into()) } (Some(Junction::Parent), _) => Some(Junction::Parent.into()), - (Some(Junction::Parachain { id }), _) => Some(Junction::Parachain { id: *id }.into()), + (Some(Junction::Parachain(id)), _) => Some(Junction::Parachain(*id).into()), _ => None, }; @@ -174,9 +174,8 @@ impl XcmAssetExecutor { let target_location = last_junction .into_iter() .filter(|_| { - path.iter().all(|junction| { - matches!(junction, Junction::Parent | Junction::Parachain { id: _ }) - }) + path.iter() + .all(|junction| matches!(junction, Junction::Parent | Junction::Parachain(_))) }) .map(Into::into) .next(); @@ -193,7 +192,7 @@ impl XcmAssetHandler frame_support::sp_std::result::Result { - let dest: MultiLocation = Config::AssetIdConvert::convert(asset_id.clone()) + let dest: MultiLocation = Config::AssetIdConvert::convert(asset_id) .map_err(|_| Error::NotCrossChainTransferableAsset)?; let asset = MultiAsset::ConcreteFungible { diff --git a/primitives/xcm-calls/Cargo.toml b/primitives/xcm-calls/Cargo.toml index d9d0ad5f55..7579c2a28a 100644 --- a/primitives/xcm-calls/Cargo.toml +++ b/primitives/xcm-calls/Cargo.toml @@ -8,6 +8,30 @@ readme = 'README.md' repository = 'https://github.com/ChainSafe/PINT/' version = '0.0.1' +[dependencies] +serde = { version = "1.0.101", features = ["derive"], optional = true } +codec = { package = 'parity-scale-codec', version = '2.0.0', default-features = false, features = ['derive'] } +frame-support = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +frame-system = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } + +[dev-dependencies] +sp-core = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } +sp-runtime = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } +sp-staking = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } +frame-election-provider-support = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } +max-encoded-len = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } + +## Substrate Pallet Dependencies +pallet-staking = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +pallet-proxy = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +pallet-balances = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +pallet-staking-reward-curve = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } +pallet-timestamp = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } +pallet-session = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' } + +# Polkadot Dependencies +xcm = { git = 'https://github.com/paritytech/polkadot', branch = 'release-v0.9.4' } + [features] default = ['std'] std = [ @@ -19,83 +43,5 @@ std = [ # this feature is only for compilation now runtime-benchmarks = [] -[dependencies] -serde = { version = "1.0.101", features = ["derive"], optional = true } - -[dependencies.codec] -default-features = false -features = ['derive'] -package = 'parity-scale-codec' -version = '2.0.0' - -[dependencies.frame-support] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.frame-system] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dev-dependencies.pallet-staking] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dev-dependencies.pallet-proxy] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dev-dependencies.pallet-balances] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dev-dependencies.sp-core] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dev-dependencies.sp-runtime] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dev-dependencies.sp-staking] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dev-dependencies.pallet-staking-reward-curve] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dev-dependencies.pallet-timestamp] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dev-dependencies.pallet-session] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dev-dependencies.frame-election-provider-support] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dev-dependencies.xcm] -git = 'https://github.com/paritytech/polkadot' -branch = 'rococo-v1' - [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] \ No newline at end of file diff --git a/primitives/xcm-calls/src/lib.rs b/primitives/xcm-calls/src/lib.rs index 230047ff9a..bdd413f12a 100644 --- a/primitives/xcm-calls/src/lib.rs +++ b/primitives/xcm-calls/src/lib.rs @@ -94,12 +94,13 @@ mod tests { use codec::{Decode, Encode}; use frame_election_provider_support::onchain; - use frame_support::sp_runtime::traits::BlakeTwo256; - use frame_support::traits::OnUnbalanced; - use frame_support::traits::{Imbalance, InstanceFilter}; use frame_support::{ parameter_types, - traits::{Currency, FindAuthor, OneSessionHandler}, + sp_runtime::traits::BlakeTwo256, + traits::{ + Currency, FindAuthor, Imbalance, InstanceFilter, MaxEncodedLen, OnUnbalanced, + OneSessionHandler, + }, weights::constants::RocksDbWeight, }; use pallet_staking as staking; @@ -354,7 +355,7 @@ mod tests { } /// The type used to represent the kinds of proxying allowed. - #[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Encode, Decode, Debug)] + #[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Encode, Decode, Debug, MaxEncodedLen)] pub enum ProxyType { Any = 0, NonTransfer = 1, diff --git a/primitives/xcm-calls/src/staking.rs b/primitives/xcm-calls/src/staking.rs index ce56a5bc39..e2df33b76d 100644 --- a/primitives/xcm-calls/src/staking.rs +++ b/primitives/xcm-calls/src/staking.rs @@ -199,6 +199,7 @@ impl StakingWeights { /// The weights as defined in `pallet_staking` on polkadot // TODO: import pallet_staking weights directly? pub fn polkadot() -> Self { + #![allow(clippy::unnecessary_cast)] let weight = RocksDbWeight::get(); Self { bond: (75_102_000 as Weight) diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 9b75ca57f2..7d2abe2d79 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -1,10 +1,5 @@ -[build-dependencies.substrate-wasm-builder] -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '4.0.0' - [package] -authors = ['Anonymous'] +authors = ['ChainSafe Systems'] edition = '2018' homepage = 'https://substrate.dev' license = 'LGPL-3.0-only' @@ -15,273 +10,92 @@ version = '2.0.0' [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] -[dependencies.codec] -default-features = false -features = ['derive'] -package = 'parity-scale-codec' -version = '2.0.0' - -[dependencies.frame-benchmarking] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -optional = true -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.frame-executive] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.frame-support] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.frame-system] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.frame-system-benchmarking] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -optional = true -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.frame-system-rpc-runtime-api] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.hex-literal] -optional = true -version = '0.3.1' - -[dependencies.pallet-balances] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.pallet-randomness-collective-flip] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.pallet-sudo] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.pallet-timestamp] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.pallet-transaction-payment] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.pallet-transaction-payment-rpc-runtime-api] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.serde] -features = ['derive'] -optional = true -version = '1.0.119' - -[dependencies.sp-api] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.sp-block-builder] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.sp-core] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.sp-inherents] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.sp-io] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.sp-offchain] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.sp-runtime] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.sp-session] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.sp-std] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.sp-transaction-pool] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.sp-version] -default-features = false -git = 'https://github.com/paritytech/substrate.git' -branch = 'rococo-v1' -version = '3.0.0' - -[dependencies.pallet-asset-depository] -default-features = false -path = '../pallets/asset-depository' -version = '0.0.1' - -[dependencies.pallet-committee] -default-features = false -path = '../pallets/committee' -version = '0.0.1' - -[dependencies.pallet-local-treasury] -default-features = false -path = '../pallets/local-treasury' -version = '0.0.1' - -[dependencies.pallet-asset-index] -default-features = false -path = '../pallets/asset-index' -version = '0.0.1' - -[dependencies.pallet-saft-registry] -default-features = false -path = '../pallets/saft-registry' -version = '0.0.1' - -[dependencies.pallet-price-feed] -default-features = false -path = '../pallets/price-feed' -version = '0.0.1' - -[dependencies.pallet-remote-asset-manager] -default-features = false -path = '../pallets/remote-asset-manager' -version = '0.0.1' - -[dependencies.pallet-chainlink-feed] -default_features = false -package = 'pallet-chainlink-feed' -git = "https://github.com/ChainSafe/chainlink-polkadot" - -[dependencies.xcm-calls] -default-features = false -path = '../primitives/xcm-calls' -version = '0.0.1' - -# Cumulus dependencies -[dependencies.parachain-info] -default-features = false -git = 'https://github.com/paritytech/cumulus.git' -branch = 'rococo-v1' -version = '0.1.0' - -[dependencies.cumulus-pallet-parachain-system] -git = 'https://github.com/paritytech/cumulus.git' -branch = 'rococo-v1' -default-features = false - -[dependencies.cumulus-primitives-core] -git = 'https://github.com/paritytech/cumulus.git' -branch = 'rococo-v1' -default-features = false - -[dependencies.cumulus-pallet-xcm] -git = 'https://github.com/paritytech/cumulus.git' -branch = 'rococo-v1' -default-features = false - -[dependencies.cumulus-pallet-xcmp-queue] -git = 'https://github.com/paritytech/cumulus.git' -branch = 'rococo-v1' -default-features = false - -[dependencies.cumulus-primitives-utility] -git = 'https://github.com/paritytech/cumulus.git' -branch = 'rococo-v1' -default-features = false - -# Polkadot dependencies -[dependencies.polkadot-parachain] -git = 'https://github.com/paritytech/polkadot' -branch = 'rococo-v1' -default-features = false - -[dependencies.xcm] -git = 'https://github.com/paritytech/polkadot' -branch = 'rococo-v1' -default-features = false - -[dependencies.xcm-builder] -git = 'https://github.com/paritytech/polkadot' -branch = 'rococo-v1' -default-features = false - -[dependencies.xcm-executor] -git = 'https://github.com/paritytech/polkadot' -branch = 'rococo-v1' -default-features = false - -[dependencies.pallet-xcm] -git = 'https://github.com/paritytech/polkadot' -branch = 'rococo-v1' -default-features = false +[build-dependencies] +substrate-wasm-builder = { git = 'https://github.com/paritytech/substrate', branch = 'master' } + +[dependencies] +codec = { package = 'parity-scale-codec', version = '2.0.0', default-features = false, features = ['derive']} +log = { version = '0.4.14', default-features = false } +serde = { version = '1.0.119', optional = true, features = ['derive'] } +hex-literal = { version = '0.3.1', optional = true } + +# Substrate Dependencies +## Substrate Primitive Dependencies +sp-api = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +sp-block-builder = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +sp-core = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +sp-consensus-aura = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +sp-inherents = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +sp-io = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +sp-offchain = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +sp-runtime = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +sp-session = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +sp-std = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +sp-transaction-pool = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +sp-version = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } + +## Substrate FRAME Dependencies +frame-executive = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +frame-benchmarking = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false, optional = true } +frame-support = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +frame-system = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +frame-system-benchmarking = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false, optional = true } +frame-system-rpc-runtime-api = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } + +## Substrate Pallet Dependencies +pallet-aura = { git = 'https://github.com/paritytech/substrate', default-features = false, branch = 'master' } +pallet-balances = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +pallet-randomness-collective-flip = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +pallet-sudo = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +pallet-timestamp = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +pallet-transaction-payment = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false } + +# Cumulus Dependencies +cumulus-pallet-aura-ext = { git = 'https://github.com/paritytech/cumulus', branch = 'polkadot-v0.9.4', default-features = false } +cumulus-pallet-parachain-system = { git = 'https://github.com/paritytech/cumulus', branch = 'polkadot-v0.9.4', default-features = false } +cumulus-pallet-dmp-queue = { git = 'https://github.com/paritytech/cumulus', branch = 'polkadot-v0.9.4', default-features = false } +cumulus-pallet-xcm = { git = 'https://github.com/paritytech/cumulus', branch = 'polkadot-v0.9.4', default-features = false } +cumulus-pallet-xcmp-queue = { git = 'https://github.com/paritytech/cumulus', branch = 'polkadot-v0.9.4', default-features = false } +cumulus-primitives-core = { git = 'https://github.com/paritytech/cumulus', branch = 'polkadot-v0.9.4', default-features = false } +cumulus-primitives-utility = { git = 'https://github.com/paritytech/cumulus', branch = 'polkadot-v0.9.4', default-features = false } +parachain-info = { git = 'https://github.com/paritytech/cumulus', branch = 'polkadot-v0.9.4', default-features = false } + +# Polkadot Dependencies +polkadot-parachain = { git = 'https://github.com/paritytech/polkadot', branch = 'release-v0.9.4', default-features = false } +xcm = { git = 'https://github.com/paritytech/polkadot', branch = 'release-v0.9.4', default-features = false } +xcm-builder = { git = 'https://github.com/paritytech/polkadot', branch = 'release-v0.9.4', default-features = false } +xcm-executor = { git = 'https://github.com/paritytech/polkadot', branch = 'release-v0.9.4', default-features = false } +pallet-xcm = { git = 'https://github.com/paritytech/polkadot', branch = 'release-v0.9.4', default-features = false } + +# PINT dependencies +pallet-asset-depository = {path = '../pallets/asset-depository', default-features = false } +pallet-committee = {path = '../pallets/committee', default-features = false } +pallet-local-treasury = {path = '../pallets/local-treasury', default-features = false } +pallet-asset-index = {path = '../pallets/asset-index', default-features = false } +pallet-saft-registry = {path = '../pallets/saft-registry', default-features = false } +pallet-price-feed = {path = '../pallets/price-feed', default-features = false } +pallet-remote-asset-manager = { path = '../pallets/remote-asset-manager', default-features = false } + +xcm-calls = {path = '../primitives/xcm-calls', default-features = false } +pallet-chainlink-feed = { git = 'https://github.com/ChainSafe/chainlink-polkadot', branch = 'upgrade-substrate-master', default-features = false } + +[dev-dependencies] +hex-literal = "0.3.1" +hex = "0.4.3" [features] default = ['std'] runtime-benchmarks = [ + 'hex-literal', 'sp-runtime/runtime-benchmarks', 'frame-benchmarking', 'frame-support/runtime-benchmarks', 'frame-system-benchmarking', - 'hex-literal', 'frame-system/runtime-benchmarks', + 'xcm-builder/runtime-benchmarks', + 'pallet-balances/runtime-benchmarks', + 'pallet-timestamp/runtime-benchmarks', 'pallet-asset-depository/runtime-benchmarks', 'pallet-asset-index/runtime-benchmarks', 'pallet-price-feed/runtime-benchmarks', @@ -292,11 +106,11 @@ runtime-benchmarks = [ 'pallet-xcm/runtime-benchmarks', 'pallet-saft-registry/runtime-benchmarks', 'pallet-remote-asset-manager/runtime-benchmarks', - 'xcm-builder/runtime-benchmarks' ] std = [ 'codec/std', 'serde', + 'log/std', 'sp-api/std', 'sp-std/std', 'sp-io/std', @@ -311,22 +125,23 @@ std = [ 'frame-support/std', 'frame-executive/std', 'frame-system/std', - 'frame-system-rpc-runtime-api/std', 'pallet-balances/std', 'pallet-randomness-collective-flip/std', 'pallet-timestamp/std', 'pallet-sudo/std', 'pallet-transaction-payment/std', - 'pallet-transaction-payment-rpc-runtime-api/std', 'parachain-info/std', + 'cumulus-pallet-aura-ext/std', 'cumulus-pallet-parachain-system/std', + 'cumulus-pallet-xcmp-queue/std', + 'cumulus-pallet-xcm/std', 'cumulus-primitives-core/std', + 'cumulus-primitives-utility/std', 'xcm/std', 'xcm-builder/std', 'xcm-executor/std', - 'cumulus-pallet-xcm/std', - 'cumulus-pallet-xcmp-queue/std', - 'cumulus-primitives-utility/std', + 'pallet-aura/std', + 'sp-consensus-aura/std', 'pallet-asset-depository/std', 'pallet-asset-index/std', 'pallet-committee/std', diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 7fffd47c03..7762244ffa 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -32,20 +32,22 @@ use frame_system::{ // Polkadot imports use cumulus_primitives_core::ParaId; +use pallet_xcm::XcmPassthrough; use polkadot_parachain::primitives::Sibling; -use xcm::v0::{Junction, MultiAsset, MultiLocation, NetworkId}; +use xcm::v0::{BodyId, Junction, MultiAsset, MultiLocation, NetworkId, Xcm}; +use xcm::v0::{Junction::*, MultiLocation::*}; use xcm_builder::{ AccountId32Aliases, AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, EnsureXcmOrigin, - FixedRateOfConcreteFungible, FixedWeightBounds, LocationInverter, NativeAsset, ParentIsDefault, - RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, - SignedAccountId32AsNative, SovereignSignedViaLocation, TakeWeightCredit, + FixedWeightBounds, LocationInverter, NativeAsset, ParentIsDefault, RelayChainAsNative, + SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative, + SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, UsingComponents, }; use xcm_executor::{traits::Convert, Config, XcmExecutor}; // A few exports that help ease life for downstream crates. use codec::Decode; pub use frame_support::{ - construct_runtime, ord_parameter_types, parameter_types, + construct_runtime, match_type, ord_parameter_types, parameter_types, traits::{All, IsInVec, Randomness}, weights::{ constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, WEIGHT_PER_SECOND}, @@ -57,6 +59,7 @@ use pallet_asset_index::{MultiAssetAdapter, MultiAssetRegistry}; pub use pallet_balances::Call as BalancesCall; use pallet_committee::EnsureMember; pub use pallet_timestamp::Call as TimestampCall; +pub use sp_consensus_aura::sr25519::AuthorityId as AuraId; #[cfg(any(feature = "std", test))] pub use sp_runtime::BuildStorage; pub use sp_runtime::{Perbill, Permill, Perquintill}; @@ -120,13 +123,15 @@ pub mod opaque { pub type SessionHandlers = (); impl_opaque_keys! { - pub struct SessionKeys {} + pub struct SessionKeys { + pub aura: Aura, + } } } pub const VERSION: RuntimeVersion = RuntimeVersion { - spec_name: create_runtime_str!("cumulus-test-parachain"), - impl_name: create_runtime_str!("cumulus-test-parachain"), + spec_name: create_runtime_str!("pint-parachain"), + impl_name: create_runtime_str!("pint-parachain"), authoring_version: 1, spec_version: 1, impl_version: 1, @@ -134,7 +139,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { transaction_version: 1, }; -/// This determines the average expected block time that we are targetting. +/// This determines the average expected block time that we are targeting. /// Blocks will be produced at a minimum duration defined by `SLOT_DURATION`. /// `SLOT_DURATION` is picked up by `pallet_timestamp` which is in turn picked /// up by `pallet_aura` to implement `fn slot_duration()`. @@ -149,15 +154,14 @@ pub const MINUTES: BlockNumber = 60_000 / (MILLISECS_PER_BLOCK as BlockNumber); pub const HOURS: BlockNumber = MINUTES * 60; pub const DAYS: BlockNumber = HOURS * 24; +// Unit = the base number of indivisible units for balances +pub const UNIT: Balance = 1_000_000_000_000; +pub const MILLIUNIT: Balance = 1_000_000_000; +pub const MICROUNIT: Balance = 1_000_000; + // 1 in 4 blocks (on average, not counting collisions) will be primary babe blocks. pub const PRIMARY_PROBABILITY: (u64, u64) = (1, 4); -#[derive(codec::Encode, codec::Decode)] -pub enum XCMPMessage { - /// Transfer tokens to the given account from the Parachain account. - TransferToken(XAccountId, XBalance), -} - /// The version information used to identify this runtime when compiled natively. #[cfg(feature = "std")] pub fn native_version() -> NativeVersion { @@ -303,31 +307,31 @@ impl pallet_sudo::Config for Runtime { parameter_types! { pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT / 4; + pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT / 4; } impl cumulus_pallet_parachain_system::Config for Runtime { type Event = Event; type OnValidationData = (); type SelfParaId = parachain_info::Pallet; - type DownwardMessageHandlers = cumulus_primitives_utility::UnqueuedDmpAsParent< - MaxDownwardMessageWeight, - XcmExecutor, - Call, - >; type OutboundXcmpMessageSource = XcmpQueue; + type DmpMessageHandler = DmpQueue; + type ReservedDmpWeight = ReservedDmpWeight; type XcmpMessageHandler = XcmpQueue; type ReservedXcmpWeight = ReservedXcmpWeight; } impl parachain_info::Config for Runtime {} +impl cumulus_pallet_aura_ext::Config for Runtime {} + parameter_types! { - pub const RococoLocation: MultiLocation = MultiLocation::X1(Junction::Parent); - pub const RococoNetwork: NetworkId = NetworkId::Polkadot; + pub const RelayLocation: MultiLocation = MultiLocation::X1(Junction::Parent); + pub const RelayNetwork: NetworkId = NetworkId::Polkadot; pub RelayChainOrigin: Origin = cumulus_pallet_xcm::Origin::Relay.into(); - pub Ancestry: MultiLocation = Junction::Parachain { - id: ParachainInfo::parachain_id().into() - }.into(); + pub Ancestry: MultiLocation = Junction::Parachain( + ParachainInfo::parachain_id().into() + ).into(); } /// Type for specifying how a `MultiLocation` can be converted into an `AccountId`. This is used @@ -339,7 +343,7 @@ pub type LocationToAccountId = ( // Sibling parachain origins convert to AccountId via the `ParaId::into`. SiblingParachainConvertsVia, // Straight up local `AccountId32` origins just alias directly to `AccountId`. - AccountId32Aliases, + AccountId32Aliases, ); /// Means for transacting assets on this chain. @@ -378,24 +382,29 @@ pub type XcmOriginToTransactDispatchOrigin = ( SiblingParachainAsNative, // Native signed account converter; this just converts an `AccountId32` origin into a normal // `Origin::Signed` origin of the same 32-byte value. - SignedAccountId32AsNative, + SignedAccountId32AsNative, + // Xcm origins can be represented natively under the Xcm pallet's Xcm origin. + XcmPassthrough, ); parameter_types! { - pub UnitWeightCost: Weight = 1_000; + // One XCM operation is 1_000_000 weight - almost certainly a conservative estimate. + pub UnitWeightCost: Weight = 1_000_000; + // One UNIT buys 1 second of weight. + pub const WeightPrice: (MultiLocation, u128) = (X1(Parent), UNIT); } -parameter_types! { - // 1_000_000_000_000 => 1 unit of asset for 1 unit of Weight. - // TODO: Should take the actual weight price. This is just 1_000 ROC per second of weight. - pub const WeightPrice: (MultiLocation, u128) = (MultiLocation::X1(Junction::Parent), 1_000); - pub AllowUnpaidFrom: Vec = vec![ MultiLocation::X1(Junction::Parent) ]; +match_type! { + pub type ParentOrParentsUnitPlurality: impl Contains = { + X1(Parent) | X2(Parent, Plurality { id: BodyId::Unit, .. }) + }; } pub type Barrier = ( TakeWeightCredit, AllowTopLevelPaidExecutionFrom>, - AllowUnpaidExecutionFrom>, // <- Parent gets free execution + AllowUnpaidExecutionFrom, + // ^^^ Parent & its unit plurality gets free execution ); pub struct XcmConfig; @@ -410,16 +419,11 @@ impl Config for XcmConfig { type LocationInverter = LocationInverter; type Barrier = Barrier; type Weigher = FixedWeightBounds; - type Trader = FixedRateOfConcreteFungible; + type Trader = UsingComponents, RelayLocation, AccountId, Balances, ()>; type ResponseHandler = (); // Don't handle responses for now. } -parameter_types! { - pub const MaxDownwardMessageWeight: Weight = MAXIMUM_BLOCK_WEIGHT / 10; -} - -/// No local origins on this chain are allowed to dispatch XCM sends/executions. -pub type LocalOriginToLocation = (); +pub type LocalOriginToLocation = (SignedToAccountId32,); /// The means for routing XCM messages which are not for local execution into the right message /// queues. @@ -435,10 +439,17 @@ impl pallet_xcm::Config for Runtime { type SendXcmOrigin = EnsureXcmOrigin; type XcmRouter = XcmRouter; type ExecuteXcmOrigin = EnsureXcmOrigin; + type XcmExecuteFilter = All<(MultiLocation, Xcm)>; type XcmExecutor = XcmExecutor; + type XcmTeleportFilter = All<(MultiLocation, Vec)>; + type XcmReserveTransferFilter = (); + type Weigher = FixedWeightBounds; } -impl cumulus_pallet_xcm::Config for Runtime {} +impl cumulus_pallet_xcm::Config for Runtime { + type Event = Event; + type XcmExecutor = XcmExecutor; +} impl cumulus_pallet_xcmp_queue::Config for Runtime { type Event = Event; @@ -446,6 +457,16 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime { type ChannelInfo = ParachainSystem; } +impl cumulus_pallet_dmp_queue::Config for Runtime { + type Event = Event; + type XcmExecutor = XcmExecutor; + type ExecuteOverweightOrigin = frame_system::EnsureRoot; +} + +impl pallet_aura::Config for Runtime { + type AuthorityId = AuraId; +} + parameter_types! { pub const TreasuryPalletId: PalletId = PalletId(*b"12345678"); } @@ -525,8 +546,6 @@ parameter_types! { pub const OracleLimit: u32 = 10; // Maximum number of feeds pub const FeedLimit: u16 = 10; - // Free for valid submission - pub const PaysFeeConf: pallet_chainlink_feed::SubmitterPaysFee = pallet_chainlink_feed::SubmitterPaysFee::FreeForValidSubmission; } impl pallet_chainlink_feed::Config for Runtime { @@ -540,8 +559,7 @@ impl pallet_chainlink_feed::Config for Runtime { type OracleCountLimit = OracleLimit; type FeedLimit = FeedLimit; type OnAnswerHandler = (); - type SubmitterPaysFee = PaysFeeConf; - type WeightInfo = pallet_chainlink_feed::default_weights::WeightInfo; + type WeightInfo = weights::pallet_chainlink_feed::WeightInfo; } parameter_types! { @@ -573,7 +591,7 @@ impl pallet_asset_index::Config for Runtime { parameter_types! { pub const RelayChainAssetId: AssetId = 0; pub const PINTAssetId: AssetId = 1; - pub SelfLocation: MultiLocation = MultiLocation::X2(Junction::Parent, Junction::Parachain { id: ParachainInfo::parachain_id().into() }); + pub SelfLocation: MultiLocation = MultiLocation::X2(Junction::Parent, Junction::Parachain(ParachainInfo::parachain_id().into())); } pub struct AssetIdConvert; @@ -588,7 +606,7 @@ impl Convert for AssetIdConvert { MultiLocation::X1(Junction::Parent) => return Ok(RelayChainAssetId::get()), MultiLocation::X3( Junction::Parent, - Junction::Parachain { id }, + Junction::Parachain(id), Junction::GeneralKey(key), ) if ParaId::from(*id) == ParachainInfo::parachain_id().into() => { // decode the general key @@ -700,11 +718,18 @@ construct_runtime!( RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Pallet, Call, Storage}, Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent}, Balances: pallet_balances::{Pallet, Call, Storage, Config, Event}, - ParachainSystem: cumulus_pallet_parachain_system::{Pallet, Call, Storage, Inherent, Event}, TransactionPayment: pallet_transaction_payment::{Pallet, Storage}, - ParachainInfo: parachain_info::{Pallet, Storage, Config}, Sudo: pallet_sudo::{Pallet, Call, Config, Storage, Event}, + // Parachain + ParachainSystem: cumulus_pallet_parachain_system::{Pallet, Call, Storage, Inherent, Config, Event}, + ParachainInfo: parachain_info::{Pallet, Storage, Config}, + + // Collator. The order of the 4 below are important and shall not change. + // TODO authorship, collatorselection + Aura: pallet_aura::{Pallet, Config}, + AuraExt: cumulus_pallet_aura_ext::{Pallet, Config}, + // PINT pallets AssetIndex: pallet_asset_index::{Pallet, Call, Storage, Event}, AssetDepository: pallet_asset_depository::{Pallet, Call, Storage, Event}, @@ -717,8 +742,9 @@ construct_runtime!( // XCM helpers XcmpQueue: cumulus_pallet_xcmp_queue::{Pallet, Call, Storage, Event}, + DmpQueue: cumulus_pallet_dmp_queue::{Pallet, Call, Storage, Event}, PolkadotXcm: pallet_xcm::{Pallet, Call, Event, Origin}, - CumulusXcm: cumulus_pallet_xcm::{Pallet, Origin}, + CumulusXcm: cumulus_pallet_xcm::{Pallet, Event, Origin} } ); @@ -795,10 +821,6 @@ impl_runtime_apis! { ) -> sp_inherents::CheckInherentsResult { data.check_extrinsics(&block) } - - fn random_seed() -> ::Hash { - RandomnessCollectiveFlip::random_seed().0 - } } impl sp_transaction_pool::runtime_api::TaggedTransactionQueue for Runtime { @@ -828,6 +850,22 @@ impl_runtime_apis! { } } + impl sp_consensus_aura::AuraApi for Runtime { + fn slot_duration() -> sp_consensus_aura::SlotDuration { + sp_consensus_aura::SlotDuration::from_millis(Aura::slot_duration()) + } + + fn authorities() -> Vec { + Aura::authorities() + } + } + + impl cumulus_primitives_core::CollectCollationInfo for Runtime { + fn collect_collation_info() -> cumulus_primitives_core::CollationInfo { + ParachainSystem::collect_collation_info() + } + } + impl frame_system_rpc_runtime_api::AccountNonceApi for Runtime { fn account_nonce(account: AccountId) -> Index { System::account_nonce(account) diff --git a/runtime/src/weights/mod.rs b/runtime/src/weights/mod.rs index 198da963a5..fe200bdfc7 100644 --- a/runtime/src/weights/mod.rs +++ b/runtime/src/weights/mod.rs @@ -1,6 +1,7 @@ // Copyright 2021 ChainSafe Systems // SPDX-License-Identifier: LGPL-3.0-only pub mod pallet_asset_index; +pub mod pallet_chainlink_feed; pub mod pallet_committee; pub mod pallet_local_treasury; pub mod pallet_price_feed; diff --git a/runtime/src/weights/pallet_chainlink_feed.rs b/runtime/src/weights/pallet_chainlink_feed.rs new file mode 100644 index 0000000000..a3d6be3eb2 --- /dev/null +++ b/runtime/src/weights/pallet_chainlink_feed.rs @@ -0,0 +1,154 @@ +// Copyright 2021 ChainSafe Systems +// SPDX-License-Identifier: LGPL-3.0-only + +//! Autogenerated weights for pallet_chainlink_feed +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 +//! DATE: 2021-05-20, STEPS: `[20, ]`, REPEAT: 10, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 128 + +// Executed Command: +// ./target/release/pint +// benchmark +// --execution +// wasm +// --wasm-execution +// compiled +// --pallet +// pallet_chainlink_feed +// -e +// * +// -s +// 20 +// -r +// 10 +// --raw +// --output +// ./runtime/src/weights + +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for pallet_chainlink_feed. +pub struct WeightInfo(PhantomData); +impl pallet_chainlink_feed::WeightInfo for WeightInfo { + fn create_feed(o: u32) -> Weight { + (38_850_000 as Weight) + // Standard Error: 66_000 + .saturating_add((15_164_000 as Weight).saturating_mul(o as Weight)) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(o as Weight))) + .saturating_add(T::DbWeight::get().writes(3 as Weight)) + .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(o as Weight))) + } + fn transfer_ownership() -> Weight { + (21_000_000 as Weight) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) + } + fn accept_ownership() -> Weight { + (20_000_000 as Weight) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) + } + fn set_pruning_window(o: u32) -> Weight { + (1_727_000 as Weight) + // Standard Error: 14_000 + .saturating_add((3_253_000 as Weight).saturating_mul(o as Weight)) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) + .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(o as Weight))) + } + fn submit_opening_round_answers() -> Weight { + (90_000_000 as Weight) + .saturating_add(T::DbWeight::get().reads(6 as Weight)) + .saturating_add(T::DbWeight::get().writes(6 as Weight)) + } + fn submit_closing_answer(o: u32) -> Weight { + (72_296_000 as Weight) + // Standard Error: 18_000 + .saturating_add((211_000 as Weight).saturating_mul(o as Weight)) + .saturating_add(T::DbWeight::get().reads(7 as Weight)) + .saturating_add(T::DbWeight::get().writes(6 as Weight)) + } + fn change_oracles(d: u32, n: u32) -> Weight { + (0 as Weight) + // Standard Error: 81_000 + .saturating_add((14_745_000 as Weight).saturating_mul(d as Weight)) + // Standard Error: 81_000 + .saturating_add((17_320_000 as Weight).saturating_mul(n as Weight)) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) + .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(d as Weight))) + .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(n as Weight))) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) + .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(d as Weight))) + .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(n as Weight))) + } + fn update_future_rounds() -> Weight { + (22_000_000 as Weight) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) + } + fn set_requester() -> Weight { + (25_000_000 as Weight) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) + } + fn remove_requester() -> Weight { + (23_000_000 as Weight) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) + } + fn request_new_round() -> Weight { + (48_000_000 as Weight) + .saturating_add(T::DbWeight::get().reads(4 as Weight)) + .saturating_add(T::DbWeight::get().writes(4 as Weight)) + } + fn withdraw_payment() -> Weight { + (53_000_000 as Weight) + .saturating_add(T::DbWeight::get().reads(3 as Weight)) + .saturating_add(T::DbWeight::get().writes(3 as Weight)) + } + fn transfer_admin() -> Weight { + (19_000_000 as Weight) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) + } + fn accept_admin() -> Weight { + (19_000_000 as Weight) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) + } + fn withdraw_funds() -> Weight { + (50_000_000 as Weight) + .saturating_add(T::DbWeight::get().reads(3 as Weight)) + .saturating_add(T::DbWeight::get().writes(2 as Weight)) + } + fn reduce_debt() -> Weight { + (31_000_000 as Weight) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().writes(2 as Weight)) + } + fn transfer_pallet_admin() -> Weight { + (17_000_000 as Weight) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) + } + fn accept_pallet_admin() -> Weight { + (18_000_000 as Weight) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) + .saturating_add(T::DbWeight::get().writes(2 as Weight)) + } + fn set_feed_creator() -> Weight { + (17_000_000 as Weight) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) + } + fn remove_feed_creator() -> Weight { + (17_000_000 as Weight) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) + } +}