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

testnet-v0.5.0 & pop-node v0.3.0 #485

Open
18 of 19 tasks
al3mart opened this issue Mar 3, 2025 · 0 comments
Open
18 of 19 tasks

testnet-v0.5.0 & pop-node v0.3.0 #485

al3mart opened this issue Mar 3, 2025 · 0 comments
Assignees
Labels
release New release

Comments

@al3mart
Copy link
Collaborator

al3mart commented Mar 3, 2025

Release Readiness Tracking

Node Release

2025-03-03 16:39:24 [Relaychain] ⚙  Syncing 576.4 bps, target=#5389664 (7 peers), best: #3649 (0xfbe0…d391), finalized #3584 (0x2976…4e30), ⬇ 939.2kiB/s ⬆ 9.5kiB/s    
2025-03-03 16:39:24 [Parachain] ⚙  Syncing 428.2 bps, target=#3590258 (3 peers), best: #3316 (0x2d06…0c33), finalized #0 (0xe8b2…8aa1), ⬇ 1.7MiB/s ⬆ 0.8kiB/s    
2025-03-03 16:39:25 [Parachain] assembling new collators for new session 3 at #3600    
  • One collator runs with the new binary, syncs the network and peers with other nodes, produces blocks and logs are healthy.

Runtime Release

Testing Tracking

  • Local upgrade test runs as expected.
  1. Build the latest release.
  2. Launch a network using pop up parachiain -f networks/testnet.toml -v.
    • pop-node version can be verified via: rpc calls -> system -> version()
    • Runtime version can be verified via: rpc calls -> state -> getRuntimeVersion()

Node release

  1. Switch to the new release branch and rebuild.
  2. Kill the running pop-node process

For instance, on Mac one can look in Activity Monitor, find the pop-node process and force quit. The network will still be running, but without the collator so Pop Network might not be producing blocks.

  1. Run the new pop-node binary using the command prompted in step 2, with the same specs that are prompted at step 2.
  2. Verify that the new node is producing blocks.
  3. Verify running versions as needed.

Runtime release

The new runtime might need a certian pop-node version to be deployed first, if that is the case make sure you follow the above steps for a Node Release

  1. Do a runtime upgrade using the new runtime release -- can be found in ./target/release/wbuild/pop-runtime-testnet/pop_runtime_testnet.compact.compressed.wasm.
  2. Verify the runtime upgrade was successful:
    • The runtime version should have changed.
    • The corresponding migrations should have run.
    • Pop Network is still producing blocks.
  • Successful execution of try-runtime .
cargo build --release --features=try-runtime -p <runtime-crate>
try-runtime --runtime ./target/release/wbuild/pop-runtime-testnet/pop_runtime_testnet.compact.compressed.wasm on-runtime-upgrade live --uri wss://rpc3.paseo.popnetwork.xyz:443
[2025-03-03T15:23:57Z INFO  runtime::contracts] === POST UPGRADE CHECKS ===
[2025-03-03T15:23:57Z INFO  runtime::frame-support] ⚠ IsmpParachain declares internal migrations (which *might* execute). On-chain `StorageVersion(1)` vs in-code storage version `StorageVersion(1)`
[2025-03-03T15:23:57Z INFO  runtime::executive] ✅ Entire runtime state decodes without error. 8096312 bytes total.
[2025-03-03T15:23:57Z INFO  try-runtime::cli] PoV size (zstd-compressed compact proof): 3.7 KB. For parachains, it's your responsibility to verify that a PoV of this size fits within any relaychain constraints.
[2025-03-03T15:23:57Z INFO  try-runtime::cli] Consumed ref_time: 0.001704826s (0.09% of max 2s)
[2025-03-03T15:23:57Z INFO  try-runtime::cli] ✅ No weight safety issues detected. Please note this does not guarantee a successful runtime upgrade. Always test your runtime upgrade with recent state, and ensure that the weight usage of your migrations will not drastically differ between testing and actual on-chain execution.
  • (Advised) Runtime upgrade on a local fork of Pop Network.

More instructions around using chopsticks for this can be found in .chopsticks directory

  1. Launch the local fork:
    npx @acala-network/chopsticks@latest xcm -r ./.chopsticks/paseo.yml -p ./.chopsticks/testnet.yml
  1. Do a runtime upgrade using the new runtime release -- can be found in ./target/release/wbuild/pop-runtime-testnet/pop_runtime_testnet.compact.compressed.wasm.
  2. Might be needed to trigger block production on Pop Network:
    websocat ws://localhost:8000
    {"jsonrpc":"2.0","id":2,"method":"dev_newBlock","params":[{"count":20}]}

Release

Node release

Runtime release

@al3mart al3mart added the release New release label Mar 3, 2025
@al3mart al3mart self-assigned this Mar 3, 2025
@al3mart al3mart changed the title testnet-v0.4.3 testnet-v0.4.3 & node v0.3.0-alpha Mar 3, 2025
@al3mart al3mart changed the title testnet-v0.4.3 & node v0.3.0-alpha testnet-v0.4.3 & pop-node v0.3.0-alpha Mar 3, 2025
@al3mart al3mart changed the title testnet-v0.4.3 & pop-node v0.3.0-alpha testnet-v0.5.0 & pop-node v0.3.0-alpha Mar 3, 2025
@al3mart al3mart changed the title testnet-v0.5.0 & pop-node v0.3.0-alpha testnet-v0.5.0 & pop-node v0.3.0 Mar 3, 2025
@al3mart al3mart changed the title testnet-v0.5.0 & pop-node v0.3.0 testnet-v0.5.0 & pop-node v0.3.0 Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release New release
Projects
None yet
Development

No branches or pull requests

1 participant