You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/runtime/testnet/src/lib.rs: spec_version set to 000_002_000
Runtime migrations: check Polkadot prdocs and corresponding release branch for any required migrations introduced
Testing
Test node peers/syncs with testnet parachain: ./target/release/pop-node --chain node/chain_specs/pop-paseo.raw.json or ./target/release/pop-node --chain node/chain-specs/pop-paseo.raw.json -- --chain paseo.raw.json`
synced #... blocks
shown to be peered with collators
Test runtime upgrade locally (no existing state):
Pop Network current
Switch to commit of last release and build pop node.
Start network with pop u p -f TODO.toml -r v1.8.0 -v and:
verify pop node version -- rpc calls -> system -> version()
verify runtime version -- rpc calls -> state -> getRuntimeVersion()
Leave the network running.
Pop new release
Switch to your branch where you have bumped the versions and rebuild.
In Activity Monitor on Mac, find the pop-node process and force quit. The network will still be running, but without the collator so no pop blocks. Or killall pop-node.
Return to the terminal where you launched pop up and copy the command shown in the output which was used to launch the pop-node collator.
In another terminal, run this copied command. This will launch the newly built node (new release) and have it use previously generated chainspecs, effectively allowing it to take over running the network with latest release. Ensure that blocks continue to be produced and verify node version (see above).
Upgrade the chain to the new runtime release -- can be found in target/release/wbuild/testnet_runtime/testnet_runtime.compact.compressed.wasm
Verify successful runtime upgrade:
verify pop node version -- (see above)
verify runtime version -- (see above)
verify migrations have been executed successfully
verify chain is running
Test runtime upgrade locally based on existing state from testnet: follow
Test runtime upgrade using try-runtime:
cargo b -r --features rococo-testnet,try-runtime
try-runtime --runtime ./target/release/wbuild/testnet-runtime/testnet_runtime.wasm on-runtime-upgrade live --uri rpc3.paseo.popnetwork.xyz
Issues need to be completed before doing release:
Release Plan
Release Readiness
https://github.com/paritytech/polkadot-sdk/blob/master/cumulus/docs/release.md
Create release PR which:
/node/Cargo.toml
set to0.2.0
Jenkinsfile
/runtime/testnet/Cargo.toml
set to0.2.0
/runtime/testnet/src/lib.rs
:spec_version
set to000_002_000
Testing
./target/release/pop-node --chain node/chain_specs/pop-paseo.raw.json
or ./target/release/pop-node --chain node/chain-specs/pop-paseo.raw.json -- --chain paseo.raw.json`Pop Network current
pop u p -f TODO.toml -r v1.8.0 -v
and:rpc calls -> system -> version()
rpc calls -> state -> getRuntimeVersion()
Leave the network running.
Pop new release
killall pop-node
.Return to the terminal where you launched
pop up
and copy the command shown in the output which was used to launch the pop-node collator.target/release/wbuild/testnet_runtime/testnet_runtime.compact.compressed.wasm
Test runtime upgrade locally based on existing state from testnet: follow
Test runtime upgrade using
try-runtime
:Release
The text was updated successfully, but these errors were encountered: