Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade to 1.10.0 #182

Merged
merged 64 commits into from
Aug 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
464519b
chore: upgrade to v1.9.0
chungquantin Aug 12, 2024
26af9de
chore: upgrade to 1.10.0
chungquantin Aug 13, 2024
52ed359
refactor: remove native executor, add unified host functions
chungquantin Aug 13, 2024
e0ff905
feat: pov claim feature
chungquantin Aug 13, 2024
7998178
feat: pov claim feature
chungquantin Aug 13, 2024
551218b
chore: upgrade to 1.10.0
chungquantin Aug 13, 2024
787d39a
chore: rebase upstream 1.8.0
chungquantin Aug 14, 2024
939ba7a
chore: update cargo.lock
chungquantin Aug 14, 2024
db16f2b
Merge branch 'chungquantin/chore-polkadot-v1.9.0' into chungquantin/c…
chungquantin Aug 14, 2024
2b7428c
fix: undo benchmarking host functions removal
chungquantin Aug 14, 2024
a5630f0
fix: add missing signed extra
chungquantin Aug 14, 2024
4bdae59
chore: upgrade to 1.10.0
chungquantin Aug 13, 2024
f4813dd
refactor: remove native executor, add unified host functions
chungquantin Aug 13, 2024
63dd2d8
feat: pov claim feature
chungquantin Aug 13, 2024
efac88e
chore: upgrade to 1.10.0
chungquantin Aug 13, 2024
c2ec0e0
chore: rebase upstream 1.8.0
chungquantin Aug 14, 2024
c2fe9b3
chore: update cargo.lock
chungquantin Aug 14, 2024
1bdc5b8
fix: undo benchmarking host functions removal
chungquantin Aug 14, 2024
ba35239
Merge remote-tracking branch 'refs/remotes/origin/chungquantin/chore-…
chungquantin Aug 14, 2024
f7b5b53
fix: remove pov reclaim from testnet
chungquantin Aug 14, 2024
06fbb92
fix: remove signed extra
chungquantin Aug 14, 2024
76b0712
feat: update the authoring duration
chungquantin Aug 14, 2024
8b085e2
chore(upgrade): add feature gate to the unified host functions
chungquantin Aug 14, 2024
2352a50
chore: revert pov reclaim feature
chungquantin Aug 15, 2024
f554468
Merge branch 'chungquantin/chore-polkadot-v1.9.0' into chungquantin/c…
chungquantin Aug 15, 2024
cfbd5d4
Merge branch 'developer' into chungquantin/chore-polkadot-v1.10.0
chungquantin Aug 15, 2024
0d8e50a
chore: update lock file
chungquantin Aug 15, 2024
9cd01dd
chore: upgrade to v1.9.0
chungquantin Aug 12, 2024
e68615e
feat: pov claim feature
chungquantin Aug 13, 2024
f22d339
fix: add missing signed extra
chungquantin Aug 14, 2024
a3e6de2
chore: upgrade to 1.10.0
chungquantin Aug 13, 2024
7943f0a
refactor: remove native executor, add unified host functions
chungquantin Aug 13, 2024
8e91a8d
feat: pov claim feature
chungquantin Aug 13, 2024
833e4ba
chore: upgrade to 1.10.0
chungquantin Aug 13, 2024
ea2adee
chore: rebase upstream 1.8.0
chungquantin Aug 14, 2024
e923e9e
chore: update cargo.lock
chungquantin Aug 14, 2024
be53317
fix: undo benchmarking host functions removal
chungquantin Aug 14, 2024
48803bd
chore: upgrade to 1.10.0
chungquantin Aug 13, 2024
2b91db6
refactor: remove native executor, add unified host functions
chungquantin Aug 13, 2024
10ebaa6
feat: pov claim feature
chungquantin Aug 13, 2024
c9abfa2
chore: upgrade to 1.10.0
chungquantin Aug 13, 2024
a258bf6
chore: rebase upstream 1.8.0
chungquantin Aug 14, 2024
88f423d
chore: update cargo.lock
chungquantin Aug 14, 2024
fb8c6eb
fix: undo benchmarking host functions removal
chungquantin Aug 14, 2024
8257cc4
fix: remove signed extra
chungquantin Aug 14, 2024
ff33961
feat: update the authoring duration
chungquantin Aug 14, 2024
587dc45
chore(upgrade): add feature gate to the unified host functions
chungquantin Aug 14, 2024
5608785
chore: revert pov reclaim feature
chungquantin Aug 15, 2024
827dc84
chore: update lock file
chungquantin Aug 15, 2024
ab65d6a
Merge remote-tracking branch 'refs/remotes/origin/chungquantin/chore-…
chungquantin Aug 15, 2024
1257186
feat: pov claim feature
chungquantin Aug 13, 2024
81115f5
chore: upgrade to 1.10.0
chungquantin Aug 13, 2024
242b68a
refactor: remove native executor, add unified host functions
chungquantin Aug 13, 2024
62ca070
feat: pov claim feature
chungquantin Aug 13, 2024
a72b206
chore: upgrade to 1.10.0
chungquantin Aug 13, 2024
9863cff
fix: undo benchmarking host functions removal
chungquantin Aug 14, 2024
d058b22
refactor: remove native executor, add unified host functions
chungquantin Aug 13, 2024
5344837
fix: undo benchmarking host functions removal
chungquantin Aug 14, 2024
b981174
chore: revert pov reclaim feature
chungquantin Aug 15, 2024
c9416ea
Merge branch 'developer' into chungquantin/chore-polkadot-v1.10.0
chungquantin Aug 15, 2024
256e8d4
Merge branch 'developer' into chungquantin/chore-polkadot-v1.10.0
chungquantin Aug 15, 2024
fff8d0d
fix: add missing experimental feature
chungquantin Aug 15, 2024
84d9334
chore: revert experimental flag
chungquantin Aug 15, 2024
764e41d
fix: remove EOL space
chungquantin Aug 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4,854 changes: 2,437 additions & 2,417 deletions Cargo.lock

Large diffs are not rendered by default.

199 changes: 99 additions & 100 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ subxt-signer = "0.34.0"
tokio = { version = "1.36", features = ["macros", "time", "rt-multi-thread"] }

# Build
substrate-wasm-builder = "20.0.0"
substrate-wasm-builder = "21.0.0"
substrate-build-script-utils = "11.0.0"

# Local
Expand All @@ -57,114 +57,113 @@ pop-runtime-common = { path = "runtime/common", default-features = false }
pop-primitives = { path = "./primitives", default-features = false }

# Substrate
sc-basic-authorship = "0.37.0"
sc-chain-spec = "30.0.1"
sc-cli = "0.39.0"
sc-client-api = "31.0.0"
sc-offchain = "32.0.0"
sc-consensus = "0.36.0"
sc-executor = "0.35.0"
sc-network = "0.37.0"
sc-network-sync = "0.36.0"
sc-rpc = "32.0.0"
sc-service = "0.38.0"
sc-sysinfo = "30.0.0"
sc-telemetry = "17.0.0"
sc-tracing = "31.0.0"
sc-transaction-pool = "31.0.0"
sc-transaction-pool-api = "31.0.0"
frame-benchmarking = { version = "31.0.0", default-features = false }
frame-benchmarking-cli = "35.0.1"
frame-executive = { version = "31.0.0", default-features = false }
frame-support = { version = "31.0.0", default-features = false }
frame-system = { version = "31.0.0", default-features = false }
frame-system-benchmarking = { version = "31.0.0", default-features = false }
frame-system-rpc-runtime-api = { version = "29.0.0", default-features = false }
frame-try-runtime = { version = "0.37.0", default-features = false }
pallet-aura = { version = "30.0.0", default-features = false, features = [
"experimental",
] }
pallet-authorship = { version = "31.0.0", default-features = false }
pallet-assets = { version = "32.0.0", default-features = false }
pallet-balances = { version = "31.0.0", default-features = false }
pallet-contracts = { version = "30.0.0", default-features = false }
pallet-message-queue = { version = "34.0.0", default-features = false }
pallet-multisig = { version = "31.0.0", default-features = false }
pallet-nft-fractionalization = { version = "13.0.0", default-features = false }
pallet-nfts = { version = "25.0.0", default-features = false }
pallet-nfts-runtime-api = { version = "17.0.0", default-features = false }
pallet-preimage = { version = "31.0.0", default-features = false }
pallet-proxy = { version = "31.0.0", default-features = false }
pallet-scheduler = { version = "32.0.0", default-features = false }
pallet-session = { version = "31.0.0", default-features = false }
pallet-sudo = { version = "31.0.0", default-features = false }
pallet-timestamp = { version = "30.0.0", default-features = false }
pallet-transaction-payment = { version = "31.0.0", default-features = false }
pallet-transaction-payment-rpc = "33.0.0"
pallet-transaction-payment-rpc-runtime-api = { version = "31.0.0", default-features = false }
pallet-utility = { version = "31.0.0", default-features = false }
sp-api = { version = "29.0.0", default-features = false }
sp-authority-discovery = { version = "29.0.0", default-features = false }
sp-block-builder = { version = "29.0.0", default-features = false }
sp-blockchain = "31.0.0"
sp-consensus-aura = { version = "0.35.0", default-features = false }
sp-consensus-babe = { version = "0.35.0", default-features = false }
sp-consensus-beefy = { version = "16.0.0", default-features = false }
sp-consensus-grandpa = { version = "16.0.0", default-features = false }
sp-core = { version = "31.0.0", default-features = false }
sp-keystore = "0.37.0"
sp-io = { version = "33.0.0", default-features = false }
sp-genesis-builder = { version = "0.10.0", default-features = false }
sp-inherents = { version = "29.0.0", default-features = false }
sp-offchain = { version = "29.0.0", default-features = false }
sp-runtime = { version = "34.0.0", default-features = false }
sp-timestamp = "29.0.0"
substrate-frame-rpc-system = "31.0.0"
sc-basic-authorship = "0.38.0"
sc-chain-spec = "31.0.0"
sc-cli = "0.40.0"
sc-client-api = "32.0.0"
sc-offchain = "33.0.0"
sc-consensus = "0.37.0"
sc-executor = "0.36.0"
sc-network = "0.38.0"
sc-network-sync = "0.37.0"
sc-rpc = "33.0.0"
sc-service = "0.39.0"
sc-sysinfo = "31.0.0"
sc-telemetry = "18.0.0"
sc-tracing = "32.0.0"
sc-transaction-pool = "32.0.0"
sc-transaction-pool-api = "32.0.0"
frame-benchmarking = { version = "32.0.0", default-features = false }
frame-benchmarking-cli = "36.0.0"
frame-executive = { version = "32.0.0", default-features = false }
frame-support = { version = "32.0.0", default-features = false }
frame-system = { version = "32.0.0", default-features = false }
frame-system-benchmarking = { version = "32.0.0", default-features = false }
frame-system-rpc-runtime-api = { version = "30.0.0", default-features = false }
frame-try-runtime = { version = "0.38.0", default-features = false }
pallet-aura = { version = "31.0.0", default-features = false }
pallet-authorship = { version = "32.0.0", default-features = false }
pallet-assets = { version = "33.0.0", default-features = false }
pallet-balances = { version = "33.0.0", default-features = false }
pallet-contracts = { version = "31.0.0", default-features = false }
pallet-message-queue = { version = "35.0.0", default-features = false }
pallet-multisig = { version = "32.0.0", default-features = false }
pallet-nft-fractionalization = { version = "14.0.0", default-features = false }
pallet-nfts = { version = "26.0.0", default-features = false }
pallet-nfts-runtime-api = { version = "18.0.0", default-features = false }
pallet-preimage = { version = "32.0.0", default-features = false }
pallet-proxy = { version = "32.0.0", default-features = false }
pallet-scheduler = { version = "33.0.0", default-features = false }
pallet-session = { version = "32.0.0", default-features = false }
pallet-sudo = { version = "32.0.0", default-features = false }
pallet-timestamp = { version = "31.0.0", default-features = false }
pallet-transaction-payment = { version = "32.0.0", default-features = false }
pallet-transaction-payment-rpc = "34.0.0"
pallet-transaction-payment-rpc-runtime-api = { version = "32.0.0", default-features = false }
pallet-utility = { version = "32.0.0", default-features = false }
sp-api = { version = "30.0.0", default-features = false }
sp-authority-discovery = { version = "30.0.0", default-features = false }
sp-block-builder = { version = "30.0.0", default-features = false }
sp-blockchain = "32.0.0"
sp-consensus-aura = { version = "0.36.0", default-features = false }
sp-consensus-babe = { version = "0.36.0", default-features = false }
sp-consensus-beefy = { version = "17.0.0", default-features = false }
sp-consensus-grandpa = { version = "17.0.0", default-features = false }
sp-core = { version = "32.0.0", default-features = false }
sp-keystore = "0.38.0"
sp-io = { version = "34.0.0", default-features = false }
sp-genesis-builder = { version = "0.11.0", default-features = false }
sp-inherents = { version = "30.0.0", default-features = false }
sp-offchain = { version = "30.0.0", default-features = false }
sp-runtime = { version = "35.0.0", default-features = false }
sp-timestamp = "30.0.0"
substrate-frame-rpc-system = "32.0.0"
substrate-prometheus-endpoint = "0.17.0"
sp-session = { version = "30.0.0", default-features = false }
sp-session = { version = "31.0.0", default-features = false }
sp-std = { version = "14.0.0", default-features = false }
sp-transaction-pool = { version = "29.0.0", default-features = false }
sp-version = { version = "32.0.0", default-features = false }
sp-transaction-pool = { version = "30.0.0", default-features = false }
sp-version = { version = "33.0.0", default-features = false }

# Polkadot
pallet-xcm = { version = "10.0.1", default-features = false }
polkadot-cli = "10.0.0"
polkadot-parachain-primitives = { version = "9.0.0", default-features = false }
polkadot-runtime-parachains = { version = "10.0.0", default-features = false }
polkadot-primitives = { version = "10.0.0", default-features = false }
polkadot-runtime-common = { version = "10.0.0", default-features = false }
rococo-runtime-constants = { version = "10.0.0", default-features = false }
rococo-runtime = { version = "10.0.0", default-features = false }
xcm = { version = "10.0.0", package = "staging-xcm", default-features = false }
xcm-builder = { version = "10.0.0", package = "staging-xcm-builder", default-features = false }
xcm-executor = { version = "10.0.0", package = "staging-xcm-executor", default-features = false }
pallet-xcm = { version = "11.0.0", default-features = false }
polkadot-cli = "11.0.0"
polkadot-parachain-primitives = { version = "10.0.0", default-features = false }
polkadot-runtime-parachains = { version = "11.0.0", default-features = false }
polkadot-primitives = { version = "11.0.0", default-features = false }
polkadot-runtime-common = { version = "11.0.0", default-features = false }
rococo-runtime-constants = { version = "11.0.0", default-features = false }
rococo-runtime = { version = "11.0.0", default-features = false }
xcm = { version = "11.0.0", package = "staging-xcm", default-features = false }
xcm-builder = { version = "11.0.0", package = "staging-xcm-builder", default-features = false }
xcm-executor = { version = "11.0.0", package = "staging-xcm-executor", default-features = false }

