diff --git a/.dockerignore b/.dockerignore
index 834924b9f79d8..39dbc05c97e16 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -3,3 +3,4 @@ doc
.idea/
Dockerfile
.dockerignore
+.local
diff --git a/.gitignore b/.gitignore
index 28885a4830d9b..6c79bfaf62ed1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,3 +21,4 @@ rls*.log
*.orig
*.rej
**/wip/*.stderr
+.local
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c8c5abddce982..f1aecb91fbaf1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -78,7 +78,7 @@ check-runtime:
GITLAB_API: "https://gitlab.parity.io/api/v4"
GITHUB_API_PROJECT: "parity%2Finfrastructure%2Fgithub-api"
script:
- - ./scripts/gitlab/check_runtime.sh
+ - ./.maintain/gitlab/check_runtime.sh
allow_failure: true
@@ -89,7 +89,7 @@ check-line-width:
only:
- /^[0-9]+$/
script:
- - ./scripts/gitlab/check_line_width.sh
+ - ./.maintain/gitlab/check_line_width.sh
allow_failure: true
@@ -117,7 +117,7 @@ cargo-check-subkey:
except:
- /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
script:
- - cd ./subkey
+ - cd ./bin/subkey
- BUILD_DUMMY_WASM_BINARY=1 time cargo check --release
- sccache -s
@@ -145,8 +145,17 @@ test-linux-stable: &test-linux
paths:
- ${CI_COMMIT_SHORT_SHA}_warnings.log
+test-dependency-rules: &test-linux
+ stage: test
+ <<: *docker-env
+ allow_failure: true
+ except:
+ variables:
+ - $DEPLOY_TAG
+ script:
+ - .maintain/ensure-deps.sh
-test-srml-staking: &test-srml-staking
+test-paint-staking: &test-paint-staking
stage: test
<<: *docker-env
variables:
@@ -158,7 +167,7 @@ test-srml-staking: &test-srml-staking
variables:
- $DEPLOY_TAG
script:
- - cd srml/staking/
+ - cd paint/staking/
- WASM_BUILD_NO_COLOR=1 time cargo test --release --verbose --no-default-features --features std
- sccache -s
@@ -174,7 +183,7 @@ test-wasmtime: &test-wasmtime
variables:
- $DEPLOY_TAG
script:
- - cd core/executor
+ - cd client/executor
- WASM_BUILD_NO_COLOR=1 time cargo test --release --verbose --features wasmtime
- sccache -s
@@ -219,7 +228,7 @@ check-web-wasm:
- time cargo web build -p substrate-consensus-common
- time cargo web build -p substrate-telemetry
# Note: the command below is a bit weird because several Cargo issues prevent us from compiling the node in a more straight-forward way.
- - time cargo build --manifest-path=node/cli/Cargo.toml --no-default-features --features "browser" --target=wasm32-unknown-unknown
+ - time cargo build --manifest-path=bin/node/cli/Cargo.toml --no-default-features --features "browser" --target=wasm32-unknown-unknown
- sccache -s
node-exits:
@@ -228,7 +237,7 @@ node-exits:
except:
- /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
script:
- - ./ci/check_for_exit.sh
+ - ./.maintain/check_for_exit.sh
test-full-crypto-feature: &test-full-crypto-feature
@@ -243,7 +252,7 @@ test-full-crypto-feature: &test-full-crypto-feature
variables:
- $DEPLOY_TAG
script:
- - cd core/primitives/
+ - cd primitives/core/
- time cargo +nightly build --verbose --no-default-features --features full_crypto
- cd ../application-crypto
- time cargo +nightly build --verbose --no-default-features --features full_crypto
@@ -274,8 +283,8 @@ build-linux-substrate:
fi
- sha256sum ./artifacts/substrate/substrate | tee ./artifacts/substrate/substrate.sha256
- printf '\n# building node-template\n\n'
- - ./scripts/node-template-release.sh ./artifacts/substrate/substrate-node-template.tar.gz
- - cp -r scripts/docker/substrate.Dockerfile ./artifacts/substrate/
+ - ./.maintain/node-template-release.sh ./artifacts/substrate/substrate-node-template.tar.gz
+ - cp -r .maintain/docker/substrate.Dockerfile ./artifacts/substrate/
- sccache -s
build-linux-subkey:
@@ -298,7 +307,7 @@ build-linux-subkey:
sed -n -r 's/^subkey ([0-9.]+.*)/\1/p' |
tee ./artifacts/subkey/VERSION;
- sha256sum ./artifacts/subkey/subkey | tee ./artifacts/subkey/subkey.sha256
- - cp -r scripts/docker/subkey.Dockerfile ./artifacts/subkey/
+ - cp -r .maintain/docker/subkey.Dockerfile ./artifacts/subkey/
- sccache -s
build-rust-doc-release:
@@ -314,7 +323,7 @@ build-rust-doc-release:
<<: *build-only
script:
- rm -f ./crate-docs/index.html # use it as an indicator if the job succeeds
- - BUILD_DUMMY_WASM_BINARY=1 RUSTDOCFLAGS="--html-in-header $(pwd)/rustdoc-header.html" time cargo +nightly doc --release --all --verbose
+ - BUILD_DUMMY_WASM_BINARY=1 RUSTDOCFLAGS="--html-in-header $(pwd).maintain/rustdoc-header.html" time cargo +nightly doc --release --all --verbose
- cp -R ./target/doc ./crate-docs
- echo "" > ./crate-docs/index.html
- sccache -s
@@ -533,10 +542,10 @@ publish-gh-doc:
- echo "Substrate version = ${DEPLOY_TAG}"
# or use helm to render the template
- helm template
- --values ./scripts/kubernetes/values.yaml
+ --values ./.maintain/kubernetes/values.yaml
--set image.tag=${DEPLOY_TAG}
--set validator.keys=${VALIDATOR_KEYS}
- ./scripts/kubernetes | kubectl apply -f - --dry-run=false
+ ./.maintain/kubernetes | kubectl apply -f - --dry-run=false
- echo "# substrate namespace ${KUBE_NAMESPACE}"
- kubectl -n ${KUBE_NAMESPACE} get all
- echo "# substrate's nodes' external ip addresses:"
@@ -598,16 +607,16 @@ deploy-ue1-tag:
validator 1 4:
<<: *validator-deploy
script:
- - ./scripts/flamingfir-deploy.sh flamingfir-validator1
+ - ./.maintain/flamingfir-deploy.sh flamingfir-validator1
validator 2 4:
<<: *validator-deploy
script:
- - ./scripts/flamingfir-deploy.sh flamingfir-validator2
+ - ./.maintain/flamingfir-deploy.sh flamingfir-validator2
validator 3 4:
<<: *validator-deploy
script:
- - ./scripts/flamingfir-deploy.sh flamingfir-validator3
+ - ./.maintain/flamingfir-deploy.sh flamingfir-validator3
validator 4 4:
<<: *validator-deploy
script:
- - ./scripts/flamingfir-deploy.sh flamingfir-validator4
+ - ./.maintain/flamingfir-deploy.sh flamingfir-validator4
diff --git a/Dockerfile b/.maintain/Dockerfile
similarity index 100%
rename from Dockerfile
rename to .maintain/Dockerfile
diff --git a/scripts/build-only-wasm.sh b/.maintain/build-only-wasm.sh
similarity index 100%
rename from scripts/build-only-wasm.sh
rename to .maintain/build-only-wasm.sh
diff --git a/ci/check_for_exit.sh b/.maintain/check_for_exit.sh
similarity index 100%
rename from ci/check_for_exit.sh
rename to .maintain/check_for_exit.sh
diff --git a/scripts/common.sh b/.maintain/common.sh
similarity index 100%
rename from scripts/common.sh
rename to .maintain/common.sh
diff --git a/scripts/docker/subkey.Dockerfile b/.maintain/docker/subkey.Dockerfile
similarity index 93%
rename from scripts/docker/subkey.Dockerfile
rename to .maintain/docker/subkey.Dockerfile
index 6d5c559ea03dd..9184cad5b4058 100644
--- a/scripts/docker/subkey.Dockerfile
+++ b/.maintain/docker/subkey.Dockerfile
@@ -8,7 +8,7 @@ LABEL io.parity.image.authors="devops-team@parity.io" \
io.parity.image.vendor="Parity Technologies" \
io.parity.image.title="parity/subkey" \
io.parity.image.description="Subkey: key generating utility for Substrate." \
- io.parity.image.source="https://github.com/paritytech/substrate/blob/${VCS_REF}/scripts/docker/subkey.Dockerfile" \
+ io.parity.image.source="https://github.com/paritytech/substrate/blob/${VCS_REF}/.maintain/docker/subkey.Dockerfile" \
io.parity.image.revision="${VCS_REF}" \
io.parity.image.created="${BUILD_DATE}" \
io.parity.image.documentation="https://github.com/paritytech/substrate/tree/${VCS_REF}/subkey"
diff --git a/scripts/docker/substrate.Dockerfile b/.maintain/docker/substrate.Dockerfile
similarity index 96%
rename from scripts/docker/substrate.Dockerfile
rename to .maintain/docker/substrate.Dockerfile
index 2bdf49e2fcec2..7cd4576a9e89f 100644
--- a/scripts/docker/substrate.Dockerfile
+++ b/.maintain/docker/substrate.Dockerfile
@@ -8,7 +8,7 @@ LABEL io.parity.image.authors="devops-team@parity.io" \
io.parity.image.vendor="Parity Technologies" \
io.parity.image.title="parity/substrate" \
io.parity.image.description="Substrate: The platform for blockchain innovators." \
- io.parity.image.source="https://github.com/paritytech/substrate/blob/${VCS_REF}/scripts/docker/Dockerfile" \
+ io.parity.image.source="https://github.com/paritytech/substrate/blob/${VCS_REF}/.maintain/docker/Dockerfile" \
io.parity.image.revision="${VCS_REF}" \
io.parity.image.created="${BUILD_DATE}" \
io.parity.image.documentation="https://wiki.parity.io/Parity-Substrate"
diff --git a/.maintain/ensure-deps.sh b/.maintain/ensure-deps.sh
new file mode 100755
index 0000000000000..b4477dab5392c
--- /dev/null
+++ b/.maintain/ensure-deps.sh
@@ -0,0 +1,61 @@
+#!/usr/bin/env bash
+
+# The script is meant to check if the rules regarding packages
+# dependencies are satisfied.
+# The general format is:
+# [top-lvl-dir]<[crate-name-prefix]
+
+# For instance no crate within `./client` directory
+# is allowed to import any crate with a directory path containing `paint`.
+# Such rule is just: `client /dev/null
+done
+
+# Display violations and fail
+I=0
+for v in "${VIOLATIONS[@]}"
+do
+ cat << EOF
+
+===========================================
+======= Violation of rule: $v
+===========================================
+${PACKAGES[$I]}
+
+
+EOF
+ I=$I+1
+done
+
+exit ${#VIOLATIONS[@]}
diff --git a/scripts/flamingfir-deploy.sh b/.maintain/flamingfir-deploy.sh
similarity index 100%
rename from scripts/flamingfir-deploy.sh
rename to .maintain/flamingfir-deploy.sh
diff --git a/scripts/getgoing.sh b/.maintain/getgoing.sh
similarity index 100%
rename from scripts/getgoing.sh
rename to .maintain/getgoing.sh
diff --git a/scripts/gitlab/check_line_width.sh b/.maintain/gitlab/check_line_width.sh
similarity index 100%
rename from scripts/gitlab/check_line_width.sh
rename to .maintain/gitlab/check_line_width.sh
diff --git a/scripts/gitlab/check_runtime.sh b/.maintain/gitlab/check_runtime.sh
similarity index 93%
rename from scripts/gitlab/check_runtime.sh
rename to .maintain/gitlab/check_runtime.sh
index cd988718d05db..2b3a93e34bdbc 100755
--- a/scripts/gitlab/check_runtime.sh
+++ b/.maintain/gitlab/check_runtime.sh
@@ -1,7 +1,7 @@
#!/bin/sh
#
#
-# check for any changes in the node/src/runtime, srml/ and core/sr_* trees. if
+# check for any changes in the node/src/runtime, paint/ and core/sr_* trees. if
# there are any changes found, it should mark the PR breaksconsensus and
# "auto-fail" the PR if there isn't a change in the runtime/src/lib.rs file
# that alters the version.
@@ -32,7 +32,7 @@ github_label () {
# check if the wasm sources changed
if ! git diff --name-only origin/master...${CI_COMMIT_SHA} \
- | grep -q -e '^node/src/runtime' -e '^srml/' -e '^core/sr-' | grep -v -e '^core/sr-arithmetic/fuzzer'
+ | grep -q -e '^node/src/runtime' -e '^paint/' -e '^core/sr-' | grep -v -e '^core/sr-arithmetic/fuzzer'
then
cat <<-EOT
@@ -102,7 +102,7 @@ else
source file directories:
- node/src/runtime
- - srml
+ - paint
- core/sr-*
versions file: ${VERSIONS_FILE}
diff --git a/node-template/scripts/init.sh b/.maintain/init.sh
similarity index 100%
rename from node-template/scripts/init.sh
rename to .maintain/init.sh
diff --git a/scripts/kubernetes/Chart.yaml b/.maintain/kubernetes/Chart.yaml
similarity index 100%
rename from scripts/kubernetes/Chart.yaml
rename to .maintain/kubernetes/Chart.yaml
diff --git a/scripts/kubernetes/README.md b/.maintain/kubernetes/README.md
similarity index 100%
rename from scripts/kubernetes/README.md
rename to .maintain/kubernetes/README.md
diff --git a/scripts/kubernetes/templates/poddisruptionbudget.yaml b/.maintain/kubernetes/templates/poddisruptionbudget.yaml
similarity index 100%
rename from scripts/kubernetes/templates/poddisruptionbudget.yaml
rename to .maintain/kubernetes/templates/poddisruptionbudget.yaml
diff --git a/scripts/kubernetes/templates/secrets.yaml b/.maintain/kubernetes/templates/secrets.yaml
similarity index 100%
rename from scripts/kubernetes/templates/secrets.yaml
rename to .maintain/kubernetes/templates/secrets.yaml
diff --git a/scripts/kubernetes/templates/service.yaml b/.maintain/kubernetes/templates/service.yaml
similarity index 100%
rename from scripts/kubernetes/templates/service.yaml
rename to .maintain/kubernetes/templates/service.yaml
diff --git a/scripts/kubernetes/templates/serviceaccount.yaml b/.maintain/kubernetes/templates/serviceaccount.yaml
similarity index 100%
rename from scripts/kubernetes/templates/serviceaccount.yaml
rename to .maintain/kubernetes/templates/serviceaccount.yaml
diff --git a/scripts/kubernetes/templates/statefulset.yaml b/.maintain/kubernetes/templates/statefulset.yaml
similarity index 100%
rename from scripts/kubernetes/templates/statefulset.yaml
rename to .maintain/kubernetes/templates/statefulset.yaml
diff --git a/scripts/kubernetes/values.yaml b/.maintain/kubernetes/values.yaml
similarity index 100%
rename from scripts/kubernetes/values.yaml
rename to .maintain/kubernetes/values.yaml
diff --git a/scripts/node-template-release.sh b/.maintain/node-template-release.sh
similarity index 84%
rename from scripts/node-template-release.sh
rename to .maintain/node-template-release.sh
index 3b2c0d6f0f6b8..897677edc5c39 100755
--- a/scripts/node-template-release.sh
+++ b/.maintain/node-template-release.sh
@@ -11,6 +11,6 @@ if [ "$#" -ne 1 ]; then
fi
PATH_TO_ARCHIVE=$(pwd)/$1
-cd $PROJECT_ROOT/scripts/node-template-release
+cd $PROJECT_ROOT/.maintain/node-template-release
cargo run $PROJECT_ROOT/node-template $PATH_TO_ARCHIVE
diff --git a/scripts/node-template-release/Cargo.toml b/.maintain/node-template-release/Cargo.toml
similarity index 100%
rename from scripts/node-template-release/Cargo.toml
rename to .maintain/node-template-release/Cargo.toml
diff --git a/scripts/node-template-release/src/main.rs b/.maintain/node-template-release/src/main.rs
similarity index 100%
rename from scripts/node-template-release/src/main.rs
rename to .maintain/node-template-release/src/main.rs
diff --git a/scripts/runtime-dep.py b/.maintain/runtime-dep.py
similarity index 91%
rename from scripts/runtime-dep.py
rename to .maintain/runtime-dep.py
index 1d0c42b2f57e8..3198bb3e2669e 100755
--- a/scripts/runtime-dep.py
+++ b/.maintain/runtime-dep.py
@@ -4,7 +4,7 @@
# pip install toml
# sudo apt-get install graphviz
# the first parameter is the runtime folder
-# python ./scripts/runtime-dep.py ./substrate/runtime | dot -Tpng -o output.png
+# python ./.maintain/runtime-dep.py ./substrate/runtime | dot -Tpng -o output.png
import sys
import os
import toml
diff --git a/rustdoc-header.html b/.maintain/rustdoc-header.html
similarity index 100%
rename from rustdoc-header.html
rename to .maintain/rustdoc-header.html
diff --git a/scripts/sentry-node/docker-compose.yml b/.maintain/sentry-node/docker-compose.yml
similarity index 97%
rename from scripts/sentry-node/docker-compose.yml
rename to .maintain/sentry-node/docker-compose.yml
index 78f8ba36b82ee..dd2aee6995473 100644
--- a/scripts/sentry-node/docker-compose.yml
+++ b/.maintain/sentry-node/docker-compose.yml
@@ -12,7 +12,7 @@
#
# 1. Build `target/release/substrate` binary: `cargo build --release`
#
-# 2. Start networks and containers: `sudo docker-compose -f scripts/sentry-node/docker-compose.yml up`
+# 2. Start networks and containers: `sudo docker-compose -f .maintain/sentry-node/docker-compose.yml up`
#
# 3. Reach:
# - polkadot/apps on localhost:3000
diff --git a/scripts/update-copyright.sh b/.maintain/update-copyright.sh
similarity index 100%
rename from scripts/update-copyright.sh
rename to .maintain/update-copyright.sh
diff --git a/scripts/update-deps.sh b/.maintain/update-deps.sh
similarity index 100%
rename from scripts/update-deps.sh
rename to .maintain/update-deps.sh
diff --git a/scripts/update.sh b/.maintain/update.sh
similarity index 100%
rename from scripts/update.sh
rename to .maintain/update.sh
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 4180defedfd6a..0000000000000
--- a/.travis.yml
+++ /dev/null
@@ -1,28 +0,0 @@
-# Request an environment that provides sudo (that goes with larger containers)
-# and a minimal language environment.
-sudo: true
-language: minimal
-
-cache: cargo
-
-branches:
- only:
- - master
-
-env:
- global:
- - RUST_BACKTRACE=1
- matrix:
- - RUST_TOOLCHAIN=nightly TARGET=wasm
- - RUST_TOOLCHAIN=stable TARGET=native
-
-before_install:
- # Check how much space we've got on this machine.
- - df -h
-
-script:
- - ./ci/script.sh
-
-after_script:
- # Check how much free disk space left after the build
- - df -h
diff --git a/Cargo.lock b/Cargo.lock
index 2fb1475f31ba9..5fe1e3003edc5 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -999,15 +999,6 @@ dependencies = [
"libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
]
-[[package]]
-name = "error-chain"
-version = "0.12.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "backtrace 0.3.40 (registry+https://github.com/rust-lang/crates.io-index)",
- "version_check 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
[[package]]
name = "evm"
version = "0.14.0"
@@ -2707,22 +2698,22 @@ dependencies = [
"node-primitives 2.0.0",
"node-rpc 2.0.0",
"node-runtime 2.0.0",
+ "paint-authority-discovery 0.1.0",
+ "paint-balances 2.0.0",
+ "paint-contracts 2.0.0",
+ "paint-finality-tracker 2.0.0",
+ "paint-im-online 0.1.0",
+ "paint-indices 2.0.0",
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "paint-timestamp 2.0.0",
+ "paint-transaction-payment 2.0.0",
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
"rand 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
"sr-io 2.0.0",
"sr-primitives 2.0.0",
- "srml-authority-discovery 0.1.0",
- "srml-balances 2.0.0",
- "srml-contracts 2.0.0",
- "srml-finality-tracker 2.0.0",
- "srml-im-online 0.1.0",
- "srml-indices 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "srml-timestamp 2.0.0",
- "srml-transaction-payment 2.0.0",
"structopt 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
"substrate-authority-discovery 2.0.0",
"substrate-authority-discovery-primitives 2.0.0",
@@ -2731,6 +2722,7 @@ dependencies = [
"substrate-chain-spec 2.0.0",
"substrate-cli 2.0.0",
"substrate-client 2.0.0",
+ "substrate-client-api 2.0.0",
"substrate-client-db 2.0.0",
"substrate-consensus-babe 2.0.0",
"substrate-consensus-babe-primitives 2.0.0",
@@ -2764,19 +2756,19 @@ dependencies = [
"node-primitives 2.0.0",
"node-runtime 2.0.0",
"node-testing 2.0.0",
+ "paint-balances 2.0.0",
+ "paint-contracts 2.0.0",
+ "paint-grandpa 2.0.0",
+ "paint-indices 2.0.0",
+ "paint-session 2.0.0",
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "paint-timestamp 2.0.0",
+ "paint-transaction-payment 2.0.0",
+ "paint-treasury 2.0.0",
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"sr-io 2.0.0",
"sr-primitives 2.0.0",
- "srml-balances 2.0.0",
- "srml-contracts 2.0.0",
- "srml-grandpa 2.0.0",
- "srml-indices 2.0.0",
- "srml-session 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "srml-timestamp 2.0.0",
- "srml-transaction-payment 2.0.0",
- "srml-treasury 2.0.0",
"substrate-executor 2.0.0",
"substrate-primitives 2.0.0",
"substrate-state-machine 2.0.0",
@@ -2803,10 +2795,10 @@ dependencies = [
"jsonrpc-core 14.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
"node-primitives 2.0.0",
"node-runtime 2.0.0",
+ "paint-contracts-rpc 2.0.0",
+ "paint-system-rpc 2.0.0",
+ "paint-transaction-payment-rpc 2.0.0",
"sr-primitives 2.0.0",
- "srml-contracts-rpc 2.0.0",
- "srml-system-rpc 2.0.0",
- "srml-transaction-payment-rpc 2.0.0",
"substrate-client 2.0.0",
"substrate-transaction-pool 2.0.0",
]
@@ -2830,6 +2822,36 @@ version = "2.0.0"
dependencies = [
"integer-sqrt 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
"node-primitives 2.0.0",
+ "paint-authority-discovery 0.1.0",
+ "paint-authorship 0.1.0",
+ "paint-babe 2.0.0",
+ "paint-balances 2.0.0",
+ "paint-collective 2.0.0",
+ "paint-contracts 2.0.0",
+ "paint-contracts-rpc-runtime-api 2.0.0",
+ "paint-democracy 2.0.0",
+ "paint-elections-phragmen 2.0.0",
+ "paint-executive 2.0.0",
+ "paint-finality-tracker 2.0.0",
+ "paint-grandpa 2.0.0",
+ "paint-im-online 0.1.0",
+ "paint-indices 2.0.0",
+ "paint-membership 2.0.0",
+ "paint-nicks 2.0.0",
+ "paint-offences 1.0.0",
+ "paint-randomness-collective-flip 2.0.0",
+ "paint-session 2.0.0",
+ "paint-staking 2.0.0",
+ "paint-staking-reward-curve 2.0.0",
+ "paint-sudo 2.0.0",
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "paint-system-rpc-runtime-api 2.0.0",
+ "paint-timestamp 2.0.0",
+ "paint-transaction-payment 2.0.0",
+ "paint-transaction-payment-rpc-runtime-api 2.0.0",
+ "paint-treasury 2.0.0",
+ "paint-utility 2.0.0",
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"rustc-hex 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
"safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -2840,36 +2862,6 @@ dependencies = [
"sr-staking-primitives 2.0.0",
"sr-std 2.0.0",
"sr-version 2.0.0",
- "srml-authority-discovery 0.1.0",
- "srml-authorship 0.1.0",
- "srml-babe 2.0.0",
- "srml-balances 2.0.0",
- "srml-collective 2.0.0",
- "srml-contracts 2.0.0",
- "srml-contracts-rpc-runtime-api 2.0.0",
- "srml-democracy 2.0.0",
- "srml-elections-phragmen 2.0.0",
- "srml-executive 2.0.0",
- "srml-finality-tracker 2.0.0",
- "srml-grandpa 2.0.0",
- "srml-im-online 0.1.0",
- "srml-indices 2.0.0",
- "srml-membership 2.0.0",
- "srml-nicks 2.0.0",
- "srml-offences 1.0.0",
- "srml-randomness-collective-flip 2.0.0",
- "srml-session 2.0.0",
- "srml-staking 2.0.0",
- "srml-staking-reward-curve 2.0.0",
- "srml-sudo 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "srml-system-rpc-runtime-api 2.0.0",
- "srml-timestamp 2.0.0",
- "srml-transaction-payment 2.0.0",
- "srml-transaction-payment-rpc-runtime-api 2.0.0",
- "srml-treasury 2.0.0",
- "srml-utility 2.0.0",
"substrate-authority-discovery-primitives 2.0.0",
"substrate-block-builder-runtime-api 2.0.0",
"substrate-consensus-babe-primitives 2.0.0",
@@ -2919,6 +2911,17 @@ dependencies = [
name = "node-template-runtime"
version = "2.0.0"
dependencies = [
+ "paint-aura 2.0.0",
+ "paint-balances 2.0.0",
+ "paint-executive 2.0.0",
+ "paint-grandpa 2.0.0",
+ "paint-indices 2.0.0",
+ "paint-randomness-collective-flip 2.0.0",
+ "paint-sudo 2.0.0",
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "paint-timestamp 2.0.0",
+ "paint-transaction-payment 2.0.0",
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -2927,17 +2930,6 @@ dependencies = [
"sr-primitives 2.0.0",
"sr-std 2.0.0",
"sr-version 2.0.0",
- "srml-aura 2.0.0",
- "srml-balances 2.0.0",
- "srml-executive 2.0.0",
- "srml-grandpa 2.0.0",
- "srml-indices 2.0.0",
- "srml-randomness-collective-flip 2.0.0",
- "srml-sudo 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "srml-timestamp 2.0.0",
- "srml-transaction-payment 2.0.0",
"substrate-block-builder-runtime-api 2.0.0",
"substrate-consensus-aura-primitives 2.0.0",
"substrate-inherents 2.0.0",
@@ -2945,7 +2937,7 @@ dependencies = [
"substrate-primitives 2.0.0",
"substrate-session 2.0.0",
"substrate-transaction-pool-runtime-api 2.0.0",
- "substrate-wasm-builder-runner 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
+ "substrate-wasm-builder-runner 1.0.4",
]
[[package]]
@@ -2955,20 +2947,20 @@ dependencies = [
"node-executor 2.0.0",
"node-primitives 2.0.0",
"node-runtime 2.0.0",
+ "paint-balances 2.0.0",
+ "paint-contracts 2.0.0",
+ "paint-grandpa 2.0.0",
+ "paint-indices 2.0.0",
+ "paint-session 2.0.0",
+ "paint-staking 2.0.0",
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "paint-timestamp 2.0.0",
+ "paint-transaction-payment 2.0.0",
+ "paint-treasury 2.0.0",
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"sr-io 2.0.0",
"sr-primitives 2.0.0",
- "srml-balances 2.0.0",
- "srml-contracts 2.0.0",
- "srml-grandpa 2.0.0",
- "srml-indices 2.0.0",
- "srml-session 2.0.0",
- "srml-staking 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "srml-timestamp 2.0.0",
- "srml-transaction-payment 2.0.0",
- "srml-treasury 2.0.0",
"substrate-client 2.0.0",
"substrate-executor 2.0.0",
"substrate-keyring 2.0.0",
@@ -3117,2036 +3109,2023 @@ dependencies = [
]
[[package]]
-name = "parity-bytes"
-version = "0.1.0"
-source = "git+https://github.com/paritytech/parity-common?rev=b0317f649ab2c665b7987b8475878fc4d2e1f81d#b0317f649ab2c665b7987b8475878fc4d2e1f81d"
-
-[[package]]
-name = "parity-multiaddr"
-version = "0.5.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-assets"
+version = "2.0.0"
dependencies = [
- "arrayref 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
- "bs58 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
- "data-encoding 2.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "parity-multihash 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
- "percent-encoding 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "unsigned-varint 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "url 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-io 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-std 2.0.0",
+ "substrate-primitives 2.0.0",
]
[[package]]
-name = "parity-multihash"
-version = "0.1.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-aura"
+version = "2.0.0"
dependencies = [
- "blake2 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
- "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
- "sha-1 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "sha2 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "sha3 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "unsigned-varint 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-session 2.0.0",
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "paint-timestamp 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-io 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-std 2.0.0",
+ "substrate-application-crypto 2.0.0",
+ "substrate-consensus-aura-primitives 2.0.0",
+ "substrate-inherents 2.0.0",
+ "substrate-primitives 2.0.0",
]
[[package]]
-name = "parity-scale-codec"
-version = "1.0.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-authority-discovery"
+version = "0.1.0"
dependencies = [
- "arrayvec 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
- "bitvec 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "byte-slice-cast 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
- "parity-scale-codec-derive 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-session 2.0.0",
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-io 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-staking-primitives 2.0.0",
+ "sr-std 2.0.0",
+ "substrate-application-crypto 2.0.0",
+ "substrate-authority-discovery-primitives 2.0.0",
+ "substrate-primitives 2.0.0",
]
[[package]]
-name = "parity-scale-codec-derive"
-version = "1.0.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-authorship"
+version = "0.1.0"
dependencies = [
- "proc-macro-crate 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
- "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
+ "impl-trait-for-tuples 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-io 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-std 2.0.0",
+ "substrate-inherents 2.0.0",
+ "substrate-primitives 2.0.0",
]
[[package]]
-name = "parity-send-wrapper"
-version = "0.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-babe"
+version = "2.0.0"
+dependencies = [
+ "hex-literal 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-session 2.0.0",
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "paint-timestamp 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-io 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-staking-primitives 2.0.0",
+ "sr-std 2.0.0",
+ "sr-version 2.0.0",
+ "substrate-consensus-babe-primitives 2.0.0",
+ "substrate-inherents 2.0.0",
+ "substrate-primitives 2.0.0",
+ "substrate-test-runtime 2.0.0",
+]
[[package]]
-name = "parity-util-mem"
-version = "0.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-balances"
+version = "2.0.0"
dependencies = [
- "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
- "malloc_size_of_derive 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "paint-transaction-payment 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-io 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-std 2.0.0",
+ "substrate-keyring 2.0.0",
+ "substrate-primitives 2.0.0",
]
[[package]]
-name = "parity-wasm"
-version = "0.32.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-collective"
+version = "2.0.0"
dependencies = [
- "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "hex-literal 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-balances 2.0.0",
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-io 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-std 2.0.0",
+ "substrate-primitives 2.0.0",
]
[[package]]
-name = "parity-wasm"
-version = "0.40.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-contracts"
+version = "2.0.0"
+dependencies = [
+ "assert_matches 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "hex-literal 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-balances 2.0.0",
+ "paint-randomness-collective-flip 2.0.0",
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "paint-timestamp 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "parity-wasm 0.40.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "pwasm-utils 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-io 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-sandbox 2.0.0",
+ "sr-std 2.0.0",
+ "substrate-primitives 2.0.0",
+ "wabt 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "wasmi-validation 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
[[package]]
-name = "parity-wasm"
-version = "0.41.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-contracts-rpc"
+version = "2.0.0"
+dependencies = [
+ "jsonrpc-core 14.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "jsonrpc-core-client 14.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "jsonrpc-derive 14.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-contracts-rpc-runtime-api 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-primitives 2.0.0",
+ "substrate-client 2.0.0",
+ "substrate-primitives 2.0.0",
+ "substrate-rpc-primitives 2.0.0",
+]
[[package]]
-name = "parking_lot"
-version = "0.6.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-contracts-rpc-runtime-api"
+version = "2.0.0"
dependencies = [
- "lock_api 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
- "parking_lot_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-api 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-std 2.0.0",
]
[[package]]
-name = "parking_lot"
-version = "0.7.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-democracy"
+version = "2.0.0"
dependencies = [
- "lock_api 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
- "parking_lot_core 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-balances 2.0.0",
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-io 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-std 2.0.0",
+ "substrate-primitives 2.0.0",
]
[[package]]
-name = "parking_lot"
-version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-elections"
+version = "2.0.0"
dependencies = [
- "lock_api 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "parking_lot_core 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "hex-literal 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-balances 2.0.0",
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-io 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-std 2.0.0",
+ "substrate-primitives 2.0.0",
]
[[package]]
-name = "parking_lot"
-version = "0.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-elections-phragmen"
+version = "2.0.0"
dependencies = [
- "lock_api 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "parking_lot_core 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "hex-literal 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-balances 2.0.0",
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-io 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-std 2.0.0",
+ "substrate-phragmen 2.0.0",
+ "substrate-primitives 2.0.0",
]
[[package]]
-name = "parking_lot_core"
-version = "0.3.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-evm"
+version = "2.0.0"
dependencies = [
- "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
- "rand 0.5.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "smallvec 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "evm 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-balances 2.0.0",
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "paint-timestamp 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "primitive-types 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rlp 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sha3 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-io 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-std 2.0.0",
+ "substrate-primitives 2.0.0",
]
[[package]]
-name = "parking_lot_core"
-version = "0.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-example"
+version = "2.0.0"
dependencies = [
- "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
- "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
- "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "smallvec 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-balances 2.0.0",
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-io 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-std 2.0.0",
+ "substrate-primitives 2.0.0",
]
[[package]]
-name = "parking_lot_core"
-version = "0.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-executive"
+version = "2.0.0"
dependencies = [
- "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
- "cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
- "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
- "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)",
- "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "smallvec 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "hex-literal 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-balances 2.0.0",
+ "paint-indices 2.0.0",
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "paint-transaction-payment 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-io 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-std 2.0.0",
+ "substrate-primitives 2.0.0",
]
[[package]]
-name = "parking_lot_core"
-version = "0.6.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-finality-tracker"
+version = "2.0.0"
dependencies = [
- "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
- "cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
- "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)",
- "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "smallvec 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "impl-trait-for-tuples 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-io 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-std 2.0.0",
+ "substrate-inherents 2.0.0",
+ "substrate-primitives 2.0.0",
]
[[package]]
-name = "paste"
-version = "0.1.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-generic-asset"
+version = "2.0.0"
dependencies = [
- "paste-impl 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "proc-macro-hack 0.5.11 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-io 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-std 2.0.0",
+ "substrate-primitives 2.0.0",
]
[[package]]
-name = "paste-impl"
-version = "0.1.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-grandpa"
+version = "2.0.0"
dependencies = [
- "proc-macro-hack 0.5.11 (registry+https://github.com/rust-lang/crates.io-index)",
- "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "syn 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-finality-tracker 2.0.0",
+ "paint-session 2.0.0",
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-io 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-staking-primitives 2.0.0",
+ "sr-std 2.0.0",
+ "substrate-finality-grandpa-primitives 2.0.0",
+ "substrate-primitives 2.0.0",
]
[[package]]
-name = "pbkdf2"
-version = "0.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-im-online"
+version = "0.1.0"
dependencies = [
- "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "crypto-mac 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-authorship 0.1.0",
+ "paint-session 2.0.0",
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-io 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-staking-primitives 2.0.0",
+ "sr-std 2.0.0",
+ "substrate-application-crypto 2.0.0",
+ "substrate-offchain 2.0.0",
+ "substrate-primitives 2.0.0",
]
[[package]]
-name = "pdqselect"
-version = "0.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-indices"
+version = "2.0.0"
+dependencies = [
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "ref_thread_local 0.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-io 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-std 2.0.0",
+ "substrate-keyring 2.0.0",
+ "substrate-primitives 2.0.0",
+]
[[package]]
-name = "peeking_take_while"
-version = "0.1.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-membership"
+version = "2.0.0"
+dependencies = [
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-io 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-std 2.0.0",
+ "substrate-primitives 2.0.0",
+]
[[package]]
-name = "percent-encoding"
-version = "1.0.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-metadata"
+version = "2.0.0"
+dependencies = [
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-std 2.0.0",
+ "substrate-primitives 2.0.0",
+]
[[package]]
-name = "percent-encoding"
-version = "2.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-nicks"
+version = "2.0.0"
+dependencies = [
+ "paint-balances 2.0.0",
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-io 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-std 2.0.0",
+ "substrate-primitives 2.0.0",
+]
[[package]]
-name = "petgraph"
-version = "0.4.13"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-offences"
+version = "1.0.0"
dependencies = [
- "fixedbitset 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-balances 2.0.0",
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-io 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-staking-primitives 2.0.0",
+ "sr-std 2.0.0",
+ "substrate-primitives 2.0.0",
]
[[package]]
-name = "pin-utils"
-version = "0.1.0-alpha.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-randomness-collective-flip"
+version = "2.0.0"
+dependencies = [
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-io 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-std 2.0.0",
+ "substrate-primitives 2.0.0",
+]
[[package]]
-name = "pkg-config"
-version = "0.3.17"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-scored-pool"
+version = "1.0.0"
+dependencies = [
+ "paint-balances 2.0.0",
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-io 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-std 2.0.0",
+ "substrate-primitives 2.0.0",
+]
[[package]]
-name = "plain"
-version = "0.2.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-session"
+version = "2.0.0"
+dependencies = [
+ "impl-trait-for-tuples 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "paint-timestamp 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-io 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-staking-primitives 2.0.0",
+ "sr-std 2.0.0",
+ "substrate-application-crypto 2.0.0",
+ "substrate-primitives 2.0.0",
+ "substrate-trie 2.0.0",
+]
[[package]]
-name = "ppv-lite86"
-version = "0.2.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-staking"
+version = "2.0.0"
+dependencies = [
+ "paint-authorship 0.1.0",
+ "paint-balances 2.0.0",
+ "paint-session 2.0.0",
+ "paint-staking-reward-curve 2.0.0",
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "paint-timestamp 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-io 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-staking-primitives 2.0.0",
+ "sr-std 2.0.0",
+ "substrate-keyring 2.0.0",
+ "substrate-phragmen 2.0.0",
+ "substrate-primitives 2.0.0",
+]
[[package]]
-name = "pretty_assertions"
-version = "0.6.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-staking-reward-curve"
+version = "2.0.0"
dependencies = [
- "ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "ctor 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)",
- "difference 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "output_vt100 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro-crate 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-primitives 2.0.0",
+ "syn 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "primitive-types"
-version = "0.6.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-sudo"
+version = "2.0.0"
dependencies = [
- "fixed-hash 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "impl-codec 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "impl-rlp 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "impl-serde 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "uint 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-io 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-std 2.0.0",
+ "substrate-primitives 2.0.0",
]
[[package]]
-name = "proc-macro-crate"
-version = "0.1.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-support"
+version = "2.0.0"
dependencies = [
- "toml 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)",
+ "bitmask 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "impl-trait-for-tuples 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "once_cell 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-metadata 2.0.0",
+ "paint-support-procedural 2.0.0",
+ "paint-system 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paste 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "pretty_assertions 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-io 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-std 2.0.0",
+ "substrate-inherents 2.0.0",
+ "substrate-primitives 2.0.0",
+ "substrate-state-machine 2.0.0",
]
[[package]]
-name = "proc-macro-error"
-version = "0.2.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-support-procedural"
+version = "2.0.0"
dependencies = [
+ "paint-support-procedural-tools 2.0.0",
"proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
"syn 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "proc-macro-hack"
-version = "0.5.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-support-procedural-tools"
+version = "2.0.0"
dependencies = [
+ "paint-support-procedural-tools-derive 2.0.0",
+ "proc-macro-crate 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
"proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
"syn 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "proc-macro-nested"
-version = "0.1.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-support-procedural-tools-derive"
+version = "2.0.0"
+dependencies = [
+ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "syn 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
+]
[[package]]
-name = "proc-macro2"
-version = "0.4.30"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-support-rpc"
+version = "2.0.0"
dependencies = [
- "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "jsonrpc-client-transports 14.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "jsonrpc-core 14.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "substrate-primitives-storage 2.0.0",
+ "substrate-rpc-api 2.0.0",
+ "tokio 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "proc-macro2"
-version = "1.0.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-support-test"
+version = "2.0.0"
dependencies = [
- "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-support 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "pretty_assertions 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-io 2.0.0",
+ "sr-primitives 2.0.0",
+ "substrate-inherents 2.0.0",
+ "substrate-primitives 2.0.0",
+ "substrate-state-machine 2.0.0",
+ "trybuild 1.0.17 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "prost"
-version = "0.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-system"
+version = "2.0.0"
dependencies = [
- "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
- "prost-derive 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "criterion 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
+ "impl-trait-for-tuples 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-support 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-io 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-std 2.0.0",
+ "sr-version 2.0.0",
+ "substrate-primitives 2.0.0",
]
[[package]]
-name = "prost-build"
-version = "0.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-system-rpc"
+version = "2.0.0"
dependencies = [
- "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
- "heck 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "itertools 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "env_logger 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "futures-preview 0.3.0-alpha.19 (registry+https://github.com/rust-lang/crates.io-index)",
+ "jsonrpc-core 14.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "jsonrpc-core-client 14.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "jsonrpc-derive 14.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
- "multimap 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "petgraph 0.4.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "prost 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "prost-types 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "tempfile 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "which 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-system-rpc-runtime-api 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-primitives 2.0.0",
+ "substrate-client 2.0.0",
+ "substrate-primitives 2.0.0",
+ "substrate-test-runtime-client 2.0.0",
+ "substrate-transaction-pool 2.0.0",
]
[[package]]
-name = "prost-derive"
-version = "0.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-system-rpc-runtime-api"
+version = "2.0.0"
dependencies = [
- "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "itertools 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
- "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-api 2.0.0",
]
[[package]]
-name = "prost-types"
-version = "0.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-timestamp"
+version = "2.0.0"
dependencies = [
- "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
- "prost 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "impl-trait-for-tuples 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-io 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-std 2.0.0",
+ "substrate-inherents 2.0.0",
+ "substrate-primitives 2.0.0",
]
[[package]]
-name = "protobuf"
-version = "2.8.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-transaction-payment"
+version = "2.0.0"
+dependencies = [
+ "paint-balances 2.0.0",
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "paint-transaction-payment-rpc-runtime-api 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-io 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-std 2.0.0",
+ "substrate-primitives 2.0.0",
+]
[[package]]
-name = "pwasm-utils"
-version = "0.11.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-transaction-payment-rpc"
+version = "2.0.0"
dependencies = [
- "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
- "parity-wasm 0.40.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "jsonrpc-core 14.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "jsonrpc-core-client 14.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "jsonrpc-derive 14.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-transaction-payment-rpc-runtime-api 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-primitives 2.0.0",
+ "substrate-client 2.0.0",
+ "substrate-primitives 2.0.0",
+ "substrate-rpc-primitives 2.0.0",
]
[[package]]
-name = "quick-error"
-version = "1.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-transaction-payment-rpc-runtime-api"
+version = "2.0.0"
+dependencies = [
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-api 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-std 2.0.0",
+]
[[package]]
-name = "quickcheck"
-version = "0.8.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-treasury"
+version = "2.0.0"
dependencies = [
- "env_logger 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
- "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
- "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-balances 2.0.0",
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-io 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-std 2.0.0",
+ "substrate-primitives 2.0.0",
]
[[package]]
-name = "quickcheck"
-version = "0.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+name = "paint-utility"
+version = "2.0.0"
dependencies = [
- "env_logger 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
- "rand 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-balances 2.0.0",
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-io 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-std 2.0.0",
+ "substrate-primitives 2.0.0",
]
[[package]]
-name = "quote"
-version = "0.6.13"
+name = "parity-bytes"
+version = "0.1.0"
+source = "git+https://github.com/paritytech/parity-common?rev=b0317f649ab2c665b7987b8475878fc4d2e1f81d#b0317f649ab2c665b7987b8475878fc4d2e1f81d"
+
+[[package]]
+name = "parity-multiaddr"
+version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
+ "arrayref 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
+ "bs58 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
+ "data-encoding 2.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "parity-multihash 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
+ "percent-encoding 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "unsigned-varint 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "url 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "quote"
-version = "1.0.2"
+name = "parity-multihash"
+version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "blake2 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sha-1 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sha2 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sha3 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "unsigned-varint 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "rand"
-version = "0.3.23"
+name = "parity-scale-codec"
+version = "1.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
- "rand 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "arrayvec 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
+ "bitvec 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "byte-slice-cast 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
+ "parity-scale-codec-derive 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "rand"
-version = "0.4.6"
+name = "parity-scale-codec-derive"
+version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
- "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "rdrand 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro-crate 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
+ "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "rand"
-version = "0.5.6"
+name = "parity-send-wrapper"
+version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
- "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
-]
[[package]]
-name = "rand"
-version = "0.6.5"
+name = "parity-util-mem"
+version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
- "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
- "rand_chacha 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "rand_hc 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "rand_isaac 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "rand_jitter 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
- "rand_os 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "rand_pcg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "rand_xorshift 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
+ "malloc_size_of_derive 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "rand"
-version = "0.7.2"
+name = "parity-wasm"
+version = "0.32.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "getrandom 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
- "rand_chacha 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "rand_hc 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "rand_chacha"
-version = "0.1.1"
+name = "parity-wasm"
+version = "0.40.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
- "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
-]
[[package]]
-name = "rand_chacha"
-version = "0.2.1"
+name = "parity-wasm"
+version = "0.41.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "c2-chacha 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
-]
[[package]]
-name = "rand_core"
-version = "0.3.1"
+name = "parking_lot"
+version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "lock_api 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
+ "parking_lot_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "rand_core"
-version = "0.4.2"
+name = "parking_lot"
+version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "lock_api 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
+ "parking_lot_core 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
[[package]]
-name = "rand_core"
-version = "0.5.1"
+name = "parking_lot"
+version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "getrandom 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
+ "lock_api 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "parking_lot_core 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "rand_hc"
-version = "0.1.0"
+name = "parking_lot"
+version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "lock_api 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "parking_lot_core 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "rand_hc"
-version = "0.2.0"
+name = "parking_lot_core"
+version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand 0.5.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "smallvec 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
+ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "rand_isaac"
-version = "0.1.1"
+name = "parking_lot_core"
+version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "smallvec 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
+ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "rand_jitter"
-version = "0.1.4"
+name = "parking_lot_core"
+version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
+ "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
+ "cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
- "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
+ "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "smallvec 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
"winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "rand_os"
-version = "0.1.3"
+name = "parking_lot_core"
+version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
+ "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
"cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
- "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "rdrand 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "wasm-bindgen 0.2.54 (registry+https://github.com/rust-lang/crates.io-index)",
+ "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "smallvec 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
"winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "rand_os"
-version = "0.2.2"
+name = "paste"
+version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "getrandom 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paste-impl 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro-hack 0.5.11 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "rand_pcg"
-version = "0.1.2"
+name = "paste-impl"
+version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
- "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro-hack 0.5.11 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "syn 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "rand_xorshift"
-version = "0.1.1"
+name = "pbkdf2"
+version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "crypto-mac 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "rand_xoshiro"
+name = "pdqselect"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
-]
[[package]]
-name = "rand_xoshiro"
-version = "0.3.1"
+name = "peeking_take_while"
+version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
-]
[[package]]
-name = "raw-cpuid"
-version = "6.1.0"
+name = "percent-encoding"
+version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "cc 1.0.47 (registry+https://github.com/rust-lang/crates.io-index)",
- "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
-]
[[package]]
-name = "rayon"
-version = "1.2.0"
+name = "percent-encoding"
+version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "crossbeam-deque 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "either 1.5.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "rayon-core 1.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
-]
[[package]]
-name = "rayon-core"
-version = "1.6.0"
+name = "petgraph"
+version = "0.4.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "crossbeam-deque 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "crossbeam-queue 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "crossbeam-utils 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "num_cpus 1.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "fixedbitset 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "rdrand"
-version = "0.4.0"
+name = "pin-utils"
+version = "0.1.0-alpha.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
-]
[[package]]
-name = "redox_syscall"
-version = "0.1.56"
+name = "pkg-config"
+version = "0.3.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
-name = "redox_users"
-version = "0.3.1"
+name = "plain"
+version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "rand_os 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)",
- "rust-argon2 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
-]
[[package]]
-name = "ref_thread_local"
-version = "0.0.0"
+name = "ppv-lite86"
+version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
-name = "regex"
-version = "1.3.1"
+name = "pretty_assertions"
+version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "aho-corasick 0.7.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "regex-syntax 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)",
- "thread_local 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "ctor 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)",
+ "difference 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "output_vt100 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "regex-automata"
-version = "0.1.8"
+name = "primitive-types"
+version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "fixed-hash 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "impl-codec 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "impl-rlp 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "impl-serde 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "uint 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "regex-syntax"
-version = "0.6.12"
+name = "proc-macro-crate"
+version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "toml 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)",
+]
[[package]]
-name = "region"
-version = "2.1.2"
+name = "proc-macro-error"
+version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
- "mach 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "syn 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "remove_dir_all"
-version = "0.5.2"
+name = "proc-macro-hack"
+version = "0.5.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "syn 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "rhododendron"
-version = "0.7.0"
+name = "proc-macro-nested"
+version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "error-chain 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)",
- "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
-]
[[package]]
-name = "ring"
-version = "0.16.9"
+name = "proc-macro2"
+version = "0.4.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "cc 1.0.47 (registry+https://github.com/rust-lang/crates.io-index)",
- "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
- "spin 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "untrusted 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "web-sys 0.3.31 (registry+https://github.com/rust-lang/crates.io-index)",
- "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "rlp"
-version = "0.4.3"
+name = "proc-macro2"
+version = "1.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "rustc-hex 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "rocksdb"
-version = "0.11.0"
+name = "prost"
+version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
- "librocksdb-sys 5.18.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
+ "prost-derive 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "rpassword"
-version = "4.0.1"
+name = "prost-build"
+version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
- "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
+ "heck 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "itertools 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "multimap 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "petgraph 0.4.13 (registry+https://github.com/rust-lang/crates.io-index)",
+ "prost 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "prost-types 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "tempfile 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "which 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "rust-argon2"
-version = "0.5.1"
+name = "prost-derive"
+version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "base64 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "blake2b_simd 0.5.9 (registry+https://github.com/rust-lang/crates.io-index)",
- "crossbeam-utils 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "itertools 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
+ "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "rustc-demangle"
-version = "0.1.16"
+name = "prost-types"
+version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
+ "prost 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
[[package]]
-name = "rustc-hex"
-version = "2.0.1"
+name = "protobuf"
+version = "2.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
-name = "rustc_version"
-version = "0.2.3"
+name = "pwasm-utils"
+version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "parity-wasm 0.40.3 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "rustls"
-version = "0.16.0"
+name = "quick-error"
+version = "1.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
+name = "quickcheck"
+version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "base64 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "env_logger 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
- "ring 0.16.9 (registry+https://github.com/rust-lang/crates.io-index)",
- "sct 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "webpki 0.21.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "rustversion"
-version = "1.0.0"
+name = "quickcheck"
+version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "syn 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "env_logger 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "rw-stream-sink"
-version = "0.1.2"
+name = "quote"
+version = "0.6.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
- "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "ryu"
+name = "quote"
version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[[package]]
-name = "safe-mix"
-version = "1.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "safemem"
-version = "0.3.3"
+name = "rand"
+version = "0.3.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
+]
[[package]]
-name = "same-file"
-version = "1.0.5"
+name = "rand"
+version = "0.4.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "winapi-util 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rdrand 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "schannel"
-version = "0.1.16"
+name = "rand"
+version = "0.5.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
"winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "schnorrkel"
-version = "0.8.5"
+name = "rand"
+version = "0.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "curve25519-dalek 1.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "merlin 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
+ "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_chacha 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_hc 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_isaac 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_jitter 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
"rand_os 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "sha2 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "subtle 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "zeroize 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_pcg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_xorshift 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "scopeguard"
-version = "0.3.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[[package]]
-name = "scopeguard"
-version = "1.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[[package]]
-name = "scroll"
-version = "0.9.2"
+name = "rand"
+version = "0.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "scroll_derive 0.9.5 (registry+https://github.com/rust-lang/crates.io-index)",
+ "getrandom 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_chacha 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_hc 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "scroll_derive"
-version = "0.9.5"
+name = "rand_chacha"
+version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
- "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
+ "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "sct"
-version = "0.6.0"
+name = "rand_chacha"
+version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "ring 0.16.9 (registry+https://github.com/rust-lang/crates.io-index)",
- "untrusted 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "c2-chacha 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "security-framework"
-version = "0.3.3"
+name = "rand_core"
+version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "core-foundation 0.6.4 (registry+https://github.com/rust-lang/crates.io-index)",
- "core-foundation-sys 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
- "security-framework-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "security-framework-sys"
-version = "0.3.3"
+name = "rand_core"
+version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "core-foundation-sys 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
-]
[[package]]
-name = "semver"
-version = "0.6.0"
+name = "rand_core"
+version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "getrandom 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "semver"
-version = "0.9.0"
+name = "rand_hc"
+version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "semver-parser"
-version = "0.7.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[[package]]
-name = "send_wrapper"
+name = "rand_hc"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[[package]]
-name = "serde"
-version = "1.0.102"
-source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "serde_derive 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "serde_derive"
-version = "1.0.102"
+name = "rand_isaac"
+version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "syn 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "serde_json"
-version = "1.0.41"
+name = "rand_jitter"
+version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "itoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)",
- "ryu 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "sha-1"
-version = "0.8.1"
+name = "rand_os"
+version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "block-buffer 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "digest 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "fake-simd 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "opaque-debug 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rdrand 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "wasm-bindgen 0.2.54 (registry+https://github.com/rust-lang/crates.io-index)",
+ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "sha1"
-version = "0.6.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[[package]]
-name = "sha2"
-version = "0.8.0"
+name = "rand_os"
+version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "block-buffer 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "digest 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "fake-simd 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "opaque-debug 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "getrandom 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "sha3"
-version = "0.8.2"
+name = "rand_pcg"
+version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "block-buffer 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "byte-tools 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "digest 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "keccak 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "opaque-debug 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "shell32-sys"
-version = "0.1.2"
+name = "rand_xorshift"
+version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
- "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "slab"
-version = "0.4.2"
+name = "rand_xoshiro"
+version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
+]
[[package]]
-name = "slog"
-version = "2.5.2"
+name = "rand_xoshiro"
+version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "erased-serde 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "slog-async"
-version = "2.3.0"
-source = "git+https://github.com/paritytech/slog-async#107848e7ded5e80dc43f6296c2b96039eb92c0a5"
+name = "raw-cpuid"
+version = "6.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "crossbeam-channel 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
- "slog 2.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "take_mut 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "thread_local 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "cc 1.0.47 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "slog-json"
-version = "2.3.0"
+name = "rayon"
+version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "chrono 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)",
- "erased-serde 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde_json 1.0.41 (registry+https://github.com/rust-lang/crates.io-index)",
- "slog 2.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "crossbeam-deque 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "either 1.5.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rayon-core 1.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "slog-scope"
-version = "4.3.0"
+name = "rayon-core"
+version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "arc-swap 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "crossbeam-deque 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "crossbeam-queue 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "crossbeam-utils 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "slog 2.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "num_cpus 1.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "slog_derive"
-version = "0.1.1"
+name = "rdrand"
+version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
- "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "smallvec"
-version = "0.6.13"
+name = "redox_syscall"
+version = "0.1.56"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
+name = "redox_users"
+version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "maybe-uninit 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_os 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rust-argon2 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "snow"
-version = "0.6.1"
+name = "ref_thread_local"
+version = "0.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
+name = "regex"
+version = "1.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "arrayref 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
- "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "ring 0.16.9 (registry+https://github.com/rust-lang/crates.io-index)",
- "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "subtle 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "aho-corasick 0.7.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "regex-syntax 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)",
+ "thread_local 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "soketto"
-version = "0.2.3"
+name = "regex-automata"
+version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "base64 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
- "flate2 1.0.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)",
- "http 0.1.19 (registry+https://github.com/rust-lang/crates.io-index)",
- "httparse 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
- "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
- "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
- "sha1 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "smallvec 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-codec 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)",
+ "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "sourcefile"
-version = "0.1.4"
+name = "regex-syntax"
+version = "0.6.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
-name = "spin"
-version = "0.5.2"
+name = "region"
+version = "2.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
+ "mach 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
+]
[[package]]
-name = "sr-api"
-version = "2.0.0"
+name = "remove_dir_all"
+version = "0.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "criterion 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-api-proc-macro 2.0.0",
- "sr-primitives 2.0.0",
- "sr-std 2.0.0",
- "sr-version 2.0.0",
- "substrate-primitives 2.0.0",
- "substrate-state-machine 2.0.0",
- "substrate-test-runtime-client 2.0.0",
+ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "sr-api-proc-macro"
-version = "2.0.0"
+name = "ring"
+version = "0.16.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "blake2-rfc 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)",
- "proc-macro-crate 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
- "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-api 2.0.0",
- "sr-primitives 2.0.0",
- "sr-version 2.0.0",
- "substrate-test-runtime-client 2.0.0",
- "syn 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "cc 1.0.47 (registry+https://github.com/rust-lang/crates.io-index)",
+ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
+ "spin 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "untrusted 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "web-sys 0.3.31 (registry+https://github.com/rust-lang/crates.io-index)",
+ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "sr-api-test"
-version = "2.0.0"
+name = "rlp"
+version = "0.4.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "rustversion 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-api 2.0.0",
- "sr-primitives 2.0.0",
- "sr-version 2.0.0",
- "substrate-consensus-common 2.0.0",
- "substrate-state-machine 2.0.0",
- "substrate-test-runtime-client 2.0.0",
- "trybuild 1.0.17 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rustc-hex 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "sr-arithmetic"
-version = "2.0.0"
+name = "rocksdb"
+version = "0.11.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "criterion 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "integer-sqrt 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "primitive-types 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "rand 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-std 2.0.0",
- "substrate-debug-derive 2.0.0",
+ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
+ "librocksdb-sys 5.18.3 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "sr-io"
-version = "2.0.0"
+name = "rpassword"
+version = "4.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "hash-db 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "libsecp256k1 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-std 2.0.0",
- "substrate-externalities 2.0.0",
- "substrate-primitives 2.0.0",
- "substrate-runtime-interface 2.0.0",
- "substrate-state-machine 2.0.0",
- "substrate-trie 2.0.0",
+ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
+ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "sr-primitives"
-version = "2.0.0"
+name = "rust-argon2"
+version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "impl-trait-for-tuples 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "paste 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "rand 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde_json 1.0.41 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-arithmetic 2.0.0",
- "sr-io 2.0.0",
- "sr-std 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "substrate-application-crypto 2.0.0",
- "substrate-inherents 2.0.0",
- "substrate-offchain 2.0.0",
- "substrate-primitives 2.0.0",
-]
-
-[[package]]
-name = "sr-sandbox"
-version = "2.0.0"
-dependencies = [
- "assert_matches 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
- "sr-std 2.0.0",
- "substrate-primitives 2.0.0",
- "wabt 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "wasmi 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
-name = "sr-staking-primitives"
-version = "2.0.0"
-dependencies = [
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-primitives 2.0.0",
- "sr-std 2.0.0",
+ "base64 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "blake2b_simd 0.5.9 (registry+https://github.com/rust-lang/crates.io-index)",
+ "crossbeam-utils 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "sr-std"
-version = "2.0.0"
-
-[[package]]
-name = "sr-version"
-version = "2.0.0"
-dependencies = [
- "impl-serde 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-primitives 2.0.0",
- "sr-std 2.0.0",
-]
+name = "rustc-demangle"
+version = "0.1.16"
+source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
-name = "srml-assets"
-version = "2.0.0"
-dependencies = [
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
- "sr-primitives 2.0.0",
- "sr-std 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "substrate-primitives 2.0.0",
-]
+name = "rustc-hex"
+version = "2.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
-name = "srml-aura"
-version = "2.0.0"
+name = "rustc_version"
+version = "0.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
- "sr-primitives 2.0.0",
- "sr-std 2.0.0",
- "srml-session 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "srml-timestamp 2.0.0",
- "substrate-application-crypto 2.0.0",
- "substrate-consensus-aura-primitives 2.0.0",
- "substrate-inherents 2.0.0",
- "substrate-primitives 2.0.0",
+ "semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "srml-authority-discovery"
-version = "0.1.0"
+name = "rustls"
+version = "0.16.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
- "sr-primitives 2.0.0",
- "sr-staking-primitives 2.0.0",
- "sr-std 2.0.0",
- "srml-session 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "substrate-application-crypto 2.0.0",
- "substrate-authority-discovery-primitives 2.0.0",
- "substrate-primitives 2.0.0",
+ "base64 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "ring 0.16.9 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sct 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "webpki 0.21.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "srml-authorship"
-version = "0.1.0"
+name = "rustversion"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "impl-trait-for-tuples 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
- "sr-primitives 2.0.0",
- "sr-std 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "substrate-inherents 2.0.0",
- "substrate-primitives 2.0.0",
+ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "syn 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "srml-babe"
-version = "2.0.0"
+name = "rw-stream-sink"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "hex-literal 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
- "sr-primitives 2.0.0",
- "sr-staking-primitives 2.0.0",
- "sr-std 2.0.0",
- "sr-version 2.0.0",
- "srml-session 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "srml-timestamp 2.0.0",
- "substrate-consensus-babe-primitives 2.0.0",
- "substrate-inherents 2.0.0",
- "substrate-primitives 2.0.0",
- "substrate-test-runtime 2.0.0",
+ "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
+ "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)",
+ "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "srml-balances"
-version = "2.0.0"
-dependencies = [
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
- "sr-primitives 2.0.0",
- "sr-std 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "srml-transaction-payment 2.0.0",
- "substrate-keyring 2.0.0",
- "substrate-primitives 2.0.0",
-]
+name = "ryu"
+version = "1.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
-name = "srml-collective"
-version = "2.0.0"
+name = "safe-mix"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "hex-literal 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
- "sr-primitives 2.0.0",
- "sr-std 2.0.0",
- "srml-balances 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "substrate-primitives 2.0.0",
+ "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "srml-contracts"
-version = "2.0.0"
-dependencies = [
- "assert_matches 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "hex-literal 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "parity-wasm 0.40.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "pwasm-utils 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
- "sr-primitives 2.0.0",
- "sr-sandbox 2.0.0",
- "sr-std 2.0.0",
- "srml-balances 2.0.0",
- "srml-randomness-collective-flip 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "srml-timestamp 2.0.0",
- "substrate-primitives 2.0.0",
- "wabt 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "wasmi-validation 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
-]
+name = "safemem"
+version = "0.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
-name = "srml-contracts-rpc"
-version = "2.0.0"
+name = "same-file"
+version = "1.0.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "jsonrpc-core 14.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "jsonrpc-core-client 14.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "jsonrpc-derive 14.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-primitives 2.0.0",
- "srml-contracts-rpc-runtime-api 2.0.0",
- "substrate-client 2.0.0",
- "substrate-primitives 2.0.0",
- "substrate-rpc-primitives 2.0.0",
+ "winapi-util 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "srml-contracts-rpc-runtime-api"
-version = "2.0.0"
+name = "schannel"
+version = "0.1.16"
+source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-api 2.0.0",
- "sr-primitives 2.0.0",
- "sr-std 2.0.0",
+ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "srml-democracy"
-version = "2.0.0"
+name = "schnorrkel"
+version = "0.8.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
- "sr-primitives 2.0.0",
- "sr-std 2.0.0",
- "srml-balances 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "substrate-primitives 2.0.0",
+ "curve25519-dalek 1.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "merlin 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_os 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sha2 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "subtle 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "zeroize 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "srml-elections"
-version = "2.0.0"
-dependencies = [
- "hex-literal 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
- "sr-primitives 2.0.0",
- "sr-std 2.0.0",
- "srml-balances 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "substrate-primitives 2.0.0",
-]
+name = "scopeguard"
+version = "0.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
-name = "srml-elections-phragmen"
-version = "2.0.0"
-dependencies = [
- "hex-literal 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
- "sr-primitives 2.0.0",
- "sr-std 2.0.0",
- "srml-balances 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "substrate-phragmen 2.0.0",
- "substrate-primitives 2.0.0",
-]
+name = "scopeguard"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
-name = "srml-evm"
-version = "2.0.0"
+name = "scroll"
+version = "0.9.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "evm 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "primitive-types 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "rlp 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sha3 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
- "sr-primitives 2.0.0",
- "sr-std 2.0.0",
- "srml-balances 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "srml-timestamp 2.0.0",
- "substrate-primitives 2.0.0",
+ "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "scroll_derive 0.9.5 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "srml-example"
-version = "2.0.0"
-dependencies = [
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
- "sr-primitives 2.0.0",
- "sr-std 2.0.0",
- "srml-balances 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "substrate-primitives 2.0.0",
+name = "scroll_derive"
+version = "0.9.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
+ "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "srml-executive"
-version = "2.0.0"
+name = "sct"
+version = "0.6.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "hex-literal 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
- "sr-primitives 2.0.0",
- "sr-std 2.0.0",
- "srml-balances 2.0.0",
- "srml-indices 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "srml-transaction-payment 2.0.0",
- "substrate-primitives 2.0.0",
+ "ring 0.16.9 (registry+https://github.com/rust-lang/crates.io-index)",
+ "untrusted 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "srml-finality-tracker"
-version = "2.0.0"
+name = "security-framework"
+version = "0.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "impl-trait-for-tuples 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
- "sr-primitives 2.0.0",
- "sr-std 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "substrate-inherents 2.0.0",
- "substrate-primitives 2.0.0",
+ "core-foundation 0.6.4 (registry+https://github.com/rust-lang/crates.io-index)",
+ "core-foundation-sys 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
+ "security-framework-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "srml-generic-asset"
-version = "2.0.0"
+name = "security-framework-sys"
+version = "0.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
- "sr-primitives 2.0.0",
- "sr-std 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "substrate-primitives 2.0.0",
+ "core-foundation-sys 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "srml-grandpa"
-version = "2.0.0"
+name = "semver"
+version = "0.6.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
- "sr-primitives 2.0.0",
- "sr-staking-primitives 2.0.0",
- "sr-std 2.0.0",
- "srml-finality-tracker 2.0.0",
- "srml-session 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "substrate-finality-grandpa-primitives 2.0.0",
- "substrate-primitives 2.0.0",
+ "semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "srml-im-online"
-version = "0.1.0"
+name = "semver"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
- "sr-primitives 2.0.0",
- "sr-staking-primitives 2.0.0",
- "sr-std 2.0.0",
- "srml-authorship 0.1.0",
- "srml-session 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "substrate-application-crypto 2.0.0",
- "substrate-offchain 2.0.0",
- "substrate-primitives 2.0.0",
]
[[package]]
-name = "srml-indices"
-version = "2.0.0"
-dependencies = [
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "ref_thread_local 0.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
- "sr-primitives 2.0.0",
- "sr-std 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "substrate-keyring 2.0.0",
- "substrate-primitives 2.0.0",
-]
+name = "semver-parser"
+version = "0.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
-name = "srml-membership"
-version = "2.0.0"
+name = "send_wrapper"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
+name = "serde"
+version = "1.0.102"
+source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
- "sr-primitives 2.0.0",
- "sr-std 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "substrate-primitives 2.0.0",
+ "serde_derive 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "srml-metadata"
-version = "2.0.0"
+name = "serde_derive"
+version = "1.0.102"
+source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-std 2.0.0",
- "substrate-primitives 2.0.0",
+ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "syn 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "srml-nicks"
-version = "2.0.0"
+name = "serde_json"
+version = "1.0.41"
+source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "itoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)",
+ "ryu 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
- "sr-primitives 2.0.0",
- "sr-std 2.0.0",
- "srml-balances 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "substrate-primitives 2.0.0",
]
[[package]]
-name = "srml-offences"
-version = "1.0.0"
+name = "sha-1"
+version = "0.8.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
- "sr-primitives 2.0.0",
- "sr-staking-primitives 2.0.0",
- "sr-std 2.0.0",
- "srml-balances 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "substrate-primitives 2.0.0",
+ "block-buffer 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "digest 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "fake-simd 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "opaque-debug 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "srml-randomness-collective-flip"
-version = "2.0.0"
+name = "sha1"
+version = "0.6.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
+name = "sha2"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
- "sr-primitives 2.0.0",
- "sr-std 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "substrate-primitives 2.0.0",
+ "block-buffer 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "digest 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "fake-simd 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "opaque-debug 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "srml-scored-pool"
-version = "1.0.0"
+name = "sha3"
+version = "0.8.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
- "sr-primitives 2.0.0",
- "sr-std 2.0.0",
- "srml-balances 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "substrate-primitives 2.0.0",
+ "block-buffer 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "byte-tools 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "digest 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "keccak 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "opaque-debug 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "srml-session"
-version = "2.0.0"
+name = "shell32-sys"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "impl-trait-for-tuples 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
- "sr-primitives 2.0.0",
- "sr-staking-primitives 2.0.0",
- "sr-std 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "srml-timestamp 2.0.0",
- "substrate-application-crypto 2.0.0",
- "substrate-primitives 2.0.0",
- "substrate-trie 2.0.0",
+ "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "srml-staking"
-version = "2.0.0"
+name = "slab"
+version = "0.4.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
+name = "slog"
+version = "2.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
- "sr-primitives 2.0.0",
- "sr-staking-primitives 2.0.0",
- "sr-std 2.0.0",
- "srml-authorship 0.1.0",
- "srml-balances 2.0.0",
- "srml-session 2.0.0",
- "srml-staking-reward-curve 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "srml-timestamp 2.0.0",
- "substrate-keyring 2.0.0",
- "substrate-phragmen 2.0.0",
- "substrate-primitives 2.0.0",
+ "erased-serde 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "srml-staking-reward-curve"
-version = "2.0.0"
+name = "slog-async"
+version = "2.3.0"
+source = "git+https://github.com/paritytech/slog-async#107848e7ded5e80dc43f6296c2b96039eb92c0a5"
dependencies = [
- "proc-macro-crate 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
- "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-primitives 2.0.0",
- "syn 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "crossbeam-channel 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
+ "slog 2.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "take_mut 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "thread_local 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "srml-sudo"
-version = "2.0.0"
+name = "slog-json"
+version = "2.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "chrono 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)",
+ "erased-serde 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
- "sr-primitives 2.0.0",
- "sr-std 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "substrate-primitives 2.0.0",
+ "serde_json 1.0.41 (registry+https://github.com/rust-lang/crates.io-index)",
+ "slog 2.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "srml-support"
-version = "2.0.0"
-dependencies = [
- "bitmask 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "impl-trait-for-tuples 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
- "once_cell 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "paste 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "pretty_assertions 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
- "sr-primitives 2.0.0",
- "sr-std 2.0.0",
- "srml-metadata 2.0.0",
- "srml-support-procedural 2.0.0",
- "srml-system 2.0.0",
- "substrate-inherents 2.0.0",
- "substrate-primitives 2.0.0",
- "substrate-state-machine 2.0.0",
+name = "slog-scope"
+version = "4.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "arc-swap 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "slog 2.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "srml-support-procedural"
-version = "2.0.0"
+name = "slog_derive"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "srml-support-procedural-tools 2.0.0",
- "syn 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
+ "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "srml-support-procedural-tools"
-version = "2.0.0"
+name = "smallvec"
+version = "0.6.13"
+source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "proc-macro-crate 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
- "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "srml-support-procedural-tools-derive 2.0.0",
- "syn 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "maybe-uninit 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "srml-support-procedural-tools-derive"
-version = "2.0.0"
+name = "snow"
+version = "0.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "syn 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "arrayref 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "ring 0.16.9 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "subtle 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "srml-support-rpc"
-version = "2.0.0"
+name = "soketto"
+version = "0.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "jsonrpc-client-transports 14.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "jsonrpc-core 14.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "substrate-primitives-storage 2.0.0",
- "substrate-rpc-api 2.0.0",
- "tokio 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)",
+ "base64 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
+ "flate2 1.0.13 (registry+https://github.com/rust-lang/crates.io-index)",
+ "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)",
+ "http 0.1.19 (registry+https://github.com/rust-lang/crates.io-index)",
+ "httparse 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
+ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sha1 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "smallvec 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
+ "tokio-codec 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "srml-support-test"
-version = "2.0.0"
-dependencies = [
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "pretty_assertions 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
- "sr-primitives 2.0.0",
- "srml-support 2.0.0",
- "substrate-inherents 2.0.0",
- "substrate-primitives 2.0.0",
- "substrate-state-machine 2.0.0",
- "trybuild 1.0.17 (registry+https://github.com/rust-lang/crates.io-index)",
-]
+name = "sourcefile"
+version = "0.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
+name = "spin"
+version = "0.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
-name = "srml-system"
+name = "sr-api"
version = "2.0.0"
dependencies = [
- "criterion 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
- "impl-trait-for-tuples 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "criterion 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
+ "sr-api-proc-macro 2.0.0",
"sr-primitives 2.0.0",
"sr-std 2.0.0",
"sr-version 2.0.0",
- "srml-support 2.0.0",
"substrate-primitives 2.0.0",
+ "substrate-state-machine 2.0.0",
+ "substrate-test-runtime-client 2.0.0",
]
[[package]]
-name = "srml-system-rpc"
+name = "sr-api-proc-macro"
version = "2.0.0"
dependencies = [
- "env_logger 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "futures-preview 0.3.0-alpha.19 (registry+https://github.com/rust-lang/crates.io-index)",
- "jsonrpc-core 14.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "jsonrpc-core-client 14.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "jsonrpc-derive 14.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "blake2-rfc 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro-crate 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-api 2.0.0",
"sr-primitives 2.0.0",
- "srml-system-rpc-runtime-api 2.0.0",
- "substrate-client 2.0.0",
- "substrate-primitives 2.0.0",
+ "sr-version 2.0.0",
"substrate-test-runtime-client 2.0.0",
- "substrate-transaction-pool 2.0.0",
+ "syn 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "srml-system-rpc-runtime-api"
+name = "sr-api-test"
version = "2.0.0"
dependencies = [
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rustversion 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"sr-api 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-version 2.0.0",
+ "substrate-consensus-common 2.0.0",
+ "substrate-state-machine 2.0.0",
+ "substrate-test-runtime-client 2.0.0",
+ "trybuild 1.0.17 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "srml-timestamp"
+name = "sr-arithmetic"
version = "2.0.0"
dependencies = [
- "impl-trait-for-tuples 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "criterion 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "integer-sqrt 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "primitive-types 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
- "sr-primitives 2.0.0",
"sr-std 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "substrate-inherents 2.0.0",
- "substrate-primitives 2.0.0",
+ "substrate-debug-derive 2.0.0",
]
[[package]]
-name = "srml-transaction-payment"
+name = "sr-io"
version = "2.0.0"
dependencies = [
+ "hash-db 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libsecp256k1 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
- "sr-primitives 2.0.0",
"sr-std 2.0.0",
- "srml-balances 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "srml-transaction-payment-rpc-runtime-api 2.0.0",
+ "substrate-externalities 2.0.0",
"substrate-primitives 2.0.0",
+ "substrate-runtime-interface 2.0.0",
+ "substrate-state-machine 2.0.0",
+ "substrate-trie 2.0.0",
]
[[package]]
-name = "srml-transaction-payment-rpc"
+name = "sr-primitives"
version = "2.0.0"
dependencies = [
- "jsonrpc-core 14.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "jsonrpc-core-client 14.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "jsonrpc-derive 14.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "impl-trait-for-tuples 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paste 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-primitives 2.0.0",
- "srml-transaction-payment-rpc-runtime-api 2.0.0",
- "substrate-client 2.0.0",
+ "serde_json 1.0.41 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-arithmetic 2.0.0",
+ "sr-io 2.0.0",
+ "sr-std 2.0.0",
+ "substrate-application-crypto 2.0.0",
+ "substrate-inherents 2.0.0",
+ "substrate-offchain 2.0.0",
"substrate-primitives 2.0.0",
- "substrate-rpc-primitives 2.0.0",
]
[[package]]
-name = "srml-transaction-payment-rpc-runtime-api"
+name = "sr-sandbox"
version = "2.0.0"
dependencies = [
+ "assert_matches 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-api 2.0.0",
- "sr-primitives 2.0.0",
+ "sr-io 2.0.0",
"sr-std 2.0.0",
+ "substrate-primitives 2.0.0",
+ "wabt 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "wasmi 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
-name = "srml-treasury"
+name = "sr-staking-primitives"
version = "2.0.0"
dependencies = [
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
"sr-primitives 2.0.0",
"sr-std 2.0.0",
- "srml-balances 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "substrate-primitives 2.0.0",
]
[[package]]
-name = "srml-utility"
+name = "sr-std"
+version = "2.0.0"
+
+[[package]]
+name = "sr-version"
version = "2.0.0"
dependencies = [
+ "impl-serde 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
"sr-primitives 2.0.0",
"sr-std 2.0.0",
- "srml-balances 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "substrate-primitives 2.0.0",
]
[[package]]
@@ -5234,13 +5213,13 @@ dependencies = [
"hex-literal 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"node-primitives 2.0.0",
"node-runtime 2.0.0",
+ "paint-balances 2.0.0",
+ "paint-system 2.0.0",
+ "paint-transaction-payment 2.0.0",
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"rand 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
"rustc-hex 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
"sr-primitives 2.0.0",
- "srml-balances 2.0.0",
- "srml-system 2.0.0",
- "srml-transaction-payment 2.0.0",
"substrate-bip39 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
"substrate-primitives 2.0.0",
"tiny-bip39 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -5277,7 +5256,7 @@ dependencies = [
"sr-api 2.0.0",
"sr-primitives 2.0.0",
"substrate-authority-discovery-primitives 2.0.0",
- "substrate-client 2.0.0",
+ "substrate-client-api 2.0.0",
"substrate-keystore 2.0.0",
"substrate-network 2.0.0",
"substrate-peerset 2.0.0",
@@ -5306,6 +5285,7 @@ dependencies = [
"sr-primitives 2.0.0",
"substrate-block-builder 2.0.0",
"substrate-client 2.0.0",
+ "substrate-client-api 2.0.0",
"substrate-consensus-common 2.0.0",
"substrate-inherents 2.0.0",
"substrate-primitives 2.0.0",
@@ -5397,7 +5377,7 @@ dependencies = [
"serde_json 1.0.41 (registry+https://github.com/rust-lang/crates.io-index)",
"sr-primitives 2.0.0",
"structopt 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
- "substrate-client 2.0.0",
+ "substrate-client-api 2.0.0",
"substrate-header-metadata 2.0.0",
"substrate-keyring 2.0.0",
"substrate-network 2.0.0",
@@ -5414,6 +5394,43 @@ dependencies = [
[[package]]
name = "substrate-client"
version = "2.0.0"
+dependencies = [
+ "derive_more 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "env_logger 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)",
+ "futures-preview 0.3.0-alpha.19 (registry+https://github.com/rust-lang/crates.io-index)",
+ "hash-db 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "hex-literal 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "kvdb 0.1.0 (git+https://github.com/paritytech/parity-common?rev=b0317f649ab2c665b7987b8475878fc4d2e1f81d)",
+ "kvdb-memorydb 0.1.0 (git+https://github.com/paritytech/parity-common?rev=b0317f649ab2c665b7987b8475878fc4d2e1f81d)",
+ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-api 2.0.0",
+ "sr-primitives 2.0.0",
+ "sr-std 2.0.0",
+ "sr-version 2.0.0",
+ "substrate-block-builder 2.0.0",
+ "substrate-client-api 2.0.0",
+ "substrate-client-db 2.0.0",
+ "substrate-consensus-common 2.0.0",
+ "substrate-executor 2.0.0",
+ "substrate-header-metadata 2.0.0",
+ "substrate-inherents 2.0.0",
+ "substrate-keyring 2.0.0",
+ "substrate-panic-handler 2.0.0",
+ "substrate-primitives 2.0.0",
+ "substrate-state-machine 2.0.0",
+ "substrate-telemetry 2.0.0",
+ "substrate-test-runtime-client 2.0.0",
+ "substrate-trie 2.0.0",
+ "tempfile 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "substrate-client-api"
+version = "2.0.0"
dependencies = [
"derive_more 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
"env_logger 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -5442,6 +5459,7 @@ dependencies = [
"substrate-primitives 2.0.0",
"substrate-state-machine 2.0.0",
"substrate-telemetry 2.0.0",
+ "substrate-test-primitives 2.0.0",
"substrate-test-runtime-client 2.0.0",
"substrate-trie 2.0.0",
"tempfile 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -5463,6 +5481,7 @@ dependencies = [
"quickcheck 0.8.5 (registry+https://github.com/rust-lang/crates.io-index)",
"sr-primitives 2.0.0",
"substrate-client 2.0.0",
+ "substrate-client-api 2.0.0",
"substrate-consensus-common 2.0.0",
"substrate-executor 2.0.0",
"substrate-header-metadata 2.0.0",
@@ -5484,17 +5503,17 @@ dependencies = [
"futures-preview 0.3.0-alpha.19 (registry+https://github.com/rust-lang/crates.io-index)",
"futures-timer 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-aura 2.0.0",
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
"sr-api 2.0.0",
"sr-io 2.0.0",
"sr-primitives 2.0.0",
"sr-version 2.0.0",
- "srml-aura 2.0.0",
- "srml-support 2.0.0",
"substrate-application-crypto 2.0.0",
"substrate-block-builder-runtime-api 2.0.0",
"substrate-client 2.0.0",
+ "substrate-client-api 2.0.0",
"substrate-consensus-aura-primitives 2.0.0",
"substrate-consensus-common 2.0.0",
"substrate-consensus-slots 2.0.0",
@@ -5537,6 +5556,7 @@ dependencies = [
"num-bigint 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
"num-rational 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
"num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-babe 2.0.0",
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
"pdqselect 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -5546,12 +5566,11 @@ dependencies = [
"sr-io 2.0.0",
"sr-primitives 2.0.0",
"sr-version 2.0.0",
- "srml-babe 2.0.0",
- "srml-support 2.0.0",
"substrate-application-crypto 2.0.0",
"substrate-block-builder 2.0.0",
"substrate-block-builder-runtime-api 2.0.0",
"substrate-client 2.0.0",
+ "substrate-client-api 2.0.0",
"substrate-consensus-babe-primitives 2.0.0",
"substrate-consensus-common 2.0.0",
"substrate-consensus-slots 2.0.0",
@@ -5609,11 +5628,11 @@ dependencies = [
"derive_more 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
"futures-preview 0.3.0-alpha.19 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-timestamp 2.0.0",
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"sr-primitives 2.0.0",
- "srml-timestamp 2.0.0",
"substrate-block-builder-runtime-api 2.0.0",
- "substrate-client 2.0.0",
+ "substrate-client-api 2.0.0",
"substrate-consensus-common 2.0.0",
"substrate-consensus-pow-primitives 2.0.0",
"substrate-inherents 2.0.0",
@@ -5631,30 +5650,6 @@ dependencies = [
"substrate-primitives 2.0.0",
]
-[[package]]
-name = "substrate-consensus-rhd"
-version = "2.0.0"
-dependencies = [
- "derive_more 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "exit-future 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
- "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)",
- "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
- "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "rhododendron 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "sr-io 2.0.0",
- "sr-primitives 2.0.0",
- "sr-version 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "substrate-client 2.0.0",
- "substrate-consensus-common 2.0.0",
- "substrate-keyring 2.0.0",
- "substrate-primitives 2.0.0",
- "substrate-transaction-pool 2.0.0",
- "tokio 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
[[package]]
name = "substrate-consensus-slots"
version = "2.0.0"
@@ -5665,7 +5660,7 @@ dependencies = [
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
"sr-primitives 2.0.0",
- "substrate-client 2.0.0",
+ "substrate-client-api 2.0.0",
"substrate-consensus-common 2.0.0",
"substrate-inherents 2.0.0",
"substrate-primitives 2.0.0",
@@ -5678,9 +5673,9 @@ name = "substrate-consensus-uncles"
version = "2.0.0"
dependencies = [
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-authorship 0.1.0",
"sr-primitives 2.0.0",
- "srml-authorship 0.1.0",
- "substrate-client 2.0.0",
+ "substrate-client-api 2.0.0",
"substrate-consensus-common 2.0.0",
"substrate-inherents 2.0.0",
"substrate-primitives 2.0.0",
@@ -5715,7 +5710,7 @@ dependencies = [
"parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
"sr-io 2.0.0",
"sr-version 2.0.0",
- "substrate-client 2.0.0",
+ "substrate-client-api 2.0.0",
"substrate-externalities 2.0.0",
"substrate-offchain 2.0.0",
"substrate-panic-handler 2.0.0",
@@ -5754,14 +5749,15 @@ dependencies = [
"futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)",
"futures-preview 0.3.0-alpha.19 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-finality-tracker 2.0.0",
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
"rand 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_json 1.0.41 (registry+https://github.com/rust-lang/crates.io-index)",
"sr-api 2.0.0",
"sr-primitives 2.0.0",
- "srml-finality-tracker 2.0.0",
"substrate-client 2.0.0",
+ "substrate-client-api 2.0.0",
"substrate-consensus-babe-primitives 2.0.0",
"substrate-consensus-common 2.0.0",
"substrate-finality-grandpa-primitives 2.0.0",
@@ -5868,9 +5864,11 @@ dependencies = [
"slog 2.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
"slog_derive 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"smallvec 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-arithmetic 2.0.0",
"sr-primitives 2.0.0",
"substrate-block-builder 2.0.0",
"substrate-client 2.0.0",
+ "substrate-client-api 2.0.0",
"substrate-consensus-babe-primitives 2.0.0",
"substrate-consensus-common 2.0.0",
"substrate-header-metadata 2.0.0",
@@ -5907,7 +5905,7 @@ dependencies = [
"rand 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
"sr-api 2.0.0",
"sr-primitives 2.0.0",
- "substrate-client 2.0.0",
+ "substrate-client-api 2.0.0",
"substrate-client-db 2.0.0",
"substrate-keystore 2.0.0",
"substrate-network 2.0.0",
@@ -5952,12 +5950,12 @@ dependencies = [
name = "substrate-phragmen"
version = "2.0.0"
dependencies = [
+ "paint-support 2.0.0",
"rand 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
"sr-io 2.0.0",
"sr-primitives 2.0.0",
"sr-std 2.0.0",
- "srml-support 2.0.0",
]
[[package]]
@@ -6032,6 +6030,7 @@ dependencies = [
"sr-primitives 2.0.0",
"sr-version 2.0.0",
"substrate-client 2.0.0",
+ "substrate-client-api 2.0.0",
"substrate-executor 2.0.0",
"substrate-keystore 2.0.0",
"substrate-network 2.0.0",
@@ -6179,6 +6178,7 @@ dependencies = [
"substrate-application-crypto 2.0.0",
"substrate-chain-spec 2.0.0",
"substrate-client 2.0.0",
+ "substrate-client-api 2.0.0",
"substrate-client-db 2.0.0",
"substrate-consensus-babe-primitives 2.0.0",
"substrate-consensus-common 2.0.0",
@@ -6291,6 +6291,7 @@ dependencies = [
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"sr-primitives 2.0.0",
"substrate-client 2.0.0",
+ "substrate-client-api 2.0.0",
"substrate-client-db 2.0.0",
"substrate-consensus-common 2.0.0",
"substrate-executor 2.0.0",
@@ -6299,6 +6300,17 @@ dependencies = [
"substrate-state-machine 2.0.0",
]
+[[package]]
+name = "substrate-test-primitives"
+version = "2.0.0"
+dependencies = [
+ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sr-primitives 2.0.0",
+ "substrate-application-crypto 2.0.0",
+ "substrate-primitives 2.0.0",
+]
+
[[package]]
name = "substrate-test-runtime"
version = "2.0.0"
@@ -6306,6 +6318,12 @@ dependencies = [
"cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
"memory-db 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "paint-babe 2.0.0",
+ "paint-executive 2.0.0",
+ "paint-support 2.0.0",
+ "paint-system 2.0.0",
+ "paint-system-rpc-runtime-api 2.0.0",
+ "paint-timestamp 2.0.0",
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)",
"sr-api 2.0.0",
@@ -6313,12 +6331,6 @@ dependencies = [
"sr-primitives 2.0.0",
"sr-std 2.0.0",
"sr-version 2.0.0",
- "srml-babe 2.0.0",
- "srml-executive 2.0.0",
- "srml-support 2.0.0",
- "srml-system 2.0.0",
- "srml-system-rpc-runtime-api 2.0.0",
- "srml-timestamp 2.0.0",
"substrate-application-crypto 2.0.0",
"substrate-block-builder-runtime-api 2.0.0",
"substrate-client 2.0.0",
@@ -6346,6 +6358,8 @@ dependencies = [
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"sr-primitives 2.0.0",
"substrate-block-builder 2.0.0",
+ "substrate-client 2.0.0",
+ "substrate-client-api 2.0.0",
"substrate-primitives 2.0.0",
"substrate-test-client 2.0.0",
"substrate-test-runtime 2.0.0",
@@ -6431,11 +6445,6 @@ dependencies = [
name = "substrate-wasm-builder-runner"
version = "1.0.4"
-[[package]]
-name = "substrate-wasm-builder-runner"
-version = "1.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-
[[package]]
name = "substrate-wasm-interface"
version = "2.0.0"
@@ -6869,6 +6878,7 @@ dependencies = [
"substrate-block-builder-runtime-api 2.0.0",
"substrate-cli 2.0.0",
"substrate-client 2.0.0",
+ "substrate-client-api 2.0.0",
"substrate-consensus-common 2.0.0",
"substrate-primitives 2.0.0",
"substrate-service 2.0.0",
@@ -7700,7 +7710,6 @@ dependencies = [
"checksum erased-serde 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)" = "3beee4bc16478a1b26f2e80ad819a52d24745e292f521a63c16eea5f74b7eb60"
"checksum errno 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)" = "c2a071601ed01b988f896ab14b95e67335d1eeb50190932a1320f7fe3cadc84e"
"checksum errno-dragonfly 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "14ca354e36190500e1e1fb267c647932382b54053c50b14970856c0b00a35067"
-"checksum error-chain 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)" = "3ab49e9dcb602294bc42f9a7dfc9bc6e936fca4418ea300dbfb84fe16de0b7d9"
"checksum evm 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1138816a9b7f9a9d1fcabb1b8a7afed2687d035692baf297bd3fea122acdc96f"
"checksum evm-core 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3bcde5af3d542874ddeb53de0919302d57586ea04b3f76f54d865f8a6cdc70ae"
"checksum evm-gasometer 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b82bc9f275cb59d2bcc05d85c98736ddfaba003a7ef7b73893fa7c1c1fab29dc"
@@ -7960,7 +7969,6 @@ dependencies = [
"checksum regex-syntax 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)" = "11a7e20d1cce64ef2fed88b66d347f88bd9babb82845b2b858f3edbf59a4f716"
"checksum region 2.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "448e868c6e4cfddfa49b6a72c95906c04e8547465e9536575b95c70a4044f856"
"checksum remove_dir_all 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "4a83fa3702a688b9359eccba92d153ac33fd2e8462f9e0e3fdf155239ea7792e"
-"checksum rhododendron 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "36542aafc2429a4c010fafa079a20dee953b663cb2427f51d86cf1d436846b4d"
"checksum ring 0.16.9 (registry+https://github.com/rust-lang/crates.io-index)" = "6747f8da1f2b1fabbee1aaa4eb8a11abf9adef0bf58a41cee45db5d59cecdfac"
"checksum rlp 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "8376a3f725ebb53f69263bbebb42196361fdfd551212409c8a721239aab4f09f"
"checksum rocksdb 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f1651697fefd273bfb4fd69466cc2a9d20de557a0213b97233b22b5e95924b5e"
@@ -8019,7 +8027,6 @@ dependencies = [
"checksum strum 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e5d1c33039533f051704951680f1adfd468fd37ac46816ded0d9ee068e60f05f"
"checksum strum_macros 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)" = "47cd23f5c7dee395a00fa20135e2ec0fffcdfa151c56182966d7a3261343432e"
"checksum substrate-bip39 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "3be511be555a3633e71739a79e4ddff6a6aaa6579fa6114182a51d72c3eb93c5"
-"checksum substrate-wasm-builder-runner 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "bd48273fe9d7f92c1f7d6c1c537bb01c8068f925b47ad2cd8367e11dc32f8550"
"checksum subtle 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "2d67a5a62ba6e01cb2192ff309324cb4875d0c451d55fe2319433abe7a05a8ee"
"checksum subtle 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "ab3af2eb31c42e8f0ccf43548232556c42737e01a96db6e1777b0be108e79799"
"checksum syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)" = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
diff --git a/Cargo.toml b/Cargo.toml
index 42f78db493b50..f35cab80144e0 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,118 +1,139 @@
[workspace]
members = [
- "core/authority-discovery",
- "core/application-crypto",
- "core/chain-spec",
- "core/chain-spec/derive",
- "core/cli",
- "core/client",
- "core/client/db",
- "core/client/header-metadata",
- "core/consensus/aura",
- "core/consensus/babe",
- "core/consensus/common",
- "core/consensus/rhd",
- "core/consensus/slots",
- "core/consensus/uncles",
- "core/consensus/pow",
- "core/block-builder",
- "core/block-builder/runtime-api",
- "core/executor",
- "core/executor/runtime-test",
- "core/externalities",
- "core/finality-grandpa",
- "core/finality-grandpa/primitives",
- "core/inherents",
- "core/keyring",
- "core/keystore",
- "core/network",
- "core/panic-handler",
- "core/primitives",
- "core/rpc",
- "core/rpc/primitives",
- "core/rpc-servers",
- "core/runtime-interface",
- "core/runtime-interface/proc-macro",
- "core/runtime-interface/test-wasm",
- "core/serializer",
- "core/service",
- "core/service/test",
- "core/session",
- "core/sr-api",
- "core/sr-api/proc-macro",
- "core/sr-api/test",
- "core/sr-arithmetic",
- "core/sr-io",
- "core/sr-primitives",
- "core/sr-staking-primitives",
- "core/sr-sandbox",
- "core/sr-std",
- "core/sr-version",
- "core/state-machine",
- "core/telemetry",
- "core/test-client",
- "core/test-runtime",
- "core/test-runtime/client",
- "core/transaction-pool",
- "core/transaction-pool/graph",
- "core/transaction-pool/runtime-api",
- "core/trie",
- "core/utils/fork-tree",
- "core/utils/wasm-builder",
- "core/utils/wasm-builder-runner",
- "core/wasm-interface",
- "srml/support",
- "srml/support/rpc",
- "srml/support/procedural",
- "srml/support/procedural/tools",
- "srml/support/procedural/tools/derive",
- "srml/support/test",
- "srml/authorship",
- "srml/assets",
- "srml/aura",
- "srml/balances",
- "srml/contracts",
- "srml/contracts/rpc",
- "srml/collective",
- "srml/democracy",
- "srml/elections",
- "srml/elections-phragmen",
- "srml/example",
- "srml/executive",
- "srml/finality-tracker",
- "srml/generic-asset",
- "srml/grandpa",
- "srml/im-online",
- "srml/authority-discovery",
- "srml/indices",
- "srml/membership",
- "srml/metadata",
- "srml/nicks",
- "srml/offences",
- "srml/randomness-collective-flip",
- "srml/scored-pool",
- "srml/session",
- "srml/staking",
- "srml/staking/reward-curve",
- "srml/sudo",
- "srml/system",
- "srml/system/rpc",
- "srml/timestamp",
- "srml/treasury",
- "srml/transaction-payment",
- "srml/transaction-payment/rpc",
- "srml/utility",
- "srml/evm",
- "node/cli",
- "node/executor",
- "node/primitives",
- "node/rpc",
- "node/rpc-client",
- "node/runtime",
- "node/testing",
- "node-template",
- "subkey",
- "test-utils/chain-spec-builder",
+ "bin/node-template",
+ "bin/node-template/runtime",
+ "bin/node/cli",
+ "bin/node/executor",
+ "bin/node/primitives",
+ "bin/node/rpc-client",
+ "bin/node/rpc",
+ "bin/node/runtime",
+ "bin/node/testing",
+ "bin/subkey",
+ "client",
+ "client/api",
+ "client/authority-discovery",
+ "client/basic-authorship",
+ "client/block-builder",
+ "client/chain-spec",
+ "client/chain-spec/derive",
+ "client/cli",
+ "client/consensus/aura",
+ "client/consensus/babe",
+ "client/consensus/pow",
+ "client/consensus/slots",
+ "client/consensus/uncles",
+ "client/db",
+ "client/executor",
+ "client/executor/runtime-test",
+ "client/finality-grandpa",
+ "client/header-metadata",
+ "client/keystore",
+ "client/network",
+ "client/offchain",
+ "client/rpc-servers",
+ "client/rpc",
+ "client/rpc/api",
+ "client/service",
+ "client/service/test",
+ "client/state-db",
+ "client/telemetry",
+ "client/transaction-pool",
+ "client/transaction-pool/graph",
+ "client/utils/wasm-builder-runner",
+ "paint/assets",
+ "paint/aura",
+ "paint/authority-discovery",
+ "paint/authorship",
+ "paint/babe",
+ "paint/balances",
+ "paint/collective",
+ "paint/contracts",
+ "paint/contracts/rpc",
+ "paint/contracts/rpc/runtime-api",
+ "paint/democracy",
+ "paint/elections-phragmen",
+ "paint/elections",
+ "paint/evm",
+ "paint/example",
+ "paint/executive",
+ "paint/finality-tracker",
+ "paint/generic-asset",
+ "paint/grandpa",
+ "paint/im-online",
+ "paint/indices",
+ "paint/membership",
+ "paint/metadata",
+ "paint/nicks",
+ "paint/offences",
+ "paint/randomness-collective-flip",
+ "paint/scored-pool",
+ "paint/session",
+ "paint/staking",
+ "paint/staking/reward-curve",
+ "paint/sudo",
+ "paint/support",
+ "paint/support/procedural",
+ "paint/support/procedural/tools",
+ "paint/support/procedural/tools/derive",
+ "paint/support/rpc",
+ "paint/support/test",
+ "paint/system",
+ "paint/system/rpc",
+ "paint/system/rpc/runtime-api",
+ "paint/timestamp",
+ "paint/transaction-payment",
+ "paint/transaction-payment/rpc",
+ "paint/transaction-payment/rpc/runtime-api",
+ "paint/treasury",
+ "paint/utility",
+ "primitives/application-crypto",
+ "primitives/authority-discovery",
+ "primitives/block-builder/runtime-api",
+ "primitives/consensus/aura",
+ "primitives/consensus/babe",
+ "primitives/consensus/common",
+ "primitives/consensus/pow",
+ "primitives/core",
+ "primitives/core/debug-derive",
+ "primitives/core/storage",
+ "primitives/externalities",
+ "primitives/finality-grandpa",
+ "primitives/inherents",
+ "primitives/keyring",
+ "primitives/offchain",
+ "primitives/panic-handler",
+ "primitives/peerset",
+ "primitives/phragmen",
+ "primitives/rpc",
+ "primitives/runtime-interface",
+ "primitives/runtime-interface/proc-macro",
+ "primitives/runtime-interface/test-wasm",
+ "primitives/serializer",
+ "primitives/session",
+ "primitives/sr-api",
+ "primitives/sr-api/proc-macro",
+ "primitives/sr-api/test",
+ "primitives/sr-arithmetic",
+ "primitives/sr-io",
+ "primitives/sr-primitives",
+ "primitives/sr-sandbox",
+ "primitives/sr-staking-primitives",
+ "primitives/sr-std",
+ "primitives/sr-version",
+ "primitives/state-machine",
+ "primitives/transaction-pool/runtime-api",
+ "primitives/trie",
+ "primitives/wasm-interface",
+ "test/utils/chain-spec-builder",
+ "test/utils/client",
+ "test/utils/primitives",
+ "test/utils/runtime",
+ "test/utils/runtime/client",
+ "test/utils/transaction-factory",
+ "utils/build-script-utils",
+ "utils/fork-tree",
+ "utils/wasm-builder",
]
[profile.release]
diff --git a/README.adoc b/README.adoc
index 5caa3f932b23e..62673f70e48c7 100644
--- a/README.adoc
+++ b/README.adoc
@@ -4,525 +4,20 @@
:toc:
:sectnums:
-== Intro in one sentence
-
Substrate is a next-generation framework for blockchain innovation.
-== Description
-
-At its heart, Substrate is a combination of three technologies: https://webassembly.org/[WebAssembly], https://libp2p.io/[Libp2p] and GRANDPA Consensus. About GRANDPA, see this https://hackmd.io/Jd0byWX0RiqFiXUVC78Bdw?view#GRANDPA[definition], https://medium.com/polkadot-network/grandpa-block-finality-in-polkadot-an-introduction-part-1-d08a24a021b5[introduction] and https://github.com/w3f/consensus/blob/master/pdf/grandpa.pdf[formal specification]. It is both a library for building new blockchains and a "skeleton key" of a blockchain client, able to synchronize to any Substrate-based chain.
-
-Substrate chains have three distinct features that make them "next-generation": a dynamic, self-defining state-transition function; light-client functionality from day one; and a progressive consensus algorithm with fast block production and adaptive, definite finality. The STF, encoded in WebAssembly, is known as the "runtime". This defines the `execute_block` function, and can specify everything from the staking algorithm, transaction semantics, logging mechanisms and procedures for replacing any aspect of itself or of the blockchain's state ("governance"). Because the runtime is entirely dynamic all of these can be switched out or upgraded at any time. A Substrate chain is very much a "living organism".
-
-See also https://www.parity.io/what-is-substrate/.
-
-== Usage
-
-Substrate is still an early stage project, and while it has already been used as the basis of major projects like Polkadot, using it is still a significant undertaking. In particular, you should have a good knowledge of blockchain concepts and basic cryptography. Terminology like header, block, client, hash, transaction and signature should be familiar. At present you will need a working knowledge of Rust to be able to do anything interesting (though eventually, we aim for this not to be the case).
-
-Substrate is designed for use in one of three ways:
-
-**1. Trivial**: By running the Substrate binary `substrate` and configuring it with a genesis block that includes the current demonstration runtime. In this case, you just build Substrate, configure a JSON file, and launch your own blockchain. This affords you the least amount of customizability, primarily allowing you to change the genesis parameters of the various included runtime modules such as balances, staking, block-period, fees, and governance.
-
-**2. Modular**: By hacking together modules from the Substrate Runtime Module Library (SRML) into a new runtime and possibly altering or reconfiguring the Substrate client's block authoring logic. This affords you a very large amount of freedom over your blockchain's logic, letting you change datatypes, add or remove modules, and crucially, add your own modules. Much can be changed without touching the block authoring logic (since it is generic). If this is the case, then the existing Substrate binary can be used for block authoring and syncing. If the block authoring logic needs to be tweaked, then a new, altered block authoring binary must be built as a separate project and used by validators. This is how the Polkadot relay chain is built and should suffice for almost all circumstances in the near to mid-term.
-
-**3. Generic**: The entire SRML can be ignored and the entire runtime designed and implemented from scratch. If desired, this can be done in a language other than Rust, provided it can target WebAssembly. If the runtime can be made compatible with the existing client's block authoring logic, then you can simply construct a new genesis block from your Wasm blob and launch your chain with the existing Rust-based Substrate client. If not, then you'll need to alter the client's block authoring logic accordingly. This is probably a useless option for most projects right now, but provides complete flexibility allowing for a long-term, far-reaching upgrade path for the Substrate paradigm.
-
-=== The Basics of Substrate
-
-Substrate is a blockchain platform with a completely generic state transition function. That said, it does come with both standards and conventions (particularly regarding the Runtime Module Library) regarding underlying data structures. Roughly speaking, these core datatypes correspond to +trait+s in terms of the actual non-negotiable standard and generic +struct+s in terms of the convention.
-
-```
-Header := Parent + ExtrinsicsRoot + StorageRoot + Digest
-Block := Header + Extrinsics + Justifications
-```
-
-=== Extrinsics
-
-Extrinsics in Substrate are pieces of information from "the outside world" that are contained in the blocks of the chain. You might think "ahh, that means *transactions*": in fact, no. Extrinsics fall into two broad categories of which only one is *transactions*. The other is known as *inherents*. The difference between these two is that transactions are signed and gossiped on the network and can be deemed useful *per se*. This fits the mold of what you would call transactions in Bitcoin or Ethereum.
-
-Inherents, meanwhile, are not passed on the network and are not signed. They represent data which describes the environment but which cannot call upon anything to prove it such as a signature. Rather they are assumed to be "true" simply because a sufficiently large number of validators have agreed on them being reasonable.
-
-To give an example, there is the timestamp inherent, which sets the current timestamp of the block. This is not a fixed part of Substrate, but does come as part of the Substrate Runtime Module Library to be used as desired. No signature could fundamentally prove that a block were authored at a given time in quite the same way that a signature can "prove" the desire to spend some particular funds. Rather, it is the business of each validator to ensure that they believe the timestamp is set to something reasonable before they agree that the block candidate is valid.
-
-Other examples include the parachain-heads extrinsic in Polkadot and the "note-missed-proposal" extrinsic used in the Substrate Runtime Module Library to determine and punish or deactivate offline validators.
-
-
-=== Runtime and API
-
-Substrate chains all have a runtime. The runtime is a WebAssembly "blob" that includes a number of entry-points. Some entry-points are required as part of the underlying Substrate specification. Others are merely convention and required for the default implementation of the Substrate client to be able to author blocks.
-
-If you want to develop a chain with Substrate, you will need to implement the `Core` trait. This `Core` trait generates an API with the minimum necessary functionality to interact with your runtime. A special macro is provided called `impl_runtime_apis!` that help you implement runtime API traits. All runtime API trait implementations need to be done in one call of the `impl_runtime_apis!` macro. All parameters and return values need to implement https://crates.io/crates/parity-codec[`parity-codec`] to be encodable and decodable.
-
-Here's a snippet of the Polkadot API implementation as of PoC-3:
-
-```rust
-impl_runtime_apis! {
- impl client_api::Core for Runtime {
- fn version() -> RuntimeVersion {
- VERSION
- }
-
- fn execute_block(block: Block) {
- Executive::execute_block(block)
- }
-
- fn initialize_block(header: ::Header) {
- Executive::initialize_block(&header)
- }
- }
- // ---snip---
-}
-```
-
-
-=== Inherent Extrinsics
-
-The Substrate Runtime Module Library includes functionality for timestamps and slashing. If used, these rely on "trusted" external information being passed in via inherent extrinsics. The Substrate reference block authoring client software will expect to be able to call into the runtime API with collated data (in the case of the reference Substrate authoring client, this is merely the current timestamp and which nodes were offline) in order to return the appropriate extrinsics ready for inclusion. If new inherent extrinsic types and data are to be used in a modified runtime, then it is this function (and its argument type) that would change.
-
-=== Block-authoring Logic
-
-In Substrate, there is a major distinction between blockchain *syncing* and block *authoring* ("authoring" is a more general term for what is called "mining" in Bitcoin). The first case might be referred to as a "full node" (or "light node" - Substrate supports both): authoring necessarily requires a synced node and, therefore, all authoring clients must necessarily be able to synchronize. However, the reverse is not true. The primary functionality that authoring nodes have which is not in "sync nodes" is threefold: transaction queue logic, inherent transaction knowledge and BFT consensus logic. BFT consensus logic is provided as a core element of Substrate and can be ignored since it is only exposed in the SDK under the `authorities()` API entry.
-
-Transaction queue logic in Substrate is designed to be as generic as possible, allowing a runtime to express which transactions are fit for inclusion in a block through the `initialize_block` and `apply_extrinsic` calls. However, more subtle aspects like prioritization and replacement policy must currently be expressed "hard coded" as part of the blockchain's authoring code. That said, Substrate's reference implementation for a transaction queue should be sufficient for an initial chain implementation.
-
-Inherent extrinsic knowledge is again somewhat generic, and the actual construction of the extrinsics is, by convention, delegated to the "soft code" in the runtime. If ever there needs to be additional extrinsic information in the chain, then both the block authoring logic will need to be altered to provide it into the runtime and the runtime's `inherent_extrinsics` call will need to use this extra information in order to construct any additional extrinsic transactions for inclusion in the block.
-
-== Roadmap
-
-=== So far
-
-- 0.1 "PoC-1": PBFT consensus, Wasm runtime engine, basic runtime modules.
-- 0.2 "PoC-2": Libp2p
-
-=== In progress
-
-- AfG consensus
-- Improved PoS
-- Smart contract runtime module
-
-=== The future
-
-- Splitting out runtime modules into separate repo
-- Introduce substrate executable (the skeleton-key runtime)
-- Introduce basic but extensible transaction queue and block-builder and place them in the executable.
-- DAO runtime module
-- Audit
-
-== Trying out Substrate Node
-
-Substrate Node is Substrate's pre-baked blockchain client. You can run a development node locally or configure a new chain and launch your own global testnet.
-
-=== On Mac and Ubuntu
-
-To get going as fast as possible, there is a simple script that installs all required dependencies and installs Substrate into your path. Just open a terminal and run:
-
-[source, shell]
-----
-curl https://getsubstrate.io -sSf | bash
-----
-
-You can start a local Substrate development chain with running `substrate --dev`.
-
-To create your own global network/cryptocurrency, you'll need to make a new Substrate Node chain specification file ("chainspec").
-
-First let's get a template chainspec that you can edit. We'll use the "staging" chain, a sort of default chain that the node comes pre-configured with:
-
-[source, shell]
-----
-substrate build-spec --chain=staging > ~/chainspec.json
-----
-
-Now, edit `~/chainspec.json` in your editor. There are a lot of individual fields for each module, and one very large one which contains the WebAssembly code blob for this chain. The easiest field to edit is the block `period`. Change it to 10 (seconds):
-
-[source, json]
-----
- "timestamp": {
- "minimumPeriod": 10
- },
-----
-
-Now with this new chainspec file, you can build a "raw" chain definition for your new chain:
-
-[source, shell]
-----
-substrate build-spec --chain ~/chainspec.json --raw > ~/mychain.json
-----
-
-This can be fed into Substrate:
-
-[source, shell]
-----
-substrate --chain ~/mychain.json
-----
-
-It won't do much until you start producing blocks though, so to do that you'll need to use the `--validator` option together with passing the seed for the account(s) that is configured to be the initial authorities:
-
-[source, shell]
-----
-substrate --chain ~/mychain.json --validator
-----
-
-You can distribute `mychain.json` so that everyone can synchronize and (depending on your authorities list) validate on your chain.
-
-
-== Building
-
-=== Hacking on Substrate
-
-If you'd actually like to hack on Substrate, you can just grab the source code and
-build it. Ensure you have Rust and the support software installed:
-
-==== Linux and Mac
-
-For Unix-based operating systems, you should run the following commands:
-
-[source, shell]
-----
-curl https://sh.rustup.rs -sSf | sh
-
-rustup update nightly
-rustup target add wasm32-unknown-unknown --toolchain nightly
-rustup update stable
-----
-
-You will also need to install the following packages:
-
- - Linux:
-[source, shell]
-sudo apt install cmake pkg-config libssl-dev git clang libclang-dev
-
-- Linux on ARM:
-`rust-lld` is required for linking wasm, but is missing on non Tier 1 platforms.
-So, use this https://github.com/Plume-org/Plume/blob/master/script/wasm-deps.sh[script]
-to build `lld` and create the symlink `/usr/bin/rust-lld` to the build binary.
-
- - Mac:
-[source, shell]
-brew install cmake pkg-config openssl git llvm
-
-To finish installation of Substrate, jump down to <>.
-
-==== Windows
-
-If you are trying to set up Substrate on Windows, you should do the following:
-
-1. First, you will need to download and install "Build Tools for Visual Studio:"
-
- * You can get it at this link: https://aka.ms/buildtools
- * Run the installation file: `vs_buildtools.exe`
- * Please ensure the Windows 10 SDK component is included when installing the Visual C++ Build Tools.
- * image:https://i.imgur.com/zayVLmu.png[image]
- * Restart your computer.
-
-2. Next, you need to install Rust:
-
- * Detailed instructions are provided by the https://doc.rust-lang.org/book/ch01-01-installation.html#installing-rustup-on-windows[Rust Book].
- * Download from: https://www.rust-lang.org/tools/install
- * Run the installation file: `rustup-init.exe`
- > Note that it should not prompt you to install vs_buildtools since you did it in step 1.
- * Choose "Default Installation."
- * To get started, you need Cargo's bin directory (%USERPROFILE%\.cargo\bin) in your PATH environment variable. Future applications will automatically have the correct environment, but you may need to restart your current shell.
-
-3. Then, you will need to run some commands in CMD to set up your Wasm Build Environment:
-
- rustup update nightly
- rustup update stable
- rustup target add wasm32-unknown-unknown --toolchain nightly
-
-4. Then, you need to install LLVM: https://releases.llvm.org/download.html
-
-5. Next, you need to install OpenSSL, which we will do with `vcpkg`:
-
- mkdir \Tools
- cd \Tools
- git clone https://github.com/Microsoft/vcpkg.git
- cd vcpkg
- .\bootstrap-vcpkg.bat
- .\vcpkg.exe install openssl:x64-windows-static
-
-6. After, you need to add OpenSSL to your System Variables. Note that in order for the following commands to work, you need to use Windows Powershell:
-
- $env:OPENSSL_DIR = 'C:\Tools\vcpkg\installed\x64-windows-static'
- $env:OPENSSL_STATIC = 'Yes'
- [System.Environment]::SetEnvironmentVariable('OPENSSL_DIR', $env:OPENSSL_DIR, [System.EnvironmentVariableTarget]::User)
- [System.Environment]::SetEnvironmentVariable('OPENSSL_STATIC', $env:OPENSSL_STATIC, [System.EnvironmentVariableTarget]::User)
-
-7. Finally, you need to install `cmake`: https://cmake.org/download/
-
-==== Shared Steps
-
-Then, grab the Substrate source code:
-
-[source, shell]
-----
-git clone https://github.com/paritytech/substrate.git
-cd substrate
-----
-
-Then build the code:
-
-[source, shell]
-----
-cargo build # Builds all native code
-----
-
-You can run all the tests if you like:
-
-[source, shell]
-cargo test --all
-
-Or just run the tests of a specific package (i.e. `cargo test -p srml-assets`)
-
-You can start a development chain with:
-
-[source, shell]
-cargo run --release -- --dev
-
-Detailed logs may be shown by running the node with the following environment variables set: `RUST_LOG=debug RUST_BACKTRACE=1 cargo run --release \-- --dev`.
-
-If you want to see the multi-node consensus algorithm in action locally, then you can create a local testnet with two validator nodes for Alice and Bob, who are the initial authorities of the genesis chain specification that have been endowed with a testnet DOTs. We'll give each node a name and expose them so they are listed on link:https://telemetry.polkadot.io/#/Local%20Testnet[Telemetry]. You'll need two terminal windows open.
-
-We'll start Alice's Substrate node first on default TCP port 30333 with her chain database stored locally at `/tmp/alice`. The Bootnode ID of her node is `QmRpheLN4JWdAnY7HGJfWFNbfkQCb6tFf4vvA6hgjMZKrR`, which is generated from the `--node-key` value that we specify below:
-
-[source, shell]
-cargo run --release \-- \
- --base-path /tmp/alice \
- --chain=local \
- --alice \
- --node-key 0000000000000000000000000000000000000000000000000000000000000001 \
- --telemetry-url ws://telemetry.polkadot.io:1024 \
- --validator
-
-In the second terminal, we'll run the following to start Bob's Substrate node on a different TCP port of 30334, and with his chain database stored locally at `/tmp/bob`. We'll specify a value for the `--bootnodes` option that will connect his node to Alice's Bootnode ID on TCP port 30333:
-
-[source, shell]
-cargo run --release \-- \
- --base-path /tmp/bob \
- --bootnodes /ip4/127.0.0.1/tcp/30333/p2p/QmRpheLN4JWdAnY7HGJfWFNbfkQCb6tFf4vvA6hgjMZKrR \
- --chain=local \
- --bob \
- --port 30334 \
- --telemetry-url ws://telemetry.polkadot.io:1024 \
- --validator
-
-Additional Substrate CLI usage options are available and may be shown by running `cargo run \-- --help`.
-
-=== WASM binaries
-
-The WASM binaries are built during the normal `cargo build` process. To control the WASM binary building,
-we support multiple environment variables:
-
-* `SKIP_WASM_BUILD` - Skips building any WASM binary. This is useful when only native should be recompiled.
-* `BUILD_DUMMY_WASM_BINARY` - Builds dummy WASM binaries. These dummy binaries are empty and useful
- for `cargo check` runs.
-* `WASM_BUILD_TYPE` - Sets the build type for building WASM binaries. Supported values are `release` or `debug`.
- By default the build type is equal to the build type used by the main build.
-* `TRIGGER_WASM_BUILD` - Can be set to trigger a WASM build. On subsequent calls the value of the variable
- needs to change. As WASM builder instructs `cargo` to watch for file changes
- this environment variable should only be required in certain circumstances.
-* `WASM_TARGET_DIRECTORY` - Will copy any build WASM binary to the given directory. The path needs
- to be absolute.
-* `WASM_BUILD_RUSTFLAGS` - Extend `RUSTFLAGS` given to `cargo build` while building the wasm binary.
-* `WASM_BUILD_NO_COLOR` - Disable color output of the wasm build.
-
-Each project can be skipped individually by using the environment variable `SKIP_PROJECT_NAME_WASM_BUILD`.
-Where `PROJECT_NAME` needs to be replaced by the name of the cargo project, e.g. `node-runtime` will
-be `NODE_RUNTIME`.
-
-[[flaming-fir]]
-=== Joining the Flaming Fir Testnet
-
-Flaming Fir is the new testnet for Substrate master (2.0) to test the latest development features. Please note that master is not compatible with the BBQ Birch, Charred Cherry, Dried Danta or Emberic Elm testnets. Ensure you have the dependencies listed above before compiling.
-
-Since Flaming Fir is targeting the master branch we make absolutely no guarantees of stability and/or persistence of the network. We might reset the chain at any time if it is necessary to deploy new changes. Currently, the validators are running with a client built from `d013bd900`, if you build from this commit you should be able to successfully sync, later commits may not work as new breaking changes may be introduced in master.
-
-Latest known working version: `a2a0eb5398d6223e531455b4c155ef053a4a3a2b`
-
-[source, shell]
-----
-git clone https://github.com/paritytech/substrate.git
-cd substrate
-git checkout -b flaming-fir a2a0eb5398d6223e531455b4c155ef053a4a3a2b
-----
-
-You can run the tests if you like:
-
-[source, shell]
-cargo test --all
-
-Start your node:
-
-[source, shell]
-cargo run --release \--
-
-To see a list of command line options, enter:
-
-[source, shell]
-cargo run --release \-- --help
-
-For example, you can choose a custom node name:
-
-[source, shell]
-cargo run --release \-- --name my_custom_name
-
-If you are successful, you will see your node syncing at https://telemetry.polkadot.io/#/Flaming%20Fir
-
-=== Joining the Emberic Elm Testnet
-
-Emberic Elm is the testnet for Substrate 1.0. Please note that 1.0 is not compatible with the BBQ Birch, Charred Cherry, Dried Danta or Flaming Fir testnets.
-In order to join the Emberic Elm testnet you should build from the `v1.0` branch. Ensure you have the dependencies listed above before compiling.
-
-[source, shell]
-----
-git clone https://github.com/paritytech/substrate.git
-cd substrate
-git checkout -b v1.0 origin/v1.0
-----
-
-You can then follow the same steps for building and running as described above in <>.
-
-== Key management
-
-Keys in Substrate are stored in the keystore in the file system. To store keys into this keystore,
-you need to use one of the two provided RPC calls. If your keys are encrypted or should be encrypted
-by the keystore, you need to provide the key using one of the cli arguments `--password`,
-`--password-interactive` or `--password-filename`.
-
-=== Recommended RPC call
-
-For most users who want to run a validator node, the `author_rotateKeys` RPC call is sufficient.
-The RPC call will generate `N` Session keys for you and return their public keys. `N` is the number
-of session keys configured in the runtime. The output of the RPC call can be used as input for the
-`session::set_keys` transaction.
-
-```
-curl -H 'Content-Type: application/json' --data '{ "jsonrpc":"2.0", "method":"author_rotateKeys", "id":1 }' localhost:9933
-```
-
-=== Advanced RPC call
-
-If the Session keys need to match a fixed seed, they can be set individually key by key. The RPC call
-expects the key seed and the key type. The key types supported by default in Substrate are listed
-https://github.com/paritytech/substrate/blob/master/core/primitives/src/crypto.rs#L767[here], but the
-user can declare any key type.
-
-```
-curl -H 'Content-Type: application/json' --data '{ "jsonrpc":"2.0", "method":"author_insertKey", "params":["KEY_TYPE", "SEED", "PUBLIC"],"id":1 }' localhost:9933
-```
-
-`KEY_TYPE` - needs to be replaced with the 4-character key type identifier.
-`SEED` - is the seed of the key.
-`PUBLIC` - public key for the given key.
-
-== Documentation
-
-=== Viewing documentation for Substrate packages
-
-You can generate documentation for a Substrate Rust package and have it automatically open in your web browser using https://doc.rust-lang.org/rustdoc/what-is-rustdoc.html#using-rustdoc-with-cargo[rustdoc with Cargo],
-(of the The Rustdoc Book), by running the following command:
-
-```
-cargo doc --package --open
-```
-
-Replacing `` with one of the following (i.e. `cargo doc --package substrate --open`):
-
-* All Substrate Packages
-[source, shell]
-substrate
-* Substrate Core
-[source, shell]
-substrate, substrate-cli, substrate-client, substrate-client-db,
-substrate-consensus-common, substrate-consensus-rhd,
-substrate-executor, substrate-finality-grandpa, substrate-keyring, substrate-keystore, substrate-network,
-substrate-network-libp2p, substrate-primitives, substrate-rpc, substrate-rpc-servers,
-substrate-serializer, substrate-service, substrate-service-test, substrate-state-db,
-substrate-state-machine, substrate-telemetry, substrate-test-client,
-substrate-test-runtime, substrate-transaction-graph, substrate-transaction-pool,
-substrate-trie
-* Substrate Runtime
-[source, shell]
-sr-api, sr-io, sr-primitives, sr-sandbox, sr-std, sr-version
-* Substrate Runtime Module Library (SRML)
-[source, shell]
-srml-assets, srml-balances, srml-consensus, srml-contracts, srml-council, srml-democracy, srml-example,
-srml-executive, srml-metadata, srml-session, srml-staking, srml-support, srml-system, srml-timestamp,
-srml-treasury
-* Node
-[source, shell]
-node-cli, node-consensus, node-executor, node-network, node-primitives, node-runtime
-* Subkey
-[source, shell]
-subkey
-
-=== Contributing to documentation for Substrate packages
-
-https://doc.rust-lang.org/1.9.0/book/documentation.html[Document source code] for Substrate packages by annotating the source code with documentation comments.
-
-Example (generic):
-```markdown
-/// Summary
-///
-/// Description
-///
-/// # Panics
-///
-/// # Errors
-///
-/// # Safety
-///
-/// # Examples
-///
-/// Summary of Example 1
-///
-/// ```rust
-/// // insert example 1 code here
-/// ```
-///
-```
-
-* Important notes:
-** Documentation comments must use annotations with a triple slash `///`
-** Modules are documented using `//!`
-```
-//! Summary (of module)
-//!
-//! Description (of module)
-```
-* Special section header is indicated with a hash `#`.
-** `Panics` section requires an explanation if the function triggers a panic
-** `Errors` section is for describing conditions under which a function of method returns `Err(E)` if it returns a `Result`
-** `Safety` section requires an explanation if the function is `unsafe`
-** `Examples` section includes examples of using the function or method
-* Code block annotations for examples are included between triple graves, as shown above.
-Instead of including the programming language to use for syntax highlighting as the annotation
-after the triple graves, alternative annotations include the `ignore`, `text`, `should_panic`, or `no_run`.
-* Summary sentence is a short high level single sentence of its functionality
-* Description paragraph is for details additional to the summary sentence
-* Missing documentation annotations may be used to identify where to generate warnings with `#![warn(missing_docs)]`
-or errors `#![deny(missing_docs)]`
-* Hide documentation for items with `#[doc(hidden)]`
-
-=== Contributing to documentation (tests, extended examples, macros) for Substrate packages
-
-The code block annotations in the `# Example` section may be used as https://doc.rust-lang.org/1.9.0/book/documentation.html#documentation-as-tests[documentation as tests and for extended examples].
-
-* Important notes:
-** Rustdoc will automatically add a `main()` wrapper around the code block to test it
-** https://doc.rust-lang.org/1.9.0/book/documentation.html#documenting-macros[Documenting macros].
-** Documentation as tests examples are included when running `cargo test`
+== Trying it out
-== Contributing
+Simply go to [substrate.dev](https://substrate.dev) and follow the instructions as listed.
-=== Contributing Guidelines
+== Contributions & Code of Conduct
-include::CONTRIBUTING.adoc[]
+Please follow the contributions guidelines as outlined in [`docs/CONTRIBUTING.adoc`](docs/CONTRIBUTING.adoc). In all communications and contributions, this project follows the [Contributor Covenant Code of Conduct](docs/CODE_OF_CONDUCT.adoc).
-=== Contributor Code of Conduct
+== Security
-include::CODE_OF_CONDUCT.adoc[]
+The security policy and procedures can be found in [`docs/SECURITY.md`](docs/SECURITY.md).
== License
-https://github.com/paritytech/substrate/blob/master/LICENSE[LICENSE]
+GPL 3.0 see `LICENSE`-file in the repo root.
\ No newline at end of file
diff --git a/bin/node-template/Cargo.toml b/bin/node-template/Cargo.toml
new file mode 100644
index 0000000000000..99ea7af798f16
--- /dev/null
+++ b/bin/node-template/Cargo.toml
@@ -0,0 +1,41 @@
+[package]
+name = "node-template"
+version = "2.0.0"
+authors = ["Anonymous"]
+build = "build.rs"
+edition = "2018"
+
+[[bin]]
+name = "node-template"
+path = "src/main.rs"
+
+[dependencies]
+derive_more = "0.15.0"
+futures = "0.1.29"
+ctrlc = { version = "3.1.3", features = ["termination"] }
+log = "0.4.8"
+tokio = "0.1.22"
+exit-future = "0.1.4"
+parking_lot = "0.9.0"
+codec = { package = "parity-scale-codec", version = "1.0.0" }
+trie-root = "0.15.2"
+sr-io = { path = "../../primitives/sr-io" }
+substrate-cli = { path = "../../client/cli" }
+primitives = { package = "substrate-primitives", path = "../../primitives/core" }
+substrate-executor = { path = "../../client/executor" }
+substrate-service = { path = "../../client/service" }
+inherents = { package = "substrate-inherents", path = "../../primitives/inherents" }
+transaction-pool = { package = "substrate-transaction-pool", path = "../../client/transaction-pool" }
+network = { package = "substrate-network", path = "../../client/network" }
+aura = { package = "substrate-consensus-aura", path = "../../client/consensus/aura" }
+aura-primitives = { package = "substrate-consensus-aura-primitives", path = "../../primitives/consensus/aura" }
+grandpa = { package = "substrate-finality-grandpa", path = "../../client/finality-grandpa" }
+grandpa-primitives = { package = "substrate-finality-grandpa-primitives", path = "../../primitives/finality-grandpa" }
+substrate-client = { path = "../../client/" }
+runtime = { package = "node-template-runtime", path = "runtime" }
+sr-primitives = { path = "../../primitives/sr-primitives" }
+basic-authorship = { package = "substrate-basic-authorship", path = "../../client/basic-authorship"}
+
+[build-dependencies]
+vergen = "3.0.4"
+build-script-utils = { package = "substrate-build-script-utils", path = "../../utils/build-script-utils" }
diff --git a/node-template/LICENSE b/bin/node-template/LICENSE
similarity index 100%
rename from node-template/LICENSE
rename to bin/node-template/LICENSE
diff --git a/node-template/README.md b/bin/node-template/README.md
similarity index 100%
rename from node-template/README.md
rename to bin/node-template/README.md
diff --git a/node-template/build.rs b/bin/node-template/build.rs
similarity index 100%
rename from node-template/build.rs
rename to bin/node-template/build.rs
diff --git a/bin/node-template/runtime/Cargo.toml b/bin/node-template/runtime/Cargo.toml
new file mode 100644
index 0000000000000..17b1c59106cd7
--- /dev/null
+++ b/bin/node-template/runtime/Cargo.toml
@@ -0,0 +1,67 @@
+[package]
+name = "node-template-runtime"
+version = "2.0.0"
+authors = ["Anonymous"]
+edition = "2018"
+
+[dependencies]
+aura = { package = "paint-aura", path = "../../../paint/aura", default-features = false }
+aura-primitives = { package = "substrate-consensus-aura-primitives", path = "../../../primitives/consensus/aura", default-features = false }
+balances = { package = "paint-balances", path = "../../../paint/balances", default-features = false }
+block-builder-api = { package = "substrate-block-builder-runtime-api", path = "../../../primitives/block-builder/runtime-api", default-features = false}
+codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
+executive = { package = "paint-executive", path = "../../../paint/executive", default-features = false }
+grandpa = { package = "paint-grandpa", path = "../../../paint/grandpa", default-features = false }
+indices = { package = "paint-indices", path = "../../../paint/indices", default-features = false }
+inherents = { package = "substrate-inherents", path = "../../../primitives/inherents", default-features = false}
+offchain-primitives = { package = "substrate-offchain-primitives", path = "../../../primitives/offchain", default-features = false }
+primitives = { package = "substrate-primitives", path = "../../../primitives/core", default-features = false }
+randomness-collective-flip = { package = "paint-randomness-collective-flip", path = "../../../paint/randomness-collective-flip", default-features = false }
+rstd = { package = "sr-std", path = "../../../primitives/sr-std", default-features = false }
+runtime-io = { package = "sr-io", path = "../../../primitives/sr-io", default-features = false }
+safe-mix = { version = "1.0.0", default-features = false }
+serde = { version = "1.0.101", optional = true, features = ["derive"] }
+sr-api = { path = "../../../primitives/sr-api", default-features = false }
+sr-primitives = { path = "../../../primitives/sr-primitives", default-features = false }
+substrate-session = { path = "../../../primitives/session", default-features = false }
+sudo = { package = "paint-sudo", path = "../../../paint/sudo", default-features = false }
+support = { package = "paint-support", path = "../../../paint/support", default-features = false }
+system = { package = "paint-system", path = "../../../paint/system", default-features = false }
+timestamp = { package = "paint-timestamp", path = "../../../paint/timestamp", default-features = false }
+transaction-payment = { package = "paint-transaction-payment", path = "../../../paint/transaction-payment", default-features = false }
+tx-pool-api = { package = "substrate-transaction-pool-runtime-api", path = "../../../primitives/transaction-pool/runtime-api", default-features = false }
+version = { package = "sr-version", path = "../../../primitives/sr-version", default-features = false }
+
+[build-dependencies]
+wasm-builder-runner = { package = "substrate-wasm-builder-runner", path = "../../../client/utils/wasm-builder-runner", version = "1.0.4" }
+
+[features]
+default = ["std"]
+std = [
+ "aura-primitives/std",
+ "aura/std",
+ "balances/std",
+ "block-builder-api/std",
+ "codec/std",
+ "executive/std",
+ "grandpa/std",
+ "indices/std",
+ "inherents/std",
+ "offchain-primitives/std",
+ "primitives/std",
+ "randomness-collective-flip/std",
+ "rstd/std",
+ "runtime-io/std",
+ "safe-mix/std",
+ "serde",
+ "sr-api/std",
+ "sr-primitives/std",
+ "substrate-session/std",
+ "sudo/std",
+ "support/std",
+ "system/std",
+ "timestamp/std",
+ "transaction-payment/std",
+ "tx-pool-api/std",
+ "version/std",
+]
diff --git a/node-template/runtime/build.rs b/bin/node-template/runtime/build.rs
similarity index 100%
rename from node-template/runtime/build.rs
rename to bin/node-template/runtime/build.rs
diff --git a/node-template/runtime/src/lib.rs b/bin/node-template/runtime/src/lib.rs
similarity index 100%
rename from node-template/runtime/src/lib.rs
rename to bin/node-template/runtime/src/lib.rs
diff --git a/node-template/runtime/src/template.rs b/bin/node-template/runtime/src/template.rs
similarity index 98%
rename from node-template/runtime/src/template.rs
rename to bin/node-template/runtime/src/template.rs
index db7bd24b0e419..e28099d825e79 100644
--- a/node-template/runtime/src/template.rs
+++ b/bin/node-template/runtime/src/template.rs
@@ -6,7 +6,7 @@
/// For more guidance on Substrate modules, see the example module
-/// https://github.com/paritytech/substrate/blob/master/srml/example/src/lib.rs
+/// https://github.com/paritytech/substrate/blob/master/paint/example/src/lib.rs
use support::{decl_module, decl_storage, decl_event, dispatch::Result};
use system::ensure_signed;
diff --git a/scripts/init.sh b/bin/node-template/scripts/init.sh
similarity index 100%
rename from scripts/init.sh
rename to bin/node-template/scripts/init.sh
diff --git a/node-template/src/chain_spec.rs b/bin/node-template/src/chain_spec.rs
similarity index 100%
rename from node-template/src/chain_spec.rs
rename to bin/node-template/src/chain_spec.rs
diff --git a/node-template/src/cli.rs b/bin/node-template/src/cli.rs
similarity index 100%
rename from node-template/src/cli.rs
rename to bin/node-template/src/cli.rs
diff --git a/node-template/src/main.rs b/bin/node-template/src/main.rs
similarity index 100%
rename from node-template/src/main.rs
rename to bin/node-template/src/main.rs
diff --git a/node-template/src/service.rs b/bin/node-template/src/service.rs
similarity index 99%
rename from node-template/src/service.rs
rename to bin/node-template/src/service.rs
index 7967a1d2d4e8f..ad517d956b4c7 100644
--- a/node-template/src/service.rs
+++ b/bin/node-template/src/service.rs
@@ -12,6 +12,7 @@ use substrate_executor::native_executor_instance;
pub use substrate_executor::NativeExecutor;
use aura_primitives::sr25519::{AuthorityPair as AuraPair};
use grandpa::{self, FinalityProofProvider as GrandpaFinalityProofProvider};
+use basic_authorship;
// Our native executor instance.
native_executor_instance!(
diff --git a/node/cli/Cargo.toml b/bin/node/cli/Cargo.toml
similarity index 53%
rename from node/cli/Cargo.toml
rename to bin/node/cli/Cargo.toml
index 7af9497864e3e..ba7568f571e83 100644
--- a/node/cli/Cargo.toml
+++ b/bin/node/cli/Cargo.toml
@@ -34,41 +34,43 @@ rand = "0.7.2"
structopt = "0.3.3"
# primitives
-primitives = { package = "substrate-primitives", path = "../../core/primitives" }
-sr-primitives = { path = "../../core/sr-primitives" }
-babe-primitives = { package = "substrate-consensus-babe-primitives", path = "../../core/consensus/babe/primitives" }
-grandpa_primitives = { package = "substrate-finality-grandpa-primitives", path = "../../core/finality-grandpa/primitives" }
-authority-discovery-primitives = { package = "substrate-authority-discovery-primitives", path = "../../core/authority-discovery/primitives"}
+authority-discovery-primitives = { package = "substrate-authority-discovery-primitives", path = "../../../primitives/authority-discovery"}
+babe-primitives = { package = "substrate-consensus-babe-primitives", path = "../../../primitives/consensus/babe" }
+grandpa_primitives = { package = "substrate-finality-grandpa-primitives", path = "../../../primitives/finality-grandpa" }
+primitives = { package = "substrate-primitives", path = "../../../primitives/core" }
+sr-primitives = { path = "../../../primitives/sr-primitives" }
# core dependencies
-runtime-io = { package = "sr-io", path = "../../core/sr-io" }
-client = { package = "substrate-client", path = "../../core/client" }
-inherents = { package = "substrate-inherents", path = "../../core/inherents" }
-chain-spec = { package = "substrate-chain-spec", path = "../../core/chain-spec" }
-transaction_pool = { package = "substrate-transaction-pool", path = "../../core/transaction-pool" }
-network = { package = "substrate-network", path = "../../core/network" }
-babe = { package = "substrate-consensus-babe", path = "../../core/consensus/babe" }
-grandpa = { package = "substrate-finality-grandpa", path = "../../core/finality-grandpa" }
-authority-discovery = { package = "substrate-authority-discovery", path = "../../core/authority-discovery"}
-keyring = { package = "substrate-keyring", path = "../../core/keyring" }
-client_db = { package = "substrate-client-db", path = "../../core/client/db", default-features = false }
-offchain = { package = "substrate-offchain", path = "../../core/offchain" }
-substrate-rpc = { package = "substrate-rpc", path = "../../core/rpc" }
-substrate-basic-authorship = { path = "../../core/basic-authorship" }
-substrate-service = { path = "../../core/service", default-features = false }
-substrate-telemetry = { package = "substrate-telemetry", path = "../../core/telemetry" }
+runtime-io = { package = "sr-io", path = "../../../primitives/sr-io" }
+client-api = { package = "substrate-client-api", path = "../../../client/api" }
+client = { package = "substrate-client", path = "../../../client/" }
+inherents = { package = "substrate-inherents", path = "../../../primitives/inherents" }
+chain-spec = { package = "substrate-chain-spec", path = "../../../client/chain-spec" }
+transaction_pool = { package = "substrate-transaction-pool", path = "../../../client/transaction-pool" }
+network = { package = "substrate-network", path = "../../../client/network" }
+babe = { package = "substrate-consensus-babe", path = "../../../client/consensus/babe" }
+grandpa = { package = "substrate-finality-grandpa", path = "../../../client/finality-grandpa" }
+keyring = { package = "substrate-keyring", path = "../../../primitives/keyring" }
+client_db = { package = "substrate-client-db", path = "../../../client/db", default-features = false }
+offchain = { package = "substrate-offchain", path = "../../../client/offchain" }
+substrate-rpc = { package = "substrate-rpc", path = "../../../client/rpc" }
+substrate-basic-authorship = { path = "../../../client/basic-authorship" }
+substrate-service = { path = "../../../client/service", default-features = false }
+substrate-telemetry = { package = "substrate-telemetry", path = "../../../client/telemetry" }
+authority-discovery = { package = "substrate-authority-discovery", path = "../../../client/authority-discovery"}
+
+# paint dependencies
+indices = { package = "paint-indices", path = "../../../paint/indices" }
+timestamp = { package = "paint-timestamp", path = "../../../paint/timestamp", default-features = false }
+finality_tracker = { package = "paint-finality-tracker", path = "../../../paint/finality-tracker", default-features = false }
+contracts = { package = "paint-contracts", path = "../../../paint/contracts" }
+system = { package = "paint-system", path = "../../../paint/system" }
+balances = { package = "paint-balances", path = "../../../paint/balances" }
+transaction-payment = { package = "paint-transaction-payment", path = "../../../paint/transaction-payment" }
+support = { package = "paint-support", path = "../../../paint/support", default-features = false }
+im_online = { package = "paint-im-online", path = "../../../paint/im-online", default-features = false }
+sr-authority-discovery = { package = "paint-authority-discovery", path = "../../../paint/authority-discovery"}
-# srml dependencies
-indices = { package = "srml-indices", path = "../../srml/indices" }
-timestamp = { package = "srml-timestamp", path = "../../srml/timestamp", default-features = false }
-finality_tracker = { package = "srml-finality-tracker", path = "../../srml/finality-tracker", default-features = false }
-contracts = { package = "srml-contracts", path = "../../srml/contracts" }
-system = { package = "srml-system", path = "../../srml/system" }
-balances = { package = "srml-balances", path = "../../srml/balances" }
-transaction-payment = { package = "srml-transaction-payment", path = "../../srml/transaction-payment" }
-support = { package = "srml-support", path = "../../srml/support", default-features = false }
-im_online = { package = "srml-im-online", path = "../../srml/im-online", default-features = false }
-sr-authority-discovery = { package = "srml-authority-discovery", path = "../../srml/authority-discovery", default-features = false }
# node-specific dependencies
node-runtime = { path = "../runtime" }
@@ -79,8 +81,8 @@ node-executor = { path = "../executor" }
# CLI-specific dependencies
tokio = { version = "0.1.22", optional = true }
exit-future = { version = "0.1.4", optional = true }
-substrate-cli = { path = "../../core/cli", optional = true }
-transaction-factory = { path = "../../test-utils/transaction-factory", optional = true }
+substrate-cli = { path = "../../../client/cli", optional = true }
+transaction-factory = { path = "../../../test/utils/transaction-factory", optional = true }
ctrlc = { version = "3.1.3", features = ["termination"], optional = true }
# WASM-specific dependencies
@@ -95,16 +97,16 @@ kvdb-memorydb = { git = "https://github.com/paritytech/parity-common", rev="b031
rand6 = { package = "rand", version = "0.6", features = ["wasm-bindgen"], optional = true } # Imported just for the `wasm-bindgen` feature
[dev-dependencies]
-keystore = { package = "substrate-keystore", path = "../../core/keystore" }
-babe = { package = "substrate-consensus-babe", path = "../../core/consensus/babe", features = ["test-helpers"] }
-consensus-common = { package = "substrate-consensus-common", path = "../../core/consensus/common" }
-service-test = { package = "substrate-service-test", path = "../../core/service/test" }
+keystore = { package = "substrate-keystore", path = "../../../client/keystore" }
+babe = { package = "substrate-consensus-babe", path = "../../../client/consensus/babe", features = ["test-helpers"] }
+consensus-common = { package = "substrate-consensus-common", path = "../../../primitives/consensus/common" }
+service-test = { package = "substrate-service-test", path = "../../../client/service/test" }
futures03 = { package = "futures-preview", version = "0.3.0-alpha.19" }
tempfile = "3.1.0"
[build-dependencies]
-substrate-cli = { package = "substrate-cli", path = "../../core/cli" }
-build-script-utils = { package = "substrate-build-script-utils", path = "../../core/utils/build-script-utils" }
+substrate-cli = { package = "substrate-cli", path = "../../../client/cli" }
+build-script-utils = { package = "substrate-build-script-utils", path = "../../../utils/build-script-utils" }
structopt = "0.3.3"
vergen = "3.0.4"
diff --git a/node/cli/bin/main.rs b/bin/node/cli/bin/main.rs
similarity index 100%
rename from node/cli/bin/main.rs
rename to bin/node/cli/bin/main.rs
diff --git a/node/cli/browser-demo/.gitignore b/bin/node/cli/browser-demo/.gitignore
similarity index 100%
rename from node/cli/browser-demo/.gitignore
rename to bin/node/cli/browser-demo/.gitignore
diff --git a/node/cli/browser-demo/README.md b/bin/node/cli/browser-demo/README.md
similarity index 100%
rename from node/cli/browser-demo/README.md
rename to bin/node/cli/browser-demo/README.md
diff --git a/node/cli/browser-demo/build.sh b/bin/node/cli/browser-demo/build.sh
similarity index 100%
rename from node/cli/browser-demo/build.sh
rename to bin/node/cli/browser-demo/build.sh
diff --git a/node/cli/browser-demo/favicon.png b/bin/node/cli/browser-demo/favicon.png
similarity index 100%
rename from node/cli/browser-demo/favicon.png
rename to bin/node/cli/browser-demo/favicon.png
diff --git a/node/cli/browser-demo/index.html b/bin/node/cli/browser-demo/index.html
similarity index 100%
rename from node/cli/browser-demo/index.html
rename to bin/node/cli/browser-demo/index.html
diff --git a/node/cli/browser-demo/ws.js b/bin/node/cli/browser-demo/ws.js
similarity index 100%
rename from node/cli/browser-demo/ws.js
rename to bin/node/cli/browser-demo/ws.js
diff --git a/node/cli/build.rs b/bin/node/cli/build.rs
similarity index 100%
rename from node/cli/build.rs
rename to bin/node/cli/build.rs
diff --git a/node/cli/doc/shell-completion.adoc b/bin/node/cli/doc/shell-completion.adoc
similarity index 100%
rename from node/cli/doc/shell-completion.adoc
rename to bin/node/cli/doc/shell-completion.adoc
diff --git a/node/cli/res/flaming-fir.json b/bin/node/cli/res/flaming-fir.json
similarity index 100%
rename from node/cli/res/flaming-fir.json
rename to bin/node/cli/res/flaming-fir.json
diff --git a/node/cli/src/browser.rs b/bin/node/cli/src/browser.rs
similarity index 100%
rename from node/cli/src/browser.rs
rename to bin/node/cli/src/browser.rs
diff --git a/node/cli/src/chain_spec.rs b/bin/node/cli/src/chain_spec.rs
similarity index 100%
rename from node/cli/src/chain_spec.rs
rename to bin/node/cli/src/chain_spec.rs
diff --git a/node/cli/src/cli.rs b/bin/node/cli/src/cli.rs
similarity index 100%
rename from node/cli/src/cli.rs
rename to bin/node/cli/src/cli.rs
diff --git a/node/cli/src/factory_impl.rs b/bin/node/cli/src/factory_impl.rs
similarity index 100%
rename from node/cli/src/factory_impl.rs
rename to bin/node/cli/src/factory_impl.rs
diff --git a/node/cli/src/lib.rs b/bin/node/cli/src/lib.rs
similarity index 100%
rename from node/cli/src/lib.rs
rename to bin/node/cli/src/lib.rs
diff --git a/node/cli/src/service.rs b/bin/node/cli/src/service.rs
similarity index 99%
rename from node/cli/src/service.rs
rename to bin/node/cli/src/service.rs
index 3afa57b59c1c4..f4c0ad69f1427 100644
--- a/node/cli/src/service.rs
+++ b/bin/node/cli/src/service.rs
@@ -283,7 +283,7 @@ pub fn new_full(config: NodeConfiguration)
TransactionPool>,
OffchainWorkers<
ConcreteClient,
- >::OffchainStorage,
+ >::OffchainStorage,
ConcreteBlock,
>
>,
diff --git a/bin/node/executor/Cargo.toml b/bin/node/executor/Cargo.toml
new file mode 100644
index 0000000000000..5526b9691c07d
--- /dev/null
+++ b/bin/node/executor/Cargo.toml
@@ -0,0 +1,48 @@
+[package]
+name = "node-executor"
+version = "2.0.0"
+authors = ["Parity Technologies "]
+description = "Substrate node implementation in Rust."
+edition = "2018"
+
+[dependencies]
+trie-root = "0.15.2"
+codec = { package = "parity-scale-codec", version = "1.0.0" }
+runtime_io = { package = "sr-io", path = "../../../primitives/sr-io" }
+state_machine = { package = "substrate-state-machine", path = "../../../primitives/state-machine" }
+substrate-executor = { path = "../../../client/executor" }
+primitives = { package = "substrate-primitives", path = "../../../primitives/core" }
+trie = { package = "substrate-trie", path = "../../../primitives/trie" }
+node-primitives = { path = "../primitives" }
+node-runtime = { path = "../runtime" }
+
+[dev-dependencies]
+node-testing = { path = "../testing" }
+test-client = { package = "substrate-test-client", path = "../../../test/utils/client" }
+sr-primitives = { path = "../../../primitives/sr-primitives" }
+runtime_support = { package = "paint-support", path = "../../../paint/support" }
+balances = { package = "paint-balances", path = "../../../paint/balances" }
+transaction-payment = { package = "paint-transaction-payment", path = "../../../paint/transaction-payment" }
+session = { package = "paint-session", path = "../../../paint/session" }
+system = { package = "paint-system", path = "../../../paint/system" }
+timestamp = { package = "paint-timestamp", path = "../../../paint/timestamp" }
+treasury = { package = "paint-treasury", path = "../../../paint/treasury" }
+contracts = { package = "paint-contracts", path = "../../../paint/contracts" }
+grandpa = { package = "paint-grandpa", path = "../../../paint/grandpa" }
+indices = { package = "paint-indices", path = "../../../paint/indices" }
+wabt = "0.9.2"
+criterion = "0.3.0"
+
+[features]
+wasmtime = [
+ "substrate-executor/wasmtime",
+]
+wasmi-errno = [
+ "substrate-executor/wasmi-errno",
+]
+stress-test = []
+
+[[bench]]
+name = "bench"
+harness = false
+
diff --git a/node/executor/benches/bench.rs b/bin/node/executor/benches/bench.rs
similarity index 100%
rename from node/executor/benches/bench.rs
rename to bin/node/executor/benches/bench.rs
diff --git a/node/executor/src/lib.rs b/bin/node/executor/src/lib.rs
similarity index 100%
rename from node/executor/src/lib.rs
rename to bin/node/executor/src/lib.rs
diff --git a/node/primitives/Cargo.toml b/bin/node/primitives/Cargo.toml
similarity index 50%
rename from node/primitives/Cargo.toml
rename to bin/node/primitives/Cargo.toml
index 25725449a3a5a..1f632dda8dd5c 100644
--- a/node/primitives/Cargo.toml
+++ b/bin/node/primitives/Cargo.toml
@@ -5,11 +5,11 @@ authors = ["Parity Technologies "]
edition = "2018"
[dependencies]
-primitives = { package = "substrate-primitives", path = "../../core/primitives", default-features = false }
-sr-primitives = { path = "../../core/sr-primitives", default-features = false }
+primitives = { package = "substrate-primitives", path = "../../../primitives/core", default-features = false }
+sr-primitives = { path = "../../../primitives/sr-primitives", default-features = false }
[dev-dependencies]
-substrate-serializer = { path = "../../core/serializer" }
+substrate-serializer = { path = "../../../primitives/serializer" }
pretty_assertions = "0.6.1"
[features]
diff --git a/node/primitives/src/lib.rs b/bin/node/primitives/src/lib.rs
similarity index 100%
rename from node/primitives/src/lib.rs
rename to bin/node/primitives/src/lib.rs
diff --git a/node/rpc-client/Cargo.toml b/bin/node/rpc-client/Cargo.toml
similarity index 82%
rename from node/rpc-client/Cargo.toml
rename to bin/node/rpc-client/Cargo.toml
index bc30f598bbc22..882dd7ee2b629 100644
--- a/node/rpc-client/Cargo.toml
+++ b/bin/node/rpc-client/Cargo.toml
@@ -11,4 +11,4 @@ hyper = "0.12.35"
jsonrpc-core-client = { version = "14.0.3", features = ["http", "ws"] }
log = "0.4.8"
node-primitives = { path = "../primitives" }
-substrate-rpc = { path = "../../core/rpc", version = "2.0.0" }
+substrate-rpc = { path = "../../../client/rpc", version = "2.0.0" }
diff --git a/node/rpc-client/src/main.rs b/bin/node/rpc-client/src/main.rs
similarity index 100%
rename from node/rpc-client/src/main.rs
rename to bin/node/rpc-client/src/main.rs
diff --git a/bin/node/rpc/Cargo.toml b/bin/node/rpc/Cargo.toml
new file mode 100644
index 0000000000000..18f63f6b40f0f
--- /dev/null
+++ b/bin/node/rpc/Cargo.toml
@@ -0,0 +1,16 @@
+[package]
+name = "node-rpc"
+version = "2.0.0"
+authors = ["Parity Technologies "]
+edition = "2018"
+
+[dependencies]
+client = { package = "substrate-client", path = "../../../client/" }
+jsonrpc-core = "14.0.3"
+node-primitives = { path = "../primitives" }
+node-runtime = { path = "../runtime" }
+sr-primitives = { path = "../../../primitives/sr-primitives" }
+paint-contracts-rpc = { path = "../../../paint/contracts/rpc/" }
+paint-transaction-payment-rpc = { path = "../../../paint/transaction-payment/rpc/" }
+paint-system-rpc = { path = "../../../paint/system/rpc/" }
+transaction_pool = { package = "substrate-transaction-pool", path = "../../../client/transaction-pool" }
diff --git a/node/rpc/src/lib.rs b/bin/node/rpc/src/lib.rs
similarity index 81%
rename from node/rpc/src/lib.rs
rename to bin/node/rpc/src/lib.rs
index 99321373f8f8c..fd8dc2a5a7a6c 100644
--- a/node/rpc/src/lib.rs
+++ b/bin/node/rpc/src/lib.rs
@@ -19,7 +19,7 @@
//! Since `substrate` core functionality makes no assumptions
//! about the modules used inside the runtime, so do
//! RPC methods defined in `substrate-rpc` crate.
-//! It means that `core/rpc` can't have any methods that
+//! It means that `client/rpc` can't have any methods that
//! need some strong assumptions about the particular runtime.
//!
//! The RPCs available in this crate however can make some assumptions
@@ -41,15 +41,15 @@ pub fn create(client: Arc, pool: Arc>) -> jsonrpc_core::IoHa
C: ProvideRuntimeApi,
C: client::blockchain::HeaderBackend,
C: Send + Sync + 'static,
- C::Api: srml_system_rpc::AccountNonceApi,
- C::Api: srml_contracts_rpc::ContractsRuntimeApi,
- C::Api: srml_transaction_payment_rpc::TransactionPaymentRuntimeApi,
+ C::Api: paint_system_rpc::AccountNonceApi,
+ C::Api: paint_contracts_rpc::ContractsRuntimeApi,
+ C::Api: paint_transaction_payment_rpc::TransactionPaymentRuntimeApi,
P: ChainApi + Sync + Send + 'static,
M: jsonrpc_core::Metadata + Default,
{
- use srml_system_rpc::{System, SystemApi};
- use srml_contracts_rpc::{Contracts, ContractsApi};
- use srml_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApi};
+ use paint_system_rpc::{System, SystemApi};
+ use paint_contracts_rpc::{Contracts, ContractsApi};
+ use paint_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApi};
let mut io = jsonrpc_core::IoHandler::default();
io.extend_with(
diff --git a/bin/node/runtime/Cargo.toml b/bin/node/runtime/Cargo.toml
new file mode 100644
index 0000000000000..2cc7f84e8574c
--- /dev/null
+++ b/bin/node/runtime/Cargo.toml
@@ -0,0 +1,122 @@
+[package]
+name = "node-runtime"
+version = "2.0.0"
+authors = ["Parity Technologies "]
+edition = "2018"
+build = "build.rs"
+
+[dependencies]
+# third-party dependencies
+codec = { package = "parity-scale-codec", version = "1.0.6", default-features = false, features = ["derive"] }
+integer-sqrt = { version = "0.1.2" }
+safe-mix = { version = "1.0", default-features = false }
+rustc-hex = { version = "2.0", optional = true }
+serde = { version = "1.0.102", optional = true }
+
+# primitives
+authority-discovery-primitives = { package = "substrate-authority-discovery-primitives", path = "../../../primitives/authority-discovery", default-features = false }
+babe-primitives = { package = "substrate-consensus-babe-primitives", path = "../../../primitives/consensus/babe", default-features = false }
+block-builder-api = { package = "substrate-block-builder-runtime-api", path = "../../../primitives/block-builder/runtime-api", default-features = false}
+inherents = { package = "substrate-inherents", path = "../../../primitives/inherents", default-features = false }
+node-primitives = { path = "../primitives", default-features = false }
+offchain-primitives = { package = "substrate-offchain-primitives", path = "../../../primitives/offchain", default-features = false }
+primitives = { package = "substrate-primitives", path = "../../../primitives/core", default-features = false }
+rstd = { package = "sr-std", path = "../../../primitives/sr-std", default-features = false }
+sr-api = { path = "../../../primitives/sr-api", default-features = false }
+sr-primitives = { path = "../../../primitives/sr-primitives", default-features = false }
+sr-staking-primitives = { path = "../../../primitives/sr-staking-primitives", default-features = false }
+substrate-keyring = { path = "../../../primitives/keyring", optional = true }
+substrate-session = { path = "../../../primitives/session", default-features = false }
+tx-pool-api = { package = "substrate-transaction-pool-runtime-api", path = "../../../primitives/transaction-pool/runtime-api", default-features = false }
+version = { package = "sr-version", path = "../../../primitives/sr-version", default-features = false }
+
+# paint dependencies
+authority-discovery = { package = "paint-authority-discovery", path = "../../../paint/authority-discovery", default-features = false }
+authorship = { package = "paint-authorship", path = "../../../paint/authorship", default-features = false }
+babe = { package = "paint-babe", path = "../../../paint/babe", default-features = false }
+balances = { package = "paint-balances", path = "../../../paint/balances", default-features = false }
+collective = { package = "paint-collective", path = "../../../paint/collective", default-features = false }
+contracts = { package = "paint-contracts", path = "../../../paint/contracts", default-features = false }
+contracts-rpc-runtime-api = { package = "paint-contracts-rpc-runtime-api", path = "../../../paint/contracts/rpc/runtime-api/", default-features = false }
+democracy = { package = "paint-democracy", path = "../../../paint/democracy", default-features = false }
+elections-phragmen = { package = "paint-elections-phragmen", path = "../../../paint/elections-phragmen", default-features = false }
+executive = { package = "paint-executive", path = "../../../paint/executive", default-features = false }
+finality-tracker = { package = "paint-finality-tracker", path = "../../../paint/finality-tracker", default-features = false }
+grandpa = { package = "paint-grandpa", path = "../../../paint/grandpa", default-features = false }
+im-online = { package = "paint-im-online", path = "../../../paint/im-online", default-features = false }
+indices = { package = "paint-indices", path = "../../../paint/indices", default-features = false }
+membership = { package = "paint-membership", path = "../../../paint/membership", default-features = false }
+nicks = { package = "paint-nicks", path = "../../../paint/nicks", default-features = false }
+offences = { package = "paint-offences", path = "../../../paint/offences", default-features = false }
+randomness-collective-flip = { package = "paint-randomness-collective-flip", path = "../../../paint/randomness-collective-flip", default-features = false }
+session = { package = "paint-session", path = "../../../paint/session", default-features = false, features = ["historical"] }
+staking = { package = "paint-staking", path = "../../../paint/staking", default-features = false }
+paint-staking-reward-curve = { path = "../../../paint/staking/reward-curve"}
+sudo = { package = "paint-sudo", path = "../../../paint/sudo", default-features = false }
+support = { package = "paint-support", path = "../../../paint/support", default-features = false }
+system = { package = "paint-system", path = "../../../paint/system", default-features = false }
+system-rpc-runtime-api = { package = "paint-system-rpc-runtime-api", path = "../../../paint/system/rpc/runtime-api/", default-features = false }
+timestamp = { package = "paint-timestamp", path = "../../../paint/timestamp", default-features = false }
+treasury = { package = "paint-treasury", path = "../../../paint/treasury", default-features = false }
+utility = { package = "paint-utility", path = "../../../paint/utility", default-features = false }
+transaction-payment = { package = "paint-transaction-payment", path = "../../../paint/transaction-payment", default-features = false }
+transaction-payment-rpc-runtime-api = { package = "paint-transaction-payment-rpc-runtime-api", path = "../../../paint/transaction-payment/rpc/runtime-api/", default-features = false }
+
+[build-dependencies]
+wasm-builder-runner = { package = "substrate-wasm-builder-runner", path = "../../../client/utils/wasm-builder-runner", version = "1.0.4" }
+
+[dev-dependencies]
+runtime_io = { package = "sr-io", path = "../../../primitives/sr-io" }
+
+[features]
+default = ["std"]
+std = [
+ "authority-discovery-primitives/std",
+ "authority-discovery/std",
+ "authorship/std",
+ "babe-primitives/std",
+ "babe/std",
+ "balances/std",
+ "block-builder-api/std",
+ "codec/std",
+ "collective/std",
+ "contracts-rpc-runtime-api/std",
+ "contracts/std",
+ "democracy/std",
+ "elections-phragmen/std",
+ "executive/std",
+ "finality-tracker/std",
+ "grandpa/std",
+ "im-online/std",
+ "indices/std",
+ "inherents/std",
+ "membership/std",
+ "nicks/std",
+ "node-primitives/std",
+ "offchain-primitives/std",
+ "offences/std",
+ "primitives/std",
+ "randomness-collective-flip/std",
+ "rstd/std",
+ "rustc-hex",
+ "safe-mix/std",
+ "serde",
+ "session/std",
+ "sr-api/std",
+ "sr-primitives/std",
+ "sr-staking-primitives/std",
+ "staking/std",
+ "substrate-keyring",
+ "substrate-session/std",
+ "sudo/std",
+ "support/std",
+ "system-rpc-runtime-api/std",
+ "system/std",
+ "timestamp/std",
+ "transaction-payment-rpc-runtime-api/std",
+ "transaction-payment/std",
+ "treasury/std",
+ "tx-pool-api/std",
+ "utility/std",
+ "version/std",
+]
diff --git a/core/executor/runtime-test/build.rs b/bin/node/runtime/build.rs
similarity index 96%
rename from core/executor/runtime-test/build.rs
rename to bin/node/runtime/build.rs
index 68e5205f0c7a8..d6b0ae626facb 100644
--- a/core/executor/runtime-test/build.rs
+++ b/bin/node/runtime/build.rs
@@ -20,7 +20,7 @@ fn main() {
build_current_project_with_rustflags(
"wasm_binary.rs",
WasmBuilderSource::CratesOrPath {
- path: "../../utils/wasm-builder",
+ path: "../../../utils/wasm-builder",
version: "1.0.8",
},
// This instructs LLD to export __heap_base as a global variable, which is used by the
diff --git a/node/runtime/src/constants.rs b/bin/node/runtime/src/constants.rs
similarity index 100%
rename from node/runtime/src/constants.rs
rename to bin/node/runtime/src/constants.rs
diff --git a/node/runtime/src/impls.rs b/bin/node/runtime/src/impls.rs
similarity index 100%
rename from node/runtime/src/impls.rs
rename to bin/node/runtime/src/impls.rs
diff --git a/node/runtime/src/lib.rs b/bin/node/runtime/src/lib.rs
similarity index 99%
rename from node/runtime/src/lib.rs
rename to bin/node/runtime/src/lib.rs
index 8870db7265625..26c8288a4c911 100644
--- a/node/runtime/src/lib.rs
+++ b/bin/node/runtime/src/lib.rs
@@ -235,7 +235,7 @@ impl session::historical::Trait for Runtime {
type FullIdentificationOf = staking::ExposureOf;
}
-srml_staking_reward_curve::build! {
+paint_staking_reward_curve::build! {
const REWARD_CURVE: PiecewiseLinear<'static> = curve!(
min_inflation: 0_025_000,
max_inflation: 0_100_000,
diff --git a/bin/node/testing/Cargo.toml b/bin/node/testing/Cargo.toml
new file mode 100644
index 0000000000000..1f585c19a9b30
--- /dev/null
+++ b/bin/node/testing/Cargo.toml
@@ -0,0 +1,31 @@
+[package]
+name = "node-testing"
+version = "2.0.0"
+authors = ["Parity Technologies "]
+description = "Test utilities for Substrate node."
+edition = "2018"
+
+[dependencies]
+balances = { package = "paint-balances", path = "../../../paint/balances" }
+client = { package = "substrate-client", path = "../../../client/" }
+codec = { package = "parity-scale-codec", version = "1.0.0" }
+contracts = { package = "paint-contracts", path = "../../../paint/contracts" }
+grandpa = { package = "paint-grandpa", path = "../../../paint/grandpa" }
+indices = { package = "paint-indices", path = "../../../paint/indices" }
+keyring = { package = "substrate-keyring", path = "../../../primitives/keyring" }
+node-executor = { path = "../executor" }
+node-primitives = { path = "../primitives" }
+node-runtime = { path = "../runtime" }
+primitives = { package = "substrate-primitives", path = "../../../primitives/core" }
+runtime-io = { package = "sr-io", path = "../../../primitives/sr-io" }
+runtime_support = { package = "paint-support", path = "../../../paint/support" }
+session = { package = "paint-session", path = "../../../paint/session" }
+sr-primitives = { path = "../../../primitives/sr-primitives" }
+staking = { package = "paint-staking", path = "../../../paint/staking" }
+substrate-executor = { path = "../../../client/executor" }
+system = { package = "paint-system", path = "../../../paint/system" }
+test-client = { package = "substrate-test-client", path = "../../../test/utils/client" }
+timestamp = { package = "paint-timestamp", path = "../../../paint/timestamp" }
+transaction-payment = { package = "paint-transaction-payment", path = "../../../paint/transaction-payment" }
+treasury = { package = "paint-treasury", path = "../../../paint/treasury" }
+wabt = "0.9.2"
diff --git a/node/testing/src/client.rs b/bin/node/testing/src/client.rs
similarity index 100%
rename from node/testing/src/client.rs
rename to bin/node/testing/src/client.rs
diff --git a/node/testing/src/genesis.rs b/bin/node/testing/src/genesis.rs
similarity index 100%
rename from node/testing/src/genesis.rs
rename to bin/node/testing/src/genesis.rs
diff --git a/node/testing/src/keyring.rs b/bin/node/testing/src/keyring.rs
similarity index 100%
rename from node/testing/src/keyring.rs
rename to bin/node/testing/src/keyring.rs
diff --git a/node/testing/src/lib.rs b/bin/node/testing/src/lib.rs
similarity index 100%
rename from node/testing/src/lib.rs
rename to bin/node/testing/src/lib.rs
diff --git a/subkey/Cargo.toml b/bin/subkey/Cargo.toml
similarity index 61%
rename from subkey/Cargo.toml
rename to bin/subkey/Cargo.toml
index e1c3ef64d26d4..2a3a8318c9e85 100644
--- a/subkey/Cargo.toml
+++ b/bin/subkey/Cargo.toml
@@ -5,10 +5,10 @@ authors = ["Parity Technologies "]
edition = "2018"
[dependencies]
-primitives = { package = "substrate-primitives", version = "*", path = "../core/primitives" }
+primitives = { package = "substrate-primitives", version = "*", path = "../../primitives/core" }
node-runtime = { version = "*", path = "../node/runtime" }
node-primitives = { version = "*", path = "../node/primitives" }
-sr-primitives = { version = "*", path = "../core/sr-primitives" }
+sr-primitives = { version = "*", path = "../../primitives/sr-primitives" }
rand = "0.7.2"
clap = { version = "2.33.0", features = ["yaml"] }
tiny-bip39 = "0.6.2"
@@ -17,9 +17,9 @@ substrate-bip39 = "0.3.1"
hex = "0.3.2"
hex-literal = "0.2.1"
codec = { package = "parity-scale-codec", version = "1.0.0" }
-system = { package = "srml-system", path = "../srml/system" }
-balances = { package = "srml-balances", path = "../srml/balances" }
-transaction-payment = { package = "srml-transaction-payment", path = "../srml/transaction-payment" }
+system = { package = "paint-system", path = "../../paint/system" }
+balances = { package = "paint-balances", path = "../../paint/balances" }
+transaction-payment = { package = "paint-transaction-payment", path = "../../paint/transaction-payment" }
[features]
bench = []
diff --git a/subkey/README.adoc b/bin/subkey/README.adoc
similarity index 100%
rename from subkey/README.adoc
rename to bin/subkey/README.adoc
diff --git a/subkey/src/cli.yml b/bin/subkey/src/cli.yml
similarity index 100%
rename from subkey/src/cli.yml
rename to bin/subkey/src/cli.yml
diff --git a/subkey/src/main.rs b/bin/subkey/src/main.rs
similarity index 100%
rename from subkey/src/main.rs
rename to bin/subkey/src/main.rs
diff --git a/subkey/src/vanity.rs b/bin/subkey/src/vanity.rs
similarity index 100%
rename from subkey/src/vanity.rs
rename to bin/subkey/src/vanity.rs
diff --git a/ci/script.sh b/ci/script.sh
deleted file mode 100755
index b1b7dd3edf356..0000000000000
--- a/ci/script.sh
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/usr/bin/env bash
-
-set -eux
-
-# Enable warnings about unused extern crates
-export RUSTFLAGS=" -W unused-extern-crates"
-
-# Install rustup and the specified rust toolchain.
-curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain=$RUST_TOOLCHAIN -y
-
-# Load cargo environment. Specifically, put cargo into PATH.
-source ~/.cargo/env
-
-rustc --version
-rustup --version
-cargo --version
-
-case $TARGET in
- "native")
- sudo apt-get -y update
- sudo apt-get install -y cmake pkg-config libssl-dev
-
- cargo test --all --release --locked "$@"
- ;;
-
- "wasm")
- # Install prerequisites and build all wasm projects
- ./scripts/init.sh
- ./scripts/build.sh "$@"
- ;;
-esac
diff --git a/core/client/Cargo.toml b/client/Cargo.toml
similarity index 60%
rename from core/client/Cargo.toml
rename to client/Cargo.toml
index ea36b2fc4449c..194d3689cb9ee 100644
--- a/core/client/Cargo.toml
+++ b/client/Cargo.toml
@@ -5,36 +5,37 @@ authors = ["Parity Technologies "]
edition = "2018"
[dependencies]
+client-api = { package = "substrate-client-api", path = "api" }
+block-builder = { package = "substrate-block-builder", path = "block-builder" }
+codec = { package = "parity-scale-codec", version = "1.0.0", features = ["derive"] }
+consensus = { package = "substrate-consensus-common", path = "../primitives/consensus/common" }
+kvdb = { git = "https://github.com/paritytech/parity-common", rev="b0317f649ab2c665b7987b8475878fc4d2e1f81d" }
derive_more = { version = "0.15.0" }
+executor = { package = "substrate-executor", path = "executor" }
fnv = { version = "1.0.6" }
-log = { version = "0.4.8" }
-parking_lot = { version = "0.9.0" }
-hex-literal = { version = "0.2.1" }
futures = { version = "0.1.29" }
futures03 = { package = "futures-preview", version = "0.3.0-alpha.19", features = ["compat"] }
-consensus = { package = "substrate-consensus-common", path = "../consensus/common" }
-executor = { package = "substrate-executor", path = "../executor" }
-state-machine = { package = "substrate-state-machine", path = "../state-machine" }
-keyring = { package = "substrate-keyring", path = "../keyring" }
-trie = { package = "substrate-trie", path = "../trie" }
-substrate-telemetry = { path = "../telemetry" }
hash-db = { version = "0.15.2" }
-kvdb = { git = "https://github.com/paritytech/parity-common", rev="b0317f649ab2c665b7987b8475878fc4d2e1f81d" }
-codec = { package = "parity-scale-codec", version = "1.0.0", features = ["derive"] }
-primitives = { package = "substrate-primitives", path = "../primitives" }
-sr-primitives = { path = "../sr-primitives" }
-runtime-version = { package = "sr-version", path = "../sr-version" }
-rstd = { package = "sr-std", path = "../sr-std" }
-inherents = { package = "substrate-inherents", path = "../inherents" }
-sr-api = { path = "../sr-api" }
header-metadata = { package = "substrate-header-metadata", path = "header-metadata" }
-block-builder = { package = "substrate-block-builder", path = "../block-builder" }
+hex-literal = { version = "0.2.1" }
+inherents = { package = "substrate-inherents", path = "../primitives/inherents" }
+keyring = { package = "substrate-keyring", path = "../primitives/keyring" }
+log = { version = "0.4.8" }
+parking_lot = { version = "0.9.0" }
+primitives = { package = "substrate-primitives", path = "../primitives/core" }
+rstd = { package = "sr-std", path = "../primitives/sr-std" }
+runtime-version = { package = "sr-version", path = "../primitives/sr-version" }
+sr-api = { path = "../primitives/sr-api" }
+sr-primitives = { path = "../primitives/sr-primitives" }
+state-machine = { package = "substrate-state-machine", path = "../primitives/state-machine" }
+substrate-telemetry = { path = "telemetry" }
+trie = { package = "substrate-trie", path = "../primitives/trie" }
[dev-dependencies]
env_logger = "0.7.0"
tempfile = "3.1.0"
client-db = { package = "substrate-client-db", path = "./db", features = ["kvdb-rocksdb"] }
-test-client = { package = "substrate-test-runtime-client", path = "../test-runtime/client" }
+test-client = { package = "substrate-test-runtime-client", path = "../test/utils/runtime/client" }
kvdb-memorydb = { git = "https://github.com/paritytech/parity-common", rev="b0317f649ab2c665b7987b8475878fc4d2e1f81d" }
-panic-handler = { package = "substrate-panic-handler", path = "../panic-handler" }
+panic-handler = { package = "substrate-panic-handler", path = "../primitives/panic-handler" }
diff --git a/client/api/Cargo.toml b/client/api/Cargo.toml
new file mode 100644
index 0000000000000..9a122ad0f8591
--- /dev/null
+++ b/client/api/Cargo.toml
@@ -0,0 +1,41 @@
+[package]
+name = "substrate-client-api"
+version = "2.0.0"
+authors = ["Parity Technologies "]
+edition = "2018"
+
+[dependencies]
+block-builder = { package = "substrate-block-builder", path = "../block-builder" }
+codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
+consensus = { package = "substrate-consensus-common", path = "../../primitives/consensus/common" }
+derive_more = { version = "0.15.0" }
+executor = { package = "substrate-executor", path = "../executor" }
+fnv = { version = "1.0.6" }
+futures = { version = "0.1.29" }
+futures03 = { package = "futures-preview", version = "0.3.0-alpha.19", features = ["compat"] }
+hash-db = { version = "0.15.2", default-features = false }
+header-metadata = { package = "substrate-header-metadata", path = "../header-metadata" }
+hex-literal = { version = "0.2.1" }
+inherents = { package = "substrate-inherents", path = "../../primitives/inherents", default-features = false }
+keyring = { package = "substrate-keyring", path = "../../primitives/keyring" }
+kvdb = { git = "https://github.com/paritytech/parity-common", rev="b0317f649ab2c665b7987b8475878fc4d2e1f81d" }
+log = { version = "0.4.8" }
+parking_lot = { version = "0.9.0" }
+primitives = { package = "substrate-primitives", path = "../../primitives/core", default-features = false }
+rstd = { package = "sr-std", path = "../../primitives/sr-std", default-features = false }
+runtime-version = { package = "sr-version", path = "../../primitives/sr-version", default-features = false }
+sr-api = { path = "../../primitives/sr-api" }
+sr-primitives = { path = "../../primitives/sr-primitives", default-features = false }
+state-machine = { package = "substrate-state-machine", path = "../../primitives/state-machine" }
+substrate-telemetry = { path = "../telemetry" }
+trie = { package = "substrate-trie", path = "../../primitives/trie" }
+
+[dev-dependencies]
+env_logger = "0.7.0"
+tempfile = "3.1.0"
+client-db = { package = "substrate-client-db", path = ".././db", features = ["kvdb-rocksdb"] }
+test-primitives = { package = "substrate-test-primitives", path = "../../test/utils/primitives" }
+test-client = { package = "substrate-test-runtime-client", path = "../../test/utils/runtime/client" }
+kvdb-memorydb = { git = "https://github.com/paritytech/parity-common", rev="b0317f649ab2c665b7987b8475878fc4d2e1f81d" }
+panic-handler = { package = "substrate-panic-handler", path = "../../primitives/panic-handler" }
+
diff --git a/core/client/src/backend.rs b/client/api/src/backend.rs
similarity index 89%
rename from core/client/src/backend.rs
rename to client/api/src/backend.rs
index dc0f0e5d4c301..03cd183ad2c21 100644
--- a/core/client/src/backend.rs
+++ b/client/api/src/backend.rs
@@ -18,14 +18,19 @@
use std::sync::Arc;
use std::collections::HashMap;
-use crate::error;
-use crate::light::blockchain::RemoteBlockchain;
use primitives::ChangesTrieConfiguration;
use sr_primitives::{generic::BlockId, Justification, StorageOverlay, ChildrenStorageOverlay};
use sr_primitives::traits::{Block as BlockT, NumberFor};
use state_machine::backend::Backend as StateBackend;
use state_machine::{ChangesTrieStorage as StateChangesTrieStorage, ChangesTrieTransaction};
-use crate::blockchain::well_known_cache_keys;
+use crate::{
+ blockchain::{
+ Backend as BlockchainBackend, well_known_cache_keys
+ },
+ offchain::OffchainStorage,
+ error,
+ light::RemoteBlockchain,
+};
use consensus::BlockOrigin;
use hash_db::Hasher;
use parking_lot::Mutex;
@@ -36,13 +41,13 @@ pub type StorageCollection = Vec<(Vec, Option>)>;
/// In memory arrays of storage values for multiple child tries.
pub type ChildStorageCollection = Vec<(Vec, StorageCollection)>;
-pub(crate) struct ImportSummary {
- pub(crate) hash: Block::Hash,
- pub(crate) origin: BlockOrigin,
- pub(crate) header: Block::Header,
- pub(crate) is_new_best: bool,
- pub(crate) storage_changes: Option<(StorageCollection, ChildStorageCollection)>,
- pub(crate) retracted: Vec,
+pub struct ImportSummary {
+ pub hash: Block::Hash,
+ pub origin: BlockOrigin,
+ pub header: Block::Header,
+ pub is_new_best: bool,
+ pub storage_changes: Option<(StorageCollection, ChildStorageCollection)>,
+ pub retracted: Vec,
}
/// Import operation wrapper
@@ -51,9 +56,9 @@ pub struct ClientImportOperation<
H: Hasher,
B: Backend,
> {
- pub(crate) op: B::BlockImportOperation,
- pub(crate) notify_imported: Option>,
- pub(crate) notify_finalized: Vec,
+ pub op: B::BlockImportOperation,
+ pub notify_imported: Option>,
+ pub notify_finalized: Vec,
}
/// State of a new block.
@@ -216,7 +221,7 @@ pub trait Backend: AuxStore + Send + Sync where
/// Associated block insertion operation type.
type BlockImportOperation: BlockImportOperation;
/// Associated blockchain backend type.
- type Blockchain: crate::blockchain::Backend;
+ type Blockchain: BlockchainBackend;
/// Associated state backend type.
type State: StateBackend;
/// Changes trie storage.
@@ -295,26 +300,6 @@ pub trait Backend: AuxStore + Send + Sync where
fn get_import_lock(&self) -> &Mutex<()>;
}
-/// Offchain workers local storage.
-pub trait OffchainStorage: Clone + Send + Sync {
- /// Persist a value in storage under given key and prefix.
- fn set(&mut self, prefix: &[u8], key: &[u8], value: &[u8]);
-
- /// Retrieve a value from storage under given key and prefix.
- fn get(&self, prefix: &[u8], key: &[u8]) -> Option>;
-
- /// Replace the value in storage if given old_value matches the current one.
- ///
- /// Returns `true` if the value has been set and false otherwise.
- fn compare_and_set(
- &mut self,
- prefix: &[u8],
- key: &[u8],
- old_value: Option<&[u8]>,
- new_value: &[u8],
- ) -> bool;
-}
-
/// Changes trie storage that supports pruning.
pub trait PrunableStateChangesTrieStorage:
StateChangesTrieStorage>
diff --git a/core/client/src/blockchain.rs b/client/api/src/blockchain.rs
similarity index 100%
rename from core/client/src/blockchain.rs
rename to client/api/src/blockchain.rs
diff --git a/client/api/src/call_executor.rs b/client/api/src/call_executor.rs
new file mode 100644
index 0000000000000..c143999047d5e
--- /dev/null
+++ b/client/api/src/call_executor.rs
@@ -0,0 +1,148 @@
+// Copyright 2017-2019 Parity Technologies (UK) Ltd.
+// This file is part of Substrate.
+
+// Substrate is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Substrate is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Substrate. If not, see .
+
+use std::{cmp::Ord, panic::UnwindSafe, result, cell::RefCell};
+use codec::{Encode, Decode};
+use sr_primitives::{
+ generic::BlockId, traits::Block as BlockT, traits::NumberFor,
+};
+use state_machine::{
+ self, OverlayedChanges, ExecutionManager, ExecutionStrategy,
+ ChangesTrieTransaction, StorageProof,
+};
+use executor::{RuntimeVersion, NativeVersion};
+use hash_db::Hasher;
+use primitives::{offchain::OffchainExt, Blake2Hasher, NativeOrEncoded};
+
+use sr_api::{ProofRecorder, InitializeBlock};
+use crate::error;
+
+/// Method call executor.
+pub trait CallExecutor
+where
+ B: BlockT,
+ H: Hasher,
+ H::Out: Ord,
+{
+ /// Externalities error type.
+ type Error: state_machine::Error;
+
+ /// Execute a call to a contract on top of state in a block of given hash.
+ ///
+ /// No changes are made.
+ fn call(
+ &self,
+ id: &BlockId,
+ method: &str,
+ call_data: &[u8],
+ strategy: ExecutionStrategy,
+ side_effects_handler: Option,
+ ) -> Result, error::Error>;
+
+ /// Execute a contextual call on top of state in a block of a given hash.
+ ///
+ /// No changes are made.
+ /// Before executing the method, passed header is installed as the current header
+ /// of the execution context.
+ fn contextual_call<
+ 'a,
+ IB: Fn() -> error::Result<()>,
+ EM: Fn(
+ Result, Self::Error>,
+ Result, Self::Error>
+ ) -> Result, Self::Error>,
+ R: Encode + Decode + PartialEq,
+ NC: FnOnce() -> result::Result + UnwindSafe,
+ >(
+ &self,
+ initialize_block_fn: IB,
+ at: &BlockId,
+ method: &str,
+ call_data: &[u8],
+ changes: &RefCell,
+ initialize_block: InitializeBlock<'a, B>,
+ execution_manager: ExecutionManager,
+ native_call: Option,
+ side_effects_handler: Option,
+ proof_recorder: &Option>,
+ enable_keystore: bool,
+ ) -> error::Result> where ExecutionManager: Clone;
+
+ /// Extract RuntimeVersion of given block
+ ///
+ /// No changes are made.
+ fn runtime_version(&self, id: &BlockId) -> Result;
+
+ /// Execute a call to a contract on top of given state.
+ ///
+ /// No changes are made.
+ fn call_at_state<
+ S: state_machine::Backend,
+ F: FnOnce(
+ Result, Self::Error>,
+ Result, Self::Error>,
+ ) -> Result, Self::Error>,
+ R: Encode + Decode + PartialEq,
+ NC: FnOnce() -> result::Result + UnwindSafe,
+ >(&self,
+ state: &S,
+ overlay: &mut OverlayedChanges,
+ method: &str,
+ call_data: &[u8],
+ manager: ExecutionManager,
+ native_call: Option,
+ side_effects_handler: Option,
+ ) -> Result<
+ (
+ NativeOrEncoded,
+ (S::Transaction, H::Out),
+ Option>>
+ ),
+ error::Error,
+ >;
+
+ /// Execute a call to a contract on top of given state, gathering execution proof.
+ ///
+ /// No changes are made.
+ fn prove_at_state>(
+ &self,
+ mut state: S,
+ overlay: &mut OverlayedChanges,
+ method: &str,
+ call_data: &[u8]
+ ) -> Result<(Vec, StorageProof), error::Error> {
+ let trie_state = state.as_trie_backend()
+ .ok_or_else(||
+ Box::new(state_machine::ExecutionError::UnableToGenerateProof)
+ as Box
+ )?;
+ self.prove_at_trie_state(trie_state, overlay, method, call_data)
+ }
+
+ /// Execute a call to a contract on top of given trie state, gathering execution proof.
+ ///
+ /// No changes are made.
+ fn prove_at_trie_state>(
+ &self,
+ trie_state: &state_machine::TrieBackend,
+ overlay: &mut OverlayedChanges,
+ method: &str,
+ call_data: &[u8]
+ ) -> Result<(Vec, StorageProof), error::Error>;
+
+ /// Get runtime version if supported.
+ fn native_runtime_version(&self) -> Option<&NativeVersion>;
+}
diff --git a/client/api/src/client.rs b/client/api/src/client.rs
new file mode 100644
index 0000000000000..a51fc9f03f875
--- /dev/null
+++ b/client/api/src/client.rs
@@ -0,0 +1,141 @@
+// Copyright 2019 Parity Technologies (UK) Ltd.
+// This file is part of Substrate.
+
+// Substrate is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Substrate is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Substrate. If not, see .
+
+use std::collections::HashMap;
+use futures03::channel::mpsc;
+use primitives::storage::StorageKey;
+use state_machine::ExecutionStrategy;
+use sr_primitives::{
+ traits::{Block as BlockT, NumberFor},
+ generic::BlockId
+};
+use consensus::BlockOrigin;
+
+use crate::blockchain::Info;
+use crate::notifications::StorageEventStream;
+use crate::error;
+
+/// Type that implements `futures::Stream` of block import events.
+pub type ImportNotifications = mpsc::UnboundedReceiver>;
+
+/// A stream of block finality notifications.
+pub type FinalityNotifications = mpsc::UnboundedReceiver>;
+
+/// Expected hashes of blocks at given heights.
+///
+/// This may be used as chain spec extension to filter out known, unwanted forks.
+pub type ForkBlocks = Option, ::Hash>>;
+
+/// Execution strategies settings.
+#[derive(Debug, Clone)]
+pub struct ExecutionStrategies {
+ /// Execution strategy used when syncing.
+ pub syncing: ExecutionStrategy,
+ /// Execution strategy used when importing blocks.
+ pub importing: ExecutionStrategy,
+ /// Execution strategy used when constructing blocks.
+ pub block_construction: ExecutionStrategy,
+ /// Execution strategy used for offchain workers.
+ pub offchain_worker: ExecutionStrategy,
+ /// Execution strategy used in other cases.
+ pub other: ExecutionStrategy,
+}
+
+impl Default for ExecutionStrategies {
+ fn default() -> ExecutionStrategies {
+ ExecutionStrategies {
+ syncing: ExecutionStrategy::NativeElseWasm,
+ importing: ExecutionStrategy::NativeElseWasm,
+ block_construction: ExecutionStrategy::AlwaysWasm,
+ offchain_worker: ExecutionStrategy::NativeWhenPossible,
+ other: ExecutionStrategy::NativeElseWasm,
+ }
+ }
+}
+
+/// Figure out the block type for a given type (for now, just a `Client`).
+pub trait BlockOf {
+ /// The type of the block.
+ type Type: BlockT;
+}
+
+/// A source of blockchain events.
+pub trait BlockchainEvents {
+ /// Get block import event stream. Not guaranteed to be fired for every
+ /// imported block.
+ fn import_notification_stream(&self) -> ImportNotifications;
+
+ /// Get a stream of finality notifications. Not guaranteed to be fired for every
+ /// finalized block.
+ fn finality_notification_stream(&self) -> FinalityNotifications;
+
+ /// Get storage changes event stream.
+ ///
+ /// Passing `None` as `filter_keys` subscribes to all storage changes.
+ fn storage_changes_notification_stream(
+ &self,
+ filter_keys: Option<&[StorageKey]>,
+ child_filter_keys: Option<&[(StorageKey, Option>)]>,
+ ) -> error::Result>;
+}
+
+/// Fetch block body by ID.
+pub trait BlockBody {
+ /// Get block body by ID. Returns `None` if the body is not stored.
+ fn block_body(&self,
+ id: &BlockId
+ ) -> error::Result