Update to `monthly-2021-10` (#246)
parent
2e93d33afb
commit
4e98521355
File diff suppressed because it is too large
Load Diff
|
@ -1,170 +1,170 @@
|
|||
[package]
|
||||
authors = ['Substrate DevHub <https://github.com/substrate-developer-hub>']
|
||||
build = 'build.rs'
|
||||
description = 'A fresh FRAME-based Substrate node, ready for hacking.'
|
||||
edition = '2018'
|
||||
homepage = 'https://substrate.dev'
|
||||
license = 'Unlicense'
|
||||
name = 'node-template'
|
||||
version = '3.0.0-monthly-2021-10'
|
||||
description = 'A fresh FRAME-based Substrate node, ready for hacking.'
|
||||
authors = ['Substrate DevHub <https://github.com/substrate-developer-hub>']
|
||||
homepage = 'https://substrate.dev'
|
||||
edition = '2018'
|
||||
license = 'Unlicense'
|
||||
publish = false
|
||||
repository = 'https://github.com/substrate-developer-hub/substrate-node-template/'
|
||||
version = '3.0.0-monthly-2021-09+1'
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
targets = ['x86_64-unknown-linux-gnu']
|
||||
build = 'build.rs'
|
||||
|
||||
[[bin]]
|
||||
name = 'node-template'
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
targets = ['x86_64-unknown-linux-gnu']
|
||||
|
||||
[build-dependencies.substrate-build-script-utils]
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '3.0.0'
|
||||
|
||||
[dependencies.node-template-runtime]
|
||||
path = '../runtime'
|
||||
version = '3.0.0-monthly-2021-10'
|
||||
|
||||
[dependencies]
|
||||
jsonrpc-core = '18.0.0'
|
||||
structopt = '0.3.8'
|
||||
|
||||
[dependencies.node-template-runtime]
|
||||
path = '../runtime'
|
||||
version = '3.0.0-monthly-2021-09+1'
|
||||
|
||||
[dependencies.frame-benchmarking]
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.frame-benchmarking-cli]
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.pallet-transaction-payment-rpc]
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.sc-basic-authorship]
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '0.10.0-dev'
|
||||
|
||||
[dependencies.sc-cli]
|
||||
features = ['wasmtime']
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '0.10.0-dev'
|
||||
|
||||
[dependencies.sc-client-api]
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.sc-consensus]
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '0.10.0-dev'
|
||||
|
||||
[dependencies.sc-consensus-aura]
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '0.10.0-dev'
|
||||
|
||||
[dependencies.sc-executor]
|
||||
features = ['wasmtime']
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '0.10.0-dev'
|
||||
|
||||
[dependencies.sc-finality-grandpa]
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '0.10.0-dev'
|
||||
|
||||
[dependencies.sc-keystore]
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.sc-rpc]
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.sc-rpc-api]
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '0.10.0-dev'
|
||||
|
||||
[dependencies.sc-service]
|
||||
features = ['wasmtime']
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '0.10.0-dev'
|
||||
|
||||
[dependencies.sc-telemetry]
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.sc-transaction-pool]
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.sc-transaction-pool-api]
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.sp-api]
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.sp-block-builder]
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.sp-blockchain]
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.sp-consensus]
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '0.10.0-dev'
|
||||
|
||||
[dependencies.sp-consensus-aura]
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '0.10.0-dev'
|
||||
|
||||
[dependencies.sp-core]
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.sp-finality-grandpa]
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.sp-runtime]
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.sp-timestamp]
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.substrate-frame-rpc-system]
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[features]
|
||||
|
|
|
@ -35,7 +35,7 @@ pub enum Subcommand {
|
|||
/// Revert the chain to a previous state.
|
||||
Revert(sc_cli::RevertCmd),
|
||||
|
||||
/// The custom benchmark subcommmand benchmarking runtime pallets.
|
||||
/// The custom benchmark subcommand benchmarking runtime pallets.
|
||||
#[structopt(name = "benchmark", about = "Benchmark runtime pallets.")]
|
||||
Benchmark(frame_benchmarking_cli::BenchmarkCmd),
|
||||
}
|
||||
|
|
|
@ -1,20 +1,3 @@
|
|||
// This file is part of Substrate.
|
||||
|
||||
// Copyright (C) 2017-2021 Parity Technologies (UK) Ltd.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
use crate::{
|
||||
chain_spec,
|
||||
cli::{Cli, Subcommand},
|
||||
|
|
|
@ -1,36 +1,17 @@
|
|||
[package]
|
||||
authors = ['Substrate DevHub <https://github.com/substrate-developer-hub>']
|
||||
description = 'FRAME pallet template for defining custom runtime logic.'
|
||||
edition = '2018'
|
||||
homepage = 'https://substrate.dev'
|
||||
license = 'Unlicense'
|
||||
name = 'pallet-template'
|
||||
version = '3.0.0-monthly-2021-10'
|
||||
description = 'FRAME pallet template for defining custom runtime logic.'
|
||||
authors = ['Substrate DevHub <https://github.com/substrate-developer-hub>']
|
||||
homepage = 'https://substrate.dev'
|
||||
edition = '2018'
|
||||
license = 'Unlicense'
|
||||
publish = false
|
||||
readme = 'README.md'
|
||||
repository = 'https://github.com/substrate-developer-hub/substrate-node-template/'
|
||||
version = '3.0.0-monthly-2021-09+1'
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
targets = ['x86_64-unknown-linux-gnu']
|
||||
|
||||
[dev-dependencies.sp-core]
|
||||
default-features = false
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dev-dependencies.sp-io]
|
||||
default-features = false
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dev-dependencies.sp-runtime]
|
||||
default-features = false
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.codec]
|
||||
default-features = false
|
||||
features = ['derive']
|
||||
|
@ -41,19 +22,42 @@ version = '2.0.0'
|
|||
default-features = false
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
optional = true
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.frame-support]
|
||||
default-features = false
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.frame-system]
|
||||
default-features = false
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
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-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dev-dependencies.sp-io]
|
||||
default-features = false
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dev-dependencies.sp-runtime]
|
||||
default-features = false
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[features]
|
||||
|
@ -61,8 +65,9 @@ default = ['std']
|
|||
runtime-benchmarks = ['frame-benchmarking']
|
||||
std = [
|
||||
'codec/std',
|
||||
'scale-info/std',
|
||||
'frame-support/std',
|
||||
'frame-system/std',
|
||||
'frame-benchmarking/std',
|
||||
]
|
||||
try-runtime = ['frame-support/try-runtime']
|
||||
try-runtime = ['frame-support/try-runtime']
|
|
@ -41,7 +41,6 @@ pub mod pallet {
|
|||
// Pallets use events to inform users when important changes are made.
|
||||
// https://substrate.dev/docs/en/knowledgebase/runtime/events
|
||||
#[pallet::event]
|
||||
#[pallet::metadata(T::AccountId = "AccountId")]
|
||||
#[pallet::generate_deposit(pub(super) fn deposit_event)]
|
||||
pub enum Event<T: Config> {
|
||||
/// Event documentation should end with an array that provides descriptive names for event
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
[package]
|
||||
authors = ['Substrate DevHub <https://github.com/substrate-developer-hub>']
|
||||
edition = '2018'
|
||||
homepage = 'https://substrate.dev'
|
||||
license = 'Unlicense'
|
||||
name = 'node-template-runtime'
|
||||
version = '3.0.0-monthly-2021-10'
|
||||
description = 'A fresh FRAME-based Substrate runtime, ready for hacking.'
|
||||
authors = ['Substrate DevHub <https://github.com/substrate-developer-hub>']
|
||||
homepage = 'https://substrate.dev'
|
||||
edition = '2018'
|
||||
license = 'Unlicense'
|
||||
publish = false
|
||||
repository = 'https://github.com/substrate-developer-hub/substrate-node-template/'
|
||||
version = '3.0.0-monthly-2021-09+1'
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
targets = ['x86_64-unknown-linux-gnu']
|
||||
|
@ -14,11 +15,11 @@ targets = ['x86_64-unknown-linux-gnu']
|
|||
[dependencies.pallet-template]
|
||||
default-features = false
|
||||
path = '../pallets/template'
|
||||
version = '3.0.0-monthly-2021-09+1'
|
||||
version = '3.0.0-monthly-2021-10'
|
||||
|
||||
[build-dependencies.substrate-wasm-builder]
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '5.0.0-dev'
|
||||
|
||||
[dependencies.codec]
|
||||
|
@ -31,38 +32,38 @@ version = '2.0.0'
|
|||
default-features = false
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
optional = true
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.frame-executive]
|
||||
default-features = false
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.frame-support]
|
||||
default-features = false
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.frame-system]
|
||||
default-features = false
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.frame-system-benchmarking]
|
||||
default-features = false
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
optional = true
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.frame-system-rpc-runtime-api]
|
||||
default-features = false
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.hex-literal]
|
||||
|
@ -72,115 +73,120 @@ version = '0.3.1'
|
|||
[dependencies.pallet-aura]
|
||||
default-features = false
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.pallet-balances]
|
||||
default-features = false
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.pallet-grandpa]
|
||||
default-features = false
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.pallet-randomness-collective-flip]
|
||||
default-features = false
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.pallet-sudo]
|
||||
default-features = false
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.pallet-timestamp]
|
||||
default-features = false
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.pallet-transaction-payment]
|
||||
default-features = false
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
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-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
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-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.sp-block-builder]
|
||||
default-features = false
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.sp-consensus-aura]
|
||||
default-features = false
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '0.10.0-dev'
|
||||
|
||||
[dependencies.sp-core]
|
||||
default-features = false
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.sp-inherents]
|
||||
default-features = false
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.sp-offchain]
|
||||
default-features = false
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.sp-runtime]
|
||||
default-features = false
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.sp-session]
|
||||
default-features = false
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.sp-std]
|
||||
default-features = false
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.sp-transaction-pool]
|
||||
default-features = false
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[dependencies.sp-version]
|
||||
default-features = false
|
||||
git = 'https://github.com/paritytech/substrate.git'
|
||||
tag = 'monthly-2021-09+1'
|
||||
tag = 'monthly-2021-10'
|
||||
version = '4.0.0-dev'
|
||||
|
||||
[features]
|
||||
|
@ -198,6 +204,7 @@ runtime-benchmarks = [
|
|||
]
|
||||
std = [
|
||||
'codec/std',
|
||||
'scale-info/std',
|
||||
'frame-executive/std',
|
||||
'frame-support/std',
|
||||
'frame-system-rpc-runtime-api/std',
|
||||
|
|
|
@ -195,9 +195,14 @@ impl frame_system::Config for Runtime {
|
|||
|
||||
impl pallet_randomness_collective_flip::Config for Runtime {}
|
||||
|
||||
parameter_types! {
|
||||
pub const MaxAuthorities: u32 = 32;
|
||||
}
|
||||
|
||||
impl pallet_aura::Config for Runtime {
|
||||
type AuthorityId = AuraId;
|
||||
type DisabledValidators = ();
|
||||
type MaxAuthorities = MaxAuthorities;
|
||||
}
|
||||
|
||||
impl pallet_grandpa::Config for Runtime {
|
||||
|
@ -217,6 +222,7 @@ impl pallet_grandpa::Config for Runtime {
|
|||
type HandleEquivocation = ();
|
||||
|
||||
type WeightInfo = ();
|
||||
type MaxAuthorities = MaxAuthorities;
|
||||
}
|
||||
|
||||
parameter_types! {
|
||||
|
@ -335,7 +341,7 @@ impl_runtime_apis! {
|
|||
|
||||
impl sp_api::Metadata<Block> for Runtime {
|
||||
fn metadata() -> OpaqueMetadata {
|
||||
Runtime::metadata().into()
|
||||
OpaqueMetadata::new(Runtime::metadata().into())
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -382,7 +388,7 @@ impl_runtime_apis! {
|
|||
}
|
||||
|
||||
fn authorities() -> Vec<AuraId> {
|
||||
Aura::authorities()
|
||||
Aura::authorities().into_inner()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue