diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 96721feb1a0..7ce5008c6f8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -195,6 +195,25 @@ jobs: ./scripts/build-alphanet-relay-image.sh docker push $DOCKER_TAG fi + - name: Check & prepare para-test docker image + run: | + POLKADOT_REPO=${{ needs.set-tags.outputs.polkadot_repo }} + POLKADOT_COMMIT=${{ needs.set-tags.outputs.polkadot_commit }} + DOCKER_TAG="purestake/polkadot-para-tests:sha-$POLKADOT_COMMIT" + POLKADOT_EXISTS=$(docker manifest inspect $DOCKER_TAG > /dev/null && \ + echo "true" || echo "false") + if [[ "$POLKADOT_EXISTS" == "false" ]]; then + mkdir -p build + MOONBEAM_DOCKER_TAG="purestake/moonbase-relay-testnet:sha-$POLKADOT_COMMIT" + docker create --pull always -ti --name dummy $MOONBEAM_DOCKER_TAG bash + docker cp dummy:/usr/local/bin/polkadot build/polkadot + docker rm -f dummy + docker build . --pull --no-cache -f docker/polkadot-para-tests.Dockerfile \ + --network=host \ + --build-arg HOST_UID="$UID" \ + -t $DOCKER_TAG + docker push $DOCKER_TAG + fi ####### Building and Testing binaries ####### @@ -219,8 +238,6 @@ jobs: RUSTFLAGS: "-C opt-level=3 -D warnings" # MOONBEAM_LOG: info # DEBUG: "test*" - outputs: - RUSTC: ${{ steps.get-rust-versions.outputs.rustc }} steps: - name: Checkout uses: actions/checkout@v2 @@ -251,9 +268,6 @@ jobs: fi $SCCACHE_BIN -s echo "RUSTC_WRAPPER=$SCCACHE_BIN" >> $GITHUB_ENV - - id: get-rust-versions - run: | - echo "::set-output name=rustc::$(rustc --version)" - name: Build Node run: | env @@ -312,7 +326,7 @@ jobs: typescript-tests: runs-on: self-hosted - needs: ["set-tags", "build"] + needs: ["set-tags", "build", "prepare-polkadot"] steps: - name: Checkout uses: actions/checkout@v2 @@ -327,16 +341,33 @@ jobs: with: node-version: 14.x - name: Typescript integration tests (against dev service) - env: - BINARY_PATH: ../build/moonbeam run: | chmod uog+x build/moonbeam + + #### Preparing the repository cd moonbeam-types-bundle npm install npm run build cd ../tests npm install - node_modules/.bin/mocha --parallel -j 4 -r ts-node/register 'tests/**/test-*.ts' + cd .. + + #### Retrieving docker image as base to run tests + POLKADOT_REPO=${{ needs.set-tags.outputs.polkadot_repo }} + POLKADOT_COMMIT=${{ needs.set-tags.outputs.polkadot_commit }} + DOCKER_TAG="purestake/polkadot-para-tests:sha-$POLKADOT_COMMIT" + + docker run \ + -e BINARY_PATH='../build/moonbeam' \ + -v $(pwd):/moonbeam:z \ + -u $UID \ + -w /moonbeam/tests \ + $DOCKER_TAG \ + node node_modules/.bin/mocha \ + --parallel -j 4 \ + --exit \ + -r ts-node/register \ + 'tests/**/test-*.ts' # We determine whether there are unmodified package-lock.json files by: # 1. Asking git for a list of all modified files @@ -398,7 +429,7 @@ jobs: npm run build cd ../tests npm install - node_modules/.bin/mocha --parallel -j 2 -r ts-node/register 'tracing-tests/**/test-*.ts' + node_modules/.bin/mocha --exit --parallel -j 2 -r ts-node/register 'tracing-tests/**/test-*.ts' typescript-para-tests: runs-on: self-hosted @@ -437,11 +468,51 @@ jobs: run: | chmod uog+x build/polkadot chmod uog+x build/moonbeam + + #### Preparing the repository cd moonbeam-types-bundle npm install cd ../tests npm install - node_modules/.bin/mocha -r ts-node/register 'para-tests/**/test-*.ts' + cd .. + + POLKADOT_REPO=${{ needs.set-tags.outputs.polkadot_repo }} + POLKADOT_COMMIT=${{ needs.set-tags.outputs.polkadot_commit }} + DOCKER_TAG="purestake/polkadot-para-tests:sha-$POLKADOT_COMMIT" + + #### Retrieve binary to avoid para-node script to rely on docker + mkdir -p build + localVersion=$(grep 'spec_version: [0-9]*' runtime/moonbase/src/lib.rs | grep -o '[0-9]*') + baseRuntime=$(git tag -l -n 'runtime-[0-9]*' | \ + cut -d' ' -f 1 | cut -d'-' -f 2 | \ + sed "1 i ${localVersion}" | \ + sort -n -r | \ + uniq | \ + grep -A1 "${localVersion}" | \ + tail -1) + rev=$(git rev-list -1 runtime-$baseRuntime) + sha8=${rev:0:8} + dockerImage=purestake/moonbeam:sha-${sha8} + binaryPath=build/moonbeam-${sha8} + docker create --pull always --name moonbeam-tmp ${dockerImage} && \ + docker cp moonbeam-tmp:/moonbeam/moonbeam ${binaryPath} && \ + docker rm moonbeam-tmp + + echo "Running para-tests inside docker: $DOCKER_TAG" + docker run \ + -e OVERRIDE_RUNTIME_PATH='./runtimes' \ + -e BINARY_PATH='../build/moonbeam' \ + -e MOONBEAM_LOG='info' \ + -e RELAY_BINARY_PATH='/binaries/polkadot' \ + -e RUNTIME_DIRECTORY='/tmp/runtimes' \ + -e BINARY_DIRECTORY='../build/' \ + -e SPECS_DIRECTORY='/tmp/specs' \ + -v $(pwd):/moonbeam:z \ + -v $(pwd)/${binaryPath}:/binaries/moonbeam:z \ + -u $UID \ + -w /moonbeam/tests \ + $DOCKER_TAG \ + node node_modules/.bin/mocha --exit -r ts-node/register 'para-tests/**/test-*.ts' docker-parachain: runs-on: ubuntu-latest diff --git a/Cargo.lock b/Cargo.lock index 4ea209acf17..74cc5f4bf07 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -301,7 +301,6 @@ dependencies = [ "async-global-executor", "async-io", "async-lock", - "async-process", "crossbeam-utils", "futures-channel", "futures-core", @@ -512,17 +511,19 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "beefy-primitives", "fnv", "futures 0.3.21", + "futures-timer", "hex", "log", "parity-scale-codec", "parking_lot 0.12.0", "sc-chain-spec", "sc-client-api", + "sc-finality-grandpa", "sc-keystore", "sc-network", "sc-network-gossip", @@ -531,10 +532,11 @@ dependencies = [ "sp-application-crypto", "sp-arithmetic", "sp-blockchain", + "sp-consensus", "sp-core", "sp-keystore", "sp-runtime", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18)", + "substrate-prometheus-endpoint", "thiserror", "wasm-timer", ] @@ -542,7 +544,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -565,12 +567,12 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "parity-scale-codec", "scale-info", @@ -786,8 +788,9 @@ dependencies = [ [[package]] name = "bp-header-chain" version = "0.1.0" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ + "bp-runtime", "finality-grandpa", "frame-support", "parity-scale-codec", @@ -802,7 +805,7 @@ dependencies = [ [[package]] name = "bp-message-dispatch" version = "0.1.0" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "bp-runtime", "frame-support", @@ -814,7 +817,7 @@ dependencies = [ [[package]] name = "bp-messages" version = "0.1.0" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "bitvec", "bp-runtime", @@ -824,13 +827,14 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", + "sp-core", "sp-std", ] [[package]] name = "bp-polkadot-core" version = "0.1.0" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "bp-messages", "bp-runtime", @@ -848,7 +852,7 @@ dependencies = [ [[package]] name = "bp-rococo" version = "0.1.0" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "bp-messages", "bp-polkadot-core", @@ -865,7 +869,7 @@ dependencies = [ [[package]] name = "bp-runtime" version = "0.1.0" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "frame-support", "hash-db", @@ -883,7 +887,7 @@ dependencies = [ [[package]] name = "bp-test-utils" version = "0.1.0" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "bp-header-chain", "ed25519-dalek", @@ -898,7 +902,7 @@ dependencies = [ [[package]] name = "bp-wococo" version = "0.1.0" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "bp-messages", "bp-polkadot-core", @@ -913,12 +917,13 @@ dependencies = [ [[package]] name = "bridge-runtime-common" version = "0.1.0" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "bp-message-dispatch", "bp-messages", "bp-runtime", "frame-support", + "frame-system", "hash-db", "pallet-bridge-dispatch", "pallet-bridge-grandpa", @@ -926,6 +931,7 @@ dependencies = [ "pallet-transaction-payment", "parity-scale-codec", "scale-info", + "sp-api", "sp-core", "sp-runtime", "sp-state-machine", @@ -1239,6 +1245,18 @@ dependencies = [ "bitflags", ] +[[package]] +name = "coarsetime" +version = "0.1.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "454038500439e141804c655b4cd1bc6a70bcb95cd2bc9463af5661b6956f0e46" +dependencies = [ + "libc", + "once_cell", + "wasi 0.11.0+wasi-snapshot-preview1", + "wasm-bindgen", +] + [[package]] name = "concurrent-queue" version = "1.2.2" @@ -1454,6 +1472,16 @@ dependencies = [ "scopeguard 1.1.0", ] +[[package]] +name = "crossbeam-queue" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f25d8400f4a7a5778f0e4e52384a48cbd9b5c495d110786187fc750075277a2" +dependencies = [ + "cfg-if 1.0.0", + "crossbeam-utils", +] + [[package]] name = "crossbeam-utils" version = "0.8.8" @@ -1617,7 +1645,7 @@ dependencies = [ [[package]] name = "cumulus-client-cli" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.18#76cf464eeee1c276277d4dc53ed9ea77673165f7" +source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.19#82c9c1fd61b802d7b0c0511be5740dc0c8ce343c" dependencies = [ "clap 3.1.6", "sc-cli", @@ -1628,7 +1656,7 @@ dependencies = [ [[package]] name = "cumulus-client-collator" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.18#76cf464eeee1c276277d4dc53ed9ea77673165f7" +source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.19#82c9c1fd61b802d7b0c0511be5740dc0c8ce343c" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -1652,7 +1680,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.18#7b64a321ac086976cf9db94e382bd38f513fb549" +source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.19#82c9c1fd61b802d7b0c0511be5740dc0c8ce343c" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -1673,7 +1701,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-relay-chain" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.18#76cf464eeee1c276277d4dc53ed9ea77673165f7" +source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.19#82c9c1fd61b802d7b0c0511be5740dc0c8ce343c" dependencies = [ "async-trait", "cumulus-client-consensus-common", @@ -1690,14 +1718,14 @@ dependencies = [ "sp-core", "sp-inherents", "sp-runtime", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18)", + "substrate-prometheus-endpoint", "tracing", ] [[package]] name = "cumulus-client-network" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.18#76cf464eeee1c276277d4dc53ed9ea77673165f7" +source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.19#82c9c1fd61b802d7b0c0511be5740dc0c8ce343c" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -1722,7 +1750,7 @@ dependencies = [ [[package]] name = "cumulus-client-pov-recovery" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.18#76cf464eeee1c276277d4dc53ed9ea77673165f7" +source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.19#82c9c1fd61b802d7b0c0511be5740dc0c8ce343c" dependencies = [ "cumulus-primitives-core", "cumulus-relay-chain-interface", @@ -1746,7 +1774,7 @@ dependencies = [ [[package]] name = "cumulus-client-service" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.18#76cf464eeee1c276277d4dc53ed9ea77673165f7" +source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.19#82c9c1fd61b802d7b0c0511be5740dc0c8ce343c" dependencies = [ "cumulus-client-cli", "cumulus-client-collator", @@ -1776,7 +1804,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.18#76cf464eeee1c276277d4dc53ed9ea77673165f7" +source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.19#82c9c1fd61b802d7b0c0511be5740dc0c8ce343c" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1794,7 +1822,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.18#76cf464eeee1c276277d4dc53ed9ea77673165f7" +source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.19#82c9c1fd61b802d7b0c0511be5740dc0c8ce343c" dependencies = [ "cumulus-pallet-parachain-system-proc-macro", "cumulus-primitives-core", @@ -1824,7 +1852,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.18#76cf464eeee1c276277d4dc53ed9ea77673165f7" +source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.19#82c9c1fd61b802d7b0c0511be5740dc0c8ce343c" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -1835,7 +1863,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.18#76cf464eeee1c276277d4dc53ed9ea77673165f7" +source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.19#82c9c1fd61b802d7b0c0511be5740dc0c8ce343c" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1852,7 +1880,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.18#76cf464eeee1c276277d4dc53ed9ea77673165f7" +source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.19#82c9c1fd61b802d7b0c0511be5740dc0c8ce343c" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1870,7 +1898,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.18#7b64a321ac086976cf9db94e382bd38f513fb549" +source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.19#82c9c1fd61b802d7b0c0511be5740dc0c8ce343c" dependencies = [ "frame-support", "parity-scale-codec", @@ -1886,7 +1914,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.18#7b64a321ac086976cf9db94e382bd38f513fb549" +source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.19#82c9c1fd61b802d7b0c0511be5740dc0c8ce343c" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1909,7 +1937,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.18#76cf464eeee1c276277d4dc53ed9ea77673165f7" +source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.19#82c9c1fd61b802d7b0c0511be5740dc0c8ce343c" dependencies = [ "cumulus-primitives-core", "futures 0.3.21", @@ -1922,7 +1950,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.18#76cf464eeee1c276277d4dc53ed9ea77673165f7" +source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.19#82c9c1fd61b802d7b0c0511be5740dc0c8ce343c" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1939,7 +1967,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-inprocess-interface" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.18#76cf464eeee1c276277d4dc53ed9ea77673165f7" +source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.19#82c9c1fd61b802d7b0c0511be5740dc0c8ce343c" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1967,13 +1995,13 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-interface" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.18#7b64a321ac086976cf9db94e382bd38f513fb549" +source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.19#82c9c1fd61b802d7b0c0511be5740dc0c8ce343c" dependencies = [ "async-trait", "cumulus-primitives-core", "derive_more", "futures 0.3.21", - "jsonrpsee-core 0.9.0", + "jsonrpsee-core", "parity-scale-codec", "parking_lot 0.12.0", "polkadot-overseer", @@ -1991,7 +2019,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-rpc-interface" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.18#76cf464eeee1c276277d4dc53ed9ea77673165f7" +source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.19#82c9c1fd61b802d7b0c0511be5740dc0c8ce343c" dependencies = [ "async-trait", "backoff", @@ -1999,7 +2027,7 @@ dependencies = [ "cumulus-relay-chain-interface", "futures 0.3.21", "futures-timer", - "jsonrpsee 0.9.0", + "jsonrpsee", "parity-scale-codec", "parking_lot 0.12.0", "polkadot-service", @@ -2017,7 +2045,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.18#7b64a321ac086976cf9db94e382bd38f513fb549" +source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.19#82c9c1fd61b802d7b0c0511be5740dc0c8ce343c" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -2321,18 +2349,18 @@ dependencies = [ [[package]] name = "enumflags2" -version = "0.6.4" +version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83c8d82922337cd23a15f88b70d8e4ef5f11da38dd7cdb55e84dd5de99695da0" +checksum = "e75d4cd21b95383444831539909fbb14b9dc3fdceb2a6f5d36577329a1f55ccb" dependencies = [ "enumflags2_derive", ] [[package]] name = "enumflags2_derive" -version = "0.6.4" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "946ee94e3dbf58fdd324f9ce245c7b238d46a66f00e86a020b71996349e46cce" +checksum = "f58dc3c5e468259f19f2d46304a6b28f1c3d034442e14b322d2b850e36f6d5ae" dependencies = [ "proc-macro2", "quote", @@ -2563,14 +2591,15 @@ dependencies = [ [[package]] name = "expander" -version = "0.0.5" +version = "0.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "309f21c39e8e38e4b6eda07e155bd7a4e5fc4d707cefd0402cc82a8b6bb65aaa" +checksum = "3774182a5df13c3d1690311ad32fbe913feef26baba609fa2dd5f72042bd2ab6" dependencies = [ "blake2 0.10.4", "fs-err", "proc-macro2", "quote", + "syn", ] [[package]] @@ -2628,7 +2657,7 @@ dependencies = [ [[package]] name = "fc-consensus" version = "2.0.0-dev" -source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.18#3d58fed1fe79004f90e1ade8114d4ecd89643584" +source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.19#59d8fce56c96e1bc90dd632d9e77db933ad3afa3" dependencies = [ "async-trait", "fc-db", @@ -2647,12 +2676,12 @@ dependencies = [ [[package]] name = "fc-db" version = "2.0.0-dev" -source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.18#3d58fed1fe79004f90e1ade8114d4ecd89643584" +source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.19#59d8fce56c96e1bc90dd632d9e77db933ad3afa3" dependencies = [ "fp-storage", "kvdb-rocksdb", "parity-scale-codec", - "parking_lot 0.11.2", + "parking_lot 0.12.0", "sp-core", "sp-database", "sp-runtime", @@ -2661,7 +2690,7 @@ dependencies = [ [[package]] name = "fc-mapping-sync" version = "2.0.0-dev" -source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.18#3d58fed1fe79004f90e1ade8114d4ecd89643584" +source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.19#59d8fce56c96e1bc90dd632d9e77db933ad3afa3" dependencies = [ "fc-db", "fp-consensus", @@ -2678,7 +2707,7 @@ dependencies = [ [[package]] name = "fc-rpc" version = "2.0.0-dev" -source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.18#3d58fed1fe79004f90e1ade8114d4ecd89643584" +source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.19#59d8fce56c96e1bc90dd632d9e77db933ad3afa3" dependencies = [ "ethereum", "ethereum-types", @@ -2694,7 +2723,7 @@ dependencies = [ "jsonrpc-pubsub", "libsecp256k1 0.7.0", "log", - "lru 0.7.3", + "lru 0.6.6", "pallet-ethereum", "parity-scale-codec", "prometheus", @@ -2713,14 +2742,14 @@ dependencies = [ "sp-io", "sp-runtime", "sp-storage", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18)", + "substrate-prometheus-endpoint", "tokio", ] [[package]] name = "fc-rpc-core" version = "1.1.0-dev" -source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.18#3d58fed1fe79004f90e1ade8114d4ecd89643584" +source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.19#59d8fce56c96e1bc90dd632d9e77db933ad3afa3" dependencies = [ "ethereum", "ethereum-types", @@ -2832,7 +2861,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "parity-scale-codec", ] @@ -2850,7 +2879,7 @@ dependencies = [ [[package]] name = "fp-consensus" version = "2.0.0-dev" -source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.18#3d58fed1fe79004f90e1ade8114d4ecd89643584" +source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.19#59d8fce56c96e1bc90dd632d9e77db933ad3afa3" dependencies = [ "ethereum", "parity-scale-codec", @@ -2862,7 +2891,7 @@ dependencies = [ [[package]] name = "fp-evm" version = "3.0.0-dev" -source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.18#3d58fed1fe79004f90e1ade8114d4ecd89643584" +source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.19#59d8fce56c96e1bc90dd632d9e77db933ad3afa3" dependencies = [ "evm", "parity-scale-codec", @@ -2874,7 +2903,7 @@ dependencies = [ [[package]] name = "fp-rpc" version = "3.0.0-dev" -source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.18#3d58fed1fe79004f90e1ade8114d4ecd89643584" +source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.19#59d8fce56c96e1bc90dd632d9e77db933ad3afa3" dependencies = [ "ethereum", "ethereum-types", @@ -2891,7 +2920,7 @@ dependencies = [ [[package]] name = "fp-self-contained" version = "1.0.0-dev" -source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.18#3d58fed1fe79004f90e1ade8114d4ecd89643584" +source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.19#59d8fce56c96e1bc90dd632d9e77db933ad3afa3" dependencies = [ "ethereum", "frame-support", @@ -2907,7 +2936,7 @@ dependencies = [ [[package]] name = "fp-storage" version = "2.0.0" -source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.18#3d58fed1fe79004f90e1ade8114d4ecd89643584" +source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.19#59d8fce56c96e1bc90dd632d9e77db933ad3afa3" dependencies = [ "parity-scale-codec", ] @@ -2915,7 +2944,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-support", "frame-system", @@ -2937,13 +2966,14 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "Inflector", "chrono", "clap 3.1.6", "frame-benchmarking", "frame-support", + "frame-system", "handlebars", "hash-db", "hex", @@ -2954,6 +2984,7 @@ dependencies = [ "memory-db", "parity-scale-codec", "rand 0.8.5", + "sc-block-builder", "sc-cli", "sc-client-api", "sc-client-db", @@ -2967,32 +2998,47 @@ dependencies = [ "sp-core", "sp-database", "sp-externalities", + "sp-inherents", "sp-keystore", "sp-runtime", "sp-state-machine", "sp-std", "sp-storage", "sp-trie", + "thousands", +] + +[[package]] +name = "frame-election-provider-solution-type" +version = "4.0.0-dev" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" +dependencies = [ + "proc-macro-crate 1.1.3", + "proc-macro2", + "quote", + "syn", ] [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ + "frame-election-provider-solution-type", "frame-support", "frame-system", "parity-scale-codec", "scale-info", "sp-arithmetic", "sp-npos-elections", + "sp-runtime", "sp-std", ] [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-support", "frame-system", @@ -3020,7 +3066,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "bitflags", "frame-metadata", @@ -3049,7 +3095,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -3061,7 +3107,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.1.3", @@ -3073,7 +3119,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "proc-macro2", "quote", @@ -3083,7 +3129,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-support", "log", @@ -3100,7 +3146,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-benchmarking", "frame-support", @@ -3115,7 +3161,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "parity-scale-codec", "sp-api", @@ -3124,7 +3170,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-support", "sp-api", @@ -3446,7 +3492,7 @@ dependencies = [ "indexmap", "slab", "tokio", - "tokio-util", + "tokio-util 0.6.9", "tracing", ] @@ -3801,9 +3847,9 @@ dependencies = [ [[package]] name = "indexmap" -version = "1.8.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "282a6247722caba404c065016bbfa522806e51714c34f5dfc3e4a3a46fcb4223" +checksum = "0f647032dfaa1f8b6dc29bd3edb7bbef4861b8b8007ebb118d6db284fd59f6ee" dependencies = [ "autocfg 1.1.0", "hashbrown 0.11.2", @@ -4028,7 +4074,7 @@ dependencies = [ "log", "tokio", "tokio-stream", - "tokio-util", + "tokio-util 0.6.9", "unicase", ] @@ -4049,109 +4095,43 @@ dependencies = [ [[package]] name = "jsonrpsee" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6373a33d987866ccfe1af4bc11b089dce941764313f9fd8b7cf13fcb51b72dc5" -dependencies = [ - "jsonrpsee-types 0.4.1", - "jsonrpsee-utils", - "jsonrpsee-ws-client 0.4.1", -] - -[[package]] -name = "jsonrpsee" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05fd8cd6c6b1bbd06881d2cf88f1fc83cc36c98f2219090f839115fb4a956cb9" -dependencies = [ - "jsonrpsee-core 0.8.0", - "jsonrpsee-proc-macros", - "jsonrpsee-types 0.8.0", - "jsonrpsee-ws-client 0.8.0", -] - -[[package]] -name = "jsonrpsee" -version = "0.9.0" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0d0b8cc1959f8c05256ace093b2317482da9127f1d9227564f47e7e6bf9bda8" +checksum = "91dc760c341fa81173f9a434931aaf32baad5552b0230cc6c93e8fb7eaad4c19" dependencies = [ - "jsonrpsee-core 0.9.0", + "jsonrpsee-core", "jsonrpsee-http-client", - "jsonrpsee-types 0.9.0", - "jsonrpsee-ws-client 0.9.0", -] - -[[package]] -name = "jsonrpsee-client-transport" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3303cdf246e6ab76e2866fb3d9acb6c76a068b1b28bd923a1b7a8122257ad7b5" -dependencies = [ - "futures 0.3.21", - "http", - "jsonrpsee-core 0.8.0", - "jsonrpsee-types 0.8.0", - "pin-project 1.0.10", - "rustls-native-certs 0.6.1", - "soketto", - "thiserror", - "tokio", - "tokio-rustls 0.23.3", - "tokio-util", - "tracing", - "webpki-roots 0.22.2", + "jsonrpsee-proc-macros", + "jsonrpsee-types", + "jsonrpsee-ws-client", ] [[package]] name = "jsonrpsee-client-transport" -version = "0.9.0" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa370c2c717d798c3c0a315ae3f0a707a388c6963c11f9da7dbbe1d3f7392f5f" +checksum = "765f7a36d5087f74e3b3b47805c2188fef8eb54afcb587b078d9f8ebfe9c7220" dependencies = [ "futures 0.3.21", "http", - "jsonrpsee-core 0.9.0", - "jsonrpsee-types 0.9.0", + "jsonrpsee-core", + "jsonrpsee-types", "pin-project 1.0.10", "rustls-native-certs 0.6.1", "soketto", "thiserror", "tokio", "tokio-rustls 0.23.3", - "tokio-util", + "tokio-util 0.7.1", "tracing", "webpki-roots 0.22.2", ] [[package]] name = "jsonrpsee-core" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f220b5a238dc7992b90f1144fbf6eaa585872c9376afe6fe6863ffead6191bf3" -dependencies = [ - "anyhow", - "arrayvec 0.7.2", - "async-trait", - "beef", - "futures-channel", - "futures-util", - "hyper", - "jsonrpsee-types 0.8.0", - "rustc-hash", - "serde", - "serde_json", - "soketto", - "thiserror", - "tokio", - "tracing", -] - -[[package]] -name = "jsonrpsee-core" -version = "0.9.0" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22abc3274b265dcefe2e26c4beecf9fda4fffa48cf94930443a6c73678f020d5" +checksum = "82ef77ecd20c2254d54f5da8c0738eacca61e6b6511268a8f2753e3148c6c706" dependencies = [ "anyhow", "arrayvec 0.7.2", @@ -4160,7 +4140,7 @@ dependencies = [ "futures-channel", "futures-util", "hyper", - "jsonrpsee-types 0.9.0", + "jsonrpsee-types", "rustc-hash", "serde", "serde_json", @@ -4172,15 +4152,15 @@ dependencies = [ [[package]] name = "jsonrpsee-http-client" -version = "0.9.0" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d31b837273d09dd80051eefa57d337769dff6c3266108c43a3544ac7ffed9d68" +checksum = "92709e0b8255691f4df954a0176b1cbc3312f151e7ed2e643812e8bd121f1d1c" dependencies = [ "async-trait", "hyper", "hyper-rustls 0.23.0", - "jsonrpsee-core 0.9.0", - "jsonrpsee-types 0.9.0", + "jsonrpsee-core", + "jsonrpsee-types", "rustc-hash", "serde", "serde_json", @@ -4191,9 +4171,9 @@ dependencies = [ [[package]] name = "jsonrpsee-proc-macros" -version = "0.8.0" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4299ebf790ea9de1cb72e73ff2ae44c723ef264299e5e2d5ef46a371eb3ac3d8" +checksum = "b7291c72805bc7d413b457e50d8ef3e87aa554da65ecbbc278abb7dfc283e7f0" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -4203,42 +4183,9 @@ dependencies = [ [[package]] name = "jsonrpsee-types" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62f778cf245158fbd8f5d50823a2e9e4c708a40be164766bd35e9fb1d86715b2" -dependencies = [ - "anyhow", - "async-trait", - "beef", - "futures-channel", - "futures-util", - "hyper", - "log", - "serde", - "serde_json", - "soketto", - "thiserror", -] - -[[package]] -name = "jsonrpsee-types" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1b3f601bbbe45cd63f5407b6f7d7950e08a7d4f82aa699ff41a4a5e9e54df58" -dependencies = [ - "anyhow", - "beef", - "serde", - "serde_json", - "thiserror", - "tracing", -] - -[[package]] -name = "jsonrpsee-types" -version = "0.9.0" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f4c45d2e2aa1db4c7d7d7dbaabc10a5b5258d99cd9d42fbfd5260b76f80c324" +checksum = "38b6aa52f322cbf20c762407629b8300f39bcc0cf0619840d9252a2f65fd2dd9" dependencies = [ "anyhow", "beef", @@ -4248,61 +4195,15 @@ dependencies = [ "tracing", ] -[[package]] -name = "jsonrpsee-utils" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0109c4f972058f3b1925b73a17210aff7b63b65967264d0045d15ee88fe84f0c" -dependencies = [ - "arrayvec 0.7.2", - "beef", - "jsonrpsee-types 0.4.1", -] - -[[package]] -name = "jsonrpsee-ws-client" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "559aa56fc402af206c00fc913dc2be1d9d788dcde045d14df141a535245d35ef" -dependencies = [ - "arrayvec 0.7.2", - "async-trait", - "fnv", - "futures 0.3.21", - "http", - "jsonrpsee-types 0.4.1", - "log", - "pin-project 1.0.10", - "rustls-native-certs 0.5.0", - "serde", - "serde_json", - "soketto", - "thiserror", - "tokio", - "tokio-rustls 0.22.0", - "tokio-util", -] - [[package]] name = "jsonrpsee-ws-client" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aff425cee7c779e33920913bc695447416078ee6d119f443f3060feffa4e86b5" -dependencies = [ - "jsonrpsee-client-transport 0.8.0", - "jsonrpsee-core 0.8.0", - "jsonrpsee-types 0.8.0", -] - -[[package]] -name = "jsonrpsee-ws-client" -version = "0.9.0" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31b58983485b2b626c276f1eb367d62dae82132451b281072a7bfa536a33ddf3" +checksum = "dd66d18bab78d956df24dd0d2e41e4c00afbb818fda94a98264bdd12ce8506ac" dependencies = [ - "jsonrpsee-client-transport 0.9.0", - "jsonrpsee-core 0.9.0", - "jsonrpsee-types 0.9.0", + "jsonrpsee-client-transport", + "jsonrpsee-core", + "jsonrpsee-types", ] [[package]] @@ -4335,8 +4236,8 @@ dependencies = [ [[package]] name = "kusama-runtime" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "beefy-primitives", "bitvec", @@ -4354,6 +4255,7 @@ dependencies = [ "pallet-bags-list", "pallet-balances", "pallet-bounties", + "pallet-child-bounties", "pallet-collective", "pallet-democracy", "pallet-election-provider-multi-phase", @@ -4418,8 +4320,8 @@ dependencies = [ [[package]] name = "kusama-runtime-constants" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "frame-support", "polkadot-primitives", @@ -4889,7 +4791,7 @@ dependencies = [ "libp2p-core", "libp2p-swarm", "log", - "lru 0.7.3", + "lru 0.7.5", "rand 0.7.3", "smallvec 1.8.0", "unsigned-varint 0.7.1", @@ -5224,9 +5126,9 @@ dependencies = [ [[package]] name = "lru" -version = "0.7.3" +version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcb87f3080f6d1d69e8c564c0fcfde1d7aa8cc451ce40cae89479111f03bc0eb" +checksum = "32613e41de4c47ab04970c348ca7ae7382cf116625755af070b008a15516a889" dependencies = [ "hashbrown 0.11.2", ] @@ -5405,14 +5307,17 @@ dependencies = [ [[package]] name = "metered-channel" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ + "coarsetime", + "crossbeam-queue", "derive_more", "futures 0.3.21", "futures-timer", + "nanorand", "thiserror", - "tracing", + "tracing-gum", ] [[package]] @@ -5661,13 +5566,14 @@ dependencies = [ "polkadot-primitives", "polkadot-service", "sc-cli", + "sc-finality-grandpa", "sc-service", "sc-telemetry", "sc-tracing", "sp-core", "sp-runtime", "substrate-build-script-utils", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.16)", + "substrate-prometheus-endpoint", "try-runtime-cli", ] @@ -6170,7 +6076,7 @@ dependencies = [ "structopt", "substrate-build-script-utils", "substrate-frame-rpc-system", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18)", + "substrate-prometheus-endpoint", "substrate-test-client", "substrate-test-runtime-client", "tiny-bip39", @@ -6433,9 +6339,9 @@ dependencies = [ [[package]] name = "names" -version = "0.12.0" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10a8690bf09abf659851e58cd666c3d37ac6af07c2bd7a9e332cfba471715775" +checksum = "e7d66043b25d4a6cccb23619d10c19c25304b355a7dccd4a8e11423dd2382146" dependencies = [ "rand 0.8.5", ] @@ -6463,7 +6369,7 @@ dependencies = [ [[package]] name = "nimbus-consensus" version = "0.9.0" -source = "git+https://github.com/purestake/nimbus?branch=moonbeam-polkadot-v0.9.18#a35755930e1dde3456e95d981cf7cbe5779c1795" +source = "git+https://github.com/purestake/nimbus?branch=moonbeam-polkadot-v0.9.19#a37ae449a49bff64b76dcbbff60ef754f66707e4" dependencies = [ "async-trait", "cumulus-client-consensus-common", @@ -6487,14 +6393,14 @@ dependencies = [ "sp-inherents", "sp-keystore", "sp-runtime", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18)", + "substrate-prometheus-endpoint", "tracing", ] [[package]] name = "nimbus-primitives" version = "0.9.0" -source = "git+https://github.com/purestake/nimbus?branch=moonbeam-polkadot-v0.9.18#a35755930e1dde3456e95d981cf7cbe5779c1795" +source = "git+https://github.com/purestake/nimbus?branch=moonbeam-polkadot-v0.9.19#a37ae449a49bff64b76dcbbff60ef754f66707e4" dependencies = [ "async-trait", "frame-support", @@ -6763,7 +6669,7 @@ dependencies = [ [[package]] name = "orml-traits" version = "0.4.1-dev" -source = "git+https://github.com/purestake/open-runtime-module-library?branch=moonbeam-polkadot-v0.9.18#5aa90d413d358140ed93b0772a4bd4e21efbaa52" +source = "git+https://github.com/purestake/open-runtime-module-library?branch=moonbeam-polkadot-v0.9.19#c0ebd08e83fb44beb3b77c39cf9f0126285e8f3d" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -6781,7 +6687,7 @@ dependencies = [ [[package]] name = "orml-utilities" version = "0.4.1-dev" -source = "git+https://github.com/purestake/open-runtime-module-library?branch=moonbeam-polkadot-v0.9.18#5aa90d413d358140ed93b0772a4bd4e21efbaa52" +source = "git+https://github.com/purestake/open-runtime-module-library?branch=moonbeam-polkadot-v0.9.19#c0ebd08e83fb44beb3b77c39cf9f0126285e8f3d" dependencies = [ "frame-support", "parity-scale-codec", @@ -6795,7 +6701,7 @@ dependencies = [ [[package]] name = "orml-xcm-support" version = "0.4.1-dev" -source = "git+https://github.com/purestake/open-runtime-module-library?branch=moonbeam-polkadot-v0.9.18#5aa90d413d358140ed93b0772a4bd4e21efbaa52" +source = "git+https://github.com/purestake/open-runtime-module-library?branch=moonbeam-polkadot-v0.9.19#c0ebd08e83fb44beb3b77c39cf9f0126285e8f3d" dependencies = [ "frame-support", "orml-traits", @@ -6809,7 +6715,7 @@ dependencies = [ [[package]] name = "orml-xtokens" version = "0.4.1-dev" -source = "git+https://github.com/purestake/open-runtime-module-library?branch=moonbeam-polkadot-v0.9.18#5aa90d413d358140ed93b0772a4bd4e21efbaa52" +source = "git+https://github.com/purestake/open-runtime-module-library?branch=moonbeam-polkadot-v0.9.19#c0ebd08e83fb44beb3b77c39cf9f0126285e8f3d" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -6867,7 +6773,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-benchmarking", "frame-support", @@ -6881,7 +6787,7 @@ dependencies = [ [[package]] name = "pallet-author-inherent" version = "0.9.0" -source = "git+https://github.com/purestake/nimbus?branch=moonbeam-polkadot-v0.9.18#a35755930e1dde3456e95d981cf7cbe5779c1795" +source = "git+https://github.com/purestake/nimbus?branch=moonbeam-polkadot-v0.9.19#a37ae449a49bff64b76dcbbff60ef754f66707e4" dependencies = [ "frame-support", "frame-system", @@ -6947,7 +6853,7 @@ dependencies = [ [[package]] name = "pallet-author-slot-filter" version = "0.9.0" -source = "git+https://github.com/purestake/nimbus?branch=moonbeam-polkadot-v0.9.18#a35755930e1dde3456e95d981cf7cbe5779c1795" +source = "git+https://github.com/purestake/nimbus?branch=moonbeam-polkadot-v0.9.19#a37ae449a49bff64b76dcbbff60ef754f66707e4" dependencies = [ "frame-benchmarking", "frame-support", @@ -6965,7 +6871,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-support", "frame-system", @@ -6981,7 +6887,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-support", "frame-system", @@ -6996,7 +6902,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-benchmarking", "frame-support", @@ -7020,7 +6926,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-election-provider-support", "frame-support", @@ -7035,7 +6941,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-benchmarking", "frame-support", @@ -7050,11 +6956,11 @@ dependencies = [ [[package]] name = "pallet-base-fee" version = "1.0.0" -source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.18#3d58fed1fe79004f90e1ade8114d4ecd89643584" +source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.19#59d8fce56c96e1bc90dd632d9e77db933ad3afa3" dependencies = [ + "fp-evm", "frame-support", "frame-system", - "pallet-evm", "parity-scale-codec", "scale-info", "serde", @@ -7065,7 +6971,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "beefy-primitives", "frame-support", @@ -7081,7 +6987,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "beefy-merkle-tree", "beefy-primitives", @@ -7106,7 +7012,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-support", "frame-system", @@ -7123,7 +7029,7 @@ dependencies = [ [[package]] name = "pallet-bridge-dispatch" version = "0.1.0" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "bp-message-dispatch", "bp-runtime", @@ -7140,7 +7046,7 @@ dependencies = [ [[package]] name = "pallet-bridge-grandpa" version = "0.1.0" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "bp-header-chain", "bp-runtime", @@ -7162,7 +7068,7 @@ dependencies = [ [[package]] name = "pallet-bridge-messages" version = "0.1.0" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "bitvec", "bp-message-dispatch", @@ -7180,10 +7086,28 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-child-bounties" +version = "4.0.0-dev" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" +dependencies = [ + "frame-support", + "frame-system", + "log", + "pallet-bounties", + "pallet-treasury", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-benchmarking", "frame-support", @@ -7200,7 +7124,7 @@ dependencies = [ [[package]] name = "pallet-crowdloan-rewards" version = "0.6.0" -source = "git+https://github.com/purestake/crowdloan-rewards?branch=moonbeam-polkadot-v0.9.18#700216058c2cdbcdc55f69b530391303bae2fe23" +source = "git+https://github.com/purestake/crowdloan-rewards?branch=moonbeam-polkadot-v0.9.19#38413c890426731af8827b8e42e9a3895bb6bef7" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -7225,7 +7149,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-benchmarking", "frame-support", @@ -7267,7 +7191,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7290,7 +7214,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-support", "frame-system", @@ -7307,7 +7231,7 @@ dependencies = [ [[package]] name = "pallet-ethereum" version = "4.0.0-dev" -source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.18#3d58fed1fe79004f90e1ade8114d4ecd89643584" +source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.19#59d8fce56c96e1bc90dd632d9e77db933ad3afa3" dependencies = [ "ethereum", "ethereum-types", @@ -7347,7 +7271,7 @@ dependencies = [ [[package]] name = "pallet-evm" version = "6.0.0-dev" -source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.18#3d58fed1fe79004f90e1ade8114d4ecd89643584" +source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.19#59d8fce56c96e1bc90dd632d9e77db933ad3afa3" dependencies = [ "evm", "fp-evm", @@ -7363,7 +7287,7 @@ dependencies = [ "rlp", "scale-info", "serde", - "sha3 0.8.2", + "sha3 0.10.1", "sp-core", "sp-io", "sp-runtime", @@ -7430,7 +7354,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-blake2" version = "2.0.0-dev" -source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.18#3d58fed1fe79004f90e1ade8114d4ecd89643584" +source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.19#59d8fce56c96e1bc90dd632d9e77db933ad3afa3" dependencies = [ "fp-evm", ] @@ -7438,7 +7362,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-bn128" version = "2.0.0-dev" -source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.18#3d58fed1fe79004f90e1ade8114d4ecd89643584" +source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.19#59d8fce56c96e1bc90dd632d9e77db933ad3afa3" dependencies = [ "fp-evm", "sp-core", @@ -7448,7 +7372,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-dispatch" version = "2.0.0-dev" -source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.18#3d58fed1fe79004f90e1ade8114d4ecd89643584" +source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.19#59d8fce56c96e1bc90dd632d9e77db933ad3afa3" dependencies = [ "fp-evm", "frame-support", @@ -7458,7 +7382,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-modexp" version = "2.0.0-dev" -source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.18#3d58fed1fe79004f90e1ade8114d4ecd89643584" +source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.19#59d8fce56c96e1bc90dd632d9e77db933ad3afa3" dependencies = [ "fp-evm", "num", @@ -7467,7 +7391,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-sha3fips" version = "2.0.0-dev" -source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.18#3d58fed1fe79004f90e1ade8114d4ecd89643584" +source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.19#59d8fce56c96e1bc90dd632d9e77db933ad3afa3" dependencies = [ "fp-evm", "tiny-keccak", @@ -7476,7 +7400,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-simple" version = "2.0.0-dev" -source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.18#3d58fed1fe79004f90e1ade8114d4ecd89643584" +source = "git+https://github.com/purestake/frontier?branch=moonbeam-polkadot-v0.9.19#59d8fce56c96e1bc90dd632d9e77db933ad3afa3" dependencies = [ "fp-evm", "ripemd", @@ -7486,7 +7410,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-benchmarking", "frame-support", @@ -7501,7 +7425,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-benchmarking", "frame-support", @@ -7524,7 +7448,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "enumflags2", "frame-benchmarking", @@ -7540,7 +7464,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-support", "frame-system", @@ -7559,7 +7483,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-support", "frame-system", @@ -7591,7 +7515,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-benchmarking", "frame-support", @@ -7625,7 +7549,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -7643,7 +7567,7 @@ dependencies = [ [[package]] name = "pallet-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-support", "frame-system", @@ -7659,7 +7583,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -7694,7 +7618,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-support", "frame-system", @@ -7708,7 +7632,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-support", "frame-system", @@ -7722,7 +7646,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-support", "frame-system", @@ -7739,7 +7663,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-benchmarking", "frame-support", @@ -7755,7 +7679,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-support", "frame-system", @@ -7785,7 +7709,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-support", "frame-system", @@ -7799,7 +7723,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-support", "frame-system", @@ -7813,7 +7737,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-benchmarking", "frame-support", @@ -7829,7 +7753,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-support", "frame-system", @@ -7850,7 +7774,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-support", "frame-system", @@ -7864,7 +7788,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-election-provider-support", "frame-support", @@ -7885,7 +7809,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -7896,7 +7820,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "log", "sp-arithmetic", @@ -7905,7 +7829,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-support", "frame-system", @@ -7919,7 +7843,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-benchmarking", "frame-support", @@ -7937,7 +7861,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-support", "frame-system", @@ -7955,7 +7879,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-support", "frame-system", @@ -7972,7 +7896,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -7989,7 +7913,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -8000,7 +7924,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-support", "frame-system", @@ -8016,7 +7940,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-support", "frame-system", @@ -8031,7 +7955,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-support", "frame-system", @@ -8044,8 +7968,8 @@ dependencies = [ [[package]] name = "pallet-xcm" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "frame-support", "frame-system", @@ -8063,7 +7987,7 @@ dependencies = [ [[package]] name = "parachain-info" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.18#76cf464eeee1c276277d4dc53ed9ea77673165f7" +source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.19#82c9c1fd61b802d7b0c0511be5740dc0c8ce343c" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -8195,7 +8119,7 @@ dependencies = [ "ethereum-types", "hashbrown 0.12.0", "impl-trait-for-tuples", - "lru 0.7.3", + "lru 0.7.5", "parity-util-mem-derive", "parking_lot 0.12.0", "primitive-types", @@ -8546,8 +8470,8 @@ checksum = "e8d0eef3571242013a0d5dc84861c3ae4a652e56e12adf8bdc26ff5f8cb34c94" [[package]] name = "polkadot-approval-distribution" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "futures 0.3.21", "polkadot-node-network-protocol", @@ -8555,31 +8479,31 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "tracing", + "tracing-gum", ] [[package]] name = "polkadot-availability-bitfield-distribution" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "futures 0.3.21", "polkadot-node-network-protocol", "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "tracing", + "tracing-gum", ] [[package]] name = "polkadot-availability-distribution" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "derive_more", "fatality", "futures 0.3.21", - "lru 0.7.3", + "lru 0.7.5", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -8591,17 +8515,17 @@ dependencies = [ "sp-core", "sp-keystore", "thiserror", - "tracing", + "tracing-gum", ] [[package]] name = "polkadot-availability-recovery" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "fatality", "futures 0.3.21", - "lru 0.7.3", + "lru 0.7.5", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -8612,18 +8536,19 @@ dependencies = [ "rand 0.8.5", "sc-network", "thiserror", - "tracing", + "tracing-gum", ] [[package]] name = "polkadot-cli" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "clap 3.1.6", "frame-benchmarking-cli", "futures 0.3.21", "log", + "polkadot-client", "polkadot-node-core-pvf", "polkadot-node-metrics", "polkadot-performance-test", @@ -8640,17 +8565,23 @@ dependencies = [ [[package]] name = "polkadot-client" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "beefy-primitives", "frame-benchmarking", + "frame-benchmarking-cli", + "frame-system", "frame-system-rpc-runtime-api", "kusama-runtime", "pallet-mmr-primitives", + "pallet-transaction-payment", "pallet-transaction-payment-rpc-runtime-api", + "polkadot-core-primitives", + "polkadot-node-core-parachains-inherent", "polkadot-primitives", "polkadot-runtime", + "polkadot-runtime-common", "rococo-runtime", "sc-client-api", "sc-consensus", @@ -8662,19 +8593,23 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-consensus-babe", + "sp-core", "sp-finality-grandpa", + "sp-inherents", + "sp-keyring", "sp-offchain", "sp-runtime", "sp-session", "sp-storage", + "sp-timestamp", "sp-transaction-pool", "westend-runtime", ] [[package]] name = "polkadot-collator-protocol" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "always-assert", "fatality", @@ -8689,13 +8624,13 @@ dependencies = [ "sp-keystore", "sp-runtime", "thiserror", - "tracing", + "tracing-gum", ] [[package]] name = "polkadot-core-primitives" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "parity-scale-codec", "parity-util-mem", @@ -8707,13 +8642,13 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "derive_more", "fatality", "futures 0.3.21", - "lru 0.7.3", + "lru 0.7.5", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -8725,13 +8660,13 @@ dependencies = [ "sp-application-crypto", "sp-keystore", "thiserror", - "tracing", + "tracing-gum", ] [[package]] name = "polkadot-erasure-coding" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -8744,8 +8679,8 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "futures 0.3.21", "futures-timer", @@ -8759,13 +8694,13 @@ dependencies = [ "sp-application-crypto", "sp-core", "sp-keystore", - "tracing", + "tracing-gum", ] [[package]] name = "polkadot-network-bridge" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "async-trait", "futures 0.3.21", @@ -8778,13 +8713,13 @@ dependencies = [ "polkadot-primitives", "sc-network", "sp-consensus", - "tracing", + "tracing-gum", ] [[package]] name = "polkadot-node-collation-generation" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "futures 0.3.21", "parity-scale-codec", @@ -8796,20 +8731,20 @@ dependencies = [ "sp-core", "sp-maybe-compressed-blob", "thiserror", - "tracing", + "tracing-gum", ] [[package]] name = "polkadot-node-core-approval-voting" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "bitvec", "derive_more", "futures 0.3.21", "futures-timer", "kvdb", - "lru 0.7.3", + "lru 0.7.5", "merlin", "parity-scale-codec", "polkadot-node-jaeger", @@ -8824,13 +8759,14 @@ dependencies = [ "sp-consensus", "sp-consensus-slots", "sp-runtime", - "tracing", + "thiserror", + "tracing-gum", ] [[package]] name = "polkadot-node-core-av-store" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "bitvec", "futures 0.3.21", @@ -8844,13 +8780,13 @@ dependencies = [ "polkadot-overseer", "polkadot-primitives", "thiserror", - "tracing", + "tracing-gum", ] [[package]] name = "polkadot-node-core-backing" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "bitvec", "futures 0.3.21", @@ -8862,13 +8798,13 @@ dependencies = [ "polkadot-statement-table", "sp-keystore", "thiserror", - "tracing", + "tracing-gum", ] [[package]] name = "polkadot-node-core-bitfield-signing" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "futures 0.3.21", "polkadot-node-subsystem", @@ -8876,14 +8812,14 @@ dependencies = [ "polkadot-primitives", "sp-keystore", "thiserror", - "tracing", + "tracing-gum", "wasm-timer", ] [[package]] name = "polkadot-node-core-candidate-validation" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "async-trait", "futures 0.3.21", @@ -8895,13 +8831,13 @@ dependencies = [ "polkadot-parachain", "polkadot-primitives", "sp-maybe-compressed-blob", - "tracing", + "tracing-gum", ] [[package]] name = "polkadot-node-core-chain-api" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "futures 0.3.21", "polkadot-node-subsystem", @@ -8910,13 +8846,13 @@ dependencies = [ "sc-client-api", "sc-consensus-babe", "sp-blockchain", - "tracing", + "tracing-gum", ] [[package]] name = "polkadot-node-core-chain-selection" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "futures 0.3.21", "futures-timer", @@ -8927,18 +8863,18 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "thiserror", - "tracing", + "tracing-gum", ] [[package]] name = "polkadot-node-core-dispute-coordinator" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "fatality", "futures 0.3.21", "kvdb", - "lru 0.7.3", + "lru 0.7.5", "parity-scale-codec", "polkadot-node-primitives", "polkadot-node-subsystem", @@ -8946,13 +8882,13 @@ dependencies = [ "polkadot-primitives", "sc-keystore", "thiserror", - "tracing", + "tracing-gum", ] [[package]] name = "polkadot-node-core-parachains-inherent" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "async-trait", "futures 0.3.21", @@ -8963,13 +8899,13 @@ dependencies = [ "sp-inherents", "sp-runtime", "thiserror", - "tracing", + "tracing-gum", ] [[package]] name = "polkadot-node-core-provisioner" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "bitvec", "futures 0.3.21", @@ -8980,13 +8916,13 @@ dependencies = [ "polkadot-primitives", "rand 0.8.5", "thiserror", - "tracing", + "tracing-gum", ] [[package]] name = "polkadot-node-core-pvf" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "always-assert", "assert_matches", @@ -9010,13 +8946,13 @@ dependencies = [ "sp-maybe-compressed-blob", "sp-tracing", "sp-wasm-interface", - "tracing", + "tracing-gum", ] [[package]] name = "polkadot-node-core-pvf-checker" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "futures 0.3.21", "polkadot-node-primitives", @@ -9026,13 +8962,13 @@ dependencies = [ "polkadot-primitives", "sp-keystore", "thiserror", - "tracing", + "tracing-gum", ] [[package]] name = "polkadot-node-core-runtime-api" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "futures 0.3.21", "memory-lru", @@ -9044,13 +8980,13 @@ dependencies = [ "sp-authority-discovery", "sp-consensus-babe", "sp-core", - "tracing", + "tracing-gum", ] [[package]] name = "polkadot-node-jaeger" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "async-std", "lazy_static", @@ -9067,8 +9003,8 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "bs58", "futures 0.3.21", @@ -9080,14 +9016,14 @@ dependencies = [ "sc-cli", "sc-service", "sc-tracing", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18)", - "tracing", + "substrate-prometheus-endpoint", + "tracing-gum", ] [[package]] name = "polkadot-node-network-protocol" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "async-trait", "fatality", @@ -9104,8 +9040,8 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "bounded-vec", "futures 0.3.21", @@ -9126,8 +9062,8 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -9136,8 +9072,8 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "derive_more", "futures 0.3.21", @@ -9149,14 +9085,14 @@ dependencies = [ "polkadot-statement-table", "sc-network", "smallvec 1.8.0", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18)", + "substrate-prometheus-endpoint", "thiserror", ] [[package]] name = "polkadot-node-subsystem-util" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "async-trait", "derive_more", @@ -9164,7 +9100,7 @@ dependencies = [ "futures 0.3.21", "itertools", "kvdb", - "lru 0.7.3", + "lru 0.7.5", "metered-channel", "parity-db", "parity-scale-codec", @@ -9183,17 +9119,17 @@ dependencies = [ "sp-core", "sp-keystore", "thiserror", - "tracing", + "tracing-gum", ] [[package]] name = "polkadot-overseer" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "futures 0.3.21", "futures-timer", - "lru 0.7.3", + "lru 0.7.5", "parity-util-mem", "parking_lot 0.12.0", "polkadot-node-metrics", @@ -9204,13 +9140,13 @@ dependencies = [ "polkadot-primitives", "sc-client-api", "sp-api", - "tracing", + "tracing-gum", ] [[package]] name = "polkadot-overseer-gen" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "async-trait", "futures 0.3.21", @@ -9221,15 +9157,15 @@ dependencies = [ "polkadot-node-primitives", "polkadot-overseer-gen-proc-macro", "thiserror", - "tracing", + "tracing-gum", ] [[package]] name = "polkadot-overseer-gen-proc-macro" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ - "expander 0.0.5", + "expander 0.0.6", "proc-macro-crate 1.1.3", "proc-macro2", "quote", @@ -9238,8 +9174,8 @@ dependencies = [ [[package]] name = "polkadot-parachain" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "derive_more", "frame-support", @@ -9255,8 +9191,8 @@ dependencies = [ [[package]] name = "polkadot-performance-test" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "env_logger", "kusama-runtime", @@ -9270,8 +9206,8 @@ dependencies = [ [[package]] name = "polkadot-primitives" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "bitvec", "frame-system", @@ -9300,8 +9236,8 @@ dependencies = [ [[package]] name = "polkadot-rpc" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "beefy-gadget", "beefy-gadget-rpc", @@ -9327,12 +9263,13 @@ dependencies = [ "sp-keystore", "sp-runtime", "substrate-frame-rpc-system", + "substrate-state-trie-migration-rpc", ] [[package]] name = "polkadot-runtime" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "beefy-primitives", "bitvec", @@ -9349,6 +9286,7 @@ dependencies = [ "pallet-bags-list", "pallet-balances", "pallet-bounties", + "pallet-child-bounties", "pallet-collective", "pallet-democracy", "pallet-election-provider-multi-phase", @@ -9410,8 +9348,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "beefy-primitives", "bitvec", @@ -9455,8 +9393,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-constants" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "frame-support", "polkadot-primitives", @@ -9467,8 +9405,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "bs58", "parity-scale-codec", @@ -9479,8 +9417,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "bitflags", "bitvec", @@ -9519,8 +9457,8 @@ dependencies = [ [[package]] name = "polkadot-service" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "async-trait", "beefy-gadget", @@ -9532,7 +9470,7 @@ dependencies = [ "kusama-runtime-constants", "kvdb", "kvdb-rocksdb", - "lru 0.7.3", + "lru 0.7.5", "pallet-babe", "pallet-im-online", "pallet-mmr-primitives", @@ -9614,17 +9552,17 @@ dependencies = [ "sp-timestamp", "sp-transaction-pool", "sp-trie", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18)", + "substrate-prometheus-endpoint", "thiserror", - "tracing", + "tracing-gum", "westend-runtime", "westend-runtime-constants", ] [[package]] name = "polkadot-statement-distribution" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "arrayvec 0.5.2", "fatality", @@ -9639,13 +9577,13 @@ dependencies = [ "sp-keystore", "sp-staking", "thiserror", - "tracing", + "tracing-gum", ] [[package]] name = "polkadot-statement-table" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -9811,9 +9749,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.36" +version = "1.0.38" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7342d5883fbccae1cc37a2353b09c87c9b0f3afd73f5fb9bba687a1f733b029" +checksum = "9027b48e9d4c9175fa2218adf3557f91c1137021739951d4932f5f8268ac48aa" dependencies = [ "unicode-xid", ] @@ -9919,9 +9857,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "632d02bff7f874a36f33ea8bb416cd484b90cc66c1194b1a1110d067a7013f58" +checksum = "a1feb54ed693b93a84e14094943b84b7c4eae204c512b7ccb95ab0c66d278ad1" dependencies = [ "proc-macro2", ] @@ -10303,10 +10241,10 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "env_logger", - "jsonrpsee 0.8.0", + "jsonrpsee", "log", "parity-scale-codec", "serde", @@ -10399,9 +10337,10 @@ dependencies = [ [[package]] name = "rococo-runtime" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ + "beefy-merkle-tree", "beefy-primitives", "bp-messages", "bp-rococo", @@ -10472,8 +10411,8 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "frame-support", "polkadot-primitives", @@ -10686,7 +10625,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "log", "sp-core", @@ -10697,7 +10636,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "async-trait", "futures 0.3.21", @@ -10717,14 +10656,14 @@ dependencies = [ "sp-core", "sp-keystore", "sp-runtime", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18)", + "substrate-prometheus-endpoint", "thiserror", ] [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "futures 0.3.21", "futures-timer", @@ -10741,13 +10680,13 @@ dependencies = [ "sp-core", "sp-inherents", "sp-runtime", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18)", + "substrate-prometheus-endpoint", ] [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -10763,7 +10702,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.3", @@ -10780,7 +10719,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -10791,7 +10730,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "chrono", "clap 3.1.6", @@ -10829,7 +10768,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "fnv", "futures 0.3.21", @@ -10851,13 +10790,13 @@ dependencies = [ "sp-state-machine", "sp-storage", "sp-trie", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18)", + "substrate-prometheus-endpoint", ] [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "hash-db", "kvdb", @@ -10882,7 +10821,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "async-trait", "futures 0.3.21", @@ -10899,14 +10838,14 @@ dependencies = [ "sp-core", "sp-runtime", "sp-state-machine", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18)", + "substrate-prometheus-endpoint", "thiserror", ] [[package]] name = "sc-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "async-trait", "futures 0.3.21", @@ -10928,14 +10867,14 @@ dependencies = [ "sp-inherents", "sp-keystore", "sp-runtime", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18)", + "substrate-prometheus-endpoint", "thiserror", ] [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "async-trait", "fork-tree", @@ -10971,14 +10910,14 @@ dependencies = [ "sp-keystore", "sp-runtime", "sp-version", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18)", + "substrate-prometheus-endpoint", "thiserror", ] [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "futures 0.3.21", "jsonrpc-core", @@ -11002,7 +10941,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "fork-tree", "parity-scale-codec", @@ -11015,7 +10954,7 @@ dependencies = [ [[package]] name = "sc-consensus-manual-seal" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "assert_matches", "async-trait", @@ -11044,14 +10983,14 @@ dependencies = [ "sp-keystore", "sp-runtime", "sp-timestamp", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18)", + "substrate-prometheus-endpoint", "thiserror", ] [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "async-trait", "futures 0.3.21", @@ -11076,7 +11015,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "sc-client-api", "sp-authorship", @@ -11087,10 +11026,10 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "lazy_static", - "lru 0.6.6", + "lru 0.7.5", "parity-scale-codec", "parking_lot 0.12.0", "sc-executor-common", @@ -11114,7 +11053,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "environmental", "parity-scale-codec", @@ -11131,7 +11070,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "log", "parity-scale-codec", @@ -11147,7 +11086,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "cfg-if 1.0.0", "libc", @@ -11165,7 +11104,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "ahash", "async-trait", @@ -11198,14 +11137,14 @@ dependencies = [ "sp-finality-grandpa", "sp-keystore", "sp-runtime", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18)", + "substrate-prometheus-endpoint", "thiserror", ] [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "finality-grandpa", "futures 0.3.21", @@ -11229,7 +11168,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "ansi_term", "futures 0.3.21", @@ -11246,7 +11185,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "async-trait", "hex", @@ -11261,7 +11200,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "async-trait", "asynchronous-codec 0.5.0", @@ -11279,7 +11218,7 @@ dependencies = [ "linked-hash-map", "linked_hash_set", "log", - "lru 0.7.3", + "lru 0.7.5", "parity-scale-codec", "parking_lot 0.12.0", "pin-project 1.0.10", @@ -11300,7 +11239,7 @@ dependencies = [ "sp-core", "sp-finality-grandpa", "sp-runtime", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18)", + "substrate-prometheus-endpoint", "thiserror", "unsigned-varint 0.6.0", "void", @@ -11310,24 +11249,24 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "ahash", "futures 0.3.21", "futures-timer", "libp2p", "log", - "lru 0.7.3", + "lru 0.7.5", "sc-network", "sp-runtime", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18)", + "substrate-prometheus-endpoint", "tracing", ] [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "bytes 1.1.0", "fnv", @@ -11355,7 +11294,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "futures 0.3.21", "libp2p", @@ -11368,16 +11307,16 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "log", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18)", + "substrate-prometheus-endpoint", ] [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "futures 0.3.21", "hash-db", @@ -11408,7 +11347,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "futures 0.3.21", "jsonrpc-core", @@ -11420,6 +11359,7 @@ dependencies = [ "parking_lot 0.12.0", "sc-chain-spec", "sc-transaction-pool-api", + "scale-info", "serde", "serde_json", "sp-core", @@ -11433,7 +11373,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "futures 0.3.21", "jsonrpc-core", @@ -11443,14 +11383,14 @@ dependencies = [ "jsonrpc-ws-server", "log", "serde_json", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18)", + "substrate-prometheus-endpoint", "tokio", ] [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "async-trait", "directories", @@ -11503,7 +11443,7 @@ dependencies = [ "sp-transaction-storage-proof", "sp-trie", "sp-version", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18)", + "substrate-prometheus-endpoint", "tempfile", "thiserror", "tokio", @@ -11514,7 +11454,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "log", "parity-scale-codec", @@ -11528,7 +11468,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -11549,7 +11489,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "chrono", "futures 0.3.21", @@ -11567,7 +11507,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "ansi_term", "atty", @@ -11598,7 +11538,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -11609,7 +11549,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "futures 0.3.21", "futures-timer", @@ -11629,14 +11569,14 @@ dependencies = [ "sp-runtime", "sp-tracing", "sp-transaction-pool", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18)", + "substrate-prometheus-endpoint", "thiserror", ] [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "futures 0.3.21", "log", @@ -11649,7 +11589,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "futures 0.3.21", "futures-timer", @@ -11661,9 +11601,9 @@ dependencies = [ [[package]] name = "scale-info" -version = "2.0.1" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0563970d79bcbf3c537ce3ad36d859b30d36fc5b190efd227f1f7a84d7cf0d42" +checksum = "8980cafbe98a7ee7a9cc16b32ebce542c77883f512d83fbf2ddc8f6a85ea74c9" dependencies = [ "bitvec", "cfg-if 1.0.0", @@ -11675,9 +11615,9 @@ dependencies = [ [[package]] name = "scale-info-derive" -version = "2.0.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7805950c36512db9e3251c970bb7ac425f326716941862205d612ab3b5e46e2" +checksum = "4260c630e8a8a33429d1688eff2f163f24c65a4e1b1578ef6b565061336e4b6f" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -12100,8 +12040,8 @@ dependencies = [ [[package]] name = "slot-range-helper" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "enumn", "parity-scale-codec", @@ -12198,7 +12138,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "hash-db", "log", @@ -12215,7 +12155,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "blake2 0.10.4", "proc-macro-crate 1.1.3", @@ -12227,7 +12167,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "parity-scale-codec", "scale-info", @@ -12240,7 +12180,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "integer-sqrt", "num-traits", @@ -12255,7 +12195,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "parity-scale-codec", "scale-info", @@ -12268,7 +12208,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "async-trait", "parity-scale-codec", @@ -12280,7 +12220,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "parity-scale-codec", "sp-api", @@ -12292,11 +12232,11 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "futures 0.3.21", "log", - "lru 0.7.3", + "lru 0.7.5", "parity-scale-codec", "parking_lot 0.12.0", "sp-api", @@ -12310,7 +12250,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "async-trait", "futures 0.3.21", @@ -12329,7 +12269,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "async-trait", "parity-scale-codec", @@ -12347,7 +12287,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "async-trait", "merlin", @@ -12370,7 +12310,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "parity-scale-codec", "scale-info", @@ -12384,7 +12324,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -12396,7 +12336,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "base58 0.2.0", "bitflags", @@ -12442,7 +12382,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "blake2 0.10.4", "byteorder", @@ -12456,7 +12396,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "proc-macro2", "quote", @@ -12467,7 +12407,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "kvdb", "parking_lot 0.12.0", @@ -12476,7 +12416,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "proc-macro2", "quote", @@ -12486,7 +12426,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "environmental", "parity-scale-codec", @@ -12497,7 +12437,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "finality-grandpa", "log", @@ -12515,7 +12455,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -12529,7 +12469,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "futures 0.3.21", "hash-db", @@ -12554,7 +12494,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "lazy_static", "sp-core", @@ -12565,7 +12505,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "async-trait", "futures 0.3.21", @@ -12582,7 +12522,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "thiserror", "zstd", @@ -12591,33 +12531,21 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" 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/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" -dependencies = [ - "proc-macro-crate 1.1.3", - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "sp-api", "sp-core", @@ -12627,7 +12555,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "backtrace", "lazy_static", @@ -12637,7 +12565,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "rustc-hash", "serde", @@ -12647,7 +12575,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "either", "hash256-std-hasher", @@ -12669,7 +12597,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -12686,7 +12614,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "Inflector", "proc-macro-crate 1.1.3", @@ -12698,7 +12626,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "serde", "serde_json", @@ -12707,7 +12635,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "parity-scale-codec", "scale-info", @@ -12721,7 +12649,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "parity-scale-codec", "scale-info", @@ -12732,7 +12660,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "hash-db", "log", @@ -12748,19 +12676,18 @@ dependencies = [ "sp-trie", "thiserror", "tracing", - "trie-db", "trie-root 0.17.0", ] [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "impl-serde", "parity-scale-codec", @@ -12773,7 +12700,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "log", "sp-core", @@ -12786,7 +12713,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "async-trait", "futures-timer", @@ -12802,7 +12729,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "parity-scale-codec", "sp-std", @@ -12814,7 +12741,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "sp-api", "sp-runtime", @@ -12823,7 +12750,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "async-trait", "log", @@ -12839,7 +12766,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "hash-db", "memory-db", @@ -12855,7 +12782,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "impl-serde", "parity-scale-codec", @@ -12872,7 +12799,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -12883,7 +12810,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "impl-trait-for-tuples", "log", @@ -13092,7 +13019,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "platforms", ] @@ -13110,7 +13037,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.21", @@ -13132,34 +13059,43 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.16#570b21a17d9ab06d8508180c98ad2c476ebcec6f" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ - "async-std", - "derive_more", "futures-util", "hyper", "log", "prometheus", + "thiserror", "tokio", ] [[package]] -name = "substrate-prometheus-endpoint" -version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +name = "substrate-state-trie-migration-rpc" +version = "4.0.0-dev" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ - "futures-util", - "hyper", + "jsonrpc-core", + "jsonrpc-core-client", + "jsonrpc-derive", "log", - "prometheus", - "thiserror", - "tokio", + "parity-scale-codec", + "sc-client-api", + "sc-rpc-api", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-state-machine", + "sp-std", + "sp-trie", + "trie-db", ] [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "async-trait", "futures 0.3.21", @@ -13185,8 +13121,9 @@ dependencies = [ [[package]] name = "substrate-test-runtime" version = "2.0.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ + "beefy-primitives", "cfg-if 1.0.0", "frame-support", "frame-system", @@ -13227,7 +13164,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime-client" version = "2.0.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "futures 0.3.21", "parity-scale-codec", @@ -13246,7 +13183,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "ansi_term", "build-helper", @@ -13273,9 +13210,9 @@ checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" [[package]] name = "syn" -version = "1.0.89" +version = "1.0.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea297be220d52398dcc07ce15a209fce436d361735ac1db700cab3b6cdfb9f54" +checksum = "7ff7c592601f11445996a06f8ad0c27f094a58857c2f89e97974ab9235b92c52" dependencies = [ "proc-macro2", "quote", @@ -13380,6 +13317,12 @@ dependencies = [ "syn", ] +[[package]] +name = "thousands" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3bf63baf9f5039dadc247375c29eb13706706cfde997d0330d05aa63a77d8820" + [[package]] name = "thread_local" version = "1.1.4" @@ -13561,13 +13504,26 @@ checksum = "9e99e1983e5d376cd8eb4b66604d2e99e79f5bd988c3055891dcd8c9e2604cc0" dependencies = [ "bytes 1.1.0", "futures-core", - "futures-io", "futures-sink", "log", "pin-project-lite 0.2.8", "tokio", ] +[[package]] +name = "tokio-util" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0edfdeb067411dba2044da6d1cb2df793dd35add7888d73c16e3381ded401764" +dependencies = [ + "bytes 1.1.0", + "futures-core", + "futures-io", + "futures-sink", + "pin-project-lite 0.2.8", + "tokio", +] + [[package]] name = "toml" version = "0.5.8" @@ -13585,9 +13541,9 @@ checksum = "360dfd1d6d30e05fda32ace2c8c70e9c0a9da713275777f5a4dbb8a1893930c6" [[package]] name = "tracing" -version = "0.1.32" +version = "0.1.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a1bdf54a7c28a2bbf701e1d2233f6c77f473486b94bee4f9678da5a148dca7f" +checksum = "5d0ecdcb44a79f0fe9844f0c4f33a342cbcbb5117de8001e6ba0dc2351327d09" dependencies = [ "cfg-if 1.0.0", "pin-project-lite 0.2.8", @@ -13626,6 +13582,29 @@ dependencies = [ "tracing", ] +[[package]] +name = "tracing-gum" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" +dependencies = [ + "polkadot-node-jaeger", + "polkadot-primitives", + "tracing", + "tracing-gum-proc-macro", +] + +[[package]] +name = "tracing-gum-proc-macro" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" +dependencies = [ + "expander 0.0.6", + "proc-macro-crate 1.1.3", + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "tracing-log" version = "0.1.2" @@ -13763,10 +13742,10 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" dependencies = [ "clap 3.1.6", - "jsonrpsee 0.4.1", + "jsonrpsee", "log", "parity-scale-codec", "remote-externalities", @@ -14384,8 +14363,8 @@ dependencies = [ [[package]] name = "westend-runtime" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "beefy-primitives", "bitvec", @@ -14464,8 +14443,8 @@ dependencies = [ [[package]] name = "westend-runtime-constants" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "frame-support", "polkadot-primitives", @@ -14618,8 +14597,8 @@ dependencies = [ [[package]] name = "xcm" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "derivative", "impl-trait-for-tuples", @@ -14631,8 +14610,8 @@ dependencies = [ [[package]] name = "xcm-builder" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "frame-support", "frame-system", @@ -14651,8 +14630,8 @@ dependencies = [ [[package]] name = "xcm-executor" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -14689,7 +14668,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "0.1.0" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "Inflector", "proc-macro2", @@ -14699,8 +14678,8 @@ dependencies = [ [[package]] name = "xcm-simulator" -version = "0.9.18" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.18#f0dc95a61b68e13ba0cf7f8b26776207100cc99d" +version = "0.9.19" +source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.19#b8559e1c5aa94ef1d41257218be56e3bf8609dcc" dependencies = [ "frame-support", "parity-scale-codec", diff --git a/bin/utils/moonkey/Cargo.toml b/bin/utils/moonkey/Cargo.toml index bbeba7a8f46..f448f0dd702 100644 --- a/bin/utils/moonkey/Cargo.toml +++ b/bin/utils/moonkey/Cargo.toml @@ -2,7 +2,7 @@ name = "moonkey" authors = [ "PureStake" ] description = "Moonbeam Key Tool" -edition = "2018" +edition = "2021" homepage = "https://moonbeam.network" license = "GPL-3.0-only" version = "0.1.1" diff --git a/client/evm-tracing/Cargo.toml b/client/evm-tracing/Cargo.toml index 2e96adb9aab..ef7873046e8 100644 --- a/client/evm-tracing/Cargo.toml +++ b/client/evm-tracing/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "moonbeam-client-evm-tracing" authors = [ "PureStake" ] -edition = "2018" +edition = "2021" homepage = "https://moonbeam.network" license = "GPL-3.0-only" repository = "https://github.com/PureStake/moonbeam/" @@ -19,4 +19,4 @@ moonbeam-rpc-primitives-debug = { path = "../../primitives/rpc/debug" } # Substrate codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } -sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } diff --git a/client/rpc-core/debug/Cargo.toml b/client/rpc-core/debug/Cargo.toml index d26101f916c..939a07cb530 100644 --- a/client/rpc-core/debug/Cargo.toml +++ b/client/rpc-core/debug/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "moonbeam-rpc-core-debug" authors = [ "PureStake" ] -edition = "2018" +edition = "2021" homepage = "https://moonbeam.network" license = "GPL-3.0-only" repository = "https://github.com/PureStake/moonbeam/" @@ -18,4 +18,4 @@ moonbeam-rpc-core-types = { path = "../types" } serde = { version = "1.0", features = [ "derive" ] } serde_json = "1.0" -sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } diff --git a/client/rpc-core/trace/Cargo.toml b/client/rpc-core/trace/Cargo.toml index b06f40114d6..3e999d9561e 100644 --- a/client/rpc-core/trace/Cargo.toml +++ b/client/rpc-core/trace/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "moonbeam-rpc-core-trace" authors = [ "PureStake" ] -edition = "2018" +edition = "2021" homepage = "https://moonbeam.network" license = "GPL-3.0-only" repository = "https://github.com/PureStake/moonbeam/" diff --git a/client/rpc-core/txpool/Cargo.toml b/client/rpc-core/txpool/Cargo.toml index 0e0dc58a929..83a9e61bf4e 100644 --- a/client/rpc-core/txpool/Cargo.toml +++ b/client/rpc-core/txpool/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "moonbeam-rpc-core-txpool" authors = [ "PureStake" ] -edition = "2018" +edition = "2021" homepage = "https://moonbeam.network" license = "GPL-3.0-only" repository = "https://github.com/PureStake/moonbeam/" @@ -16,4 +16,4 @@ jsonrpc-derive = "18.0.0" serde = { version = "1.0", features = [ "derive" ] } serde_json = "1.0" -fc-rpc-core = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18" } +fc-rpc-core = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19" } diff --git a/client/rpc-core/types/Cargo.toml b/client/rpc-core/types/Cargo.toml index b367ddfb22d..08cdcfc1201 100644 --- a/client/rpc-core/types/Cargo.toml +++ b/client/rpc-core/types/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "moonbeam-rpc-core-types" authors = [ "PureStake" ] -edition = "2018" +edition = "2021" homepage = "https://moonbeam.network" license = "GPL-3.0-only" repository = "https://github.com/PureStake/moonbeam/" diff --git a/client/rpc/debug/Cargo.toml b/client/rpc/debug/Cargo.toml index 529c3db2fba..bd8cca46c0d 100644 --- a/client/rpc/debug/Cargo.toml +++ b/client/rpc/debug/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "moonbeam-rpc-debug" authors = [ "PureStake" ] -edition = "2018" +edition = "2021" homepage = "https://moonbeam.network" license = "GPL-3.0-only" repository = "https://github.com/PureStake/moonbeam/" @@ -20,19 +20,19 @@ moonbeam-rpc-core-types = { path = "../../rpc-core/types" } moonbeam-rpc-primitives-debug = { path = "../../../primitives/rpc/debug" } # Substrate -sc-client-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sc-utils = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-block-builder = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-blockchain = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +sc-client-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sc-utils = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-block-builder = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-blockchain = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } # Frontier ethereum = { version = "0.12.0", default-features = false, features = [ "with-codec" ] } ethereum-types = "0.13.1" -fc-consensus = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18" } -fc-db = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18" } -fc-rpc = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", features = [ "rpc_binary_search_estimate" ] } -fp-rpc = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18" } +fc-consensus = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19" } +fc-db = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19" } +fc-rpc = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", features = [ "rpc_binary_search_estimate" ] } +fp-rpc = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19" } diff --git a/client/rpc/finality/Cargo.toml b/client/rpc/finality/Cargo.toml index 8d1f3a2c74f..a9fd9a6b990 100644 --- a/client/rpc/finality/Cargo.toml +++ b/client/rpc/finality/Cargo.toml @@ -2,7 +2,7 @@ name = "moonbeam-finality-rpc" authors = [ "PureStake" ] description = "An experimental RPC to check for block and transaction finality in the moonbeam parachain" -edition = "2018" +edition = "2021" homepage = "https://moonbeam.network" license = "GPL-3.0-only" repository = "https://github.com/PureStake/moonbeam/" @@ -15,9 +15,9 @@ jsonrpc-derive = "18.0.0" parity-scale-codec = "3.0.0" tokio = { version = "1.12.0", features = [ "sync", "time" ] } -fc-db = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18" } -fc-rpc = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18" } -sp-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-blockchain = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +fc-db = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19" } +fc-rpc = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19" } +sp-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-blockchain = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } diff --git a/client/rpc/manual-xcm/Cargo.toml b/client/rpc/manual-xcm/Cargo.toml index 8443c078bf6..3ed4faf23b7 100644 --- a/client/rpc/manual-xcm/Cargo.toml +++ b/client/rpc/manual-xcm/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "manual-xcm-rpc" authors = [ "PureStake" ] -edition = "2018" +edition = "2021" homepage = "https://moonbeam.network" license = "GPL-3.0-only" repository = "https://github.com/PureStake/moonbeam/" @@ -15,6 +15,6 @@ jsonrpc-core = "18.0.0" jsonrpc-derive = "18.0.0" parity-scale-codec = "3.0.0" tokio = { version = "1.12.0", features = [ "sync", "time" ] } -xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19", default-features = false } -cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18" } +cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19" } diff --git a/client/rpc/trace/Cargo.toml b/client/rpc/trace/Cargo.toml index 09a48f416a2..917ca11ea56 100644 --- a/client/rpc/trace/Cargo.toml +++ b/client/rpc/trace/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "moonbeam-rpc-trace" authors = [ "PureStake" ] -edition = "2018" +edition = "2021" homepage = "https://moonbeam.network" license = "GPL-3.0-only" repository = "https://github.com/PureStake/moonbeam/" @@ -15,7 +15,7 @@ jsonrpc-core = "18.0.0" serde = { version = "1.0", features = [ "derive" ] } sha3 = "0.9" tokio = { version = "1.10", features = [ "sync", "time" ] } -tracing = "0.1.32" +tracing = "0.1.34" # Moonbeam moonbeam-client-evm-tracing = { path = "../../evm-tracing" } @@ -24,19 +24,19 @@ moonbeam-rpc-core-types = { path = "../../rpc-core/types" } moonbeam-rpc-primitives-debug = { path = "../../../primitives/rpc/debug" } # Substrate -sc-client-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sc-network = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sc-utils = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-block-builder = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-blockchain = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-transaction-pool = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +sc-client-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sc-network = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sc-utils = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-block-builder = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-blockchain = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-transaction-pool = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } # Frontier -fc-consensus = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18" } -fc-rpc = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", features = [ "rpc_binary_search_estimate" ] } -fc-rpc-core = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18" } -fp-rpc = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18" } +fc-consensus = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19" } +fc-rpc = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", features = [ "rpc_binary_search_estimate" ] } +fc-rpc-core = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19" } +fp-rpc = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19" } diff --git a/client/rpc/txpool/Cargo.toml b/client/rpc/txpool/Cargo.toml index 26385adf1f3..8980e820950 100644 --- a/client/rpc/txpool/Cargo.toml +++ b/client/rpc/txpool/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "moonbeam-rpc-txpool" authors = [ "PureStake" ] -edition = "2018" +edition = "2021" homepage = "https://moonbeam.network" license = "GPL-3.0-only" repository = "https://github.com/PureStake/moonbeam/" @@ -18,15 +18,15 @@ moonbeam-rpc-core-txpool = { path = "../../rpc-core/txpool" } moonbeam-rpc-primitives-txpool = { path = "../../../primitives/rpc/txpool" } # Substrate -frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sc-transaction-pool = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sc-transaction-pool-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-blockchain = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sc-transaction-pool = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sc-transaction-pool-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-blockchain = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } # Frontier ethereum-types = "0.13.1" -fc-rpc = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", features = [ "rpc_binary_search_estimate" ] } +fc-rpc = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", features = [ "rpc_binary_search_estimate" ] } diff --git a/core-primitives/Cargo.toml b/core-primitives/Cargo.toml index f6b3f175db9..40aeda5a9fb 100644 --- a/core-primitives/Cargo.toml +++ b/core-primitives/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "moonbeam-core-primitives" authors = [ "PureStake" ] -edition = "2018" +edition = "2021" homepage = "https://moonbeam.network" license = "GPL-3.0-only" repository = "https://github.com/PureStake/moonbeam/" @@ -10,9 +10,9 @@ version = "0.1.1" [dependencies] account = { path = "../primitives/account", default-features = false } -fp-self-contained = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +fp-self-contained = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } [features] default = [ "std" ] diff --git a/docker/polkadot-para-tests.Dockerfile b/docker/polkadot-para-tests.Dockerfile new file mode 100644 index 00000000000..92857639fdd --- /dev/null +++ b/docker/polkadot-para-tests.Dockerfile @@ -0,0 +1,26 @@ +# Node for Moonbase Parachains. +# +# Requires to run from repository root and to copy the binary in the build folder (part of the release workflow) + +FROM node +LABEL maintainer "alan@purestake.com" +LABEL description="Node image use to run Moonbeam para-tests" + +ARG HOST_UID=1001 + +RUN ((getent passwd $HOST_UID > /dev/null) || \ + useradd -m -u $HOST_UID -U -s /bin/sh -d /polkadot polkadot) && \ + mkdir -p /polkadot/.local/share/polkadot && \ + chown -R $HOST_UID /polkadot && \ + ln -s /polkadot/.local/share/polkadot /data + +RUN mkdir -p /binaries +COPY build/polkadot /binaries/ +RUN chmod -R uog+rwX /binaries + +USER $HOST_UID + +WORKDIR /polkadot + +ENTRYPOINT ["docker-entrypoint.sh"] +CMD [ "node" ] \ No newline at end of file diff --git a/node/Cargo.toml b/node/Cargo.toml index 690fddc3611..c2c1a5adb43 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -2,7 +2,7 @@ name = "moonbeam" authors = [ "PureStake" ] description = "Moonbeam Collator" -edition = "2018" +edition = "2021" homepage = "https://moonbeam.network" license = "GPL-3.0-only" version = "0.12.3" @@ -26,8 +26,8 @@ serde_json = "1.0" tempfile = "3.2.0" # Benchmarking -pallet-xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18" } -xcm-builder = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18" } +pallet-xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19" } +xcm-builder = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19" } [features] default = [ "moonbase-native", "moonbeam-native", "moonriver-native" ] diff --git a/node/cli-opt/Cargo.toml b/node/cli-opt/Cargo.toml index 769db1673e7..75e6f153694 100644 --- a/node/cli-opt/Cargo.toml +++ b/node/cli-opt/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "moonbeam-cli-opt" authors = [ "PureStake" ] -edition = "2018" +edition = "2021" homepage = "https://moonbeam.network" license = "GPL-3.0-only" version = "0.23.0" @@ -19,4 +19,4 @@ url = "2.2.2" account = { path = "../../primitives/account" } # Substrate -sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } diff --git a/node/cli/Cargo.toml b/node/cli/Cargo.toml index 946c41d377d..c20b7d67b09 100644 --- a/node/cli/Cargo.toml +++ b/node/cli/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "moonbeam-cli" authors = [ "PureStake" ] -edition = "2018" +edition = "2021" version = "0.23.0" [dependencies] @@ -15,30 +15,31 @@ perf-test = { path = "../perf-test" } service = { package = "moonbeam-service", path = "../service", default-features = false } # Substrate -frame-benchmarking-cli = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sc-cli = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sc-service = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sc-telemetry = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sc-tracing = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -substrate-prometheus-endpoint = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.16" } -try-runtime-cli = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", optional = true } +frame-benchmarking-cli = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sc-cli = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sc-finality-grandpa = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sc-service = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sc-telemetry = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sc-tracing = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +substrate-prometheus-endpoint = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +try-runtime-cli = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", optional = true } # Cumulus / Nimbus -cumulus-client-cli = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18" } -cumulus-client-service = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18" } -cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18" } -nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.18" } +cumulus-client-cli = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19" } +cumulus-client-service = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19" } +cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19" } +nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.19" } # Polkadot -polkadot-cli = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18" } -polkadot-parachain = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18" } -polkadot-primitives = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18" } -polkadot-service = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18" } +polkadot-cli = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19" } +polkadot-parachain = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19" } +polkadot-primitives = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19" } +polkadot-service = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19" } [build-dependencies] -substrate-build-script-utils = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +substrate-build-script-utils = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } [features] default = [ "moonbase-native", "moonbeam-native", "moonriver-native", "wasmtime", "westend-native" ] diff --git a/node/cli/src/cli.rs b/node/cli/src/cli.rs index 0b1aa831adb..d7f8454b803 100644 --- a/node/cli/src/cli.rs +++ b/node/cli/src/cli.rs @@ -61,8 +61,9 @@ pub enum Subcommand { /// Run hardware performance tests. PerfTest(PerfCmd), - /// The custom benchmark subcommmand benchmarking runtime pallets. - #[clap(name = "benchmark", about = "Benchmark runtime pallets.")] + /// Sub-commands concerned with benchmarking. + /// The pallet benchmarking moved to the `pallet` sub-command. + #[clap(subcommand)] Benchmark(frame_benchmarking_cli::BenchmarkCmd), /// Try some command against runtime state. diff --git a/node/cli/src/command.rs b/node/cli/src/command.rs index 3868d9e5fa6..db3ffd30690 100644 --- a/node/cli/src/command.rs +++ b/node/cli/src/command.rs @@ -20,6 +20,7 @@ use crate::cli::{Cli, RelayChainCli, RunCmd, Subcommand}; use cli_opt::{EthApi, RpcConfig}; use cumulus_client_service::genesis::generate_genesis_block; use cumulus_primitives_core::ParaId; +use frame_benchmarking_cli::BenchmarkCmd; use log::info; use parity_scale_codec::Encode; use polkadot_parachain::primitives::AccountIdConversion; @@ -339,10 +340,59 @@ pub fn run() -> Result<()> { } Some(Subcommand::Revert(cmd)) => { let runner = cli.create_runner(cmd)?; - runner.async_run(|mut config| { - let (client, backend, _, task_manager) = service::new_chain_ops(&mut config)?; - Ok((cmd.run(client, backend), task_manager)) - }) + let chain_spec = &runner.config().chain_spec; + match chain_spec { + #[cfg(feature = "moonriver-native")] + spec if spec.is_moonriver() => runner.async_run(|mut config| { + let params = service::new_partial::< + service::moonriver_runtime::RuntimeApi, + service::MoonriverExecutor, + >(&mut config, false)?; + + let aux_revert = Box::new(move |client, _, blocks| { + sc_finality_grandpa::revert(client, blocks)?; + Ok(()) + }); + Ok(( + cmd.run(params.client, params.backend, Some(aux_revert)), + params.task_manager, + )) + }), + #[cfg(feature = "moonbeam-native")] + spec if spec.is_moonbeam() => runner.async_run(|mut config| { + let params = service::new_partial::< + service::moonbeam_runtime::RuntimeApi, + service::MoonbeamExecutor, + >(&mut config, false)?; + + let aux_revert = Box::new(move |client, _, blocks| { + sc_finality_grandpa::revert(client, blocks)?; + Ok(()) + }); + Ok(( + cmd.run(params.client, params.backend, Some(aux_revert)), + params.task_manager, + )) + }), + #[cfg(feature = "moonbase-native")] + _ => runner.async_run(|mut config| { + let params = service::new_partial::< + service::moonbase_runtime::RuntimeApi, + service::MoonbaseExecutor, + >(&mut config, false)?; + + let aux_revert = Box::new(move |client, _, blocks| { + sc_finality_grandpa::revert(client, blocks)?; + Ok(()) + }); + Ok(( + cmd.run(params.client, params.backend, Some(aux_revert)), + params.task_manager, + )) + }), + #[cfg(not(feature = "moonbase-native"))] + _ => panic!("invalid chain spec"), + } } Some(Subcommand::ExportGenesisState(params)) => { let mut builder = sc_cli::LoggerBuilder::new(""); @@ -474,46 +524,142 @@ pub fn run() -> Result<()> { Ok(()) } Some(Subcommand::Benchmark(cmd)) => { - if cfg!(feature = "runtime-benchmarks") { - let runner = cli.create_runner(cmd)?; - let chain_spec = &runner.config().chain_spec; - match chain_spec { - #[cfg(feature = "moonriver-native")] - spec if spec.is_moonriver() => { + let runner = cli.create_runner(cmd)?; + // Switch on the concrete benchmark sub-command + match cmd { + BenchmarkCmd::Pallet(cmd) => { + if cfg!(feature = "runtime-benchmarks") { + let chain_spec = &runner.config().chain_spec; + match chain_spec { + #[cfg(feature = "moonriver-native")] + spec if spec.is_moonriver() => { + return runner.sync_run(|config| { + cmd.run::( + config, + ) + }) + } + #[cfg(feature = "moonbeam-native")] + spec if spec.is_moonbeam() => { + return runner.sync_run(|config| { + cmd.run::( + config, + ) + }) + } + #[cfg(feature = "moonbase-native")] + _ => { + return runner.sync_run(|config| { + cmd.run::( + config, + ) + }) + } + #[cfg(not(feature = "moonbase-native"))] + _ => panic!("invalid chain spec"), + } + } else if cfg!(feature = "moonbase-runtime-benchmarks") { return runner.sync_run(|config| { - cmd.run::( + cmd.run::( config, ) - }) + }); + } else { + Err("Benchmarking wasn't enabled when building the node. \ + You can enable it with `--features runtime-benchmarks`." + .into()) } - #[cfg(feature = "moonbeam-native")] - spec if spec.is_moonbeam() => { - return runner.sync_run(|config| { - cmd.run::( - config, - ) - }) + } + BenchmarkCmd::Block(cmd) => { + let chain_spec = &runner.config().chain_spec; + match chain_spec { + #[cfg(feature = "moonriver-native")] + spec if spec.is_moonriver() => { + return runner.sync_run(|mut config| { + let params = service::new_partial::< + service::moonriver_runtime::RuntimeApi, + service::MoonriverExecutor, + >(&mut config, false)?; + + cmd.run(params.client) + }) + } + #[cfg(feature = "moonbeam-native")] + spec if spec.is_moonbeam() => { + return runner.sync_run(|mut config| { + let params = service::new_partial::< + service::moonbeam_runtime::RuntimeApi, + service::MoonbeamExecutor, + >(&mut config, false)?; + + cmd.run(params.client) + }) + } + #[cfg(feature = "moonbase-native")] + _ => { + return runner.sync_run(|mut config| { + let params = service::new_partial::< + service::moonbase_runtime::RuntimeApi, + service::MoonbaseExecutor, + >(&mut config, false)?; + + cmd.run(params.client) + }) + } + #[cfg(not(feature = "moonbase-native"))] + _ => panic!("invalid chain spec"), } - #[cfg(feature = "moonbase-native")] - _ => { - return runner.sync_run(|config| { - cmd.run::( - config, - ) - }) + } + BenchmarkCmd::Storage(cmd) => { + let chain_spec = &runner.config().chain_spec; + match chain_spec { + #[cfg(feature = "moonriver-native")] + spec if spec.is_moonriver() => { + return runner.sync_run(|mut config| { + let params = service::new_partial::< + service::moonriver_runtime::RuntimeApi, + service::MoonriverExecutor, + >(&mut config, false)?; + + let db = params.backend.expose_db(); + let storage = params.backend.expose_storage(); + + cmd.run(config, params.client, db, storage) + }) + } + #[cfg(feature = "moonbeam-native")] + spec if spec.is_moonbeam() => { + return runner.sync_run(|mut config| { + let params = service::new_partial::< + service::moonbeam_runtime::RuntimeApi, + service::MoonbeamExecutor, + >(&mut config, false)?; + + let db = params.backend.expose_db(); + let storage = params.backend.expose_storage(); + + cmd.run(config, params.client, db, storage) + }) + } + #[cfg(feature = "moonbase-native")] + _ => { + return runner.sync_run(|mut config| { + let params = service::new_partial::< + service::moonbase_runtime::RuntimeApi, + service::MoonbaseExecutor, + >(&mut config, false)?; + + let db = params.backend.expose_db(); + let storage = params.backend.expose_storage(); + + cmd.run(config, params.client, db, storage) + }) + } + #[cfg(not(feature = "moonbase-native"))] + _ => panic!("invalid chain spec"), } - #[cfg(not(feature = "moonbase-native"))] - _ => panic!("invalid chain spec"), } - } else if cfg!(feature = "moonbase-runtime-benchmarks") { - let runner = cli.create_runner(cmd)?; - return runner.sync_run(|config| { - cmd.run::(config) - }); - } else { - Err("Benchmarking wasn't enabled when building the node. \ - You can enable it with `--features runtime-benchmarks`." - .into()) + BenchmarkCmd::Overhead(_) => Err("Unsupported benchmarking command".into()), } } #[cfg(feature = "try-runtime")] @@ -652,7 +798,7 @@ pub fn run() -> Result<()> { ); let parachain_account = - AccountIdConversion::::into_account(&id); + AccountIdConversion::::into_account(&id); let state_version = RelayChainCli::native_runtime_version(&config.chain_spec).state_version(); diff --git a/node/perf-test/Cargo.toml b/node/perf-test/Cargo.toml index 23f1a5ad91f..fac9ff7b14f 100644 --- a/node/perf-test/Cargo.toml +++ b/node/perf-test/Cargo.toml @@ -2,7 +2,7 @@ name = "perf-test" authors = [ "PureStake" ] description = "Moonbeam Performance Tests" -edition = "2018" +edition = "2021" version = "0.1.0" [dependencies] @@ -26,31 +26,31 @@ moonbase-runtime = { path = "../../runtime/moonbase" } service = { package = "moonbeam-service", path = "../service", default-features = false } # Substrate -sc-basic-authorship = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sc-cli = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sc-client-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sc-client-db = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sc-consensus-manual-seal = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sc-executor = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sc-rpc = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sc-service = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sc-transaction-pool = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-externalities = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-keystore = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-state-machine = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +sc-basic-authorship = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sc-cli = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sc-client-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sc-client-db = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sc-consensus-manual-seal = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sc-executor = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sc-rpc = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sc-service = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sc-transaction-pool = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-externalities = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-keystore = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-state-machine = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } # Frontier ethereum = { version = "0.12.0" } -fc-consensus = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18" } -fc-rpc = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18" } -fp-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18" } -fp-rpc = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18" } -pallet-ethereum = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18" } +fc-consensus = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19" } +fc-rpc = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19" } +fp-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19" } +fp-rpc = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19" } +pallet-ethereum = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19" } # Cumulus / Nimbus -cumulus-primitives-parachain-inherent = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18" } -nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.18" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19" } +nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.19" } diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index 1236499e3a1..bcfbb0112f0 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "moonbeam-service" authors = [ "PureStake" ] -edition = "2018" +edition = "2021" homepage = "https://moonbeam.network" license = "GPL-3.0-only" version = "0.23.0" @@ -49,85 +49,85 @@ moonbeam-runtime = { path = "../../runtime/moonbeam", optional = true } moonriver-runtime = { path = "../../runtime/moonriver", optional = true } # Substrate -frame-system-rpc-runtime-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -pallet-transaction-payment-rpc = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +frame-system-rpc-runtime-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +pallet-transaction-payment-rpc = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } parity-scale-codec = "3.0.0" -sc-basic-authorship = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sc-chain-spec = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sc-cli = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", features = [ "wasmtime" ] } -sc-client-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sc-client-db = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sc-consensus = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sc-consensus-manual-seal = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sc-executor = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", features = [ "wasmtime" ] } -sc-finality-grandpa = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sc-informant = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sc-network = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sc-rpc = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sc-rpc-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sc-service = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sc-telemetry = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sc-tracing = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sc-transaction-pool = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sc-transaction-pool-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-block-builder = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-blockchain = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-consensus = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-inherents = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-keystore = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-offchain = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-session = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-storage = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-transaction-pool = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-trie = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -substrate-frame-rpc-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -substrate-prometheus-endpoint = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +sc-basic-authorship = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sc-chain-spec = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sc-cli = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", features = [ "wasmtime" ] } +sc-client-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sc-client-db = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sc-consensus = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sc-consensus-manual-seal = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sc-executor = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", features = [ "wasmtime" ] } +sc-finality-grandpa = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sc-informant = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sc-network = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sc-rpc = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sc-rpc-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sc-service = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sc-telemetry = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sc-tracing = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sc-transaction-pool = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sc-transaction-pool-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-block-builder = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-blockchain = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-consensus = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-inherents = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-keystore = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-offchain = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-session = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-storage = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-transaction-pool = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-trie = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +substrate-frame-rpc-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +substrate-prometheus-endpoint = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } # Frontier -fc-consensus = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18" } -fc-db = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18" } -fc-mapping-sync = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18" } -fc-rpc = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", features = [ "rpc_binary_search_estimate" ] } -fc-rpc-core = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18" } -fp-consensus = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18" } -fp-rpc = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18" } -fp-storage = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18" } -pallet-ethereum = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18" } +fc-consensus = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19" } +fc-db = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19" } +fc-mapping-sync = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19" } +fc-rpc = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", features = [ "rpc_binary_search_estimate" ] } +fc-rpc-core = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19" } +fp-consensus = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19" } +fp-rpc = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19" } +fp-storage = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19" } +pallet-ethereum = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19" } # Cumulus / Nimbus -cumulus-client-cli = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18" } -cumulus-client-collator = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18" } -cumulus-client-consensus-common = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18" } -cumulus-client-consensus-relay-chain = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18" } -cumulus-client-network = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18" } -cumulus-client-service = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18" } -cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18" } -cumulus-primitives-parachain-inherent = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18" } -cumulus-relay-chain-inprocess-interface = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18" } -cumulus-relay-chain-interface = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18" } -cumulus-relay-chain-rpc-interface = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18" } -cumulus-test-relay-sproof-builder = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18" } -nimbus-consensus = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.18" } +cumulus-client-cli = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19" } +cumulus-client-collator = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19" } +cumulus-client-consensus-common = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19" } +cumulus-client-consensus-relay-chain = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19" } +cumulus-client-network = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19" } +cumulus-client-service = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19" } +cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19" } +cumulus-relay-chain-inprocess-interface = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19" } +cumulus-relay-chain-interface = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19" } +cumulus-relay-chain-rpc-interface = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19" } +cumulus-test-relay-sproof-builder = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19" } +nimbus-consensus = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.19" } # TODO we should be able to depend only on the primitives crate once we move the inherent data provider there. -nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.18" } -pallet-author-inherent = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.18" } +nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.19" } +pallet-author-inherent = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.19" } # Polkadot -polkadot-cli = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18" } -polkadot-parachain = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18" } -polkadot-primitives = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18" } -polkadot-service = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18" } -xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +polkadot-cli = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19" } +polkadot-parachain = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19" } +polkadot-primitives = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19" } +polkadot-service = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19" } +xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Benchmarking -frame-benchmarking = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -frame-benchmarking-cli = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +frame-benchmarking = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +frame-benchmarking-cli = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } [dev-dependencies] assert_cmd = "0.12" @@ -136,15 +136,15 @@ prometheus = { version = "0.13.0", default-features = false } rand = "0.7.3" # Polkadot dev-dependencies -polkadot-runtime-common = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18" } +polkadot-runtime-common = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19" } # Substrate dev-dependencies -pallet-sudo = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -substrate-test-client = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -substrate-test-runtime-client = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +pallet-sudo = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +substrate-test-client = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +substrate-test-runtime-client = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } [build-dependencies] -substrate-build-script-utils = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +substrate-build-script-utils = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } [features] default = [ diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index 3064475dcd7..fc2291fb673 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -429,7 +429,7 @@ where async fn start_node_impl( parachain_config: Configuration, polkadot_config: Configuration, - id: polkadot_primitives::v0::Id, + id: polkadot_primitives::v2::Id, rpc_config: RpcConfig, build_consensus: BIC, ) -> sc_service::error::Result<(TaskManager, Arc>)> @@ -685,7 +685,7 @@ where pub async fn start_node( parachain_config: Configuration, polkadot_config: Configuration, - id: polkadot_primitives::v0::Id, + id: polkadot_primitives::v2::Id, rpc_config: RpcConfig, ) -> sc_service::error::Result<(TaskManager, Arc>)> where diff --git a/node/service/src/rpc.rs b/node/service/src/rpc.rs index 98d41167548..417bb8c62e2 100644 --- a/node/service/src/rpc.rs +++ b/node/service/src/rpc.rs @@ -203,7 +203,6 @@ where overrides.clone(), frontier_backend.clone(), is_authority, - max_past_logs, block_data_cache.clone(), fc_rpc::format::Geth, fee_history_limit, diff --git a/pallets/asset-manager/Cargo.toml b/pallets/asset-manager/Cargo.toml index 8f3929e036f..9b4bacf7495 100644 --- a/pallets/asset-manager/Cargo.toml +++ b/pallets/asset-manager/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pallet-asset-manager" authors = [ "PureStake" ] -edition = "2018" +edition = "2021" version = "0.1.0" [dependencies] @@ -12,23 +12,23 @@ serde = { version = "1.0.124", optional = true } xcm-primitives = { path = "../../primitives/xcm/", default-features = false } # Substrate -frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } parity-scale-codec = { version = "3.0.0", default-features = false, features = [ "derive" ] } scale-info = { version = "2.0", default-features = false, features = [ "derive" ] } -sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Polkadot -xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Benchmarks -frame-benchmarking = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", optional = true, default-features = false } +frame-benchmarking = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", optional = true, default-features = false } [dev-dependencies] -pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } [features] default = [ "std" ] diff --git a/pallets/author-mapping/Cargo.toml b/pallets/author-mapping/Cargo.toml index a51e4fd4129..6a9cf0406af 100644 --- a/pallets/author-mapping/Cargo.toml +++ b/pallets/author-mapping/Cargo.toml @@ -2,7 +2,7 @@ name = "pallet-author-mapping" authors = [ "PureStake" ] description = "Maps AuthorIds to AccountIds Useful for associating consensus authors with in-runtime accounts" -edition = "2018" +edition = "2021" version = "2.0.5" [dependencies] @@ -10,23 +10,23 @@ log = { version = "0.4", default-features = false } serde = { version = "1.0.101", optional = true } # Substrate -frame-benchmarking = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", optional = true, default-features = false } -frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +frame-benchmarking = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", optional = true, default-features = false } +frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } parity-scale-codec = { version = "3.0.0", default-features = false, features = [ "derive" ] } scale-info = { version = "2.0", default-features = false, features = [ "derive" ] } -sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Nimbus -nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } session-keys-primitives = { path = "../../primitives/session-keys", default-features = false } [dev-dependencies] -pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } [features] default = [ "std" ] diff --git a/pallets/ethereum-chain-id/Cargo.toml b/pallets/ethereum-chain-id/Cargo.toml index 1620773b895..2b5a050c966 100644 --- a/pallets/ethereum-chain-id/Cargo.toml +++ b/pallets/ethereum-chain-id/Cargo.toml @@ -1,15 +1,15 @@ [package] name = "pallet-ethereum-chain-id" authors = [ "PureStake" ] -edition = "2018" +edition = "2021" version = "1.0.0" [dependencies] serde = { version = "1.0.101", optional = true, features = [ "derive" ] } # Substrate -frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } parity-scale-codec = { version = "3.0.0", default-features = false, features = [ "derive" ] } scale-info = { version = "2.0", default-features = false, features = [ "derive" ] } diff --git a/pallets/maintenance-mode/Cargo.toml b/pallets/maintenance-mode/Cargo.toml index 7e8c5593bea..8a0617e214e 100644 --- a/pallets/maintenance-mode/Cargo.toml +++ b/pallets/maintenance-mode/Cargo.toml @@ -2,25 +2,25 @@ name = "pallet-maintenance-mode" authors = [ "PureStake" ] description = "Puts a FRAME-based runtime into maintenance mode where restricted interactions are allowed." -edition = "2018" +edition = "2021" version = "0.1.0" [dependencies] log = "0.4" # Substrate -frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } parity-scale-codec = { version = "3.0.0", default-features = false } scale-info = { version = "2.0", default-features = false, features = [ "derive" ] } -sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } -cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", optional = true, default-features = false } +cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", optional = true, default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } [features] default = [ "std", "xcm-support" ] diff --git a/pallets/migrations/Cargo.toml b/pallets/migrations/Cargo.toml index 147d7034be4..861d4eec01f 100644 --- a/pallets/migrations/Cargo.toml +++ b/pallets/migrations/Cargo.toml @@ -2,7 +2,7 @@ name = "pallet-migrations" authors = [ "PureStake" ] description = "migrations management pallet" -edition = "2018" +edition = "2021" version = "0.1.0" [dependencies] @@ -10,18 +10,18 @@ impl-trait-for-tuples = "0.2.1" log = "0.4" # Substrate -frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } parity-scale-codec = { version = "3.0.0", default-features = false } scale-info = { version = "2.0", default-features = false, features = [ "derive" ] } -sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } [dev-dependencies] environmental = "1.1.2" -sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } [features] default = [ "std" ] diff --git a/pallets/moonbeam-orbiters/Cargo.toml b/pallets/moonbeam-orbiters/Cargo.toml index 3021f08e195..db99abc4077 100644 --- a/pallets/moonbeam-orbiters/Cargo.toml +++ b/pallets/moonbeam-orbiters/Cargo.toml @@ -2,28 +2,28 @@ name = "pallet-moonbeam-orbiters" authors = [ "PureStake" ] description = "FRAME-based pallet for Moonbeam orbiters program." -edition = "2018" +edition = "2021" version = "0.1.0" [dependencies] log = "0.4" # Substrate -frame-benchmarking = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", optional = true, default-features = false } -frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +frame-benchmarking = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", optional = true, default-features = false } +frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } parity-scale-codec = { version = "3.0.0", default-features = false } scale-info = { version = "2.0", default-features = false, features = [ "derive" ] } -sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Nimbus -nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } [dev-dependencies] -pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } [features] default = [ "std" ] diff --git a/pallets/parachain-staking/Cargo.toml b/pallets/parachain-staking/Cargo.toml index d99c00a3976..4622d9c0c56 100644 --- a/pallets/parachain-staking/Cargo.toml +++ b/pallets/parachain-staking/Cargo.toml @@ -2,7 +2,7 @@ name = "parachain-staking" authors = [ "PureStake" ] description = "parachain staking pallet for collator selection and reward distribution" -edition = "2018" +edition = "2021" version = "3.0.0" [dependencies] @@ -10,24 +10,24 @@ log = "0.4" serde = { version = "1.0.101", optional = true } # Substrate -frame-benchmarking = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", optional = true, default-features = false } -frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +frame-benchmarking = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", optional = true, default-features = false } +frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } parity-scale-codec = { version = "3.0.0", default-features = false, features = [ "derive" ] } scale-info = { version = "2.0", default-features = false, features = [ "derive" ] } -sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } substrate-fixed = { git = "https://github.com/encointer/substrate-fixed", default-features = false } # Nimbus -nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } [dev-dependencies] similar-asserts = "1.1.0" -pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } [features] default = [ "std" ] diff --git a/pallets/parachain-staking/src/tests.rs b/pallets/parachain-staking/src/tests.rs index 4b4fddaba5c..4dcb7ece70a 100644 --- a/pallets/parachain-staking/src/tests.rs +++ b/pallets/parachain-staking/src/tests.rs @@ -772,7 +772,7 @@ fn cannot_join_candidates_with_more_than_available_balance() { ParachainStaking::join_candidates(Origin::signed(1), 501u128, 100u32), DispatchError::Module(ModuleError { index: 1, - error: 2, + error: [2, 0, 0, 0], message: Some("InsufficientBalance") }) ); diff --git a/pallets/proxy-genesis-companion/Cargo.toml b/pallets/proxy-genesis-companion/Cargo.toml index dad2b2db134..43dc482b4de 100644 --- a/pallets/proxy-genesis-companion/Cargo.toml +++ b/pallets/proxy-genesis-companion/Cargo.toml @@ -2,23 +2,23 @@ name = "pallet-proxy-genesis-companion" authors = [ "PureStake" ] description = "A simple pallet that expands pallet-proxy with a genesis configuration" -edition = "2018" +edition = "2021" version = "0.1.0" [dependencies] -frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-proxy = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-proxy = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } parity-scale-codec = { version = "3.0.0", default-features = false } scale-info = { version = "2.0", default-features = false, features = [ "derive" ] } -sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } [dev-dependencies] serde = "1.0.124" -pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } [features] default = [ "std" ] diff --git a/pallets/proxy-genesis-companion/src/tests.rs b/pallets/proxy-genesis-companion/src/tests.rs index 03f2b07e2da..09111003831 100644 --- a/pallets/proxy-genesis-companion/src/tests.rs +++ b/pallets/proxy-genesis-companion/src/tests.rs @@ -55,7 +55,7 @@ fn non_empty_genesis_works() { #[test] #[should_panic(expected = "Genesis proxy could not be added: Module(ModuleError \ - { index: 1, error: 2, message: Some(\"InsufficientBalance\") })")] + { index: 1, error: [2, 0, 0, 0], message: Some(\"InsufficientBalance\") })")] fn genesis_fails_if_balance_insufficient() { ExtBuilder::default() .with_proxies(vec![(1, 2)]) diff --git a/pallets/xcm-transactor/Cargo.toml b/pallets/xcm-transactor/Cargo.toml index 497e1ac5574..f0dd5713737 100644 --- a/pallets/xcm-transactor/Cargo.toml +++ b/pallets/xcm-transactor/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "xcm-transactor" authors = [ "PureStake" ] -edition = "2018" +edition = "2021" version = "0.1.0" [dependencies] @@ -12,32 +12,32 @@ serde = { version = "1.0.124", optional = true } xcm-primitives = { path = "../../primitives/xcm/", default-features = false } # Substrate -frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } parity-scale-codec = { version = "3.0.0", default-features = false, features = [ "derive" ] } scale-info = { version = "2.0", default-features = false, features = [ "derive" ] } -sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Cumulus -cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Polkadot / XCM -orml-traits = { git = "https://github.com/purestake/open-runtime-module-library", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -xcm-builder = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -xcm-executor = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +orml-traits = { git = "https://github.com/purestake/open-runtime-module-library", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +xcm-builder = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +xcm-executor = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Benchmarks -frame-benchmarking = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", optional = true, default-features = false } +frame-benchmarking = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", optional = true, default-features = false } [dev-dependencies] -pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -pallet-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -pallet-xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18" } +pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +pallet-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +pallet-xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19" } parity-scale-codec = { version = "3.0.0" } -sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } [features] default = [ "std" ] diff --git a/precompiles/assets-erc20/Cargo.toml b/precompiles/assets-erc20/Cargo.toml index ccfe9ab51cc..20a8d848a58 100644 --- a/precompiles/assets-erc20/Cargo.toml +++ b/precompiles/assets-erc20/Cargo.toml @@ -2,7 +2,7 @@ name = "pallet-evm-precompile-assets-erc20" authors = [ "PureStake" ] description = "A Precompile to expose a Assets pallet through an ERC20-compliant interface." -edition = "2018" +edition = "2021" version = "0.1.0" [dependencies] @@ -16,19 +16,19 @@ precompile-utils = { path = "../utils", default-features = false } # Substrate codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [ "max-encoded-len" ] } -frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-assets = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-assets = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Frontier -fp-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +fp-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } [dev-dependencies] derive_more = { version = "0.99" } @@ -38,9 +38,9 @@ serde = { version = "1.0.100" } sha3 = "0.8" codec = { package = "parity-scale-codec", version = "3.0.0", features = [ "max-encoded-len" ] } -pallet-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +pallet-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } scale-info = { version = "2.0", default-features = false, features = [ "derive" ] } -sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } [features] default = [ "std" ] diff --git a/precompiles/assets-erc20/src/tests.rs b/precompiles/assets-erc20/src/tests.rs index d74c8dc6105..e83f4c18979 100644 --- a/precompiles/assets-erc20/src/tests.rs +++ b/precompiles/assets-erc20/src/tests.rs @@ -842,7 +842,8 @@ fn transfer_from_non_incremental_approval() { Some(Err(PrecompileFailure::Revert { output, ..})) if output == b"Dispatched call failed with error: DispatchErrorWithPostInfo { \ post_info: PostDispatchInfo { actual_weight: None, pays_fee: Pays::Yes }, \ - error: Module(ModuleError { index: 2, error: 10, message: Some(\"Unapproved\") }) }" + error: Module(ModuleError { index: 2, error: [10, 0, 0, 0], \ + message: Some(\"Unapproved\") }) }" ); }); } @@ -901,7 +902,8 @@ fn transfer_from_above_allowance() { Some(Err(PrecompileFailure::Revert { output, ..})) if output == b"Dispatched call failed with error: DispatchErrorWithPostInfo { \ post_info: PostDispatchInfo { actual_weight: None, pays_fee: Pays::Yes }, \ - error: Module(ModuleError { index: 2, error: 10, message: Some(\"Unapproved\") }) }" + error: Module(ModuleError { index: 2, error: [10, 0, 0, 0], \ + message: Some(\"Unapproved\") }) }" ); }); } diff --git a/precompiles/author-mapping/Cargo.toml b/precompiles/author-mapping/Cargo.toml index 003d0c807bc..c127fe48b1e 100644 --- a/precompiles/author-mapping/Cargo.toml +++ b/precompiles/author-mapping/Cargo.toml @@ -2,7 +2,7 @@ name = "pallet-author-mapping-precompiles" authors = [ "PureStake" ] description = "A Precompile to make pallet-author-mapping accessible to pallet-evm" -edition = "2018" +edition = "2021" version = "0.2.0" [dependencies] @@ -15,18 +15,18 @@ precompile-utils = { path = "../utils", default-features = false } # Substrate codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } -fp-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +fp-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Frontier -pallet-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +pallet-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Nimbus -nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } [dev-dependencies] derive_more = "0.99" @@ -34,11 +34,11 @@ hex-literal = "0.3.4" serde = "1.0.100" # Substrate -pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -pallet-scheduler = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -pallet-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +pallet-scheduler = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +pallet-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } scale-info = { version = "2.0", default-features = false, features = [ "derive" ] } -sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } [features] default = [ "std" ] diff --git a/precompiles/balances-erc20/Cargo.toml b/precompiles/balances-erc20/Cargo.toml index ca0f73d6156..7c3132fd5b4 100644 --- a/precompiles/balances-erc20/Cargo.toml +++ b/precompiles/balances-erc20/Cargo.toml @@ -2,7 +2,7 @@ name = "pallet-evm-precompile-balances-erc20" authors = [ "PureStake" ] description = "A Precompile to expose a Balances pallet through an ERC20-compliant interface." -edition = "2018" +edition = "2021" version = "0.1.0" [dependencies] @@ -16,17 +16,17 @@ precompile-utils = { path = "../utils", default-features = false } # Substrate codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [ "max-encoded-len" ] } -frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Frontier -fp-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +fp-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } [dev-dependencies] derive_more = { version = "0.99" } @@ -35,9 +35,9 @@ libsecp256k1 = "0.7" serde = { version = "1.0.100" } sha3 = "0.8" -pallet-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +pallet-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } scale-info = { version = "2.0", default-features = false, features = [ "derive" ] } -sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } [features] default = [ "std" ] diff --git a/precompiles/crowdloan-rewards/Cargo.toml b/precompiles/crowdloan-rewards/Cargo.toml index 2ff140c886a..220eb7b4dd0 100644 --- a/precompiles/crowdloan-rewards/Cargo.toml +++ b/precompiles/crowdloan-rewards/Cargo.toml @@ -2,7 +2,7 @@ name = "crowdloan-rewards-precompiles" authors = [ "PureStake" ] description = "A Precompile to make crowdloan rewards accessible to pallet-evm" -edition = "2018" +edition = "2021" version = "0.6.0" [dependencies] @@ -14,13 +14,13 @@ rustc-hex = { version = "2.0.1", default-features = false } precompile-utils = { path = "../utils", default-features = false } # Substrate -fp-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-crowdloan-rewards = { git = "https://github.com/purestake/crowdloan-rewards", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +fp-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-crowdloan-rewards = { git = "https://github.com/purestake/crowdloan-rewards", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } [dev-dependencies] derive_more = "0.99" @@ -29,18 +29,18 @@ sha3 = "0.9" # Substrate codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [ "max-encoded-len" ] } -pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -pallet-scheduler = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -pallet-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +pallet-scheduler = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +pallet-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } scale-info = { version = "2.0", default-features = false, features = [ "derive" ] } -sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } # Cumulus -cumulus-pallet-parachain-system = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -cumulus-primitives-parachain-inherent = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -cumulus-test-relay-sproof-builder = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +cumulus-primitives-parachain-inherent = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +cumulus-test-relay-sproof-builder = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } [features] default = [ "std" ] diff --git a/precompiles/pallet-democracy/Cargo.toml b/precompiles/pallet-democracy/Cargo.toml index cbf61c0c189..6b3d511eb4d 100644 --- a/precompiles/pallet-democracy/Cargo.toml +++ b/precompiles/pallet-democracy/Cargo.toml @@ -2,7 +2,7 @@ name = "pallet-democracy-precompiles" authors = [ "PureStake" ] description = "A Precompile to make Substrate's pallet-democracy accessible to pallet-evm" -edition = "2018" +edition = "2021" version = "0.2.0" [dependencies] @@ -14,17 +14,17 @@ precompile-utils = { path = "../utils", default-features = false } # Substrate codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } -fp-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-democracy = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +fp-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-democracy = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Frontier -pallet-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +pallet-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } [dev-dependencies] derive_more = "0.99" @@ -32,11 +32,11 @@ hex-literal = "0.3.4" serde = "1.0.100" # Substrate -pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -pallet-scheduler = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -pallet-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +pallet-scheduler = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +pallet-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } scale-info = { version = "2.0", default-features = false, features = [ "derive" ] } -sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } [features] default = [ "std" ] diff --git a/precompiles/parachain-staking/Cargo.toml b/precompiles/parachain-staking/Cargo.toml index a2cfd6e8103..42f9869e48f 100644 --- a/precompiles/parachain-staking/Cargo.toml +++ b/precompiles/parachain-staking/Cargo.toml @@ -2,7 +2,7 @@ name = "parachain-staking-precompiles" authors = [ "PureStake" ] description = "A Precompile to make parachain staking accessible to pallet-evm" -edition = "2018" +edition = "2021" version = "1.0.0" [dependencies] @@ -16,16 +16,16 @@ precompile-utils = { path = "../utils", default-features = false } # Substrate codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [ "max-encoded-len" ] } -frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Frontier -fp-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +fp-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } [dev-dependencies] derive_more = "0.99" @@ -33,10 +33,10 @@ serde = "1.0.100" sha3 = "0.9" # Substrate -pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -pallet-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +pallet-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } scale-info = { version = "2.0", default-features = false, features = [ "derive" ] } -sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } [features] default = [ "std" ] diff --git a/precompiles/relay-encoder/Cargo.toml b/precompiles/relay-encoder/Cargo.toml index 645c6f6b76f..3bcca5c32af 100644 --- a/precompiles/relay-encoder/Cargo.toml +++ b/precompiles/relay-encoder/Cargo.toml @@ -2,7 +2,7 @@ name = "relay-encoder-precompiles" authors = [ "PureStake" ] description = "A Precompile to make relay staking calls encoding accessible to pallet-evm" -edition = "2018" +edition = "2021" version = "0.1.0" [dependencies] @@ -14,21 +14,21 @@ rustc-hex = { version = "2.0.1", default-features = false } precompile-utils = { path = "../utils", default-features = false } # Substrate -frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-staking = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-staking = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } parity-scale-codec = { version = "3.0.0", default-features = false, features = [ "derive" ] } -sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Frontier -fp-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +fp-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Cumulus -cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } [dev-dependencies] derive_more = "0.99" @@ -37,13 +37,13 @@ serde = "1.0.100" sha3 = "0.9" # Substrate -pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -pallet-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +pallet-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } scale-info = { version = "2.0", default-features = false, features = [ "derive" ] } -sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Cumulus -cumulus-pallet-parachain-system = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18" } +cumulus-pallet-parachain-system = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19" } [features] default = [ "std" ] diff --git a/precompiles/utils/Cargo.toml b/precompiles/utils/Cargo.toml index 078ded26d98..7e2b1b21797 100644 --- a/precompiles/utils/Cargo.toml +++ b/precompiles/utils/Cargo.toml @@ -2,7 +2,7 @@ name = "precompile-utils" authors = [ "PureStake" ] description = "Utils to write EVM precompiles." -edition = "2018" +edition = "2021" version = "0.1.0" [dependencies] @@ -16,18 +16,18 @@ precompile-utils-macro = { path = "macro" } # Substrate codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } -frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Frontier -fp-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +fp-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Polkadot / XCM -xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19", default-features = false } [dev-dependencies] hex-literal = "0.3.1" diff --git a/precompiles/utils/macro/Cargo.toml b/precompiles/utils/macro/Cargo.toml index 01d6aae8ada..44f61b63c50 100644 --- a/precompiles/utils/macro/Cargo.toml +++ b/precompiles/utils/macro/Cargo.toml @@ -2,7 +2,7 @@ name = "precompile-utils-macro" authors = [ "PureStake" ] description = "" -edition = "2018" +edition = "2021" version = "0.1.0" [lib] diff --git a/precompiles/xcm_transactor/Cargo.toml b/precompiles/xcm_transactor/Cargo.toml index 1594eb71b88..ffe67c3bd25 100644 --- a/precompiles/xcm_transactor/Cargo.toml +++ b/precompiles/xcm_transactor/Cargo.toml @@ -2,7 +2,7 @@ name = "xcm-transactor-precompiles" authors = [ "PureStake" ] description = "A Precompile to make xcm-transactor accessible to pallet-evm" -edition = "2018" +edition = "2021" version = "0.1.0" [dependencies] @@ -16,19 +16,19 @@ xcm-primitives = { path = "../../primitives/xcm/", default-features = false } xcm-transactor = { path = "../../pallets/xcm-transactor", default-features = false } # Substrate -frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Frontier evm = { version = "0.35.0", default-features = false, features = [ "with-codec" ] } -fp-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +fp-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Polkadot -xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19", default-features = false } [dev-dependencies] derive_more = "0.99" @@ -40,21 +40,21 @@ xcm-primitives = { path = "../../primitives/xcm/" } # Substrate codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [ "max-encoded-len" ] } -pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -pallet-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +pallet-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } scale-info = { version = "2.0", default-features = false, features = [ "derive" ] } -sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } # Cumulus -cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18" } +cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19" } # Polkadot -pallet-xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18" } -xcm-builder = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18" } -xcm-executor = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18" } +pallet-xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19" } +xcm-builder = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19" } +xcm-executor = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19" } # ORML -orml-traits = { git = "https://github.com/purestake/open-runtime-module-library", branch = "moonbeam-polkadot-v0.9.18" } +orml-traits = { git = "https://github.com/purestake/open-runtime-module-library", branch = "moonbeam-polkadot-v0.9.19" } [features] default = [ "std" ] diff --git a/precompiles/xtokens/Cargo.toml b/precompiles/xtokens/Cargo.toml index 14e78634ffd..59dfe2cc9f1 100644 --- a/precompiles/xtokens/Cargo.toml +++ b/precompiles/xtokens/Cargo.toml @@ -2,7 +2,7 @@ name = "xtokens-precompiles" authors = [ "PureStake" ] description = "A Precompile to make xtokens accessible to pallet-evm" -edition = "2018" +edition = "2021" version = "0.1.0" [dependencies] @@ -15,19 +15,19 @@ precompile-utils = { path = "../utils", default-features = false } xcm-primitives = { path = "../../primitives/xcm/", default-features = false } # Substrate -frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Frontier -fp-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +fp-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Polkadot / XCM -orml-xtokens = { git = "https://github.com/purestake/open-runtime-module-library", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +orml-xtokens = { git = "https://github.com/purestake/open-runtime-module-library", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19", default-features = false } [dev-dependencies] derive_more = "0.99" @@ -36,19 +36,19 @@ sha3 = "0.9" # Substrate codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [ "max-encoded-len" ] } -pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -pallet-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +pallet-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } scale-info = { version = "2.0", features = [ "derive" ] } -sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } # Cumulus -cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18" } +cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19" } # Polkadot -orml-traits = { git = "https://github.com/purestake/open-runtime-module-library", branch = "moonbeam-polkadot-v0.9.18" } -pallet-xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18" } -xcm-builder = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18" } -xcm-executor = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18" } +orml-traits = { git = "https://github.com/purestake/open-runtime-module-library", branch = "moonbeam-polkadot-v0.9.19" } +pallet-xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19" } +xcm-builder = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19" } +xcm-executor = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19" } [features] default = [ "std" ] diff --git a/primitives/account/Cargo.toml b/primitives/account/Cargo.toml index 50e840f94b5..da5f3721684 100644 --- a/primitives/account/Cargo.toml +++ b/primitives/account/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "account" authors = [ "PureStake" ] -edition = "2018" +edition = "2021" homepage = "https://moonbeam.network" license = "GPL-3.0-only" repository = "https://github.com/PureStake/moonbeam/" @@ -22,11 +22,11 @@ sha3 = { version = "0.9", default-features = false } # Substrate parity-scale-codec = { version = "3.0.0", default-features = false, features = [ "derive" ] } scale-info = { version = "2.0", default-features = false, features = [ "derive" ] } -sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-runtime-interface = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-runtime-interface = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } [dev-dependencies] hex = "0.4.3" diff --git a/primitives/ext/Cargo.toml b/primitives/ext/Cargo.toml index 8b4a8662659..31e0a94ff07 100644 --- a/primitives/ext/Cargo.toml +++ b/primitives/ext/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "moonbeam-primitives-ext" authors = [ "PureStake" ] -edition = "2018" +edition = "2021" homepage = "https://moonbeam.network" license = "GPL-3.0-only" repository = "https://github.com/PureStake/moonbeam/" @@ -15,9 +15,9 @@ evm-tracing-events = { path = "../rpc/evm-tracing-events", default-features = fa # Substrate codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } -sp-externalities = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-runtime-interface = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +sp-externalities = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-runtime-interface = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } [features] default = [ "std" ] diff --git a/primitives/rpc/debug/Cargo.toml b/primitives/rpc/debug/Cargo.toml index 8a60bdca70a..05daceb798e 100644 --- a/primitives/rpc/debug/Cargo.toml +++ b/primitives/rpc/debug/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "moonbeam-rpc-primitives-debug" authors = [ "PureStake" ] -edition = "2018" +edition = "2021" homepage = "https://moonbeam.network" license = "GPL-3.0-only" repository = "https://github.com/PureStake/moonbeam/" @@ -17,11 +17,11 @@ serde_json = { version = "1.0", optional = true } # Substrate codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } -sp-api = { git = "https://github.com/purestake/substrate.git", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-core = { git = "https://github.com/purestake/substrate.git", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-io = { git = "https://github.com/purestake/substrate.git", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-runtime = { git = "https://github.com/purestake/substrate.git", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-std = { git = "https://github.com/purestake/substrate.git", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +sp-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } [features] default = [ "std" ] diff --git a/primitives/rpc/evm-tracing-events/Cargo.toml b/primitives/rpc/evm-tracing-events/Cargo.toml index 421b0d5a1b7..da4a9530f05 100644 --- a/primitives/rpc/evm-tracing-events/Cargo.toml +++ b/primitives/rpc/evm-tracing-events/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "evm-tracing-events" authors = [ "PureStake" ] -edition = "2018" +edition = "2021" homepage = "https://moonbeam.network" license = "GPL-3.0-only" repository = "https://github.com/PureStake/moonbeam/" @@ -12,7 +12,7 @@ environmental = { version = "1.1.2", default-features = false } # Substrate codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } -sp-runtime-interface = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +sp-runtime-interface = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Ethereum ethereum = { version = "0.12.0", default-features = false, features = [ "with-codec" ] } diff --git a/primitives/rpc/txpool/Cargo.toml b/primitives/rpc/txpool/Cargo.toml index 4fb57b94dd6..98a18d6aeb7 100644 --- a/primitives/rpc/txpool/Cargo.toml +++ b/primitives/rpc/txpool/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "moonbeam-rpc-primitives-txpool" authors = [ "PureStake" ] -edition = "2018" +edition = "2021" homepage = "https://moonbeam.network" license = "GPL-3.0-only" repository = "https://github.com/PureStake/moonbeam/" @@ -12,10 +12,10 @@ ethereum = { version = "0.12.0", default-features = false, features = [ "with-co # Substrate codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } -sp-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +sp-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } [features] default = [ "std" ] diff --git a/primitives/session-keys/Cargo.toml b/primitives/session-keys/Cargo.toml index e401db4ef2c..38d565998d7 100644 --- a/primitives/session-keys/Cargo.toml +++ b/primitives/session-keys/Cargo.toml @@ -2,7 +2,7 @@ name = "session-keys-primitives" authors = [ "PureStake" ] description = "Primitives for session keys" -edition = "2018" +edition = "2021" version = "0.1.0" [features] diff --git a/primitives/xcm/Cargo.toml b/primitives/xcm/Cargo.toml index bed9c4bdd7b..d772fba00fc 100644 --- a/primitives/xcm/Cargo.toml +++ b/primitives/xcm/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "xcm-primitives" authors = [ "PureStake" ] -edition = "2018" +edition = "2021" homepage = "https://moonbeam.network" license = "GPL-3.0-only" repository = "https://github.com/PureStake/moonbeam/" @@ -17,18 +17,18 @@ serde = { version = "1.0.101", optional = true, default-features = false, featur sha3 = { version = "0.8", default-features = false } # Substrate -frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } parity-scale-codec = { version = "3.0.0", default-features = false, features = [ "derive" ] } scale-info = { version = "2.0", default-features = false, features = [ "derive" ] } -sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Polkadot / XCM -orml-traits = { git = "https://github.com/purestake/open-runtime-module-library", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -xcm-builder = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -xcm-executor = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +orml-traits = { git = "https://github.com/purestake/open-runtime-module-library", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +xcm-builder = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +xcm-executor = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19", default-features = false } [features] default = [ "std" ] diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index 88152475f90..3577b41cbdb 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -2,7 +2,7 @@ name = "runtime-common" authors = [ "PureStake" ] description = "Common code shared between runtimes" -edition = "2018" +edition = "2021" homepage = "https://moonbeam.network" license = "GPL-3.0-only" version = "0.8.0-dev" @@ -19,23 +19,23 @@ parachain-staking = { path = "../../pallets/parachain-staking", default-features xcm-transactor = { path = "../../pallets/xcm-transactor", optional = true, default-features = false } # Substrate -frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-collective = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-scheduler = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-collective = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-scheduler = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Frontier -pallet-base-fee = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +pallet-base-fee = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Nimbus -pallet-author-slot-filter = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +pallet-author-slot-filter = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Polkadot -xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18", optional = true, default-features = false } +xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19", optional = true, default-features = false } [features] std = [ diff --git a/runtime/evm_tracer/Cargo.toml b/runtime/evm_tracer/Cargo.toml index cda10e2b230..6987d3ad7e2 100644 --- a/runtime/evm_tracer/Cargo.toml +++ b/runtime/evm_tracer/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "moonbeam-evm-tracer" authors = [ "PureStake" ] -edition = "2018" +edition = "2021" homepage = "https://moonbeam.network" license = "GPL-3.0-only" repository = "https://github.com/PureStake/moonbeam/" @@ -15,18 +15,18 @@ moonbeam-primitives-ext = { path = "../../primitives/ext", default-features = fa # Substrate codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } -sp-core = { git = "https://github.com/purestake/substrate.git", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-io = { git = "https://github.com/purestake/substrate.git", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-runtime = { git = "https://github.com/purestake/substrate.git", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-std = { git = "https://github.com/purestake/substrate.git", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Frontier ethereum-types = { version = "0.13.1", default-features = false } evm = { version = "0.35.0", default-features = false, features = [ "with-codec" ] } evm-gasometer = { version = "0.35.0", default-features = false } evm-runtime = { version = "0.35.0", default-features = false } -fp-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +fp-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } [features] default = [ "std" ] diff --git a/runtime/moonbase/Cargo.toml b/runtime/moonbase/Cargo.toml index f415c85f00a..68f8230506b 100644 --- a/runtime/moonbase/Cargo.toml +++ b/runtime/moonbase/Cargo.toml @@ -3,7 +3,7 @@ name = "moonbase-runtime" authors = [ "PureStake" ] build = "build.rs" description = "Moonbase Runtime" -edition = "2018" +edition = "2021" homepage = "https://moonbeam.network" license = "GPL-3.0-only" version = "0.8.4" @@ -27,7 +27,7 @@ xcm-primitives = { path = "../../primitives/xcm/", default-features = false } # Moonbeam pallets pallet-asset-manager = { path = "../../pallets/asset-manager", default-features = false } pallet-author-mapping = { path = "../../pallets/author-mapping", default-features = false } -pallet-crowdloan-rewards = { git = "https://github.com/purestake/crowdloan-rewards", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +pallet-crowdloan-rewards = { git = "https://github.com/purestake/crowdloan-rewards", branch = "moonbeam-polkadot-v0.9.19", default-features = false } pallet-ethereum-chain-id = { path = "../../pallets/ethereum-chain-id", default-features = false } pallet-maintenance-mode = { path = "../../pallets/maintenance-mode", default-features = false, features = [ "xcm-support" ] } pallet-migrations = { path = "../../pallets/migrations", default-features = false } @@ -54,96 +54,96 @@ moonbeam-rpc-primitives-debug = { path = "../../primitives/rpc/debug", default-f moonbeam-rpc-primitives-txpool = { path = "../../primitives/rpc/txpool", default-features = false } # Substrate -frame-executive = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-assets = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-collective = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-democracy = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-identity = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-proxy = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-randomness-collective-flip = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-scheduler = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-society = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-sudo = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-transaction-payment = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-treasury = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-utility = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +frame-executive = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-assets = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-collective = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-democracy = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-identity = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-proxy = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-randomness-collective-flip = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-scheduler = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-society = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-sudo = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-transaction-payment = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-treasury = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-utility = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } parity-scale-codec = { version = "3.0.0", default-features = false, features = [ "derive", "max-encoded-len" ] } scale-info = { version = "2.0", default-features = false, features = [ "derive" ] } -sp-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-block-builder = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-debug-derive = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-inherents = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-offchain = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-session = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-transaction-pool = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-version = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +sp-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-block-builder = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-debug-derive = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-inherents = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-offchain = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-session = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-transaction-pool = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-version = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Frontier -fp-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -fp-rpc = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -fp-self-contained = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-base-fee = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-ethereum = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-evm-precompile-blake2 = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-evm-precompile-bn128 = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-evm-precompile-dispatch = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-evm-precompile-modexp = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-evm-precompile-sha3fips = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-evm-precompile-simple = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +fp-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +fp-rpc = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +fp-self-contained = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-base-fee = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-ethereum = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-evm-precompile-blake2 = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-evm-precompile-bn128 = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-evm-precompile-dispatch = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-evm-precompile-modexp = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-evm-precompile-sha3fips = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-evm-precompile-simple = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Cumulus / Nimbus -cumulus-pallet-dmp-queue = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -cumulus-pallet-parachain-system = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -cumulus-pallet-xcm = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -cumulus-pallet-xcmp-queue = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -cumulus-primitives-timestamp = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -cumulus-primitives-utility = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-author-inherent = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-author-slot-filter = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -parachain-info = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +cumulus-pallet-dmp-queue = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +cumulus-pallet-xcm = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +cumulus-pallet-xcmp-queue = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +cumulus-primitives-timestamp = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +cumulus-primitives-utility = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-author-inherent = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-author-slot-filter = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +parachain-info = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Polkadot / XCM -orml-traits = { git = "https://github.com/purestake/open-runtime-module-library", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -orml-xcm-support = { git = "https://github.com/purestake/open-runtime-module-library", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -orml-xtokens = { git = "https://github.com/purestake/open-runtime-module-library", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -polkadot-core-primitives = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -polkadot-parachain = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -xcm-builder = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -xcm-executor = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +orml-traits = { git = "https://github.com/purestake/open-runtime-module-library", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +orml-xcm-support = { git = "https://github.com/purestake/open-runtime-module-library", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +orml-xtokens = { git = "https://github.com/purestake/open-runtime-module-library", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +polkadot-core-primitives = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +polkadot-parachain = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +xcm-builder = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +xcm-executor = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Benchmarking -frame-benchmarking = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", optional = true, default-features = false } -frame-system-benchmarking = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", optional = true, default-features = false } -frame-try-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", optional = true, default-features = false } +frame-benchmarking = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", optional = true, default-features = false } +frame-system-benchmarking = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", optional = true, default-features = false } +frame-try-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", optional = true, default-features = false } [dev-dependencies] hex = "0.4" rlp = "0.5" sha3 = "0.9" -cumulus-primitives-parachain-inherent = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -cumulus-test-relay-sproof-builder = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +cumulus-primitives-parachain-inherent = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +cumulus-test-relay-sproof-builder = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } -polkadot-runtime-parachains = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18" } -xcm-simulator = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18" } +polkadot-runtime-parachains = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19" } +xcm-simulator = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19" } [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +substrate-wasm-builder = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } [features] default = [ "std" ] diff --git a/runtime/moonbase/src/lib.rs b/runtime/moonbase/src/lib.rs index 4262bed33ba..374fc448968 100644 --- a/runtime/moonbase/src/lib.rs +++ b/runtime/moonbase/src/lib.rs @@ -47,12 +47,14 @@ use frame_support::{ }, weights::{ constants::{RocksDbWeight, WEIGHT_PER_SECOND}, - DispatchClass, GetDispatchInfo, IdentityFee, Weight, WeightToFeeCoefficient, - WeightToFeeCoefficients, WeightToFeePolynomial, + ConstantMultiplier, DispatchClass, GetDispatchInfo, IdentityFee, Weight, + WeightToFeeCoefficient, WeightToFeeCoefficients, WeightToFeePolynomial, }, PalletId, }; +#[cfg(feature = "std")] +pub use fp_evm::GenesisAccount; use frame_system::{EnsureRoot, EnsureSigned}; pub use moonbeam_core_primitives::{ AccountId, AccountIndex, Address, AssetId, Balance, BlockNumber, DigestItem, Hash, Header, @@ -63,8 +65,6 @@ pub use pallet_author_slot_filter::EligibilityValue; use pallet_balances::NegativeImbalance; use pallet_ethereum::Call::transact; use pallet_ethereum::Transaction as EthereumTransaction; -#[cfg(feature = "std")] -pub use pallet_evm::GenesisAccount; use pallet_evm::{ Account as EVMAccount, EVMCurrencyAdapter, EnsureAddressNever, EnsureAddressRoot, FeeCalculator, GasWeightMapping, OnChargeEVMTransaction as OnChargeEVMTransactionT, Runner, @@ -318,11 +318,15 @@ impl WeightToFeePolynomial for WeightToFee { } } +parameter_types! { + pub const TransactionByteFee: Balance = currency::TRANSACTION_BYTE_FEE; +} + impl pallet_transaction_payment::Config for Runtime { type OnChargeTransaction = CurrencyAdapter>; - type TransactionByteFee = ConstU128<{ currency::TRANSACTION_BYTE_FEE }>; type OperationalFeeMultiplier = ConstU8<5>; type WeightToFee = IdentityFee; + type LengthToFee = ConstantMultiplier; type FeeMultiplierUpdate = SlowAdjustingFeeUpdate; } diff --git a/runtime/moonbase/tests/common/mod.rs b/runtime/moonbase/tests/common/mod.rs index 993b1218471..ae0024f6b68 100644 --- a/runtime/moonbase/tests/common/mod.rs +++ b/runtime/moonbase/tests/common/mod.rs @@ -17,6 +17,7 @@ #![allow(dead_code)] use cumulus_primitives_parachain_inherent::ParachainInherentData; +use fp_evm::GenesisAccount; use frame_support::{ assert_ok, dispatch::Dispatchable, @@ -30,7 +31,6 @@ pub use moonbase_runtime::{ ParachainStaking, Range, Runtime, System, TransactionConverter, UncheckedExtrinsic, WEEKS, }; use nimbus_primitives::{NimbusId, NIMBUS_ENGINE_ID}; -use pallet_evm::GenesisAccount; use sp_core::{Encode, H160}; use sp_runtime::{Digest, DigestItem, Perbill}; diff --git a/runtime/moonbase/tests/integration_test.rs b/runtime/moonbase/tests/integration_test.rs index 8703558b9a1..7c61d00980f 100644 --- a/runtime/moonbase/tests/integration_test.rs +++ b/runtime/moonbase/tests/integration_test.rs @@ -348,7 +348,7 @@ fn transfer_through_evm_to_stake() { ), DispatchError::Module(ModuleError { index: 3, - error: 2, + error: [2, 0, 0, 0], message: Some("InsufficientBalance") }) ); @@ -552,7 +552,7 @@ fn initialize_crowdloan_addresses_with_batch_and_pay() { index: 0, error: DispatchError::Module(ModuleError { index: 20, - error: 8, + error: [8, 0, 0, 0], message: None, }), }); diff --git a/runtime/moonbase/tests/runtime_apis.rs b/runtime/moonbase/tests/runtime_apis.rs index 34496f0c130..405130c76a0 100644 --- a/runtime/moonbase/tests/runtime_apis.rs +++ b/runtime/moonbase/tests/runtime_apis.rs @@ -19,8 +19,9 @@ mod common; use common::*; +use fp_evm::GenesisAccount; use nimbus_primitives::NimbusId; -use pallet_evm::{Account as EVMAccount, AddressMapping, FeeCalculator, GenesisAccount}; +use pallet_evm::{Account as EVMAccount, AddressMapping, FeeCalculator}; use sp_core::{ByteArray, H160, H256, U256}; use fp_rpc::runtime_decl_for_EthereumRuntimeRPCApi::EthereumRuntimeRPCApi; diff --git a/runtime/moonbase/tests/xcm_mock/mod.rs b/runtime/moonbase/tests/xcm_mock/mod.rs index e36e23f9d98..969f1e65b05 100644 --- a/runtime/moonbase/tests/xcm_mock/mod.rs +++ b/runtime/moonbase/tests/xcm_mock/mod.rs @@ -114,7 +114,7 @@ pub fn para_ext(para_id: u32) -> sp_io::TestExternalities { let mut evm_accounts = BTreeMap::new(); evm_accounts.insert( evm_account(), - pallet_evm::GenesisAccount { + fp_evm::GenesisAccount { nonce: U256::from(INITIAL_EVM_NONCE), balance: U256::from(INITIAL_EVM_BALANCE), storage: Default::default(), diff --git a/runtime/moonbase/tests/xcm_mock/statemint_like.rs b/runtime/moonbase/tests/xcm_mock/statemint_like.rs index 9b1d21149a8..329965f19b1 100644 --- a/runtime/moonbase/tests/xcm_mock/statemint_like.rs +++ b/runtime/moonbase/tests/xcm_mock/statemint_like.rs @@ -17,7 +17,7 @@ //! Relay chain runtime mock. use frame_support::{ - construct_runtime, match_type, parameter_types, + construct_runtime, match_types, parameter_types, traits::{Everything, Nothing}, weights::Weight, }; @@ -222,13 +222,13 @@ parameter_types! { pub const MaxInstructions: u32 = 100; } -match_type! { +match_types! { pub type ParentOrParentsExecutivePlurality: impl Contains = { MultiLocation { parents: 1, interior: Here } | MultiLocation { parents: 1, interior: X1(Plurality { id: BodyId::Executive, .. }) } }; } -match_type! { +match_types! { pub type ParentOrSiblings: impl Contains = { MultiLocation { parents: 1, interior: Here } | MultiLocation { parents: 1, interior: X1(_) } diff --git a/runtime/moonbeam/Cargo.toml b/runtime/moonbeam/Cargo.toml index 977910f19db..3b7f556565f 100644 --- a/runtime/moonbeam/Cargo.toml +++ b/runtime/moonbeam/Cargo.toml @@ -3,7 +3,7 @@ name = "moonbeam-runtime" authors = [ "PureStake" ] build = "build.rs" description = "Moonbeam Runtime" -edition = "2018" +edition = "2021" homepage = "https://moonbeam.network" license = "GPL-3.0-only" version = "0.8.4" @@ -27,7 +27,7 @@ xcm-primitives = { path = "../../primitives/xcm/", default-features = false } # Moonbeam pallets pallet-asset-manager = { path = "../../pallets/asset-manager", default-features = false } pallet-author-mapping = { path = "../../pallets/author-mapping", default-features = false } -pallet-crowdloan-rewards = { git = "https://github.com/purestake/crowdloan-rewards", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +pallet-crowdloan-rewards = { git = "https://github.com/purestake/crowdloan-rewards", branch = "moonbeam-polkadot-v0.9.19", default-features = false } pallet-ethereum-chain-id = { path = "../../pallets/ethereum-chain-id", default-features = false } pallet-maintenance-mode = { path = "../../pallets/maintenance-mode", default-features = false, features = [ "xcm-support" ] } pallet-migrations = { path = "../../pallets/migrations", default-features = false } @@ -54,94 +54,94 @@ moonbeam-rpc-primitives-debug = { path = "../../primitives/rpc/debug", default-f moonbeam-rpc-primitives-txpool = { path = "../../primitives/rpc/txpool", default-features = false } # Substrate -frame-executive = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-assets = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-collective = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-democracy = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-identity = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-proxy = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-randomness-collective-flip = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-scheduler = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-society = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-transaction-payment = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-treasury = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-utility = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +frame-executive = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-assets = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-collective = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-democracy = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-identity = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-proxy = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-randomness-collective-flip = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-scheduler = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-society = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-transaction-payment = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-treasury = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-utility = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } parity-scale-codec = { version = "3.0.0", default-features = false, features = [ "derive", "max-encoded-len" ] } scale-info = { version = "2.0", default-features = false, features = [ "derive" ] } -sp-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-block-builder = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-inherents = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-offchain = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-session = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-transaction-pool = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-version = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +sp-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-block-builder = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-inherents = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-offchain = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-session = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-transaction-pool = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-version = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Frontier -fp-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -fp-rpc = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -fp-self-contained = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-base-fee = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-ethereum = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-evm-precompile-blake2 = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-evm-precompile-bn128 = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-evm-precompile-dispatch = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-evm-precompile-modexp = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-evm-precompile-sha3fips = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-evm-precompile-simple = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +fp-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +fp-rpc = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +fp-self-contained = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-base-fee = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-ethereum = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-evm-precompile-blake2 = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-evm-precompile-bn128 = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-evm-precompile-dispatch = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-evm-precompile-modexp = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-evm-precompile-sha3fips = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-evm-precompile-simple = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Cumulus / Nimbus -cumulus-pallet-dmp-queue = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -cumulus-pallet-parachain-system = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -cumulus-pallet-xcm = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -cumulus-pallet-xcmp-queue = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -cumulus-primitives-timestamp = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -cumulus-primitives-utility = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-author-inherent = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-author-slot-filter = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -parachain-info = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +cumulus-pallet-dmp-queue = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +cumulus-pallet-xcm = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +cumulus-pallet-xcmp-queue = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +cumulus-primitives-timestamp = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +cumulus-primitives-utility = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-author-inherent = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-author-slot-filter = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +parachain-info = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Polkadot / XCM -orml-traits = { git = "https://github.com/purestake/open-runtime-module-library", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -orml-xcm-support = { git = "https://github.com/purestake/open-runtime-module-library", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -orml-xtokens = { git = "https://github.com/purestake/open-runtime-module-library", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -polkadot-core-primitives = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -polkadot-parachain = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -xcm-builder = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -xcm-executor = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +orml-traits = { git = "https://github.com/purestake/open-runtime-module-library", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +orml-xcm-support = { git = "https://github.com/purestake/open-runtime-module-library", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +orml-xtokens = { git = "https://github.com/purestake/open-runtime-module-library", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +polkadot-core-primitives = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +polkadot-parachain = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +xcm-builder = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +xcm-executor = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Benchmarking -frame-benchmarking = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", optional = true, default-features = false } -frame-system-benchmarking = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", optional = true, default-features = false } -frame-try-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", optional = true, default-features = false } +frame-benchmarking = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", optional = true, default-features = false } +frame-system-benchmarking = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", optional = true, default-features = false } +frame-try-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", optional = true, default-features = false } [dev-dependencies] hex = "0.4" rlp = "0.5" sha3 = "0.9" -cumulus-primitives-parachain-inherent = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -cumulus-test-relay-sproof-builder = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +cumulus-primitives-parachain-inherent = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +cumulus-test-relay-sproof-builder = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } -polkadot-runtime-parachains = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18" } -xcm-simulator = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18" } +polkadot-runtime-parachains = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19" } +xcm-simulator = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19" } [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +substrate-wasm-builder = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } [features] default = [ "std" ] diff --git a/runtime/moonbeam/src/lib.rs b/runtime/moonbeam/src/lib.rs index 77af6dd9660..440759e45c7 100644 --- a/runtime/moonbeam/src/lib.rs +++ b/runtime/moonbeam/src/lib.rs @@ -33,6 +33,8 @@ use cumulus_pallet_parachain_system::RelaychainBlockNumberProvider; use fp_rpc::TransactionStatus; // Re-export required by get! macro. +#[cfg(feature = "std")] +pub use fp_evm::GenesisAccount; pub use frame_support::traits::Get; use frame_support::{ construct_runtime, @@ -45,8 +47,7 @@ use frame_support::{ }, weights::{ constants::{RocksDbWeight, WEIGHT_PER_SECOND}, - DispatchClass, GetDispatchInfo, IdentityFee, Weight, WeightToFeeCoefficient, - WeightToFeeCoefficients, WeightToFeePolynomial, + ConstantMultiplier, DispatchClass, GetDispatchInfo, IdentityFee, Weight, }, PalletId, }; @@ -59,8 +60,6 @@ use moonbeam_rpc_primitives_txpool::TxPoolResponse; use pallet_balances::NegativeImbalance; use pallet_ethereum::Call::transact; use pallet_ethereum::Transaction as EthereumTransaction; -#[cfg(feature = "std")] -pub use pallet_evm::GenesisAccount; use pallet_evm::{ Account as EVMAccount, EnsureAddressNever, EnsureAddressRoot, FeeCalculator, GasWeightMapping, Runner, @@ -95,7 +94,6 @@ pub use precompiles::{ MoonbeamPrecompiles, FOREIGN_ASSET_PRECOMPILE_ADDRESS_PREFIX, LOCAL_ASSET_PRECOMPILE_ADDRESS_PREFIX, }; -use smallvec::smallvec; #[cfg(any(feature = "std", test))] pub use sp_runtime::BuildStorage; @@ -292,33 +290,15 @@ where } } -pub struct WeightToFee; -impl WeightToFeePolynomial for WeightToFee { - type Balance = Balance; - - /// Return a vec of coefficients. Here we just use one coefficient and reduce it to a constant - /// modifier in order to closely match Ethereum-based fees. - /// - /// Calculation, per the documentation in `frame_support`: - /// - /// ```ignore - /// coeff_integer * x^(degree) + coeff_frac * x^(degree) - /// ``` - fn polynomial() -> WeightToFeeCoefficients { - smallvec![WeightToFeeCoefficient { - degree: 1, - coeff_frac: Perbill::zero(), - coeff_integer: currency::WEIGHT_FEE, - negative: false, - }] - } +parameter_types! { + pub const TransactionByteFee: Balance = currency::TRANSACTION_BYTE_FEE; } impl pallet_transaction_payment::Config for Runtime { type OnChargeTransaction = CurrencyAdapter>; - type TransactionByteFee = ConstU128<{ currency::TRANSACTION_BYTE_FEE }>; type OperationalFeeMultiplier = ConstU8<5>; type WeightToFee = IdentityFee; + type LengthToFee = ConstantMultiplier; type FeeMultiplierUpdate = SlowAdjustingFeeUpdate; } diff --git a/runtime/moonbeam/src/xcm_config.rs b/runtime/moonbeam/src/xcm_config.rs index 6f7a6c0575f..09323559d10 100644 --- a/runtime/moonbeam/src/xcm_config.rs +++ b/runtime/moonbeam/src/xcm_config.rs @@ -19,8 +19,8 @@ use super::{ AccountId, AssetId, AssetManager, Assets, Balance, Balances, Call, DealWithFees, Event, - LocalAssets, Origin, ParachainInfo, ParachainSystem, PolkadotXcm, Runtime, Treasury, - WeightToFee, XcmpQueue, FOREIGN_ASSET_PRECOMPILE_ADDRESS_PREFIX, + LocalAssets, Origin, ParachainInfo, ParachainSystem, PolkadotXcm, Runtime, Treasury, XcmpQueue, + FOREIGN_ASSET_PRECOMPILE_ADDRESS_PREFIX, }; use pallet_evm_precompile_assets_erc20::AccountIdAssetIdConversion; @@ -29,7 +29,7 @@ use sp_runtime::traits::Hash as THash; use frame_support::{ parameter_types, traits::{Everything, Nothing, PalletInfoAccess}, - weights::Weight, + weights::{IdentityFee, Weight}, }; use frame_system::EnsureRoot; @@ -260,7 +260,13 @@ impl xcm_executor::Config for XcmExecutorConfig { // When we receive a non-reserve asset, we use AssetManager to fetch how many // units per second we should charge type Trader = ( - UsingComponents>, + UsingComponents< + IdentityFee, + SelfReserve, + AccountId, + Balances, + DealWithFees, + >, FirstAssetTrader, ); type ResponseHandler = PolkadotXcm; diff --git a/runtime/moonbeam/tests/common/mod.rs b/runtime/moonbeam/tests/common/mod.rs index f6bf2797c7f..969957ec74f 100644 --- a/runtime/moonbeam/tests/common/mod.rs +++ b/runtime/moonbeam/tests/common/mod.rs @@ -17,6 +17,7 @@ #![allow(dead_code)] use cumulus_primitives_parachain_inherent::ParachainInherentData; +use fp_evm::GenesisAccount; use frame_support::{ assert_ok, dispatch::Dispatchable, @@ -31,7 +32,6 @@ pub use moonbeam_runtime::{ ParachainStaking, Range, Runtime, System, TransactionConverter, UncheckedExtrinsic, WEEKS, }; use nimbus_primitives::{NimbusId, NIMBUS_ENGINE_ID}; -use pallet_evm::GenesisAccount; use sp_core::{Encode, H160}; use sp_runtime::{Digest, DigestItem, Perbill}; diff --git a/runtime/moonbeam/tests/integration_test.rs b/runtime/moonbeam/tests/integration_test.rs index bc0da614c25..2dd64a2a953 100644 --- a/runtime/moonbeam/tests/integration_test.rs +++ b/runtime/moonbeam/tests/integration_test.rs @@ -353,7 +353,7 @@ fn transfer_through_evm_to_stake() { ), DispatchError::Module(ModuleError { index: 10, - error: 2, + error: [2, 0, 0, 0], message: Some("InsufficientBalance") }) ); @@ -565,7 +565,7 @@ fn initialize_crowdloan_addresses_with_batch_and_pay() { index: 0, error: DispatchError::Module(ModuleError { index: 90, - error: 8, + error: [8, 0, 0, 0], message: None, }), }); diff --git a/runtime/moonbeam/tests/runtime_apis.rs b/runtime/moonbeam/tests/runtime_apis.rs index 8cf83f9d828..5c813c8b54a 100644 --- a/runtime/moonbeam/tests/runtime_apis.rs +++ b/runtime/moonbeam/tests/runtime_apis.rs @@ -19,8 +19,9 @@ mod common; use common::*; +use fp_evm::GenesisAccount; use nimbus_primitives::NimbusId; -use pallet_evm::{Account as EVMAccount, AddressMapping, FeeCalculator, GenesisAccount}; +use pallet_evm::{Account as EVMAccount, AddressMapping, FeeCalculator}; use sp_core::{ByteArray, H160, H256, U256}; use fp_rpc::runtime_decl_for_EthereumRuntimeRPCApi::EthereumRuntimeRPCApi; diff --git a/runtime/moonbeam/tests/xcm_mock/mod.rs b/runtime/moonbeam/tests/xcm_mock/mod.rs index e44c0342935..ca0bab97039 100644 --- a/runtime/moonbeam/tests/xcm_mock/mod.rs +++ b/runtime/moonbeam/tests/xcm_mock/mod.rs @@ -115,7 +115,7 @@ pub fn para_ext(para_id: u32) -> sp_io::TestExternalities { let mut evm_accounts = BTreeMap::new(); evm_accounts.insert( evm_account(), - pallet_evm::GenesisAccount { + fp_evm::GenesisAccount { nonce: U256::from(INITIAL_EVM_NONCE), balance: U256::from(INITIAL_EVM_BALANCE), storage: Default::default(), diff --git a/runtime/moonbeam/tests/xcm_mock/statemint_like.rs b/runtime/moonbeam/tests/xcm_mock/statemint_like.rs index 9b1d21149a8..329965f19b1 100644 --- a/runtime/moonbeam/tests/xcm_mock/statemint_like.rs +++ b/runtime/moonbeam/tests/xcm_mock/statemint_like.rs @@ -17,7 +17,7 @@ //! Relay chain runtime mock. use frame_support::{ - construct_runtime, match_type, parameter_types, + construct_runtime, match_types, parameter_types, traits::{Everything, Nothing}, weights::Weight, }; @@ -222,13 +222,13 @@ parameter_types! { pub const MaxInstructions: u32 = 100; } -match_type! { +match_types! { pub type ParentOrParentsExecutivePlurality: impl Contains = { MultiLocation { parents: 1, interior: Here } | MultiLocation { parents: 1, interior: X1(Plurality { id: BodyId::Executive, .. }) } }; } -match_type! { +match_types! { pub type ParentOrSiblings: impl Contains = { MultiLocation { parents: 1, interior: Here } | MultiLocation { parents: 1, interior: X1(_) } diff --git a/runtime/moonriver/Cargo.toml b/runtime/moonriver/Cargo.toml index 18ec1871ff3..c2c9e687551 100644 --- a/runtime/moonriver/Cargo.toml +++ b/runtime/moonriver/Cargo.toml @@ -3,7 +3,7 @@ name = "moonriver-runtime" authors = [ "PureStake" ] build = "build.rs" description = "Moonriver Runtime" -edition = "2018" +edition = "2021" homepage = "https://moonbeam.network" license = "GPL-3.0-only" version = "0.8.4" @@ -27,7 +27,7 @@ xcm-primitives = { path = "../../primitives/xcm/", default-features = false } # Moonbeam pallets pallet-asset-manager = { path = "../../pallets/asset-manager", default-features = false } pallet-author-mapping = { path = "../../pallets/author-mapping", default-features = false } -pallet-crowdloan-rewards = { git = "https://github.com/purestake/crowdloan-rewards", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +pallet-crowdloan-rewards = { git = "https://github.com/purestake/crowdloan-rewards", branch = "moonbeam-polkadot-v0.9.19", default-features = false } pallet-ethereum-chain-id = { path = "../../pallets/ethereum-chain-id", default-features = false } pallet-maintenance-mode = { path = "../../pallets/maintenance-mode", default-features = false, features = [ "xcm-support" ] } pallet-migrations = { path = "../../pallets/migrations", default-features = false } @@ -54,95 +54,95 @@ moonbeam-rpc-primitives-debug = { path = "../../primitives/rpc/debug", default-f moonbeam-rpc-primitives-txpool = { path = "../../primitives/rpc/txpool", default-features = false } # Substrate -frame-executive = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-assets = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-collective = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-democracy = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-identity = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-proxy = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-randomness-collective-flip = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-scheduler = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-society = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-transaction-payment = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-treasury = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-utility = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +frame-executive = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-assets = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-collective = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-democracy = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-identity = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-proxy = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-randomness-collective-flip = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-scheduler = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-society = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-transaction-payment = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-treasury = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-utility = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } parity-scale-codec = { version = "3.0.0", default-features = false, features = [ "derive", "max-encoded-len" ] } scale-info = { version = "2.0", default-features = false, features = [ "derive" ] } -sp-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-block-builder = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-debug-derive = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-inherents = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-offchain = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-session = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-transaction-pool = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-version = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +sp-api = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-block-builder = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-debug-derive = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-inherents = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-offchain = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-session = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-transaction-pool = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-version = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Frontier -fp-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -fp-rpc = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -fp-self-contained = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-base-fee = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-ethereum = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-evm-precompile-blake2 = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-evm-precompile-bn128 = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-evm-precompile-dispatch = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-evm-precompile-modexp = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-evm-precompile-sha3fips = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-evm-precompile-simple = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +fp-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +fp-rpc = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +fp-self-contained = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-base-fee = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-ethereum = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-evm-precompile-blake2 = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-evm-precompile-bn128 = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-evm-precompile-dispatch = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-evm-precompile-modexp = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-evm-precompile-sha3fips = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-evm-precompile-simple = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Cumulus / Nimbus -cumulus-pallet-dmp-queue = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -cumulus-pallet-parachain-system = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -cumulus-pallet-xcm = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -cumulus-pallet-xcmp-queue = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -cumulus-primitives-timestamp = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -cumulus-primitives-utility = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-author-inherent = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-author-slot-filter = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -parachain-info = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +cumulus-pallet-dmp-queue = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +cumulus-pallet-xcm = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +cumulus-pallet-xcmp-queue = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +cumulus-primitives-timestamp = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +cumulus-primitives-utility = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-author-inherent = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-author-slot-filter = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +parachain-info = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Polkadot / XCM -orml-traits = { git = "https://github.com/purestake/open-runtime-module-library", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -orml-xcm-support = { git = "https://github.com/purestake/open-runtime-module-library", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -orml-xtokens = { git = "https://github.com/purestake/open-runtime-module-library", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -polkadot-core-primitives = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -polkadot-parachain = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -xcm-builder = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -xcm-executor = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +orml-traits = { git = "https://github.com/purestake/open-runtime-module-library", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +orml-xcm-support = { git = "https://github.com/purestake/open-runtime-module-library", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +orml-xtokens = { git = "https://github.com/purestake/open-runtime-module-library", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +polkadot-core-primitives = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +polkadot-parachain = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +xcm-builder = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +xcm-executor = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Benchmarking -frame-benchmarking = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", optional = true, default-features = false } -frame-system-benchmarking = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", optional = true, default-features = false } -frame-try-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", optional = true, default-features = false } +frame-benchmarking = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", optional = true, default-features = false } +frame-system-benchmarking = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", optional = true, default-features = false } +frame-try-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", optional = true, default-features = false } [dev-dependencies] hex = "0.4" rlp = "0.5" sha3 = "0.9" -cumulus-primitives-parachain-inherent = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -cumulus-test-relay-sproof-builder = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +cumulus-primitives-parachain-inherent = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +cumulus-test-relay-sproof-builder = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } -polkadot-runtime-parachains = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18" } -xcm-simulator = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18" } +polkadot-runtime-parachains = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19" } +xcm-simulator = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19" } [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +substrate-wasm-builder = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } [features] default = [ "std" ] diff --git a/runtime/moonriver/src/lib.rs b/runtime/moonriver/src/lib.rs index e4f38636d05..f91a16c14b3 100644 --- a/runtime/moonriver/src/lib.rs +++ b/runtime/moonriver/src/lib.rs @@ -33,6 +33,8 @@ use cumulus_pallet_parachain_system::RelaychainBlockNumberProvider; use fp_rpc::TransactionStatus; // Re-export required by get! macro. +#[cfg(feature = "std")] +pub use fp_evm::GenesisAccount; pub use frame_support::traits::Get; use frame_support::{ construct_runtime, @@ -45,8 +47,8 @@ use frame_support::{ }, weights::{ constants::{RocksDbWeight, WEIGHT_PER_SECOND}, - DispatchClass, GetDispatchInfo, IdentityFee, Weight, WeightToFeeCoefficient, - WeightToFeeCoefficients, WeightToFeePolynomial, + ConstantMultiplier, DispatchClass, GetDispatchInfo, IdentityFee, Weight, + WeightToFeeCoefficient, WeightToFeeCoefficients, WeightToFeePolynomial, }, PalletId, }; @@ -59,8 +61,6 @@ use moonbeam_rpc_primitives_txpool::TxPoolResponse; use pallet_balances::NegativeImbalance; use pallet_ethereum::Call::transact; use pallet_ethereum::Transaction as EthereumTransaction; -#[cfg(feature = "std")] -pub use pallet_evm::GenesisAccount; use pallet_evm::{ Account as EVMAccount, EnsureAddressNever, EnsureAddressRoot, FeeCalculator, GasWeightMapping, Runner, @@ -312,11 +312,15 @@ impl WeightToFeePolynomial for WeightToFee { } } +parameter_types! { + pub const TransactionByteFee: Balance = currency::TRANSACTION_BYTE_FEE; +} + impl pallet_transaction_payment::Config for Runtime { type OnChargeTransaction = CurrencyAdapter>; - type TransactionByteFee = ConstU128<{ currency::TRANSACTION_BYTE_FEE }>; type OperationalFeeMultiplier = ConstU8<5>; type WeightToFee = IdentityFee; + type LengthToFee = ConstantMultiplier; type FeeMultiplierUpdate = SlowAdjustingFeeUpdate; } diff --git a/runtime/moonriver/tests/common/mod.rs b/runtime/moonriver/tests/common/mod.rs index b872f041d20..15966930e9a 100644 --- a/runtime/moonriver/tests/common/mod.rs +++ b/runtime/moonriver/tests/common/mod.rs @@ -17,6 +17,7 @@ #![allow(dead_code)] use cumulus_primitives_parachain_inherent::ParachainInherentData; +use fp_evm::GenesisAccount; use frame_support::{ assert_ok, dispatch::Dispatchable, @@ -31,7 +32,6 @@ pub use moonriver_runtime::{ ParachainStaking, Range, Runtime, System, TransactionConverter, UncheckedExtrinsic, WEEKS, }; use nimbus_primitives::{NimbusId, NIMBUS_ENGINE_ID}; -use pallet_evm::GenesisAccount; use sp_core::{Encode, H160}; use sp_runtime::{Digest, DigestItem, Perbill}; diff --git a/runtime/moonriver/tests/integration_test.rs b/runtime/moonriver/tests/integration_test.rs index eab0dac8f66..928421532ed 100644 --- a/runtime/moonriver/tests/integration_test.rs +++ b/runtime/moonriver/tests/integration_test.rs @@ -348,7 +348,7 @@ fn transfer_through_evm_to_stake() { ), DispatchError::Module(ModuleError { index: 10, - error: 2, + error: [2, 0, 0, 0], message: Some("InsufficientBalance") }) ); @@ -551,7 +551,7 @@ fn initialize_crowdloan_addresses_with_batch_and_pay() { index: 0, error: DispatchError::Module(ModuleError { index: 90, - error: 8, + error: [8, 0, 0, 0], message: None, }), }); diff --git a/runtime/moonriver/tests/runtime_apis.rs b/runtime/moonriver/tests/runtime_apis.rs index 54f4eb2e33a..0d5a5f4f03a 100644 --- a/runtime/moonriver/tests/runtime_apis.rs +++ b/runtime/moonriver/tests/runtime_apis.rs @@ -19,8 +19,9 @@ mod common; use common::*; +use fp_evm::GenesisAccount; use nimbus_primitives::NimbusId; -use pallet_evm::{Account as EVMAccount, AddressMapping, FeeCalculator, GenesisAccount}; +use pallet_evm::{Account as EVMAccount, AddressMapping, FeeCalculator}; use sp_core::{ByteArray, H160, H256, U256}; use fp_rpc::runtime_decl_for_EthereumRuntimeRPCApi::EthereumRuntimeRPCApi; diff --git a/runtime/moonriver/tests/xcm_mock/mod.rs b/runtime/moonriver/tests/xcm_mock/mod.rs index b2f3db21318..334dbeb46a4 100644 --- a/runtime/moonriver/tests/xcm_mock/mod.rs +++ b/runtime/moonriver/tests/xcm_mock/mod.rs @@ -115,7 +115,7 @@ pub fn para_ext(para_id: u32) -> sp_io::TestExternalities { let mut evm_accounts = BTreeMap::new(); evm_accounts.insert( evm_account(), - pallet_evm::GenesisAccount { + fp_evm::GenesisAccount { nonce: U256::from(INITIAL_EVM_NONCE), balance: U256::from(INITIAL_EVM_BALANCE), storage: Default::default(), diff --git a/runtime/moonriver/tests/xcm_mock/statemine_like.rs b/runtime/moonriver/tests/xcm_mock/statemine_like.rs index 28ccda23597..8ba0a2f1433 100644 --- a/runtime/moonriver/tests/xcm_mock/statemine_like.rs +++ b/runtime/moonriver/tests/xcm_mock/statemine_like.rs @@ -17,7 +17,7 @@ //! Relay chain runtime mock. use frame_support::{ - construct_runtime, match_type, parameter_types, + construct_runtime, match_types, parameter_types, traits::{Everything, Nothing}, weights::Weight, }; @@ -222,13 +222,13 @@ parameter_types! { pub const MaxInstructions: u32 = 100; } -match_type! { +match_types! { pub type ParentOrParentsExecutivePlurality: impl Contains = { MultiLocation { parents: 1, interior: Here } | MultiLocation { parents: 1, interior: X1(Plurality { id: BodyId::Executive, .. }) } }; } -match_type! { +match_types! { pub type ParentOrSiblings: impl Contains = { MultiLocation { parents: 1, interior: Here } | MultiLocation { parents: 1, interior: X1(_) } diff --git a/runtime/relay-encoder/Cargo.toml b/runtime/relay-encoder/Cargo.toml index b43f9c51f8a..70610b2b4ef 100644 --- a/runtime/relay-encoder/Cargo.toml +++ b/runtime/relay-encoder/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "moonbeam-relay-encoder" authors = [ "PureStake" ] -edition = "2018" +edition = "2021" homepage = "https://moonbeam.network" license = "GPL-3.0-only" repository = "https://github.com/PureStake/moonbeam/" @@ -14,24 +14,24 @@ relay-encoder-precompiles = { path = "../../precompiles/relay-encoder/", default xcm-primitives = { path = "../../primitives/xcm", default-features = false } # Substrate -frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -pallet-staking = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +pallet-staking = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } parity-scale-codec = { version = "3.0.0", default-features = false, features = [ "derive" ] } -sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } -sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } +sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19", default-features = false } # Cumulus -cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.18", default-features = false } +cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.19", default-features = false } [dev-dependencies] -frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -pallet-proxy = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } -pallet-utility = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.18" } +frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +pallet-proxy = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } +pallet-utility = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.19" } -kusama-runtime = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18" } -polkadot-runtime = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18" } -rococo-runtime = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18" } -westend-runtime = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.18" } +kusama-runtime = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19" } +polkadot-runtime = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19" } +rococo-runtime = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19" } +westend-runtime = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.19" } [features] default = [ "std" ] diff --git a/scripts/build-alphanet-relay-image.sh b/scripts/build-alphanet-relay-image.sh index ccd96ac9992..5f0c68164a2 100755 --- a/scripts/build-alphanet-relay-image.sh +++ b/scripts/build-alphanet-relay-image.sh @@ -13,7 +13,7 @@ fi echo "Using Polkadot from $POLKADOT_REPO revision #${POLKADOT_COMMIT}" -docker build . -f docker/polkadot-relay.Dockerfile \ +docker build . --pull --no-cache -f docker/polkadot-relay.Dockerfile --network=host \ --build-arg POLKADOT_COMMIT="$POLKADOT_COMMIT" \ --build-arg POLKADOT_REPO="$POLKADOT_REPO" \ -t purestake/moonbase-relay-testnet:sha-$POLKADOT_COMMIT diff --git a/tests/tests/test-crowdloan.ts b/tests/tests/test-crowdloan.ts index 2fb295297fa..ed6b7028b7b 100644 --- a/tests/tests/test-crowdloan.ts +++ b/tests/tests/test-crowdloan.ts @@ -1047,7 +1047,9 @@ describeDevMoonbeam("Crowdloan", (context) => { ) ); expect(events[1].toHuman().method).to.eq("ProxyExecuted"); - expect(events[1].data[0].toString()).to.be.eq(`{"err":{"module":{"index":0,"error":5}}}`); + expect(events[1].data[0].toString()).to.be.eq( + `{"err":{"module":{"index":0,"error":"0x05000000"}}}` + ); // Genesis account still has the money rewardInfo = await getAccountPayable(context, GENESIS_ACCOUNT); diff --git a/tests/tests/test-proxy/test-proxy-balance.ts b/tests/tests/test-proxy/test-proxy-balance.ts index 525740fe11f..899d1b6207c 100644 --- a/tests/tests/test-proxy/test-proxy-balance.ts +++ b/tests/tests/test-proxy/test-proxy-balance.ts @@ -82,7 +82,9 @@ describeDevMoonbeam("Proxy: Balances - shouldn't accept other proxy types", (con ); expect(events2[1].method).to.be.eq("ProxyExecuted"); - expect(events2[1].data[0].toString()).to.be.eq(`{"err":{"module":{"index":0,"error":5}}}`); + expect(events2[1].data[0].toString()).to.be.eq( + `{"err":{"module":{"index":0,"error":"0x05000000"}}}` + ); expect(events2[4].method).to.be.eq("ExtrinsicSuccess"); // // check association failed diff --git a/tests/tests/test-proxy/test-proxy.ts b/tests/tests/test-proxy/test-proxy.ts index c85000d9a28..cccf05bf23f 100644 --- a/tests/tests/test-proxy/test-proxy.ts +++ b/tests/tests/test-proxy/test-proxy.ts @@ -94,7 +94,7 @@ describeDevMoonbeam("Pallet proxy - shouldn't accept removed proxy", (context) = alith, context.polkadotApi.tx.proxy.removeProxy(baltathar.address, "Any", 0) ); - expect(events2[4].method).to.be.eq("ExtrinsicSuccess"); + expect(events2[5].method).to.be.eq("ExtrinsicSuccess"); const events3 = await substrateTransaction( context, diff --git a/tests/util/para-node.ts b/tests/util/para-node.ts index 2755b44c469..0624f599302 100644 --- a/tests/util/para-node.ts +++ b/tests/util/para-node.ts @@ -94,9 +94,9 @@ export interface NodePorts { wsPort: number; } -const RUNTIME_DIRECTORY = "runtimes"; -const BINARY_DIRECTORY = "binaries"; -const SPECS_DIRECTORY = "specs"; +const RUNTIME_DIRECTORY = process.env.RUNTIME_DIRECTORY || "runtimes"; +const BINARY_DIRECTORY = process.env.BINARY_DIRECTORY || "binaries"; +const SPECS_DIRECTORY = process.env.SPECS_DIRECTORY || "specs"; // Downloads the runtime and return the filepath export async function getRuntimeWasm( @@ -105,6 +105,10 @@ export async function getRuntimeWasm( ): Promise { const runtimePath = path.join(RUNTIME_DIRECTORY, `${runtimeName}-${runtimeTag}.wasm`); + if (!fs.existsSync(RUNTIME_DIRECTORY)) { + fs.mkdirSync(RUNTIME_DIRECTORY, { recursive: true }); + } + if (runtimeTag == "local") { const builtRuntimePath = path.join( OVERRIDE_RUNTIME_PATH || `../target/release/wbuild/${runtimeName}-runtime/`, @@ -176,7 +180,7 @@ export async function getMoonbeamDockerBinary(binaryTag: string): Promise ${specPath}` + `${binaryPath} build-spec --chain moonbase-local ` + + `--raw --disable-default-bootnode > ${specPath}` ); } return specPath; @@ -208,7 +213,8 @@ export async function generateRawSpecs( if (!fs.existsSync(specPath)) { child_process.execSync( `mkdir -p ${path.dirname(specPath)} && ` + - `${binaryPath} build-spec --chain moonbase-local --raw > ${specPath}` + `${binaryPath} build-spec --chain moonbase-local ` + + `--raw --disable-default-bootnode > ${specPath}` ); } return specPath; diff --git a/tests/util/providers.ts b/tests/util/providers.ts index cb6235910d5..a8a1ffa10e1 100644 --- a/tests/util/providers.ts +++ b/tests/util/providers.ts @@ -20,9 +20,12 @@ export async function customWeb3Request(web3: Web3, method: string, params: any[ (error: Error | null, result?: JsonRpcResponse) => { if (error) { reject( - `Failed to send custom request (${method} (${params.join(",")})): ${ - error.message || error.toString() - }` + `Failed to send custom request (${method} (${params + .map((p) => { + const str = p.toString(); + return str.length > 128 ? `${str.slice(0, 96)}...${str.slice(-28)}` : str; + }) + .join(",")})): ${error.message || error.toString()}` ); } resolve(result);