Skip to content

Commit

Permalink
bumbed to 1.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MrishoLukamba committed May 13, 2024
1 parent 821d66a commit d99d6ab
Show file tree
Hide file tree
Showing 17 changed files with 196 additions and 188 deletions.
276 changes: 144 additions & 132 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,143 +24,155 @@ codec = { version = "3.1.3", package = "parity-scale-codec", default-features =
scale-info = { version = "2.1.1", default-features = false, features = ["derive"] }

# wasm
frame-benchmarking = { version = "28.0.0", default-features = false }
frame-executive = { version = "28.0.0", default-features = false }
frame-election-provider-support = { version = "28.0.0", default-features = false }
frame-support = { version = "28.0.0", default-features = false }
frame-system = { version = "28.0.0", default-features = false }
frame-system-benchmarking = { version = "28.0.0", default-features = false }
frame-system-rpc-runtime-api = { version = "26.0.0", default-features = false }
frame-try-runtime = { version = "0.34.0", default-features = false }

pallet-aura = { version = "27.0.0", default-features = false }
pallet-grandpa = { version = "28.0.0", default-features = false }
pallet-babe = { version = "28.0.0", default-features = false }
pallet-offences = { version = "27.0.0", default-features = false }
pallet-authorship = { version = "28.0.0", default-features = false }
pallet-balances = { version = "28.0.0", default-features = false }
pallet-session = { version = "28.0.0", default-features = false }
pallet-staking = { version = "28.0.0", default-features = false }
pallet-session-benchmarking = { version = "28.0.0", default-features = false }
pallet-sudo = { version = "28.0.0", default-features = false }
pallet-timestamp = { version = "27.0.0", default-features = false }
pallet-transaction-payment = { version = "28.0.0", default-features = false }
pallet-transaction-payment-rpc-runtime-api = { version = "28.0.0", default-features = false }
pallet-message-queue = { version = "31.0.0", default-features = false }
pallet-beefy-mmr = { version = "28.0.0", default-features = false }
pallet-assets = { version = "29.0.0", default-features = false }
frame-benchmarking = { version = "30.0.0", default-features = false }
frame-executive = { version = "30.0.0", default-features = false }
frame-election-provider-support = { version = "30.0.0", default-features = false }
frame-support = { version = "30.0.0", default-features = false }
frame-system = { version = "30.0.0", default-features = false }
frame-system-benchmarking = { version = "30.0.0", default-features = false }
frame-system-rpc-runtime-api = { version = "28.0.0", default-features = false }
frame-try-runtime = { version = "0.36.0", default-features = false }

pallet-aura = { version = "29.0.0", default-features = false }
pallet-grandpa = { version = "30.0.0", default-features = false }
pallet-babe = { version = "30.0.0", default-features = false }
pallet-offences = { version = "29.0.0", default-features = false }
pallet-authorship = { version = "30.0.0", default-features = false }
pallet-balances = { version = "30.0.0", default-features = false }
pallet-session = { version = "30.0.0", default-features = false }
pallet-staking = { version = "30.0.2", default-features = false }
pallet-session-benchmarking = { version = "30.0.0", default-features = false }

pallet-sudo = { version = "30.0.0", default-features = false }
pallet-timestamp = { version = "29.0.0", default-features = false }
pallet-transaction-payment = { version = "30.0.0", default-features = false }
pallet-transaction-payment-rpc-runtime-api = { version = "30.0.0", default-features = false }
pallet-message-queue = { version = "33.0.0", default-features = false }
pallet-beefy-mmr = { version = "30.0.0", default-features = false }
pallet-assets = { version = "31.0.0", default-features = false }
pallet-staking-reward-curve = { version = "11.0.0" }

sp-api = { version = "26.0.0", default-features = false }
sp-blockchain = { version = "28.0.0", default-features = false }
sp-io = { version = "30.0.0", default-features = false }
sp-trie = { version = "29.0.0", default-features = false }
sp-block-builder = { version = "26.0.0", default-features = false }
sp-consensus-aura = { version = "0.32.0", default-features = false }
sp-consensus-babe = { version = "0.32.0", default-features = false }
sp-consensus-grandpa = { version = "13.0.0", default-features = false }
sp-consensus-slots = { version = "0.32.0", default-features = false }
sp-consensus = { version = "0.32.0", default-features = false }
sp-consensus-beefy = { version = "13.0.0", default-features = false }
sp-core = { version = "28.0.0", default-features = false }
sp-inherents = { version = "26.0.0", default-features = false }
sp-externalities = { version = "0.25.0", default-features = false }
sp-offchain = { version = "26.0.0", default-features = false }
sp-keyring = { version = "31.0.0", default-features = false }
sp-runtime = { version = "31.0.0", default-features = false }
sp-runtime-interface = { version = "24.0.0", default-features = false }
sp-timestamp = { version = "26.0.0", default-features = false }
sp-keystore = { version = "0.34.0", default-features = false }
sp-mmr-primitives = { version = "26.0.0", default-features = false }
sp-state-machine = { version = "0.35.0", default-features = false }
sp-storage = { version = "19.0.0", default-features = false }
sp-staking = { version = "26.0.0", default-features = false }
sp-session = { version = "27.0.0", default-features = false }
sp-api = { version = "28.0.0", default-features = false }
sp-blockchain = { version = "30.0.0", default-features = false }
sp-io = { version = "32.0.0", default-features = false }
sp-trie = { version = "31.0.0", default-features = false }
sp-block-builder = { version = "28.0.0", default-features = false }
sp-consensus-aura = { version = "0.34.0", default-features = false }
sp-consensus-babe = { version = "0.34.0", default-features = false }

sp-consensus-grandpa = { version = "15.0.0", default-features = false }
sp-consensus-slots = { version = "0.34.0", default-features = false }

sp-consensus = { version = "0.34.0", default-features = false }
sp-consensus-beefy = { version = "15.0.0", default-features = false }
sp-core = { version = "30.0.0", default-features = false }
sp-inherents = { version = "28.0.0", default-features = false }
sp-externalities = { version = "0.27.0", default-features = false }
sp-offchain = { version = "28.0.0", default-features = false }
sp-keyring = { version = "33.0.0", default-features = false }
sp-runtime = { version = "33.0.0", default-features = false }
sp-runtime-interface = { version = "26.0.0", default-features = false }

sp-timestamp = { version = "28.0.0", default-features = false }
sp-keystore = { version = "0.36.0", default-features = false }
sp-mmr-primitives = { version = "28.0.0", default-features = false }

sp-state-machine = { version = "0.37.0", default-features = false }
sp-storage = { version = "20.0.0", default-features = false }
sp-staking = { version = "28.0.0", default-features = false }
sp-session = { version = "29.0.0", default-features = false }
sp-std = { version = "14.0.0", default-features = false }
sp-transaction-pool = { version = "26.0.0", default-features = false }
sp-version = { version = "29.0.0", default-features = false }
sp-genesis-builder = { version = "0.7.0", default-features = false }
sp-transaction-pool = { version = "28.0.0", default-features = false }
sp-version = { version = "31.0.0", default-features = false }
sp-genesis-builder = { version = "0.9.0", default-features = false }
sp-wasm-interface = { version = "20.0.0", default-features = false }
sp-transaction-storage-proof = { version = "26.0.0", default-features = false }

pallet-xcm = { version = "7.0.0", default-features = false }
polkadot-parachain-primitives = { version = "6.0.0", default-features = false }
polkadot-runtime-common = { version = "7.0.0", default-features = false }
staging-xcm = { version = "7.0.0", default-features = false }
staging-xcm-builder = { version = "7.0.3", default-features = false }
staging-xcm-executor = { version = "7.0.3", default-features = false }
cumulus-primitives-aura = { version = "0.7.0", default-features = false }
cumulus-pallet-session-benchmarking = { version = "9.0.0", default-features = false }
cumulus-pallet-aura-ext = { version = "0.7.0", default-features = false }
cumulus-pallet-dmp-queue = { version = "0.7.0", default-features = false }
cumulus-pallet-parachain-system = { version = "0.7.0", default-features = false, features = ["parameterized-consensus-hook"] }
cumulus-pallet-xcm = { version = "0.7.0", default-features = false }
cumulus-pallet-xcmp-queue = { version = "0.7.0", default-features = false }
cumulus-primitives-core = { version = "0.7.0", default-features = false }
cumulus-primitives-timestamp = { version = "0.7.0", default-features = false }
cumulus-primitives-utility = { version = "0.7.3", default-features = false }
pallet-collator-selection = { version = "=9.0.0", default-features = false }
parachain-info = { version = "0.7.0", package = "staging-parachain-info", default-features = false }
parachains-common = { version = "7.0.0", default-features = false }
sp-transaction-storage-proof = { version = "28.0.0", default-features = false }


pallet-xcm = { version = "9.0.1", default-features = false }
polkadot-parachain-primitives = { version = "8.0.0", default-features = false }
polkadot-runtime-common = { version = "9.0.0", default-features = false }
staging-xcm = { version = "9.0.0", default-features = false }
staging-xcm-builder = { version = "9.0.0", default-features = false }
staging-xcm-executor = { version = "9.0.1", default-features = false }

cumulus-primitives-aura = { version = "0.9.0", default-features = false }
cumulus-pallet-session-benchmarking = { version = "11.0.0", default-features = false }
cumulus-pallet-aura-ext = { version = "0.9.0", default-features = false }
cumulus-pallet-dmp-queue = { version = "0.9.0", default-features = false }
cumulus-pallet-parachain-system = { version = "0.9.0", default-features = false, features = ["parameterized-consensus-hook"] }
cumulus-pallet-xcm = { version = "0.9.0", default-features = false }
cumulus-pallet-xcmp-queue = { version = "0.9.0", default-features = false }
cumulus-primitives-core = { version = "0.9.0", default-features = false }

cumulus-primitives-timestamp = { version = "0.9.0", default-features = false }
cumulus-primitives-utility = { version = "0.9.0", default-features = false }
pallet-collator-selection = { version = "11.0.1", default-features = false }
parachain-info = { version = "0.9.0", package = "staging-parachain-info", default-features = false }
parachains-common = { version = "9.0.0", default-features = false }


# client
parachain-inherent = { version = "0.7.0", package = "cumulus-primitives-parachain-inherent" }
sproof-builder = { version = "0.7.0", package = "cumulus-test-relay-sproof-builder" }
frame-benchmarking-cli = "32.0.0"
pallet-transaction-payment-rpc = "30.0.0"
sc-basic-authorship = "0.34.0"
sc-chain-spec = "27.0.0"
sc-cli = "0.36.0"
sc-keystore = "25.0.0"
sc-informant = "0.33.0"
sc-block-builder = "0.33.0"
sc-client-api = "28.0.0"
sc-client-db = "0.35.0"
sc-consensus = "0.33.0"
sc-consensus-aura = "0.34.0"
sc-consensus-grandpa = "0.19.0"
sc-consensus-babe = "0.34.0"
sc-consensus-epochs = "0.33.0"
sc-consensus-slots = "0.33.0"
sc-executor = "0.32.0"
sc-network = "0.34.0"
sc-network-sync = "0.33.0"
sc-network-common = "0.33.0"
sc-rpc = "29.0.0"
sc-rpc-api = "0.33.0"
sc-rpc-server = "11.0.0"
sc-rpc-spec-v2 = "0.34.0"
substrate-state-trie-migration-rpc = "27.0.0"
sc-consensus-babe-rpc = "0.34.0"
sc-consensus-grandpa-rpc = "0.19.0"
sc-sync-state-rpc = "0.34.0"
sc-service = "0.35.0"
sc-sysinfo = "27.0.0"
sc-storage-monitor = "0.16.0"
sc-telemetry = "15.0.0"
sc-tracing = "28.0.0"
sc-transaction-pool = "28.0.0"
sc-transaction-pool-api = "28.0.0"
sc-offchain = "29.0.0"
manual-seal = { version = "0.35.0", package = "sc-consensus-manual-seal" }
substrate-frame-rpc-system = "28.0.0"
parachain-inherent = { version = "0.9.0", package = "cumulus-primitives-parachain-inherent" }
sproof-builder = { version = "0.9.0", package = "cumulus-test-relay-sproof-builder" }
frame-benchmarking-cli = "34.0.0"

pallet-transaction-payment-rpc = "32.0.0"
sc-basic-authorship = "0.36.0"

sc-chain-spec = "29.0.0"
sc-cli = "0.38.0"
sc-keystore = "27.0.0"
sc-informant = "0.35.0"
sc-block-builder = "0.35.0"

sc-client-api = "30.0.0"
sc-client-db = "0.37.0"
sc-consensus = "0.35.0"
sc-consensus-aura = "0.36.0"
sc-consensus-grandpa = "0.21.0"
sc-consensus-babe = "0.36.0"
sc-consensus-epochs = "0.35.0"
sc-consensus-slots = "0.35.0"
sc-executor = "0.34.0"
sc-network = "0.36.0"
sc-network-sync = "0.35.0"
sc-network-common = "0.35.0"
sc-rpc = "31.0.0"
sc-rpc-api = "0.35.0"
sc-rpc-server = "13.0.0"
sc-rpc-spec-v2 = "0.36.0"
substrate-state-trie-migration-rpc = "29.0.0"
sc-consensus-babe-rpc = "0.36.0"
sc-consensus-grandpa-rpc = "0.21.0"
sc-sync-state-rpc = "0.36.0"
sc-service = "0.37.0"
sc-sysinfo = "29.0.0"
sc-storage-monitor = "0.18.0"
sc-telemetry = "17.0.0"
sc-tracing = "30.0.0"
sc-transaction-pool = "30.0.0"
sc-transaction-pool-api = "30.0.0"
sc-offchain = "31.0.0"
manual-seal = { version = "0.37.0", package = "sc-consensus-manual-seal" }
substrate-frame-rpc-system = "30.0.0"
substrate-prometheus-endpoint = "0.17.0"
try-runtime-cli = "0.38.0"
polkadot-cli = "7.0.0"
polkadot-primitives = "7.0.0"
polkadot-service = "7.0.0"
cumulus-client-cli = "0.7.0"
cumulus-client-consensus-aura = "0.7.0"
cumulus-client-consensus-common = "0.7.0"
cumulus-client-network = "0.7.0"
cumulus-client-service = "0.7.0"
cumulus-primitives-parachain-inherent = "0.7.0"
cumulus-relay-chain-interface = "0.7.0"
cumulus-client-consensus-proposer = "0.7.0"
cumulus-client-collator = "0.7.0"
substrate-wasm-builder = { version = "17.0.0" }
mmr-rpc = { version = "28.0.0" }
xcm-simulator-example = "7.0.0"
xcm-simulator = "7.0.0"
polkadot-runtime-parachains = "7.0.0"
try-runtime-cli = "0.40.0"
polkadot-cli = "9.0.0"
polkadot-primitives = "9.0.0"
polkadot-service = "9.0.0"
cumulus-client-cli = "0.9.0"
cumulus-client-consensus-aura = "0.9.0"
cumulus-client-consensus-common = "0.9.0"
cumulus-client-network = "0.9.0"
cumulus-client-service = "0.9.0"
cumulus-primitives-parachain-inherent = "0.9.0"
cumulus-relay-chain-interface = "0.9.0"
cumulus-client-consensus-proposer = "0.9.0"
cumulus-client-collator = "0.9.0"
substrate-wasm-builder = { version = "19.0.0" }
mmr-rpc = { version = "30.0.0" }
xcm-simulator-example = "9.0.0"
xcm-simulator = "9.0.0"
polkadot-runtime-parachains = "9.0.0"
substrate-build-script-utils = "11.0.0"
2 changes: 1 addition & 1 deletion examples/aura/node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ frame-system = { workspace = true }
pallet-transaction-payment = { default-features = false, workspace = true }

# These dependencies are used for the node template's RPCs
jsonrpsee = { version = "0.16.2", features = ["server"] }
jsonrpsee = { version = "0.22.5", features = ["server"] }
sc-rpc = { workspace = true }
sp-api = { workspace = true }
sc-rpc-api = { workspace = true }
Expand Down
4 changes: 2 additions & 2 deletions examples/aura/node/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use sc_cli::SubstrateCli;

use sc_service::PartialComponents;
use sp_keyring::Sr25519Keyring;
use sp_runtime::generic::Era;
use sp_runtime::{generic::Era, traits::BlakeTwo256};

#[cfg(feature = "try-runtime")]
use try_runtime_cli::block_building_info::timestamp_with_aura_info;
Expand Down Expand Up @@ -134,7 +134,7 @@ pub fn run() -> sc_cli::Result<()> {
)
}

