Changes from Substrate upstream `polkadot-v0.9.15-1` (#300)

Use 1 line deps
use `devhub/latest` tag for deps
Use ONLY 4.0.0-dev deps for sp-core and sp-std and sp-runtime (upstream master is ahead)
main
Dan Shields 2022-01-20 13:37:29 -07:00 committed by GitHub
parent 7ce49b86b3
commit 3a4ee2b0e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 622 additions and 1494 deletions

1508
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -74,9 +74,9 @@ RUST_BACKTRACE=1 ./target/release/node-template -ldebug --dev
``` ```
> Development chain means that the state of our chain will be in a tmp folder while the nodes are > Development chain means that the state of our chain will be in a tmp folder while the nodes are
> running. Also, **alice** account will be authority and sudo account as declared in the [genesis > running. Also, **alice** account will be authority and sudo account as declared in the
> state](https://github.com/substrate-developer-hub/substrate-node-template/blob/main/node/src/ > [genesis state](https://github.com/substrate-developer-hub/substrate-node-template/blob/main/node/src/chain_spec.rs#L49).
chain_spec.rs#L49). At the same time the following accounts will be prefunded: > At the same time the following accounts will be pre-funded:
> - Alice > - Alice
> - Bob > - Bob
> - Alice//stash > - Alice//stash

View File

@ -1,172 +1,65 @@
[package] [package]
name = 'node-template' name = "node-template"
version = '4.0.0-dev' version = "4.0.0-dev"
description = 'A fresh FRAME-based Substrate node, ready for hacking.' description = "A fresh FRAME-based Substrate node, ready for hacking."
authors = ['Substrate DevHub <https://github.com/substrate-developer-hub>'] authors = ["Substrate DevHub <https://github.com/substrate-developer-hub>"]
homepage = 'https://substrate.io/' homepage = "https://substrate.io/"
edition = '2021' edition = "2021"
license = 'Unlicense' license = "Unlicense"
publish = false publish = false
repository = 'https://github.com/substrate-developer-hub/substrate-node-template/' repository = "https://github.com/substrate-developer-hub/substrate-node-template/"
build = 'build.rs' build = "build.rs"
[[bin]]
name = 'node-template'
[package.metadata.docs.rs] [package.metadata.docs.rs]
targets = ['x86_64-unknown-linux-gnu'] targets = ["x86_64-unknown-linux-gnu"]
[build-dependencies.substrate-build-script-utils] [[bin]]
git = 'https://github.com/paritytech/substrate.git' name = "node-template"
tag = 'monthly-2021-12'
version = '3.0.0'
[dependencies.node-template-runtime]
path = '../runtime'
version = '4.0.0-dev'
[dependencies] [dependencies]
jsonrpc-core = '18.0.0' structopt = "0.3.25"
structopt = '0.3.8'
[dependencies.frame-benchmarking] sc-cli = { version = "0.10.0-dev", git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
git = 'https://github.com/paritytech/substrate.git' sp-core = { version = "4.0.0-dev", git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
tag = 'monthly-2021-12' sc-executor = { version = "0.10.0-dev", git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
version = '4.0.0-dev' sc-service = { version = "0.10.0-dev", git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
sc-telemetry = { version = "4.0.0-dev", git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
sc-keystore = { version = "4.0.0-dev", git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
sc-transaction-pool = { version = "4.0.0-dev", git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
sc-transaction-pool-api = { version = "4.0.0-dev", git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
sc-consensus-aura = { version = "0.10.0-dev", git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
sp-consensus-aura = { version = "0.10.0-dev", git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
sp-consensus = { version = "0.10.0-dev", git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
sc-consensus = { version = "0.10.0-dev", git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
sc-finality-grandpa = { version = "0.10.0-dev", git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
sp-finality-grandpa = { version = "4.0.0-dev", git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
sc-client-api = { version = "4.0.0-dev", git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
sp-runtime = { version = "4.0.0-dev", git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
sp-timestamp = { version = "4.0.0-dev", git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
[dependencies.frame-benchmarking-cli] # These dependencies are used for the node template's RPCs
git = 'https://github.com/paritytech/substrate.git' jsonrpc-core = "18.0.0"
tag = 'monthly-2021-12' sc-rpc = { version = "4.0.0-dev", git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
version = '4.0.0-dev' sp-api = { version = "4.0.0-dev", git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
sc-rpc-api = { version = "0.10.0-dev", git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
sp-blockchain = { version = "4.0.0-dev", git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
sp-block-builder = { version = "4.0.0-dev", git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
sc-basic-authorship = { version = "0.10.0-dev", git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
substrate-frame-rpc-system = { version = "4.0.0-dev", git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
pallet-transaction-payment-rpc = { version = "4.0.0-dev", git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
[dependencies.pallet-transaction-payment-rpc] # These dependencies are used for runtime benchmarking
git = 'https://github.com/paritytech/substrate.git' frame-benchmarking = { version = "4.0.0-dev", git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
tag = 'monthly-2021-12' frame-benchmarking-cli = { version = "4.0.0-dev", git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
version = '4.0.0-dev'
[dependencies.sc-basic-authorship] # Local Dependencies
git = 'https://github.com/paritytech/substrate.git' node-template-runtime = { version = "4.0.0-dev", path = "../runtime" }
tag = 'monthly-2021-12'
version = '0.10.0-dev'
[dependencies.sc-cli] [build-dependencies]
features = ['wasmtime'] substrate-build-script-utils = { version = "3.0.0", git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '0.10.0-dev'
[dependencies.sc-client-api]
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.sc-consensus]
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '0.10.0-dev'
[dependencies.sc-consensus-aura]
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '0.10.0-dev'
[dependencies.sc-executor]
features = ['wasmtime']
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '0.10.0-dev'
[dependencies.sc-finality-grandpa]
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '0.10.0-dev'
[dependencies.sc-keystore]
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.sc-rpc]
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.sc-rpc-api]
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '0.10.0-dev'
[dependencies.sc-service]
features = ['wasmtime']
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '0.10.0-dev'
[dependencies.sc-telemetry]
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.sc-transaction-pool]
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.sc-transaction-pool-api]
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.sp-api]
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.sp-block-builder]
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.sp-blockchain]
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.sp-consensus]
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '0.10.0-dev'
[dependencies.sp-consensus-aura]
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '0.10.0-dev'
[dependencies.sp-core]
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.sp-finality-grandpa]
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.sp-runtime]
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.sp-timestamp]
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.substrate-frame-rpc-system]
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[features] [features]
default = [] default = []
runtime-benchmarks = ['node-template-runtime/runtime-benchmarks'] runtime-benchmarks = [
"node-template-runtime/runtime-benchmarks",
]

View File

@ -1,73 +1,40 @@
[package] [package]
name = 'pallet-template' name = "pallet-template"
version = '4.0.0-dev' version = "4.0.0-dev"
description = 'FRAME pallet template for defining custom runtime logic.' description = "FRAME pallet template for defining custom runtime logic."
authors = ['Substrate DevHub <https://github.com/substrate-developer-hub>'] authors = ["Substrate DevHub <https://github.com/substrate-developer-hub>"]
homepage = 'https://substrate.io/' homepage = "https://substrate.io/"
edition = '2021' edition = "2018"
license = 'Unlicense' license = "Unlicense"
publish = false publish = false
repository = 'https://github.com/substrate-developer-hub/substrate-node-template/' repository = "https://github.com/substrate-developer-hub/substrate-node-template/"
[package.metadata.docs.rs] [package.metadata.docs.rs]
targets = ['x86_64-unknown-linux-gnu'] targets = ["x86_64-unknown-linux-gnu"]
[dependencies.codec] [dependencies]
default-features = false codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = [
features = ['derive'] "derive",
package = 'parity-scale-codec' ] }
version = '2.0.0' scale-info = { version = "1.0", default-features = false, features = ["derive"] }
frame-support = { default-features = false, version = "4.0.0-dev", git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest"}
frame-system = { default-features = false, version = "4.0.0-dev", git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
frame-benchmarking = { default-features = false, version = "4.0.0-dev", git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest", optional = true }
[dependencies.frame-benchmarking] [dev-dependencies]
default-features = false sp-core = { default-features = false, version = "4.0.0-dev", git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
git = 'https://github.com/paritytech/substrate.git' sp-io = { default-features = false, version = "4.0.0-dev", git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
optional = true sp-runtime = { default-features = false, version = "4.0.0-dev", git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.frame-support]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.frame-system]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.scale-info]
default-features = false
features = ['derive']
version = '1.0'
[dev-dependencies.sp-core]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dev-dependencies.sp-io]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dev-dependencies.sp-runtime]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[features] [features]
default = ['std'] default = ["std"]
runtime-benchmarks = ['frame-benchmarking']
std = [ std = [
'codec/std', "codec/std",
'scale-info/std', "scale-info/std",
'frame-support/std', "frame-support/std",
'frame-system/std', "frame-system/std",
'frame-benchmarking/std', "frame-benchmarking/std",
] ]
try-runtime = ['frame-support/try-runtime']
runtime-benchmarks = ["frame-benchmarking/runtime-benchmarks"]
try-runtime = ["frame-support/try-runtime"]

View File

@ -1,232 +1,96 @@
[package] [package]
name = 'node-template-runtime' name = "node-template-runtime"
version = '4.0.0-dev' version = "4.0.0-dev"
description = 'A fresh FRAME-based Substrate runtime, ready for hacking.' description = "A fresh FRAME-based Substrate runtime, ready for hacking."
authors = ['Substrate DevHub <https://github.com/substrate-developer-hub>'] authors = ["Substrate DevHub <https://github.com/substrate-developer-hub>"]
homepage = 'https://substrate.io/' homepage = "https://substrate.io/"
edition = '2021' edition = "2021"
license = 'Unlicense' license = "Unlicense"
publish = false publish = false
repository = 'https://github.com/substrate-developer-hub/substrate-node-template/' repository = "https://github.com/substrate-developer-hub/substrate-node-template/"
[package.metadata.docs.rs] [package.metadata.docs.rs]
targets = ['x86_64-unknown-linux-gnu'] targets = ["x86_64-unknown-linux-gnu"]
[dependencies.pallet-template] [dependencies]
default-features = false codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ["derive"] }
path = '../pallets/template' scale-info = { version = "1.0", default-features = false, features = ["derive"] }
version = '4.0.0-dev'
[build-dependencies.substrate-wasm-builder] pallet-aura = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
git = 'https://github.com/paritytech/substrate.git' pallet-balances = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
tag = 'monthly-2021-12' frame-support = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
version = '5.0.0-dev' pallet-grandpa = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
pallet-randomness-collective-flip = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
pallet-sudo = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
frame-system = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
pallet-timestamp = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
pallet-transaction-payment = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
frame-executive = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
sp-api = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
sp-block-builder = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest"}
sp-consensus-aura = { version = "0.10.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
sp-core = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
sp-inherents = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest"}
sp-offchain = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
sp-runtime = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
sp-session = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
sp-std = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
sp-transaction-pool = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
sp-version = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
[dependencies.codec] # Used for the node template's RPCs
default-features = false frame-system-rpc-runtime-api = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
features = ['derive'] pallet-transaction-payment-rpc-runtime-api = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
package = 'parity-scale-codec'
version = '2.0.0'
[dependencies.frame-benchmarking] # Used for runtime benchmarking
default-features = false frame-benchmarking = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest", optional = true }
git = 'https://github.com/paritytech/substrate.git' frame-system-benchmarking = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest", optional = true }
optional = true hex-literal = { version = "0.3.4", optional = true }
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.frame-executive] # Local Dependencies
default-features = false pallet-template = { version = "4.0.0-dev", default-features = false, path = "../pallets/template" }
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.frame-support] [build-dependencies]
default-features = false substrate-wasm-builder = { version = "5.0.0-dev", git = "https://github.com/paritytech/substrate.git", tag = "devhub/latest" }
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.frame-system]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.frame-system-benchmarking]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
optional = true
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.frame-system-rpc-runtime-api]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.hex-literal]
optional = true
version = '0.3.1'
[dependencies.pallet-aura]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.pallet-balances]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.pallet-grandpa]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.pallet-randomness-collective-flip]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.pallet-sudo]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.pallet-timestamp]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.pallet-transaction-payment]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.pallet-transaction-payment-rpc-runtime-api]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.scale-info]
default-features = false
features = ['derive']
version = '1.0'
[dependencies.sp-api]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.sp-block-builder]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.sp-consensus-aura]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '0.10.0-dev'
[dependencies.sp-core]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.sp-inherents]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.sp-offchain]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.sp-runtime]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.sp-session]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.sp-std]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.sp-transaction-pool]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[dependencies.sp-version]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-12'
version = '4.0.0-dev'
[features] [features]
default = ['std'] default = ["std"]
runtime-benchmarks = [
'frame-benchmarking',
'frame-support/runtime-benchmarks',
'frame-system-benchmarking',
'frame-system/runtime-benchmarks',
'hex-literal',
'pallet-balances/runtime-benchmarks',
'pallet-template/runtime-benchmarks',
'pallet-timestamp/runtime-benchmarks',
'sp-runtime/runtime-benchmarks',
]
std = [ std = [
'codec/std', "codec/std",
'scale-info/std', "scale-info/std",
'frame-executive/std', "frame-executive/std",
'frame-support/std', "frame-support/std",
'frame-system-rpc-runtime-api/std', "frame-system-rpc-runtime-api/std",
'frame-system/std', "frame-system/std",
'pallet-aura/std', "pallet-aura/std",
'pallet-balances/std', "pallet-balances/std",
'pallet-grandpa/std', "pallet-grandpa/std",
'pallet-randomness-collective-flip/std', "pallet-randomness-collective-flip/std",
'pallet-sudo/std', "pallet-sudo/std",
'pallet-template/std', "pallet-template/std",
'pallet-timestamp/std', "pallet-timestamp/std",
'pallet-transaction-payment-rpc-runtime-api/std', "pallet-transaction-payment-rpc-runtime-api/std",
'pallet-transaction-payment/std', "pallet-transaction-payment/std",
'sp-api/std', "sp-api/std",
'sp-block-builder/std', "sp-block-builder/std",
'sp-consensus-aura/std', "sp-consensus-aura/std",
'sp-core/std', "sp-core/std",
'sp-inherents/std', "sp-inherents/std",
'sp-offchain/std', "sp-offchain/std",
'sp-runtime/std', "sp-runtime/std",
'sp-session/std', "sp-session/std",
'sp-std/std', "sp-std/std",
'sp-transaction-pool/std', "sp-transaction-pool/std",
'sp-version/std', "sp-version/std",
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system-benchmarking",
"frame-system/runtime-benchmarks",
"hex-literal",
"pallet-balances/runtime-benchmarks",
"pallet-template/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
] ]

View File

@ -323,7 +323,7 @@ pub type Executive = frame_executive::Executive<
Block, Block,
frame_system::ChainContext<Runtime>, frame_system::ChainContext<Runtime>,
Runtime, Runtime,
AllPalletsWithSystem, AllPallets,
>; >;
impl_runtime_apis! { impl_runtime_apis! {