-
Notifications
You must be signed in to change notification settings - Fork 47
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
feat: upgrade to Polkadot v0.9.23 #366
Conversation
NOTE: StorageVersion is tracked inside pallet macro
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! I see that they have also switched to using srtool 1.60, which we might want to upgrade as well. Not sure if within the scope of this PR, but if not please make a ticket for it.
let FullDeps { | ||
client, | ||
pool, | ||
deny_unsafe, | ||
} = deps; | ||
|
||
io.extend_with(SystemApi::to_delegate(FullSystem::new( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The FullSystem
is the important part here. We use(d) this for the NextNonce
call. It was refactored to SystemRpc
in Substrate #8783 and is now named System
. Thus, this PR does not introduce a breaking change.
/bench runtime spiritnet-runtime pallet-treasury |
Error running benchmark: wf/2023-polkadot-v0.9.23 stdoutkilt-node repo with runtime is not supported. |
/bench runtime spiritnet-runtime pallet-treasury |
Error running benchmark: wf/2023-polkadot-v0.9.23 stdoutkilt-node repo with runtime is not supported. |
/bench runtime spiritnet-runtime pallet-treasury |
Error running benchmark: wf/2023-polkadot-v0.9.23 stdoutkilt-node repo with runtime is not supported. |
/bench runtime spiritnet-runtime pallet-treasury |
Error running benchmark: wf/2023-polkadot-v0.9.23 stdoutFrom https://github.com/KILTprotocol/kilt-node * branch develop -> FETCH_HEAD hint: You have divergent branches and need to specify how to reconcile them. hint: You can do so by running one of the following commands sometime before hint: your next pull: hint: hint: git config pull.rebase false # merge (the default strategy) hint: git config pull.rebase true # rebase hint: git config pull.ff only # fast-forward only hint: hint: You can replace "git config" with "git config --global" to set a default hint: preference for all repositories. You can also pass --rebase, --no-rebase, hint: or --ff-only on the command line to override the configured default per hint: invocation. fatal: Need to specify how to reconcile divergent branches. |
/bench runtime spiritnet-runtime pallet-treasury |
Error running benchmark: wf/2023-polkadot-v0.9.23 stdoutFrom https://github.com/KILTprotocol/kilt-node * branch develop -> FETCH_HEAD hint: You have divergent branches and need to specify how to reconcile them. hint: You can do so by running one of the following commands sometime before hint: your next pull: hint: hint: git config pull.rebase false # merge (the default strategy) hint: git config pull.rebase true # rebase hint: git config pull.ff only # fast-forward only hint: hint: You can replace "git config" with "git config --global" to set a default hint: preference for all repositories. You can also pass --rebase, --no-rebase, hint: or --ff-only on the command line to override the configured default per hint: invocation. fatal: Need to specify how to reconcile divergent branches. |
/bench runtime spiritnet-runtime pallet-treasury |
Error running benchmark: wf/2023-polkadot-v0.9.23 stdoutFrom https://github.com/KILTprotocol/kilt-node * branch develop -> FETCH_HEAD hint: You have divergent branches and need to specify how to reconcile them. hint: You can do so by running one of the following commands sometime before hint: your next pull: hint: hint: git config pull.rebase false # merge (the default strategy) hint: git config pull.rebase true # rebase hint: git config pull.ff only # fast-forward only hint: hint: You can replace "git config" with "git config --global" to set a default hint: preference for all repositories. You can also pass --rebase, --no-rebase, hint: or --ff-only on the command line to override the configured default per hint: invocation. fatal: Need to specify how to reconcile divergent branches. |
/bench runtime spiritnet-runtime pallet-treasury |
Error running benchmark: wf/2023-polkadot-v0.9.23 stdoutFrom https://github.com/KILTprotocol/kilt-node * branch develop -> FETCH_HEAD hint: You have divergent branches and need to specify how to reconcile them. hint: You can do so by running one of the following commands sometime before hint: your next pull: hint: hint: git config pull.rebase false # merge (the default strategy) hint: git config pull.rebase true # rebase hint: git config pull.ff only # fast-forward only hint: hint: You can replace "git config" with "git config --global" to set a default hint: preference for all repositories. You can also pass --rebase, --no-rebase, hint: or --ff-only on the command line to override the configured default per hint: invocation. fatal: Need to specify how to reconcile divergent branches. |
/bench runtime spiritnet-runtime pallet-treasury |
1 similar comment
/bench runtime spiritnet-runtime pallet-treasury |
Benchmark Runtime Pallet for branch "wf/2023-polkadot-v0.9.23" with command cargo run --quiet --release -p kilt-parachain --features=runtime-benchmarks -- benchmark pallet --chain=spiritnet-dev --steps=50 --repeat=20 --pallet=pallet-treasury --extrinsic="*" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./runtimes/spiritnet/src/weights/pallet_treasury.rs --template=.maintain/runtime-weight-template.hbs Toolchain: nightly-2022-01-08-x86_64-unknown-linux-gnu (default) Results
|
…hmarks -- benchmark pallet --chain=spiritnet-dev --steps=50 --repeat=20 --pallet=pallet-treasury --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./runtimes/spiritnet/src/weights/pallet_treasury.rs --template=.maintain/runtime-weight-template.hbs
/bench runtime spiritnet-runtime pallet-utility |
Benchmark Runtime Pallet for branch "wf/2023-polkadot-v0.9.23" with command cargo run --quiet --release -p kilt-parachain --features=runtime-benchmarks -- benchmark pallet --chain=spiritnet-dev --steps=50 --repeat=20 --pallet=pallet-utility --extrinsic="*" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./runtimes/spiritnet/src/weights/pallet_utility.rs --template=.maintain/runtime-weight-template.hbs Toolchain: nightly-2022-05-11-x86_64-unknown-linux-gnu (overridden by '/home/benchbot/bench-bot/git/kilt-node/rust-toolchain.toml') Results
|
…hmarks -- benchmark pallet --chain=spiritnet-dev --steps=50 --repeat=20 --pallet=pallet-utility --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./runtimes/spiritnet/src/weights/pallet_utility.rs --template=.maintain/runtime-weight-template.hbs
Ah thanks for the find. Included in ac65d4b |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
* wip: upgrade to Polkadot v0.9.22 * wip: upgrade to Polkadot v0.9.23 * fix: remove deprecated migrations NOTE: StorageVersion is tracked inside pallet macro * fix: fee calc paritytech/substrate#11415 * chore: bump deps * fix: add missing check for non zero sender paritytech/substrate#10413 * fix: client changes * refactor: downgrade nightly paritytech/substrate#11266 * chore: upgrade to latest nightly supported by Substrate * fix: clippy * fix: clippy * ci: bump srtool to 1.60 * cargo run --quiet --release -p kilt-parachain --features=runtime-benchmarks -- benchmark pallet --chain=spiritnet-dev --steps=50 --repeat=20 --pallet=pallet-treasury --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./runtimes/spiritnet/src/weights/pallet_treasury.rs --template=.maintain/runtime-weight-template.hbs * cargo run --quiet --release -p kilt-parachain --features=runtime-benchmarks -- benchmark pallet --chain=spiritnet-dev --steps=50 --repeat=20 --pallet=pallet-utility --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./runtimes/spiritnet/src/weights/pallet_utility.rs --template=.maintain/runtime-weight-template.hbs * fix: rilt spec * fix: remove wip unused file * chore: bump deps Co-authored-by: kiltbot <> (cherry picked from commit 5e2fec6)
* Adds two more relaychain bootnodes for staging environment (#334) * chore: reset peregrine stg (#335) * ci: use custom ci image (#336) * Optimizes docker layer (#337) * fix: add did lookup pallet to DID authorization logic + reverse lookup index (#343) * chore: update toolchain version to nightly 1.59 (#339) * feat: proxy type for disableling deposit claiming (#341) * fix: rococo protocol id (#369) * feat: generic access control (#316) * Updates toolchain version (#345) * refactor: enforce no runtime in pallet (#349) * fix: features (#353) * feat: add tips pallet (#352) * feat: upgrade to Polkadot v0.9.19 (#357) * chore: upgrade and clean up (#360) * Adds the new rococo chainspec (#363) * feat: add launch pallet removal migration (#359) * refactor: update rilt para id from 2015 to 2108 (#364) * fix: rilt para id (#365) * feat: upgrade to Polkadot v0.9.23 (#366) * use ci-linx:production base image (#368) * feat: upgrade to Polkadot v0.9.24 (#370) * fix: fix CI builders compilation errors and pin to a specific hash (#372)
fixes KILTProtocol/ticket#2034
TODO
pallet_treasury
andpallet_utility
(new functions added to API)Checklist:
array[3]
useget(3)
, ...)