cmd.run::<Block, ()>(config)
cmd.run::<BlakeTwo256, ()>(config)
},
BenchmarkCmd::Block(cmd) => {
let executor =
Expand Down
1 change: 0 additions & 1 deletion examples/aura/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,6 @@ impl pallet_balances::Config for Runtime {
type FreezeIdentifier = ();
type MaxLocks = ConstU32<50>;
type MaxReserves = ();
type MaxHolds = ();
type MaxFreezes = ();
}

Expand Down
2 changes: 1 addition & 1 deletion examples/babe/node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ array-bytes = "4.1"
clap = { version = "4.0.9", features = ["derive"], optional = true }
codec = { workspace = true }
serde = { version = "1.0.136", features = ["derive"] }
jsonrpsee = { version = "0.16.2", features = ["server"] }
jsonrpsee = { version = "0.22.5", features = ["server"] }
futures = "0.3.21"
log = "0.4.17"
rand = "0.8"
Expand Down
4 changes: 2 additions & 2 deletions examples/babe/node/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ use sc_cli::{Result, SubstrateCli};
use sc_service::PartialComponents;
use sp_keyring::Sr25519Keyring;

use sp_runtime::generic::Era;
use sp_runtime::{generic::Era, traits::BlakeTwo256};
use std::sync::Arc;

#[cfg(feature = "try-runtime")]
Expand Down Expand Up @@ -106,7 +106,7 @@ pub fn run() -> Result<()> {
)
}

cmd.run::<Block, ()>(config)
cmd.run::<BlakeTwo256, ()>(config)
},
BenchmarkCmd::Block(cmd) => {
// ensure that we keep the task manager alive
Expand Down
2 changes: 1 addition & 1 deletion examples/babe/rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ publish = false
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
jsonrpsee = { version = "0.16.2", features = ["server"] }
jsonrpsee = { version = "0.22.5", features = ["server"] }
pallet-transaction-payment-rpc = { workspace = true }
sc-chain-spec = { workspace = true }
sc-client-api = { workspace = true }
Expand Down
1 change: 0 additions & 1 deletion examples/babe/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,6 @@ impl pallet_balances::Config for Runtime {
type FreezeIdentifier = ();
type MaxLocks = MaxLocks;
type MaxReserves = MaxReserves;
type MaxHolds = ConstU32<1>;
type MaxFreezes = ();
}

Expand Down
2 changes: 1 addition & 1 deletion examples/parachain/node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ clap = { version = "4.1.8", features = ["derive"] }
log = "0.4.17"
codec = { workspace = true }
serde = { version = "1.0.152", features = ["derive"] }
jsonrpsee = { version = "0.16.2", features = ["server"] }
jsonrpsee = { version = "0.22.5", features = ["server"] }
serde_json = "1.0.116"

# Local
Expand Down
4 changes: 2 additions & 2 deletions examples/parachain/node/src/command.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use cumulus_primitives_core::ParaId;
use frame_benchmarking_cli::{BenchmarkCmd, SUBSTRATE_REFERENCE_HARDWARE};
use log::info;
use parachain_runtime::Block;
use sp_runtime::traits::BlakeTwo256;
use sc_cli::{
ChainSpec, CliConfiguration, DefaultConfigurationValues, ImportParams, KeystoreParams,
NetworkParams, Result, SharedParams, SubstrateCli,
Expand Down Expand Up @@ -188,7 +188,7 @@ pub fn run() -> Result<()> {
match cmd {
BenchmarkCmd::Pallet(cmd) =>
if cfg!(feature = "runtime-benchmarks") {
runner.sync_run(|config| cmd.run::<Block, ()>(config))
runner.sync_run(|config| cmd.run::<BlakeTwo256, ()>(config))
} else {
Err("Benchmarking wasn't enabled when building the node. \
You can enable it with `--features runtime-benchmarks`."
Expand Down
Loading

0 comments on commit d99d6ab

Please sign in to comment.