# Cumulus
asset-hub-rococo-runtime = { version = "0.14.0", default-features = false }
asset-test-utils = { version = "10.0.0", default-features = false }
cumulus-pallet-aura-ext = { version = "0.10.0", default-features = false }
cumulus-pallet-parachain-system = { version = "0.10.0", default-features = false, features = [
asset-hub-rococo-runtime = { version = "0.15.0", default-features = false }
asset-test-utils = { version = "11.0.0", default-features = false }
cumulus-pallet-aura-ext = { version = "0.11.0", default-features = false }
cumulus-pallet-parachain-system = { version = "0.11.0", default-features = false, features = [
"parameterized-consensus-hook",
] }
cumulus-pallet-session-benchmarking = { version = "12.0.0", default-features = false }
cumulus-pallet-xcm = { version = "0.10.0", default-features = false }
cumulus-pallet-xcmp-queue = { version = "0.10.0", default-features = false }
cumulus-primitives-aura = { version = "0.10.0", default-features = false }
cumulus-primitives-core = { version = "0.10.0", default-features = false }
cumulus-primitives-utility = { version = "0.10.0", default-features = false }
emulated-integration-tests-common = { version = "6.0.0", default-features = false }
pallet-collator-selection = { version = "12.0.1", default-features = false }
parachains-common = { version = "10.0.0", default-features = false }
parachain-info = { version = "0.10.0", package = "staging-parachain-info", default-features = false }
cumulus-primitives-parachain-inherent = "0.10.0"
cumulus-relay-chain-interface = "0.10.0"
cumulus-pallet-session-benchmarking = { version = "13.0.0", default-features = false }
cumulus-pallet-xcm = { version = "0.11.0", default-features = false }
cumulus-pallet-xcmp-queue = { version = "0.11.0", default-features = false }
cumulus-primitives-aura = { version = "0.11.0", default-features = false }
cumulus-primitives-core = { version = "0.11.0", default-features = false }
cumulus-primitives-storage-weight-reclaim = { version = "2.0.0", default-features = false }
cumulus-primitives-utility = { version = "0.11.0", default-features = false }
emulated-integration-tests-common = { version = "7.0.0", default-features = false }
pallet-collator-selection = { version = "13.0.1", default-features = false }
parachains-common = { version = "11.0.0", default-features = false }
parachain-info = { version = "0.11.0", package = "staging-parachain-info", default-features = false }
cumulus-primitives-parachain-inherent = "0.11.0"
cumulus-relay-chain-interface = "0.11.0"
color-print = "0.3.4"
cumulus-client-cli = "0.10.0"
cumulus-client-collator = "0.10.0"
cumulus-client-consensus-aura = "0.10.0"
cumulus-client-consensus-common = "0.10.0"
cumulus-client-consensus-proposer = "0.10.0"
cumulus-client-service = "0.10.0"
cumulus-client-cli = "0.11.0"
cumulus-client-collator = "0.11.0"
cumulus-client-consensus-aura = "0.11.0"
cumulus-client-consensus-common = "0.11.0"
cumulus-client-consensus-proposer = "0.11.0"
cumulus-client-service = "0.11.0"

# Paseo
asset-hub-paseo-runtime = { git = "https://github.com/paseo-network/runtimes/", tag = "v1.2.5-system-chains", default-features = false }
Expand Down
21 changes: 7 additions & 14 deletions node/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use crate::{
chain_spec,
chain_spec::Relay,
cli::{Cli, RelayChainCli, Subcommand},
service::{new_partial, DevnetRuntimeExecutor, TestnetRuntimeExecutor},
service::new_partial,
};

#[derive(Debug, PartialEq)]
Expand Down Expand Up @@ -157,7 +157,7 @@ macro_rules! construct_async_run {
match runner.config().chain_spec.runtime() {
Runtime::Devnet => {
runner.async_run(|$config| {
let $components = new_partial::<pop_runtime_devnet::RuntimeApi, DevnetRuntimeExecutor>(
let $components = new_partial::<pop_runtime_devnet::RuntimeApi>(
&$config
)?;
let task_manager = $components.task_manager;
Expand All @@ -166,7 +166,7 @@ macro_rules! construct_async_run {
}
Runtime::Testnet => {
runner.async_run(|$config| {
let $components = new_partial::<pop_runtime_testnet::RuntimeApi, TestnetRuntimeExecutor>(
let $components = new_partial::<pop_runtime_testnet::RuntimeApi>(
&$config
)?;
let task_manager = $components.task_manager;
Expand All @@ -181,15 +181,11 @@ macro_rules! construct_benchmark_partials {
($config:expr, |$partials:ident| $code:expr) => {
match $config.chain_spec.runtime() {
Runtime::Devnet => {
let $partials =
new_partial::<pop_runtime_devnet::RuntimeApi, DevnetRuntimeExecutor>(&$config)?;
let $partials = new_partial::<pop_runtime_devnet::RuntimeApi>(&$config)?;
$code
},
Runtime::Testnet => {
let $partials = new_partial::<
pop_runtime_testnet::RuntimeApi,
TestnetRuntimeExecutor,
>(&$config)?;
let $partials = new_partial::<pop_runtime_testnet::RuntimeApi>(&$config)?;
$code
},
}
Expand Down Expand Up @@ -281,12 +277,11 @@ pub fn run() -> Result<()> {
}),
#[cfg(not(feature = "runtime-benchmarks"))]
BenchmarkCmd::Storage(_) =>
return Err(sc_cli::Error::Input(
Err(sc_cli::Error::Input(
"Compile with --features=runtime-benchmarks \
to enable storage benchmarks."
.into(),
)
.into()),
)),
#[cfg(feature = "runtime-benchmarks")]
BenchmarkCmd::Storage(cmd) => runner.sync_run(|config| {
construct_benchmark_partials!(config, |partials| {
Expand Down Expand Up @@ -348,7 +343,6 @@ pub fn run() -> Result<()> {
);
crate::service::start_parachain_node::<
pop_runtime_devnet::RuntimeApi,
DevnetRuntimeExecutor,
>(
config,
polkadot_config,
Expand All @@ -366,7 +360,6 @@ pub fn run() -> Result<()> {
);
crate::service::start_parachain_node::<
pop_runtime_testnet::RuntimeApi,
TestnetRuntimeExecutor,
>(
config,
polkadot_config,
Expand Down
Loading
Loading