diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2150660bf..a55960c3d 100755 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,16 +18,16 @@ jobs: - name: Add wasm toolchain uses: actions-rs/toolchain@v1 with: - toolchain: nightly-2021-06-21 + toolchain: nightly-2021-09-29 target: wasm32-unknown-unknown override: true - name: Initialize environment and build run: | rustup update stable - rustup toolchain install nightly-2021-06-21 - rustup default nightly-2021-06-21 - rustup target add wasm32-unknown-unknown --toolchain nightly-2021-06-21 + rustup toolchain install nightly-2021-09-29 + rustup default nightly-2021-09-29 + rustup target add wasm32-unknown-unknown --toolchain nightly-2021-09-29 cargo build --release - name: Upload artifact diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cb9977b7d..36bacbb58 100755 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,12 +26,12 @@ jobs: - name: Initialize WASM build environment run: | rustup update stable - rustup toolchain install nightly-2021-06-21 - rustup default nightly-2021-06-21 - rustup target add wasm32-unknown-unknown --toolchain nightly-2021-06-21 + rustup toolchain install nightly-2021-11-07 + rustup default nightly-2021-11-07 + rustup target add wasm32-unknown-unknown --toolchain nightly-2021-11-07 - name: Run cargo check - run: cargo +nightly-2021-06-21 check + run: cargo +nightly-2021-11-07 check test: name: Test Suite @@ -56,14 +56,14 @@ jobs: - name: Initialize WASM build environment run: | rustup update stable - rustup toolchain install nightly-2021-06-21 - rustup default nightly-2021-06-21 - rustup target add wasm32-unknown-unknown --toolchain nightly-2021-06-21 + rustup toolchain install nightly-2021-11-07 + rustup default nightly-2021-11-07 + rustup target add wasm32-unknown-unknown --toolchain nightly-2021-11-07 # Runs integration tests in the runtime/tests folder - name: Run All Tests run: | - cargo +nightly-2021-06-21 test + cargo +nightly-2021-11-07 test lints: name: Lints @@ -88,19 +88,19 @@ jobs: override: true components: rustfmt, clippy - # nightly-2021-06-21-x86_64-unknown-linux-gnu + # nightly-2021-11-07-x86_64-unknown-linux-gnu - name: Initialize WASM build environment run: | rustup update stable - rustup toolchain install nightly-2021-06-21 - rustup default nightly-2021-06-21 - rustup target add wasm32-unknown-unknown --toolchain nightly-2021-06-21 + rustup toolchain install nightly-2021-11-07 + rustup default nightly-2021-11-07 + rustup target add wasm32-unknown-unknown --toolchain nightly-2021-11-07 # Ignore use of Rust Linting since rearranging makes it challenging to update to latest Substrate # - name: Run cargo fmt # run: | - # rustup component add rustfmt --toolchain nightly-2021-06-21-x86_64-unknown-linux-gnu - # cargo +nightly-2021-06-21 fmt --all -- --check + # rustup component add rustfmt --toolchain nightly-2021-11-07-x86_64-unknown-linux-gnu + # cargo +nightly-2021-11-07 fmt --all -- --check # Ignore use of Clippy until a clippy.toml file may be used. See README.md # - name: Run cargo clippy @@ -110,6 +110,6 @@ jobs: # # args: --release -- -D warnings # # FIXME - temporary fix below. See https://github.com/rust-lang/rust-clippy/issues/5094#issuecomment-579116431 # run: | - # rustup component add clippy --toolchain nightly-2021-06-21-x86_64-unknown-linux-gnu - # rustup component add clippy-preview --toolchain nightly-2021-06-21-x86_64-unknown-linux-gnu - # cargo +nightly-2021-06-21 clippy-preview -Zunstable-options + # rustup component add clippy --toolchain nightly-2021-11-07-x86_64-unknown-linux-gnu + # rustup component add clippy-preview --toolchain nightly-2021-11-07-x86_64-unknown-linux-gnu + # cargo +nightly-2021-11-07 clippy-preview -Zunstable-options diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 000000000..51412ca12 --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,11603 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "Inflector" +version = "0.11.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3" +dependencies = [ + "lazy_static", + "regex", +] + +[[package]] +name = "account-set" +version = "2.0.0" +dependencies = [ + "sp-std", +] + +[[package]] +name = "addr2line" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e61f2b7f93d2c7d2b08263acaa4a363b3e276806c68af6134c44f523bf1aacd" +dependencies = [ + "gimli 0.25.0", +] + +[[package]] +name = "addr2line" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9ecd88a8c8378ca913a680cd98f0f13ac67383d35993f86c90a70e3f137816b" +dependencies = [ + "gimli 0.26.1", +] + +[[package]] +name = "adler" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" + +[[package]] +name = "aead" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b613b8e1e3cf911a086f53f03bf286f52fd7a7258e4fa606f0ef220d39d8877" +dependencies = [ + "generic-array 0.14.5", +] + +[[package]] +name = "aes" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e8b47f52ea9bae42228d07ec09eb676433d7c4ed1ebdf0f1d1c29ed446f1ab8" +dependencies = [ + "cfg-if 1.0.0", + "cipher", + "cpufeatures 0.2.1", + "opaque-debug 0.3.0", +] + +[[package]] +name = "aes-gcm" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df5f85a83a7d8b0442b6aa7b504b8212c1733da07b98aae43d4bc21b2cb3cdf6" +dependencies = [ + "aead", + "aes", + "cipher", + "ctr", + "ghash", + "subtle", +] + +[[package]] +name = "ahash" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" +dependencies = [ + "getrandom 0.2.4", + "once_cell", + "version_check", +] + +[[package]] +name = "aho-corasick" +version = "0.7.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f" +dependencies = [ + "memchr", +] + +[[package]] +name = "always-assert" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fbf688625d06217d5b1bb0ea9d9c44a1635fd0ee3534466388d18203174f4d11" + +[[package]] +name = "ansi_term" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" +dependencies = [ + "winapi 0.3.9", +] + +[[package]] +name = "anyhow" +version = "1.0.52" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "84450d0b4a8bd1ba4144ce8ce718fbc5d071358b1e5384bace6536b3d1f2d5b3" + +[[package]] +name = "approx" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "072df7202e63b127ab55acfe16ce97013d5b97bf160489336d3f1840fd78e99e" +dependencies = [ + "num-traits", +] + +[[package]] +name = "arrayref" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544" + +[[package]] +name = "arrayvec" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd9fd44efafa8690358b7408d253adf110036b88f55672a933f01d616ad9b1b9" +dependencies = [ + "nodrop", +] + +[[package]] +name = "arrayvec" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" + +[[package]] +name = "arrayvec" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6" + +[[package]] +name = "asn1_der" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e22d1f4b888c298a027c99dc9048015fac177587de20fc30232a057dfbe24a21" + +[[package]] +name = "assert_matches" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" + +[[package]] +name = "async-attributes" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3203e79f4dd9bdda415ed03cf14dae5a2bf775c683a00f94e9cd1faf0f596e5" +dependencies = [ + "quote", + "syn", +] + +[[package]] +name = "async-channel" +version = "1.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2114d64672151c0c5eaa5e131ec84a74f06e1e559830dabba01ca30605d66319" +dependencies = [ + "concurrent-queue", + "event-listener", + "futures-core", +] + +[[package]] +name = "async-executor" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "871f9bb5e0a22eeb7e8cf16641feb87c9dc67032ccf8ff49e772eb9941d3a965" +dependencies = [ + "async-task", + "concurrent-queue", + "fastrand", + "futures-lite", + "once_cell", + "slab", +] + +[[package]] +name = "async-global-executor" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9586ec52317f36de58453159d48351bc244bc24ced3effc1fce22f3d48664af6" +dependencies = [ + "async-channel", + "async-executor", + "async-io", + "async-mutex", + "blocking", + "futures-lite", + "num_cpus", + "once_cell", +] + +[[package]] +name = "async-io" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a811e6a479f2439f0c04038796b5cfb3d2ad56c230e0f2d3f7b04d68cfee607b" +dependencies = [ + "concurrent-queue", + "futures-lite", + "libc", + "log", + "once_cell", + "parking", + "polling", + "slab", + "socket2 0.4.2", + "waker-fn", + "winapi 0.3.9", +] + +[[package]] +name = "async-lock" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6a8ea61bf9947a1007c5cada31e647dbc77b103c679858150003ba697ea798b" +dependencies = [ + "event-listener", +] + +[[package]] +name = "async-mutex" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "479db852db25d9dbf6204e6cb6253698f175c15726470f78af0d918e99d6156e" +dependencies = [ + "event-listener", +] + +[[package]] +name = "async-process" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83137067e3a2a6a06d67168e49e68a0957d215410473a740cea95a2425c0b7c6" +dependencies = [ + "async-io", + "blocking", + "cfg-if 1.0.0", + "event-listener", + "futures-lite", + "libc", + "once_cell", + "signal-hook", + "winapi 0.3.9", +] + +[[package]] +name = "async-std" +version = "1.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8056f1455169ab86dd47b47391e4ab0cbd25410a70e9fe675544f49bafaf952" +dependencies = [ + "async-attributes", + "async-channel", + "async-global-executor", + "async-io", + "async-lock", + "async-process", + "crossbeam-utils", + "futures-channel", + "futures-core", + "futures-io", + "futures-lite", + "gloo-timers", + "kv-log-macro", + "log", + "memchr", + "num_cpus", + "once_cell", + "pin-project-lite 0.2.8", + "pin-utils", + "slab", + "wasm-bindgen-futures", +] + +[[package]] +name = "async-std-resolver" +version = "0.20.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed4e2c3da14d8ad45acb1e3191db7a918e9505b6f155b218e70a7c9a1a48c638" +dependencies = [ + "async-std", + "async-trait", + "futures-io", + "futures-util", + "pin-utils", + "trust-dns-resolver", +] + +[[package]] +name = "async-task" +version = "4.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e91831deabf0d6d7ec49552e489aed63b7456a7a3c46cff62adad428110b0af0" + +[[package]] +name = "async-trait" +version = "0.1.52" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "061a7acccaa286c011ddc30970520b98fa40e00c9d644633fb26b5fc63a265e3" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "asynchronous-codec" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb4401f0a3622dad2e0763fa79e0eb328bc70fb7dccfdd645341f00d671247d6" +dependencies = [ + "bytes 1.1.0", + "futures-sink", + "futures-util", + "memchr", + "pin-project-lite 0.2.8", +] + +[[package]] +name = "asynchronous-codec" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0de5164e5edbf51c45fb8c2d9664ae1c095cce1b265ecf7569093c0d66ef690" +dependencies = [ + "bytes 1.1.0", + "futures-sink", + "futures-util", + "memchr", + "pin-project-lite 0.2.8", +] + +[[package]] +name = "atomic" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b88d82667eca772c4aa12f0f1348b3ae643424c8876448f3f7bd5787032e234c" +dependencies = [ + "autocfg", +] + +[[package]] +name = "atomic-waker" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "065374052e7df7ee4047b1160cca5e1467a12351a40b3da123c870ba0b8eda2a" + +[[package]] +name = "atty" +version = "0.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" +dependencies = [ + "hermit-abi", + "libc", + "winapi 0.3.9", +] + +[[package]] +name = "autocfg" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" + +[[package]] +name = "backtrace" +version = "0.3.63" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "321629d8ba6513061f26707241fa9bc89524ff1cd7a915a97ef0c62c666ce1b6" +dependencies = [ + "addr2line 0.17.0", + "cc", + "cfg-if 1.0.0", + "libc", + "miniz_oxide", + "object", + "rustc-demangle", +] + +[[package]] +name = "base-x" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4521f3e3d031370679b3b140beb36dfe4801b09ac77e30c61941f97df3ef28b" + +[[package]] +name = "base58" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6107fe1be6682a68940da878d9e9f5e90ca5745b3dec9fd1bb393c8777d4f581" + +[[package]] +name = "base64" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd" + +[[package]] +name = "beef" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bed554bd50246729a1ec158d08aa3235d1b69d94ad120ebe187e28894787e736" +dependencies = [ + "serde", +] + +[[package]] +name = "beefy-gadget" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "beefy-primitives", + "fnv", + "futures 0.3.19", + "log", + "parity-scale-codec", + "parking_lot 0.11.2", + "sc-client-api", + "sc-keystore", + "sc-network", + "sc-network-gossip", + "sc-utils", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", + "sp-blockchain", + "sp-core", + "sp-keystore", + "sp-runtime", + "substrate-prometheus-endpoint", + "thiserror", + "wasm-timer", +] + +[[package]] +name = "beefy-gadget-rpc" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "beefy-gadget", + "beefy-primitives", + "futures 0.3.19", + "jsonrpc-core", + "jsonrpc-core-client", + "jsonrpc-derive", + "jsonrpc-pubsub", + "log", + "parity-scale-codec", + "sc-rpc", + "serde", + "sp-core", + "sp-runtime", +] + +[[package]] +name = "beefy-merkle-tree" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" + +[[package]] +name = "beefy-primitives" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "bimap" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50ae17cabbc8a38a1e3e4c1a6a664e9a09672dc14d0896fa8d865d3a5a446b07" + +[[package]] +name = "bincode" +version = "1.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" +dependencies = [ + "serde", +] + +[[package]] +name = "bindgen" +version = "0.59.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2bd2a9a458e8f4304c52c43ebb0cfbd520289f8379a52e329a38afda99bf8eb8" +dependencies = [ + "bitflags", + "cexpr", + "clang-sys", + "lazy_static", + "lazycell", + "peeking_take_while", + "proc-macro2", + "quote", + "regex", + "rustc-hash", + "shlex", +] + +[[package]] +name = "bitflags" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" + +[[package]] +name = "bitmask" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5da9b3d9f6f585199287a473f4f8dfab6566cf827d15c00c219f53c645687ead" + +[[package]] +name = "bitvec" +version = "0.20.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7774144344a4faa177370406a7ff5f1da24303817368584c6206c8303eb07848" +dependencies = [ + "funty", + "radium", + "tap", + "wyz", +] + +[[package]] +name = "blake2" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0a4e37d16930f5459780f5621038b6382b9bb37c19016f39fb6b5808d831f174" +dependencies = [ + "crypto-mac 0.8.0", + "digest 0.9.0", + "opaque-debug 0.3.0", +] + +[[package]] +name = "blake2-rfc" +version = "0.2.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d6d530bdd2d52966a6d03b7a964add7ae1a288d25214066fd4b600f0f796400" +dependencies = [ + "arrayvec 0.4.12", + "constant_time_eq", +] + +[[package]] +name = "blake2b_simd" +version = "0.5.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "afa748e348ad3be8263be728124b24a24f268266f6f5d58af9d75f6a40b5c587" +dependencies = [ + "arrayref", + "arrayvec 0.5.2", + "constant_time_eq", +] + +[[package]] +name = "blake2s_simd" +version = "0.5.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e461a7034e85b211a4acb57ee2e6730b32912b06c08cc242243c39fc21ae6a2" +dependencies = [ + "arrayref", + "arrayvec 0.5.2", + "constant_time_eq", +] + +[[package]] +name = "blake3" +version = "0.3.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b64485778c4f16a6a5a9d335e80d449ac6c70cdd6a06d2af18a6f6f775a125b3" +dependencies = [ + "arrayref", + "arrayvec 0.5.2", + "cc", + "cfg-if 0.1.10", + "constant_time_eq", + "crypto-mac 0.8.0", + "digest 0.9.0", +] + +[[package]] +name = "block-buffer" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b" +dependencies = [ + "block-padding 0.1.5", + "byte-tools", + "byteorder", + "generic-array 0.12.4", +] + +[[package]] +name = "block-buffer" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" +dependencies = [ + "block-padding 0.2.1", + "generic-array 0.14.5", +] + +[[package]] +name = "block-padding" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa79dedbb091f449f1f39e53edf88d5dbe95f895dae6135a8d7b881fb5af73f5" +dependencies = [ + "byte-tools", +] + +[[package]] +name = "block-padding" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae" + +[[package]] +name = "blocking" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "046e47d4b2d391b1f6f8b407b1deb8dee56c1852ccd868becf2710f601b5f427" +dependencies = [ + "async-channel", + "async-task", + "atomic-waker", + "fastrand", + "futures-lite", + "once_cell", +] + +[[package]] +name = "bounded-vec" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "afdd1dffefe5fc66262a524b91087c43b16e478b2e3dc49eb11b0e2fd6b6ec90" +dependencies = [ + "thiserror", +] + +[[package]] +name = "bs58" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" + +[[package]] +name = "bstr" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba3569f383e8f1598449f1a423e72e99569137b47740b1da11ef19af3d5c3223" +dependencies = [ + "memchr", +] + +[[package]] +name = "build-helper" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bdce191bf3fa4995ce948c8c83b4640a1745457a149e73c6db75b4ffe36aad5f" +dependencies = [ + "semver 0.6.0", +] + +[[package]] +name = "bumpalo" +version = "3.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4a45a46ab1f2412e53d3a0ade76ffad2025804294569aae387231a0cd6e0899" + +[[package]] +name = "byte-slice-cast" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d30c751592b77c499e7bce34d99d67c2c11bdc0574e9a488ddade14150a4698" + +[[package]] +name = "byte-tools" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" + +[[package]] +name = "byteorder" +version = "1.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" + +[[package]] +name = "bytes" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "206fdffcfa2df7cbe15601ef46c813fce0965eb3286db6b56c583b814b51c81c" +dependencies = [ + "byteorder", + "iovec", +] + +[[package]] +name = "bytes" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4872d67bab6358e59559027aa3b9157c53d9358c51423c17554809a8858e0f8" + +[[package]] +name = "cache-padded" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c1db59621ec70f09c5e9b597b220c7a2b43611f4710dc03ceb8748637775692c" + +[[package]] +name = "camino" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f3132262930b0522068049f5870a856ab8affc80c70d08b6ecb785771a6fc23" +dependencies = [ + "serde", +] + +[[package]] +name = "cargo-platform" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cbdb825da8a5df079a43676dbe042702f1707b1109f713a01420fbb4cc71fa27" +dependencies = [ + "serde", +] + +[[package]] +name = "cargo_metadata" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba2ae6de944143141f6155a473a6b02f66c7c3f9f47316f802f80204ebfe6e12" +dependencies = [ + "camino", + "cargo-platform", + "semver 1.0.4", + "serde", + "serde_json", +] + +[[package]] +name = "cc" +version = "1.0.72" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22a9137b95ea06864e018375b72adfb7db6e6f68cfc8df5a04d00288050485ee" +dependencies = [ + "jobserver", +] + +[[package]] +name = "cexpr" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766" +dependencies = [ + "nom", +] + +[[package]] +name = "cfg-if" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" + +[[package]] +name = "cfg-if" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" + +[[package]] +name = "cfg_aliases" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e" + +[[package]] +name = "chacha20" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fee7ad89dc1128635074c268ee661f90c3f7e83d9fd12910608c36b47d6c3412" +dependencies = [ + "cfg-if 1.0.0", + "cipher", + "cpufeatures 0.1.5", + "zeroize", +] + +[[package]] +name = "chacha20poly1305" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1580317203210c517b6d44794abfbe600698276db18127e37ad3e69bf5e848e5" +dependencies = [ + "aead", + "chacha20", + "cipher", + "poly1305", + "zeroize", +] + +[[package]] +name = "chrono" +version = "0.4.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73" +dependencies = [ + "libc", + "num-integer", + "num-traits", + "time", + "winapi 0.3.9", +] + +[[package]] +name = "cid" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff0e3bc0b6446b3f9663c1a6aba6ef06c5aeaa1bc92bd18077be337198ab9768" +dependencies = [ + "multibase", + "multihash 0.13.2", + "unsigned-varint 0.5.1", +] + +[[package]] +name = "cipher" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ee52072ec15386f770805afd189a01c8841be8696bed250fa2f13c4c0d6dfb7" +dependencies = [ + "generic-array 0.14.5", +] + +[[package]] +name = "ckb-merkle-mountain-range" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f061f97d64fd1822664bdfb722f7ae5469a97b77567390f7442be5b5dc82a5b" +dependencies = [ + "cfg-if 0.1.10", +] + +[[package]] +name = "clang-sys" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa66045b9cb23c2e9c1520732030608b02ee07e5cfaa5a521ec15ded7fa24c90" +dependencies = [ + "glob", + "libc", + "libloading 0.7.3", +] + +[[package]] +name = "clap" +version = "2.34.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c" +dependencies = [ + "ansi_term", + "atty", + "bitflags", + "strsim", + "textwrap", + "unicode-width", + "vec_map", +] + +[[package]] +name = "cloudabi" +version = "0.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f" +dependencies = [ + "bitflags", +] + +[[package]] +name = "concurrent-queue" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30ed07550be01594c6026cff2a1d7fe9c8f683caa798e12b68694ac9e88286a3" +dependencies = [ + "cache-padded", +] + +[[package]] +name = "constant_time_eq" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" + +[[package]] +name = "convert_case" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" + +[[package]] +name = "core-foundation" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6888e10551bb93e424d8df1d07f1a8b4fceb0001a3a4b048bfc47554946f47b3" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "core-foundation-sys" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc" + +[[package]] +name = "cpp_demangle" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eeaa953eaad386a53111e47172c2fedba671e5684c8dd601a5f474f4f118710f" +dependencies = [ + "cfg-if 1.0.0", +] + +[[package]] +name = "cpufeatures" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66c99696f6c9dd7f35d486b9d04d7e6e202aa3e8c40d553f2fdf5e7e0c6a71ef" +dependencies = [ + "libc", +] + +[[package]] +name = "cpufeatures" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95059428f66df56b63431fdb4e1947ed2190586af5c5a8a8b71122bdf5a7f469" +dependencies = [ + "libc", +] + +[[package]] +name = "cranelift-bforest" +version = "0.78.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc0cb7df82c8cf8f2e6a8dd394a0932a71369c160cc9b027dca414fced242513" +dependencies = [ + "cranelift-entity", +] + +[[package]] +name = "cranelift-codegen" +version = "0.78.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe4463c15fa42eee909e61e5eac4866b7c6d22d0d8c621e57a0c5380753bfa8c" +dependencies = [ + "cranelift-bforest", + "cranelift-codegen-meta", + "cranelift-codegen-shared", + "cranelift-entity", + "gimli 0.25.0", + "log", + "regalloc", + "smallvec", + "target-lexicon", +] + +[[package]] +name = "cranelift-codegen-meta" +version = "0.78.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "793f6a94a053a55404ea16e1700202a88101672b8cd6b4df63e13cde950852bf" +dependencies = [ + "cranelift-codegen-shared", + "cranelift-entity", +] + +[[package]] +name = "cranelift-codegen-shared" +version = "0.78.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44aa1846df275bce5eb30379d65964c7afc63c05a117076e62a119c25fe174be" + +[[package]] +name = "cranelift-entity" +version = "0.78.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3a45d8d6318bf8fc518154d9298eab2a8154ec068a8885ff113f6db8d69bb3a" +dependencies = [ + "serde", +] + +[[package]] +name = "cranelift-frontend" +version = "0.78.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e07339bd461766deb7605169de039e01954768ff730fa1254e149001884a8525" +dependencies = [ + "cranelift-codegen", + "log", + "smallvec", + "target-lexicon", +] + +[[package]] +name = "cranelift-native" +version = "0.78.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03e2fca76ff57e0532936a71e3fc267eae6a19a86656716479c66e7f912e3d7b" +dependencies = [ + "cranelift-codegen", + "libc", + "target-lexicon", +] + +[[package]] +name = "cranelift-wasm" +version = "0.78.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f46fec547a1f8a32c54ea61c28be4f4ad234ad95342b718a9a9adcaadb0c778" +dependencies = [ + "cranelift-codegen", + "cranelift-entity", + "cranelift-frontend", + "itertools", + "log", + "smallvec", + "wasmparser", + "wasmtime-types", +] + +[[package]] +name = "crc32fast" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "738c290dfaea84fc1ca15ad9c168d083b05a714e1efddd8edaab678dc28d2836" +dependencies = [ + "cfg-if 1.0.0", +] + +[[package]] +name = "crossbeam-channel" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e54ea8bc3fb1ee042f5aace6e3c6e025d3874866da222930f70ce62aceba0bfa" +dependencies = [ + "cfg-if 1.0.0", + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-deque" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6455c0ca19f0d2fbf751b908d5c55c1f5cbc65e03c4225427254b46890bdde1e" +dependencies = [ + "cfg-if 1.0.0", + "crossbeam-epoch", + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-epoch" +version = "0.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97242a70df9b89a65d0b6df3c4bf5b9ce03c5b7309019777fbde37e7537f8762" +dependencies = [ + "cfg-if 1.0.0", + "crossbeam-utils", + "lazy_static", + "memoffset", + "scopeguard", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfcae03edb34f947e64acdb1c33ec169824e20657e9ecb61cef6c8c74dcb8120" +dependencies = [ + "cfg-if 1.0.0", + "lazy_static", +] + +[[package]] +name = "crunchy" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" + +[[package]] +name = "crypto-mac" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab" +dependencies = [ + "generic-array 0.14.5", + "subtle", +] + +[[package]] +name = "crypto-mac" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1d1a86f49236c215f271d40892d5fc950490551400b02ef360692c29815c714" +dependencies = [ + "generic-array 0.14.5", + "subtle", +] + +[[package]] +name = "ct-logs" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c1a816186fa68d9e426e3cb4ae4dff1fcd8e4a2c34b781bf7a822574a0d0aac8" +dependencies = [ + "sct", +] + +[[package]] +name = "ctor" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccc0a48a9b826acdf4028595adc9db92caea352f7af011a3034acd172a52a0aa" +dependencies = [ + "quote", + "syn", +] + +[[package]] +name = "ctr" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "049bb91fb4aaf0e3c7efa6cd5ef877dbbbd15b39dad06d9948de4ec8a75761ea" +dependencies = [ + "cipher", +] + +[[package]] +name = "cuckoofilter" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b810a8449931679f64cd7eef1bbd0fa315801b6d5d9cdc1ace2804d6529eee18" +dependencies = [ + "byteorder", + "fnv", + "rand 0.7.3", +] + +[[package]] +name = "cumulus-client-cli" +version = "0.1.0" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.13#05cc5f0e2acacc18796f45ffa3c7b4626fd1046d" +dependencies = [ + "sc-cli", + "sc-service", + "structopt", +] + +[[package]] +name = "cumulus-client-collator" +version = "0.1.0" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.13#05cc5f0e2acacc18796f45ffa3c7b4626fd1046d" +dependencies = [ + "cumulus-client-consensus-common", + "cumulus-client-network", + "cumulus-primitives-core", + "futures 0.3.19", + "parity-scale-codec", + "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-runtime", + "tracing", +] + +[[package]] +name = "cumulus-client-consensus-aura" +version = "0.1.0" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.13#05cc5f0e2acacc18796f45ffa3c7b4626fd1046d" +dependencies = [ + "async-trait", + "cumulus-client-consensus-common", + "cumulus-primitives-core", + "futures 0.3.19", + "parity-scale-codec", + "polkadot-client", + "sc-client-api", + "sc-consensus", + "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=polkadot-v0.9.13#05cc5f0e2acacc18796f45ffa3c7b4626fd1046d" +dependencies = [ + "async-trait", + "dyn-clone", + "futures 0.3.19", + "parity-scale-codec", + "polkadot-primitives", + "sc-client-api", + "sc-consensus", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-runtime", + "sp-trie", + "tracing", +] + +[[package]] +name = "cumulus-client-network" +version = "0.1.0" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.13#05cc5f0e2acacc18796f45ffa3c7b4626fd1046d" +dependencies = [ + "derive_more", + "futures 0.3.19", + "futures-timer 3.0.2", + "parity-scale-codec", + "parking_lot 0.10.2", + "polkadot-client", + "polkadot-node-primitives", + "polkadot-parachain", + "polkadot-primitives", + "sc-client-api", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-runtime", + "tracing", +] + +[[package]] +name = "cumulus-client-pov-recovery" +version = "0.1.0" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.13#05cc5f0e2acacc18796f45ffa3c7b4626fd1046d" +dependencies = [ + "cumulus-primitives-core", + "futures 0.3.19", + "futures-timer 3.0.2", + "parity-scale-codec", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-overseer", + "polkadot-primitives", + "rand 0.8.4", + "sc-client-api", + "sc-consensus", + "sp-api", + "sp-consensus", + "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=polkadot-v0.9.13#05cc5f0e2acacc18796f45ffa3c7b4626fd1046d" +dependencies = [ + "cumulus-client-collator", + "cumulus-client-consensus-common", + "cumulus-client-pov-recovery", + "cumulus-primitives-core", + "parity-scale-codec", + "parking_lot 0.10.2", + "polkadot-overseer", + "polkadot-primitives", + "polkadot-service", + "sc-chain-spec", + "sc-client-api", + "sc-consensus", + "sc-consensus-babe", + "sc-service", + "sc-telemetry", + "sc-tracing", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-runtime", + "tracing", +] + +[[package]] +name = "cumulus-pallet-aura-ext" +version = "0.1.0" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.13#05cc5f0e2acacc18796f45ffa3c7b4626fd1046d" +dependencies = [ + "frame-executive", + "frame-support", + "frame-system", + "pallet-aura", + "parity-scale-codec", + "scale-info", + "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.git?branch=polkadot-v0.9.13#05cc5f0e2acacc18796f45ffa3c7b4626fd1046d" +dependencies = [ + "cumulus-primitives-core", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "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=polkadot-v0.9.13#05cc5f0e2acacc18796f45ffa3c7b4626fd1046d" +dependencies = [ + "cumulus-pallet-parachain-system-proc-macro", + "cumulus-primitives-core", + "cumulus-primitives-parachain-inherent", + "environmental", + "frame-support", + "frame-system", + "log", + "pallet-balances", + "parity-scale-codec", + "polkadot-parachain", + "scale-info", + "serde", + "sp-core", + "sp-externalities", + "sp-inherents", + "sp-io", + "sp-runtime", + "sp-state-machine", + "sp-std", + "sp-trie", + "sp-version", + "xcm", +] + +[[package]] +name = "cumulus-pallet-parachain-system-proc-macro" +version = "0.1.0" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.13#05cc5f0e2acacc18796f45ffa3c7b4626fd1046d" +dependencies = [ + "proc-macro-crate 1.1.0", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "cumulus-pallet-xcm" +version = "0.1.0" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.13#05cc5f0e2acacc18796f45ffa3c7b4626fd1046d" +dependencies = [ + "cumulus-primitives-core", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "serde", + "sp-io", + "sp-runtime", + "sp-std", + "xcm", +] + +[[package]] +name = "cumulus-pallet-xcmp-queue" +version = "0.1.0" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.13#05cc5f0e2acacc18796f45ffa3c7b4626fd1046d" +dependencies = [ + "cumulus-primitives-core", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "rand_chacha 0.3.1", + "scale-info", + "sp-runtime", + "sp-std", + "xcm", + "xcm-executor", +] + +[[package]] +name = "cumulus-primitives-core" +version = "0.1.0" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.13#05cc5f0e2acacc18796f45ffa3c7b4626fd1046d" +dependencies = [ + "frame-support", + "impl-trait-for-tuples", + "parity-scale-codec", + "polkadot-core-primitives", + "polkadot-parachain", + "polkadot-primitives", + "sp-api", + "sp-runtime", + "sp-std", + "sp-trie", +] + +[[package]] +name = "cumulus-primitives-parachain-inherent" +version = "0.1.0" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.13#05cc5f0e2acacc18796f45ffa3c7b4626fd1046d" +dependencies = [ + "async-trait", + "cumulus-primitives-core", + "cumulus-test-relay-sproof-builder", + "parity-scale-codec", + "polkadot-client", + "sc-client-api", + "scale-info", + "sp-api", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-state-machine", + "sp-std", + "sp-trie", + "tracing", +] + +[[package]] +name = "cumulus-primitives-timestamp" +version = "0.1.0" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.13#05cc5f0e2acacc18796f45ffa3c7b4626fd1046d" +dependencies = [ + "cumulus-primitives-core", + "sp-inherents", + "sp-std", + "sp-timestamp", +] + +[[package]] +name = "cumulus-primitives-utility" +version = "0.1.0" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.13#05cc5f0e2acacc18796f45ffa3c7b4626fd1046d" +dependencies = [ + "cumulus-primitives-core", + "frame-support", + "parity-scale-codec", + "polkadot-core-primitives", + "polkadot-parachain", + "polkadot-primitives", + "sp-runtime", + "sp-std", + "sp-trie", + "xcm", +] + +[[package]] +name = "cumulus-test-relay-sproof-builder" +version = "0.1.0" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.13#05cc5f0e2acacc18796f45ffa3c7b4626fd1046d" +dependencies = [ + "cumulus-primitives-core", + "parity-scale-codec", + "polkadot-primitives", + "sp-runtime", + "sp-state-machine", + "sp-std", +] + +[[package]] +name = "curve25519-dalek" +version = "2.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a9b85542f99a2dfa2a1b8e192662741c9859a846b296bef1c92ef9b58b5a216" +dependencies = [ + "byteorder", + "digest 0.8.1", + "rand_core 0.5.1", + "subtle", + "zeroize", +] + +[[package]] +name = "curve25519-dalek" +version = "3.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b9fdf9972b2bd6af2d913799d9ebc165ea4d2e65878e329d9c6b372c4491b61" +dependencies = [ + "byteorder", + "digest 0.9.0", + "rand_core 0.5.1", + "subtle", + "zeroize", +] + +[[package]] +name = "data-encoding" +version = "2.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ee2393c4a91429dffb4bedf19f4d6abf27d8a732c8ce4980305d782e5426d57" + +[[package]] +name = "data-encoding-macro" +version = "0.1.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86927b7cd2fe88fa698b87404b287ab98d1a0063a34071d92e575b72d3029aca" +dependencies = [ + "data-encoding", + "data-encoding-macro-internal", +] + +[[package]] +name = "data-encoding-macro-internal" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5bbed42daaa95e780b60a50546aa345b8413a1e46f9a40a12907d3598f038db" +dependencies = [ + "data-encoding", + "syn", +] + +[[package]] +name = "datahighway-collator" +version = "3.0.0" +dependencies = [ + "cumulus-client-cli", + "cumulus-client-collator", + "cumulus-client-consensus-aura", + "cumulus-client-consensus-common", + "cumulus-client-network", + "cumulus-client-service", + "cumulus-primitives-core", + "cumulus-primitives-parachain-inherent", + "datahighway-parachain-runtime", + "derive_more", + "frame-benchmarking", + "frame-benchmarking-cli", + "hex-literal", + "jsonrpc-core", + "log", + "pallet-transaction-payment-rpc", + "parity-scale-codec", + "polkadot-cli", + "polkadot-parachain", + "polkadot-primitives", + "polkadot-service", + "polkadot-test-service", + "sc-basic-authorship", + "sc-chain-spec", + "sc-cli", + "sc-client-api", + "sc-consensus", + "sc-consensus-aura", + "sc-consensus-epochs", + "sc-executor", + "sc-keystore", + "sc-network", + "sc-rpc", + "sc-rpc-api", + "sc-service", + "sc-telemetry", + "sc-tracing", + "sc-transaction-pool", + "sc-transaction-pool-api", + "serde", + "sp-api", + "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]] +name = "datahighway-parachain-runtime" +version = "1.1.0" +dependencies = [ + "chrono", + "cumulus-pallet-aura-ext", + "cumulus-pallet-dmp-queue", + "cumulus-pallet-parachain-system", + "cumulus-pallet-xcm", + "cumulus-pallet-xcmp-queue", + "cumulus-primitives-core", + "cumulus-primitives-timestamp", + "cumulus-primitives-utility", + "exchange-rate", + "frame-benchmarking", + "frame-executive", + "frame-support", + "frame-system", + "frame-system-benchmarking", + "frame-system-rpc-runtime-api", + "funty", + "hex-literal", + "membership-supernodes", + "mining-claims-hardware", + "mining-claims-token", + "mining-eligibility-hardware", + "mining-eligibility-proxy", + "mining-eligibility-token", + "mining-execution-token", + "mining-rates-hardware", + "mining-rates-token", + "mining-sampling-hardware", + "mining-sampling-token", + "mining-setting-hardware", + "mining-setting-token", + "module-primitives", + "pallet-aura", + "pallet-authorship", + "pallet-balances", + "pallet-collator-selection", + "pallet-collective", + "pallet-indices", + "pallet-membership", + "pallet-randomness-collective-flip", + "pallet-session", + "pallet-staking", + "pallet-staking-reward-curve", + "pallet-sudo", + "pallet-timestamp", + "pallet-transaction-payment", + "pallet-transaction-payment-rpc-runtime-api", + "pallet-treasury", + "pallet-xcm", + "parachain-info", + "parity-scale-codec", + "polkadot-parachain", + "polkadot-runtime-common", + "roaming-accounting-policies", + "roaming-agreement-policies", + "roaming-billing-policies", + "roaming-charging-policies", + "roaming-device-profiles", + "roaming-devices", + "roaming-network-profiles", + "roaming-network-servers", + "roaming-networks", + "roaming-operators", + "roaming-organizations", + "roaming-packet-bundles", + "roaming-routing-profiles", + "roaming-service-profiles", + "roaming-sessions", + "scale-info", + "serde", + "smallvec", + "sp-api", + "sp-block-builder", + "sp-consensus-aura", + "sp-core", + "sp-inherents", + "sp-io", + "sp-offchain", + "sp-runtime", + "sp-session", + "sp-staking", + "sp-std", + "sp-transaction-pool", + "sp-version", + "substrate-wasm-builder", + "xcm", + "xcm-builder", + "xcm-executor", +] + +[[package]] +name = "derivative" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "derive_more" +version = "0.99.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" +dependencies = [ + "convert_case", + "proc-macro2", + "quote", + "rustc_version 0.4.0", + "syn", +] + +[[package]] +name = "digest" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3d0c8c8752312f9713efd397ff63acb9f85585afbf179282e720e7704954dd5" +dependencies = [ + "generic-array 0.12.4", +] + +[[package]] +name = "digest" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" +dependencies = [ + "generic-array 0.14.5", +] + +[[package]] +name = "directories" +version = "4.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f51c5d4ddabd36886dd3e1438cb358cdcb0d7c499cb99cb4ac2e38e18b5cb210" +dependencies = [ + "dirs-sys", +] + +[[package]] +name = "directories-next" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "339ee130d97a610ea5a5872d2bbb130fdf68884ff09d3028b81bec8a1ac23bbc" +dependencies = [ + "cfg-if 1.0.0", + "dirs-sys-next", +] + +[[package]] +name = "dirs-sys" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03d86534ed367a67548dc68113a0f5db55432fdfbb6e6f9d77704397d95d5780" +dependencies = [ + "libc", + "redox_users", + "winapi 0.3.9", +] + +[[package]] +name = "dirs-sys-next" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d" +dependencies = [ + "libc", + "redox_users", + "winapi 0.3.9", +] + +[[package]] +name = "dns-parser" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4d33be9473d06f75f58220f71f7a9317aca647dc061dbd3c361b0bef505fbea" +dependencies = [ + "byteorder", + "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 = "dtoa" +version = "0.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56899898ce76aaf4a0f24d914c97ea6ed976d42fec6ad33fcbb0a1103e07b2b0" + +[[package]] +name = "dyn-clonable" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e9232f0e607a262ceb9bd5141a3dfb3e4db6994b31989bbfd845878cba59fd4" +dependencies = [ + "dyn-clonable-impl", + "dyn-clone", +] + +[[package]] +name = "dyn-clonable-impl" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "558e40ea573c374cf53507fd240b7ee2f5477df7cfebdb97323ec61c719399c5" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "dyn-clone" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee2626afccd7561a06cf1367e2950c4718ea04565e20fb5029b6c7d8ad09abcf" + +[[package]] +name = "ed25519" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74e1069e39f1454367eb2de793ed062fac4c35c2934b76a81d90dd9abcd28816" +dependencies = [ + "signature", +] + +[[package]] +name = "ed25519-dalek" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d" +dependencies = [ + "curve25519-dalek 3.2.0", + "ed25519", + "rand 0.7.3", + "serde", + "sha2 0.9.9", + "zeroize", +] + +[[package]] +name = "either" +version = "1.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" + +[[package]] +name = "enum-as-inner" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c5f0096a91d210159eceb2ff5e1c4da18388a170e1e3ce948aac9c8fdbbf595" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "enumflags2" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83c8d82922337cd23a15f88b70d8e4ef5f11da38dd7cdb55e84dd5de99695da0" +dependencies = [ + "enumflags2_derive", +] + +[[package]] +name = "enumflags2_derive" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "946ee94e3dbf58fdd324f9ce245c7b238d46a66f00e86a020b71996349e46cce" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "enumn" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e58b112d5099aa0857c5d05f0eacab86406dd8c0f85fe5d320a13256d29ecf4" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "env_logger" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36" +dependencies = [ + "atty", + "humantime 1.3.0", + "log", + "regex", + "termcolor", +] + +[[package]] +name = "env_logger" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b2cf0344971ee6c64c31be0d530793fba457d322dfec2810c453d0ef228f9c3" +dependencies = [ + "atty", + "humantime 2.1.0", + "log", + "regex", + "termcolor", +] + +[[package]] +name = "environmental" +version = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68b91989ae21441195d7d9b9993a2f9295c7e1a8c96255d8b729accddc124797" + +[[package]] +name = "errno" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f639046355ee4f37944e44f60642c6f3a7efa3cf6b78c78a0d989a8ce6c396a1" +dependencies = [ + "errno-dragonfly", + "libc", + "winapi 0.3.9", +] + +[[package]] +name = "errno-dragonfly" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf" +dependencies = [ + "cc", + "libc", +] + +[[package]] +name = "ethbloom" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfb684ac8fa8f6c5759f788862bb22ec6fe3cb392f6bfd08e3c64b603661e3f8" +dependencies = [ + "crunchy", + "fixed-hash", + "impl-rlp", + "impl-serde", + "tiny-keccak", +] + +[[package]] +name = "ethereum-types" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05136f7057fe789f06e6d41d07b34e6f70d8c86e5693b60f97aaa6553553bdaf" +dependencies = [ + "ethbloom", + "fixed-hash", + "impl-rlp", + "impl-serde", + "primitive-types", + "uint", +] + +[[package]] +name = "event-listener" +version = "2.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7531096570974c3a9dcf9e4b8e1cede1ec26cf5046219fb3b9d897503b9be59" + +[[package]] +name = "exchange-rate" +version = "0.1.0" +dependencies = [ + "frame-support", + "frame-system", + "pallet-balances", + "pallet-randomness-collective-flip", + "pallet-transaction-payment", + "parity-scale-codec", + "roaming-operators", + "safe-mix", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "exit-future" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e43f2f1833d64e33f15592464d6fdd70f349dda7b1a53088eb83cd94014008c5" +dependencies = [ + "futures 0.3.19", +] + +[[package]] +name = "fake-simd" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed" + +[[package]] +name = "fallible-iterator" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" + +[[package]] +name = "fastrand" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "779d043b6a0b90cc4c0ed7ee380a6504394cee7efd7db050e3774eee387324b2" +dependencies = [ + "instant", +] + +[[package]] +name = "fdlimit" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c4c9e43643f5a3be4ca5b67d26b98031ff9db6806c3440ae32e02e3ceac3f1b" +dependencies = [ + "libc", +] + +[[package]] +name = "file-per-thread-logger" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fdbe0d94371f9ce939b555dd342d0686cc4c0cadbcd4b61d70af5ff97eb4126" +dependencies = [ + "env_logger 0.7.1", + "log", +] + +[[package]] +name = "finality-grandpa" +version = "0.14.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8ac3ff5224ef91f3c97e03eb1de2db82743427e91aaa5ac635f454f0b164f5a" +dependencies = [ + "either", + "futures 0.3.19", + "futures-timer 3.0.2", + "log", + "num-traits", + "parity-scale-codec", + "parking_lot 0.11.2", + "scale-info", +] + +[[package]] +name = "fixed-hash" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfcf0ed7fe52a17a03854ec54a9f76d6d84508d1c0e66bc1793301c73fc8493c" +dependencies = [ + "byteorder", + "rand 0.8.4", + "rustc-hex", + "static_assertions", +] + +[[package]] +name = "fixedbitset" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "279fb028e20b3c4c320317955b77c5e0c9701f05a1d309905d6fc702cdc5053e" + +[[package]] +name = "flate2" +version = "1.0.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e6988e897c1c9c485f43b47a529cef42fde0547f9d8d41a7062518f1d8fc53f" +dependencies = [ + "cfg-if 1.0.0", + "crc32fast", + "libc", + "libz-sys", + "miniz_oxide", +] + +[[package]] +name = "fnv" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" + +[[package]] +name = "fork-tree" +version = "3.0.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "parity-scale-codec", +] + +[[package]] +name = "form_urlencoded" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5fc25a87fa4fd2094bffb06925852034d90a17f0d1e05197d4956d3555752191" +dependencies = [ + "matches", + "percent-encoding 2.1.0", +] + +[[package]] +name = "frame-benchmarking" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-support", + "frame-system", + "linregress", + "log", + "parity-scale-codec", + "paste", + "scale-info", + "sp-api", + "sp-io", + "sp-runtime", + "sp-runtime-interface", + "sp-std", + "sp-storage", +] + +[[package]] +name = "frame-benchmarking-cli" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "Inflector", + "chrono", + "frame-benchmarking", + "frame-support", + "handlebars", + "linked-hash-map", + "log", + "parity-scale-codec", + "sc-cli", + "sc-client-db", + "sc-executor", + "sc-service", + "serde", + "sp-core", + "sp-externalities", + "sp-keystore", + "sp-runtime", + "sp-state-machine", + "structopt", +] + +[[package]] +name = "frame-election-provider-support" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-arithmetic", + "sp-npos-elections", + "sp-std", +] + +[[package]] +name = "frame-executive" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-tracing", +] + +[[package]] +name = "frame-metadata" +version = "14.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37ed5e5c346de62ca5c184b4325a6600d1eaca210666e4606fe4e449574978d0" +dependencies = [ + "cfg-if 1.0.0", + "parity-scale-codec", + "scale-info", + "serde", +] + +[[package]] +name = "frame-support" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "bitflags", + "frame-metadata", + "frame-support-procedural", + "impl-trait-for-tuples", + "log", + "once_cell", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "smallvec", + "sp-arithmetic", + "sp-core", + "sp-core-hashing-proc-macro", + "sp-inherents", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-state-machine", + "sp-std", + "sp-tracing", + "tt-call", +] + +[[package]] +name = "frame-support-procedural" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "Inflector", + "frame-support-procedural-tools", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "frame-support-procedural-tools" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-support-procedural-tools-derive", + "proc-macro-crate 1.1.0", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "frame-support-procedural-tools-derive" +version = "3.0.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "frame-system" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-support", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-version", +] + +[[package]] +name = "frame-system-benchmarking" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "frame-system-rpc-runtime-api" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "parity-scale-codec", + "sp-api", +] + +[[package]] +name = "frame-try-runtime" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-support", + "sp-api", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "fs-err" +version = "2.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ebd3504ad6116843b8375ad70df74e7bfe83cac77a1f3fe73200c844d43bfe0" + +[[package]] +name = "fs-swap" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03d47dad3685eceed8488986cad3d5027165ea5edb164331770e2059555f10a5" +dependencies = [ + "lazy_static", + "libc", + "libloading 0.5.2", + "winapi 0.3.9", +] + +[[package]] +name = "fs2" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9564fc758e15025b46aa6643b1b77d047d1a56a1aea6e01002ac0c7026876213" +dependencies = [ + "libc", + "winapi 0.3.9", +] + +[[package]] +name = "fuchsia-zircon" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82" +dependencies = [ + "bitflags", + "fuchsia-zircon-sys", +] + +[[package]] +name = "fuchsia-zircon-sys" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7" + +[[package]] +name = "funty" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fed34cd105917e91daa4da6b3728c47b068749d6a62c59811f06ed2ac71d9da7" + +[[package]] +name = "futures" +version = "0.1.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a471a38ef8ed83cd6e40aa59c1ffe17db6855c18e3604d9c4ed8c08ebc28678" + +[[package]] +name = "futures" +version = "0.3.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28560757fe2bb34e79f907794bb6b22ae8b0e5c669b638a1132f2592b19035b4" +dependencies = [ + "futures-channel", + "futures-core", + "futures-executor", + "futures-io", + "futures-sink", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-channel" +version = "0.3.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba3dda0b6588335f360afc675d0564c17a77a2bda81ca178a4b6081bd86c7f0b" +dependencies = [ + "futures-core", + "futures-sink", +] + +[[package]] +name = "futures-core" +version = "0.3.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0c8ff0461b82559810cdccfde3215c3f373807f5e5232b71479bff7bb2583d7" + +[[package]] +name = "futures-executor" +version = "0.3.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29d6d2ff5bb10fb95c85b8ce46538a2e5f5e7fdc755623a7d4529ab8a4ed9d2a" +dependencies = [ + "futures-core", + "futures-task", + "futures-util", + "num_cpus", +] + +[[package]] +name = "futures-io" +version = "0.3.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1f9d34af5a1aac6fb380f735fe510746c38067c5bf16c7fd250280503c971b2" + +[[package]] +name = "futures-lite" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7694489acd39452c77daa48516b894c153f192c3578d5a839b62c58099fcbf48" +dependencies = [ + "fastrand", + "futures-core", + "futures-io", + "memchr", + "parking", + "pin-project-lite 0.2.8", + "waker-fn", +] + +[[package]] +name = "futures-macro" +version = "0.3.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6dbd947adfffb0efc70599b3ddcf7b5597bb5fa9e245eb99f62b3a5f7bb8bd3c" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "futures-rustls" +version = "0.21.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a1387e07917c711fb4ee4f48ea0adb04a3c9739e53ef85bf43ae1edc2937a8b" +dependencies = [ + "futures-io", + "rustls", + "webpki", +] + +[[package]] +name = "futures-sink" +version = "0.3.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3055baccb68d74ff6480350f8d6eb8fcfa3aa11bdc1a1ae3afdd0514617d508" + +[[package]] +name = "futures-task" +version = "0.3.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ee7c6485c30167ce4dfb83ac568a849fe53274c831081476ee13e0dce1aad72" + +[[package]] +name = "futures-timer" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1de7508b218029b0f01662ed8f61b1c964b3ae99d6f25462d0f55a595109df6" + +[[package]] +name = "futures-timer" +version = "3.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" + +[[package]] +name = "futures-util" +version = "0.3.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9b5cf40b47a271f77a8b1bec03ca09044d99d2372c0de244e66430761127164" +dependencies = [ + "futures 0.1.31", + "futures-channel", + "futures-core", + "futures-io", + "futures-macro", + "futures-sink", + "futures-task", + "memchr", + "pin-project-lite 0.2.8", + "pin-utils", + "slab", +] + +[[package]] +name = "generic-array" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffdf9f34f1447443d37393cc6c2b8313aebddcd96906caf34e54c68d8e57d7bd" +dependencies = [ + "typenum", +] + +[[package]] +name = "generic-array" +version = "0.14.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd48d33ec7f05fbfa152300fdad764757cbded343c1aa1cff2fbaf4134851803" +dependencies = [ + "typenum", + "version_check", +] + +[[package]] +name = "getrandom" +version = "0.1.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" +dependencies = [ + "cfg-if 1.0.0", + "js-sys", + "libc", + "wasi 0.9.0+wasi-snapshot-preview1", + "wasm-bindgen", +] + +[[package]] +name = "getrandom" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "418d37c8b1d42553c93648be529cb70f920d3baf8ef469b74b9638df426e0b4c" +dependencies = [ + "cfg-if 1.0.0", + "libc", + "wasi 0.10.0+wasi-snapshot-preview1", +] + +[[package]] +name = "ghash" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1583cc1656d7839fd3732b80cf4f38850336cdb9b8ded1cd399ca62958de3c99" +dependencies = [ + "opaque-debug 0.3.0", + "polyval", +] + +[[package]] +name = "gimli" +version = "0.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0a01e0497841a3b2db4f8afa483cce65f7e96a3498bd6c541734792aeac8fe7" +dependencies = [ + "fallible-iterator", + "indexmap", + "stable_deref_trait", +] + +[[package]] +name = "gimli" +version = "0.26.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78cc372d058dcf6d5ecd98510e7fbc9e5aec4d21de70f65fea8fecebcd881bd4" + +[[package]] +name = "glob" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574" + +[[package]] +name = "globset" +version = "0.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10463d9ff00a2a068db14231982f5132edebad0d7660cd956a1c30292dbcbfbd" +dependencies = [ + "aho-corasick", + "bstr", + "fnv", + "log", + "regex", +] + +[[package]] +name = "gloo-timers" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f16c88aa13d2656ef20d1c042086b8767bbe2bdb62526894275a1b062161b2e" +dependencies = [ + "futures-channel", + "futures-core", + "js-sys", + "wasm-bindgen", + "web-sys", +] + +[[package]] +name = "h2" +version = "0.3.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c9de88456263e249e241fcd211d3954e2c9b0ef7ccfc235a444eb367cae3689" +dependencies = [ + "bytes 1.1.0", + "fnv", + "futures-core", + "futures-sink", + "futures-util", + "http", + "indexmap", + "slab", + "tokio", + "tokio-util", + "tracing", +] + +[[package]] +name = "handlebars" +version = "4.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25546a65e5cf1f471f3438796fc634650b31d7fcde01d444c309aeb28b92e3a8" +dependencies = [ + "log", + "pest", + "pest_derive", + "quick-error 2.0.1", + "serde", + "serde_json", +] + +[[package]] +name = "hash-db" +version = "0.15.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d23bd4e7b5eda0d0f3a307e8b381fdc8ba9000f26fbe912250c0a4cc3956364a" + +[[package]] +name = "hash256-std-hasher" +version = "0.15.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92c171d55b98633f4ed3860808f004099b36c1cc29c42cfc53aa8591b21efcf2" +dependencies = [ + "crunchy", +] + +[[package]] +name = "hashbrown" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e" +dependencies = [ + "ahash", +] + +[[package]] +name = "heck" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" +dependencies = [ + "unicode-segmentation", +] + +[[package]] +name = "hermit-abi" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" +dependencies = [ + "libc", +] + +[[package]] +name = "hex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" + +[[package]] +name = "hex-literal" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ebdb29d2ea9ed0083cd8cece49bbd968021bd99b0849edb4a9a7ee0fdf6a4e0" + +[[package]] +name = "hex_fmt" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b07f60793ff0a4d9cef0f18e63b5357e06209987153a64648c972c1e5aff336f" + +[[package]] +name = "hmac" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "126888268dcc288495a26bf004b38c5fdbb31682f992c84ceb046a1f0fe38840" +dependencies = [ + "crypto-mac 0.8.0", + "digest 0.9.0", +] + +[[package]] +name = "hmac" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a2a2320eb7ec0ebe8da8f744d7812d9fc4cb4d09344ac01898dbcb6a20ae69b" +dependencies = [ + "crypto-mac 0.11.1", + "digest 0.9.0", +] + +[[package]] +name = "hmac-drbg" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "17ea0a1394df5b6574da6e0c1ade9e78868c9fb0a4e5ef4428e32da4676b85b1" +dependencies = [ + "digest 0.9.0", + "generic-array 0.14.5", + "hmac 0.8.1", +] + +[[package]] +name = "hostname" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c731c3e10504cc8ed35cfe2f1db4c9274c3d35fa486e3b31df46f068ef3e867" +dependencies = [ + "libc", + "match_cfg", + "winapi 0.3.9", +] + +[[package]] +name = "http" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31f4c6746584866f0feabcc69893c5b51beef3831656a968ed7ae254cdc4fd03" +dependencies = [ + "bytes 1.1.0", + "fnv", + "itoa 1.0.1", +] + +[[package]] +name = "http-body" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ff4f84919677303da5f147645dbea6b1881f368d03ac84e1dc09031ebd7b2c6" +dependencies = [ + "bytes 1.1.0", + "http", + "pin-project-lite 0.2.8", +] + +[[package]] +name = "httparse" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "acd94fdbe1d4ff688b67b04eee2e17bd50995534a61539e45adfefb45e5e5503" + +[[package]] +name = "httpdate" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421" + +[[package]] +name = "humantime" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df004cfca50ef23c36850aaaa59ad52cc70d0e90243c3c7737a4dd32dc7a3c4f" +dependencies = [ + "quick-error 1.2.3", +] + +[[package]] +name = "humantime" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" + +[[package]] +name = "hyper" +version = "0.14.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7ec3e62bdc98a2f0393a5048e4c30ef659440ea6e0e572965103e72bd836f55" +dependencies = [ + "bytes 1.1.0", + "futures-channel", + "futures-core", + "futures-util", + "h2", + "http", + "http-body", + "httparse", + "httpdate", + "itoa 0.4.8", + "pin-project-lite 0.2.8", + "socket2 0.4.2", + "tokio", + "tower-service", + "tracing", + "want", +] + +[[package]] +name = "hyper-rustls" +version = "0.22.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f9f7a97316d44c0af9b0301e65010573a853a9fc97046d7331d7f6bc0fd5a64" +dependencies = [ + "ct-logs", + "futures-util", + "hyper", + "log", + "rustls", + "rustls-native-certs", + "tokio", + "tokio-rustls", + "webpki", +] + +[[package]] +name = "idna" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38f09e0f0b1fb55fdee1f17470ad800da77af5186a1a76c026b679358b7e844e" +dependencies = [ + "matches", + "unicode-bidi", + "unicode-normalization", +] + +[[package]] +name = "idna" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8" +dependencies = [ + "matches", + "unicode-bidi", + "unicode-normalization", +] + +[[package]] +name = "if-addrs" +version = "0.6.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2273e421f7c4f0fc99e1934fe4776f59d8df2972f4199d703fc0da9f2a9f73de" +dependencies = [ + "if-addrs-sys", + "libc", + "winapi 0.3.9", +] + +[[package]] +name = "if-addrs-sys" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de74b9dd780476e837e5eb5ab7c88b49ed304126e412030a0adba99c8efe79ea" +dependencies = [ + "cc", + "libc", +] + +[[package]] +name = "if-watch" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae8ab7f67bad3240049cb24fb9cb0b4c2c6af4c245840917fbbdededeee91179" +dependencies = [ + "async-io", + "futures 0.3.19", + "futures-lite", + "if-addrs", + "ipnet", + "libc", + "log", + "winapi 0.3.9", +] + +[[package]] +name = "impl-codec" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "161ebdfec3c8e3b52bf61c4f3550a1eea4f9579d10dc1b936f3171ebdcd6c443" +dependencies = [ + "parity-scale-codec", +] + +[[package]] +name = "impl-rlp" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f28220f89297a075ddc7245cd538076ee98b01f2a9c23a53a4f1105d5a322808" +dependencies = [ + "rlp", +] + +[[package]] +name = "impl-serde" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4551f042f3438e64dbd6226b20527fc84a6e1fe65688b58746a2f53623f25f5c" +dependencies = [ + "serde", +] + +[[package]] +name = "impl-trait-for-tuples" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d5dacb10c5b3bb92d46ba347505a9041e676bb20ad220101326bffb0c93031ee" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "indexmap" +version = "1.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282a6247722caba404c065016bbfa522806e51714c34f5dfc3e4a3a46fcb4223" +dependencies = [ + "autocfg", + "hashbrown", + "serde", +] + +[[package]] +name = "instant" +version = "0.1.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" +dependencies = [ + "cfg-if 1.0.0", +] + +[[package]] +name = "integer-encoding" +version = "3.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90c11140ffea82edce8dcd74137ce9324ec24b3cf0175fc9d7e29164da9915b8" + +[[package]] +name = "integer-sqrt" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "276ec31bcb4a9ee45f58bec6f9ec700ae4cf4f4f8f2fa7e06cb406bd5ffdd770" +dependencies = [ + "num-traits", +] + +[[package]] +name = "intervalier" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64fa110ec7b8f493f416eed552740d10e7030ad5f63b2308f82c9608ec2df275" +dependencies = [ + "futures 0.3.19", + "futures-timer 2.0.2", +] + +[[package]] +name = "io-lifetimes" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "278e90d6f8a6c76a8334b336e306efa3c5f2b604048cbfd486d6f49878e3af14" +dependencies = [ + "rustc_version 0.4.0", + "winapi 0.3.9", +] + +[[package]] +name = "iovec" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e" +dependencies = [ + "libc", +] + +[[package]] +name = "ip_network" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa2f047c0a98b2f299aa5d6d7088443570faae494e9ae1305e48be000c9e0eb1" + +[[package]] +name = "ipconfig" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7e2f18aece9709094573a9f24f483c4f65caa4298e2f7ae1b71cc65d853fad7" +dependencies = [ + "socket2 0.3.19", + "widestring", + "winapi 0.3.9", + "winreg", +] + +[[package]] +name = "ipnet" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68f2d64f2edebec4ce84ad108148e67e1064789bee435edc5b60ad398714a3a9" + +[[package]] +name = "itertools" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9a9d19fa1e79b6215ff29b9d6880b706147f16e9b1dbb1e4e5947b5b02bc5e3" +dependencies = [ + "either", +] + +[[package]] +name = "itoa" +version = "0.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4" + +[[package]] +name = "itoa" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1aab8fc367588b89dcee83ab0fd66b72b50b72fa1904d7095045ace2b0c81c35" + +[[package]] +name = "jobserver" +version = "0.1.24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af25a77299a7f711a01975c35a6a424eb6862092cc2d6c72c4ed6cbc56dfc1fa" +dependencies = [ + "libc", +] + +[[package]] +name = "js-sys" +version = "0.3.55" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7cc9ffccd38c451a86bf13657df244e9c3f37493cce8e5e21e940963777acc84" +dependencies = [ + "wasm-bindgen", +] + +[[package]] +name = "jsonrpc-client-transports" +version = "18.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2b99d4207e2a04fb4581746903c2bb7eb376f88de9c699d0f3e10feeac0cd3a" +dependencies = [ + "derive_more", + "futures 0.3.19", + "jsonrpc-core", + "jsonrpc-pubsub", + "log", + "serde", + "serde_json", + "url 1.7.2", +] + +[[package]] +name = "jsonrpc-core" +version = "18.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "14f7f76aef2d054868398427f6c54943cf3d1caa9a7ec7d0c38d69df97a965eb" +dependencies = [ + "futures 0.3.19", + "futures-executor", + "futures-util", + "log", + "serde", + "serde_derive", + "serde_json", +] + +[[package]] +name = "jsonrpc-core-client" +version = "18.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b51da17abecbdab3e3d4f26b01c5ec075e88d3abe3ab3b05dc9aa69392764ec0" +dependencies = [ + "futures 0.3.19", + "jsonrpc-client-transports", +] + +[[package]] +name = "jsonrpc-derive" +version = "18.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b939a78fa820cdfcb7ee7484466746a7377760970f6f9c6fe19f9edcc8a38d2" +dependencies = [ + "proc-macro-crate 0.1.5", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "jsonrpc-http-server" +version = "18.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1dea6e07251d9ce6a552abfb5d7ad6bc290a4596c8dcc3d795fae2bbdc1f3ff" +dependencies = [ + "futures 0.3.19", + "hyper", + "jsonrpc-core", + "jsonrpc-server-utils", + "log", + "net2", + "parking_lot 0.11.2", + "unicase", +] + +[[package]] +name = "jsonrpc-ipc-server" +version = "18.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "382bb0206323ca7cda3dcd7e245cea86d37d02457a02a975e3378fb149a48845" +dependencies = [ + "futures 0.3.19", + "jsonrpc-core", + "jsonrpc-server-utils", + "log", + "parity-tokio-ipc", + "parking_lot 0.11.2", + "tower-service", +] + +[[package]] +name = "jsonrpc-pubsub" +version = "18.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "240f87695e6c6f62fb37f05c02c04953cf68d6408b8c1c89de85c7a0125b1011" +dependencies = [ + "futures 0.3.19", + "jsonrpc-core", + "lazy_static", + "log", + "parking_lot 0.11.2", + "rand 0.7.3", + "serde", +] + +[[package]] +name = "jsonrpc-server-utils" +version = "18.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa4fdea130485b572c39a460d50888beb00afb3e35de23ccd7fad8ff19f0e0d4" +dependencies = [ + "bytes 1.1.0", + "futures 0.3.19", + "globset", + "jsonrpc-core", + "lazy_static", + "log", + "tokio", + "tokio-stream", + "tokio-util", + "unicase", +] + +[[package]] +name = "jsonrpc-ws-server" +version = "18.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f892c7d766369475ab7b0669f417906302d7c0fb521285c0a0c92e52e7c8e946" +dependencies = [ + "futures 0.3.19", + "jsonrpc-core", + "jsonrpc-server-utils", + "log", + "parity-ws", + "parking_lot 0.11.2", + "slab", +] + +[[package]] +name = "jsonrpsee" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6373a33d987866ccfe1af4bc11b089dce941764313f9fd8b7cf13fcb51b72dc5" +dependencies = [ + "jsonrpsee-proc-macros", + "jsonrpsee-types", + "jsonrpsee-utils", + "jsonrpsee-ws-client", +] + +[[package]] +name = "jsonrpsee-proc-macros" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d802063f7a3c867456955f9d2f15eb3ee0edb5ec9ec2b5526324756759221c0f" +dependencies = [ + "log", + "proc-macro-crate 1.1.0", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "jsonrpsee-types" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62f778cf245158fbd8f5d50823a2e9e4c708a40be164766bd35e9fb1d86715b2" +dependencies = [ + "anyhow", + "async-trait", + "beef", + "futures-channel", + "futures-util", + "hyper", + "log", + "serde", + "serde_json", + "soketto", + "thiserror", +] + +[[package]] +name = "jsonrpsee-utils" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0109c4f972058f3b1925b73a17210aff7b63b65967264d0045d15ee88fe84f0c" +dependencies = [ + "arrayvec 0.7.2", + "beef", + "jsonrpsee-types", +] + +[[package]] +name = "jsonrpsee-ws-client" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "559aa56fc402af206c00fc913dc2be1d9d788dcde045d14df141a535245d35ef" +dependencies = [ + "arrayvec 0.7.2", + "async-trait", + "fnv", + "futures 0.3.19", + "http", + "jsonrpsee-types", + "log", + "pin-project 1.0.10", + "rustls-native-certs", + "serde", + "serde_json", + "soketto", + "thiserror", + "tokio", + "tokio-rustls", + "tokio-util", +] + +[[package]] +name = "keccak" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67c21572b4949434e4fc1e1978b99c5f77064153c59d998bf13ecd96fb5ecba7" + +[[package]] +name = "kernel32-sys" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d" +dependencies = [ + "winapi 0.2.8", + "winapi-build", +] + +[[package]] +name = "kv-log-macro" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0de8b303297635ad57c9f5059fd9cee7a47f8e8daa09df0fcd07dd39fb22977f" +dependencies = [ + "log", +] + +[[package]] +name = "kvdb" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45a3f58dc069ec0e205a27f5b45920722a46faed802a0541538241af6228f512" +dependencies = [ + "parity-util-mem", + "smallvec", +] + +[[package]] +name = "kvdb-memorydb" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3b6b85fc643f5acd0bffb2cc8a6d150209379267af0d41db72170021841f9f5" +dependencies = [ + "kvdb", + "parity-util-mem", + "parking_lot 0.11.2", +] + +[[package]] +name = "kvdb-rocksdb" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b1b6ea8f2536f504b645ad78419c8246550e19d2c3419a167080ce08edee35a" +dependencies = [ + "fs-swap", + "kvdb", + "log", + "num_cpus", + "owning_ref", + "parity-util-mem", + "parking_lot 0.11.2", + "regex", + "rocksdb", + "smallvec", +] + +[[package]] +name = "lazy_static" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" + +[[package]] +name = "lazycell" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" + +[[package]] +name = "libc" +version = "0.2.112" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b03d17f364a3a042d5e5d46b053bbbf82c92c9430c592dd4c064dc6ee997125" + +[[package]] +name = "libloading" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2b111a074963af1d37a139918ac6d49ad1d0d5e47f72fd55388619691a7d753" +dependencies = [ + "cc", + "winapi 0.3.9", +] + +[[package]] +name = "libloading" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "efbc0f03f9a775e9f6aed295c6a1ba2253c5757a9e03d55c6caa46a681abcddd" +dependencies = [ + "cfg-if 1.0.0", + "winapi 0.3.9", +] + +[[package]] +name = "libm" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7d73b3f436185384286bd8098d17ec07c9a7d2388a6599f824d8502b529702a" + +[[package]] +name = "libp2p" +version = "0.40.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3bec54343492ba5940a6c555e512c6721139835d28c59bc22febece72dfd0d9d" +dependencies = [ + "atomic", + "bytes 1.1.0", + "futures 0.3.19", + "lazy_static", + "libp2p-core", + "libp2p-deflate", + "libp2p-dns", + "libp2p-floodsub", + "libp2p-gossipsub", + "libp2p-identify", + "libp2p-kad", + "libp2p-mdns", + "libp2p-metrics", + "libp2p-mplex", + "libp2p-noise", + "libp2p-ping", + "libp2p-plaintext", + "libp2p-pnet", + "libp2p-relay", + "libp2p-rendezvous", + "libp2p-request-response", + "libp2p-swarm", + "libp2p-swarm-derive", + "libp2p-tcp", + "libp2p-uds", + "libp2p-wasm-ext", + "libp2p-websocket", + "libp2p-yamux", + "multiaddr", + "parking_lot 0.11.2", + "pin-project 1.0.10", + "smallvec", + "wasm-timer", +] + +[[package]] +name = "libp2p-core" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef22d9bba1e8bcb7ec300073e6802943fe8abb8190431842262b5f1c30abba1" +dependencies = [ + "asn1_der", + "bs58", + "ed25519-dalek", + "either", + "fnv", + "futures 0.3.19", + "futures-timer 3.0.2", + "lazy_static", + "libsecp256k1", + "log", + "multiaddr", + "multihash 0.14.0", + "multistream-select", + "parking_lot 0.11.2", + "pin-project 1.0.10", + "prost", + "prost-build", + "rand 0.8.4", + "ring", + "rw-stream-sink", + "sha2 0.9.9", + "smallvec", + "thiserror", + "unsigned-varint 0.7.1", + "void", + "zeroize", +] + +[[package]] +name = "libp2p-deflate" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51a800adb195f33de63f4b17b63fe64cfc23bf2c6a0d3d0d5321328664e65197" +dependencies = [ + "flate2", + "futures 0.3.19", + "libp2p-core", +] + +[[package]] +name = "libp2p-dns" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb8f89d15cb6e3c5bc22afff7513b11bab7856f2872d3cfba86f7f63a06bc498" +dependencies = [ + "async-std-resolver", + "futures 0.3.19", + "libp2p-core", + "log", + "smallvec", + "trust-dns-resolver", +] + +[[package]] +name = "libp2p-floodsub" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aab3d7210901ea51b7bae2b581aa34521797af8c4ec738c980bda4a06434067f" +dependencies = [ + "cuckoofilter", + "fnv", + "futures 0.3.19", + "libp2p-core", + "libp2p-swarm", + "log", + "prost", + "prost-build", + "rand 0.7.3", + "smallvec", +] + +[[package]] +name = "libp2p-gossipsub" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfeead619eb5dac46e65acc78c535a60aaec803d1428cca6407c3a4fc74d698d" +dependencies = [ + "asynchronous-codec 0.6.0", + "base64", + "byteorder", + "bytes 1.1.0", + "fnv", + "futures 0.3.19", + "hex_fmt", + "libp2p-core", + "libp2p-swarm", + "log", + "prost", + "prost-build", + "rand 0.7.3", + "regex", + "sha2 0.9.9", + "smallvec", + "unsigned-varint 0.7.1", + "wasm-timer", +] + +[[package]] +name = "libp2p-identify" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cca1275574183f288ff8b72d535d5ffa5ea9292ef7829af8b47dcb197c7b0dcd" +dependencies = [ + "futures 0.3.19", + "libp2p-core", + "libp2p-swarm", + "log", + "lru 0.6.6", + "prost", + "prost-build", + "smallvec", + "wasm-timer", +] + +[[package]] +name = "libp2p-kad" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2297dc0ca285f3a09d1368bde02449e539b46f94d32d53233f53f6625bcd3ba" +dependencies = [ + "arrayvec 0.5.2", + "asynchronous-codec 0.6.0", + "bytes 1.1.0", + "either", + "fnv", + "futures 0.3.19", + "libp2p-core", + "libp2p-swarm", + "log", + "prost", + "prost-build", + "rand 0.7.3", + "sha2 0.9.9", + "smallvec", + "uint", + "unsigned-varint 0.7.1", + "void", + "wasm-timer", +] + +[[package]] +name = "libp2p-mdns" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "14c864b64bdc8a84ff3910a0df88e6535f256191a450870f1e7e10cbf8e64d45" +dependencies = [ + "async-io", + "data-encoding", + "dns-parser", + "futures 0.3.19", + "if-watch", + "lazy_static", + "libp2p-core", + "libp2p-swarm", + "log", + "rand 0.8.4", + "smallvec", + "socket2 0.4.2", + "void", +] + +[[package]] +name = "libp2p-metrics" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4af432fcdd2f8ba4579b846489f8f0812cfd738ced2c0af39df9b1c48bbb6ab2" +dependencies = [ + "libp2p-core", + "libp2p-identify", + "libp2p-kad", + "libp2p-ping", + "libp2p-swarm", + "open-metrics-client", +] + +[[package]] +name = "libp2p-mplex" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f2cd64ef597f40e14bfce0497f50ecb63dd6d201c61796daeb4227078834fbf" +dependencies = [ + "asynchronous-codec 0.6.0", + "bytes 1.1.0", + "futures 0.3.19", + "libp2p-core", + "log", + "nohash-hasher", + "parking_lot 0.11.2", + "rand 0.7.3", + "smallvec", + "unsigned-varint 0.7.1", +] + +[[package]] +name = "libp2p-noise" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8772c7a99088221bb7ca9c5c0574bf55046a7ab4c319f3619b275f28c8fb87a" +dependencies = [ + "bytes 1.1.0", + "curve25519-dalek 3.2.0", + "futures 0.3.19", + "lazy_static", + "libp2p-core", + "log", + "prost", + "prost-build", + "rand 0.8.4", + "sha2 0.9.9", + "snow", + "static_assertions", + "x25519-dalek", + "zeroize", +] + +[[package]] +name = "libp2p-ping" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80ef7b0ec5cf06530d9eb6cf59ae49d46a2c45663bde31c25a12f682664adbcf" +dependencies = [ + "futures 0.3.19", + "libp2p-core", + "libp2p-swarm", + "log", + "rand 0.7.3", + "void", + "wasm-timer", +] + +[[package]] +name = "libp2p-plaintext" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5fba1a6ff33e4a274c89a3b1d78b9f34f32af13265cc5c46c16938262d4e945a" +dependencies = [ + "asynchronous-codec 0.6.0", + "bytes 1.1.0", + "futures 0.3.19", + "libp2p-core", + "log", + "prost", + "prost-build", + "unsigned-varint 0.7.1", + "void", +] + +[[package]] +name = "libp2p-pnet" +version = "0.22.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f1a458bbda880107b5b36fcb9b5a1ef0c329685da0e203ed692a8ebe64cc92c" +dependencies = [ + "futures 0.3.19", + "log", + "pin-project 1.0.10", + "rand 0.7.3", + "salsa20", + "sha3", +] + +[[package]] +name = "libp2p-relay" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2852b61c90fa8ce3c8fcc2aba76e6cefc20d648f9df29157d6b3a916278ef3e3" +dependencies = [ + "asynchronous-codec 0.6.0", + "bytes 1.1.0", + "futures 0.3.19", + "futures-timer 3.0.2", + "libp2p-core", + "libp2p-swarm", + "log", + "pin-project 1.0.10", + "prost", + "prost-build", + "rand 0.7.3", + "smallvec", + "unsigned-varint 0.7.1", + "void", + "wasm-timer", +] + +[[package]] +name = "libp2p-rendezvous" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "14a6d2b9e7677eff61dc3d2854876aaf3976d84a01ef6664b610c77a0c9407c5" +dependencies = [ + "asynchronous-codec 0.6.0", + "bimap", + "futures 0.3.19", + "libp2p-core", + "libp2p-swarm", + "log", + "prost", + "prost-build", + "rand 0.8.4", + "sha2 0.9.9", + "thiserror", + "unsigned-varint 0.7.1", + "void", + "wasm-timer", +] + +[[package]] +name = "libp2p-request-response" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a877a4ced6d46bf84677e1974e8cf61fb434af73b2e96fb48d6cb6223a4634d8" +dependencies = [ + "async-trait", + "bytes 1.1.0", + "futures 0.3.19", + "libp2p-core", + "libp2p-swarm", + "log", + "lru 0.7.2", + "rand 0.7.3", + "smallvec", + "unsigned-varint 0.7.1", + "wasm-timer", +] + +[[package]] +name = "libp2p-swarm" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f5184a508f223bc100a12665517773fb8730e9f36fc09eefb670bf01b107ae9" +dependencies = [ + "either", + "futures 0.3.19", + "libp2p-core", + "log", + "rand 0.7.3", + "smallvec", + "void", + "wasm-timer", +] + +[[package]] +name = "libp2p-swarm-derive" +version = "0.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "072c290f727d39bdc4e9d6d1c847978693d25a673bd757813681e33e5f6c00c2" +dependencies = [ + "quote", + "syn", +] + +[[package]] +name = "libp2p-tcp" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7399c5b6361ef525d41c11fcf51635724f832baf5819b30d3d873eabb4fbae4b" +dependencies = [ + "async-io", + "futures 0.3.19", + "futures-timer 3.0.2", + "if-watch", + "ipnet", + "libc", + "libp2p-core", + "log", + "socket2 0.4.2", +] + +[[package]] +name = "libp2p-uds" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8b7563e46218165dfd60f64b96f7ce84590d75f53ecbdc74a7dd01450dc5973" +dependencies = [ + "async-std", + "futures 0.3.19", + "libp2p-core", + "log", +] + +[[package]] +name = "libp2p-wasm-ext" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1008a302b73c5020251f9708c653f5ed08368e530e247cc9cd2f109ff30042cf" +dependencies = [ + "futures 0.3.19", + "js-sys", + "libp2p-core", + "parity-send-wrapper", + "wasm-bindgen", + "wasm-bindgen-futures", +] + +[[package]] +name = "libp2p-websocket" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22e12df82d1ed64969371a9e65ea92b91064658604cc2576c2757f18ead9a1cf" +dependencies = [ + "either", + "futures 0.3.19", + "futures-rustls", + "libp2p-core", + "log", + "quicksink", + "rw-stream-sink", + "soketto", + "url 2.2.2", + "webpki-roots", +] + +[[package]] +name = "libp2p-yamux" +version = "0.34.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e7362abb8867d7187e7e93df17f460d554c997fc5c8ac57dc1259057f6889af" +dependencies = [ + "futures 0.3.19", + "libp2p-core", + "parking_lot 0.11.2", + "thiserror", + "yamux", +] + +[[package]] +name = "librocksdb-sys" +version = "6.20.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c309a9d2470844aceb9a4a098cf5286154d20596868b75a6b36357d2bb9ca25d" +dependencies = [ + "bindgen", + "cc", + "glob", + "libc", +] + +[[package]] +name = "libsecp256k1" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0452aac8bab02242429380e9b2f94ea20cea2b37e2c1777a1358799bbe97f37" +dependencies = [ + "arrayref", + "base64", + "digest 0.9.0", + "hmac-drbg", + "libsecp256k1-core", + "libsecp256k1-gen-ecmult", + "libsecp256k1-gen-genmult", + "rand 0.8.4", + "serde", + "sha2 0.9.9", + "typenum", +] + +[[package]] +name = "libsecp256k1-core" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5be9b9bb642d8522a44d533eab56c16c738301965504753b03ad1de3425d5451" +dependencies = [ + "crunchy", + "digest 0.9.0", + "subtle", +] + +[[package]] +name = "libsecp256k1-gen-ecmult" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3038c808c55c87e8a172643a7d87187fc6c4174468159cb3090659d55bcb4809" +dependencies = [ + "libsecp256k1-core", +] + +[[package]] +name = "libsecp256k1-gen-genmult" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3db8d6ba2cec9eacc40e6e8ccc98931840301f1006e95647ceb2dd5c3aa06f7c" +dependencies = [ + "libsecp256k1-core", +] + +[[package]] +name = "libz-sys" +version = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de5435b8549c16d423ed0c03dbaafe57cf6c3344744f1242520d59c9d8ecec66" +dependencies = [ + "cc", + "pkg-config", + "vcpkg", +] + +[[package]] +name = "linked-hash-map" +version = "0.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7fb9b38af92608140b86b693604b9ffcc5824240a484d1ecd4795bacb2fe88f3" + +[[package]] +name = "linked_hash_set" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47186c6da4d81ca383c7c47c1bfc80f4b95f4720514d860a5407aaf4233f9588" +dependencies = [ + "linked-hash-map", +] + +[[package]] +name = "linregress" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6c601a85f5ecd1aba625247bca0031585fb1c446461b142878a16f8245ddeb8" +dependencies = [ + "nalgebra", + "statrs", +] + +[[package]] +name = "linux-raw-sys" +version = "0.0.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "687387ff42ec7ea4f2149035a5675fedb675d26f98db90a1846ac63d3addb5f5" + +[[package]] +name = "lock_api" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4da24a77a3d8a6d4862d95f72e6fdb9c09a643ecdb402d754004a557f2bec75" +dependencies = [ + "scopeguard", +] + +[[package]] +name = "lock_api" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "712a4d093c9976e24e7dbca41db895dabcbac38eb5f4045393d17a95bdfb1109" +dependencies = [ + "scopeguard", +] + +[[package]] +name = "log" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710" +dependencies = [ + "cfg-if 1.0.0", + "value-bag", +] + +[[package]] +name = "lru" +version = "0.6.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ea2d928b485416e8908cff2d97d621db22b27f7b3b6729e438bcf42c671ba91" +dependencies = [ + "hashbrown", +] + +[[package]] +name = "lru" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "274353858935c992b13c0ca408752e2121da852d07dec7ce5f108c77dfa14d1f" +dependencies = [ + "hashbrown", +] + +[[package]] +name = "lru-cache" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31e24f1ad8321ca0e8a1e0ac13f23cb668e6f5466c2c57319f6a5cf1cc8e3b1c" +dependencies = [ + "linked-hash-map", +] + +[[package]] +name = "lz4" +version = "1.23.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aac20ed6991e01bf6a2e68cc73df2b389707403662a8ba89f68511fb340f724c" +dependencies = [ + "libc", + "lz4-sys", +] + +[[package]] +name = "lz4-sys" +version = "1.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dca79aa95d8b3226213ad454d328369853be3a1382d89532a854f4d69640acae" +dependencies = [ + "cc", + "libc", +] + +[[package]] +name = "mach" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa" +dependencies = [ + "libc", +] + +[[package]] +name = "maplit" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d" + +[[package]] +name = "match_cfg" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffbee8634e0d45d258acb448e7eaab3fce7a0a467395d4d9f228e3c1f01fb2e4" + +[[package]] +name = "matchers" +version = "0.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f099785f7595cc4b4553a174ce30dd7589ef93391ff414dbb67f62392b9e0ce1" +dependencies = [ + "regex-automata", +] + +[[package]] +name = "matches" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f" + +[[package]] +name = "matrixmultiply" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "add85d4dd35074e6fedc608f8c8f513a3548619a9024b751949ef0e8e45a4d84" +dependencies = [ + "rawpointer", +] + +[[package]] +name = "membership-supernodes" +version = "2.0.0" +dependencies = [ + "account-set", + "frame-support", + "frame-system", + "pallet-balances", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "memchr" +version = "2.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a" + +[[package]] +name = "memmap2" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "723e3ebdcdc5c023db1df315364573789f8857c11b631a2fdfad7c00f5c046b4" +dependencies = [ + "libc", +] + +[[package]] +name = "memmap2" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe3179b85e1fd8b14447cbebadb75e45a1002f541b925f0bfec366d56a81c56d" +dependencies = [ + "libc", +] + +[[package]] +name = "memoffset" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce" +dependencies = [ + "autocfg", +] + +[[package]] +name = "memory-db" +version = "0.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de006e09d04fc301a5f7e817b75aa49801c4479a8af753764416b085337ddcc5" +dependencies = [ + "hash-db", + "hashbrown", + "parity-util-mem", +] + +[[package]] +name = "memory-lru" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "beeb98b3d1ed2c0054bd81b5ba949a0243c3ccad751d45ea898fa8059fa2860a" +dependencies = [ + "lru 0.6.6", +] + +[[package]] +name = "memory_units" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71d96e3f3c0b6325d8ccd83c33b28acb183edcb6c67938ba104ec546854b0882" + +[[package]] +name = "merlin" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e261cf0f8b3c42ded9f7d2bb59dea03aa52bc8a1cbc7482f9fc3fd1229d3b42" +dependencies = [ + "byteorder", + "keccak", + "rand_core 0.5.1", + "zeroize", +] + +[[package]] +name = "metered-channel" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "derive_more", + "futures 0.3.19", + "futures-timer 3.0.2", + "thiserror", + "tracing", +] + +[[package]] +name = "mick-jaeger" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd2c2cc134e57461f0898b0e921f0a7819b5e3f3a4335b9aa390ce81a5f36fb9" +dependencies = [ + "futures 0.3.19", + "rand 0.8.4", + "thrift", +] + +[[package]] +name = "minimal-lexical" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" + +[[package]] +name = "mining-claims-hardware" +version = "0.1.0" +dependencies = [ + "frame-support", + "frame-system", + "mining-eligibility-hardware", + "mining-rates-hardware", + "mining-sampling-hardware", + "mining-setting-hardware", + "pallet-balances", + "pallet-randomness-collective-flip", + "pallet-transaction-payment", + "parity-scale-codec", + "roaming-operators", + "safe-mix", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "mining-claims-token" +version = "0.1.0" +dependencies = [ + "frame-support", + "frame-system", + "mining-eligibility-token", + "mining-rates-token", + "mining-sampling-token", + "mining-setting-token", + "pallet-balances", + "pallet-randomness-collective-flip", + "pallet-transaction-payment", + "parity-scale-codec", + "roaming-operators", + "safe-mix", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "mining-eligibility-hardware" +version = "0.1.0" +dependencies = [ + "frame-support", + "frame-system", + "mining-rates-hardware", + "mining-sampling-hardware", + "mining-setting-hardware", + "pallet-balances", + "pallet-randomness-collective-flip", + "pallet-transaction-payment", + "parity-scale-codec", + "roaming-operators", + "safe-mix", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "mining-eligibility-proxy" +version = "0.1.0" +dependencies = [ + "account-set", + "chrono", + "frame-support", + "frame-system", + "membership-supernodes", + "module-primitives", + "pallet-balances", + "pallet-randomness-collective-flip", + "pallet-timestamp", + "pallet-transaction-payment", + "pallet-treasury", + "parity-scale-codec", + "safe-mix", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "mining-eligibility-token" +version = "0.1.0" +dependencies = [ + "frame-support", + "frame-system", + "mining-rates-token", + "mining-sampling-token", + "mining-setting-token", + "pallet-balances", + "pallet-randomness-collective-flip", + "pallet-transaction-payment", + "parity-scale-codec", + "roaming-operators", + "safe-mix", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "mining-execution-token" +version = "0.1.0" +dependencies = [ + "frame-support", + "frame-system", + "mining-claims-token", + "mining-eligibility-token", + "mining-rates-token", + "mining-sampling-token", + "mining-setting-token", + "pallet-balances", + "pallet-randomness-collective-flip", + "pallet-transaction-payment", + "parity-scale-codec", + "roaming-operators", + "safe-mix", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "mining-rates-hardware" +version = "0.1.0" +dependencies = [ + "frame-support", + "frame-system", + "pallet-balances", + "pallet-randomness-collective-flip", + "pallet-transaction-payment", + "parity-scale-codec", + "roaming-operators", + "safe-mix", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "mining-rates-token" +version = "0.1.0" +dependencies = [ + "frame-support", + "frame-system", + "pallet-balances", + "pallet-randomness-collective-flip", + "pallet-transaction-payment", + "parity-scale-codec", + "roaming-operators", + "safe-mix", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "mining-sampling-hardware" +version = "0.1.0" +dependencies = [ + "frame-support", + "frame-system", + "mining-setting-hardware", + "pallet-balances", + "pallet-randomness-collective-flip", + "pallet-transaction-payment", + "parity-scale-codec", + "roaming-operators", + "safe-mix", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "mining-sampling-token" +version = "0.1.0" +dependencies = [ + "frame-support", + "frame-system", + "mining-setting-token", + "pallet-balances", + "pallet-randomness-collective-flip", + "pallet-transaction-payment", + "parity-scale-codec", + "roaming-operators", + "safe-mix", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "mining-setting-hardware" +version = "0.1.0" +dependencies = [ + "frame-support", + "frame-system", + "pallet-balances", + "pallet-randomness-collective-flip", + "pallet-transaction-payment", + "parity-scale-codec", + "roaming-operators", + "safe-mix", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "mining-setting-token" +version = "0.1.0" +dependencies = [ + "frame-support", + "frame-system", + "pallet-balances", + "pallet-randomness-collective-flip", + "pallet-transaction-payment", + "parity-scale-codec", + "roaming-operators", + "safe-mix", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "miniz_oxide" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a92518e98c078586bc6c934028adcca4c92a53d6a958196de835170a01d84e4b" +dependencies = [ + "adler", + "autocfg", +] + +[[package]] +name = "mio" +version = "0.6.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4afd66f5b91bf2a3bc13fad0e21caedac168ca4c707504e75585648ae80e4cc4" +dependencies = [ + "cfg-if 0.1.10", + "fuchsia-zircon", + "fuchsia-zircon-sys", + "iovec", + "kernel32-sys", + "libc", + "log", + "miow 0.2.2", + "net2", + "slab", + "winapi 0.2.8", +] + +[[package]] +name = "mio" +version = "0.7.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8067b404fe97c70829f082dec8bcf4f71225d7eaea1d8645349cb76fa06205cc" +dependencies = [ + "libc", + "log", + "miow 0.3.7", + "ntapi", + "winapi 0.3.9", +] + +[[package]] +name = "mio-extras" +version = "2.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52403fe290012ce777c4626790c8951324a2b9e3316b3143779c72b029742f19" +dependencies = [ + "lazycell", + "log", + "mio 0.6.23", + "slab", +] + +[[package]] +name = "miow" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebd808424166322d4a38da87083bfddd3ac4c131334ed55856112eb06d46944d" +dependencies = [ + "kernel32-sys", + "net2", + "winapi 0.2.8", + "ws2_32-sys", +] + +[[package]] +name = "miow" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9f1c5b025cda876f66ef43a113f91ebc9f4ccef34843000e0adf6ebbab84e21" +dependencies = [ + "winapi 0.3.9", +] + +[[package]] +name = "module-primitives" +version = "3.0.0" +dependencies = [ + "bitmask", + "parity-scale-codec", + "serde", + "sp-core", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "more-asserts" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7843ec2de400bcbc6a6328c958dc38e5359da6e93e72e37bc5246bf1ae776389" + +[[package]] +name = "multiaddr" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48ee4ea82141951ac6379f964f71b20876d43712bea8faf6dd1a375e08a46499" +dependencies = [ + "arrayref", + "bs58", + "byteorder", + "data-encoding", + "multihash 0.14.0", + "percent-encoding 2.1.0", + "serde", + "static_assertions", + "unsigned-varint 0.7.1", + "url 2.2.2", +] + +[[package]] +name = "multibase" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b78c60039650ff12e140ae867ef5299a58e19dded4d334c849dc7177083667e2" +dependencies = [ + "base-x", + "data-encoding", + "data-encoding-macro", +] + +[[package]] +name = "multihash" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4dac63698b887d2d929306ea48b63760431ff8a24fac40ddb22f9c7f49fb7cab" +dependencies = [ + "blake2b_simd", + "blake2s_simd", + "blake3", + "digest 0.9.0", + "generic-array 0.14.5", + "multihash-derive", + "sha2 0.9.9", + "sha3", + "unsigned-varint 0.5.1", +] + +[[package]] +name = "multihash" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "752a61cd890ff691b4411423d23816d5866dd5621e4d1c5687a53b94b5a979d8" +dependencies = [ + "digest 0.9.0", + "generic-array 0.14.5", + "multihash-derive", + "sha2 0.9.9", + "unsigned-varint 0.7.1", +] + +[[package]] +name = "multihash-derive" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "424f6e86263cd5294cbd7f1e95746b95aca0e0d66bff31e5a40d6baa87b4aa99" +dependencies = [ + "proc-macro-crate 1.1.0", + "proc-macro-error", + "proc-macro2", + "quote", + "syn", + "synstructure", +] + +[[package]] +name = "multimap" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" + +[[package]] +name = "multistream-select" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56a336acba8bc87c8876f6425407dbbe6c417bf478b22015f8fb0994ef3bc0ab" +dependencies = [ + "bytes 1.1.0", + "futures 0.3.19", + "log", + "pin-project 1.0.10", + "smallvec", + "unsigned-varint 0.7.1", +] + +[[package]] +name = "nalgebra" +version = "0.27.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "462fffe4002f4f2e1f6a9dcf12cc1a6fc0e15989014efc02a941d3e0f5dc2120" +dependencies = [ + "approx", + "matrixmultiply", + "nalgebra-macros", + "num-complex", + "num-rational 0.4.0", + "num-traits", + "rand 0.8.4", + "rand_distr", + "simba", + "typenum", +] + +[[package]] +name = "nalgebra-macros" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01fcc0b8149b4632adc89ac3b7b31a12fb6099a0317a4eb2ebff574ef7de7218" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "names" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10a8690bf09abf659851e58cd666c3d37ac6af07c2bd7a9e332cfba471715775" +dependencies = [ + "rand 0.8.4", +] + +[[package]] +name = "net2" +version = "0.2.37" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "391630d12b68002ae1e25e8f974306474966550ad82dac6886fb8910c19568ae" +dependencies = [ + "cfg-if 0.1.10", + "libc", + "winapi 0.3.9", +] + +[[package]] +name = "nodrop" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb" + +[[package]] +name = "nohash-hasher" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451" + +[[package]] +name = "nom" +version = "7.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b1d11e1ef389c76fe5b81bcaf2ea32cf88b62bc494e19f493d0b30e7a930109" +dependencies = [ + "memchr", + "minimal-lexical", + "version_check", +] + +[[package]] +name = "ntapi" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f6bb902e437b6d86e03cce10a7e2af662292c5dfef23b65899ea3ac9354ad44" +dependencies = [ + "winapi 0.3.9", +] + +[[package]] +name = "num-bigint" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "090c7f9998ee0ff65aa5b723e4009f7b217707f1fb5ea551329cc4d6231fb304" +dependencies = [ + "autocfg", + "num-integer", + "num-traits", +] + +[[package]] +name = "num-complex" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26873667bbbb7c5182d4a37c1add32cdf09f841af72da53318fdb81543c15085" +dependencies = [ + "num-traits", +] + +[[package]] +name = "num-integer" +version = "0.1.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2cc698a63b549a70bc047073d2949cce27cd1c7b0a4a862d08a8031bc2801db" +dependencies = [ + "autocfg", + "num-traits", +] + +[[package]] +name = "num-rational" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c000134b5dbf44adc5cb772486d335293351644b801551abe8f75c84cfa4aef" +dependencies = [ + "autocfg", + "num-bigint", + "num-integer", + "num-traits", +] + +[[package]] +name = "num-rational" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d41702bd167c2df5520b384281bc111a4b5efcf7fbc4c9c222c815b07e0a6a6a" +dependencies = [ + "autocfg", + "num-integer", + "num-traits", +] + +[[package]] +name = "num-traits" +version = "0.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a64b1ec5cda2586e284722486d802acf1f7dbdc623e2bfc57e65ca1cd099290" +dependencies = [ + "autocfg", + "libm", +] + +[[package]] +name = "num_cpus" +version = "1.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19e64526ebdee182341572e50e9ad03965aa510cd94427a4549448f285e957a1" +dependencies = [ + "hermit-abi", + "libc", +] + +[[package]] +name = "object" +version = "0.27.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67ac1d3f9a1d3616fd9a60c8d74296f22406a238b6a72f5cc1e6f314df4ffbf9" +dependencies = [ + "crc32fast", + "indexmap", + "memchr", +] + +[[package]] +name = "once_cell" +version = "1.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da32515d9f6e6e489d7bc9d84c71b060db7247dc035bbe44eac88cf87486d8d5" + +[[package]] +name = "opaque-debug" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c" + +[[package]] +name = "opaque-debug" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" + +[[package]] +name = "open-metrics-client" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7337d80c23c2d8b1349563981bc4fb531220733743ba8115454a67b181173f0d" +dependencies = [ + "dtoa", + "itoa 0.4.8", + "open-metrics-client-derive-text-encode", + "owning_ref", +] + +[[package]] +name = "open-metrics-client-derive-text-encode" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a15c83b586f00268c619c1cb3340ec1a6f59dd9ba1d9833a273a68e6d5cd8ffc" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "openssl-probe" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" + +[[package]] +name = "ordered-float" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3305af35278dd29f46fcdd139e0b1fbfae2153f0e5928b39b035542dd31e37b7" +dependencies = [ + "num-traits", +] + +[[package]] +name = "owning_ref" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ff55baddef9e4ad00f88b6c743a2a8062d4c6ade126c2a528644b8e444d52ce" +dependencies = [ + "stable_deref_trait", +] + +[[package]] +name = "pallet-aura" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-support", + "frame-system", + "pallet-timestamp", + "parity-scale-codec", + "scale-info", + "sp-application-crypto", + "sp-consensus-aura", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-authority-discovery" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-support", + "frame-system", + "pallet-session", + "parity-scale-codec", + "scale-info", + "sp-application-crypto", + "sp-authority-discovery", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-authorship" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-support", + "frame-system", + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "sp-authorship", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-babe" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "pallet-authorship", + "pallet-session", + "pallet-timestamp", + "parity-scale-codec", + "scale-info", + "sp-application-crypto", + "sp-consensus-babe", + "sp-consensus-vrf", + "sp-io", + "sp-runtime", + "sp-session", + "sp-staking", + "sp-std", +] + +[[package]] +name = "pallet-bags-list" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-election-provider-support", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-balances" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-beefy" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "beefy-primitives", + "frame-support", + "frame-system", + "pallet-session", + "parity-scale-codec", + "scale-info", + "serde", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-beefy-mmr" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "beefy-merkle-tree", + "beefy-primitives", + "frame-support", + "frame-system", + "hex", + "libsecp256k1", + "log", + "pallet-beefy", + "pallet-mmr", + "pallet-mmr-primitives", + "pallet-session", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-bounties" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-support", + "frame-system", + "log", + "pallet-treasury", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-collator-selection" +version = "3.0.0" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.13#05cc5f0e2acacc18796f45ffa3c7b4626fd1046d" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "pallet-authorship", + "pallet-session", + "parity-scale-codec", + "rand 0.7.3", + "scale-info", + "serde", + "sp-runtime", + "sp-staking", + "sp-std", +] + +[[package]] +name = "pallet-collective" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-democracy" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "serde", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-election-provider-multi-phase" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-election-provider-support", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-npos-elections", + "sp-runtime", + "sp-std", + "static_assertions", +] + +[[package]] +name = "pallet-elections-phragmen" +version = "5.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-npos-elections", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-grandpa" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "pallet-authorship", + "pallet-session", + "parity-scale-codec", + "scale-info", + "sp-application-crypto", + "sp-core", + "sp-finality-grandpa", + "sp-io", + "sp-runtime", + "sp-session", + "sp-staking", + "sp-std", +] + +[[package]] +name = "pallet-identity" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "enumflags2", + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-im-online" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-support", + "frame-system", + "log", + "pallet-authorship", + "parity-scale-codec", + "scale-info", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std", +] + +[[package]] +name = "pallet-indices" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-keyring", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-membership" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-mmr" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "ckb-merkle-mountain-range", + "frame-benchmarking", + "frame-support", + "frame-system", + "pallet-mmr-primitives", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-mmr-primitives" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "serde", + "sp-api", + "sp-core", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-mmr-rpc" +version = "3.0.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "jsonrpc-core", + "jsonrpc-core-client", + "jsonrpc-derive", + "pallet-mmr-primitives", + "parity-scale-codec", + "serde", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-runtime", +] + +[[package]] +name = "pallet-multisig" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-nicks" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-offences" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-support", + "frame-system", + "log", + "pallet-balances", + "parity-scale-codec", + "scale-info", + "serde", + "sp-runtime", + "sp-staking", + "sp-std", +] + +[[package]] +name = "pallet-proxy" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-randomness-collective-flip" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-support", + "frame-system", + "parity-scale-codec", + "safe-mix", + "scale-info", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-scheduler" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-session" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-support", + "frame-system", + "impl-trait-for-tuples", + "log", + "pallet-timestamp", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", + "sp-session", + "sp-staking", + "sp-std", + "sp-trie", +] + +[[package]] +name = "pallet-staking" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-election-provider-support", + "frame-support", + "frame-system", + "log", + "pallet-authorship", + "pallet-session", + "parity-scale-codec", + "scale-info", + "serde", + "sp-application-crypto", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std", +] + +[[package]] +name = "pallet-staking-reward-curve" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "proc-macro-crate 1.1.0", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "pallet-sudo" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-timestamp" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-inherents", + "sp-io", + "sp-runtime", + "sp-std", + "sp-timestamp", +] + +[[package]] +name = "pallet-tips" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-support", + "frame-system", + "log", + "pallet-treasury", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-transaction-payment" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "serde", + "smallvec", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-transaction-payment-rpc" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "jsonrpc-core", + "jsonrpc-core-client", + "jsonrpc-derive", + "pallet-transaction-payment-rpc-runtime-api", + "parity-scale-codec", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-rpc", + "sp-runtime", +] + +[[package]] +name = "pallet-transaction-payment-rpc-runtime-api" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "pallet-transaction-payment", + "parity-scale-codec", + "sp-api", + "sp-runtime", +] + +[[package]] +name = "pallet-treasury" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-support", + "frame-system", + "impl-trait-for-tuples", + "pallet-balances", + "parity-scale-codec", + "scale-info", + "serde", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-utility" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-vesting" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-xcm" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core", + "sp-runtime", + "sp-std", + "xcm", + "xcm-executor", +] + +[[package]] +name = "parachain-info" +version = "0.1.0" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.13#05cc5f0e2acacc18796f45ffa3c7b4626fd1046d" +dependencies = [ + "cumulus-primitives-core", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "serde", +] + +[[package]] +name = "parity-db" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78a95abf24f1097c6e3181abbbbfc3630b3b5e681470940f719b69acb4911c7f" +dependencies = [ + "blake2-rfc", + "crc32fast", + "fs2", + "hex", + "libc", + "log", + "lz4", + "memmap2 0.2.3", + "parking_lot 0.11.2", + "rand 0.8.4", + "snap", +] + +[[package]] +name = "parity-scale-codec" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "373b1a4c1338d9cd3d1fa53b3a11bdab5ab6bd80a20f7f7becd76953ae2be909" +dependencies = [ + "arrayvec 0.7.2", + "bitvec", + "byte-slice-cast", + "impl-trait-for-tuples", + "parity-scale-codec-derive", + "serde", +] + +[[package]] +name = "parity-scale-codec-derive" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1557010476e0595c9b568d16dcfb81b93cdeb157612726f5170d31aa707bed27" +dependencies = [ + "proc-macro-crate 1.1.0", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "parity-send-wrapper" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa9777aa91b8ad9dd5aaa04a9b6bcb02c7f1deb952fca5a66034d5e63afc5c6f" + +[[package]] +name = "parity-tokio-ipc" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9981e32fb75e004cc148f5fb70342f393830e0a4aa62e3cc93b50976218d42b6" +dependencies = [ + "futures 0.3.19", + "libc", + "log", + "rand 0.7.3", + "tokio", + "winapi 0.3.9", +] + +[[package]] +name = "parity-util-mem" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f4cb4e169446179cbc6b8b6320cc9fca49bd2e94e8db25f25f200a8ea774770" +dependencies = [ + "cfg-if 1.0.0", + "ethereum-types", + "hashbrown", + "impl-trait-for-tuples", + "lru 0.6.6", + "parity-util-mem-derive", + "parking_lot 0.11.2", + "primitive-types", + "smallvec", + "winapi 0.3.9", +] + +[[package]] +name = "parity-util-mem-derive" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2" +dependencies = [ + "proc-macro2", + "syn", + "synstructure", +] + +[[package]] +name = "parity-wasm" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16ad52817c4d343339b3bc2e26861bd21478eda0b7509acf83505727000512ac" +dependencies = [ + "byteorder", +] + +[[package]] +name = "parity-wasm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be5e13c266502aadf83426d87d81a0f5d1ef45b8027f5a471c360abfe4bfae92" + +[[package]] +name = "parity-ws" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5983d3929ad50f12c3eb9a6743f19d691866ecd44da74c0a3308c3f8a56df0c6" +dependencies = [ + "byteorder", + "bytes 0.4.12", + "httparse", + "log", + "mio 0.6.23", + "mio-extras", + "rand 0.7.3", + "sha-1 0.8.2", + "slab", + "url 2.2.2", +] + +[[package]] +name = "parking" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "427c3892f9e783d91cc128285287e70a59e206ca452770ece88a76f7a3eddd72" + +[[package]] +name = "parking_lot" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3a704eb390aafdc107b0e392f56a82b668e3a71366993b5340f5833fd62505e" +dependencies = [ + "lock_api 0.3.4", + "parking_lot_core 0.7.2", +] + +[[package]] +name = "parking_lot" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99" +dependencies = [ + "instant", + "lock_api 0.4.5", + "parking_lot_core 0.8.5", +] + +[[package]] +name = "parking_lot_core" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d58c7c768d4ba344e3e8d72518ac13e259d7c7ade24167003b8488e10b6740a3" +dependencies = [ + "cfg-if 0.1.10", + "cloudabi", + "libc", + "redox_syscall 0.1.57", + "smallvec", + "winapi 0.3.9", +] + +[[package]] +name = "parking_lot_core" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d76e8e1493bcac0d2766c42737f34458f1c8c50c0d23bcb24ea953affb273216" +dependencies = [ + "cfg-if 1.0.0", + "instant", + "libc", + "redox_syscall 0.2.10", + "smallvec", + "winapi 0.3.9", +] + +[[package]] +name = "paste" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0744126afe1a6dd7f394cb50a716dbe086cb06e255e53d8d0185d82828358fb5" + +[[package]] +name = "pbkdf2" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "216eaa586a190f0a738f2f918511eecfa90f13295abec0e457cdebcceda80cbd" +dependencies = [ + "crypto-mac 0.8.0", +] + +[[package]] +name = "pbkdf2" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d95f5254224e617595d2cc3cc73ff0a5eaf2637519e25f03388154e9378b6ffa" +dependencies = [ + "crypto-mac 0.11.1", +] + +[[package]] +name = "peeking_take_while" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" + +[[package]] +name = "percent-encoding" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31010dd2e1ac33d5b46a5b413495239882813e0369f8ed8a5e266f173602f831" + +[[package]] +name = "percent-encoding" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e" + +[[package]] +name = "pest" +version = "2.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10f4872ae94d7b90ae48754df22fd42ad52ce740b8f370b03da4835417403e53" +dependencies = [ + "ucd-trie", +] + +[[package]] +name = "pest_derive" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "833d1ae558dc601e9a60366421196a8d94bc0ac980476d0b67e1d0988d72b2d0" +dependencies = [ + "pest", + "pest_generator", +] + +[[package]] +name = "pest_generator" +version = "2.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99b8db626e31e5b81787b9783425769681b347011cc59471e33ea46d2ea0cf55" +dependencies = [ + "pest", + "pest_meta", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "pest_meta" +version = "2.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "54be6e404f5317079812fc8f9f5279de376d8856929e21c184ecf6bbd692a11d" +dependencies = [ + "maplit", + "pest", + "sha-1 0.8.2", +] + +[[package]] +name = "petgraph" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a13a2fa9d0b63e5f22328828741e523766fff0ee9e779316902290dff3f824f" +dependencies = [ + "fixedbitset", + "indexmap", +] + +[[package]] +name = "pin-project" +version = "0.4.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9615c18d31137579e9ff063499264ddc1278e7b1982757ebc111028c4d1dc909" +dependencies = [ + "pin-project-internal 0.4.29", +] + +[[package]] +name = "pin-project" +version = "1.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "58ad3879ad3baf4e44784bc6a718a8698867bb991f8ce24d1bcbe2cfb4c3a75e" +dependencies = [ + "pin-project-internal 1.0.10", +] + +[[package]] +name = "pin-project-internal" +version = "0.4.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "044964427019eed9d49d9d5bbce6047ef18f37100ea400912a9fa4a3523ab12a" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "pin-project-internal" +version = "1.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "744b6f092ba29c3650faf274db506afd39944f48420f6c86b17cfe0ee1cb36bb" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "pin-project-lite" +version = "0.1.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777" + +[[package]] +name = "pin-project-lite" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e280fbe77cc62c91527259e9442153f4688736748d24660126286329742b4c6c" + +[[package]] +name = "pin-utils" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" + +[[package]] +name = "pkg-config" +version = "0.3.24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "58893f751c9b0412871a09abd62ecd2a00298c6c83befa223ef98c52aef40cbe" + +[[package]] +name = "platforms" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8d0eef3571242013a0d5dc84861c3ae4a652e56e12adf8bdc26ff5f8cb34c94" + +[[package]] +name = "polkadot-approval-distribution" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "futures 0.3.19", + "polkadot-node-network-protocol", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-primitives", + "tracing", +] + +[[package]] +name = "polkadot-availability-bitfield-distribution" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "futures 0.3.19", + "polkadot-node-network-protocol", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-primitives", + "tracing", +] + +[[package]] +name = "polkadot-availability-distribution" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "derive_more", + "futures 0.3.19", + "lru 0.7.2", + "parity-scale-codec", + "polkadot-erasure-coding", + "polkadot-node-network-protocol", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-primitives", + "rand 0.8.4", + "sp-core", + "sp-keystore", + "thiserror", + "tracing", +] + +[[package]] +name = "polkadot-availability-recovery" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "futures 0.3.19", + "lru 0.7.2", + "parity-scale-codec", + "polkadot-erasure-coding", + "polkadot-node-network-protocol", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-primitives", + "rand 0.8.4", + "sc-network", + "thiserror", + "tracing", +] + +[[package]] +name = "polkadot-cli" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "frame-benchmarking-cli", + "futures 0.3.19", + "log", + "polkadot-node-core-pvf", + "polkadot-service", + "sc-cli", + "sc-service", + "sp-core", + "sp-trie", + "structopt", + "substrate-build-script-utils", + "thiserror", + "try-runtime-cli", +] + +[[package]] +name = "polkadot-client" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "beefy-primitives", + "frame-benchmarking", + "frame-system-rpc-runtime-api", + "pallet-mmr-primitives", + "pallet-transaction-payment-rpc-runtime-api", + "polkadot-primitives", + "polkadot-runtime", + "sc-client-api", + "sc-consensus", + "sc-executor", + "sc-service", + "sp-api", + "sp-authority-discovery", + "sp-block-builder", + "sp-blockchain", + "sp-consensus", + "sp-consensus-babe", + "sp-finality-grandpa", + "sp-offchain", + "sp-runtime", + "sp-session", + "sp-storage", + "sp-transaction-pool", +] + +[[package]] +name = "polkadot-collator-protocol" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "always-assert", + "derive_more", + "futures 0.3.19", + "futures-timer 3.0.2", + "polkadot-node-network-protocol", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-primitives", + "sp-core", + "sp-keystore", + "sp-runtime", + "thiserror", + "tracing", +] + +[[package]] +name = "polkadot-core-primitives" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "parity-scale-codec", + "parity-util-mem", + "scale-info", + "sp-core", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "polkadot-dispute-distribution" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "derive_more", + "futures 0.3.19", + "lru 0.7.2", + "parity-scale-codec", + "polkadot-erasure-coding", + "polkadot-node-network-protocol", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-primitives", + "sc-network", + "sp-application-crypto", + "sp-keystore", + "thiserror", + "tracing", +] + +[[package]] +name = "polkadot-erasure-coding" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "parity-scale-codec", + "polkadot-node-primitives", + "polkadot-primitives", + "reed-solomon-novelpoly", + "sp-core", + "sp-trie", + "thiserror", +] + +[[package]] +name = "polkadot-gossip-support" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "futures 0.3.19", + "futures-timer 3.0.2", + "polkadot-node-network-protocol", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-primitives", + "rand 0.8.4", + "rand_chacha 0.3.1", + "sc-network", + "sp-application-crypto", + "sp-core", + "sp-keystore", + "tracing", +] + +[[package]] +name = "polkadot-network-bridge" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "async-trait", + "futures 0.3.19", + "parity-scale-codec", + "parking_lot 0.11.2", + "polkadot-node-network-protocol", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-overseer", + "polkadot-primitives", + "sc-network", + "sp-consensus", + "tracing", +] + +[[package]] +name = "polkadot-node-collation-generation" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "futures 0.3.19", + "parity-scale-codec", + "polkadot-erasure-coding", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-primitives", + "sp-core", + "sp-maybe-compressed-blob", + "thiserror", + "tracing", +] + +[[package]] +name = "polkadot-node-core-approval-voting" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "bitvec", + "derive_more", + "futures 0.3.19", + "futures-timer 3.0.2", + "kvdb", + "lru 0.7.2", + "merlin", + "parity-scale-codec", + "polkadot-node-jaeger", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-overseer", + "polkadot-primitives", + "sc-keystore", + "schnorrkel", + "sp-application-crypto", + "sp-consensus", + "sp-consensus-slots", + "sp-runtime", + "tracing", +] + +[[package]] +name = "polkadot-node-core-av-store" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "bitvec", + "futures 0.3.19", + "futures-timer 3.0.2", + "kvdb", + "parity-scale-codec", + "polkadot-erasure-coding", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-overseer", + "polkadot-primitives", + "thiserror", + "tracing", +] + +[[package]] +name = "polkadot-node-core-backing" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "bitvec", + "futures 0.3.19", + "polkadot-erasure-coding", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-primitives", + "polkadot-statement-table", + "sp-keystore", + "thiserror", + "tracing", +] + +[[package]] +name = "polkadot-node-core-bitfield-signing" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "futures 0.3.19", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-primitives", + "sp-keystore", + "thiserror", + "tracing", + "wasm-timer", +] + +[[package]] +name = "polkadot-node-core-candidate-validation" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "async-trait", + "futures 0.3.19", + "parity-scale-codec", + "polkadot-node-core-pvf", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-parachain", + "polkadot-primitives", + "sp-maybe-compressed-blob", + "tracing", +] + +[[package]] +name = "polkadot-node-core-chain-api" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "futures 0.3.19", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-primitives", + "sc-client-api", + "sc-consensus-babe", + "sp-blockchain", + "tracing", +] + +[[package]] +name = "polkadot-node-core-chain-selection" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "futures 0.3.19", + "futures-timer 3.0.2", + "kvdb", + "parity-scale-codec", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-primitives", + "thiserror", + "tracing", +] + +[[package]] +name = "polkadot-node-core-dispute-coordinator" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "bitvec", + "derive_more", + "futures 0.3.19", + "kvdb", + "parity-scale-codec", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-primitives", + "sc-keystore", + "thiserror", + "tracing", +] + +[[package]] +name = "polkadot-node-core-dispute-participation" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "futures 0.3.19", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-primitives", + "thiserror", + "tracing", +] + +[[package]] +name = "polkadot-node-core-parachains-inherent" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "async-trait", + "futures 0.3.19", + "futures-timer 3.0.2", + "polkadot-node-subsystem", + "polkadot-primitives", + "sp-blockchain", + "sp-inherents", + "sp-runtime", + "thiserror", + "tracing", +] + +[[package]] +name = "polkadot-node-core-provisioner" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "bitvec", + "futures 0.3.19", + "futures-timer 3.0.2", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-primitives", + "thiserror", + "tracing", +] + +[[package]] +name = "polkadot-node-core-pvf" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "always-assert", + "assert_matches", + "async-process", + "async-std", + "futures 0.3.19", + "futures-timer 3.0.2", + "libc", + "parity-scale-codec", + "pin-project 1.0.10", + "polkadot-core-primitives", + "polkadot-node-subsystem-util", + "polkadot-parachain", + "rand 0.8.4", + "sc-executor", + "sc-executor-common", + "sc-executor-wasmtime", + "slotmap", + "sp-core", + "sp-externalities", + "sp-io", + "sp-maybe-compressed-blob", + "sp-tracing", + "sp-wasm-interface", + "tracing", +] + +[[package]] +name = "polkadot-node-core-runtime-api" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "futures 0.3.19", + "memory-lru", + "parity-util-mem", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-primitives", + "sp-api", + "sp-authority-discovery", + "sp-consensus-babe", + "sp-core", + "tracing", +] + +[[package]] +name = "polkadot-node-jaeger" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "async-std", + "lazy_static", + "log", + "mick-jaeger", + "parity-scale-codec", + "parking_lot 0.11.2", + "polkadot-node-primitives", + "polkadot-primitives", + "sc-network", + "sp-core", + "thiserror", +] + +[[package]] +name = "polkadot-node-metrics" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "futures 0.3.19", + "futures-timer 3.0.2", + "metered-channel", + "substrate-prometheus-endpoint", +] + +[[package]] +name = "polkadot-node-network-protocol" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "async-trait", + "derive_more", + "futures 0.3.19", + "parity-scale-codec", + "polkadot-node-jaeger", + "polkadot-node-primitives", + "polkadot-primitives", + "sc-authority-discovery", + "sc-network", + "strum", + "thiserror", +] + +[[package]] +name = "polkadot-node-primitives" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "bounded-vec", + "futures 0.3.19", + "parity-scale-codec", + "polkadot-parachain", + "polkadot-primitives", + "schnorrkel", + "serde", + "sp-application-crypto", + "sp-consensus-babe", + "sp-consensus-vrf", + "sp-core", + "sp-keystore", + "sp-maybe-compressed-blob", + "thiserror", + "zstd", +] + +[[package]] +name = "polkadot-node-subsystem" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "polkadot-node-jaeger", + "polkadot-node-subsystem-types", + "polkadot-overseer", +] + +[[package]] +name = "polkadot-node-subsystem-types" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "derive_more", + "futures 0.3.19", + "polkadot-node-jaeger", + "polkadot-node-network-protocol", + "polkadot-node-primitives", + "polkadot-overseer-gen", + "polkadot-primitives", + "polkadot-statement-table", + "sc-network", + "smallvec", + "substrate-prometheus-endpoint", + "thiserror", +] + +[[package]] +name = "polkadot-node-subsystem-util" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "async-trait", + "derive_more", + "futures 0.3.19", + "itertools", + "lru 0.7.2", + "metered-channel", + "parity-scale-codec", + "pin-project 1.0.10", + "polkadot-node-jaeger", + "polkadot-node-metrics", + "polkadot-node-network-protocol", + "polkadot-node-subsystem", + "polkadot-overseer", + "polkadot-primitives", + "rand 0.8.4", + "sp-application-crypto", + "sp-core", + "sp-keystore", + "thiserror", + "tracing", +] + +[[package]] +name = "polkadot-overseer" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "futures 0.3.19", + "futures-timer 3.0.2", + "lru 0.7.2", + "parity-util-mem", + "parking_lot 0.11.2", + "polkadot-node-metrics", + "polkadot-node-network-protocol", + "polkadot-node-primitives", + "polkadot-node-subsystem-types", + "polkadot-overseer-gen", + "polkadot-primitives", + "sc-client-api", + "sp-api", + "tracing", +] + +[[package]] +name = "polkadot-overseer-gen" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "async-trait", + "futures 0.3.19", + "futures-timer 3.0.2", + "metered-channel", + "pin-project 1.0.10", + "polkadot-node-network-protocol", + "polkadot-node-primitives", + "polkadot-overseer-gen-proc-macro", + "thiserror", + "tracing", +] + +[[package]] +name = "polkadot-overseer-gen-proc-macro" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "proc-macro-crate 1.1.0", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "polkadot-parachain" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "derive_more", + "frame-support", + "parity-scale-codec", + "parity-util-mem", + "polkadot-core-primitives", + "scale-info", + "serde", + "sp-core", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "polkadot-primitives" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "bitvec", + "frame-system", + "hex-literal", + "parity-scale-codec", + "parity-util-mem", + "polkadot-core-primitives", + "polkadot-parachain", + "scale-info", + "serde", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", + "sp-authority-discovery", + "sp-consensus-slots", + "sp-core", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-staking", + "sp-std", + "sp-trie", + "sp-version", +] + +[[package]] +name = "polkadot-rpc" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "beefy-gadget", + "beefy-gadget-rpc", + "jsonrpc-core", + "pallet-mmr-rpc", + "pallet-transaction-payment-rpc", + "polkadot-primitives", + "sc-chain-spec", + "sc-client-api", + "sc-consensus-babe", + "sc-consensus-babe-rpc", + "sc-consensus-epochs", + "sc-finality-grandpa", + "sc-finality-grandpa-rpc", + "sc-rpc", + "sc-sync-state-rpc", + "sc-transaction-pool-api", + "sp-api", + "sp-block-builder", + "sp-blockchain", + "sp-consensus", + "sp-consensus-babe", + "sp-keystore", + "sp-runtime", + "substrate-frame-rpc-system", +] + +[[package]] +name = "polkadot-runtime" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "beefy-primitives", + "bitvec", + "frame-election-provider-support", + "frame-executive", + "frame-support", + "frame-system", + "frame-system-rpc-runtime-api", + "frame-try-runtime", + "log", + "pallet-authority-discovery", + "pallet-authorship", + "pallet-babe", + "pallet-bags-list", + "pallet-balances", + "pallet-bounties", + "pallet-collective", + "pallet-democracy", + "pallet-election-provider-multi-phase", + "pallet-elections-phragmen", + "pallet-grandpa", + "pallet-identity", + "pallet-im-online", + "pallet-indices", + "pallet-membership", + "pallet-mmr-primitives", + "pallet-multisig", + "pallet-nicks", + "pallet-offences", + "pallet-proxy", + "pallet-scheduler", + "pallet-session", + "pallet-staking", + "pallet-staking-reward-curve", + "pallet-timestamp", + "pallet-tips", + "pallet-transaction-payment", + "pallet-transaction-payment-rpc-runtime-api", + "pallet-treasury", + "pallet-utility", + "pallet-vesting", + "pallet-xcm", + "parity-scale-codec", + "polkadot-primitives", + "polkadot-runtime-common", + "polkadot-runtime-parachains", + "rustc-hex", + "scale-info", + "serde", + "serde_derive", + "smallvec", + "sp-api", + "sp-authority-discovery", + "sp-block-builder", + "sp-consensus-babe", + "sp-core", + "sp-inherents", + "sp-io", + "sp-npos-elections", + "sp-offchain", + "sp-runtime", + "sp-session", + "sp-staking", + "sp-std", + "sp-transaction-pool", + "sp-version", + "static_assertions", + "substrate-wasm-builder", + "xcm", + "xcm-builder", + "xcm-executor", +] + +[[package]] +name = "polkadot-runtime-common" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "beefy-primitives", + "bitvec", + "frame-election-provider-support", + "frame-support", + "frame-system", + "impl-trait-for-tuples", + "libsecp256k1", + "log", + "pallet-authorship", + "pallet-bags-list", + "pallet-balances", + "pallet-beefy-mmr", + "pallet-election-provider-multi-phase", + "pallet-session", + "pallet-staking", + "pallet-timestamp", + "pallet-transaction-payment", + "pallet-treasury", + "pallet-vesting", + "parity-scale-codec", + "polkadot-primitives", + "polkadot-runtime-parachains", + "rustc-hex", + "scale-info", + "serde", + "serde_derive", + "slot-range-helper", + "sp-api", + "sp-core", + "sp-inherents", + "sp-io", + "sp-npos-elections", + "sp-runtime", + "sp-session", + "sp-staking", + "sp-std", + "static_assertions", + "xcm", +] + +[[package]] +name = "polkadot-runtime-parachains" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "bitflags", + "bitvec", + "derive_more", + "frame-support", + "frame-system", + "log", + "pallet-authority-discovery", + "pallet-authorship", + "pallet-babe", + "pallet-balances", + "pallet-session", + "pallet-staking", + "pallet-timestamp", + "pallet-vesting", + "parity-scale-codec", + "polkadot-primitives", + "rand 0.8.4", + "rand_chacha 0.3.1", + "rustc-hex", + "scale-info", + "serde", + "sp-api", + "sp-core", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-session", + "sp-staking", + "sp-std", + "xcm", + "xcm-executor", +] + +[[package]] +name = "polkadot-service" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "async-trait", + "beefy-gadget", + "beefy-primitives", + "frame-system-rpc-runtime-api", + "futures 0.3.19", + "hex-literal", + "kvdb", + "kvdb-rocksdb", + "lru 0.7.2", + "pallet-babe", + "pallet-im-online", + "pallet-mmr-primitives", + "pallet-staking", + "pallet-transaction-payment-rpc-runtime-api", + "polkadot-approval-distribution", + "polkadot-availability-bitfield-distribution", + "polkadot-availability-distribution", + "polkadot-availability-recovery", + "polkadot-client", + "polkadot-collator-protocol", + "polkadot-dispute-distribution", + "polkadot-gossip-support", + "polkadot-network-bridge", + "polkadot-node-collation-generation", + "polkadot-node-core-approval-voting", + "polkadot-node-core-av-store", + "polkadot-node-core-backing", + "polkadot-node-core-bitfield-signing", + "polkadot-node-core-candidate-validation", + "polkadot-node-core-chain-api", + "polkadot-node-core-chain-selection", + "polkadot-node-core-dispute-coordinator", + "polkadot-node-core-dispute-participation", + "polkadot-node-core-parachains-inherent", + "polkadot-node-core-provisioner", + "polkadot-node-core-runtime-api", + "polkadot-node-network-protocol", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-overseer", + "polkadot-parachain", + "polkadot-primitives", + "polkadot-rpc", + "polkadot-runtime", + "polkadot-runtime-parachains", + "polkadot-statement-distribution", + "sc-authority-discovery", + "sc-basic-authorship", + "sc-block-builder", + "sc-chain-spec", + "sc-client-api", + "sc-client-db", + "sc-consensus", + "sc-consensus-babe", + "sc-consensus-slots", + "sc-consensus-uncles", + "sc-executor", + "sc-finality-grandpa", + "sc-keystore", + "sc-network", + "sc-offchain", + "sc-service", + "sc-sync-state-rpc", + "sc-telemetry", + "sc-transaction-pool", + "serde", + "sp-api", + "sp-authority-discovery", + "sp-block-builder", + "sp-blockchain", + "sp-consensus", + "sp-consensus-babe", + "sp-core", + "sp-finality-grandpa", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-offchain", + "sp-runtime", + "sp-session", + "sp-state-machine", + "sp-storage", + "sp-timestamp", + "sp-transaction-pool", + "sp-trie", + "substrate-prometheus-endpoint", + "thiserror", + "tracing", +] + +[[package]] +name = "polkadot-statement-distribution" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "arrayvec 0.5.2", + "derive_more", + "futures 0.3.19", + "indexmap", + "parity-scale-codec", + "polkadot-node-network-protocol", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-primitives", + "sp-keystore", + "sp-staking", + "thiserror", + "tracing", +] + +[[package]] +name = "polkadot-statement-table" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "parity-scale-codec", + "polkadot-primitives", + "sp-core", +] + +[[package]] +name = "polkadot-test-runtime" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "beefy-primitives", + "bitvec", + "frame-election-provider-support", + "frame-executive", + "frame-support", + "frame-system", + "frame-system-rpc-runtime-api", + "log", + "pallet-authority-discovery", + "pallet-authorship", + "pallet-babe", + "pallet-balances", + "pallet-grandpa", + "pallet-indices", + "pallet-mmr-primitives", + "pallet-nicks", + "pallet-offences", + "pallet-session", + "pallet-staking", + "pallet-staking-reward-curve", + "pallet-sudo", + "pallet-timestamp", + "pallet-transaction-payment", + "pallet-transaction-payment-rpc-runtime-api", + "pallet-vesting", + "pallet-xcm", + "parity-scale-codec", + "polkadot-parachain", + "polkadot-primitives", + "polkadot-runtime-common", + "polkadot-runtime-parachains", + "rustc-hex", + "scale-info", + "serde", + "serde_derive", + "smallvec", + "sp-api", + "sp-authority-discovery", + "sp-block-builder", + "sp-consensus-babe", + "sp-core", + "sp-inherents", + "sp-io", + "sp-offchain", + "sp-runtime", + "sp-session", + "sp-staking", + "sp-std", + "sp-transaction-pool", + "sp-version", + "substrate-wasm-builder", + "xcm", + "xcm-builder", + "xcm-executor", +] + +[[package]] +name = "polkadot-test-service" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "frame-benchmarking", + "frame-system", + "futures 0.1.31", + "futures 0.3.19", + "hex", + "pallet-balances", + "pallet-staking", + "pallet-transaction-payment", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-overseer", + "polkadot-parachain", + "polkadot-primitives", + "polkadot-rpc", + "polkadot-runtime-common", + "polkadot-runtime-parachains", + "polkadot-service", + "polkadot-test-runtime", + "rand 0.8.4", + "sc-authority-discovery", + "sc-chain-spec", + "sc-cli", + "sc-client-api", + "sc-consensus", + "sc-consensus-babe", + "sc-executor", + "sc-finality-grandpa", + "sc-network", + "sc-service", + "sc-tracing", + "sc-transaction-pool", + "sp-arithmetic", + "sp-authority-discovery", + "sp-blockchain", + "sp-consensus", + "sp-consensus-babe", + "sp-core", + "sp-finality-grandpa", + "sp-inherents", + "sp-keyring", + "sp-runtime", + "sp-state-machine", + "substrate-test-client", + "tempfile", + "tokio", + "tracing", +] + +[[package]] +name = "polling" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "685404d509889fade3e86fe3a5803bca2ec09b0c0778d5ada6ec8bf7a8de5259" +dependencies = [ + "cfg-if 1.0.0", + "libc", + "log", + "wepoll-ffi", + "winapi 0.3.9", +] + +[[package]] +name = "poly1305" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "048aeb476be11a4b6ca432ca569e375810de9294ae78f4774e78ea98a9246ede" +dependencies = [ + "cpufeatures 0.2.1", + "opaque-debug 0.3.0", + "universal-hash", +] + +[[package]] +name = "polyval" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8419d2b623c7c0896ff2d5d96e2cb4ede590fed28fcc34934f4c33c036e620a1" +dependencies = [ + "cfg-if 1.0.0", + "cpufeatures 0.2.1", + "opaque-debug 0.3.0", + "universal-hash", +] + +[[package]] +name = "ppv-lite86" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872" + +[[package]] +name = "primitive-types" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05e4722c697a58a99d5d06a08c30821d7c082a4632198de1eaa5a6c22ef42373" +dependencies = [ + "fixed-hash", + "impl-codec", + "impl-rlp", + "impl-serde", + "scale-info", + "uint", +] + +[[package]] +name = "proc-macro-crate" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d6ea3c4595b96363c13943497db34af4460fb474a95c43f4446ad341b8c9785" +dependencies = [ + "toml", +] + +[[package]] +name = "proc-macro-crate" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ebace6889caf889b4d3f76becee12e90353f2b8c7d875534a71e5742f8f6f83" +dependencies = [ + "thiserror", + "toml", +] + +[[package]] +name = "proc-macro-error" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" +dependencies = [ + "proc-macro-error-attr", + "proc-macro2", + "quote", + "syn", + "version_check", +] + +[[package]] +name = "proc-macro-error-attr" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" +dependencies = [ + "proc-macro2", + "quote", + "version_check", +] + +[[package]] +name = "proc-macro2" +version = "1.0.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7342d5883fbccae1cc37a2353b09c87c9b0f3afd73f5fb9bba687a1f733b029" +dependencies = [ + "unicode-xid", +] + +[[package]] +name = "prometheus" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7f64969ffd5dd8f39bd57a68ac53c163a095ed9d0fb707146da1b27025a3504" +dependencies = [ + "cfg-if 1.0.0", + "fnv", + "lazy_static", + "memchr", + "parking_lot 0.11.2", + "thiserror", +] + +[[package]] +name = "prost" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "444879275cb4fd84958b1a1d5420d15e6fcf7c235fe47f053c9c2a80aceb6001" +dependencies = [ + "bytes 1.1.0", + "prost-derive", +] + +[[package]] +name = "prost-build" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62941722fb675d463659e49c4f3fe1fe792ff24fe5bbaa9c08cd3b98a1c354f5" +dependencies = [ + "bytes 1.1.0", + "heck", + "itertools", + "lazy_static", + "log", + "multimap", + "petgraph", + "prost", + "prost-types", + "regex", + "tempfile", + "which", +] + +[[package]] +name = "prost-derive" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9cc1a3263e07e0bf68e96268f37665207b49560d98739662cdfaae215c720fe" +dependencies = [ + "anyhow", + "itertools", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "prost-types" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "534b7a0e836e3c482d2693070f982e39e7611da9695d4d1f5a4b186b51faef0a" +dependencies = [ + "bytes 1.1.0", + "prost", +] + +[[package]] +name = "psm" +version = "0.1.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd136ff4382c4753fc061cb9e4712ab2af263376b95bbd5bd8cd50c020b78e69" +dependencies = [ + "cc", +] + +[[package]] +name = "pwasm-utils" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "880b3384fb00b8f6ecccd5d358b93bd2201900ae3daad213791d1864f6441f5c" +dependencies = [ + "byteorder", + "log", + "parity-wasm 0.42.2", +] + +[[package]] +name = "quick-error" +version = "1.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" + +[[package]] +name = "quick-error" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3" + +[[package]] +name = "quicksink" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77de3c815e5a160b1539c6592796801df2043ae35e123b46d73380cfa57af858" +dependencies = [ + "futures-core", + "futures-sink", + "pin-project-lite 0.1.12", +] + +[[package]] +name = "quote" +version = "1.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47aa80447ce4daf1717500037052af176af5d38cc3e571d9ec1c7353fc10c87d" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "radium" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "643f8f41a8ebc4c5dc4515c82bb8abd397b527fc20fd681b7c011c2aee5d44fb" + +[[package]] +name = "rand" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" +dependencies = [ + "getrandom 0.1.16", + "libc", + "rand_chacha 0.2.2", + "rand_core 0.5.1", + "rand_hc 0.2.0", + "rand_pcg", +] + +[[package]] +name = "rand" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8" +dependencies = [ + "libc", + "rand_chacha 0.3.1", + "rand_core 0.6.3", + "rand_hc 0.3.1", +] + +[[package]] +name = "rand_chacha" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" +dependencies = [ + "ppv-lite86", + "rand_core 0.5.1", +] + +[[package]] +name = "rand_chacha" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +dependencies = [ + "ppv-lite86", + "rand_core 0.6.3", +] + +[[package]] +name = "rand_core" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" +dependencies = [ + "getrandom 0.1.16", +] + +[[package]] +name = "rand_core" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7" +dependencies = [ + "getrandom 0.2.4", +] + +[[package]] +name = "rand_distr" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32cb0b9bc82b0a0876c2dd994a7e7a2683d3e7390ca40e6886785ef0c7e3ee31" +dependencies = [ + "num-traits", + "rand 0.8.4", +] + +[[package]] +name = "rand_hc" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" +dependencies = [ + "rand_core 0.5.1", +] + +[[package]] +name = "rand_hc" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d51e9f596de227fda2ea6c84607f5558e196eeaf43c986b724ba4fb8fdf497e7" +dependencies = [ + "rand_core 0.6.3", +] + +[[package]] +name = "rand_pcg" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16abd0c1b639e9eb4d7c50c0b8100b0d0f849be2349829c740fe8e6eb4816429" +dependencies = [ + "rand_core 0.5.1", +] + +[[package]] +name = "rawpointer" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" + +[[package]] +name = "rayon" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c06aca804d41dbc8ba42dfd964f0d01334eceb64314b9ecf7c5fad5188a06d90" +dependencies = [ + "autocfg", + "crossbeam-deque", + "either", + "rayon-core", +] + +[[package]] +name = "rayon-core" +version = "1.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d78120e2c850279833f1dd3582f730c4ab53ed95aeaaaa862a2a5c71b1656d8e" +dependencies = [ + "crossbeam-channel", + "crossbeam-deque", + "crossbeam-utils", + "lazy_static", + "num_cpus", +] + +[[package]] +name = "redox_syscall" +version = "0.1.57" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce" + +[[package]] +name = "redox_syscall" +version = "0.2.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8383f39639269cde97d255a32bdb68c047337295414940c68bdd30c2e13203ff" +dependencies = [ + "bitflags", +] + +[[package]] +name = "redox_users" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "528532f3d801c87aec9def2add9ca802fe569e44a544afe633765267840abe64" +dependencies = [ + "getrandom 0.2.4", + "redox_syscall 0.2.10", +] + +[[package]] +name = "reed-solomon-novelpoly" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3bd8f48b2066e9f69ab192797d66da804d1935bf22763204ed3675740cb0f221" +dependencies = [ + "derive_more", + "fs-err", + "itertools", + "static_init", + "thiserror", +] + +[[package]] +name = "ref-cast" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "300f2a835d808734ee295d45007adacb9ebb29dd3ae2424acfa17930cae541da" +dependencies = [ + "ref-cast-impl", +] + +[[package]] +name = "ref-cast-impl" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c38e3aecd2b21cb3959637b883bb3714bc7e43f0268b9a29d3743ee3e55cdd2" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "regalloc" +version = "0.0.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6304468554ed921da3d32c355ea107b8d13d7b8996c3adfb7aab48d3bc321f4" +dependencies = [ + "log", + "rustc-hash", + "smallvec", +] + +[[package]] +name = "regex" +version = "1.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" +dependencies = [ + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.6.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b" + +[[package]] +name = "region" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "877e54ea2adcd70d80e9179344c97f93ef0dffd6b03e1f4529e6e83ab2fa9ae0" +dependencies = [ + "bitflags", + "libc", + "mach", + "winapi 0.3.9", +] + +[[package]] +name = "remote-externalities" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "env_logger 0.9.0", + "jsonrpsee", + "log", + "parity-scale-codec", + "serde", + "serde_json", + "sp-core", + "sp-io", + "sp-runtime", + "sp-version", +] + +[[package]] +name = "remove_dir_all" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7" +dependencies = [ + "winapi 0.3.9", +] + +[[package]] +name = "resolv-conf" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52e44394d2086d010551b14b53b1f24e31647570cd1deb0379e2c21b329aba00" +dependencies = [ + "hostname", + "quick-error 1.2.3", +] + +[[package]] +name = "retain_mut" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11000e6ba5020e53e7cc26f73b91ae7d5496b4977851479edb66b694c0675c21" + +[[package]] +name = "ring" +version = "0.16.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc" +dependencies = [ + "cc", + "libc", + "once_cell", + "spin", + "untrusted", + "web-sys", + "winapi 0.3.9", +] + +[[package]] +name = "rlp" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "999508abb0ae792aabed2460c45b89106d97fe4adac593bdaef433c2605847b5" +dependencies = [ + "bytes 1.1.0", + "rustc-hex", +] + +[[package]] +name = "roaming-accounting-policies" +version = "1.0.0" +dependencies = [ + "frame-support", + "frame-system", + "pallet-balances", + "pallet-randomness-collective-flip", + "pallet-transaction-payment", + "parity-scale-codec", + "roaming-networks", + "roaming-operators", + "safe-mix", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "roaming-agreement-policies" +version = "1.0.0" +dependencies = [ + "frame-support", + "frame-system", + "pallet-balances", + "pallet-randomness-collective-flip", + "pallet-transaction-payment", + "parity-scale-codec", + "roaming-accounting-policies", + "roaming-networks", + "roaming-operators", + "safe-mix", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "roaming-billing-policies" +version = "1.0.0" +dependencies = [ + "frame-support", + "frame-system", + "log", + "pallet-balances", + "pallet-randomness-collective-flip", + "pallet-transaction-payment", + "parity-scale-codec", + "roaming-networks", + "roaming-operators", + "safe-mix", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "roaming-charging-policies" +version = "0.1.0" +dependencies = [ + "frame-support", + "frame-system", + "log", + "pallet-balances", + "pallet-randomness-collective-flip", + "pallet-transaction-payment", + "parity-scale-codec", + "roaming-networks", + "roaming-operators", + "safe-mix", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "roaming-device-profiles" +version = "0.1.0" +dependencies = [ + "frame-support", + "frame-system", + "log", + "pallet-balances", + "pallet-randomness-collective-flip", + "pallet-transaction-payment", + "parity-scale-codec", + "roaming-devices", + "roaming-network-servers", + "roaming-networks", + "roaming-operators", + "roaming-organizations", + "safe-mix", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "roaming-devices" +version = "0.1.0" +dependencies = [ + "frame-support", + "frame-system", + "log", + "pallet-balances", + "pallet-randomness-collective-flip", + "pallet-transaction-payment", + "parity-scale-codec", + "roaming-network-servers", + "roaming-networks", + "roaming-operators", + "roaming-organizations", + "safe-mix", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "roaming-network-profiles" +version = "0.1.0" +dependencies = [ + "frame-support", + "frame-system", + "pallet-balances", + "pallet-randomness-collective-flip", + "pallet-transaction-payment", + "parity-scale-codec", + "roaming-devices", + "roaming-network-servers", + "roaming-networks", + "roaming-operators", + "roaming-organizations", + "safe-mix", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "roaming-network-servers" +version = "0.1.0" +dependencies = [ + "frame-support", + "frame-system", + "log", + "pallet-balances", + "pallet-randomness-collective-flip", + "pallet-transaction-payment", + "parity-scale-codec", + "roaming-networks", + "roaming-operators", + "safe-mix", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "roaming-networks" +version = "0.1.0" +dependencies = [ + "frame-support", + "frame-system", + "log", + "pallet-balances", + "pallet-randomness-collective-flip", + "pallet-transaction-payment", + "parity-scale-codec", + "roaming-operators", + "safe-mix", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "roaming-operators" +version = "0.1.0" +dependencies = [ + "frame-support", + "frame-system", + "pallet-balances", + "pallet-randomness-collective-flip", + "pallet-transaction-payment", + "parity-scale-codec", + "safe-mix", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "roaming-organizations" +version = "0.1.0" +dependencies = [ + "frame-support", + "frame-system", + "log", + "pallet-balances", + "pallet-randomness-collective-flip", + "pallet-transaction-payment", + "parity-scale-codec", + "roaming-network-servers", + "roaming-networks", + "roaming-operators", + "safe-mix", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "roaming-packet-bundles" +version = "0.1.0" +dependencies = [ + "frame-support", + "frame-system", + "log", + "pallet-balances", + "pallet-randomness-collective-flip", + "pallet-transaction-payment", + "parity-scale-codec", + "roaming-devices", + "roaming-network-servers", + "roaming-networks", + "roaming-operators", + "roaming-organizations", + "roaming-sessions", + "safe-mix", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "roaming-routing-profiles" +version = "0.1.0" +dependencies = [ + "frame-support", + "frame-system", + "log", + "pallet-balances", + "pallet-randomness-collective-flip", + "pallet-transaction-payment", + "parity-scale-codec", + "roaming-devices", + "roaming-network-servers", + "roaming-networks", + "roaming-operators", + "roaming-organizations", + "safe-mix", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "roaming-service-profiles" +version = "0.1.0" +dependencies = [ + "frame-support", + "frame-system", + "log", + "pallet-balances", + "pallet-randomness-collective-flip", + "pallet-transaction-payment", + "parity-scale-codec", + "roaming-network-servers", + "roaming-networks", + "roaming-operators", + "safe-mix", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "roaming-sessions" +version = "0.1.0" +dependencies = [ + "frame-support", + "frame-system", + "log", + "pallet-balances", + "pallet-randomness-collective-flip", + "pallet-transaction-payment", + "parity-scale-codec", + "roaming-devices", + "roaming-network-servers", + "roaming-networks", + "roaming-operators", + "roaming-organizations", + "safe-mix", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "rocksdb" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a62eca5cacf2c8261128631bed9f045598d40bfbe4b29f5163f0f802f8f44a7" +dependencies = [ + "libc", + "librocksdb-sys", +] + +[[package]] +name = "rpassword" +version = "5.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffc936cf8a7ea60c58f030fd36a612a48f440610214dc54bc36431f9ea0c3efb" +dependencies = [ + "libc", + "winapi 0.3.9", +] + +[[package]] +name = "rsix" +version = "0.23.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f64c5788d5aab8b75441499d99576a24eb09f76fb267b36fec7e3d970c66431" +dependencies = [ + "bitflags", + "cc", + "errno", + "io-lifetimes", + "itoa 0.4.8", + "libc", + "linux-raw-sys", + "once_cell", + "rustc_version 0.4.0", +] + +[[package]] +name = "rustc-demangle" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342" + +[[package]] +name = "rustc-hash" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" + +[[package]] +name = "rustc-hex" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6" + +[[package]] +name = "rustc_version" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" +dependencies = [ + "semver 0.9.0", +] + +[[package]] +name = "rustc_version" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0dfe2087c51c460008730de8b57e6a320782fbfb312e1f4d520e6c6fae155ee" +dependencies = [ + "semver 0.11.0", +] + +[[package]] +name = "rustc_version" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" +dependencies = [ + "semver 1.0.4", +] + +[[package]] +name = "rustls" +version = "0.19.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7" +dependencies = [ + "base64", + "log", + "ring", + "sct", + "webpki", +] + +[[package]] +name = "rustls-native-certs" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a07b7c1885bd8ed3831c289b7870b13ef46fe0e856d288c30d9cc17d75a2092" +dependencies = [ + "openssl-probe", + "rustls", + "schannel", + "security-framework", +] + +[[package]] +name = "rw-stream-sink" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4da5fcb054c46f5a5dff833b129285a93d3f0179531735e6c866e8cc307d2020" +dependencies = [ + "futures 0.3.19", + "pin-project 0.4.29", + "static_assertions", +] + +[[package]] +name = "ryu" +version = "1.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "73b4b750c782965c211b42f022f59af1fbceabdd026623714f104152f1ec149f" + +[[package]] +name = "safe-mix" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d3d055a2582e6b00ed7a31c1524040aa391092bf636328350813f3a0605215c" +dependencies = [ + "rustc_version 0.2.3", +] + +[[package]] +name = "salsa20" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c0fbb5f676da676c260ba276a8f43a8dc67cf02d1438423aeb1c677a7212686" +dependencies = [ + "cipher", +] + +[[package]] +name = "same-file" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "sc-allocator" +version = "4.1.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "log", + "sp-core", + "sp-wasm-interface", + "thiserror", +] + +[[package]] +name = "sc-authority-discovery" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "async-trait", + "derive_more", + "futures 0.3.19", + "futures-timer 3.0.2", + "ip_network", + "libp2p", + "log", + "parity-scale-codec", + "prost", + "prost-build", + "rand 0.7.3", + "sc-client-api", + "sc-network", + "sp-api", + "sp-authority-discovery", + "sp-blockchain", + "sp-core", + "sp-keystore", + "sp-runtime", + "substrate-prometheus-endpoint", +] + +[[package]] +name = "sc-basic-authorship" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "futures 0.3.19", + "futures-timer 3.0.2", + "log", + "parity-scale-codec", + "sc-block-builder", + "sc-client-api", + "sc-proposer-metrics", + "sc-telemetry", + "sc-transaction-pool-api", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-inherents", + "sp-runtime", + "substrate-prometheus-endpoint", +] + +[[package]] +name = "sc-block-builder" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "parity-scale-codec", + "sc-client-api", + "sp-api", + "sp-block-builder", + "sp-blockchain", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-state-machine", +] + +[[package]] +name = "sc-chain-spec" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "impl-trait-for-tuples", + "memmap2 0.5.2", + "parity-scale-codec", + "sc-chain-spec-derive", + "sc-network", + "sc-telemetry", + "serde", + "serde_json", + "sp-core", + "sp-runtime", +] + +[[package]] +name = "sc-chain-spec-derive" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "proc-macro-crate 1.1.0", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "sc-cli" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "chrono", + "fdlimit", + "futures 0.3.19", + "hex", + "libp2p", + "log", + "names", + "parity-scale-codec", + "rand 0.7.3", + "regex", + "rpassword", + "sc-client-api", + "sc-keystore", + "sc-network", + "sc-service", + "sc-telemetry", + "sc-tracing", + "sc-utils", + "serde", + "serde_json", + "sp-blockchain", + "sp-core", + "sp-keyring", + "sp-keystore", + "sp-panic-handler", + "sp-runtime", + "sp-version", + "structopt", + "thiserror", + "tiny-bip39", + "tokio", +] + +[[package]] +name = "sc-client-api" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "fnv", + "futures 0.3.19", + "hash-db", + "log", + "parity-scale-codec", + "parking_lot 0.11.2", + "sc-executor", + "sc-transaction-pool-api", + "sc-utils", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-database", + "sp-externalities", + "sp-keystore", + "sp-runtime", + "sp-state-machine", + "sp-storage", + "sp-trie", + "substrate-prometheus-endpoint", +] + +[[package]] +name = "sc-client-db" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "hash-db", + "kvdb", + "kvdb-memorydb", + "kvdb-rocksdb", + "linked-hash-map", + "log", + "parity-db", + "parity-scale-codec", + "parking_lot 0.11.2", + "sc-client-api", + "sc-state-db", + "sp-arithmetic", + "sp-blockchain", + "sp-core", + "sp-database", + "sp-runtime", + "sp-state-machine", + "sp-trie", +] + +[[package]] +name = "sc-consensus" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "async-trait", + "futures 0.3.19", + "futures-timer 3.0.2", + "libp2p", + "log", + "parking_lot 0.11.2", + "sc-client-api", + "sc-utils", + "serde", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-runtime", + "sp-state-machine", + "substrate-prometheus-endpoint", + "thiserror", +] + +[[package]] +name = "sc-consensus-aura" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "async-trait", + "derive_more", + "futures 0.3.19", + "log", + "parity-scale-codec", + "sc-block-builder", + "sc-client-api", + "sc-consensus", + "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-keystore", + "sp-runtime", + "substrate-prometheus-endpoint", +] + +[[package]] +name = "sc-consensus-babe" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "async-trait", + "derive_more", + "fork-tree", + "futures 0.3.19", + "log", + "merlin", + "num-bigint", + "num-rational 0.2.4", + "num-traits", + "parity-scale-codec", + "parking_lot 0.11.2", + "rand 0.7.3", + "retain_mut", + "sc-client-api", + "sc-consensus", + "sc-consensus-epochs", + "sc-consensus-slots", + "sc-keystore", + "sc-telemetry", + "schnorrkel", + "serde", + "sp-api", + "sp-application-crypto", + "sp-block-builder", + "sp-blockchain", + "sp-consensus", + "sp-consensus-babe", + "sp-consensus-slots", + "sp-consensus-vrf", + "sp-core", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-version", + "substrate-prometheus-endpoint", +] + +[[package]] +name = "sc-consensus-babe-rpc" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "derive_more", + "futures 0.3.19", + "jsonrpc-core", + "jsonrpc-core-client", + "jsonrpc-derive", + "sc-consensus-babe", + "sc-consensus-epochs", + "sc-rpc-api", + "serde", + "sp-api", + "sp-application-crypto", + "sp-blockchain", + "sp-consensus", + "sp-consensus-babe", + "sp-core", + "sp-keystore", + "sp-runtime", +] + +[[package]] +name = "sc-consensus-epochs" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "fork-tree", + "parity-scale-codec", + "sc-client-api", + "sc-consensus", + "sp-blockchain", + "sp-runtime", +] + +[[package]] +name = "sc-consensus-slots" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "async-trait", + "futures 0.3.19", + "futures-timer 3.0.2", + "log", + "parity-scale-codec", + "sc-client-api", + "sc-consensus", + "sc-telemetry", + "sp-api", + "sp-arithmetic", + "sp-blockchain", + "sp-consensus", + "sp-consensus-slots", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-state-machine", + "sp-timestamp", + "thiserror", +] + +[[package]] +name = "sc-consensus-uncles" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "sc-client-api", + "sp-authorship", + "sp-runtime", + "thiserror", +] + +[[package]] +name = "sc-executor" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "lazy_static", + "libsecp256k1", + "log", + "parity-scale-codec", + "parking_lot 0.11.2", + "sc-executor-common", + "sc-executor-wasmi", + "sc-executor-wasmtime", + "sp-api", + "sp-core", + "sp-core-hashing-proc-macro", + "sp-externalities", + "sp-io", + "sp-panic-handler", + "sp-runtime-interface", + "sp-tasks", + "sp-trie", + "sp-version", + "sp-wasm-interface", + "wasmi", +] + +[[package]] +name = "sc-executor-common" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "derive_more", + "environmental", + "parity-scale-codec", + "pwasm-utils", + "sc-allocator", + "sp-core", + "sp-maybe-compressed-blob", + "sp-serializer", + "sp-wasm-interface", + "thiserror", + "wasmi", +] + +[[package]] +name = "sc-executor-wasmi" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "log", + "parity-scale-codec", + "sc-allocator", + "sc-executor-common", + "scoped-tls", + "sp-core", + "sp-runtime-interface", + "sp-wasm-interface", + "wasmi", +] + +[[package]] +name = "sc-executor-wasmtime" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "cfg-if 1.0.0", + "libc", + "log", + "parity-scale-codec", + "parity-wasm 0.42.2", + "sc-allocator", + "sc-executor-common", + "sp-core", + "sp-runtime-interface", + "sp-wasm-interface", + "wasmtime", +] + +[[package]] +name = "sc-finality-grandpa" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "async-trait", + "derive_more", + "dyn-clone", + "finality-grandpa", + "fork-tree", + "futures 0.3.19", + "futures-timer 3.0.2", + "log", + "parity-scale-codec", + "parking_lot 0.11.2", + "rand 0.8.4", + "sc-block-builder", + "sc-client-api", + "sc-consensus", + "sc-keystore", + "sc-network", + "sc-network-gossip", + "sc-telemetry", + "sc-utils", + "serde_json", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-finality-grandpa", + "sp-keystore", + "sp-runtime", + "substrate-prometheus-endpoint", +] + +[[package]] +name = "sc-finality-grandpa-rpc" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "derive_more", + "finality-grandpa", + "futures 0.3.19", + "jsonrpc-core", + "jsonrpc-core-client", + "jsonrpc-derive", + "jsonrpc-pubsub", + "log", + "parity-scale-codec", + "sc-client-api", + "sc-finality-grandpa", + "sc-rpc", + "serde", + "serde_json", + "sp-blockchain", + "sp-core", + "sp-runtime", +] + +[[package]] +name = "sc-informant" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "ansi_term", + "futures 0.3.19", + "futures-timer 3.0.2", + "log", + "parity-util-mem", + "sc-client-api", + "sc-network", + "sc-transaction-pool-api", + "sp-blockchain", + "sp-runtime", +] + +[[package]] +name = "sc-keystore" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "async-trait", + "derive_more", + "hex", + "parking_lot 0.11.2", + "serde_json", + "sp-application-crypto", + "sp-core", + "sp-keystore", +] + +[[package]] +name = "sc-network" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "async-std", + "async-trait", + "asynchronous-codec 0.5.0", + "bitflags", + "bytes 1.1.0", + "cid", + "derive_more", + "either", + "fnv", + "fork-tree", + "futures 0.3.19", + "futures-timer 3.0.2", + "hex", + "ip_network", + "libp2p", + "linked-hash-map", + "linked_hash_set", + "log", + "lru 0.7.2", + "parity-scale-codec", + "parking_lot 0.11.2", + "pin-project 1.0.10", + "prost", + "prost-build", + "rand 0.7.3", + "sc-block-builder", + "sc-client-api", + "sc-consensus", + "sc-peerset", + "sc-utils", + "serde", + "serde_json", + "smallvec", + "sp-arithmetic", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-finality-grandpa", + "sp-runtime", + "substrate-prometheus-endpoint", + "thiserror", + "unsigned-varint 0.6.0", + "void", + "zeroize", +] + +[[package]] +name = "sc-network-gossip" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "futures 0.3.19", + "futures-timer 3.0.2", + "libp2p", + "log", + "lru 0.7.2", + "sc-network", + "sp-runtime", + "substrate-prometheus-endpoint", + "tracing", +] + +[[package]] +name = "sc-offchain" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "bytes 1.1.0", + "fnv", + "futures 0.3.19", + "futures-timer 3.0.2", + "hex", + "hyper", + "hyper-rustls", + "num_cpus", + "once_cell", + "parity-scale-codec", + "parking_lot 0.11.2", + "rand 0.7.3", + "sc-client-api", + "sc-network", + "sc-utils", + "sp-api", + "sp-core", + "sp-offchain", + "sp-runtime", + "threadpool", + "tracing", +] + +[[package]] +name = "sc-peerset" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "futures 0.3.19", + "libp2p", + "log", + "sc-utils", + "serde_json", + "wasm-timer", +] + +[[package]] +name = "sc-proposer-metrics" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "log", + "substrate-prometheus-endpoint", +] + +[[package]] +name = "sc-rpc" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "futures 0.3.19", + "hash-db", + "jsonrpc-core", + "jsonrpc-pubsub", + "log", + "parity-scale-codec", + "parking_lot 0.11.2", + "sc-block-builder", + "sc-chain-spec", + "sc-client-api", + "sc-rpc-api", + "sc-tracing", + "sc-transaction-pool-api", + "sc-utils", + "serde_json", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-keystore", + "sp-offchain", + "sp-rpc", + "sp-runtime", + "sp-session", + "sp-version", +] + +[[package]] +name = "sc-rpc-api" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "futures 0.3.19", + "jsonrpc-core", + "jsonrpc-core-client", + "jsonrpc-derive", + "jsonrpc-pubsub", + "log", + "parity-scale-codec", + "parking_lot 0.11.2", + "sc-chain-spec", + "sc-transaction-pool-api", + "serde", + "serde_json", + "sp-core", + "sp-rpc", + "sp-runtime", + "sp-tracing", + "sp-version", + "thiserror", +] + +[[package]] +name = "sc-rpc-server" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "futures 0.3.19", + "jsonrpc-core", + "jsonrpc-http-server", + "jsonrpc-ipc-server", + "jsonrpc-pubsub", + "jsonrpc-ws-server", + "log", + "serde_json", + "substrate-prometheus-endpoint", + "tokio", +] + +[[package]] +name = "sc-service" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "async-trait", + "directories", + "exit-future", + "futures 0.3.19", + "futures-timer 3.0.2", + "hash-db", + "jsonrpc-core", + "jsonrpc-pubsub", + "log", + "parity-scale-codec", + "parity-util-mem", + "parking_lot 0.11.2", + "pin-project 1.0.10", + "rand 0.7.3", + "sc-block-builder", + "sc-chain-spec", + "sc-client-api", + "sc-client-db", + "sc-consensus", + "sc-executor", + "sc-informant", + "sc-keystore", + "sc-network", + "sc-offchain", + "sc-rpc", + "sc-rpc-server", + "sc-telemetry", + "sc-tracing", + "sc-transaction-pool", + "sc-transaction-pool-api", + "sc-utils", + "serde", + "serde_json", + "sp-api", + "sp-application-crypto", + "sp-block-builder", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-externalities", + "sp-inherents", + "sp-keystore", + "sp-runtime", + "sp-session", + "sp-state-machine", + "sp-storage", + "sp-tracing", + "sp-transaction-pool", + "sp-transaction-storage-proof", + "sp-trie", + "sp-version", + "substrate-prometheus-endpoint", + "tempfile", + "thiserror", + "tokio", + "tracing", + "tracing-futures", +] + +[[package]] +name = "sc-state-db" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "log", + "parity-scale-codec", + "parity-util-mem", + "parity-util-mem-derive", + "parking_lot 0.11.2", + "sc-client-api", + "sp-core", +] + +[[package]] +name = "sc-sync-state-rpc" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "jsonrpc-core", + "jsonrpc-core-client", + "jsonrpc-derive", + "parity-scale-codec", + "sc-chain-spec", + "sc-client-api", + "sc-consensus-babe", + "sc-consensus-epochs", + "sc-finality-grandpa", + "sc-rpc-api", + "serde", + "serde_json", + "sp-blockchain", + "sp-runtime", + "thiserror", +] + +[[package]] +name = "sc-telemetry" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "chrono", + "futures 0.3.19", + "libp2p", + "log", + "parking_lot 0.11.2", + "pin-project 1.0.10", + "rand 0.7.3", + "serde", + "serde_json", + "thiserror", + "wasm-timer", +] + +[[package]] +name = "sc-tracing" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "ansi_term", + "atty", + "chrono", + "lazy_static", + "libc", + "log", + "once_cell", + "parking_lot 0.11.2", + "regex", + "rustc-hash", + "sc-client-api", + "sc-rpc-server", + "sc-tracing-proc-macro", + "serde", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-rpc", + "sp-runtime", + "sp-tracing", + "thiserror", + "tracing", + "tracing-log", + "tracing-subscriber", +] + +[[package]] +name = "sc-tracing-proc-macro" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "proc-macro-crate 1.1.0", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "sc-transaction-pool" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "futures 0.3.19", + "intervalier", + "linked-hash-map", + "log", + "parity-scale-codec", + "parity-util-mem", + "parking_lot 0.11.2", + "retain_mut", + "sc-client-api", + "sc-transaction-pool-api", + "sc-utils", + "serde", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-runtime", + "sp-tracing", + "sp-transaction-pool", + "substrate-prometheus-endpoint", + "thiserror", +] + +[[package]] +name = "sc-transaction-pool-api" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "derive_more", + "futures 0.3.19", + "log", + "serde", + "sp-blockchain", + "sp-runtime", + "thiserror", +] + +[[package]] +name = "sc-utils" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "futures 0.3.19", + "futures-timer 3.0.2", + "lazy_static", + "prometheus", +] + +[[package]] +name = "scale-info" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c55b744399c25532d63a0d2789b109df8d46fc93752d46b0782991a931a782f" +dependencies = [ + "bitvec", + "cfg-if 1.0.0", + "derive_more", + "parity-scale-codec", + "scale-info-derive", + "serde", +] + +[[package]] +name = "scale-info-derive" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baeb2780690380592f86205aa4ee49815feb2acad8c2f59e6dd207148c3f1fcd" +dependencies = [ + "proc-macro-crate 1.1.0", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "schannel" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f05ba609c234e60bee0d547fe94a4c7e9da733d1c962cf6e59efa4cd9c8bc75" +dependencies = [ + "lazy_static", + "winapi 0.3.9", +] + +[[package]] +name = "schnorrkel" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "021b403afe70d81eea68f6ea12f6b3c9588e5d536a94c3bf80f15e7faa267862" +dependencies = [ + "arrayref", + "arrayvec 0.5.2", + "curve25519-dalek 2.1.3", + "getrandom 0.1.16", + "merlin", + "rand 0.7.3", + "rand_core 0.5.1", + "sha2 0.8.2", + "subtle", + "zeroize", +] + +[[package]] +name = "scoped-tls" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea6a9290e3c9cf0f18145ef7ffa62d68ee0bf5fcd651017e586dc7fd5da448c2" + +[[package]] +name = "scopeguard" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" + +[[package]] +name = "sct" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b362b83898e0e69f38515b82ee15aa80636befe47c3b6d3d89a911e78fc228ce" +dependencies = [ + "ring", + "untrusted", +] + +[[package]] +name = "secrecy" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9bd1c54ea06cfd2f6b63219704de0b9b4f72dcc2b8fdef820be6cd799780e91e" +dependencies = [ + "zeroize", +] + +[[package]] +name = "security-framework" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d09d3c15d814eda1d6a836f2f2b56a6abc1446c8a34351cb3180d3db92ffe4ce" +dependencies = [ + "bitflags", + "core-foundation", + "core-foundation-sys", + "libc", + "security-framework-sys", +] + +[[package]] +name = "security-framework-sys" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e90dd10c41c6bfc633da6e0c659bd25d31e0791e5974ac42970267d59eba87f7" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "semver" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a3186ec9e65071a2095434b1f5bb24838d4e8e130f584c790f6033c79943537" +dependencies = [ + "semver-parser 0.7.0", +] + +[[package]] +name = "semver" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" +dependencies = [ + "semver-parser 0.7.0", +] + +[[package]] +name = "semver" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f301af10236f6df4160f7c3f04eec6dbc70ace82d23326abad5edee88801c6b6" +dependencies = [ + "semver-parser 0.10.2", +] + +[[package]] +name = "semver" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "568a8e6258aa33c13358f81fd834adb854c6f7c9468520910a9b1e8fac068012" +dependencies = [ + "serde", +] + +[[package]] +name = "semver-parser" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" + +[[package]] +name = "semver-parser" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00b0bef5b7f9e0df16536d3961cfb6e84331c065b4066afb39768d0e319411f7" +dependencies = [ + "pest", +] + +[[package]] +name = "serde" +version = "1.0.133" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97565067517b60e2d1ea8b268e59ce036de907ac523ad83a0475da04e818989a" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.133" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed201699328568d8d08208fdd080e3ff594e6c422e438b6705905da01005d537" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "serde_json" +version = "1.0.75" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c059c05b48c5c0067d4b4b2b4f0732dd65feb52daf7e0ea09cd87e7dadc1af79" +dependencies = [ + "itoa 1.0.1", + "ryu", + "serde", +] + +[[package]] +name = "sha-1" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7d94d0bede923b3cea61f3f1ff57ff8cdfd77b400fb8f9998949e0cf04163df" +dependencies = [ + "block-buffer 0.7.3", + "digest 0.8.1", + "fake-simd", + "opaque-debug 0.2.3", +] + +[[package]] +name = "sha-1" +version = "0.9.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99cd6713db3cf16b6c84e06321e049a9b9f699826e16096d23bbcc44d15d51a6" +dependencies = [ + "block-buffer 0.9.0", + "cfg-if 1.0.0", + "cpufeatures 0.2.1", + "digest 0.9.0", + "opaque-debug 0.3.0", +] + +[[package]] +name = "sha2" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a256f46ea78a0c0d9ff00077504903ac881a1dafdc20da66545699e7776b3e69" +dependencies = [ + "block-buffer 0.7.3", + "digest 0.8.1", + "fake-simd", + "opaque-debug 0.2.3", +] + +[[package]] +name = "sha2" +version = "0.9.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800" +dependencies = [ + "block-buffer 0.9.0", + "cfg-if 1.0.0", + "cpufeatures 0.2.1", + "digest 0.9.0", + "opaque-debug 0.3.0", +] + +[[package]] +name = "sha3" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f81199417d4e5de3f04b1e871023acea7389672c4135918f05aa9cbf2f2fa809" +dependencies = [ + "block-buffer 0.9.0", + "digest 0.9.0", + "keccak", + "opaque-debug 0.3.0", +] + +[[package]] +name = "sharded-slab" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "900fba806f70c630b0a382d0d825e17a0f19fcd059a2ade1ff237bcddf446b31" +dependencies = [ + "lazy_static", +] + +[[package]] +name = "shlex" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3" + +[[package]] +name = "signal-hook" +version = "0.3.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "647c97df271007dcea485bb74ffdb57f2e683f1306c854f468a0c244badabf2d" +dependencies = [ + "libc", + "signal-hook-registry", +] + +[[package]] +name = "signal-hook-registry" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e51e73328dc4ac0c7ccbda3a494dfa03df1de2f46018127f60c693f2648455b0" +dependencies = [ + "libc", +] + +[[package]] +name = "signature" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f054c6c1a6e95179d6f23ed974060dcefb2d9388bb7256900badad682c499de4" + +[[package]] +name = "simba" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e82063457853d00243beda9952e910b82593e4b07ae9f721b9278a99a0d3d5c" +dependencies = [ + "approx", + "num-complex", + "num-traits", + "paste", +] + +[[package]] +name = "slab" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9def91fd1e018fe007022791f865d0ccc9b3a0d5001e01aabb8b40e46000afb5" + +[[package]] +name = "slot-range-helper" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "enumn", + "parity-scale-codec", + "paste", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "slotmap" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1e08e261d0e8f5c43123b7adf3e4ca1690d655377ac93a03b2c9d3e98de1342" +dependencies = [ + "version_check", +] + +[[package]] +name = "smallvec" +version = "1.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2dd574626839106c320a323308629dcb1acfc96e32a8cba364ddc61ac23ee83" + +[[package]] +name = "snap" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45456094d1983e2ee2a18fdfebce3189fa451699d0502cb8e3b49dba5ba41451" + +[[package]] +name = "snow" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6142f7c25e94f6fd25a32c3348ec230df9109b463f59c8c7acc4bd34936babb7" +dependencies = [ + "aes-gcm", + "blake2", + "chacha20poly1305", + "rand 0.8.4", + "rand_core 0.6.3", + "ring", + "rustc_version 0.3.3", + "sha2 0.9.9", + "subtle", + "x25519-dalek", +] + +[[package]] +name = "socket2" +version = "0.3.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "122e570113d28d773067fab24266b66753f6ea915758651696b6e35e49f88d6e" +dependencies = [ + "cfg-if 1.0.0", + "libc", + "winapi 0.3.9", +] + +[[package]] +name = "socket2" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5dc90fe6c7be1a323296982db1836d1ea9e47b6839496dde9a541bc496df3516" +dependencies = [ + "libc", + "winapi 0.3.9", +] + +[[package]] +name = "soketto" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41d1c5305e39e09653383c2c7244f2f78b3bcae37cf50c64cb4789c9f5096ec2" +dependencies = [ + "base64", + "bytes 1.1.0", + "flate2", + "futures 0.3.19", + "httparse", + "log", + "rand 0.8.4", + "sha-1 0.9.8", +] + +[[package]] +name = "sp-api" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "hash-db", + "log", + "parity-scale-codec", + "sp-api-proc-macro", + "sp-core", + "sp-runtime", + "sp-state-machine", + "sp-std", + "sp-version", + "thiserror", +] + +[[package]] +name = "sp-api-proc-macro" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "blake2-rfc", + "proc-macro-crate 1.1.0", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "sp-application-crypto" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-std", +] + +[[package]] +name = "sp-arithmetic" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "integer-sqrt", + "num-traits", + "parity-scale-codec", + "scale-info", + "serde", + "sp-debug-derive", + "sp-std", + "static_assertions", +] + +[[package]] +name = "sp-authority-discovery" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-api", + "sp-application-crypto", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "sp-authorship" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "async-trait", + "parity-scale-codec", + "sp-inherents", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "sp-block-builder" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "parity-scale-codec", + "sp-api", + "sp-inherents", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "sp-blockchain" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "futures 0.3.19", + "log", + "lru 0.7.2", + "parity-scale-codec", + "parking_lot 0.11.2", + "sp-api", + "sp-consensus", + "sp-database", + "sp-runtime", + "sp-state-machine", + "thiserror", +] + +[[package]] +name = "sp-consensus" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "async-trait", + "futures 0.3.19", + "futures-timer 3.0.2", + "log", + "parity-scale-codec", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-state-machine", + "sp-std", + "sp-version", + "thiserror", +] + +[[package]] +name = "sp-consensus-aura" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "async-trait", + "parity-scale-codec", + "scale-info", + "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.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "async-trait", + "merlin", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api", + "sp-application-crypto", + "sp-consensus", + "sp-consensus-slots", + "sp-consensus-vrf", + "sp-core", + "sp-inherents", + "sp-keystore", + "sp-runtime", + "sp-std", + "sp-timestamp", +] + +[[package]] +name = "sp-consensus-slots" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-arithmetic", + "sp-runtime", +] + +[[package]] +name = "sp-consensus-vrf" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "parity-scale-codec", + "schnorrkel", + "sp-core", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "sp-core" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "base58", + "bitflags", + "blake2-rfc", + "byteorder", + "dyn-clonable", + "ed25519-dalek", + "futures 0.3.19", + "hash-db", + "hash256-std-hasher", + "hex", + "impl-serde", + "lazy_static", + "libsecp256k1", + "log", + "merlin", + "num-traits", + "parity-scale-codec", + "parity-util-mem", + "parking_lot 0.11.2", + "primitive-types", + "rand 0.7.3", + "regex", + "scale-info", + "schnorrkel", + "secrecy", + "serde", + "sha2 0.9.9", + "sp-core-hashing", + "sp-debug-derive", + "sp-externalities", + "sp-runtime-interface", + "sp-std", + "sp-storage", + "ss58-registry", + "substrate-bip39", + "thiserror", + "tiny-bip39", + "tiny-keccak", + "twox-hash", + "wasmi", + "zeroize", +] + +[[package]] +name = "sp-core-hashing" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "blake2-rfc", + "byteorder", + "sha2 0.9.9", + "sp-std", + "tiny-keccak", + "twox-hash", +] + +[[package]] +name = "sp-core-hashing-proc-macro" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "proc-macro2", + "quote", + "sp-core-hashing", + "syn", +] + +[[package]] +name = "sp-database" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "kvdb", + "parking_lot 0.11.2", +] + +[[package]] +name = "sp-debug-derive" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "sp-externalities" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "environmental", + "parity-scale-codec", + "sp-std", + "sp-storage", +] + +[[package]] +name = "sp-finality-grandpa" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "finality-grandpa", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-keystore", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "sp-inherents" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "async-trait", + "impl-trait-for-tuples", + "parity-scale-codec", + "sp-core", + "sp-runtime", + "sp-std", + "thiserror", +] + +[[package]] +name = "sp-io" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "futures 0.3.19", + "hash-db", + "libsecp256k1", + "log", + "parity-scale-codec", + "parking_lot 0.11.2", + "sp-core", + "sp-externalities", + "sp-keystore", + "sp-runtime-interface", + "sp-state-machine", + "sp-std", + "sp-tracing", + "sp-trie", + "sp-wasm-interface", + "tracing", + "tracing-core", +] + +[[package]] +name = "sp-keyring" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "lazy_static", + "sp-core", + "sp-runtime", + "strum", +] + +[[package]] +name = "sp-keystore" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "async-trait", + "derive_more", + "futures 0.3.19", + "merlin", + "parity-scale-codec", + "parking_lot 0.11.2", + "schnorrkel", + "serde", + "sp-core", + "sp-externalities", +] + +[[package]] +name = "sp-maybe-compressed-blob" +version = "4.1.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "zstd", +] + +[[package]] +name = "sp-npos-elections" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-arithmetic", + "sp-core", + "sp-npos-elections-solution-type", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "sp-npos-elections-solution-type" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "proc-macro-crate 1.1.0", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "sp-offchain" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "sp-api", + "sp-core", + "sp-runtime", +] + +[[package]] +name = "sp-panic-handler" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "backtrace", + "lazy_static", + "regex", +] + +[[package]] +name = "sp-rpc" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "rustc-hash", + "serde", + "sp-core", +] + +[[package]] +name = "sp-runtime" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "either", + "hash256-std-hasher", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "parity-util-mem", + "paste", + "rand 0.7.3", + "scale-info", + "serde", + "sp-application-crypto", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-std", +] + +[[package]] +name = "sp-runtime-interface" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "impl-trait-for-tuples", + "parity-scale-codec", + "primitive-types", + "sp-externalities", + "sp-runtime-interface-proc-macro", + "sp-std", + "sp-storage", + "sp-tracing", + "sp-wasm-interface", + "static_assertions", +] + +[[package]] +name = "sp-runtime-interface-proc-macro" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "Inflector", + "proc-macro-crate 1.1.0", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "sp-serializer" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "serde", + "serde_json", +] + +[[package]] +name = "sp-session" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-api", + "sp-core", + "sp-runtime", + "sp-staking", + "sp-std", +] + +[[package]] +name = "sp-staking" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "sp-state-machine" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "hash-db", + "log", + "num-traits", + "parity-scale-codec", + "parking_lot 0.11.2", + "rand 0.7.3", + "smallvec", + "sp-core", + "sp-externalities", + "sp-panic-handler", + "sp-std", + "sp-trie", + "thiserror", + "tracing", + "trie-db", + "trie-root", +] + +[[package]] +name = "sp-std" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" + +[[package]] +name = "sp-storage" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "ref-cast", + "serde", + "sp-debug-derive", + "sp-std", +] + +[[package]] +name = "sp-tasks" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "log", + "sp-core", + "sp-externalities", + "sp-io", + "sp-runtime-interface", + "sp-std", +] + +[[package]] +name = "sp-timestamp" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "async-trait", + "futures-timer 3.0.2", + "log", + "parity-scale-codec", + "sp-api", + "sp-inherents", + "sp-runtime", + "sp-std", + "thiserror", +] + +[[package]] +name = "sp-tracing" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "parity-scale-codec", + "sp-std", + "tracing", + "tracing-core", + "tracing-subscriber", +] + +[[package]] +name = "sp-transaction-pool" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "sp-api", + "sp-runtime", +] + +[[package]] +name = "sp-transaction-storage-proof" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "async-trait", + "log", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-std", + "sp-trie", +] + +[[package]] +name = "sp-trie" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "hash-db", + "memory-db", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-std", + "trie-db", + "trie-root", +] + +[[package]] +name = "sp-version" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "parity-wasm 0.42.2", + "scale-info", + "serde", + "sp-runtime", + "sp-std", + "sp-version-proc-macro", + "thiserror", +] + +[[package]] +name = "sp-version-proc-macro" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "parity-scale-codec", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "sp-wasm-interface" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "impl-trait-for-tuples", + "parity-scale-codec", + "sp-std", + "wasmi", +] + +[[package]] +name = "spin" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" + +[[package]] +name = "ss58-registry" +version = "1.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1230685dc82f8699110640244d361a7099c602f08bddc5c90765a5153b4881dc" +dependencies = [ + "Inflector", + "proc-macro2", + "quote", + "serde", + "serde_json", + "unicode-xid", +] + +[[package]] +name = "stable_deref_trait" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" + +[[package]] +name = "static_assertions" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" + +[[package]] +name = "static_init" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11b73400442027c4adedda20a9f9b7945234a5bd8d5f7e86da22bd5d0622369c" +dependencies = [ + "cfg_aliases", + "libc", + "parking_lot 0.11.2", + "static_init_macro", +] + +[[package]] +name = "static_init_macro" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2261c91034a1edc3fc4d1b80e89d82714faede0515c14a75da10cb941546bbf" +dependencies = [ + "cfg_aliases", + "memchr", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "statrs" +version = "0.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05bdbb8e4e78216a85785a85d3ec3183144f98d0097b9281802c019bb07a6f05" +dependencies = [ + "approx", + "lazy_static", + "nalgebra", + "num-traits", + "rand 0.8.4", +] + +[[package]] +name = "strsim" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" + +[[package]] +name = "structopt" +version = "0.3.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40b9788f4202aa75c240ecc9c15c65185e6a39ccdeb0fd5d008b98825464c87c" +dependencies = [ + "clap", + "lazy_static", + "structopt-derive", +] + +[[package]] +name = "structopt-derive" +version = "0.4.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dcb5ae327f9cc13b68763b5749770cb9e048a99bd9dfdfa58d0cf05d5f64afe0" +dependencies = [ + "heck", + "proc-macro-error", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "strum" +version = "0.22.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7ac893c7d471c8a21f31cfe213ec4f6d9afeed25537c772e08ef3f005f8729e" +dependencies = [ + "strum_macros", +] + +[[package]] +name = "strum_macros" +version = "0.22.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "339f799d8b549e3744c7ac7feb216383e4005d94bdb22561b3ab8f3b808ae9fb" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "substrate-bip39" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49eee6965196b32f882dd2ee85a92b1dbead41b04e53907f269de3b0dc04733c" +dependencies = [ + "hmac 0.11.0", + "pbkdf2 0.8.0", + "schnorrkel", + "sha2 0.9.9", + "zeroize", +] + +[[package]] +name = "substrate-build-script-utils" +version = "3.0.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "platforms", +] + +[[package]] +name = "substrate-frame-rpc-system" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "frame-system-rpc-runtime-api", + "futures 0.3.19", + "jsonrpc-core", + "jsonrpc-core-client", + "jsonrpc-derive", + "log", + "parity-scale-codec", + "sc-client-api", + "sc-rpc-api", + "sc-transaction-pool-api", + "sp-api", + "sp-block-builder", + "sp-blockchain", + "sp-core", + "sp-runtime", +] + +[[package]] +name = "substrate-prometheus-endpoint" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "async-std", + "derive_more", + "futures-util", + "hyper", + "log", + "prometheus", + "tokio", +] + +[[package]] +name = "substrate-test-client" +version = "2.0.1" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "async-trait", + "futures 0.3.19", + "hex", + "parity-scale-codec", + "sc-client-api", + "sc-client-db", + "sc-consensus", + "sc-executor", + "sc-offchain", + "sc-service", + "serde", + "serde_json", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-keyring", + "sp-keystore", + "sp-runtime", + "sp-state-machine", +] + +[[package]] +name = "substrate-wasm-builder" +version = "5.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "ansi_term", + "build-helper", + "cargo_metadata", + "sp-maybe-compressed-blob", + "tempfile", + "toml", + "walkdir", + "wasm-gc-api", +] + +[[package]] +name = "subtle" +version = "2.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" + +[[package]] +name = "syn" +version = "1.0.85" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a684ac3dcd8913827e18cd09a68384ee66c1de24157e3c556c9ab16d85695fb7" +dependencies = [ + "proc-macro2", + "quote", + "unicode-xid", +] + +[[package]] +name = "synstructure" +version = "0.12.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "unicode-xid", +] + +[[package]] +name = "tap" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" + +[[package]] +name = "target-lexicon" +version = "0.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9bffcddbc2458fa3e6058414599e3c838a022abae82e5c67b4f7f80298d5bff" + +[[package]] +name = "tempfile" +version = "3.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4" +dependencies = [ + "cfg-if 1.0.0", + "fastrand", + "libc", + "redox_syscall 0.2.10", + "remove_dir_all", + "winapi 0.3.9", +] + +[[package]] +name = "termcolor" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2dfed899f0eb03f32ee8c6a0aabdb8a7949659e3466561fc0adf54e26d88c5f4" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "textwrap" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" +dependencies = [ + "unicode-width", +] + +[[package]] +name = "thiserror" +version = "1.0.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "854babe52e4df1653706b98fcfc05843010039b406875930a70e4d9644e5c417" +dependencies = [ + "thiserror-impl", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa32fd3f627f367fe16f893e2597ae3c05020f8bba2666a4e6ea73d377e5714b" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "thread_local" +version = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8018d24e04c95ac8790716a5987d0fec4f8b27249ffa0f7d33f1369bdfb88cbd" +dependencies = [ + "once_cell", +] + +[[package]] +name = "threadpool" +version = "1.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d050e60b33d41c19108b32cea32164033a9013fe3b46cbd4457559bfbf77afaa" +dependencies = [ + "num_cpus", +] + +[[package]] +name = "thrift" +version = "0.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b82ca8f46f95b3ce96081fe3dd89160fdea970c254bb72925255d1b62aae692e" +dependencies = [ + "byteorder", + "integer-encoding", + "log", + "ordered-float", + "threadpool", +] + +[[package]] +name = "time" +version = "0.1.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255" +dependencies = [ + "libc", + "wasi 0.10.0+wasi-snapshot-preview1", + "winapi 0.3.9", +] + +[[package]] +name = "tiny-bip39" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffc59cb9dfc85bb312c3a78fd6aa8a8582e310b0fa885d5bb877f6dcc601839d" +dependencies = [ + "anyhow", + "hmac 0.8.1", + "once_cell", + "pbkdf2 0.4.0", + "rand 0.7.3", + "rustc-hash", + "sha2 0.9.9", + "thiserror", + "unicode-normalization", + "wasm-bindgen", + "zeroize", +] + +[[package]] +name = "tiny-keccak" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" +dependencies = [ + "crunchy", +] + +[[package]] +name = "tinyvec" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c1c1d5a42b6245520c249549ec267180beaffcc0615401ac8e31853d4b6d8d2" +dependencies = [ + "tinyvec_macros", +] + +[[package]] +name = "tinyvec_macros" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" + +[[package]] +name = "tokio" +version = "1.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fbbf1c778ec206785635ce8ad57fe52b3009ae9e0c9f574a728f3049d3e55838" +dependencies = [ + "bytes 1.1.0", + "libc", + "memchr", + "mio 0.7.14", + "num_cpus", + "once_cell", + "pin-project-lite 0.2.8", + "signal-hook-registry", + "tokio-macros", + "winapi 0.3.9", +] + +[[package]] +name = "tokio-macros" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b557f72f448c511a979e2564e55d74e6c4432fc96ff4f6241bc6bded342643b7" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "tokio-rustls" +version = "0.22.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc6844de72e57df1980054b38be3a9f4702aba4858be64dd700181a8a6d0e1b6" +dependencies = [ + "rustls", + "tokio", + "webpki", +] + +[[package]] +name = "tokio-stream" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50145484efff8818b5ccd256697f36863f587da82cf8b409c53adf1e840798e3" +dependencies = [ + "futures-core", + "pin-project-lite 0.2.8", + "tokio", +] + +[[package]] +name = "tokio-util" +version = "0.6.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e99e1983e5d376cd8eb4b66604d2e99e79f5bd988c3055891dcd8c9e2604cc0" +dependencies = [ + "bytes 1.1.0", + "futures-core", + "futures-io", + "futures-sink", + "log", + "pin-project-lite 0.2.8", + "tokio", +] + +[[package]] +name = "toml" +version = "0.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a31142970826733df8241ef35dc040ef98c679ab14d7c3e54d827099b3acecaa" +dependencies = [ + "serde", +] + +[[package]] +name = "tower-service" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "360dfd1d6d30e05fda32ace2c8c70e9c0a9da713275777f5a4dbb8a1893930c6" + +[[package]] +name = "tracing" +version = "0.1.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "375a639232caf30edfc78e8d89b2d4c375515393e7af7e16f01cd96917fb2105" +dependencies = [ + "cfg-if 1.0.0", + "pin-project-lite 0.2.8", + "tracing-attributes", + "tracing-core", +] + +[[package]] +name = "tracing-attributes" +version = "0.1.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4f480b8f81512e825f337ad51e94c1eb5d3bbdf2b363dcd01e2b19a9ffe3f8e" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "tracing-core" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f4ed65637b8390770814083d20756f87bfa2c21bf2f110babdc5438351746e4" +dependencies = [ + "lazy_static", +] + +[[package]] +name = "tracing-futures" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2" +dependencies = [ + "pin-project 1.0.10", + "tracing", +] + +[[package]] +name = "tracing-log" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6923477a48e41c1951f1999ef8bb5a3023eb723ceadafe78ffb65dc366761e3" +dependencies = [ + "lazy_static", + "log", + "tracing-core", +] + +[[package]] +name = "tracing-serde" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb65ea441fbb84f9f6748fd496cf7f63ec9af5bca94dd86456978d055e8eb28b" +dependencies = [ + "serde", + "tracing-core", +] + +[[package]] +name = "tracing-subscriber" +version = "0.2.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e0d2eaa99c3c2e41547cfa109e910a68ea03823cccad4a0525dcbc9b01e8c71" +dependencies = [ + "ansi_term", + "chrono", + "lazy_static", + "matchers", + "parking_lot 0.11.2", + "regex", + "serde", + "serde_json", + "sharded-slab", + "smallvec", + "thread_local", + "tracing", + "tracing-core", + "tracing-log", + "tracing-serde", +] + +[[package]] +name = "trie-db" +version = "0.22.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9eac131e334e81b6b3be07399482042838adcd7957aa0010231d0813e39e02fa" +dependencies = [ + "hash-db", + "hashbrown", + "log", + "rustc-hex", + "smallvec", +] + +[[package]] +name = "trie-root" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "652931506d2c1244d7217a70b99f56718a7b4161b37f04e7cd868072a99f68cd" +dependencies = [ + "hash-db", +] + +[[package]] +name = "trust-dns-proto" +version = "0.20.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad0d7f5db438199a6e2609debe3f69f808d074e0a2888ee0bccb45fe234d03f4" +dependencies = [ + "async-trait", + "cfg-if 1.0.0", + "data-encoding", + "enum-as-inner", + "futures-channel", + "futures-io", + "futures-util", + "idna 0.2.3", + "ipnet", + "lazy_static", + "log", + "rand 0.8.4", + "smallvec", + "thiserror", + "tinyvec", + "url 2.2.2", +] + +[[package]] +name = "trust-dns-resolver" +version = "0.20.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6ad17b608a64bd0735e67bde16b0636f8aa8591f831a25d18443ed00a699770" +dependencies = [ + "cfg-if 1.0.0", + "futures-util", + "ipconfig", + "lazy_static", + "log", + "lru-cache", + "parking_lot 0.11.2", + "resolv-conf", + "smallvec", + "thiserror", + "trust-dns-proto", +] + +[[package]] +name = "try-lock" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" + +[[package]] +name = "try-runtime-cli" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#afb74de23dfe2994e7ce38c0870efb9734e966f7" +dependencies = [ + "jsonrpsee", + "log", + "parity-scale-codec", + "remote-externalities", + "sc-chain-spec", + "sc-cli", + "sc-executor", + "sc-service", + "serde", + "sp-core", + "sp-externalities", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-state-machine", + "sp-version", + "structopt", +] + +[[package]] +name = "tt-call" +version = "1.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e66dcbec4290c69dd03c57e76c2469ea5c7ce109c6dd4351c13055cf71ea055" + +[[package]] +name = "twox-hash" +version = "1.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ee73e6e4924fe940354b8d4d98cad5231175d615cd855b758adc658c0aac6a0" +dependencies = [ + "cfg-if 1.0.0", + "rand 0.8.4", + "static_assertions", +] + +[[package]] +name = "typenum" +version = "1.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dcf81ac59edc17cc8697ff311e8f5ef2d99fcbd9817b34cec66f90b6c3dfd987" + +[[package]] +name = "ucd-trie" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56dee185309b50d1f11bfedef0fe6d036842e3fb77413abef29f8f8d1c5d4c1c" + +[[package]] +name = "uint" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6470ab50f482bde894a037a57064480a246dbfdd5960bd65a44824693f08da5f" +dependencies = [ + "byteorder", + "crunchy", + "hex", + "static_assertions", +] + +[[package]] +name = "unicase" +version = "2.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6" +dependencies = [ + "version_check", +] + +[[package]] +name = "unicode-bidi" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a01404663e3db436ed2746d9fefef640d868edae3cceb81c3b8d5732fda678f" + +[[package]] +name = "unicode-normalization" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d54590932941a9e9266f0832deed84ebe1bf2e4c9e4a3554d393d18f5e854bf9" +dependencies = [ + "tinyvec", +] + +[[package]] +name = "unicode-segmentation" +version = "1.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8895849a949e7845e06bd6dc1aa51731a103c42707010a5b591c0038fb73385b" + +[[package]] +name = "unicode-width" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973" + +[[package]] +name = "unicode-xid" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3" + +[[package]] +name = "universal-hash" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f214e8f697e925001e66ec2c6e37a4ef93f0f78c2eed7814394e10c62025b05" +dependencies = [ + "generic-array 0.14.5", + "subtle", +] + +[[package]] +name = "unsigned-varint" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7fdeedbf205afadfe39ae559b75c3240f24e257d0ca27e85f85cb82aa19ac35" + +[[package]] +name = "unsigned-varint" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "35581ff83d4101e58b582e607120c7f5ffb17e632a980b1f38334d76b36908b2" +dependencies = [ + "asynchronous-codec 0.5.0", + "bytes 1.1.0", + "futures-io", + "futures-util", +] + +[[package]] +name = "unsigned-varint" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d86a8dc7f45e4c1b0d30e43038c38f274e77af056aa5f74b93c2cf9eb3c1c836" +dependencies = [ + "asynchronous-codec 0.6.0", + "bytes 1.1.0", + "futures-io", + "futures-util", +] + +[[package]] +name = "untrusted" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" + +[[package]] +name = "url" +version = "1.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd4e7c0d531266369519a4aa4f399d748bd37043b00bde1e4ff1f60a120b355a" +dependencies = [ + "idna 0.1.5", + "matches", + "percent-encoding 1.0.1", +] + +[[package]] +name = "url" +version = "2.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a507c383b2d33b5fc35d1861e77e6b383d158b2da5e14fe51b83dfedf6fd578c" +dependencies = [ + "form_urlencoded", + "idna 0.2.3", + "matches", + "percent-encoding 2.1.0", +] + +[[package]] +name = "value-bag" +version = "1.0.0-alpha.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "79923f7731dc61ebfba3633098bf3ac533bbd35ccd8c57e7088d9a5eebe0263f" +dependencies = [ + "ctor", + "version_check", +] + +[[package]] +name = "vcpkg" +version = "0.2.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" + +[[package]] +name = "vec_map" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" + +[[package]] +name = "version_check" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" + +[[package]] +name = "void" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" + +[[package]] +name = "waker-fn" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d5b2c62b4012a3e1eca5a7e077d13b3bf498c4073e33ccd58626607748ceeca" + +[[package]] +name = "walkdir" +version = "2.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "808cf2735cd4b6866113f648b791c6adc5714537bc222d9347bb203386ffda56" +dependencies = [ + "same-file", + "winapi 0.3.9", + "winapi-util", +] + +[[package]] +name = "want" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0" +dependencies = [ + "log", + "try-lock", +] + +[[package]] +name = "wasi" +version = "0.9.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" + +[[package]] +name = "wasi" +version = "0.10.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" + +[[package]] +name = "wasm-bindgen" +version = "0.2.78" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "632f73e236b219150ea279196e54e610f5dbafa5d61786303d4da54f84e47fce" +dependencies = [ + "cfg-if 1.0.0", + "wasm-bindgen-macro", +] + +[[package]] +name = "wasm-bindgen-backend" +version = "0.2.78" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a317bf8f9fba2476b4b2c85ef4c4af8ff39c3c7f0cdfeed4f82c34a880aa837b" +dependencies = [ + "bumpalo", + "lazy_static", + "log", + "proc-macro2", + "quote", + "syn", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e8d7523cb1f2a4c96c1317ca690031b714a51cc14e05f712446691f413f5d39" +dependencies = [ + "cfg-if 1.0.0", + "js-sys", + "wasm-bindgen", + "web-sys", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.78" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d56146e7c495528bf6587663bea13a8eb588d39b36b679d83972e1a2dbbdacf9" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.78" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7803e0eea25835f8abdc585cd3021b3deb11543c6fe226dcd30b228857c5c5ab" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "wasm-bindgen-backend", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.78" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0237232789cf037d5480773fe568aac745bfe2afbc11a863e97901780a6b47cc" + +[[package]] +name = "wasm-gc-api" +version = "0.1.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0c32691b6c7e6c14e7f8fd55361a9088b507aa49620fcd06c09b3a1082186b9" +dependencies = [ + "log", + "parity-wasm 0.32.0", + "rustc-demangle", +] + +[[package]] +name = "wasm-timer" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be0ecb0db480561e9a7642b5d3e4187c128914e58aa84330b9493e3eb68c5e7f" +dependencies = [ + "futures 0.3.19", + "js-sys", + "parking_lot 0.11.2", + "pin-utils", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "wasmi" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca00c5147c319a8ec91ec1a0edbec31e566ce2c9cc93b3f9bb86a9efd0eb795d" +dependencies = [ + "downcast-rs", + "libc", + "memory_units", + "num-rational 0.2.4", + "num-traits", + "parity-wasm 0.42.2", + "wasmi-validation", +] + +[[package]] +name = "wasmi-validation" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "165343ecd6c018fc09ebcae280752702c9a2ef3e6f8d02f1cfcbdb53ef6d7937" +dependencies = [ + "parity-wasm 0.42.2", +] + +[[package]] +name = "wasmparser" +version = "0.81.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98930446519f63d00a836efdc22f67766ceae8dbcc1571379f2bcabc6b2b9abc" + +[[package]] +name = "wasmtime" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "311d06b0c49346d1fbf48a17052e844036b95a7753c1afb34e8c0af3f6b5bb13" +dependencies = [ + "anyhow", + "backtrace", + "bincode", + "cfg-if 1.0.0", + "cpp_demangle", + "indexmap", + "lazy_static", + "libc", + "log", + "object", + "paste", + "psm", + "rayon", + "region", + "rustc-demangle", + "serde", + "target-lexicon", + "wasmparser", + "wasmtime-cache", + "wasmtime-cranelift", + "wasmtime-environ", + "wasmtime-jit", + "wasmtime-runtime", + "winapi 0.3.9", +] + +[[package]] +name = "wasmtime-cache" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36147930a4995137dc096e5b17a573b446799be2bbaea433e821ce6a80abe2c5" +dependencies = [ + "anyhow", + "base64", + "bincode", + "directories-next", + "file-per-thread-logger", + "log", + "rsix", + "serde", + "sha2 0.9.9", + "toml", + "winapi 0.3.9", + "zstd", +] + +[[package]] +name = "wasmtime-cranelift" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab3083a47e1ede38aac06a1d9831640d673f9aeda0b82a64e4ce002f3432e2e7" +dependencies = [ + "anyhow", + "cranelift-codegen", + "cranelift-entity", + "cranelift-frontend", + "cranelift-native", + "cranelift-wasm", + "gimli 0.25.0", + "log", + "more-asserts", + "object", + "target-lexicon", + "thiserror", + "wasmparser", + "wasmtime-environ", +] + +[[package]] +name = "wasmtime-environ" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c2d194b655321053bc4111a1aa4ead552655c8a17d17264bc97766e70073510" +dependencies = [ + "anyhow", + "cfg-if 1.0.0", + "cranelift-entity", + "gimli 0.25.0", + "indexmap", + "log", + "more-asserts", + "object", + "serde", + "target-lexicon", + "thiserror", + "wasmparser", + "wasmtime-types", +] + +[[package]] +name = "wasmtime-jit" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "864ac8dfe4ce310ac59f16fdbd560c257389cb009ee5d030ac6e30523b023d11" +dependencies = [ + "addr2line 0.16.0", + "anyhow", + "bincode", + "cfg-if 1.0.0", + "gimli 0.25.0", + "log", + "more-asserts", + "object", + "region", + "rsix", + "serde", + "target-lexicon", + "thiserror", + "wasmparser", + "wasmtime-environ", + "wasmtime-runtime", + "winapi 0.3.9", +] + +[[package]] +name = "wasmtime-runtime" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab97da813a26b98c9abfd3b0c2d99e42f6b78b749c0646344e2e262d212d8c8b" +dependencies = [ + "anyhow", + "backtrace", + "cc", + "cfg-if 1.0.0", + "indexmap", + "lazy_static", + "libc", + "log", + "mach", + "memoffset", + "more-asserts", + "rand 0.8.4", + "region", + "rsix", + "thiserror", + "wasmtime-environ", + "winapi 0.3.9", +] + +[[package]] +name = "wasmtime-types" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff94409cc3557bfbbcce6b14520ccd6bd3727e965c0fe68d63ef2c185bf379c6" +dependencies = [ + "cranelift-entity", + "serde", + "thiserror", + "wasmparser", +] + +[[package]] +name = "web-sys" +version = "0.3.55" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38eb105f1c59d9eaa6b5cdc92b859d85b926e82cb2e0945cd0c9259faa6fe9fb" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "webpki" +version = "0.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea" +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", +] + +[[package]] +name = "wepoll-ffi" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d743fdedc5c64377b5fc2bc036b01c7fd642205a0d96356034ae3404d49eb7fb" +dependencies = [ + "cc", +] + +[[package]] +name = "which" +version = "4.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea187a8ef279bc014ec368c27a920da2024d2a711109bfbe3440585d5cf27ad9" +dependencies = [ + "either", + "lazy_static", + "libc", +] + +[[package]] +name = "widestring" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c168940144dd21fd8046987c16a46a33d5fc84eec29ef9dcddc2ac9e31526b7c" + +[[package]] +name = "winapi" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" + +[[package]] +name = "winapi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +dependencies = [ + "winapi-i686-pc-windows-gnu", + "winapi-x86_64-pc-windows-gnu", +] + +[[package]] +name = "winapi-build" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc" + +[[package]] +name = "winapi-i686-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" + +[[package]] +name = "winapi-util" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" +dependencies = [ + "winapi 0.3.9", +] + +[[package]] +name = "winapi-x86_64-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" + +[[package]] +name = "winreg" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2986deb581c4fe11b621998a5e53361efe6b48a151178d0cd9eeffa4dc6acc9" +dependencies = [ + "winapi 0.3.9", +] + +[[package]] +name = "ws2_32-sys" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e" +dependencies = [ + "winapi 0.2.8", + "winapi-build", +] + +[[package]] +name = "wyz" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85e60b0d1b5f99db2556934e21937020776a5d31520bf169e851ac44e6420214" + +[[package]] +name = "x25519-dalek" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a0c105152107e3b96f6a00a65e86ce82d9b125230e1c4302940eca58ff71f4f" +dependencies = [ + "curve25519-dalek 3.2.0", + "rand_core 0.5.1", + "zeroize", +] + +[[package]] +name = "xcm" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "derivative", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "scale-info", + "xcm-procedural", +] + +[[package]] +name = "xcm-builder" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "frame-support", + "frame-system", + "log", + "pallet-transaction-payment", + "parity-scale-codec", + "polkadot-parachain", + "scale-info", + "sp-arithmetic", + "sp-io", + "sp-runtime", + "sp-std", + "xcm", + "xcm-executor", +] + +[[package]] +name = "xcm-executor" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "frame-support", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "xcm", +] + +[[package]] +name = "xcm-procedural" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.13#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "yamux" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7d9028f208dd5e63c614be69f115c1b53cacc1111437d4c765185856666c107" +dependencies = [ + "futures 0.3.19", + "log", + "nohash-hasher", + "parking_lot 0.11.2", + "rand 0.8.4", + "static_assertions", +] + +[[package]] +name = "zeroize" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc222aec311c323c717f56060324f32b82da1ce1dd81d9a09aa6a9030bfe08db" +dependencies = [ + "zeroize_derive", +] + +[[package]] +name = "zeroize_derive" +version = "1.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81e8f13fef10b63c06356d65d416b070798ddabcadc10d3ece0c5be9b3c7eddb" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "synstructure", +] + +[[package]] +name = "zstd" +version = "0.9.2+zstd.1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2390ea1bf6c038c39674f22d95f0564725fc06034a47129179810b2fc58caa54" +dependencies = [ + "zstd-safe", +] + +[[package]] +name = "zstd-safe" +version = "4.1.3+zstd.1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e99d81b99fb3c2c2c794e3fe56c305c63d5173a16a46b5850b07c935ffc7db79" +dependencies = [ + "libc", + "zstd-sys", +] + +[[package]] +name = "zstd-sys" +version = "1.6.2+zstd.1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2daf2f248d9ea44454bfcb2516534e8b8ad2fc91bf818a1885495fc42bc8ac9f" +dependencies = [ + "cc", + "libc", +] diff --git a/config.json b/config.json new file mode 100644 index 000000000..350dc599a --- /dev/null +++ b/config.json @@ -0,0 +1,78 @@ +{ + "relaychain": { + "bin": "./bin/polkadot", + "chain": "rococo-local", + "nodes": [ + { + "name": "alice", + "wsPort": 9944, + "port": 30444 + }, + { + "name": "bob", + "wsPort": 9955, + "port": 30555 + }, + { + "name": "charlie", + "wsPort": 9966, + "port": 30666 + }, + { + "name": "dave", + "wsPort": 9977, + "port": 30777 + } + ], + "genesis": { + "runtime": { + "runtime_genesis_config": { + "configuration": { + "config": { + "validation_upgrade_frequency": 10, + "validation_upgrade_delay": 10 + } + } + } + } + } + }, + "parachains": [ + { + "bin": "./target/release/datahighway-collator", + "id": "2000", + "balance": "1000000000000000000000", + "nodes": [ + { + "wsPort": 9988, + "port": 31200, + "name": "alice", + "flags": ["--", "--execution=wasm"] + } + ] + }, + { + "bin": "./target/release/datahighway-collator", + "id": "3000", + "balance": "1000000000000000000000", + "nodes": [ + { + "wsPort": 9999, + "port": 31300, + "name": "alice", + "flags": ["--", "--execution=wasm"] + } + ] + } + ], + "hrmpChannels": [ + { + "sender": 2000, + "recipient": 3000, + "maxCapacity": 8, + "maxMessageSize": 512 + } + ], + "types": {}, + "finalization": false +} diff --git a/node/Cargo.toml b/node/Cargo.toml index e21134fef..2fafcc980 100755 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -6,15 +6,15 @@ structopt = "0.3.8" serde = { version = "1.0.119", features = ["derive"] } hex-literal = "0.3.1" # RPC related dependencies -jsonrpc-core = "15.1.0" +jsonrpc-core = "18.0.0" [dependencies.frame-benchmarking] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-benchmarking-cli] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.datahighway-parachain-runtime] path = '../runtime' @@ -22,199 +22,203 @@ version = '1.1.0' [dependencies.pallet-transaction-payment-rpc] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.substrate-prometheus-endpoint] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sc-basic-authorship] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sc-chain-spec] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sc-cli] features = ['wasmtime'] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sc-client-api] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sc-consensus] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sc-executor] features = ['wasmtime'] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sc-network] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sc-keystore] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sc-rpc] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sc-rpc-api] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sc-service] features = ['wasmtime'] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sc-transaction-pool] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" + +[dependencies.sc-transaction-pool-api] +git = 'https://github.com/paritytech/substrate' +branch = "polkadot-v0.9.13" [dependencies.sc-tracing] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-api] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-block-builder] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-blockchain] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-consensus] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-consensus-aura] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-core] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-inherents] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-keystore] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-offchain] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-runtime] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-session] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-timestamp] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-transaction-pool] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-trie] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.substrate-frame-rpc-system] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [build-dependencies.substrate-build-script-utils] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" # Cumulus dependencies [dependencies.cumulus-client-consensus-aura] git = 'https://github.com/paritytech/cumulus.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.cumulus-client-consensus-common] git = 'https://github.com/paritytech/cumulus.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.cumulus-client-collator] git = 'https://github.com/paritytech/cumulus.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.cumulus-client-cli] git = 'https://github.com/paritytech/cumulus.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.cumulus-client-network] git = 'https://github.com/paritytech/cumulus.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.cumulus-primitives-core] git = 'https://github.com/paritytech/cumulus.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.cumulus-client-service] git = 'https://github.com/paritytech/cumulus.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.cumulus-primitives-parachain-inherent] git = 'https://github.com/paritytech/cumulus.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" # Polkadot dependencies [dependencies.polkadot-primitives] git = "https://github.com/paritytech/polkadot" -branch = "release-v0.9.10" +branch = "release-v0.9.13" [dependencies.polkadot-service] git = "https://github.com/paritytech/polkadot" -branch = "release-v0.9.10" +branch = "release-v0.9.13" [dependencies.polkadot-cli] git = "https://github.com/paritytech/polkadot" -branch = "release-v0.9.10" +branch = "release-v0.9.13" [dependencies.polkadot-test-service] git = "https://github.com/paritytech/polkadot" -branch = "release-v0.9.10" +branch = "release-v0.9.13" [dependencies.polkadot-parachain] git = "https://github.com/paritytech/polkadot" -branch = "release-v0.9.10" +branch = "release-v0.9.13" [dependencies.sc-consensus-epochs] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sc-consensus-aura] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" # # [dependencies.sc-telemetry] git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [[bin]] name = 'datahighway-collator' diff --git a/node/src/chain_spec.rs b/node/src/chain_spec.rs index 92e30a9e8..f4cd95cf7 100755 --- a/node/src/chain_spec.rs +++ b/node/src/chain_spec.rs @@ -4,10 +4,13 @@ use datahighway_parachain_runtime::{ AuraId, AuraConfig, BalancesConfig, + CollatorSelectionConfig, GeneralCouncilMembershipConfig, GenesisConfig, + SessionConfig, Signature, SudoConfig, + EXISTENTIAL_DEPOSIT, }; use hex_literal::hex; use sc_chain_spec::{ @@ -42,7 +45,7 @@ pub use sp_runtime::{ pub type ChainSpec = sc_service::GenericChainSpec; /// Helper function to generate a crypto pair from seed -pub fn get_from_seed(seed: &str) -> ::Public { +pub fn get_public_from_seed(seed: &str) -> ::Public { TPublic::Pair::from_string(&format!("//{}", seed), None).expect("static values are valid; qed").public() } @@ -65,6 +68,13 @@ impl Extensions { type AccountPublic = ::Signer; +/// Generate collator keys from seed. +/// +/// This function's return type must always match the session keys of the chain in tuple format. +pub fn get_collator_keys_from_seed(seed: &str) -> AuraId { + get_public_from_seed::(seed) +} + // Note this is the URL for the telemetry server const POLKADOT_STAGING_TELEMETRY_URL: &str = "wss://telemetry.polkadot.io/submit/"; @@ -73,13 +83,21 @@ pub fn get_account_id_from_seed(seed: &str) -> AccountId where AccountPublic: From<::Public>, { - AccountPublic::from(get_from_seed::(seed)).into_account() + AccountPublic::from(get_public_from_seed::(seed)).into_account() +} + +/// Generate the session keys from individual elements. +/// +/// The input must be a tuple of individual keys (a single arg for now since we have just one key). +pub fn datahighway_session_keys(keys: AuraId) -> datahighway_parachain_runtime::SessionKeys { + datahighway_parachain_runtime::SessionKeys { aura: keys } } -pub fn datahighway_rococo_development_config(id: ParaId) -> ChainSpec { +pub fn datahighway_rococo_development_config() -> ChainSpec { let mut properties = sc_chain_spec::Properties::new(); properties.insert("tokenSymbol".into(), "UNIT".into()); properties.insert("tokenDecimals".into(), 18.into()); + properties.insert("ss58Format".into(), 33.into()); ChainSpec::from_genesis( // Name "DataHighway Rococo Development Testnet", @@ -88,16 +106,33 @@ pub fn datahighway_rococo_development_config(id: ParaId) -> ChainSpec { ChainType::Development, move || { dev_genesis( - vec![get_from_seed::("Alice"), get_from_seed::("Bob")], + vec![ + ( + get_account_id_from_seed::("Alice"), + get_collator_keys_from_seed("Alice"), + ), + ( + get_account_id_from_seed::("Bob"), + get_collator_keys_from_seed("Bob"), + ), + ], get_account_id_from_seed::("Alice"), vec![ hex!["a42b7518d62a942344fec55d414f1654bf3fd325dbfa32a3c30534d5976acb21"].into(), get_account_id_from_seed::("Alice"), get_account_id_from_seed::("Bob"), + get_account_id_from_seed::("Charlie"), + get_account_id_from_seed::("Dave"), + get_account_id_from_seed::("Eve"), + get_account_id_from_seed::("Ferdie"), get_account_id_from_seed::("Alice//stash"), get_account_id_from_seed::("Bob//stash"), + get_account_id_from_seed::("Charlie//stash"), + get_account_id_from_seed::("Dave//stash"), + get_account_id_from_seed::("Eve//stash"), + get_account_id_from_seed::("Ferdie//stash"), ], - id, + 2000.into(), ) }, vec![], @@ -106,15 +141,16 @@ pub fn datahighway_rococo_development_config(id: ParaId) -> ChainSpec { Some(properties), Extensions { relay_chain: "rococo-dev".into(), - para_id: id.into(), + para_id: 2000, }, ) } -pub fn datahighway_rococo_local_testnet_config(id: ParaId) -> ChainSpec { +pub fn datahighway_rococo_local_testnet_config() -> ChainSpec { let mut properties = sc_chain_spec::Properties::new(); properties.insert("tokenSymbol".into(), "UNIT".into()); properties.insert("tokenDecimals".into(), 18.into()); + properties.insert("ss58Format".into(), 33.into()); ChainSpec::from_genesis( // Name "DataHighway Rococo Local Testnet", @@ -123,7 +159,16 @@ pub fn datahighway_rococo_local_testnet_config(id: ParaId) -> ChainSpec { ChainType::Local, move || { testnet_genesis( - vec![get_from_seed::("Alice"), get_from_seed::("Bob")], + vec![ + ( + get_account_id_from_seed::("Alice"), + get_collator_keys_from_seed("Alice"), + ), + ( + get_account_id_from_seed::("Bob"), + get_collator_keys_from_seed("Bob"), + ), + ], get_account_id_from_seed::("Alice"), vec![ hex!["a42b7518d62a942344fec55d414f1654bf3fd325dbfa32a3c30534d5976acb21"].into(), @@ -140,24 +185,27 @@ pub fn datahighway_rococo_local_testnet_config(id: ParaId) -> ChainSpec { get_account_id_from_seed::("Eve//stash"), get_account_id_from_seed::("Ferdie//stash"), ], - id, + 2000.into(), ) }, + // Bootnodes Vec::new(), + // Telemetry None, None, Some(properties), Extensions { relay_chain: "rococo-local".into(), - para_id: id.into(), + para_id: 2000, }, ) } -pub fn datahighway_chachacha_development_config(id: ParaId) -> ChainSpec { +pub fn datahighway_chachacha_development_config() -> ChainSpec { let mut properties = sc_chain_spec::Properties::new(); properties.insert("tokenSymbol".into(), "UNIT".into()); properties.insert("tokenDecimals".into(), 18.into()); + properties.insert("ss58Format".into(), 33.into()); ChainSpec::from_genesis( // Name "DataHighway ChaChaCha Development Testnet", @@ -166,16 +214,33 @@ pub fn datahighway_chachacha_development_config(id: ParaId) -> ChainSpec { ChainType::Development, move || { dev_genesis( - vec![get_from_seed::("Alice"), get_from_seed::("Bob")], + vec![ + ( + get_account_id_from_seed::("Alice"), + get_collator_keys_from_seed("Alice"), + ), + ( + get_account_id_from_seed::("Bob"), + get_collator_keys_from_seed("Bob"), + ), + ], get_account_id_from_seed::("Alice"), vec![ hex!["a42b7518d62a942344fec55d414f1654bf3fd325dbfa32a3c30534d5976acb21"].into(), get_account_id_from_seed::("Alice"), get_account_id_from_seed::("Bob"), + get_account_id_from_seed::("Charlie"), + get_account_id_from_seed::("Dave"), + get_account_id_from_seed::("Eve"), + get_account_id_from_seed::("Ferdie"), get_account_id_from_seed::("Alice//stash"), get_account_id_from_seed::("Bob//stash"), + get_account_id_from_seed::("Charlie//stash"), + get_account_id_from_seed::("Dave//stash"), + get_account_id_from_seed::("Eve//stash"), + get_account_id_from_seed::("Ferdie//stash"), ], - id, + 2000.into(), ) }, vec![], @@ -184,12 +249,12 @@ pub fn datahighway_chachacha_development_config(id: ParaId) -> ChainSpec { Some(properties), Extensions { relay_chain: "chachacha-dev".into(), - para_id: id.into(), + para_id: 2000, }, ) } -pub fn datahighway_chachacha_local_testnet_config(id: ParaId) -> ChainSpec { +pub fn datahighway_chachacha_local_testnet_config() -> ChainSpec { let mut properties = sc_chain_spec::Properties::new(); properties.insert("tokenSymbol".into(), "UNIT".into()); properties.insert("tokenDecimals".into(), 18.into()); @@ -201,7 +266,16 @@ pub fn datahighway_chachacha_local_testnet_config(id: ParaId) -> ChainSpec { ChainType::Local, move || { testnet_genesis( - vec![get_from_seed::("Alice"), get_from_seed::("Bob")], + vec![ + ( + get_account_id_from_seed::("Alice"), + get_collator_keys_from_seed("Alice"), + ), + ( + get_account_id_from_seed::("Bob"), + get_collator_keys_from_seed("Bob"), + ), + ], get_account_id_from_seed::("Alice"), vec![ hex!["a42b7518d62a942344fec55d414f1654bf3fd325dbfa32a3c30534d5976acb21"].into(), @@ -218,7 +292,7 @@ pub fn datahighway_chachacha_local_testnet_config(id: ParaId) -> ChainSpec { get_account_id_from_seed::("Eve//stash"), get_account_id_from_seed::("Ferdie//stash"), ], - id, + 2000.into(), ) }, Vec::new(), @@ -227,12 +301,12 @@ pub fn datahighway_chachacha_local_testnet_config(id: ParaId) -> ChainSpec { Some(properties), Extensions { relay_chain: "chachacha-local".into(), - para_id: id.into(), + para_id: 2000, }, ) } -pub fn datahighway_rococo_parachain_config(id: ParaId) -> ChainSpec { +pub fn datahighway_rococo_parachain_config() -> ChainSpec { let mut properties = sc_chain_spec::Properties::new(); properties.insert("tokenSymbol".into(), "DHX".into()); properties.insert("tokenDecimals".into(), 18.into()); @@ -246,21 +320,29 @@ pub fn datahighway_rococo_parachain_config(id: ParaId) -> ChainSpec { vec![ // authority #1 ( + // account id + hex!["106c208ac262aa3733629ad0860d0dc72d8b9152e1cdcab497949a3f9504517a"].into(), // aura hex!["106c208ac262aa3733629ad0860d0dc72d8b9152e1cdcab497949a3f9504517a"].unchecked_into() ), // authority #2 ( + // account id + hex!["0234df0fce3e763e02b6644e589bd256bbd45121bdf6d98dd1cf1072b6228859"].into(), // aura hex!["0234df0fce3e763e02b6644e589bd256bbd45121bdf6d98dd1cf1072b6228859"].unchecked_into() ), // authority #3 ( + // account id + hex!["02fe175463b5c7c378416e06780f7c60520d4dbcf759a7634a311e562e13a765"].into(), // aura hex!["02fe175463b5c7c378416e06780f7c60520d4dbcf759a7634a311e562e13a765"].unchecked_into() ), // authority #4 ( + // account id + hex!["ea239700d67f53d30e39bee0c056f1165a6fb59ad4d5dd495c06d001af366c02"].into(), // aura hex!["ea239700d67f53d30e39bee0c056f1165a6fb59ad4d5dd495c06d001af366c02"].unchecked_into() ) @@ -299,7 +381,7 @@ pub fn datahighway_rococo_parachain_config(id: ParaId) -> ChainSpec { // authority #4 aura hex!["ea239700d67f53d30e39bee0c056f1165a6fb59ad4d5dd495c06d001af366c02"].into(), ], - id, + 2005.into(), ) }, boot_nodes, @@ -308,12 +390,12 @@ pub fn datahighway_rococo_parachain_config(id: ParaId) -> ChainSpec { Some(properties), Extensions { relay_chain: "rococo".into(), - para_id: id.into(), + para_id: 2005, }, ) } -pub fn datahighway_chachacha_parachain_config(id: ParaId) -> ChainSpec { +pub fn datahighway_chachacha_parachain_config() -> ChainSpec { let mut properties = sc_chain_spec::Properties::new(); properties.insert("tokenSymbol".into(), "DHX".into()); properties.insert("tokenDecimals".into(), 18.into()); @@ -327,21 +409,29 @@ pub fn datahighway_chachacha_parachain_config(id: ParaId) -> ChainSpec { vec![ // authority #1 ( + // account id + hex!["106c208ac262aa3733629ad0860d0dc72d8b9152e1cdcab497949a3f9504517a"].into(), // aura hex!["106c208ac262aa3733629ad0860d0dc72d8b9152e1cdcab497949a3f9504517a"].unchecked_into() ), // authority #2 ( + // account id + hex!["0234df0fce3e763e02b6644e589bd256bbd45121bdf6d98dd1cf1072b6228859"].into(), // aura hex!["0234df0fce3e763e02b6644e589bd256bbd45121bdf6d98dd1cf1072b6228859"].unchecked_into() ), // authority #3 ( + // account id + hex!["02fe175463b5c7c378416e06780f7c60520d4dbcf759a7634a311e562e13a765"].into(), // aura hex!["02fe175463b5c7c378416e06780f7c60520d4dbcf759a7634a311e562e13a765"].unchecked_into() ), // authority #4 ( + // account id + hex!["ea239700d67f53d30e39bee0c056f1165a6fb59ad4d5dd495c06d001af366c02"].into(), // aura hex!["ea239700d67f53d30e39bee0c056f1165a6fb59ad4d5dd495c06d001af366c02"].unchecked_into() ) @@ -380,7 +470,7 @@ pub fn datahighway_chachacha_parachain_config(id: ParaId) -> ChainSpec { // authority #4 aura hex!["ea239700d67f53d30e39bee0c056f1165a6fb59ad4d5dd495c06d001af366c02"].into(), ], - id, + 2002.into(), ) }, boot_nodes, @@ -389,12 +479,12 @@ pub fn datahighway_chachacha_parachain_config(id: ParaId) -> ChainSpec { Some(properties), Extensions { relay_chain: "chachacha".into(), - para_id: id.into(), + para_id: 2002, }, ) } -pub fn datahighway_westend_development_config(id: ParaId) -> ChainSpec { +pub fn datahighway_westend_development_config() -> ChainSpec { let mut properties = sc_chain_spec::Properties::new(); properties.insert("tokenSymbol".into(), "UNIT".into()); properties.insert("tokenDecimals".into(), 18.into()); @@ -406,16 +496,33 @@ pub fn datahighway_westend_development_config(id: ParaId) -> ChainSpec { ChainType::Development, move || { dev_genesis( - vec![get_from_seed::("Alice"), get_from_seed::("Bob")], + vec![ + ( + get_account_id_from_seed::("Alice"), + get_collator_keys_from_seed("Alice"), + ), + ( + get_account_id_from_seed::("Bob"), + get_collator_keys_from_seed("Bob"), + ), + ], get_account_id_from_seed::("Alice"), vec![ hex!["a42b7518d62a942344fec55d414f1654bf3fd325dbfa32a3c30534d5976acb21"].into(), get_account_id_from_seed::("Alice"), get_account_id_from_seed::("Bob"), + get_account_id_from_seed::("Charlie"), + get_account_id_from_seed::("Dave"), + get_account_id_from_seed::("Eve"), + get_account_id_from_seed::("Ferdie"), get_account_id_from_seed::("Alice//stash"), get_account_id_from_seed::("Bob//stash"), + get_account_id_from_seed::("Charlie//stash"), + get_account_id_from_seed::("Dave//stash"), + get_account_id_from_seed::("Eve//stash"), + get_account_id_from_seed::("Ferdie//stash"), ], - id, + 2000.into(), ) }, vec![], @@ -424,12 +531,12 @@ pub fn datahighway_westend_development_config(id: ParaId) -> ChainSpec { Some(properties), Extensions { relay_chain: "westend-dev".into(), - para_id: id.into(), + para_id: 2000, }, ) } -pub fn datahighway_westend_local_testnet_config(id: ParaId) -> ChainSpec { +pub fn datahighway_westend_local_testnet_config() -> ChainSpec { let mut properties = sc_chain_spec::Properties::new(); properties.insert("tokenSymbol".into(), "UNIT".into()); properties.insert("tokenDecimals".into(), 18.into()); @@ -441,7 +548,16 @@ pub fn datahighway_westend_local_testnet_config(id: ParaId) -> ChainSpec { ChainType::Local, move || { testnet_genesis( - vec![get_from_seed::("Alice"), get_from_seed::("Bob")], + vec![ + ( + get_account_id_from_seed::("Alice"), + get_collator_keys_from_seed("Alice"), + ), + ( + get_account_id_from_seed::("Bob"), + get_collator_keys_from_seed("Bob"), + ), + ], get_account_id_from_seed::("Alice"), vec![ hex!["a42b7518d62a942344fec55d414f1654bf3fd325dbfa32a3c30534d5976acb21"].into(), @@ -458,7 +574,7 @@ pub fn datahighway_westend_local_testnet_config(id: ParaId) -> ChainSpec { get_account_id_from_seed::("Eve//stash"), get_account_id_from_seed::("Ferdie//stash"), ], - id, + 2000.into(), ) }, Vec::new(), @@ -467,33 +583,50 @@ pub fn datahighway_westend_local_testnet_config(id: ParaId) -> ChainSpec { Some(properties), Extensions { relay_chain: "westend-local".into(), - para_id: id.into(), + para_id: 2000, }, ) } -pub fn datahighway_polkadot_development_config(id: ParaId) -> ChainSpec { +pub fn datahighway_kusama_development_config() -> ChainSpec { let mut properties = sc_chain_spec::Properties::new(); properties.insert("tokenSymbol".into(), "UNIT".into()); properties.insert("tokenDecimals".into(), 18.into()); ChainSpec::from_genesis( // Name - "DataHighway Polkadot Development Testnet", + "DataHighway Kusama Development Testnet", // ID - "datahighway-polkadot-dev", + "datahighway-kusama-dev", ChainType::Development, move || { dev_genesis( - vec![get_from_seed::("Alice"), get_from_seed::("Bob")], + vec![ + ( + get_account_id_from_seed::("Alice"), + get_collator_keys_from_seed("Alice"), + ), + ( + get_account_id_from_seed::("Bob"), + get_collator_keys_from_seed("Bob"), + ), + ], get_account_id_from_seed::("Alice"), vec![ hex!["a42b7518d62a942344fec55d414f1654bf3fd325dbfa32a3c30534d5976acb21"].into(), get_account_id_from_seed::("Alice"), get_account_id_from_seed::("Bob"), + get_account_id_from_seed::("Charlie"), + get_account_id_from_seed::("Dave"), + get_account_id_from_seed::("Eve"), + get_account_id_from_seed::("Ferdie"), get_account_id_from_seed::("Alice//stash"), get_account_id_from_seed::("Bob//stash"), + get_account_id_from_seed::("Charlie//stash"), + get_account_id_from_seed::("Dave//stash"), + get_account_id_from_seed::("Eve//stash"), + get_account_id_from_seed::("Ferdie//stash"), ], - id, + 2000.into(), ) }, vec![], @@ -501,25 +634,34 @@ pub fn datahighway_polkadot_development_config(id: ParaId) -> ChainSpec { None, Some(properties), Extensions { - relay_chain: "polkadot-dev".into(), - para_id: id.into(), + relay_chain: "kusama-dev".into(), + para_id: 2000, }, ) } -pub fn datahighway_polkadot_local_testnet_config(id: ParaId) -> ChainSpec { +pub fn datahighway_kusama_local_testnet_config() -> ChainSpec { let mut properties = sc_chain_spec::Properties::new(); properties.insert("tokenSymbol".into(), "UNIT".into()); properties.insert("tokenDecimals".into(), 18.into()); ChainSpec::from_genesis( // Name - "DataHighway Polkadot Local Testnet", + "DataHighway Kusama Local Testnet", // ID - "datahighway-polkadot-local", + "datahighway-kusama-local", ChainType::Local, move || { testnet_genesis( - vec![get_from_seed::("Alice"), get_from_seed::("Bob")], + vec![ + ( + get_account_id_from_seed::("Alice"), + get_collator_keys_from_seed("Alice"), + ), + ( + get_account_id_from_seed::("Bob"), + get_collator_keys_from_seed("Bob"), + ), + ], get_account_id_from_seed::("Alice"), vec![ hex!["a42b7518d62a942344fec55d414f1654bf3fd325dbfa32a3c30534d5976acb21"].into(), @@ -536,7 +678,7 @@ pub fn datahighway_polkadot_local_testnet_config(id: ParaId) -> ChainSpec { get_account_id_from_seed::("Eve//stash"), get_account_id_from_seed::("Ferdie//stash"), ], - id, + 2000.into(), ) }, Vec::new(), @@ -544,13 +686,13 @@ pub fn datahighway_polkadot_local_testnet_config(id: ParaId) -> ChainSpec { None, Some(properties), Extensions { - relay_chain: "polkadot-local".into(), - para_id: id.into(), + relay_chain: "kusama-local".into(), + para_id: 2000, }, ) } -pub fn datahighway_westend_parachain_config(id: ParaId) -> ChainSpec { +pub fn datahighway_westend_parachain_config() -> ChainSpec { let mut properties = sc_chain_spec::Properties::new(); properties.insert("tokenSymbol".into(), "BKL".into()); properties.insert("tokenDecimals".into(), 18.into()); @@ -564,21 +706,29 @@ pub fn datahighway_westend_parachain_config(id: ParaId) -> ChainSpec { vec![ // authority #1 ( + //account + hex!["2628f7a7bb067a23daa14b1aa9f10ff44545d37907f2d5cefee905236944060a"].into(), // aura hex!["2628f7a7bb067a23daa14b1aa9f10ff44545d37907f2d5cefee905236944060a"].unchecked_into() ), // authority #2 ( + //account + hex!["709f96ae975cd0cfafd98fb241810a2870d58fcfdbb1ee6892a8740525f4d871"].into(), // aura hex!["709f96ae975cd0cfafd98fb241810a2870d58fcfdbb1ee6892a8740525f4d871"].unchecked_into() ), // authority #3 ( + //account + hex!["ce7f04896b8d13da7a4f3f0a49bf6c1d77076043a1184a993ce75d96f6e0ee56"].into(), // aura hex!["ce7f04896b8d13da7a4f3f0a49bf6c1d77076043a1184a993ce75d96f6e0ee56"].unchecked_into() ), // authority #4 ( + //account + hex!["c27631914b41a8f58e24277158817d064a4144df430dd2cf7baeaa17414deb3e"].into(), // aura hex!["c27631914b41a8f58e24277158817d064a4144df430dd2cf7baeaa17414deb3e"].unchecked_into() ) @@ -617,7 +767,7 @@ pub fn datahighway_westend_parachain_config(id: ParaId) -> ChainSpec { // authority #4 aura hex!["c27631914b41a8f58e24277158817d064a4144df430dd2cf7baeaa17414deb3e"].into(), ], - id, + 2000.into(), ) }, boot_nodes, @@ -626,40 +776,48 @@ pub fn datahighway_westend_parachain_config(id: ParaId) -> ChainSpec { Some(properties), Extensions { relay_chain: "westend".into(), - para_id: id.into(), + para_id: 2000, }, ) } -pub fn datahighway_polkadot_parachain_config(id: ParaId) -> ChainSpec { +pub fn datahighway_kusama_parachain_config() -> ChainSpec { let mut properties = sc_chain_spec::Properties::new(); properties.insert("tokenSymbol".into(), "DHX".into()); properties.insert("tokenDecimals".into(), 18.into()); let boot_nodes = vec![]; ChainSpec::from_genesis( - "DataHighway Tanganika Polkadot Parachain", - "datahighway-tanganika-polkadot-parachain", + "DataHighway Tanganika Kusama Parachain", + "datahighway-kusama-polkadot-parachain", ChainType::Live, move || { tanganika_testnet_genesis( vec![ // authority #1 ( + // account + hex!["a8694c0c9e315e020844944ac76712c84f84a00007016e61c7e2f83fc56c5b3f"].into(), // aura hex!["a8694c0c9e315e020844944ac76712c84f84a00007016e61c7e2f83fc56c5b3f"].unchecked_into() ), // authority #2 ( + // account + hex!["a8db9194388b3c038b126a5e2520515be2e989e3f380ce2cb5cf29d5a26c0522"].into(), // aura hex!["a8db9194388b3c038b126a5e2520515be2e989e3f380ce2cb5cf29d5a26c0522"].unchecked_into() ), // authority #3 ( + // account + hex!["b8212af17ba93d9175748469afa0a74357712ff4571a36d347df58cf3821cd3d"].into(), // aura hex!["b8212af17ba93d9175748469afa0a74357712ff4571a36d347df58cf3821cd3d"].unchecked_into() ), // authority #4 ( + // account + hex!["10a3d6854dc35e4b3fd77af4beda98f79dbe9edf5c29c14c8d57bec4bd733c0f"].into(), // aura hex!["10a3d6854dc35e4b3fd77af4beda98f79dbe9edf5c29c14c8d57bec4bd733c0f"].unchecked_into() ) @@ -698,7 +856,7 @@ pub fn datahighway_polkadot_parachain_config(id: ParaId) -> ChainSpec { // authority #4 aura hex!["10a3d6854dc35e4b3fd77af4beda98f79dbe9edf5c29c14c8d57bec4bd733c0f"].into(), ], - id, + 2000.into(), ) }, boot_nodes, @@ -706,8 +864,8 @@ pub fn datahighway_polkadot_parachain_config(id: ParaId) -> ChainSpec { Some("dhx"), Some(properties), Extensions { - relay_chain: "polkadot".into(), - para_id: id.into(), + relay_chain: "kusama".into(), + para_id: 2000, }, ) } @@ -719,7 +877,7 @@ const INITIAL_DHX_DAO_TREASURY_UNLOCKED_RESERVES_BALANCE: u128 = 30_000_000_000_ // const INITIAL_STAKING: u128 = 1_000_000_000_000_000_000_u128; fn spreehafen_testnet_genesis( - initial_authorities: Vec<(AuraId)>, + invulnerables: Vec<(AccountId, AuraId)>, root_key: AccountId, endowed_accounts: Vec, id: ParaId @@ -727,7 +885,6 @@ fn spreehafen_testnet_genesis( GenesisConfig { system: datahighway_parachain_runtime::SystemConfig { code: datahighway_parachain_runtime::WASM_BINARY.expect("WASM binary was not build, please build it!").to_vec(), - changes_trie_config: Default::default(), }, balances: BalancesConfig { balances: endowed_accounts @@ -762,14 +919,33 @@ fn spreehafen_testnet_genesis( parachain_info: datahighway_parachain_runtime::ParachainInfoConfig { parachain_id: id, }, - aura: AuraConfig { authorities: initial_authorities }, + collator_selection: CollatorSelectionConfig { + invulnerables: invulnerables.iter().cloned().map(|(acc, _)| acc).collect(), + candidacy_bond: EXISTENTIAL_DEPOSIT * 16, + ..Default::default() + }, + session: SessionConfig { + keys: invulnerables + .into_iter() + .map(|(acc, aura)| { + ( + acc.clone(), // account id + acc, // validator id + datahighway_session_keys(aura), // session keys + ) + }) + .collect(), + }, + // no need to pass anything to aura, in fact it will panic if we do. Session will take care + // of this. + aura: Default::default(), aura_ext: Default::default(), parachain_system: Default::default(), } } fn testnet_genesis( - initial_authorities: Vec, + invulnerables: Vec<(AccountId, AuraId)>, root_key: AccountId, endowed_accounts: Vec, id: ParaId, @@ -777,7 +953,6 @@ fn testnet_genesis( GenesisConfig { system: datahighway_parachain_runtime::SystemConfig { code: datahighway_parachain_runtime::WASM_BINARY.expect("WASM binary was not build, please build it!").to_vec(), - changes_trie_config: Default::default(), }, balances: BalancesConfig { balances: endowed_accounts @@ -812,14 +987,33 @@ fn testnet_genesis( parachain_info: datahighway_parachain_runtime::ParachainInfoConfig { parachain_id: id, }, - aura: AuraConfig { authorities: initial_authorities }, + collator_selection: CollatorSelectionConfig { + invulnerables: invulnerables.iter().cloned().map(|(acc, _)| acc).collect(), + candidacy_bond: EXISTENTIAL_DEPOSIT * 16, + ..Default::default() + }, + session: SessionConfig { + keys: invulnerables + .into_iter() + .map(|(acc, aura)| { + ( + acc.clone(), // account id + acc, // validator id + datahighway_session_keys(aura), // session keys + ) + }) + .collect(), + }, + // no need to pass anything to aura, in fact it will panic if we do. Session will take care + // of this. + aura: Default::default(), aura_ext: Default::default(), parachain_system: Default::default(), } } fn dev_genesis( - initial_authorities: Vec, + invulnerables: Vec<(AccountId, AuraId)>, root_key: AccountId, endowed_accounts: Vec, id: ParaId, @@ -827,7 +1021,6 @@ fn dev_genesis( datahighway_parachain_runtime::GenesisConfig { system: datahighway_parachain_runtime::SystemConfig { code: datahighway_parachain_runtime::WASM_BINARY.expect("WASM binary was not build, please build it!").to_vec(), - changes_trie_config: Default::default(), }, balances: BalancesConfig { balances: endowed_accounts @@ -862,14 +1055,33 @@ fn dev_genesis( parachain_info: datahighway_parachain_runtime::ParachainInfoConfig { parachain_id: id, }, - aura: AuraConfig { authorities: initial_authorities }, + collator_selection: CollatorSelectionConfig { + invulnerables: invulnerables.iter().cloned().map(|(acc, _)| acc).collect(), + candidacy_bond: EXISTENTIAL_DEPOSIT * 16, + ..Default::default() + }, + session: SessionConfig { + keys: invulnerables + .into_iter() + .map(|(acc, aura)| { + ( + acc.clone(), // account id + acc, // validator id + datahighway_session_keys(aura), // session keys + ) + }) + .collect(), + }, + // no need to pass anything to aura, in fact it will panic if we do. Session will take care + // of this. + aura: Default::default(), aura_ext: Default::default(), parachain_system: Default::default(), } } fn baikal_testnet_genesis( - initial_authorities: Vec<(AuraId)>, + invulnerables: Vec<(AccountId, AuraId)>, root_key: AccountId, endowed_accounts: Vec, id: ParaId @@ -877,7 +1089,6 @@ fn baikal_testnet_genesis( GenesisConfig { system: datahighway_parachain_runtime::SystemConfig { code: datahighway_parachain_runtime::WASM_BINARY.expect("WASM binary was not build, please build it!").to_vec(), - changes_trie_config: Default::default(), }, balances: BalancesConfig { balances: endowed_accounts @@ -912,14 +1123,33 @@ fn baikal_testnet_genesis( parachain_info: datahighway_parachain_runtime::ParachainInfoConfig { parachain_id: id, }, - aura: AuraConfig { authorities: initial_authorities }, + collator_selection: CollatorSelectionConfig { + invulnerables: invulnerables.iter().cloned().map(|(acc, _)| acc).collect(), + candidacy_bond: EXISTENTIAL_DEPOSIT * 16, + ..Default::default() + }, + session: SessionConfig { + keys: invulnerables + .into_iter() + .map(|(acc, aura)| { + ( + acc.clone(), // account id + acc, // validator id + datahighway_session_keys(aura), // session keys + ) + }) + .collect(), + }, + // no need to pass anything to aura, in fact it will panic if we do. Session will take care + // of this. + aura: Default::default(), aura_ext: Default::default(), parachain_system: Default::default(), } } fn tanganika_testnet_genesis( - initial_authorities: Vec<(AuraId)>, + invulnerables: Vec<(AccountId, AuraId)>, root_key: AccountId, endowed_accounts: Vec, id: ParaId @@ -927,7 +1157,6 @@ fn tanganika_testnet_genesis( GenesisConfig { system: datahighway_parachain_runtime::SystemConfig { code: datahighway_parachain_runtime::WASM_BINARY.expect("WASM binary was not build, please build it!").to_vec(), - changes_trie_config: Default::default(), }, balances: BalancesConfig { balances: endowed_accounts @@ -962,7 +1191,26 @@ fn tanganika_testnet_genesis( parachain_info: datahighway_parachain_runtime::ParachainInfoConfig { parachain_id: id, }, - aura: AuraConfig { authorities: initial_authorities }, + collator_selection: CollatorSelectionConfig { + invulnerables: invulnerables.iter().cloned().map(|(acc, _)| acc).collect(), + candidacy_bond: EXISTENTIAL_DEPOSIT * 16, + ..Default::default() + }, + session: SessionConfig { + keys: invulnerables + .into_iter() + .map(|(acc, aura)| { + ( + acc.clone(), // account id + acc, // validator id + datahighway_session_keys(aura), // session keys + ) + }) + .collect(), + }, + // no need to pass anything to aura, in fact it will panic if we do. Session will take care + // of this. + aura: Default::default(), aura_ext: Default::default(), parachain_system: Default::default(), } diff --git a/node/src/cli.rs b/node/src/cli.rs index 6707c67bd..614cc1725 100755 --- a/node/src/cli.rs +++ b/node/src/cli.rs @@ -1,6 +1,4 @@ use crate::chain_spec; -use cumulus_client_cli; -use sc_cli; use std::path::PathBuf; use structopt::StructOpt; @@ -44,10 +42,6 @@ pub struct ExportGenesisStateCommand { #[structopt(parse(from_os_str))] pub output: Option, - /// Id of the parachain this state is for. - #[structopt(long, conflicts_with = "chain")] - pub parachain_id: Option, - /// Write output in binary. Default is to write in hex. #[structopt(short, long)] pub raw: bool, @@ -86,9 +80,9 @@ pub struct Cli { #[structopt(flatten)] pub run: cumulus_client_cli::RunCmd, - /// Relaychain arguments + /// Relay chain arguments #[structopt(raw = true)] - pub relaychain_args: Vec, + pub relay_chain_args: Vec, } #[derive(Debug)] diff --git a/node/src/command.rs b/node/src/command.rs index ea0407e9b..3517f9b14 100755 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -36,26 +36,20 @@ use std::{ net::SocketAddr, }; -// Default parachain-id CLI option value where: -// 2000 is for cumulus workshop testing on local -// 2005 is for rococo -// 2002 is for chachacha -const PARA_ID: u32 = 2000; - -fn load_spec(id: &str, para_id: ParaId) -> std::result::Result, String> { +fn load_spec(id: &str) -> std::result::Result, String> { Ok(match id { - "dev" | "rococo-dev"=> Box::new(chain_spec::datahighway_rococo_development_config(para_id)), - "" | "local" | "rococo-local"=> Box::new(chain_spec::datahighway_rococo_local_testnet_config(para_id)), - "chachacha-dev"=> Box::new(chain_spec::datahighway_chachacha_development_config(para_id)), - "chachacha-local"=> Box::new(chain_spec::datahighway_chachacha_local_testnet_config(para_id)), - "rococo" => Box::new(chain_spec::datahighway_rococo_parachain_config(para_id)), - "chachacha" => Box::new(chain_spec::datahighway_chachacha_parachain_config(para_id)), - "westend-dev"=> Box::new(chain_spec::datahighway_westend_development_config(para_id)), - "westend-local"=> Box::new(chain_spec::datahighway_westend_local_testnet_config(para_id)), - "westend" => Box::new(chain_spec::datahighway_westend_parachain_config(para_id)), - "polkadot-dev"=> Box::new(chain_spec::datahighway_polkadot_development_config(para_id)), - "polkadot-local"=> Box::new(chain_spec::datahighway_polkadot_local_testnet_config(para_id)), - "polkadot" => Box::new(chain_spec::datahighway_polkadot_parachain_config(para_id)), + "dev" | "rococo-dev"=> Box::new(chain_spec::datahighway_rococo_development_config()), + "" | "local" | "rococo-local"=> Box::new(chain_spec::datahighway_rococo_local_testnet_config()), + "chachacha-dev"=> Box::new(chain_spec::datahighway_chachacha_development_config()), + "chachacha-local"=> Box::new(chain_spec::datahighway_chachacha_local_testnet_config()), + "rococo" => Box::new(chain_spec::datahighway_rococo_parachain_config()), + "chachacha" => Box::new(chain_spec::datahighway_chachacha_parachain_config()), + "westend-dev"=> Box::new(chain_spec::datahighway_westend_development_config()), + "westend-local"=> Box::new(chain_spec::datahighway_westend_local_testnet_config()), + "westend" => Box::new(chain_spec::datahighway_westend_parachain_config()), + "kusama-dev"=> Box::new(chain_spec::datahighway_kusama_development_config()), + "kusama-local"=> Box::new(chain_spec::datahighway_kusama_local_testnet_config()), + "kusama" => Box::new(chain_spec::datahighway_kusama_parachain_config()), path => Box::new(chain_spec::ChainSpec::from_json_file(std::path::PathBuf::from(path))?), }) } @@ -70,12 +64,11 @@ impl SubstrateCli for Cli { } fn description() -> String { - format!( - "DataHighway 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{} [parachain-args] -- \ - [relaychain-args]", - Self::executable_name() - ) + "DataHighway Collator Template\n\nThe command-line arguments provided first will be \ + passed to the parachain node, while the arguments provided after -- will be passed \ + to the relay chain node.\n\n\ + dataHighway-collator -- " + .into() } fn author() -> String { @@ -91,7 +84,7 @@ impl SubstrateCli for Cli { } fn load_spec(&self, id: &str) -> std::result::Result, String> { - load_spec(id, self.run.parachain_id.unwrap_or(PARA_ID).into()) + load_spec(id) } fn native_runtime_version(_: &Box) -> &'static RuntimeVersion { @@ -109,9 +102,10 @@ impl SubstrateCli for RelayChainCli { } fn description() -> String { - "DataHighway 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\nrococo-collator [parachain-args] -- \ - [relaychain-args]" + "DataHighway Collator Template\n\nThe command-line arguments provided first will be \ + passed to the parachain node, while the arguments provided after -- will be passed \ + to the relay chain node.\n\n\ + dataHighway-collator -- " .into() } @@ -128,7 +122,7 @@ impl SubstrateCli for RelayChainCli { } fn load_spec(&self, id: &str) -> std::result::Result, String> { - polkadot_cli::Cli::from_iter([RelayChainCli::executable_name().to_string()].iter()).load_spec(id) + polkadot_cli::Cli::from_iter([RelayChainCli::executable_name()].iter()).load_spec(id) } fn native_runtime_version(chain_spec: &Box) -> &'static RuntimeVersion { @@ -136,6 +130,7 @@ impl SubstrateCli for RelayChainCli { } } +#[allow(clippy::borrowed_box)] fn extract_genesis_wasm(chain_spec: &Box) -> Result> { let mut storage = chain_spec.build_storage()?; @@ -198,33 +193,31 @@ pub fn run() -> Result<()> { runner.sync_run(|config| { let polkadot_cli = RelayChainCli::new( &config, - [RelayChainCli::executable_name().to_string()] - .iter() - .chain(cli.relaychain_args.iter()), + [RelayChainCli::executable_name()].iter().chain(cli.relay_chain_args.iter()), ); let polkadot_config = SubstrateCli::create_configuration( &polkadot_cli, &polkadot_cli, - config.task_executor.clone(), + config.tokio_handle.clone(), ) .map_err(|err| format!("Relay chain argument error: {}", err))?; cmd.run(config, polkadot_config) }) } - Some(Subcommand::Revert(cmd)) => construct_async_run!(|components, cli, cmd, config| { - Ok(cmd.run(components.client, components.backend)) - }), + 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, ""); let _ = builder.init(); - let block: Block = generate_genesis_block(&load_spec( - ¶ms.chain.clone().unwrap_or_default(), - params.parachain_id.unwrap_or(PARA_ID).into(), - )?)?; + let block: Block = + generate_genesis_block(&load_spec(¶ms.chain.clone().unwrap_or_default())?)?; let raw_header = block.header().encode(); let output_buf = if params.raw { raw_header @@ -264,17 +257,16 @@ pub fn run() -> Result<()> { let runner = cli.create_runner(&cli.run.normalize())?; runner.run_node_until_exit(|config| async move { - let para_id = - chain_spec::Extensions::try_get(&*config.chain_spec).map(|e| e.para_id); + let para_id = chain_spec::Extensions::try_get(&*config.chain_spec) + .map(|e| e.para_id) + .ok_or_else(|| "Could not find parachain ID in chain-spec.")?; let polkadot_cli = RelayChainCli::new( &config, - [RelayChainCli::executable_name().to_string()] - .iter() - .chain(cli.relaychain_args.iter()), + [RelayChainCli::executable_name()].iter().chain(cli.relay_chain_args.iter()), ); - let id = ParaId::from(cli.run.parachain_id.or(para_id).unwrap_or(PARA_ID)); + let id = ParaId::from(para_id); let parachain_account = AccountIdConversion::::into_account(&id); @@ -283,11 +275,11 @@ pub fn run() -> Result<()> { generate_genesis_block(&config.chain_spec).map_err(|e| format!("{:?}", e))?; let genesis_state = format!("0x{:?}", HexDisplay::from(&block.header().encode())); - let task_executor = config.task_executor.clone(); + let tokio_handle = config.tokio_handle.clone(); let polkadot_config = SubstrateCli::create_configuration( &polkadot_cli, &polkadot_cli, - task_executor, + tokio_handle, ) .map_err(|err| format!("Relay chain argument error: {}", err))?; @@ -303,7 +295,7 @@ pub fn run() -> Result<()> { } ); - crate::service::start_node(config, polkadot_config, id) + crate::service::start_parachain_node(config, polkadot_config, id) .await .map(|r| r.0) .map_err(Into::into) @@ -405,10 +397,6 @@ impl CliConfiguration for RelayChainCli { self.base.base.rpc_cors(is_dev) } - fn telemetry_external_transport(&self) -> Result> { - self.base.base.telemetry_external_transport() - } - fn default_heap_pages(&self) -> Result> { self.base.base.default_heap_pages() } diff --git a/node/src/main.rs b/node/src/main.rs index 444e17fd3..01bfa0c88 100755 --- a/node/src/main.rs +++ b/node/src/main.rs @@ -5,6 +5,7 @@ mod chain_spec; mod service; mod cli; mod command; +mod rpc; fn main() -> sc_cli::Result<()> { command::run() diff --git a/node/src/rpc.rs b/node/src/rpc.rs new file mode 100644 index 000000000..2e52f2ced --- /dev/null +++ b/node/src/rpc.rs @@ -0,0 +1,57 @@ +//! A collection of node-specific RPC methods. +//! Substrate provides the `sc-rpc` crate, which defines the core RPC layer +//! used by Substrate nodes. This file extends those RPC definitions with +//! capabilities that are specific to this project's runtime configuration. + +#![warn(missing_docs)] + +use std::sync::Arc; + +use datahighway_parachain_runtime::{opaque::Block, AccountId, Balance, Index as Nonce}; + +use sc_client_api::AuxStore; +pub use sc_rpc::{DenyUnsafe, SubscriptionTaskExecutor}; +use sc_transaction_pool_api::TransactionPool; +use sp_api::ProvideRuntimeApi; +use sp_block_builder::BlockBuilder; +use sp_blockchain::{Error as BlockChainError, HeaderBackend, HeaderMetadata}; + +/// A type representing all RPC extensions. +pub type RpcExtension = jsonrpc_core::IoHandler; + +/// Full client dependencies +pub struct FullDeps { + /// The client instance to use. + pub client: Arc, + /// Transaction pool instance. + pub pool: Arc

, + /// Whether to deny unsafe calls + pub deny_unsafe: DenyUnsafe, +} + +/// Instantiate all RPC extensions. +pub fn create_full(deps: FullDeps) -> RpcExtension + where + C: ProvideRuntimeApi + + HeaderBackend + + AuxStore + + HeaderMetadata + + Send + + Sync + + 'static, + C::Api: pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi, + C::Api: substrate_frame_rpc_system::AccountNonceApi, + C::Api: BlockBuilder, + P: TransactionPool + Sync + Send + 'static, +{ + use pallet_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApi}; + use substrate_frame_rpc_system::{FullSystem, SystemApi}; + + let mut io = jsonrpc_core::IoHandler::default(); + let FullDeps { client, pool, deny_unsafe } = deps; + + io.extend_with(SystemApi::to_delegate(FullSystem::new(client.clone(), pool, deny_unsafe))); + io.extend_with(TransactionPaymentApi::to_delegate(TransactionPayment::new(client))); + + io +} diff --git a/node/src/service.rs b/node/src/service.rs index f61087269..2872d3a50 100755 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -1,3 +1,5 @@ +//! Service and ServiceFactory implementation. Specialized wrapper over substrate service. + use cumulus_client_consensus_aura::{ build_aura_consensus, BuildAuraConsensusParams, SlotProportion, }; @@ -11,13 +13,15 @@ use cumulus_client_service::{ StartFullNodeParams, }; use datahighway_parachain_runtime::{ + AccountId, + Balance, + Index as Nonce, opaque::{Block, Header}, RuntimeApi, }; use datahighway_parachain_runtime::Hash; use polkadot_primitives::v0::CollatorPair; -use sc_executor::native_executor_instance; -pub use sc_executor::NativeExecutor; +use sc_executor::NativeElseWasmExecutor; use sc_service::{ Configuration, PartialComponents, @@ -39,33 +43,48 @@ use substrate_prometheus_endpoint::Registry; use sp_keystore::SyncCryptoStorePtr; use sc_network::NetworkService; -// Native executor instance. -native_executor_instance!( - pub DataHighwayParachainRuntimeExecutor, - datahighway_parachain_runtime::api::dispatch, - datahighway_parachain_runtime::native_version, -); +/// Native executor instance. +pub struct DataHighwayParachainRuntimeExecutor; + +impl sc_executor::NativeExecutionDispatch for DataHighwayParachainRuntimeExecutor { + type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions; + + fn dispatch(method: &str, data: &[u8]) -> Option> { + datahighway_parachain_runtime::api::dispatch(method, data) + } + + fn native_version() -> sc_executor::NativeVersion { + datahighway_parachain_runtime::native_version() + } +} /// Starts a `ServiceBuilder` for a full service. /// /// 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( config: &Configuration, build_import_queue: BIQ, ) -> Result< PartialComponents< - TFullClient, + TFullClient>, TFullBackend, (), - sc_consensus::DefaultImportQueue>, - sc_transaction_pool::FullPool>, + sc_consensus::DefaultImportQueue< + Block, + TFullClient>, + >, + sc_transaction_pool::FullPool< + Block, + TFullClient>, + >, (Option, Option), >, sc_service::Error, > where - RuntimeApi: ConstructRuntimeApi> + RuntimeApi: ConstructRuntimeApi>> + Send + Sync + 'static, @@ -80,12 +99,15 @@ pub fn new_partial( sc_client_api::StateBackendFor, Block>: sp_api::StateBackend, Executor: sc_executor::NativeExecutionDispatch + 'static, BIQ: FnOnce( - Arc>, + Arc>>, &Configuration, Option, &TaskManager, ) -> Result< - sc_consensus::DefaultImportQueue>, + sc_consensus::DefaultImportQueue< + Block, + TFullClient>, + >, sc_service::Error, >, { @@ -99,12 +121,19 @@ pub fn new_partial( }) .transpose()?; - let (client, backend, keystore_container, task_manager) = - sc_service::new_full_parts::( - &config, - telemetry.as_ref().map(|(_, telemetry)| telemetry.handle()), - )?; - let client = Arc::new(client); + let executor = sc_executor::NativeElseWasmExecutor::::new( + config.wasm_method, + config.default_heap_pages, + config.max_runtime_instances, + ); + + let (client, backend, keystore_container, task_manager) = + sc_service::new_full_parts::( + config, + telemetry.as_ref().map(|(_, telemetry)| telemetry.handle()), + executor, + )?; + let client = Arc::new(client); let telemetry_worker_handle = telemetry .as_ref() @@ -112,7 +141,7 @@ pub fn new_partial( let telemetry = telemetry .map(|(worker, telemetry)| { - task_manager.spawn_handle().spawn("telemetry", worker.run()); + task_manager.spawn_handle().spawn("telemetry", None,worker.run()); telemetry }); @@ -154,12 +183,15 @@ async fn start_node_impl( parachain_config: Configuration, polkadot_config: Configuration, id: ParaId, - rpc_ext_builder: RB, + _rpc_ext_builder: RB, build_import_queue: BIQ, build_consensus: BIC, -) -> sc_service::error::Result<(TaskManager, Arc>)> +) -> sc_service::error::Result<( + TaskManager, + Arc>>, +)> where - RuntimeApi: ConstructRuntimeApi> + RuntimeApi: ConstructRuntimeApi>> + Send + Sync + 'static, @@ -171,7 +203,9 @@ async fn start_node_impl( StateBackend = sc_client_api::StateBackendFor, Block>, > + sp_offchain::OffchainWorkerApi + sp_block_builder::BlockBuilder - + cumulus_primitives_core::CollectCollationInfo, + + cumulus_primitives_core::CollectCollationInfo + + pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi + + substrate_frame_rpc_system::AccountNonceApi, sc_client_api::StateBackendFor, Block>: sp_api::StateBackend, Executor: sc_executor::NativeExecutionDispatch + 'static, RB: Fn( @@ -180,21 +214,29 @@ async fn start_node_impl( + Send + 'static, BIQ: FnOnce( - Arc>, + Arc>>, &Configuration, Option, &TaskManager, ) -> Result< - sc_consensus::DefaultImportQueue>, + sc_consensus::DefaultImportQueue< + Block, + TFullClient>, + >, sc_service::Error, - >, + > + 'static, BIC: FnOnce( - Arc>, + Arc>>, Option<&Registry>, Option, &TaskManager, &polkadot_service::NewFull, - Arc>>, + Arc< + sc_transaction_pool::FullPool< + Block, + TFullClient>, + >, + >, Arc>, SyncCryptoStorePtr, bool, @@ -239,17 +281,26 @@ async fn start_node_impl( transaction_pool: transaction_pool.clone(), spawn_handle: task_manager.spawn_handle(), import_queue: import_queue.clone(), - on_demand: None, block_announce_validator_builder: Some(Box::new(|_| block_announce_validator)), warp_sync: None, })?; - let rpc_client = client.clone(); - let rpc_extensions_builder = Box::new(move |_, _| rpc_ext_builder(rpc_client.clone())); + let rpc_extensions_builder = { + let client = client.clone(); + let transaction_pool = transaction_pool.clone(); + + Box::new(move |deny_unsafe, _| { + let deps = crate::rpc::FullDeps { + client: client.clone(), + pool: transaction_pool.clone(), + deny_unsafe, + }; + + Ok(crate::rpc::create_full(deps)) + }) + }; sc_service::spawn_tasks(sc_service::SpawnTasksParams { - on_demand: None, - remote_blockchain: None, rpc_extensions_builder, client: client.clone(), transaction_pool: transaction_pool.clone(), @@ -314,16 +365,17 @@ async fn start_node_impl( Ok((task_manager, client)) } -/// Build the import queue for the the parachain runtime. +/// Build the import queue for the parachain runtime. +#[allow(clippy::type_complexity)] pub fn parachain_build_import_queue( - client: Arc>, + client: Arc>>, config: &Configuration, telemetry: Option, task_manager: &TaskManager, ) -> Result< sc_consensus::DefaultImportQueue< Block, - TFullClient, + TFullClient>, >, sc_service::Error, > { @@ -352,7 +404,7 @@ pub fn parachain_build_import_queue( Ok((time, slot)) }, - registry: config.prometheus_registry().clone(), + registry: config.prometheus_registry(), can_author_with: sp_consensus::CanAuthorWithNativeVersion::new(client.executor().clone()), spawner: &task_manager.spawn_essential_handle(), telemetry, @@ -360,12 +412,15 @@ pub fn parachain_build_import_queue( .map_err(Into::into) } -/// Start a normal parachain node. -pub async fn start_node( +/// Start a parachain node. +pub async fn start_parachain_node( parachain_config: Configuration, polkadot_config: Configuration, id: ParaId, -) -> sc_service::error::Result<(TaskManager, Arc>)> { +) -> sc_service::error::Result<( + TaskManager, + Arc>>, +)> { start_node_impl::( parachain_config, polkadot_config, @@ -387,7 +442,7 @@ pub async fn start_node( task_manager.spawn_handle(), client.clone(), transaction_pool, - prometheus_registry.clone(), + prometheus_registry, telemetry.clone(), ); diff --git a/pallets/exchange-rate/Cargo.toml b/pallets/exchange-rate/Cargo.toml index b5e920265..5db38923e 100755 --- a/pallets/exchange-rate/Cargo.toml +++ b/pallets/exchange-rate/Cargo.toml @@ -21,9 +21,11 @@ std = [ 'roaming-operators/std', 'serde', + 'scale-info/std', ] [dependencies] +scale-info = { version = "1.0.0", default-features = false, features = ["derive"] } codec = { version = '2.0.0', package = 'parity-scale-codec', default-features = false, features = ['derive'] } safe-mix = { version = '1.0.0', default-features = false } roaming-operators = { default-features = false, package = 'roaming-operators', path = '../roaming/roaming-operators' } @@ -32,46 +34,46 @@ serde = { version = '1.0.101', optional = true, features = ['derive'] } [dependencies.pallet-balances] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-randomness-collective-flip] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-transaction-payment] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-support] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-system] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-core] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-io] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-runtime] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-std] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dev-dependencies] diff --git a/pallets/exchange-rate/src/lib.rs b/pallets/exchange-rate/src/lib.rs index 3d1fcc99a..345a4c804 100755 --- a/pallets/exchange-rate/src/lib.rs +++ b/pallets/exchange-rate/src/lib.rs @@ -28,19 +28,19 @@ use sp_runtime::{ DispatchError, }; use sp_std::prelude::*; - +use scale_info::TypeInfo; #[cfg(test)] mod mock; #[cfg(test)] mod tests; -#[derive(Encode, Decode, Clone, PartialEq, Eq)] +#[derive(Encode, Decode, Clone, PartialEq, Eq, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug))] pub struct ExchangeRate(pub [u8; 16]); #[cfg_attr(feature = "std", derive(Debug))] -#[derive(Encode, Decode, Default, Clone, PartialEq)] +#[derive(Encode, Decode, Default, Clone, PartialEq, TypeInfo)] pub struct ExchangeRateSetting { pub hbtc: H, pub dot: D, diff --git a/pallets/exchange-rate/src/mock.rs b/pallets/exchange-rate/src/mock.rs index 48b0dc722..e5db3a103 100644 --- a/pallets/exchange-rate/src/mock.rs +++ b/pallets/exchange-rate/src/mock.rs @@ -7,6 +7,7 @@ use crate::{ use frame_support::{ parameter_types, + traits::Everything, weights::{ IdentityFee, Weight, @@ -45,7 +46,7 @@ parameter_types! { impl frame_system::Config for Test { type AccountData = pallet_balances::AccountData; type AccountId = u64; - type BaseCallFilter = (); + type BaseCallFilter = Everything; type BlockHashCount = BlockHashCount; type BlockNumber = u64; type BlockLength = (); @@ -82,9 +83,11 @@ impl pallet_balances::Config for Test { type WeightInfo = (); } parameter_types! { + pub const OperationalFeeMultiplier: u8 = 5; pub const TransactionByteFee: u64 = 1; } impl pallet_transaction_payment::Config for Test { + type OperationalFeeMultiplier = OperationalFeeMultiplier; type FeeMultiplierUpdate = (); type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter; type TransactionByteFee = TransactionByteFee; diff --git a/pallets/lockdrop/rpc/Cargo.toml b/pallets/lockdrop/rpc/Cargo.toml index f7b026456..c4833a8c7 100644 --- a/pallets/lockdrop/rpc/Cargo.toml +++ b/pallets/lockdrop/rpc/Cargo.toml @@ -14,46 +14,46 @@ serde = { version = '1.0.101', optional = true, features = ['derive'] } [dependencies.pallet-balances] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-randomness-collective-flip] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-transaction-payment] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-support] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-system] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-core] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-io] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-runtime] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-std] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dev-dependencies] diff --git a/pallets/lockdrop/runtime-api/Cargo.toml b/pallets/lockdrop/runtime-api/Cargo.toml index 14086cc38..85feb1b7c 100644 --- a/pallets/lockdrop/runtime-api/Cargo.toml +++ b/pallets/lockdrop/runtime-api/Cargo.toml @@ -8,7 +8,7 @@ edition = "2018" [dependencies.sp-api] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [features] default = ["std"] diff --git a/pallets/lockdrop/runtime/Cargo.toml b/pallets/lockdrop/runtime/Cargo.toml index 090e9318a..d97f12d89 100644 --- a/pallets/lockdrop/runtime/Cargo.toml +++ b/pallets/lockdrop/runtime/Cargo.toml @@ -8,7 +8,7 @@ edition = "2018" [dependencies.sp-std] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [features] default = ['std'] diff --git a/pallets/membership/supernodes/Cargo.toml b/pallets/membership/supernodes/Cargo.toml index 9d0c4b5df..0f5853bf7 100644 --- a/pallets/membership/supernodes/Cargo.toml +++ b/pallets/membership/supernodes/Cargo.toml @@ -17,6 +17,7 @@ compatibility_version = "2.0.0" [dependencies] codec = { version = '2.0.0', package = 'parity-scale-codec', default-features = false, features = ['derive'] } +scale-info = { version = "1.0.0", default-features = false, features = ["derive"] } # local packages account-set = { path = '../../../traits/account-set', default-features = false } @@ -25,39 +26,39 @@ account-set = { path = '../../../traits/account-set', default-features = false } [dependencies.frame-support] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-system] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-balances] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-runtime] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-std] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dev-dependencies] [dependencies.sp-io] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-core] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [features] default = ['std'] @@ -68,4 +69,5 @@ std = [ 'frame-system/std', 'pallet-balances/std', 'sp-runtime/std', + 'scale-info/std', ] diff --git a/pallets/membership/supernodes/src/tests.rs b/pallets/membership/supernodes/src/tests.rs index b2f288a55..a349b60e7 100644 --- a/pallets/membership/supernodes/src/tests.rs +++ b/pallets/membership/supernodes/src/tests.rs @@ -32,7 +32,7 @@ // impl frame_system::Config for TestRuntime { // type AccountData = pallet_balances::AccountData; // type AccountId = u64; -// type BaseCallFilter = (); +// type BaseCallFilter = Everything; // type BlockHashCount = BlockHashCount; // type BlockLength = (); // type BlockNumber = u64; diff --git a/pallets/mining/claims/hardware/Cargo.toml b/pallets/mining/claims/hardware/Cargo.toml index 5105ea002..1f8fd25fc 100644 --- a/pallets/mining/claims/hardware/Cargo.toml +++ b/pallets/mining/claims/hardware/Cargo.toml @@ -25,9 +25,11 @@ std = [ 'mining-rates-hardware/std', 'mining-sampling-hardware/std', 'serde', + 'scale-info/std', ] [dependencies] +scale-info = { version = "1.0.0", default-features = false, features = ["derive"] } codec = { version = '2.0.0', package = 'parity-scale-codec', default-features = false, features = ['derive'] } safe-mix = { version = '1.0.0', default-features = false } roaming-operators = { default-features = false, package = 'roaming-operators', path = '../../../roaming/roaming-operators' } @@ -41,46 +43,46 @@ serde = { version = '1.0.101', optional = true, features = ['derive'] } [dependencies.pallet-balances] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-randomness-collective-flip] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-transaction-payment] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-support] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-system] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-std] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-core] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-io] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-runtime] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dev-dependencies] diff --git a/pallets/mining/claims/hardware/src/lib.rs b/pallets/mining/claims/hardware/src/lib.rs index 3a8e726c0..4ebade2cb 100644 --- a/pallets/mining/claims/hardware/src/lib.rs +++ b/pallets/mining/claims/hardware/src/lib.rs @@ -35,6 +35,7 @@ use mining_setting_hardware; use mining_eligibility_hardware; use mining_rates_hardware; use mining_sampling_hardware; +use scale_info::TypeInfo; #[cfg(test)] mod mock; @@ -59,12 +60,12 @@ pub trait Config: // type BalanceOf = <::Currency as Currency<::AccountId>>::Balance; -#[derive(Encode, Decode, Clone, PartialEq, Eq)] +#[derive(Encode, Decode, Clone, PartialEq, Eq, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug))] pub struct MiningClaimsHardware(pub [u8; 16]); #[cfg_attr(feature = "std", derive(Debug))] -#[derive(Encode, Decode, Default, Clone, PartialEq)] +#[derive(Encode, Decode, Default, Clone, PartialEq, TypeInfo)] pub struct MiningClaimsHardwareClaimResult { pub hardware_claim_amount: U, pub hardware_claim_block_redeemed: V, diff --git a/pallets/mining/claims/hardware/src/mock.rs b/pallets/mining/claims/hardware/src/mock.rs index 3e31e5156..bf6ef9c70 100644 --- a/pallets/mining/claims/hardware/src/mock.rs +++ b/pallets/mining/claims/hardware/src/mock.rs @@ -7,6 +7,7 @@ use crate::{ use frame_support::{ parameter_types, + traits::Everything, weights::{ IdentityFee, Weight, @@ -45,7 +46,7 @@ parameter_types! { impl frame_system::Config for Test { type AccountData = pallet_balances::AccountData; type AccountId = u64; - type BaseCallFilter = (); + type BaseCallFilter = Everything; type BlockHashCount = BlockHashCount; type BlockNumber = u64; type BlockLength = (); @@ -82,9 +83,11 @@ impl pallet_balances::Config for Test { type WeightInfo = (); } parameter_types! { + pub const OperationalFeeMultiplier: u8 = 5; pub const TransactionByteFee: u64 = 1; } impl pallet_transaction_payment::Config for Test { + type OperationalFeeMultiplier = OperationalFeeMultiplier; type FeeMultiplierUpdate = (); type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter; type TransactionByteFee = TransactionByteFee; diff --git a/pallets/mining/claims/token/Cargo.toml b/pallets/mining/claims/token/Cargo.toml index 6c8267647..ad1a80801 100644 --- a/pallets/mining/claims/token/Cargo.toml +++ b/pallets/mining/claims/token/Cargo.toml @@ -25,9 +25,11 @@ std = [ 'mining-rates-token/std', 'mining-sampling-token/std', 'serde', + 'scale-info/std', ] [dependencies] +scale-info = { version = "1.0.0", default-features = false, features = ["derive"] } codec = { version = '2.0.0', package = 'parity-scale-codec', default-features = false, features = ['derive'] } safe-mix = { version = '1.0.0', default-features = false } roaming-operators = { default-features = false, package = 'roaming-operators', path = '../../../roaming/roaming-operators' } @@ -40,46 +42,46 @@ mining-sampling-token = { default-features = false, package = 'mining-sampling-t [dependencies.pallet-balances] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-randomness-collective-flip] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-transaction-payment] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-support] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-system] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-std] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-core] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-io] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-runtime] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dev-dependencies] diff --git a/pallets/mining/claims/token/src/lib.rs b/pallets/mining/claims/token/src/lib.rs index 257ebc98b..d7619cc02 100644 --- a/pallets/mining/claims/token/src/lib.rs +++ b/pallets/mining/claims/token/src/lib.rs @@ -35,6 +35,7 @@ use mining_setting_token; use mining_eligibility_token; use mining_rates_token; use mining_sampling_token; +use scale_info::TypeInfo; #[cfg(test)] mod mock; @@ -59,12 +60,12 @@ pub trait Config: // type BalanceOf = <::Currency as Currency<::AccountId>>::Balance; -#[derive(Encode, Decode, Clone, PartialEq, Eq)] +#[derive(Encode, Decode, Clone, PartialEq, Eq, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug))] pub struct MiningClaimsToken(pub [u8; 16]); #[cfg_attr(feature = "std", derive(Debug))] -#[derive(Encode, Decode, Default, Clone, PartialEq)] +#[derive(Encode, Decode, Default, Clone, PartialEq, TypeInfo)] pub struct MiningClaimsTokenClaimResult { pub token_claim_amount: U, pub token_claim_block_redeemed: V, diff --git a/pallets/mining/claims/token/src/mock.rs b/pallets/mining/claims/token/src/mock.rs index 87311981a..caa59ed65 100644 --- a/pallets/mining/claims/token/src/mock.rs +++ b/pallets/mining/claims/token/src/mock.rs @@ -7,6 +7,7 @@ use crate::{ use frame_support::{ parameter_types, + traits::Everything, weights::{ IdentityFee, Weight, @@ -45,7 +46,7 @@ parameter_types! { impl frame_system::Config for Test { type AccountData = pallet_balances::AccountData; type AccountId = u64; - type BaseCallFilter = (); + type BaseCallFilter = Everything; type BlockHashCount = BlockHashCount; type BlockNumber = u64; type BlockLength = (); @@ -82,9 +83,11 @@ impl pallet_balances::Config for Test { type WeightInfo = (); } parameter_types! { + pub const OperationalFeeMultiplier: u8 = 5; pub const TransactionByteFee: u64 = 1; } impl pallet_transaction_payment::Config for Test { + type OperationalFeeMultiplier = OperationalFeeMultiplier; type FeeMultiplierUpdate = (); type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter; type TransactionByteFee = TransactionByteFee; diff --git a/pallets/mining/eligibility/hardware/Cargo.toml b/pallets/mining/eligibility/hardware/Cargo.toml index 6297b046a..407f6d599 100644 --- a/pallets/mining/eligibility/hardware/Cargo.toml +++ b/pallets/mining/eligibility/hardware/Cargo.toml @@ -24,9 +24,11 @@ std = [ 'mining-setting-hardware/std', 'mining-sampling-hardware/std', 'serde', + 'scale-info/std', ] [dependencies] +scale-info = { version = "1.0.0", default-features = false, features = ["derive"] } codec = { version = '2.0.0', package = 'parity-scale-codec', default-features = false, features = ['derive'] } safe-mix = { version = '1.0.0', default-features = false } roaming-operators = { default-features = false, package = 'roaming-operators', path = '../../../roaming/roaming-operators' } @@ -38,46 +40,46 @@ serde = { version = '1.0.101', optional = true, features = ['derive'] } [dependencies.pallet-balances] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-randomness-collective-flip] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-transaction-payment] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-support] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-system] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-std] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-core] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-io] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-runtime] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dev-dependencies] diff --git a/pallets/mining/eligibility/hardware/src/lib.rs b/pallets/mining/eligibility/hardware/src/lib.rs index 59b36d727..9ad8ca18b 100644 --- a/pallets/mining/eligibility/hardware/src/lib.rs +++ b/pallets/mining/eligibility/hardware/src/lib.rs @@ -34,6 +34,7 @@ use sp_std::prelude::*; // Imports Vec use mining_setting_hardware; use mining_rates_hardware; use mining_sampling_hardware; +use scale_info::TypeInfo; #[cfg(test)] mod mock; @@ -60,12 +61,12 @@ pub trait Config: // type BalanceOf = <::Currency as Currency<::AccountId>>::Balance; -#[derive(Encode, Decode, Clone, PartialEq, Eq)] +#[derive(Encode, Decode, Clone, PartialEq, Eq, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug))] pub struct MiningEligibilityHardware(pub [u8; 16]); #[cfg_attr(feature = "std", derive(Debug))] -#[derive(Encode, Decode, Default, Clone, PartialEq)] +#[derive(Encode, Decode, Default, Clone, PartialEq, TypeInfo)] pub struct MiningEligibilityHardwareResult { pub hardware_calculated_eligibility: U, pub hardware_uptime_percentage: V, diff --git a/pallets/mining/eligibility/hardware/src/mock.rs b/pallets/mining/eligibility/hardware/src/mock.rs index 4c28bffcf..b93fd992b 100644 --- a/pallets/mining/eligibility/hardware/src/mock.rs +++ b/pallets/mining/eligibility/hardware/src/mock.rs @@ -7,6 +7,7 @@ use crate::{ use frame_support::{ parameter_types, + traits::Everything, weights::{ IdentityFee, Weight, @@ -45,7 +46,7 @@ parameter_types! { impl frame_system::Config for Test { type AccountData = pallet_balances::AccountData; type AccountId = u64; - type BaseCallFilter = (); + type BaseCallFilter = Everything; type BlockHashCount = BlockHashCount; type BlockNumber = u64; type BlockLength = (); @@ -82,9 +83,11 @@ impl pallet_balances::Config for Test { type WeightInfo = (); } parameter_types! { + pub const OperationalFeeMultiplier: u8 = 5; pub const TransactionByteFee: u64 = 1; } impl pallet_transaction_payment::Config for Test { + type OperationalFeeMultiplier = OperationalFeeMultiplier; type FeeMultiplierUpdate = (); type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter; type TransactionByteFee = TransactionByteFee; diff --git a/pallets/mining/eligibility/proxy/Cargo.toml b/pallets/mining/eligibility/proxy/Cargo.toml index 7c1604b8e..48c6fe5aa 100644 --- a/pallets/mining/eligibility/proxy/Cargo.toml +++ b/pallets/mining/eligibility/proxy/Cargo.toml @@ -25,9 +25,11 @@ std = [ 'account-set/std', 'membership-supernodes/std', + 'scale-info/std', ] [dependencies] +scale-info = { version = "1.0.0", default-features = false, features = ["derive"] } codec = { version = '2.0.0', package = 'parity-scale-codec', default-features = false, features = ['derive'] } safe-mix = { version = '1.0.0', default-features = false } chrono = { version = '0.4.19', default_features = false } @@ -38,57 +40,57 @@ module-primitives = { version = '3.0.0', default-features = false, path = '../.. [dependencies.frame-support] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-system] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-balances] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-randomness-collective-flip] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-timestamp] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-transaction-payment] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-treasury] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-std] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-core] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-io] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-runtime] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dev-dependencies] diff --git a/pallets/mining/eligibility/proxy/src/lib.rs b/pallets/mining/eligibility/proxy/src/lib.rs index de1258760..c06aceeff 100644 --- a/pallets/mining/eligibility/proxy/src/lib.rs +++ b/pallets/mining/eligibility/proxy/src/lib.rs @@ -53,6 +53,7 @@ use sp_std::{ }, prelude::*, }; +use scale_info::TypeInfo; /// The module's configuration trait. pub trait Config: @@ -73,11 +74,11 @@ pub trait Config: type BalanceOf = <::Currency as Currency<::AccountId>>::Balance; type Date = i64; -#[derive(Encode, Decode, Debug, Clone, PartialEq, Eq)] +#[derive(Encode, Decode, Debug, Clone, PartialEq, Eq, TypeInfo)] #[cfg_attr(feature = "std", derive())] pub struct MiningEligibilityProxy(pub [u8; 16]); -#[derive(Encode, Decode, Debug, Default, Clone, PartialEq)] +#[derive(Encode, Decode, Debug, Default, Clone, PartialEq, TypeInfo)] #[cfg_attr(feature = "std", derive())] pub struct MiningEligibilityProxyRewardRequest { pub proxy_claim_requestor_account_id: U, /* Supernode (proxy) account id requesting DHX rewards as proxy to @@ -86,7 +87,7 @@ pub struct MiningEligibilityProxyRewardRequest { pub proxy_claim_timestamp_redeemed: W, } -#[derive(Encode, Decode, Debug, Default, Clone, Eq, PartialEq)] +#[derive(Encode, Decode, Debug, Default, Clone, Eq, PartialEq, TypeInfo)] #[cfg_attr(feature = "std", derive())] pub struct MiningEligibilityProxyClaimRewardeeData { pub proxy_claim_rewardee_account_id: U, // Rewardee miner associated with supernode (proxy) account id @@ -95,7 +96,7 @@ pub struct MiningEligibilityProxyClaimRewardeeData { pub proxy_claim_end_date: X, // End date covered by claim requesting mining rewards } -#[derive(Encode, Decode, Debug, Default, Clone, Eq, PartialEq)] +#[derive(Encode, Decode, Debug, Default, Clone, Eq, PartialEq, TypeInfo)] #[cfg_attr(feature = "std", derive())] pub struct RewardRequestorData { pub mining_eligibility_proxy_id: U, @@ -105,7 +106,7 @@ pub struct RewardRequestorData { pub requested_date: Y, } -#[derive(Encode, Decode, Debug, Default, Clone, Eq, PartialEq)] +#[derive(Encode, Decode, Debug, Default, Clone, Eq, PartialEq, TypeInfo)] #[cfg_attr(feature = "std", derive())] pub struct RewardTransferData { pub mining_eligibility_proxy_id: U, @@ -115,7 +116,7 @@ pub struct RewardTransferData { pub requested_date: Y, } -#[derive(Encode, Decode, Debug, Default, Clone, Eq, PartialEq)] +#[derive(Encode, Decode, Debug, Default, Clone, Eq, PartialEq, TypeInfo)] #[cfg_attr(feature = "std", derive())] pub struct RewardDailyData { pub mining_eligibility_proxy_id: U, diff --git a/pallets/mining/eligibility/token/Cargo.toml b/pallets/mining/eligibility/token/Cargo.toml index 92d613a70..e875e0822 100644 --- a/pallets/mining/eligibility/token/Cargo.toml +++ b/pallets/mining/eligibility/token/Cargo.toml @@ -24,9 +24,11 @@ std = [ 'mining-setting-token/std', 'mining-sampling-token/std', 'serde', + 'scale-info/std', ] [dependencies] +scale-info = { version = "1.0.0", default-features = false, features = ["derive"] } codec = { version = '2.0.0', package = 'parity-scale-codec', default-features = false, features = ['derive'] } safe-mix = { version = '1.0.0', default-features = false } roaming-operators = { default-features = false, package = 'roaming-operators', path = '../../../roaming/roaming-operators' } @@ -38,46 +40,46 @@ serde = { version = '1.0.101', optional = true, features = ['derive'] } [dependencies.pallet-balances] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-randomness-collective-flip] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-transaction-payment] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-support] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-system] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-std] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-core] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-io] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-runtime] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dev-dependencies] diff --git a/pallets/mining/eligibility/token/src/lib.rs b/pallets/mining/eligibility/token/src/lib.rs index 948f8d6dd..9f5500e15 100644 --- a/pallets/mining/eligibility/token/src/lib.rs +++ b/pallets/mining/eligibility/token/src/lib.rs @@ -34,6 +34,7 @@ use sp_std::prelude::*; // Imports Vec use mining_setting_token; use mining_rates_token; use mining_sampling_token; +use scale_info::TypeInfo; #[cfg(test)] mod mock; @@ -60,12 +61,12 @@ pub trait Config: // type BalanceOf = <::Currency as Currency<::AccountId>>::Balance; -#[derive(Encode, Decode, Clone, PartialEq, Eq)] +#[derive(Encode, Decode, Clone, PartialEq, Eq, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug))] pub struct MiningEligibilityToken(pub [u8; 16]); #[cfg_attr(feature = "std", derive(Debug))] -#[derive(Encode, Decode, Default, Clone, PartialEq)] +#[derive(Encode, Decode, Default, Clone, PartialEq, TypeInfo)] pub struct MiningEligibilityTokenResult { pub token_calculated_eligibility: U, pub token_locked_percentage: V, diff --git a/pallets/mining/eligibility/token/src/mock.rs b/pallets/mining/eligibility/token/src/mock.rs index e331627dc..147b92296 100644 --- a/pallets/mining/eligibility/token/src/mock.rs +++ b/pallets/mining/eligibility/token/src/mock.rs @@ -6,7 +6,7 @@ use crate::{ }; use frame_support::{ - parameter_types, + parameter_types, traits::Everything, weights::{ IdentityFee, Weight, @@ -45,7 +45,7 @@ parameter_types! { impl frame_system::Config for Test { type AccountData = pallet_balances::AccountData; type AccountId = u64; - type BaseCallFilter = (); + type BaseCallFilter = Everything; type BlockHashCount = BlockHashCount; type BlockNumber = u64; type BlockLength = (); @@ -82,9 +82,11 @@ impl pallet_balances::Config for Test { type WeightInfo = (); } parameter_types! { + pub const OperationalFeeMultiplier: u8 = 5; pub const TransactionByteFee: u64 = 1; } impl pallet_transaction_payment::Config for Test { + type OperationalFeeMultiplier = OperationalFeeMultiplier; type FeeMultiplierUpdate = (); type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter; type TransactionByteFee = TransactionByteFee; diff --git a/pallets/mining/execution/token/Cargo.toml b/pallets/mining/execution/token/Cargo.toml index 27f9f83bd..9e77439b7 100644 --- a/pallets/mining/execution/token/Cargo.toml +++ b/pallets/mining/execution/token/Cargo.toml @@ -28,6 +28,7 @@ std = [ ] [dependencies] +scale-info = { version = "1.0.0", default-features = false, features = ["derive"] } codec = { version = '2.0.0', package = 'parity-scale-codec', default-features = false, features = ['derive'] } safe-mix = { version = '1.0.0', default-features = false } roaming-operators = { default-features = false, package = 'roaming-operators', path = '../../../roaming/roaming-operators' } @@ -40,46 +41,46 @@ mining-claims-token = { default-features = false, package = 'mining-claims-token [dependencies.pallet-balances] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-randomness-collective-flip] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-transaction-payment] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-support] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-system] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-std] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-core] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-io] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-runtime] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dev-dependencies] diff --git a/pallets/mining/execution/token/src/lib.rs b/pallets/mining/execution/token/src/lib.rs index 2104363d9..5712b1862 100644 --- a/pallets/mining/execution/token/src/lib.rs +++ b/pallets/mining/execution/token/src/lib.rs @@ -36,6 +36,7 @@ use mining_setting_token; use mining_eligibility_token; use mining_rates_token; use mining_sampling_token; +use scale_info::TypeInfo; // #[cfg(test)] // mod mock; @@ -66,12 +67,12 @@ pub trait Config: // type BalanceOf = <::Currency as Currency<::AccountId>>::Balance; -#[derive(Encode, Decode, Clone, PartialEq, Eq)] +#[derive(Encode, Decode, Clone, PartialEq, Eq, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug))] pub struct MiningExecutionToken(pub [u8; 16]); #[cfg_attr(feature = "std", derive(Debug))] -#[derive(Encode, Decode, Default, Clone, PartialEq)] +#[derive(Encode, Decode, Default, Clone, PartialEq, TypeInfo)] pub struct MiningExecutionTokenExecutionResult { pub token_execution_executor_account_id: U, pub token_execution_started_block: V, diff --git a/pallets/mining/rates/hardware/Cargo.toml b/pallets/mining/rates/hardware/Cargo.toml index 27be87b14..04fdaffe5 100644 --- a/pallets/mining/rates/hardware/Cargo.toml +++ b/pallets/mining/rates/hardware/Cargo.toml @@ -18,12 +18,14 @@ std = [ 'sp-io/std', 'sp-runtime/std', 'sp-std/std', - + 'scale-info/std', 'roaming-operators/std', 'serde', + 'scale-info/std', ] [dependencies] +scale-info = { version = "1.0.0", default-features = false, features = ["derive"] } codec = { version = '2.0.0', package = 'parity-scale-codec', default-features = false, features = ['derive'] } safe-mix = { version = '1.0.0', default-features = false } roaming-operators = { default-features = false, package = 'roaming-operators', path = '../../../roaming/roaming-operators' } @@ -32,46 +34,46 @@ serde = { version = '1.0.101', optional = true, features = ['derive'] } [dependencies.pallet-balances] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-randomness-collective-flip] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-transaction-payment] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-support] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-system] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-std] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-core] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-io] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-runtime] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dev-dependencies] diff --git a/pallets/mining/rates/hardware/src/lib.rs b/pallets/mining/rates/hardware/src/lib.rs index 54a33d64b..833ce61e7 100644 --- a/pallets/mining/rates/hardware/src/lib.rs +++ b/pallets/mining/rates/hardware/src/lib.rs @@ -28,6 +28,7 @@ use sp_runtime::{ DispatchError, }; use sp_std::prelude::*; // Imports Vec +use scale_info::TypeInfo; // FIXME - remove roaming_operators here, only use this approach since do not know how to use BalanceOf using only // mining runtime module @@ -68,12 +69,12 @@ pub trait Config: frame_system::Config + roaming_operators::Config { // type BalanceOf = <::Currency as Currency<::AccountId>>::Balance; -#[derive(Encode, Decode, Clone, PartialEq, Eq)] +#[derive(Encode, Decode, Clone, PartialEq, Eq, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug))] pub struct MiningRatesHardware(pub [u8; 16]); #[cfg_attr(feature = "std", derive(Debug))] -#[derive(Encode, Decode, Default, Clone, PartialEq)] +#[derive(Encode, Decode, Default, Clone, PartialEq, TypeInfo)] pub struct MiningRatesHardwareSetting { pub hardware_hardware_secure: U, pub hardware_hardware_insecure: V, diff --git a/pallets/mining/rates/hardware/src/mock.rs b/pallets/mining/rates/hardware/src/mock.rs index b462249de..659f053e2 100644 --- a/pallets/mining/rates/hardware/src/mock.rs +++ b/pallets/mining/rates/hardware/src/mock.rs @@ -6,7 +6,7 @@ use crate::{ }; use frame_support::{ - parameter_types, + parameter_types, traits::Everything, weights::{ IdentityFee, Weight, @@ -45,7 +45,7 @@ parameter_types! { impl frame_system::Config for Test { type AccountData = pallet_balances::AccountData; type AccountId = u64; - type BaseCallFilter = (); + type BaseCallFilter = Everything; type BlockHashCount = BlockHashCount; type BlockNumber = u64; type BlockLength = (); @@ -83,9 +83,11 @@ impl pallet_balances::Config for Test { type WeightInfo = (); } parameter_types! { + pub const OperationalFeeMultiplier: u8 = 5; pub const TransactionByteFee: u64 = 1; } impl pallet_transaction_payment::Config for Test { + type OperationalFeeMultiplier = OperationalFeeMultiplier; type FeeMultiplierUpdate = (); type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter; type TransactionByteFee = TransactionByteFee; diff --git a/pallets/mining/rates/token/Cargo.toml b/pallets/mining/rates/token/Cargo.toml index dcf9ab703..4da5b32dd 100644 --- a/pallets/mining/rates/token/Cargo.toml +++ b/pallets/mining/rates/token/Cargo.toml @@ -18,12 +18,14 @@ std = [ 'sp-io/std', 'sp-runtime/std', 'sp-std/std', - + 'scale-info/std', 'roaming-operators/std', 'serde', + 'scale-info/std', ] [dependencies] +scale-info = { version = "1.0.0", default-features = false, features = ["derive"] } codec = { version = '2.0.0', package = 'parity-scale-codec', default-features = false, features = ['derive'] } safe-mix = { version = '1.0.0', default-features = false } roaming-operators = { default-features = false, package = 'roaming-operators', path = '../../../roaming/roaming-operators' } @@ -32,46 +34,46 @@ serde = { version = '1.0.101', optional = true, features = ['derive'] } [dependencies.pallet-balances] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-randomness-collective-flip] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-transaction-payment] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-support] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-system] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-std] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-core] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-io] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-runtime] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dev-dependencies] diff --git a/pallets/mining/rates/token/src/lib.rs b/pallets/mining/rates/token/src/lib.rs index aa23d21e8..23c95a15b 100644 --- a/pallets/mining/rates/token/src/lib.rs +++ b/pallets/mining/rates/token/src/lib.rs @@ -28,7 +28,7 @@ use sp_runtime::{ DispatchError, }; use sp_std::prelude::*; // Imports Vec - +use scale_info::TypeInfo; // FIXME - remove roaming_operators here, only use this approach since do not know how to use BalanceOf using only // mining runtime module @@ -52,12 +52,12 @@ pub trait Config: frame_system::Config + roaming_operators::Config { // type BalanceOf = <::Currency as Currency<::AccountId>>::Balance; -#[derive(Encode, Decode, Clone, PartialEq, Eq)] +#[derive(Encode, Decode, Clone, PartialEq, Eq, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug))] pub struct MiningRatesToken(pub [u8; 16]); #[cfg_attr(feature = "std", derive(Debug))] -#[derive(Encode, Decode, Default, Clone, PartialEq)] +#[derive(Encode, Decode, Default, Clone, PartialEq, TypeInfo)] pub struct MiningRatesTokenSetting { pub token_token_mxc: U, pub token_token_iota: V, diff --git a/pallets/mining/rates/token/src/mock.rs b/pallets/mining/rates/token/src/mock.rs index d4ba8f8fb..8192a50cd 100644 --- a/pallets/mining/rates/token/src/mock.rs +++ b/pallets/mining/rates/token/src/mock.rs @@ -6,7 +6,7 @@ use crate::{ }; use frame_support::{ - parameter_types, + parameter_types, traits::Everything, weights::{ IdentityFee, Weight, @@ -45,7 +45,7 @@ parameter_types! { impl frame_system::Config for Test { type AccountData = pallet_balances::AccountData; type AccountId = u64; - type BaseCallFilter = (); + type BaseCallFilter = Everything; type BlockHashCount = BlockHashCount; type BlockNumber = u64; type BlockLength = (); @@ -82,9 +82,11 @@ impl pallet_balances::Config for Test { type WeightInfo = (); } parameter_types! { + pub const OperationalFeeMultiplier: u8 = 5; pub const TransactionByteFee: u64 = 1; } impl pallet_transaction_payment::Config for Test { + type OperationalFeeMultiplier = OperationalFeeMultiplier; type FeeMultiplierUpdate = (); type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter; type TransactionByteFee = TransactionByteFee; diff --git a/pallets/mining/sampling/hardware/Cargo.toml b/pallets/mining/sampling/hardware/Cargo.toml index 3da3ca468..b8d2a422f 100644 --- a/pallets/mining/sampling/hardware/Cargo.toml +++ b/pallets/mining/sampling/hardware/Cargo.toml @@ -22,9 +22,11 @@ std = [ 'roaming-operators/std', 'mining-setting-hardware/std', 'serde', + 'scale-info/std', ] [dependencies] +scale-info = { version = "1.0.0", default-features = false, features = ["derive"] } codec = { version = '2.0.0', package = 'parity-scale-codec', default-features = false, features = ['derive'] } safe-mix = { version = '1.0.0', default-features = false } roaming-operators = { default-features = false, package = 'roaming-operators', path = '../../../roaming/roaming-operators' } @@ -34,46 +36,46 @@ serde = { version = '1.0.101', optional = true, features = ['derive'] } [dependencies.pallet-balances] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-randomness-collective-flip] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-transaction-payment] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-support] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-system] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-std] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-core] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-io] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-runtime] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dev-dependencies] diff --git a/pallets/mining/sampling/hardware/src/lib.rs b/pallets/mining/sampling/hardware/src/lib.rs index bf7fa565e..a4ac7b94d 100644 --- a/pallets/mining/sampling/hardware/src/lib.rs +++ b/pallets/mining/sampling/hardware/src/lib.rs @@ -32,6 +32,7 @@ use sp_std::prelude::*; // Imports Vec // FIXME - remove roaming_operators here, only use this approach since do not know how to use BalanceOf using only // mining runtime module use mining_setting_hardware; +use scale_info::TypeInfo; #[cfg(test)] mod mock; @@ -49,12 +50,12 @@ pub trait Config: frame_system::Config + roaming_operators::Config + mining_sett // type BalanceOf = <::Currency as Currency<::AccountId>>::Balance; -#[derive(Encode, Decode, Clone, PartialEq, Eq)] +#[derive(Encode, Decode, Clone, PartialEq, Eq, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug))] pub struct MiningSamplingHardware(pub [u8; 16]); #[cfg_attr(feature = "std", derive(Debug))] -#[derive(Encode, Decode, Default, Clone, PartialEq)] +#[derive(Encode, Decode, Default, Clone, PartialEq, TypeInfo)] pub struct MiningSamplingHardwareSetting { pub hardware_sample_block: U, pub hardware_sample_hardware_online: V, diff --git a/pallets/mining/sampling/hardware/src/mock.rs b/pallets/mining/sampling/hardware/src/mock.rs index dc95d5562..f75328eb3 100644 --- a/pallets/mining/sampling/hardware/src/mock.rs +++ b/pallets/mining/sampling/hardware/src/mock.rs @@ -6,7 +6,7 @@ use crate::{ }; use frame_support::{ - parameter_types, + parameter_types, traits::Everything, weights::{ IdentityFee, Weight, @@ -45,7 +45,7 @@ parameter_types! { impl frame_system::Config for Test { type AccountData = pallet_balances::AccountData; type AccountId = u64; - type BaseCallFilter = (); + type BaseCallFilter = Everything; type BlockHashCount = BlockHashCount; type BlockNumber = u64; type BlockLength = (); @@ -82,9 +82,11 @@ impl pallet_balances::Config for Test { type WeightInfo = (); } parameter_types! { + pub const OperationalFeeMultiplier: u8 = 5; pub const TransactionByteFee: u64 = 1; } impl pallet_transaction_payment::Config for Test { + type OperationalFeeMultiplier = OperationalFeeMultiplier; type FeeMultiplierUpdate = (); type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter; type TransactionByteFee = TransactionByteFee; diff --git a/pallets/mining/sampling/token/Cargo.toml b/pallets/mining/sampling/token/Cargo.toml index 5ee6bd45c..1c570591b 100644 --- a/pallets/mining/sampling/token/Cargo.toml +++ b/pallets/mining/sampling/token/Cargo.toml @@ -22,9 +22,11 @@ std = [ 'roaming-operators/std', 'mining-setting-token/std', 'serde', + 'scale-info/std', ] [dependencies] +scale-info = { version = "1.0.0", default-features = false, features = ["derive"] } codec = { version = '2.0.0', package = 'parity-scale-codec', default-features = false, features = ['derive'] } safe-mix = { version = '1.0.0', default-features = false } roaming-operators = { default-features = false, package = 'roaming-operators', path = '../../../roaming/roaming-operators' } @@ -34,46 +36,46 @@ serde = { version = '1.0.101', optional = true, features = ['derive'] } [dependencies.pallet-balances] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-randomness-collective-flip] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-transaction-payment] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-support] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-system] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-std] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-core] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-io] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-runtime] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dev-dependencies] diff --git a/pallets/mining/sampling/token/src/lib.rs b/pallets/mining/sampling/token/src/lib.rs index 8182332af..da543ace2 100644 --- a/pallets/mining/sampling/token/src/lib.rs +++ b/pallets/mining/sampling/token/src/lib.rs @@ -32,6 +32,7 @@ use sp_std::prelude::*; // Imports Vec // FIXME - remove roaming_operators here, only use this approach since do not know how to use BalanceOf using only // mining runtime module use mining_setting_token; +use scale_info::TypeInfo; #[cfg(test)] mod mock; @@ -49,12 +50,12 @@ pub trait Config: frame_system::Config + roaming_operators::Config + mining_sett // type BalanceOf = <::Currency as Currency<::AccountId>>::Balance; -#[derive(Encode, Decode, Clone, PartialEq, Eq)] +#[derive(Encode, Decode, Clone, PartialEq, Eq, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug))] pub struct MiningSamplingToken(pub [u8; 16]); #[cfg_attr(feature = "std", derive(Debug))] -#[derive(Encode, Decode, Default, Clone, PartialEq)] +#[derive(Encode, Decode, Default, Clone, PartialEq, TypeInfo)] pub struct MiningSamplingTokenSetting { pub token_sample_block: U, pub token_sample_locked_amount: V, diff --git a/pallets/mining/sampling/token/src/mock.rs b/pallets/mining/sampling/token/src/mock.rs index acd09dd35..80e83d922 100644 --- a/pallets/mining/sampling/token/src/mock.rs +++ b/pallets/mining/sampling/token/src/mock.rs @@ -6,7 +6,7 @@ use crate::{ }; use frame_support::{ - parameter_types, + parameter_types, traits::Everything, weights::{ IdentityFee, Weight, @@ -45,7 +45,7 @@ parameter_types! { impl frame_system::Config for Test { type AccountData = pallet_balances::AccountData; type AccountId = u64; - type BaseCallFilter = (); + type BaseCallFilter = Everything; type BlockHashCount = BlockHashCount; type BlockNumber = u64; type BlockLength = (); @@ -82,9 +82,11 @@ impl pallet_balances::Config for Test { type WeightInfo = (); } parameter_types! { + pub const OperationalFeeMultiplier: u8 = 5; pub const TransactionByteFee: u64 = 1; } impl pallet_transaction_payment::Config for Test { + type OperationalFeeMultiplier = OperationalFeeMultiplier; type FeeMultiplierUpdate = (); type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter; type TransactionByteFee = TransactionByteFee; diff --git a/pallets/mining/setting/hardware/Cargo.toml b/pallets/mining/setting/hardware/Cargo.toml index ca388d044..603adc254 100644 --- a/pallets/mining/setting/hardware/Cargo.toml +++ b/pallets/mining/setting/hardware/Cargo.toml @@ -21,9 +21,11 @@ std = [ 'roaming-operators/std', 'serde', + 'scale-info/std', ] [dependencies] +scale-info = { version = "1.0.0", default-features = false, features = ["derive"] } codec = { version = '2.0.0', package = 'parity-scale-codec', default-features = false, features = ['derive'] } safe-mix = { version = '1.0.0', default-features = false } roaming-operators = { default-features = false, package = 'roaming-operators', path = '../../../roaming/roaming-operators' } @@ -33,46 +35,46 @@ serde = { version = '1.0.101', optional = true, features = ['derive'] } [dependencies.pallet-balances] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-randomness-collective-flip] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-transaction-payment] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-support] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-system] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-std] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-core] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-io] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-runtime] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dev-dependencies] diff --git a/pallets/mining/setting/hardware/src/lib.rs b/pallets/mining/setting/hardware/src/lib.rs index 8c60a0078..23d13a3aa 100644 --- a/pallets/mining/setting/hardware/src/lib.rs +++ b/pallets/mining/setting/hardware/src/lib.rs @@ -28,7 +28,7 @@ use sp_runtime::{ DispatchError, }; use sp_std::prelude::*; // Imports Vec - +use scale_info::TypeInfo; // FIXME - remove roaming_operators here, only use this approach since do not know how to use BalanceOf using only // mining runtime module @@ -55,12 +55,12 @@ pub trait Config: frame_system::Config + roaming_operators::Config { // type BalanceOf = <::Currency as Currency<::AccountId>>::Balance; -#[derive(Encode, Decode, Clone, PartialEq, Eq)] +#[derive(Encode, Decode, Clone, PartialEq, Eq, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug))] pub struct MiningSettingHardware(pub [u8; 16]); #[cfg_attr(feature = "std", derive(Debug))] -#[derive(Encode, Decode, Default, Clone, PartialEq)] +#[derive(Encode, Decode, Default, Clone, PartialEq, TypeInfo)] pub struct MiningSettingHardwareSetting { pub hardware_secure: U, pub hardware_type: V, diff --git a/pallets/mining/setting/hardware/src/mock.rs b/pallets/mining/setting/hardware/src/mock.rs index e2f685130..07e56fba8 100644 --- a/pallets/mining/setting/hardware/src/mock.rs +++ b/pallets/mining/setting/hardware/src/mock.rs @@ -6,7 +6,7 @@ use crate::{ }; use frame_support::{ - parameter_types, + parameter_types, traits::Everything, weights::{ IdentityFee, Weight, @@ -45,7 +45,7 @@ parameter_types! { impl frame_system::Config for Test { type AccountData = pallet_balances::AccountData; type AccountId = u64; - type BaseCallFilter = (); + type BaseCallFilter = Everything; type BlockHashCount = BlockHashCount; type BlockNumber = u64; type BlockLength = (); @@ -82,9 +82,11 @@ impl pallet_balances::Config for Test { type WeightInfo = (); } parameter_types! { + pub const OperationalFeeMultiplier: u8 = 5; pub const TransactionByteFee: u64 = 1; } impl pallet_transaction_payment::Config for Test { + type OperationalFeeMultiplier = OperationalFeeMultiplier; type FeeMultiplierUpdate = (); type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter; type TransactionByteFee = TransactionByteFee; diff --git a/pallets/mining/setting/token/Cargo.toml b/pallets/mining/setting/token/Cargo.toml index 9f3641e8d..c2beb0374 100644 --- a/pallets/mining/setting/token/Cargo.toml +++ b/pallets/mining/setting/token/Cargo.toml @@ -20,9 +20,11 @@ std = [ 'sp-std/std', 'roaming-operators/std', 'serde', + 'scale-info/std', ] [dependencies] +scale-info = { version = "1.0.0", default-features = false, features = ["derive"] } codec = { version = '2.0.0', package = 'parity-scale-codec', default-features = false, features = ['derive'] } safe-mix = { version = '1.0.0', default-features = false } roaming-operators = { default-features = false, package = 'roaming-operators', path = '../../../roaming/roaming-operators' } @@ -31,46 +33,46 @@ serde = { version = '1.0.101', optional = true, features = ['derive'] } [dependencies.pallet-balances] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-randomness-collective-flip] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-transaction-payment] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-support] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-system] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-std] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-core] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-io] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-runtime] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dev-dependencies] diff --git a/pallets/mining/setting/token/src/lib.rs b/pallets/mining/setting/token/src/lib.rs index 5ac8e4883..b5ae5f03f 100644 --- a/pallets/mining/setting/token/src/lib.rs +++ b/pallets/mining/setting/token/src/lib.rs @@ -29,7 +29,7 @@ use sp_runtime::{ DispatchError, }; use sp_std::prelude::*; // Imports Vec - +use scale_info::TypeInfo; // FIXME - remove roaming_operators here, only use this approach since do not know how to use BalanceOf using only // mining runtime module @@ -51,12 +51,12 @@ pub trait Config: frame_system::Config + roaming_operators::Config { type BalanceOf = <::Currency as Currency<::AccountId>>::Balance; -#[derive(Encode, Decode, Clone, PartialEq, Eq)] +#[derive(Encode, Decode, Clone, PartialEq, Eq, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug))] pub struct MiningSettingToken(pub [u8; 16]); #[cfg_attr(feature = "std", derive(Debug))] -#[derive(Encode, Decode, Default, Clone, PartialEq)] +#[derive(Encode, Decode, Default, Clone, PartialEq, TypeInfo)] pub struct MiningSettingTokenSetting { pub token_type: U, pub token_lock_amount: V, @@ -65,7 +65,7 @@ pub struct MiningSettingTokenSetting { } #[cfg_attr(feature = "std", derive(Debug))] -#[derive(Encode, Decode, Default, Clone, PartialEq)] +#[derive(Encode, Decode, Default, Clone, PartialEq, TypeInfo)] pub struct MiningSettingTokenRequirementsSetting { pub token_type: U, pub token_lock_min_amount: V, /* Balance used instead of diff --git a/pallets/mining/setting/token/src/mock.rs b/pallets/mining/setting/token/src/mock.rs index 16fb3d12d..2f81ca104 100644 --- a/pallets/mining/setting/token/src/mock.rs +++ b/pallets/mining/setting/token/src/mock.rs @@ -6,7 +6,7 @@ use crate::{ }; use frame_support::{ - parameter_types, + parameter_types, traits::Everything, weights::{ IdentityFee, Weight, @@ -45,7 +45,7 @@ parameter_types! { impl frame_system::Config for Test { type AccountData = pallet_balances::AccountData; type AccountId = u64; - type BaseCallFilter = (); + type BaseCallFilter = Everything; type BlockHashCount = BlockHashCount; type BlockNumber = u64; type BlockLength = (); @@ -82,9 +82,11 @@ impl pallet_balances::Config for Test { type WeightInfo = (); } parameter_types! { + pub const OperationalFeeMultiplier: u8 = 5; pub const TransactionByteFee: u64 = 1; } impl pallet_transaction_payment::Config for Test { + type OperationalFeeMultiplier = OperationalFeeMultiplier; type FeeMultiplierUpdate = (); type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter; type TransactionByteFee = TransactionByteFee; diff --git a/pallets/primitives/Cargo.toml b/pallets/primitives/Cargo.toml index 617eb1b5d..cf057271e 100644 --- a/pallets/primitives/Cargo.toml +++ b/pallets/primitives/Cargo.toml @@ -12,17 +12,17 @@ bitmask = { version = '0.5.0', default-features = false } [dependencies.sp-core] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-runtime] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-std] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [features] default = ['std'] diff --git a/pallets/primitives/src/constants/mod.rs b/pallets/primitives/src/constants/mod.rs index fe0601db2..aaede9b4b 100644 --- a/pallets/primitives/src/constants/mod.rs +++ b/pallets/primitives/src/constants/mod.rs @@ -1,4 +1,17 @@ +/// Money matters. +pub mod currency { + use crate::types::Balance; + + pub const MILLICENTS: Balance = 1_000_000_000; + pub const CENTS: Balance = 1_000 * MILLICENTS; // assume this is worth about a cent. + pub const DOLLARS: Balance = 100 * CENTS; + + pub const fn deposit(items: u32, bytes: u32) -> Balance { + items as Balance * 15 * CENTS + (bytes as Balance) * 6 * CENTS + } +} + /// Time. pub mod time { pub use crate::types::{ diff --git a/pallets/primitives/src/types/mod.rs b/pallets/primitives/src/types/mod.rs index 013298406..9c530e612 100644 --- a/pallets/primitives/src/types/mod.rs +++ b/pallets/primitives/src/types/mod.rs @@ -26,7 +26,7 @@ pub type Index = u32; /// A hash of some data used by the chain. pub type Hash = sp_core::H256; /// Digest item type. -pub type DigestItem = generic::DigestItem; +pub type DigestItem = generic::DigestItem; pub type Moment = u64; /// Balance of an account. pub type Balance = u128; diff --git a/pallets/roaming/roaming-accounting-policies/Cargo.toml b/pallets/roaming/roaming-accounting-policies/Cargo.toml index 0f7b1864c..5e27830fc 100644 --- a/pallets/roaming/roaming-accounting-policies/Cargo.toml +++ b/pallets/roaming/roaming-accounting-policies/Cargo.toml @@ -22,9 +22,11 @@ std = [ 'roaming-networks/std', 'roaming-operators/std', 'serde', + 'scale-info/std', ] [dependencies] +scale-info = { version = "1.0.0", default-features = false, features = ["derive"] } codec = { version = '2.0.0', package = 'parity-scale-codec', default-features = false, features = ['derive'] } safe-mix = { version = '1.0.0', default-features = false } roaming-networks = { default-features = false, package = 'roaming-networks', path = '../roaming-networks' } @@ -35,46 +37,46 @@ serde = { version = '1.0.101', optional = true, features = ['derive'] } [dependencies.pallet-balances] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-randomness-collective-flip] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-transaction-payment] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-support] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-system] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-core] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-io] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-runtime] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-std] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dev-dependencies] diff --git a/pallets/roaming/roaming-accounting-policies/src/lib.rs b/pallets/roaming/roaming-accounting-policies/src/lib.rs index 5059e8fd3..a34e1c6a1 100644 --- a/pallets/roaming/roaming-accounting-policies/src/lib.rs +++ b/pallets/roaming/roaming-accounting-policies/src/lib.rs @@ -29,6 +29,7 @@ use sp_runtime::{ DispatchError, }; use sp_std::prelude::*; // Imports Vec +use scale_info::TypeInfo; #[cfg(test)] mod mock; @@ -48,12 +49,12 @@ pub trait Config: frame_system::Config + roaming_operators::Config + roaming_net type BalanceOf = <::Currency as Currency<::AccountId>>::Balance; -#[derive(Encode, Decode, Clone, PartialEq, Eq)] +#[derive(Encode, Decode, Clone, PartialEq, Eq, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug))] pub struct RoamingAccountingPolicy(pub [u8; 16]); #[cfg_attr(feature = "std", derive(Debug))] -#[derive(Encode, Decode, Default, Clone, PartialEq)] +#[derive(Encode, Decode, Default, Clone, PartialEq, TypeInfo)] // Generic type parameters - Balance pub struct RoamingAccountingPolicySetting { pub policy_type: U, // "adhoc" or "subscription" diff --git a/pallets/roaming/roaming-accounting-policies/src/mock.rs b/pallets/roaming/roaming-accounting-policies/src/mock.rs index 47195d119..08ef14b55 100644 --- a/pallets/roaming/roaming-accounting-policies/src/mock.rs +++ b/pallets/roaming/roaming-accounting-policies/src/mock.rs @@ -6,7 +6,7 @@ use crate::{ }; use frame_support::{ - parameter_types, + parameter_types, traits::Everything, weights::{ IdentityFee, Weight, @@ -45,7 +45,7 @@ parameter_types! { impl frame_system::Config for Test { type AccountData = pallet_balances::AccountData; type AccountId = u64; - type BaseCallFilter = (); + type BaseCallFilter = Everything; type BlockHashCount = BlockHashCount; type BlockNumber = u64; type BlockLength = (); @@ -82,9 +82,11 @@ impl pallet_balances::Config for Test { type WeightInfo = (); } parameter_types! { + pub const OperationalFeeMultiplier: u8 = 5; pub const TransactionByteFee: u64 = 1; } impl pallet_transaction_payment::Config for Test { + type OperationalFeeMultiplier = OperationalFeeMultiplier; type FeeMultiplierUpdate = (); type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter; type TransactionByteFee = TransactionByteFee; diff --git a/pallets/roaming/roaming-agreement-policies/Cargo.toml b/pallets/roaming/roaming-agreement-policies/Cargo.toml index 8642b5ad4..5730495c7 100644 --- a/pallets/roaming/roaming-agreement-policies/Cargo.toml +++ b/pallets/roaming/roaming-agreement-policies/Cargo.toml @@ -23,9 +23,11 @@ std = [ 'roaming-accounting-policies/std', 'roaming-operators/std', 'serde', + 'scale-info/std', ] [dependencies] +scale-info = { version = "1.0.0", default-features = false, features = ["derive"] } codec = { version = '2.0.0', package = 'parity-scale-codec', default-features = false, features = ['derive'] } safe-mix = { version = '1.0.0', default-features = false } # env = { default-features = false, package = 'env', path = '../../env' } @@ -37,46 +39,46 @@ serde = { version = '1.0.101', optional = true, features = ['derive'] } [dependencies.pallet-balances] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-randomness-collective-flip] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-transaction-payment] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-support] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-system] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-core] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-io] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-runtime] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-std] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dev-dependencies] diff --git a/pallets/roaming/roaming-agreement-policies/src/lib.rs b/pallets/roaming/roaming-agreement-policies/src/lib.rs index dc3de5cce..1b744cf53 100644 --- a/pallets/roaming/roaming-agreement-policies/src/lib.rs +++ b/pallets/roaming/roaming-agreement-policies/src/lib.rs @@ -28,6 +28,7 @@ use sp_runtime::{ DispatchError, }; use sp_std::prelude::*; // Imports Vec +use scale_info::TypeInfo; #[macro_use] extern crate alloc; // Required to use Vec @@ -46,11 +47,11 @@ pub trait Config: type RoamingAgreementPolicyActivationType: Parameter + Member + Default; } -#[derive(Encode, Decode, Clone, PartialEq, Eq)] +#[derive(Encode, Decode, Clone, PartialEq, Eq, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug))] pub struct RoamingAgreementPolicy(pub [u8; 16]); -#[derive(Encode, Debug, Decode, Default, Clone, PartialEq)] +#[derive(Encode, Debug, Decode, Default, Clone, PartialEq, TypeInfo)] // Generic type parameters - Balance pub struct RoamingAgreementPolicySetting { pub policy_activation_type: U, // "passive" or "handover" diff --git a/pallets/roaming/roaming-agreement-policies/src/mock.rs b/pallets/roaming/roaming-agreement-policies/src/mock.rs index ea38c9121..874585a7e 100644 --- a/pallets/roaming/roaming-agreement-policies/src/mock.rs +++ b/pallets/roaming/roaming-agreement-policies/src/mock.rs @@ -6,7 +6,7 @@ use crate::{ }; use frame_support::{ - parameter_types, + parameter_types, traits::Everything, weights::{ IdentityFee, Weight, @@ -45,7 +45,7 @@ parameter_types! { impl frame_system::Config for Test { type AccountData = pallet_balances::AccountData; type AccountId = u64; - type BaseCallFilter = (); + type BaseCallFilter = Everything; type BlockHashCount = BlockHashCount; type BlockNumber = u64; type BlockLength = (); @@ -82,9 +82,11 @@ impl pallet_balances::Config for Test { type WeightInfo = (); } parameter_types! { + pub const OperationalFeeMultiplier: u8 = 5; pub const TransactionByteFee: u64 = 1; } impl pallet_transaction_payment::Config for Test { + type OperationalFeeMultiplier = OperationalFeeMultiplier; type FeeMultiplierUpdate = (); type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter; type TransactionByteFee = TransactionByteFee; diff --git a/pallets/roaming/roaming-billing-policies/Cargo.toml b/pallets/roaming/roaming-billing-policies/Cargo.toml index 34334d324..24f816fb7 100644 --- a/pallets/roaming/roaming-billing-policies/Cargo.toml +++ b/pallets/roaming/roaming-billing-policies/Cargo.toml @@ -21,10 +21,12 @@ std = [ 'sp-runtime/std', 'sp-std/std', 'roaming-operators/std', - 'roaming-networks/std' + 'roaming-networks/std', + 'scale-info/std', ] [dependencies] +scale-info = { version = "1.0.0", default-features = false, features = ["derive"] } codec = { version = '2.0.0', package = 'parity-scale-codec', default-features = false, features = ['derive'] } safe-mix = { version = '1.0.0', default-features = false } log = { version = '0.4.8' } @@ -35,46 +37,46 @@ roaming-operators = { default-features = false, package = 'roaming-operators', p [dependencies.pallet-balances] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-randomness-collective-flip] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-transaction-payment] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-support] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-system] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-core] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-io] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-runtime] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-std] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dev-dependencies] diff --git a/pallets/roaming/roaming-billing-policies/src/lib.rs b/pallets/roaming/roaming-billing-policies/src/lib.rs index 676797ab3..a234fbf59 100644 --- a/pallets/roaming/roaming-billing-policies/src/lib.rs +++ b/pallets/roaming/roaming-billing-policies/src/lib.rs @@ -28,6 +28,7 @@ use sp_runtime::{ DispatchError, }; use sp_std::prelude::*; // Imports Vec +use scale_info::TypeInfo; #[macro_use] extern crate alloc; // Required to use Vec @@ -43,12 +44,12 @@ pub trait Config: frame_system::Config + roaming_operators::Config + roaming_net type RoamingBillingPolicyIndex: Parameter + Member + AtLeast32Bit + Bounded + Default + Copy; } -#[derive(Encode, Decode, Clone, PartialEq, Eq)] +#[derive(Encode, Decode, Clone, PartialEq, Eq, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug))] pub struct RoamingBillingPolicy(pub [u8; 16]); #[cfg_attr(feature = "std", derive(Debug))] -#[derive(Encode, Decode, Default, Clone, PartialEq)] +#[derive(Encode, Decode, Default, Clone, PartialEq, TypeInfo)] // Generic type parameters - Balance pub struct RoamingBillingPolicySetting { pub policy_next_billing_at_block: U, diff --git a/pallets/roaming/roaming-billing-policies/src/mock.rs b/pallets/roaming/roaming-billing-policies/src/mock.rs index 6927da239..32b8dc546 100644 --- a/pallets/roaming/roaming-billing-policies/src/mock.rs +++ b/pallets/roaming/roaming-billing-policies/src/mock.rs @@ -6,7 +6,7 @@ use crate::{ }; use frame_support::{ - parameter_types, + parameter_types, traits::Everything, weights::{ IdentityFee, Weight, @@ -45,7 +45,7 @@ parameter_types! { impl frame_system::Config for Test { type AccountData = pallet_balances::AccountData; type AccountId = u64; - type BaseCallFilter = (); + type BaseCallFilter = Everything; type BlockHashCount = BlockHashCount; type BlockNumber = u64; type BlockLength = (); @@ -82,9 +82,11 @@ impl pallet_balances::Config for Test { type WeightInfo = (); } parameter_types! { + pub const OperationalFeeMultiplier: u8 = 5; pub const TransactionByteFee: u64 = 1; } impl pallet_transaction_payment::Config for Test { + type OperationalFeeMultiplier = OperationalFeeMultiplier; type FeeMultiplierUpdate = (); type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter; type TransactionByteFee = TransactionByteFee; diff --git a/pallets/roaming/roaming-charging-policies/Cargo.toml b/pallets/roaming/roaming-charging-policies/Cargo.toml index 9aa21d82a..03ec90e52 100644 --- a/pallets/roaming/roaming-charging-policies/Cargo.toml +++ b/pallets/roaming/roaming-charging-policies/Cargo.toml @@ -21,10 +21,12 @@ std = [ 'sp-runtime/std', 'sp-std/std', 'roaming-operators/std', - 'roaming-networks/std' + 'roaming-networks/std', + 'scale-info/std', ] [dependencies] +scale-info = { version = "1.0.0", default-features = false, features = ["derive"] } codec = { version = '2.0.0', package = 'parity-scale-codec', default-features = false, features = ['derive'] } safe-mix = { version = '1.0.0', default-features = false } log = { version = '0.4.8' } @@ -35,46 +37,46 @@ roaming-operators = { default-features = false, package = 'roaming-operators', p [dependencies.pallet-balances] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-randomness-collective-flip] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-transaction-payment] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-support] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-system] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-core] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-io] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-runtime] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-std] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dev-dependencies] diff --git a/pallets/roaming/roaming-charging-policies/src/lib.rs b/pallets/roaming/roaming-charging-policies/src/lib.rs index 07dbdba17..11a155749 100644 --- a/pallets/roaming/roaming-charging-policies/src/lib.rs +++ b/pallets/roaming/roaming-charging-policies/src/lib.rs @@ -28,6 +28,7 @@ use sp_runtime::{ DispatchError, }; use sp_std::prelude::*; // Imports Vec +use scale_info::TypeInfo; #[macro_use] extern crate alloc; // Required to use Vec @@ -43,12 +44,12 @@ pub trait Config: frame_system::Config + roaming_operators::Config + roaming_net type RoamingChargingPolicyIndex: Parameter + Member + AtLeast32Bit + Bounded + Default + Copy; } -#[derive(Encode, Decode, Clone, PartialEq, Eq)] +#[derive(Encode, Decode, Clone, PartialEq, Eq, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug))] pub struct RoamingChargingPolicy(pub [u8; 16]); #[cfg_attr(feature = "std", derive(Debug))] -#[derive(Encode, Decode, Default, Clone, PartialEq)] +#[derive(Encode, Decode, Default, Clone, PartialEq, TypeInfo)] // Generic type parameters - Balance pub struct RoamingChargingPolicySetting { pub policy_next_charging_at_block: U, diff --git a/pallets/roaming/roaming-charging-policies/src/mock.rs b/pallets/roaming/roaming-charging-policies/src/mock.rs index ef9720eb4..cde50fc21 100644 --- a/pallets/roaming/roaming-charging-policies/src/mock.rs +++ b/pallets/roaming/roaming-charging-policies/src/mock.rs @@ -6,7 +6,7 @@ use crate::{ }; use frame_support::{ - parameter_types, + parameter_types, traits::Everything, weights::{ IdentityFee, Weight, @@ -45,7 +45,7 @@ parameter_types! { impl frame_system::Config for Test { type AccountData = pallet_balances::AccountData; type AccountId = u64; - type BaseCallFilter = (); + type BaseCallFilter = Everything; type BlockHashCount = BlockHashCount; type BlockNumber = u64; type BlockLength = (); @@ -82,9 +82,11 @@ impl pallet_balances::Config for Test { type WeightInfo = (); } parameter_types! { + pub const OperationalFeeMultiplier: u8 = 5; pub const TransactionByteFee: u64 = 1; } impl pallet_transaction_payment::Config for Test { + type OperationalFeeMultiplier = OperationalFeeMultiplier; type FeeMultiplierUpdate = (); type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter; type TransactionByteFee = TransactionByteFee; diff --git a/pallets/roaming/roaming-device-profiles/Cargo.toml b/pallets/roaming/roaming-device-profiles/Cargo.toml index f2a9a5142..3b5c02f19 100644 --- a/pallets/roaming/roaming-device-profiles/Cargo.toml +++ b/pallets/roaming/roaming-device-profiles/Cargo.toml @@ -24,10 +24,12 @@ std = [ 'roaming-organizations/std', 'roaming-network-servers/std', 'roaming-networks/std', - 'roaming-operators/std' + 'roaming-operators/std', + 'scale-info/std', ] [dependencies] +scale-info = { version = "1.0.0", default-features = false, features = ["derive"] } codec = { version = '2.0.0', package = 'parity-scale-codec', default-features = false, features = ['derive'] } safe-mix = { version = '1.0.0', default-features = false } log = { version = '0.4.8' } @@ -41,46 +43,46 @@ roaming-operators = { default-features = false, package = 'roaming-operators', p [dependencies.pallet-balances] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-randomness-collective-flip] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-transaction-payment] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-support] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-system] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-core] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-io] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-runtime] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-std] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dev-dependencies] diff --git a/pallets/roaming/roaming-device-profiles/src/lib.rs b/pallets/roaming/roaming-device-profiles/src/lib.rs index f5735f612..86625fe54 100644 --- a/pallets/roaming/roaming-device-profiles/src/lib.rs +++ b/pallets/roaming/roaming-device-profiles/src/lib.rs @@ -28,6 +28,7 @@ use sp_runtime::{ DispatchError, }; use sp_std::prelude::*; // Imports Vec +use scale_info::TypeInfo; #[cfg(test)] mod mock; @@ -45,12 +46,12 @@ pub trait Config: frame_system::Config + roaming_operators::Config + roaming_dev type RoamingDeviceProfileVendorID: Parameter + Member + Default; } -#[derive(Encode, Decode, Clone, PartialEq, Eq)] +#[derive(Encode, Decode, Clone, PartialEq, Eq, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug))] pub struct RoamingDeviceProfile(pub [u8; 16]); #[cfg_attr(feature = "std", derive(Debug))] -#[derive(Encode, Decode, Default, Clone, PartialEq)] +#[derive(Encode, Decode, Default, Clone, PartialEq, TypeInfo)] // Generic type parameters - Balance pub struct RoamingDeviceProfileSetting { pub device_profile_devaddr: U, diff --git a/pallets/roaming/roaming-device-profiles/src/mock.rs b/pallets/roaming/roaming-device-profiles/src/mock.rs index 7ada77cc6..b3a7ef953 100644 --- a/pallets/roaming/roaming-device-profiles/src/mock.rs +++ b/pallets/roaming/roaming-device-profiles/src/mock.rs @@ -6,7 +6,7 @@ use crate::{ }; use frame_support::{ - parameter_types, + parameter_types, traits::Everything, weights::{ IdentityFee, Weight, @@ -45,7 +45,7 @@ parameter_types! { impl frame_system::Config for Test { type AccountData = pallet_balances::AccountData; type AccountId = u64; - type BaseCallFilter = (); + type BaseCallFilter = Everything; type BlockHashCount = BlockHashCount; type BlockNumber = u64; type BlockLength = (); @@ -82,9 +82,11 @@ impl pallet_balances::Config for Test { type WeightInfo = (); } parameter_types! { + pub const OperationalFeeMultiplier: u8 = 5; pub const TransactionByteFee: u64 = 1; } impl pallet_transaction_payment::Config for Test { + type OperationalFeeMultiplier = OperationalFeeMultiplier; type FeeMultiplierUpdate = (); type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter; type TransactionByteFee = TransactionByteFee; diff --git a/pallets/roaming/roaming-devices/Cargo.toml b/pallets/roaming/roaming-devices/Cargo.toml index 3e4c97bd4..43a336417 100644 --- a/pallets/roaming/roaming-devices/Cargo.toml +++ b/pallets/roaming/roaming-devices/Cargo.toml @@ -23,10 +23,12 @@ std = [ 'roaming-operators/std', 'roaming-networks/std', 'roaming-network-servers/std', - 'roaming-organizations/std' + 'roaming-organizations/std', + 'scale-info/std', ] [dependencies] +scale-info = { version = "1.0.0", default-features = false, features = ["derive"] } codec = { version = '2.0.0', package = 'parity-scale-codec', default-features = false, features = ['derive'] } safe-mix = { version = '1.0.0', default-features = false } log = { version = '0.4.8' } @@ -39,46 +41,46 @@ roaming-operators = { default-features = false, package = 'roaming-operators', p [dependencies.pallet-balances] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-randomness-collective-flip] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-transaction-payment] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-support] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-system] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-core] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-io] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-runtime] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-std] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dev-dependencies] diff --git a/pallets/roaming/roaming-devices/src/lib.rs b/pallets/roaming/roaming-devices/src/lib.rs index bde28c770..7546aef61 100644 --- a/pallets/roaming/roaming-devices/src/lib.rs +++ b/pallets/roaming/roaming-devices/src/lib.rs @@ -30,6 +30,7 @@ use sp_runtime::{ DispatchError, }; use sp_std::prelude::*; // Imports Vec +use scale_info::TypeInfo; #[cfg(test)] mod mock; @@ -48,7 +49,7 @@ pub trait Config: type BalanceOf = <::Currency as Currency<::AccountId>>::Balance; -#[derive(Encode, Decode, Clone, PartialEq, Eq)] +#[derive(Encode, Decode, Clone, PartialEq, Eq, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug))] pub struct RoamingDevice(pub [u8; 16]); diff --git a/pallets/roaming/roaming-devices/src/mock.rs b/pallets/roaming/roaming-devices/src/mock.rs index 96b89fc56..ae226a0ed 100644 --- a/pallets/roaming/roaming-devices/src/mock.rs +++ b/pallets/roaming/roaming-devices/src/mock.rs @@ -6,7 +6,7 @@ use crate::{ }; use frame_support::{ - parameter_types, + parameter_types, traits::Everything, weights::{ IdentityFee, Weight, @@ -45,7 +45,7 @@ parameter_types! { impl frame_system::Config for Test { type AccountData = pallet_balances::AccountData; type AccountId = u64; - type BaseCallFilter = (); + type BaseCallFilter = Everything; type BlockHashCount = BlockHashCount; type BlockNumber = u64; type BlockLength = (); @@ -82,9 +82,11 @@ impl pallet_balances::Config for Test { type WeightInfo = (); } parameter_types! { + pub const OperationalFeeMultiplier: u8 = 5; pub const TransactionByteFee: u64 = 1; } impl pallet_transaction_payment::Config for Test { + type OperationalFeeMultiplier = OperationalFeeMultiplier; type FeeMultiplierUpdate = (); type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter; type TransactionByteFee = TransactionByteFee; diff --git a/pallets/roaming/roaming-network-profiles/Cargo.toml b/pallets/roaming/roaming-network-profiles/Cargo.toml index 132bb2deb..6e1439e82 100644 --- a/pallets/roaming/roaming-network-profiles/Cargo.toml +++ b/pallets/roaming/roaming-network-profiles/Cargo.toml @@ -24,9 +24,11 @@ std = [ 'roaming-network-servers/std', 'roaming-organizations/std', 'roaming-devices/std', + 'scale-info/std', ] [dependencies] +scale-info = { version = "1.0.0", default-features = false, features = ["derive"] } codec = { version = '2.0.0', package = 'parity-scale-codec', default-features = false, features = ['derive'] } safe-mix = { version = '1.0.0', default-features = false } serde = { version = '1.0.101', optional = true, features = ['derive'] } @@ -39,46 +41,46 @@ roaming-operators = { default-features = false, package = 'roaming-operators', p [dependencies.pallet-balances] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-randomness-collective-flip] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-transaction-payment] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-support] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-system] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-core] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-io] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-runtime] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-std] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dev-dependencies] diff --git a/pallets/roaming/roaming-network-profiles/src/lib.rs b/pallets/roaming/roaming-network-profiles/src/lib.rs index 87a203694..73403e5fc 100644 --- a/pallets/roaming/roaming-network-profiles/src/lib.rs +++ b/pallets/roaming/roaming-network-profiles/src/lib.rs @@ -28,6 +28,7 @@ use sp_runtime::{ DispatchError, }; use sp_std::prelude::*; // Imports Vec +use scale_info::TypeInfo; #[cfg(test)] mod mock; @@ -43,7 +44,7 @@ pub trait Config: type RoamingNetworkProfileIndex: Parameter + Member + AtLeast32Bit + Bounded + Default + Copy; } -#[derive(Encode, Decode, Clone, PartialEq, Eq)] +#[derive(Encode, Decode, Clone, PartialEq, Eq, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug))] pub struct RoamingNetworkProfile(pub [u8; 16]); diff --git a/pallets/roaming/roaming-network-profiles/src/mock.rs b/pallets/roaming/roaming-network-profiles/src/mock.rs index 766181ef6..1c5f020e0 100644 --- a/pallets/roaming/roaming-network-profiles/src/mock.rs +++ b/pallets/roaming/roaming-network-profiles/src/mock.rs @@ -6,7 +6,7 @@ use crate::{ }; use frame_support::{ - parameter_types, + parameter_types, traits::Everything, weights::{ IdentityFee, Weight, @@ -45,7 +45,7 @@ parameter_types! { impl frame_system::Config for Test { type AccountData = pallet_balances::AccountData; type AccountId = u64; - type BaseCallFilter = (); + type BaseCallFilter = Everything; type BlockHashCount = BlockHashCount; type BlockNumber = u64; type BlockLength = (); @@ -82,9 +82,11 @@ impl pallet_balances::Config for Test { type WeightInfo = (); } parameter_types! { + pub const OperationalFeeMultiplier: u8 = 5; pub const TransactionByteFee: u64 = 1; } impl pallet_transaction_payment::Config for Test { + type OperationalFeeMultiplier = OperationalFeeMultiplier; type FeeMultiplierUpdate = (); type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter; type TransactionByteFee = TransactionByteFee; diff --git a/pallets/roaming/roaming-network-servers/Cargo.toml b/pallets/roaming/roaming-network-servers/Cargo.toml index 946e444e5..3afea41f2 100644 --- a/pallets/roaming/roaming-network-servers/Cargo.toml +++ b/pallets/roaming/roaming-network-servers/Cargo.toml @@ -22,9 +22,11 @@ std = [ 'sp-std/std', 'roaming-networks/std', 'roaming-operators/std', + 'scale-info/std', ] [dependencies] +scale-info = { version = "1.0.0", default-features = false, features = ["derive"] } codec = { version = '2.0.0', package = 'parity-scale-codec', default-features = false, features = ['derive'] } safe-mix = { version = '1.0.0', default-features = false } log = { version = '0.4.8' } @@ -35,46 +37,46 @@ roaming-operators = { default-features = false, package = 'roaming-operators', p [dependencies.pallet-balances] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-randomness-collective-flip] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-transaction-payment] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-support] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-system] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-core] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-io] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-runtime] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-std] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dev-dependencies] diff --git a/pallets/roaming/roaming-network-servers/src/lib.rs b/pallets/roaming/roaming-network-servers/src/lib.rs index 929ab6422..67a602baa 100644 --- a/pallets/roaming/roaming-network-servers/src/lib.rs +++ b/pallets/roaming/roaming-network-servers/src/lib.rs @@ -30,6 +30,7 @@ use sp_runtime::{ DispatchError, }; use sp_std::prelude::*; // Imports Vec +use scale_info::TypeInfo; #[cfg(test)] mod mock; @@ -46,7 +47,7 @@ pub trait Config: frame_system::Config + roaming_operators::Config + roaming_net type BalanceOf = <::Currency as Currency<::AccountId>>::Balance; -#[derive(Encode, Decode, Clone, PartialEq, Eq)] +#[derive(Encode, Decode, Clone, PartialEq, Eq, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug))] pub struct RoamingNetworkServer(pub [u8; 16]); diff --git a/pallets/roaming/roaming-network-servers/src/mock.rs b/pallets/roaming/roaming-network-servers/src/mock.rs index 29f9116ac..41acccc7f 100644 --- a/pallets/roaming/roaming-network-servers/src/mock.rs +++ b/pallets/roaming/roaming-network-servers/src/mock.rs @@ -6,7 +6,7 @@ use crate::{ }; use frame_support::{ - parameter_types, + parameter_types, traits::Everything, weights::{ IdentityFee, Weight, @@ -45,7 +45,7 @@ parameter_types! { impl frame_system::Config for Test { type AccountData = pallet_balances::AccountData; type AccountId = u64; - type BaseCallFilter = (); + type BaseCallFilter = Everything; type BlockHashCount = BlockHashCount; type BlockNumber = u64; type BlockLength = (); @@ -82,9 +82,11 @@ impl pallet_balances::Config for Test { type WeightInfo = (); } parameter_types! { + pub const OperationalFeeMultiplier: u8 = 5; pub const TransactionByteFee: u64 = 1; } impl pallet_transaction_payment::Config for Test { + type OperationalFeeMultiplier = OperationalFeeMultiplier; type FeeMultiplierUpdate = (); type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter; type TransactionByteFee = TransactionByteFee; diff --git a/pallets/roaming/roaming-networks/Cargo.toml b/pallets/roaming/roaming-networks/Cargo.toml index e05381ae3..5852beddb 100644 --- a/pallets/roaming/roaming-networks/Cargo.toml +++ b/pallets/roaming/roaming-networks/Cargo.toml @@ -23,10 +23,12 @@ std = [ 'sp-io/std', 'sp-runtime/std', 'sp-std/std', - 'roaming-operators/std' + 'roaming-operators/std', + 'scale-info/std', ] [dependencies] +scale-info = { version = "1.0.0", default-features = false, features = ["derive"] } codec = { version = '2.0.0', package = 'parity-scale-codec', default-features = false, features = ['derive'] } safe-mix = { version = '1.0.0', default-features = false } log = { version = '0.4.8' } @@ -37,62 +39,62 @@ roaming-operators = { default-features = false, package = 'roaming-operators', p [dependencies.pallet-balances] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-randomness-collective-flip] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-transaction-payment] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-support] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-system] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-core] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-io] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-runtime] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-std] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dev-dependencies] [dev-dependencies.sp-core] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dev-dependencies.sp-io] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dev-dependencies.sp-runtime] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" diff --git a/pallets/roaming/roaming-networks/src/lib.rs b/pallets/roaming/roaming-networks/src/lib.rs index a7cf00edc..98f344fed 100644 --- a/pallets/roaming/roaming-networks/src/lib.rs +++ b/pallets/roaming/roaming-networks/src/lib.rs @@ -32,6 +32,7 @@ use sp_runtime::{ DispatchError, }; use sp_std::prelude::*; // Imports Vec +use scale_info::TypeInfo; #[cfg(test)] mod mock; @@ -48,7 +49,7 @@ pub trait Config: frame_system::Config + roaming_operators::Config { type BalanceOf = <::Currency as Currency<::AccountId>>::Balance; -#[derive(Encode, Decode, Clone, PartialEq, Eq)] +#[derive(Encode, Decode, Clone, PartialEq, Eq, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug))] pub struct RoamingNetwork(pub [u8; 16]); diff --git a/pallets/roaming/roaming-networks/src/mock.rs b/pallets/roaming/roaming-networks/src/mock.rs index 57a6913f0..487934552 100644 --- a/pallets/roaming/roaming-networks/src/mock.rs +++ b/pallets/roaming/roaming-networks/src/mock.rs @@ -6,7 +6,7 @@ use crate::{ }; use frame_support::{ - parameter_types, + parameter_types, traits::Everything, weights::{ IdentityFee, Weight, @@ -45,7 +45,7 @@ parameter_types! { impl frame_system::Config for Test { type AccountData = pallet_balances::AccountData; type AccountId = u64; - type BaseCallFilter = (); + type BaseCallFilter = Everything; type BlockHashCount = BlockHashCount; type BlockNumber = u64; type BlockLength = (); @@ -82,9 +82,11 @@ impl pallet_balances::Config for Test { type WeightInfo = (); } parameter_types! { + pub const OperationalFeeMultiplier: u8 = 5; pub const TransactionByteFee: u64 = 1; } impl pallet_transaction_payment::Config for Test { + type OperationalFeeMultiplier = OperationalFeeMultiplier; type FeeMultiplierUpdate = (); type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter; type TransactionByteFee = TransactionByteFee; diff --git a/pallets/roaming/roaming-operators/Cargo.toml b/pallets/roaming/roaming-operators/Cargo.toml index 1cbfb08c2..da2bad72e 100644 --- a/pallets/roaming/roaming-operators/Cargo.toml +++ b/pallets/roaming/roaming-operators/Cargo.toml @@ -22,9 +22,11 @@ std = [ 'sp-runtime/std', 'sp-std/std', 'serde', + 'scale-info/std', ] [dependencies] +scale-info = { version = "1.0.0", default-features = false, features = ["derive"] } codec = { version = '2.0.0', package = 'parity-scale-codec', default-features = false, features = ['derive'] } safe-mix = { version = '1.0.0', default-features = false } serde = { version = '1.0.101', optional = true, features = ['derive'] } @@ -32,47 +34,47 @@ serde = { version = '1.0.101', optional = true, features = ['derive'] } [dependencies.pallet-balances] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-randomness-collective-flip] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-transaction-payment] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-support] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-system] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-std] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-core] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-io] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-runtime] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dev-dependencies] diff --git a/pallets/roaming/roaming-operators/src/lib.rs b/pallets/roaming/roaming-operators/src/lib.rs index 2186b17f9..119f11055 100644 --- a/pallets/roaming/roaming-operators/src/lib.rs +++ b/pallets/roaming/roaming-operators/src/lib.rs @@ -28,6 +28,7 @@ use sp_runtime::{ }, DispatchError, }; +use scale_info::TypeInfo; #[cfg(test)] mod mock; @@ -45,7 +46,7 @@ pub trait Config: frame_system::Config { type BalanceOf = <::Currency as Currency<::AccountId>>::Balance; -#[derive(Encode, Decode, Clone, PartialEq, Eq)] +#[derive(Encode, Decode, Clone, PartialEq, Eq, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug))] pub struct RoamingOperator(pub [u8; 16]); diff --git a/pallets/roaming/roaming-operators/src/mock.rs b/pallets/roaming/roaming-operators/src/mock.rs index ec6ebefdc..e5df57afc 100644 --- a/pallets/roaming/roaming-operators/src/mock.rs +++ b/pallets/roaming/roaming-operators/src/mock.rs @@ -6,7 +6,7 @@ use crate::{ }; use frame_support::{ - parameter_types, + parameter_types, traits::Everything, weights::{ IdentityFee, Weight, @@ -45,7 +45,7 @@ parameter_types! { impl frame_system::Config for Test { type AccountData = pallet_balances::AccountData; type AccountId = u64; - type BaseCallFilter = (); + type BaseCallFilter = Everything; type BlockHashCount = BlockHashCount; type BlockNumber = u64; type BlockLength = (); @@ -82,9 +82,11 @@ impl pallet_balances::Config for Test { type WeightInfo = (); } parameter_types! { + pub const OperationalFeeMultiplier: u8 = 5; pub const TransactionByteFee: u64 = 1; } impl pallet_transaction_payment::Config for Test { + type OperationalFeeMultiplier = OperationalFeeMultiplier; type FeeMultiplierUpdate = (); type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter; type TransactionByteFee = TransactionByteFee; diff --git a/pallets/roaming/roaming-organizations/Cargo.toml b/pallets/roaming/roaming-organizations/Cargo.toml index a79030cf8..7f9a37303 100644 --- a/pallets/roaming/roaming-organizations/Cargo.toml +++ b/pallets/roaming/roaming-organizations/Cargo.toml @@ -23,9 +23,11 @@ std = [ 'roaming-network-servers/std', 'roaming-networks/std', 'roaming-operators/std', + 'scale-info/std', ] [dependencies] +scale-info = { version = "1.0.0", default-features = false, features = ["derive"] } codec = { version = '2.0.0', package = 'parity-scale-codec', default-features = false, features = ['derive'] } safe-mix = { version = '1.0.0', default-features = false } log = { version = '0.4.8' } @@ -37,46 +39,46 @@ roaming-operators = { default-features = false, package = 'roaming-operators', p [dependencies.pallet-balances] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-randomness-collective-flip] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-transaction-payment] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-support] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-system] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-core] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-io] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-runtime] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-std] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dev-dependencies] diff --git a/pallets/roaming/roaming-organizations/src/lib.rs b/pallets/roaming/roaming-organizations/src/lib.rs index 4aef06ccc..51e11c664 100644 --- a/pallets/roaming/roaming-organizations/src/lib.rs +++ b/pallets/roaming/roaming-organizations/src/lib.rs @@ -30,6 +30,7 @@ use sp_runtime::{ DispatchError, }; use sp_std::prelude::*; // Imports Vec +use scale_info::TypeInfo; #[cfg(test)] mod mock; @@ -46,7 +47,7 @@ pub trait Config: frame_system::Config + roaming_operators::Config + roaming_net type BalanceOf = <::Currency as Currency<::AccountId>>::Balance; -#[derive(Encode, Decode, Clone, PartialEq, Eq)] +#[derive(Encode, Decode, Clone, PartialEq, Eq, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug))] pub struct RoamingOrganization(pub [u8; 16]); diff --git a/pallets/roaming/roaming-organizations/src/mock.rs b/pallets/roaming/roaming-organizations/src/mock.rs index a100a96b3..398d5ddfb 100644 --- a/pallets/roaming/roaming-organizations/src/mock.rs +++ b/pallets/roaming/roaming-organizations/src/mock.rs @@ -6,7 +6,7 @@ use crate::{ }; use frame_support::{ - parameter_types, + parameter_types, traits::Everything, weights::{ IdentityFee, Weight, @@ -45,7 +45,7 @@ parameter_types! { impl frame_system::Config for Test { type AccountData = pallet_balances::AccountData; type AccountId = u64; - type BaseCallFilter = (); + type BaseCallFilter = Everything; type BlockHashCount = BlockHashCount; type BlockNumber = u64; type BlockLength = (); @@ -82,9 +82,11 @@ impl pallet_balances::Config for Test { type WeightInfo = (); } parameter_types! { + pub const OperationalFeeMultiplier: u8 = 5; pub const TransactionByteFee: u64 = 1; } impl pallet_transaction_payment::Config for Test { + type OperationalFeeMultiplier = OperationalFeeMultiplier; type FeeMultiplierUpdate = (); type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter; type TransactionByteFee = TransactionByteFee; diff --git a/pallets/roaming/roaming-packet-bundles/Cargo.toml b/pallets/roaming/roaming-packet-bundles/Cargo.toml index b90826234..5fb0cf5a6 100644 --- a/pallets/roaming/roaming-packet-bundles/Cargo.toml +++ b/pallets/roaming/roaming-packet-bundles/Cargo.toml @@ -26,9 +26,11 @@ std = [ 'roaming-organizations/std', 'roaming-devices/std', 'roaming-sessions/std', + 'scale-info/std', ] [dependencies] +scale-info = { version = "1.0.0", default-features = false, features = ["derive"] } codec = { version = '2.0.0', package = 'parity-scale-codec', default-features = false, features = ['derive'] } safe-mix = { version = '1.0.0', default-features = false } log = { version = '0.4.8' } @@ -43,46 +45,46 @@ roaming-operators = { default-features = false, package = 'roaming-operators', p [dependencies.pallet-balances] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-randomness-collective-flip] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-transaction-payment] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-support] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-system] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-core] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-io] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-runtime] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-std] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dev-dependencies] diff --git a/pallets/roaming/roaming-packet-bundles/src/lib.rs b/pallets/roaming/roaming-packet-bundles/src/lib.rs index 221aec683..a64c78d5c 100644 --- a/pallets/roaming/roaming-packet-bundles/src/lib.rs +++ b/pallets/roaming/roaming-packet-bundles/src/lib.rs @@ -30,6 +30,8 @@ use sp_runtime::{ DispatchError, }; use sp_std::prelude::*; // Imports Vec +use scale_info::TypeInfo; + #[macro_use] extern crate alloc; // Required to use Vec @@ -58,12 +60,12 @@ pub trait Config: type BalanceOf = <::Currency as Currency<::AccountId>>::Balance; -#[derive(Encode, Decode, Clone, PartialEq, Eq)] +#[derive(Encode, Decode, Clone, PartialEq, Eq, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug))] pub struct RoamingPacketBundle(pub [u8; 16]); #[cfg_attr(feature = "std", derive(Debug))] -#[derive(Encode, Decode, Default, Clone, PartialEq)] +#[derive(Encode, Decode, Default, Clone, PartialEq, TypeInfo)] // Generic type parameters - Balance pub struct RoamingPacketBundleReceiver { packet_bundle_received_at_home: U, diff --git a/pallets/roaming/roaming-packet-bundles/src/mock.rs b/pallets/roaming/roaming-packet-bundles/src/mock.rs index 65295137b..a9ef7c1e4 100644 --- a/pallets/roaming/roaming-packet-bundles/src/mock.rs +++ b/pallets/roaming/roaming-packet-bundles/src/mock.rs @@ -6,7 +6,7 @@ use crate::{ }; use frame_support::{ - parameter_types, + parameter_types, traits::Everything, weights::{ IdentityFee, Weight, @@ -45,7 +45,7 @@ parameter_types! { impl frame_system::Config for Test { type AccountData = pallet_balances::AccountData; type AccountId = u64; - type BaseCallFilter = (); + type BaseCallFilter = Everything; type BlockHashCount = BlockHashCount; type BlockNumber = u64; type BlockLength = (); @@ -82,9 +82,11 @@ impl pallet_balances::Config for Test { type WeightInfo = (); } parameter_types! { + pub const OperationalFeeMultiplier: u8 = 5; pub const TransactionByteFee: u64 = 1; } impl pallet_transaction_payment::Config for Test { + type OperationalFeeMultiplier = OperationalFeeMultiplier; type FeeMultiplierUpdate = (); type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter; type TransactionByteFee = TransactionByteFee; diff --git a/pallets/roaming/roaming-routing-profiles/Cargo.toml b/pallets/roaming/roaming-routing-profiles/Cargo.toml index b573e4d60..3010f0d77 100644 --- a/pallets/roaming/roaming-routing-profiles/Cargo.toml +++ b/pallets/roaming/roaming-routing-profiles/Cargo.toml @@ -24,10 +24,12 @@ std = [ 'roaming-organizations/std', 'roaming-network-servers/std', 'roaming-networks/std', - 'roaming-operators/std' + 'roaming-operators/std', + 'scale-info/std', ] [dependencies] +scale-info = { version = "1.0.0", default-features = false, features = ["derive"] } codec = { version = '2.0.0', package = 'parity-scale-codec', default-features = false, features = ['derive'] } safe-mix = { version = '1.0.0', default-features = false } log = { version = '0.4.8' } @@ -41,46 +43,46 @@ roaming-operators = { default-features = false, package = 'roaming-operators', p [dependencies.pallet-balances] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-randomness-collective-flip] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-transaction-payment] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-support] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-system] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-core] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-io] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-runtime] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-std] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dev-dependencies] diff --git a/pallets/roaming/roaming-routing-profiles/src/lib.rs b/pallets/roaming/roaming-routing-profiles/src/lib.rs index 5d04f3b88..21d6a3fe0 100644 --- a/pallets/roaming/roaming-routing-profiles/src/lib.rs +++ b/pallets/roaming/roaming-routing-profiles/src/lib.rs @@ -28,6 +28,8 @@ use sp_runtime::{ DispatchError, }; use sp_std::prelude::*; // Imports Vec +use scale_info::TypeInfo; + #[macro_use] extern crate alloc; // Required to use Vec @@ -44,7 +46,7 @@ pub trait Config: frame_system::Config + roaming_operators::Config + roaming_dev type RoamingRoutingProfileAppServer: Parameter + Member + Default; } -#[derive(Encode, Decode, Clone, PartialEq, Eq)] +#[derive(Encode, Decode, Clone, PartialEq, Eq, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug))] pub struct RoamingRoutingProfile(pub [u8; 16]); diff --git a/pallets/roaming/roaming-routing-profiles/src/mock.rs b/pallets/roaming/roaming-routing-profiles/src/mock.rs index 1d9cdf789..3bb927508 100644 --- a/pallets/roaming/roaming-routing-profiles/src/mock.rs +++ b/pallets/roaming/roaming-routing-profiles/src/mock.rs @@ -6,7 +6,7 @@ use crate::{ }; use frame_support::{ - parameter_types, + parameter_types, traits::Everything, weights::{ IdentityFee, Weight, @@ -45,7 +45,7 @@ parameter_types! { impl frame_system::Config for Test { type AccountData = pallet_balances::AccountData; type AccountId = u64; - type BaseCallFilter = (); + type BaseCallFilter = Everything; type BlockHashCount = BlockHashCount; type BlockNumber = u64; type BlockLength = (); @@ -82,9 +82,11 @@ impl pallet_balances::Config for Test { type WeightInfo = (); } parameter_types! { + pub const OperationalFeeMultiplier: u8 = 5; pub const TransactionByteFee: u64 = 1; } impl pallet_transaction_payment::Config for Test { + type OperationalFeeMultiplier = OperationalFeeMultiplier; type FeeMultiplierUpdate = (); type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter; type TransactionByteFee = TransactionByteFee; diff --git a/pallets/roaming/roaming-service-profiles/Cargo.toml b/pallets/roaming/roaming-service-profiles/Cargo.toml index 0a5f78176..381776e3a 100644 --- a/pallets/roaming/roaming-service-profiles/Cargo.toml +++ b/pallets/roaming/roaming-service-profiles/Cargo.toml @@ -22,10 +22,12 @@ std = [ 'sp-std/std', 'roaming-network-servers/std', 'roaming-networks/std', - 'roaming-operators/std' + 'roaming-operators/std', + 'scale-info/std', ] [dependencies] +scale-info = { version = "1.0.0", default-features = false, features = ["derive"] } codec = { version = '2.0.0', package = 'parity-scale-codec', default-features = false, features = ['derive'] } safe-mix = { version = '1.0.0', default-features = false } log = { version = '0.4.8' } @@ -37,46 +39,46 @@ roaming-operators = { default-features = false, package = 'roaming-operators', p [dependencies.pallet-balances] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-randomness-collective-flip] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-transaction-payment] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-support] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-system] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-core] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-io] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-runtime] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-std] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dev-dependencies] diff --git a/pallets/roaming/roaming-service-profiles/src/lib.rs b/pallets/roaming/roaming-service-profiles/src/lib.rs index fc77de1f1..fd6d5f272 100644 --- a/pallets/roaming/roaming-service-profiles/src/lib.rs +++ b/pallets/roaming/roaming-service-profiles/src/lib.rs @@ -28,6 +28,7 @@ use sp_runtime::{ DispatchError, }; use sp_std::prelude::*; // Imports Vec +use scale_info::TypeInfo; #[cfg(test)] mod mock; @@ -43,7 +44,7 @@ pub trait Config: frame_system::Config + roaming_operators::Config + roaming_net type RoamingServiceProfileDownlinkRate: Parameter + Member + AtLeast32Bit + Bounded + Default + Copy; } -#[derive(Encode, Decode, Clone, PartialEq, Eq)] +#[derive(Encode, Decode, Clone, PartialEq, Eq, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug))] pub struct RoamingServiceProfile(pub [u8; 16]); diff --git a/pallets/roaming/roaming-service-profiles/src/mock.rs b/pallets/roaming/roaming-service-profiles/src/mock.rs index 31f598c26..8601b1e12 100644 --- a/pallets/roaming/roaming-service-profiles/src/mock.rs +++ b/pallets/roaming/roaming-service-profiles/src/mock.rs @@ -6,7 +6,7 @@ use crate::{ }; use frame_support::{ - parameter_types, + parameter_types, traits::Everything, weights::{ IdentityFee, Weight, @@ -45,7 +45,7 @@ parameter_types! { impl frame_system::Config for Test { type AccountData = pallet_balances::AccountData; type AccountId = u64; - type BaseCallFilter = (); + type BaseCallFilter = Everything; type BlockHashCount = BlockHashCount; type BlockNumber = u64; type BlockLength = (); @@ -82,9 +82,11 @@ impl pallet_balances::Config for Test { type WeightInfo = (); } parameter_types! { + pub const OperationalFeeMultiplier: u8 = 5; pub const TransactionByteFee: u64 = 1; } impl pallet_transaction_payment::Config for Test { + type OperationalFeeMultiplier = OperationalFeeMultiplier; type FeeMultiplierUpdate = (); type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter; type TransactionByteFee = TransactionByteFee; diff --git a/pallets/roaming/roaming-sessions/Cargo.toml b/pallets/roaming/roaming-sessions/Cargo.toml index 81ce4ca96..c90dd461b 100644 --- a/pallets/roaming/roaming-sessions/Cargo.toml +++ b/pallets/roaming/roaming-sessions/Cargo.toml @@ -25,9 +25,11 @@ std = [ 'roaming-network-servers/std', 'roaming-networks/std', 'roaming-operators/std', + 'scale-info/std', ] [dependencies] +scale-info = { version = "1.0.0", default-features = false, features = ["derive"] } codec = { version = '2.0.0', package = 'parity-scale-codec', default-features = false, features = ['derive'] } safe-mix = { version = '1.0.0', default-features = false } log = { version = '0.4.8' } @@ -41,46 +43,46 @@ roaming-operators = { default-features = false, package = 'roaming-operators', p [dependencies.pallet-balances] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-randomness-collective-flip] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-transaction-payment] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-support] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-system] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-core] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-io] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-runtime] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-std] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dev-dependencies] diff --git a/pallets/roaming/roaming-sessions/src/lib.rs b/pallets/roaming/roaming-sessions/src/lib.rs index d29d55141..64e42dc87 100644 --- a/pallets/roaming/roaming-sessions/src/lib.rs +++ b/pallets/roaming/roaming-sessions/src/lib.rs @@ -28,6 +28,8 @@ use sp_runtime::{ DispatchError, }; use sp_std::prelude::*; // Imports Vec +use scale_info::TypeInfo; + #[macro_use] extern crate alloc; // Required to use Vec @@ -45,12 +47,12 @@ pub trait Config: type RoamingSessionIndex: Parameter + Member + AtLeast32Bit + Bounded + Default + Copy; } -#[derive(Encode, Decode, Clone, PartialEq, Eq)] +#[derive(Encode, Decode, Clone, PartialEq, Eq, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug))] pub struct RoamingSession(pub [u8; 16]); #[cfg_attr(feature = "std", derive(Debug))] -#[derive(Encode, Decode, Default, Clone, PartialEq)] +#[derive(Encode, Decode, Default, Clone, PartialEq, TypeInfo)] // Generic type parameters - Balance pub struct RoamingSessionJoinRequest { session_network_server_id: U, @@ -58,7 +60,7 @@ pub struct RoamingSessionJoinRequest { } #[cfg_attr(feature = "std", derive(Debug))] -#[derive(Encode, Decode, Default, Clone, PartialEq)] +#[derive(Encode, Decode, Default, Clone, PartialEq, TypeInfo)] // Generic type parameters - Balance pub struct RoamingSessionJoinAccept { session_join_request_accept_expiry: U, diff --git a/pallets/roaming/roaming-sessions/src/mock.rs b/pallets/roaming/roaming-sessions/src/mock.rs index 9e8944ed8..fb07dd428 100644 --- a/pallets/roaming/roaming-sessions/src/mock.rs +++ b/pallets/roaming/roaming-sessions/src/mock.rs @@ -6,7 +6,7 @@ use crate::{ }; use frame_support::{ - parameter_types, + parameter_types, traits::Everything, weights::{ IdentityFee, Weight, @@ -45,7 +45,7 @@ parameter_types! { impl frame_system::Config for Test { type AccountData = pallet_balances::AccountData; type AccountId = u64; - type BaseCallFilter = (); + type BaseCallFilter = Everything; type BlockHashCount = BlockHashCount; type BlockNumber = u64; type BlockLength = (); @@ -82,9 +82,11 @@ impl pallet_balances::Config for Test { type WeightInfo = (); } parameter_types! { + pub const OperationalFeeMultiplier: u8 = 5; pub const TransactionByteFee: u64 = 1; } impl pallet_transaction_payment::Config for Test { + type OperationalFeeMultiplier = OperationalFeeMultiplier; type FeeMultiplierUpdate = (); type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter; type TransactionByteFee = TransactionByteFee; diff --git a/pallets/treasury/dao/Cargo.toml b/pallets/treasury/dao/Cargo.toml index 144972729..f2065e082 100644 --- a/pallets/treasury/dao/Cargo.toml +++ b/pallets/treasury/dao/Cargo.toml @@ -32,46 +32,46 @@ roaming-operators = { default-features = false, package = 'roaming-operators', p [dependencies.pallet-balances] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-randomness-collective-flip] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.pallet-transaction-payment] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-support] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-system] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-core] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-io] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-runtime] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.sp-std] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.109" +branch = "polkadot-v0.9.119" [dev-dependencies] diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 39302fe26..c7aee1bf4 100755 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -11,8 +11,8 @@ repository = 'https://github.com/DataHighway-DHX/node' targets = ['x86_64-unknown-linux-gnu'] [build-dependencies.substrate-wasm-builder] -git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/substrate" +branch = "polkadot-v0.9.13" [dependencies] roaming-operators = { default_features = false, package = 'roaming-operators', path = '../pallets/roaming/roaming-operators' } @@ -47,6 +47,8 @@ exchange-rate = { default-features = false, package = 'exchange-rate', path = '. module-primitives = { default-features = false, path = '../pallets/primitives' } funty = { default-features = false, version = '=1.1.0' } chrono = { version = '0.4.19', default_features = false } +scale-info = { version = "1.0.0", default-features = false, features = ["derive"] } +smallvec = "1.6.1" [dependencies.codec] default-features = false @@ -56,35 +58,35 @@ version = '2.0.0' [dependencies.frame-benchmarking] default-features = false -git = 'https://github.com/paritytech/substrate' +git = "https://github.com/paritytech/substrate" optional = true -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-executive] default-features = false -git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/substrate" +branch = "polkadot-v0.9.13" [dependencies.frame-support] default-features = false -git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/substrate" +branch = "polkadot-v0.9.13" [dependencies.frame-system] default-features = false -git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/substrate" +branch = "polkadot-v0.9.13" [dependencies.frame-system-benchmarking] default-features = false -git = 'https://github.com/paritytech/substrate' +git = "https://github.com/paritytech/substrate" optional = true -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" [dependencies.frame-system-rpc-runtime-api] default-features = false -git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/substrate" +branch = "polkadot-v0.9.13" [dependencies.hex-literal] optional = true @@ -92,28 +94,23 @@ version = '0.3.1' [dependencies.pallet-randomness-collective-flip] default-features = false -git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" - -[dependencies.pallet-sudo] -default-features = false -git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/substrate" +branch = "polkadot-v0.9.13" [dependencies.pallet-timestamp] default-features = false -git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/substrate" +branch = "polkadot-v0.9.13" [dependencies.pallet-transaction-payment] default-features = false -git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/substrate" +branch = "polkadot-v0.9.13" [dependencies.pallet-transaction-payment-rpc-runtime-api] default-features = false -git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/substrate" +branch = "polkadot-v0.9.13" [dependencies.serde] features = ['derive'] @@ -122,201 +119,223 @@ version = '1.0.119' [dependencies.sp-api] default-features = false -git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/substrate" +branch = "polkadot-v0.9.13" [dependencies.sp-block-builder] default-features = false -git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/substrate" +branch = "polkadot-v0.9.13" [dependencies.sp-core] default-features = false -git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/substrate" +branch = "polkadot-v0.9.13" [dependencies.sp-consensus-aura] default-features = false -git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/substrate" +branch = "polkadot-v0.9.13" [dependencies.sp-inherents] default-features = false -git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/substrate" +branch = "polkadot-v0.9.13" [dependencies.sp-io] default-features = false -git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/substrate" +branch = "polkadot-v0.9.13" [dependencies.sp-offchain] default-features = false -git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/substrate" +branch = "polkadot-v0.9.13" [dependencies.sp-runtime] default-features = false -git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/substrate" +branch = "polkadot-v0.9.13" [dependencies.sp-session] default-features = false -git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/substrate" +branch = "polkadot-v0.9.13" [dependencies.sp-std] default-features = false -git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/substrate" +branch = "polkadot-v0.9.13" [dependencies.sp-transaction-pool] default-features = false -git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/substrate" +branch = "polkadot-v0.9.13" [dependencies.sp-version] default-features = false -git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/substrate" +branch = "polkadot-v0.9.13" [dependencies.parachain-info] default-features = false -git = 'https://github.com/paritytech/cumulus' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/cumulus" +branch = "polkadot-v0.9.13" +[dependencies.pallet-collator-selection] +default-features = false +git = "https://github.com/paritytech/cumulus" +branch = "polkadot-v0.9.13" # Cumulus dependencies [dependencies.cumulus-pallet-aura-ext] -git = 'https://github.com/paritytech/cumulus.git' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/cumulus" +branch = "polkadot-v0.9.13" default-features = false [dependencies.cumulus-pallet-parachain-system] -git = 'https://github.com/paritytech/cumulus.git' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/cumulus" +branch = "polkadot-v0.9.13" default-features = false [dependencies.cumulus-primitives-core] -git = 'https://github.com/paritytech/cumulus.git' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/cumulus" +branch = "polkadot-v0.9.13" default-features = false [dependencies.cumulus-pallet-dmp-queue] -git = 'https://github.com/paritytech/cumulus.git' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/cumulus" +branch = "polkadot-v0.9.13" default-features = false [dependencies.cumulus-primitives-utility] -git = 'https://github.com/paritytech/cumulus.git' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/cumulus" +branch = "polkadot-v0.9.13" default-features = false [dependencies.cumulus-primitives-timestamp] -git = 'https://github.com/paritytech/cumulus.git' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/cumulus" +branch = "polkadot-v0.9.13" default-features = false [dependencies.cumulus-pallet-xcm] -git = 'https://github.com/paritytech/cumulus.git' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/cumulus" +branch = "polkadot-v0.9.13" default-features = false [dependencies.cumulus-pallet-xcmp-queue] -git = 'https://github.com/paritytech/cumulus.git' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/cumulus" +branch = "polkadot-v0.9.13" default-features = false # Polkadot dependencies [dependencies.polkadot-parachain] git = "https://github.com/paritytech/polkadot" -branch = "release-v0.9.10" +branch = "release-v0.9.13" default-features = false [dependencies.xcm] git = "https://github.com/paritytech/polkadot" -branch = "release-v0.9.10" +branch = "release-v0.9.13" default-features = false [dependencies.xcm-builder] git = "https://github.com/paritytech/polkadot" -branch = "release-v0.9.10" +branch = "release-v0.9.13" default-features = false [dependencies.xcm-executor] git = "https://github.com/paritytech/polkadot" -branch = "release-v0.9.10" +branch = "release-v0.9.13" default-features = false [dependencies.pallet-xcm] git = "https://github.com/paritytech/polkadot" -branch = "release-v0.9.10" +branch = "release-v0.9.13" +default-features = false + +[dependencies.polkadot-runtime-common] +git = "https://github.com/paritytech/polkadot" +branch = "release-v0.9.13" default-features = false [dependencies.pallet-aura] git = "https://github.com/paritytech/substrate" -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13" default-features = false +[dependencies.pallet-authorship] +git = "https://github.com/paritytech/substrate" +branch = "polkadot-v0.9.13" +default-features = false + + [dependencies.pallet-balances] default-features = false -git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/substrate" +branch = "polkadot-v0.9.13" [dependencies.pallet-collective] default-features = false -git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/substrate" +branch = "polkadot-v0.9.13" [dependencies.pallet-indices] default-features = false -git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/substrate" +branch = "polkadot-v0.9.13" [dependencies.pallet-membership] default-features = false -git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/substrate" +branch = "polkadot-v0.9.13" [dependencies.pallet-session] default-features = false -git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/substrate" +branch = "polkadot-v0.9.13" [dependencies.pallet-staking] default-features = false -git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/substrate" +branch = "polkadot-v0.9.13" [dependencies.pallet-staking-reward-curve] default-features = false -git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/substrate" +branch = "polkadot-v0.9.13" [dependencies.pallet-treasury] default-features = false -git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/substrate" +branch = "polkadot-v0.9.13" [dependencies.sp-staking] default-features = false -git = 'https://github.com/paritytech/substrate' -branch = "polkadot-v0.9.10" +git = "https://github.com/paritytech/substrate" +branch = "polkadot-v0.9.13" + +[dependencies.pallet-sudo] +default-features = false +git = "https://github.com/paritytech/substrate" +branch = "polkadot-v0.9.13" [features] default = ['std'] runtime-benchmarks = [ - 'sp-runtime/runtime-benchmarks', - 'frame-benchmarking', - 'frame-support/runtime-benchmarks', - 'frame-system-benchmarking', - 'hex-literal', - 'frame-system/runtime-benchmarks', - 'pallet-balances/runtime-benchmarks', - 'pallet-timestamp/runtime-benchmarks', + "sp-runtime/runtime-benchmarks", + "frame-benchmarking", + "frame-support/runtime-benchmarks", + "frame-system-benchmarking", + "hex-literal", + "frame-system/runtime-benchmarks", + "pallet-balances/runtime-benchmarks", + "pallet-timestamp/runtime-benchmarks", + "pallet-collator-selection/runtime-benchmarks", ] std = [ - 'chrono/std', + "scale-info/std", + "chrono/std", "codec/std", "serde", "sp-api/std", @@ -333,28 +352,31 @@ std = [ "frame-support/std", "frame-executive/std", "frame-system/std", + "pallet-authorship/std", "pallet-balances/std", "pallet-randomness-collective-flip/std", "pallet-timestamp/std", - "pallet-sudo/std", "pallet-transaction-payment/std", - 'pallet-indices/std', - 'pallet-collective/std', - 'pallet-membership/std', - 'pallet-treasury/std', - 'pallet-staking/std', - 'pallet-transaction-payment-rpc-runtime-api/std', + "pallet-indices/std", + "pallet-collective/std", + "pallet-membership/std", + "pallet-treasury/std", + "pallet-sudo/std", + "pallet-staking/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-timestamp/std', - 'cumulus-primitives-utility/std', - 'xcm/std', - 'xcm-builder/std', - 'xcm-executor/std', - 'pallet-aura/std', - 'sp-consensus-aura/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-timestamp/std", + "cumulus-primitives-utility/std", + "xcm/std", + "xcm-builder/std", + "xcm-executor/std", + "pallet-aura/std", + "sp-consensus-aura/std", + "polkadot-runtime-common/std", + "pallet-collator-selection/std", ] diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index ca9d622f4..9a69aa46f 100755 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -7,9 +7,9 @@ include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs")); mod types; -use frame_system::limits::{ - BlockLength, - BlockWeights, +use frame_system::{ + limits::{BlockLength, BlockWeights}, + EnsureRoot, }; use sp_api::impl_runtime_apis; use sp_core::{ @@ -26,9 +26,9 @@ use sp_runtime::{ generic, impl_opaque_keys, traits::{ + AccountIdLookup, BlakeTwo256, Block as BlockT, - IdentityLookup, }, transaction_validity::{ TransactionSource, @@ -37,11 +37,13 @@ use sp_runtime::{ ApplyExtrinsicResult, }; use sp_std::prelude::*; +pub use types::Index; #[cfg(feature = "std")] use sp_version::NativeVersion; use sp_version::RuntimeVersion; use pallet_xcm::XcmPassthrough; use polkadot_parachain::primitives::Sibling; +use polkadot_runtime_common::{BlockHashCount, RocksDbWeight, SlowAdjustingFeeUpdate}; use xcm::latest::prelude::*; use xcm_builder::{ IsConcrete, @@ -68,7 +70,7 @@ use xcm_executor::{ Config, XcmExecutor, }; -use module_primitives::Index; +use smallvec::smallvec; // A few exports that help ease life for downstream crates. pub use frame_support::{ @@ -80,22 +82,22 @@ pub use frame_support::{ Contains, ContainsLengthBound, KeyOwnerProofSystem, - Randomness, - IsInVec, Everything, + Nothing, }, weights::{ constants::{ BlockExecutionWeight, ExtrinsicBaseWeight, - RocksDbWeight, WEIGHT_PER_SECOND, }, DispatchClass, IdentityFee, Weight, + WeightToFeeCoefficient, + WeightToFeeCoefficients, + WeightToFeePolynomial }, - StorageValue, }; pub use pallet_balances::Call as BalancesCall; // pub use pallet_staking::StakerStatus; @@ -104,11 +106,39 @@ pub use sp_consensus_aura::sr25519::AuthorityId as AuraId; #[cfg(any(feature = "std", test))] pub use sp_runtime::BuildStorage; pub use sp_runtime::{ + MultiAddress, Perbill, Percent, Permill, }; +/// Handles converting a weight scalar to a fee value, based on the scale and granularity of the +/// node's balance type. +/// +/// This should typically create a mapping between the following ranges: +/// - `[0, MAXIMUM_BLOCK_WEIGHT]` +/// - `[Balance::min, Balance::max]` +/// +/// Yet, it can be used for any other sort of change to weight-fee. Some examples being: +/// - Setting it to `0` will essentially disable the weight fee. +/// - Setting it to `1` will cause the literal `#[weight = x]` values to be charged. +pub struct WeightToFee; +impl WeightToFeePolynomial for WeightToFee { + type Balance = Balance; + fn polynomial() -> WeightToFeeCoefficients { + // in Rococo, extrinsic base weight (smallest non-zero weight) is mapped to 1 MILLIUNIT: + // in our template, we map to 1/10 of that, or 1/10 MILLIUNIT + let p = MILLIUNIT / 10; + let q = 100 * Balance::from(ExtrinsicBaseWeight::get()); + smallvec![WeightToFeeCoefficient { + degree: 1, + negative: false, + coeff_frac: Perbill::from_rational(p % q, q), + coeff_integer: p / q, + }] + } +} + /// Opaque types. These are used by the CLI to instantiate machinery that don't need to know /// the specifics of the runtime. They can then be made to be agnostic over specific formats /// of data like extrinsics, allowing for them to continue syncing the network through upgrades @@ -125,14 +155,23 @@ pub mod opaque { /// Opaque block identifier type. pub type BlockId = generic::BlockId; - impl_opaque_keys! { - pub struct SessionKeys { - pub aura: Aura, - } +} + +impl_opaque_keys! { + pub struct SessionKeys { + pub aura: Aura, } } pub use types::*; +pub use module_primitives::{ + constants::currency::{ + CENTS, + deposit, + DOLLARS, + MILLICENTS, + } +}; pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("datahighway-parachain"), @@ -144,7 +183,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { transaction_version: 1, }; -pub const MILLISECS_PER_BLOCK: u64 = 12000; +pub const MILLISECS_PER_BLOCK: u64 = 4320; pub const SLOT_DURATION: u64 = MILLISECS_PER_BLOCK; @@ -155,10 +194,21 @@ pub const DAYS: BlockNumber = HOURS * 24; pub const EPOCH_DURATION_IN_BLOCKS: BlockNumber = 1 * HOURS; -// 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; +/// The existential deposit. Set to 1/10 of the Connected Relay Chain. +pub const EXISTENTIAL_DEPOSIT: Balance = 1 * DOLLARS; + +/// We assume that ~5% of the block weight is consumed by `on_initialize` handlers. This is +/// used to limit the maximal weight of a single extrinsic. +const AVERAGE_ON_INITIALIZE_RATIO: Perbill = Perbill::from_percent(5); + +/// We allow `Normal` extrinsics to fill up the block up to 75%, the rest can be used by +/// `Operational` extrinsics. +const NORMAL_DISPATCH_RATIO: Perbill = Perbill::from_percent(75); + +/// We allow for 0.5 of a second of compute with a 12 second average block time. +const MAXIMUM_BLOCK_WEIGHT: Weight = WEIGHT_PER_SECOND / 2; + /// The version information used to identify this runtime when compiled natively. #[cfg(feature = "std")] pub fn native_version() -> NativeVersion { @@ -168,18 +218,14 @@ pub fn native_version() -> NativeVersion { } } -/// We assume that ~10% of the block weight is consumed by `on_initalize` handlers. -/// This is used to limit the maximal weight of a single extrinsic. -const AVERAGE_ON_INITIALIZE_RATIO: Perbill = Perbill::from_percent(10); -/// We allow `Normal` extrinsics to fill up the block up to 75%, the rest can be used -/// by Operational extrinsics. -const NORMAL_DISPATCH_RATIO: Perbill = Perbill::from_percent(75); -/// We allow for 0.5 of a second of compute with a 12 second average block time. -const MAXIMUM_BLOCK_WEIGHT: Weight = WEIGHT_PER_SECOND / 2; - parameter_types! { - pub const BlockHashCount: BlockNumber = 2400; pub const Version: RuntimeVersion = VERSION; + + // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`. + // The `RuntimeBlockLength` and `RuntimeBlockWeights` exist here because the + // `DeletionWeightLimit` and `DeletionQueueDepth` depend on those to parameterize + // the lazy contract deletion. + pub RuntimeBlockLength: BlockLength = BlockLength::max_with_normal_ratio(5 * 1024 * 1024, NORMAL_DISPATCH_RATIO); pub RuntimeBlockWeights: BlockWeights = BlockWeights::builder() @@ -200,7 +246,7 @@ parameter_types! { }) .avg_block_initialization(AVERAGE_ON_INITIALIZE_RATIO) .build_or_panic(); - pub const SS58Prefix: u8 = 33; + pub const SS58Prefix: u16 = 33; } // Configure FRAME pallets to include in runtime. @@ -243,7 +289,7 @@ impl frame_system::Config for Runtime { /// The index type for storing how many extrinsics an account has signed. type Index = Index; /// The lookup mechanism to get account ID from whatever is passed in dispatchers. - type Lookup = IdentityLookup; + type Lookup = AccountIdLookup; /// The maximum weight that a single extrinsic of `Normal` dispatch class can have, /// idependent of the logic of that extrinsics. (Roughly max block weight - average on /// initialize cost). @@ -280,10 +326,20 @@ impl pallet_timestamp::Config for Runtime { } parameter_types! { - pub const ExistentialDeposit: u128 = 1 * MILLIUNIT; + pub const UncleGenerations: u32 = 5; +} + +impl pallet_authorship::Config for Runtime { + type FindAuthor = pallet_session::FindAccountFromAuthorIndex; + type UncleGenerations = UncleGenerations; + type FilterUncle = (); + type EventHandler = (CollatorSelection,); +} + +parameter_types! { + pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT; pub const MaxLocks: u32 = 50; pub const MaxReserves: u32 = 50; - pub const TransactionByteFee: u128 = 1 * MICROUNIT; } impl pallet_balances::Config for Runtime { @@ -300,16 +356,18 @@ impl pallet_balances::Config for Runtime { type ReserveIdentifier = [u8; 8]; } +parameter_types! { + /// Relay Chain `TransactionByteFee` / 10 + pub const TransactionByteFee: Balance = 10 * MILLICENTS; + pub const OperationalFeeMultiplier: u8 = 5; +} + impl pallet_transaction_payment::Config for Runtime { - type FeeMultiplierUpdate = (); type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter; type TransactionByteFee = TransactionByteFee; - type WeightToFee = IdentityFee; -} - -impl pallet_sudo::Config for Runtime { - type Call = Call; - type Event = Event; + type WeightToFee = WeightToFee; + type FeeMultiplierUpdate = SlowAdjustingFeeUpdate; + type OperationalFeeMultiplier = OperationalFeeMultiplier; } parameter_types! { @@ -409,9 +467,6 @@ impl pallet_treasury::Config for Runtime { type MaxApprovals = MaxApprovals; } -parameter_types! { - pub const DisabledValidatorsThreshold: Perbill = Perbill::from_percent(17); -} // pallet_staking_reward_curve::build! { // const REWARD_CURVE: PiecewiseLinear<'static> = curve!( @@ -698,7 +753,7 @@ impl membership_supernodes::Config for Runtime { parameter_types! { pub const RelayLocation: MultiLocation = MultiLocation::parent(); - pub const RelayNetwork: NetworkId = NetworkId::Polkadot; + pub const RelayNetwork: NetworkId = NetworkId::Any; pub RelayChainOrigin: Origin = cumulus_pallet_xcm::Origin::Relay.into(); pub Ancestry: MultiLocation = Parachain(ParachainInfo::parachain_id().into()).into(); } @@ -754,40 +809,41 @@ pub type XcmOriginToTransactDispatchOrigin = ( ); parameter_types! { - // 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) = (MultiLocation::parent(), UNIT); + // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate. + pub UnitWeightCost: Weight = 1_000_000_000; + pub const MaxInstructions: u32 = 100; } match_type! { - pub type ParentOrParentsUnitPlurality: impl Contains = { + pub type ParentOrParentsExecutivePlurality: impl Contains = { MultiLocation { parents: 1, interior: Here } | - MultiLocation { parents: 1, interior: X1(Plurality { id: BodyId::Unit, .. }) } + MultiLocation { parents: 1, interior: X1(Plurality { id: BodyId::Executive, .. }) } }; } pub type Barrier = ( TakeWeightCredit, AllowTopLevelPaidExecutionFrom, - AllowUnpaidExecutionFrom, - // ^^^ Parent & its unit plurality gets free execution + AllowUnpaidExecutionFrom, + // ^^^ Parent and its exec plurality get free execution ); pub struct XcmConfig; impl Config for XcmConfig { - type Call = Call; - type XcmSender = XcmRouter; - // How to withdraw and deposit an asset. - type AssetTransactor = LocalAssetTransactor; - type OriginConverter = XcmOriginToTransactDispatchOrigin; - type IsReserve = NativeAsset; - type IsTeleporter = (); // Teleporting is disabled. - type LocationInverter = LocationInverter; - type Barrier = Barrier; - type Weigher = FixedWeightBounds; + type Call = Call; + type XcmSender = XcmRouter; + // How to withdraw and deposit an asset. + type AssetTransactor = LocalAssetTransactor; + type OriginConverter = XcmOriginToTransactDispatchOrigin; + type IsReserve = NativeAsset; + type IsTeleporter = (); // Teleporting is disabled. + type LocationInverter = LocationInverter; + type Barrier = Barrier; + type Weigher = FixedWeightBounds; type Trader = UsingComponents, RelayLocation, AccountId, Balances, ()>; - type ResponseHandler = (); // Don't handle responses for now. + type ResponseHandler = PolkadotXcm; + type AssetTrap = PolkadotXcm; + type AssetClaims = PolkadotXcm; type SubscriptionService = PolkadotXcm; } @@ -808,12 +864,20 @@ impl pallet_xcm::Config for Runtime { type SendXcmOrigin = EnsureXcmOrigin; type XcmRouter = XcmRouter; type ExecuteXcmOrigin = EnsureXcmOrigin; - type XcmExecuteFilter = Everything; + type XcmExecuteFilter = Nothing; + // ^ Disable dispatchable execute on the XCM pallet. + // Needs to be `Everything` for local testing. type XcmExecutor = XcmExecutor; type XcmTeleportFilter = Everything; - type XcmReserveTransferFilter = (); - type Weigher = FixedWeightBounds; + type XcmReserveTransferFilter = Nothing; + type Weigher = FixedWeightBounds; type LocationInverter = LocationInverter; + type Origin = Origin; + type Call = Call; + + const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100; + // ^ Override for AdvertisedXcmVersion default + type AdvertisedXcmVersion = pallet_xcm::CurrentXcmVersion; } impl cumulus_pallet_xcm::Config for Runtime { @@ -851,7 +915,27 @@ impl cumulus_pallet_aura_ext::Config for Runtime {} impl cumulus_pallet_dmp_queue::Config for Runtime { type Event = Event; type XcmExecutor = XcmExecutor; - type ExecuteOverweightOrigin = frame_system::EnsureRoot; + type ExecuteOverweightOrigin = EnsureRoot; +} + +parameter_types! { + pub const Period: u32 = 6 * HOURS; + pub const Offset: u32 = 0; + pub const MaxAuthorities: u32 = 100_000; +} + +impl pallet_session::Config for Runtime { + type Event = Event; + type ValidatorId = ::AccountId; + // we don't have stash and controller, thus we don't need the convert as well. + type ValidatorIdOf = pallet_collator_selection::IdentityCollator; + type ShouldEndSession = pallet_session::PeriodicSessions; + type NextSessionRotation = pallet_session::PeriodicSessions; + type SessionManager = CollatorSelection; + // Essentially just Aura, but lets be pedantic. + type SessionHandler = ::KeyTypeIdProviders; + type Keys = SessionKeys; + type WeightInfo = (); } impl pallet_randomness_collective_flip::Config for Runtime {} @@ -859,36 +943,72 @@ impl pallet_randomness_collective_flip::Config for Runtime {} impl pallet_aura::Config for Runtime { type AuthorityId = AuraId; type DisabledValidators = (); + type MaxAuthorities = MaxAuthorities; +} + +parameter_types! { + pub const PotId: PalletId = PalletId(*b"PotStake"); + pub const MaxCandidates: u32 = 1000; + pub const MinCandidates: u32 = 5; + pub const MaxInvulnerables: u32 = 100; + pub const ExecutiveBody: BodyId = BodyId::Executive; +} + +// We allow root only to execute privileged collator selection operations. +pub type CollatorSelectionUpdateOrigin = EnsureRoot; + +impl pallet_collator_selection::Config for Runtime { + type Event = Event; + type Currency = Balances; + type UpdateOrigin = CollatorSelectionUpdateOrigin; + type PotId = PotId; + type MaxCandidates = MaxCandidates; + type MinCandidates = MinCandidates; + type MaxInvulnerables = MaxInvulnerables; + // should be a multiple of session or things will get inconsistent + type KickThreshold = Period; + type ValidatorId = ::AccountId; + type ValidatorIdOf = pallet_collator_selection::IdentityCollator; + type ValidatorRegistration = Session; + type WeightInfo = (); +} + +impl pallet_sudo::Config for Runtime { + type Call = Call; + type Event = Event; } // Create the runtime by composing the FRAME pallets that were previously configured. construct_runtime!( pub enum Runtime where Block = Block, - NodeBlock = generic::Block, + NodeBlock = opaque::Block, UncheckedExtrinsic = UncheckedExtrinsic { - System: frame_system::{Pallet, Call, Config, Storage, Event}, - Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent}, - Sudo: pallet_sudo::{Pallet, Call, Config, Storage, Event}, - RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Pallet, Storage}, - TransactionPayment: pallet_transaction_payment::{Pallet, Storage}, - - // PARACHAIN - ParachainSystem: cumulus_pallet_parachain_system::{Pallet, Call, Config, Storage, Inherent, Event, ValidateUnsigned} = 20, - - ParachainInfo: parachain_info::{Pallet, Storage, Config} = 21, - - Balances: pallet_balances::{Pallet, Call, Storage, Config, Event} = 30, - - // Consensus - Aura: pallet_aura::{Pallet, Config}, - AuraExt: cumulus_pallet_aura_ext::{Pallet, Config}, - - XcmpQueue: cumulus_pallet_xcmp_queue::{Pallet, Call, Storage, Event} = 50, - PolkadotXcm: pallet_xcm::{Pallet, Call, Event, Origin} = 51, - XcmHandler: cumulus_pallet_xcm::{Pallet, Call, Event, Origin} = 52, - DmpQueue: cumulus_pallet_dmp_queue::{Pallet, Call, Storage, Event} = 53, + System: frame_system::{Pallet, Call, Config, Storage, Event} = 0, + ParachainSystem: cumulus_pallet_parachain_system::{ + Pallet, Call, Config, Storage, Inherent, Event, ValidateUnsigned, + } = 1, + RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Pallet, Storage} = 2, + Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 3, + Sudo: pallet_sudo::{Pallet, Call, Config, Storage, Event} = 4, + ParachainInfo: parachain_info::{Pallet, Storage, Config} = 5, + + // Monetary stuff. + Balances: pallet_balances::{Pallet, Call, Storage, Config, Event} = 10, + TransactionPayment: pallet_transaction_payment::{Pallet, Storage} = 11, + + // Collator support. The order of these 4 are important and shall not change. + Authorship: pallet_authorship::{Pallet, Call, Storage} = 20, + CollatorSelection: pallet_collator_selection::{Pallet, Call, Storage, Event, Config} = 21, + Session: pallet_session::{Pallet, Call, Storage, Event, Config} = 22, + Aura: pallet_aura::{Pallet, Storage, Config} = 23, + AuraExt: cumulus_pallet_aura_ext::{Pallet, Storage, Config} = 24, + + XcmpQueue: cumulus_pallet_xcmp_queue::{Pallet, Call, Storage, Event} = 30, + PolkadotXcm: pallet_xcm::{Pallet, Call, Event, Origin} = 31, + CumulusXcm: cumulus_pallet_xcm::{Pallet, Event, Origin} = 32, + DmpQueue: cumulus_pallet_dmp_queue::{Pallet, Call, Storage, Event} = 33, GeneralCouncil: pallet_collective::::{Pallet, Call, Storage, Origin, Event, Config}, GeneralCouncilMembership: pallet_membership::::{Pallet, Call, Storage, Event, Config}, @@ -928,7 +1048,7 @@ construct_runtime!( ); /// The address format for describing accounts. -pub type Address = AccountId; +pub type Address = MultiAddress; /// Block header type as expected by this runtime. pub type Header = generic::Header; /// Block type as expected by this runtime. @@ -972,7 +1092,7 @@ impl_runtime_apis! { impl sp_api::Metadata for Runtime { fn metadata() -> OpaqueMetadata { - Runtime::metadata().into() + OpaqueMetadata::new(Runtime::metadata().into()) } } @@ -1016,15 +1136,15 @@ impl_runtime_apis! { impl sp_session::SessionKeys for Runtime { fn generate_session_keys(seed: Option>) -> Vec { - opaque::SessionKeys::generate(seed) + SessionKeys::generate(seed) } fn decode_session_keys( - encoded: Vec, + encoded: Vec, ) -> Option, KeyTypeId)>> { - opaque::SessionKeys::decode_into_raw_public_keys(&encoded) + SessionKeys::decode_into_raw_public_keys(&encoded) } - } + } impl sp_consensus_aura::AuraApi for Runtime { fn slot_duration() -> sp_consensus_aura::SlotDuration { @@ -1032,7 +1152,7 @@ impl_runtime_apis! { } fn authorities() -> Vec { - Aura::authorities() + Aura::authorities().into_inner() } } @@ -1087,8 +1207,8 @@ impl cumulus_pallet_parachain_system::CheckInherents for CheckInherents { } } -cumulus_pallet_parachain_system::register_validate_block!( +cumulus_pallet_parachain_system::register_validate_block! { Runtime = Runtime, BlockExecutor = cumulus_pallet_aura_ext::BlockExecutor::, CheckInherents = CheckInherents, -); +} diff --git a/runtime/src/types.rs b/runtime/src/types.rs index 383b52845..d28bb61fd 100755 --- a/runtime/src/types.rs +++ b/runtime/src/types.rs @@ -31,7 +31,7 @@ pub type Index = u32; pub type Hash = sp_core::H256; /// Digest item type. -pub type DigestItem = generic::DigestItem; +pub type DigestItem = generic::DigestItem; pub type Moment = u64; diff --git a/runtime/tests/cli_integration_tests_mining_hardware.rs b/runtime/tests/cli_integration_tests_mining_hardware.rs index d0ee3f43a..8148486a2 100755 --- a/runtime/tests/cli_integration_tests_mining_hardware.rs +++ b/runtime/tests/cli_integration_tests_mining_hardware.rs @@ -18,6 +18,7 @@ mod tests { Weight, }, }; + use frame_support::traits::Everything; use sp_core::H256; use sp_runtime::{ @@ -86,7 +87,7 @@ mod tests { impl frame_system::Config for Test { type AccountData = pallet_balances::AccountData; type AccountId = u64; - type BaseCallFilter = (); + type BaseCallFilter = Everything; type BlockHashCount = BlockHashCount; type BlockLength = (); type BlockNumber = u64; @@ -122,11 +123,15 @@ mod tests { type ReserveIdentifier = [u8; 8]; type WeightInfo = (); } + parameter_types! { + pub const OperationalFeeMultiplier: u8 = 5; pub const TransactionByteFee: u64 = 1; } + impl pallet_randomness_collective_flip::Config for Test {} impl pallet_transaction_payment::Config for Test { + type OperationalFeeMultiplier = OperationalFeeMultiplier; type FeeMultiplierUpdate = (); type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter; type TransactionByteFee = TransactionByteFee; diff --git a/runtime/tests/cli_integration_tests_mining_tokens.rs b/runtime/tests/cli_integration_tests_mining_tokens.rs index 819942c01..b07f11581 100755 --- a/runtime/tests/cli_integration_tests_mining_tokens.rs +++ b/runtime/tests/cli_integration_tests_mining_tokens.rs @@ -21,6 +21,7 @@ mod tests { Weight, }, }; + use frame_support::traits::Everything; use sp_core::H256; use sp_runtime::{ @@ -99,7 +100,7 @@ mod tests { impl frame_system::Config for Test { type AccountData = pallet_balances::AccountData; type AccountId = u64; - type BaseCallFilter = (); + type BaseCallFilter = Everything; type BlockHashCount = BlockHashCount; type BlockLength = (); type BlockNumber = u64; @@ -136,10 +137,13 @@ mod tests { type WeightInfo = (); } parameter_types! { + pub const OperationalFeeMultiplier: u8 = 5; pub const TransactionByteFee: u64 = 1; } + impl pallet_randomness_collective_flip::Config for Test {} impl pallet_transaction_payment::Config for Test { + type OperationalFeeMultiplier = OperationalFeeMultiplier; type FeeMultiplierUpdate = (); type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter; type TransactionByteFee = TransactionByteFee; diff --git a/runtime/tests/cli_integration_tests_roaming.rs b/runtime/tests/cli_integration_tests_roaming.rs index 3cfa33921..69394976a 100755 --- a/runtime/tests/cli_integration_tests_roaming.rs +++ b/runtime/tests/cli_integration_tests_roaming.rs @@ -24,7 +24,7 @@ mod tests { Weight, }, }; - + use frame_support::traits::Everything; pub use pallet_transaction_payment::CurrencyAdapter; use sp_core::H256; use sp_runtime::{ @@ -120,7 +120,7 @@ mod tests { impl frame_system::Config for Test { type AccountData = pallet_balances::AccountData; type AccountId = u64; - type BaseCallFilter = (); + type BaseCallFilter = Everything; type BlockHashCount = BlockHashCount; type BlockLength = (); type BlockNumber = u64; @@ -158,7 +158,14 @@ mod tests { type WeightInfo = (); } impl pallet_randomness_collective_flip::Config for Test {} + + parameter_types! { + pub const OperationalFeeMultiplier: u8 = 5; + pub const TransactionByteFee: u64 = 1; + } + impl pallet_transaction_payment::Config for Test { + type OperationalFeeMultiplier = OperationalFeeMultiplier; type FeeMultiplierUpdate = (); type OnChargeTransaction = CurrencyAdapter; type TransactionByteFee = (); diff --git a/traits/account-set/Cargo.toml b/traits/account-set/Cargo.toml index 26059aee4..b31014e5c 100644 --- a/traits/account-set/Cargo.toml +++ b/traits/account-set/Cargo.toml @@ -26,4 +26,4 @@ std = [ [dependencies.sp-std] default-features = false git = 'https://github.com/paritytech/substrate.git' -branch = "polkadot-v0.9.10" +branch = "polkadot-v0.9.13"