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
Build node and test it peers/syncs with testnet parachain: ./target/release/pop-node --chain ./node/chain_specs/pop-paseo.raw.json --base-path <preferred-location> -- --chain ./node/chain_specs/paseo.raw.json --sync warp
synced #844277 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. This one time two changes have to be made when switched to tag v0.1.0-alpha2. Add paseo.toml from main to the networks folder. In addition, add balances to the chainspec (node/src/chainspec.rs):
Start network with pop u p -f networks/paseo.toml -R v1.2.5 -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
Testing
Build node and test it peers/syncs with testnet parachain:
./target/release/pop-node --chain ./node/chain_specs/pop-paseo.raw.json --base-path <preferred-location> -- --chain ./node/chain_specs/paseo.raw.json --sync warp
synced #844277 blocks
shown to be peered with collators
Test runtime upgrade locally (no existing state):
Pop Network current
v0.1.0-alpha2
. Addpaseo.toml
from main to thenetworks
folder. In addition, add balances to the chainspec (node/src/chainspec.rs
):cargo build --release
pop u p -f networks/paseo.toml -R v1.2.5 -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 https://github.com/r0gue-io/pop-node/blob/main/.chopsticks/README.md
Test runtime upgrade using
try-runtime
:Release
The text was updated successfully, but these errors were encountered: