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

fix(testnet): add missing migration #155

Merged
merged 1 commit into from
Aug 5, 2024
Merged

fix(testnet): add missing migration #155

merged 1 commit into from
Aug 5, 2024

Conversation

evilrobot-01
Copy link
Collaborator

Running try-runtime on the testnet runtime from main indicates a missing migration:

cargo b -r --features try-runtime
try-runtime --runtime ./target/release/wbuild/pop-runtime-testnet/pop_runtime_testnet.wasm on-runtime-upgrade live --uri wss://rpc2.paseo.popnetwork.xyz
2024-08-03T21:13:28Z ERROR runtime::frame-support] CollatorSelection: On chain storage version StorageVersion(1) doesn't match current storage version StorageVersion(2).
[2024-08-03T21:13:28Z ERROR runtime] panicked at /Users/frank/dev/pop-node/runtime/testnet/src/lib.rs:876:65:
    called `Result::unwrap()` on an `Err` value: Other("On chain and current storage version do not match. Missing runtime upgrade?")
thread 'main' panicked at cli/main.rs:324:10

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 3.30%. Comparing base (95bb4b5) to head (bd0e15a).

@@          Coverage Diff          @@
##            main    #155   +/-   ##
=====================================
  Coverage   3.30%   3.30%           
=====================================
  Files         30      30           
  Lines       6843    6843           
  Branches    6843    6843           
=====================================
  Hits         226     226           
  Misses      6617    6617           
Files Coverage Δ
runtime/testnet/src/lib.rs 14.88% <ø> (ø)

@evilrobot-01 evilrobot-01 mentioned this pull request Aug 4, 2024
10 tasks
@Daanvdplas Daanvdplas merged commit 0fb4b3a into main Aug 5, 2024
8 checks passed
@Daanvdplas Daanvdplas deleted the frank/migration branch August 5, 2024 10:16
chungquantin pushed a commit to chungquantin/pop-node that referenced this pull request Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants