8000 Fix State Trie Migration Tests: Change Zombienet clients to latest release instead of local by pLabarta · Pull Request #2974 · moonbeam-foundation/moonbeam · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

10000 Fix State Trie Migration Tests: Change Zombienet clients to latest release instead of local #2974

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

Closed
wants to merge 66 commits into from

Conversation

pLabarta
Copy link
Contributor
@pLabarta pLabarta commented Sep 24, 2024

What does it do?

This PR builds on top of #2907 and changes the zombienet configuration by replacing the parachain clients to use the latest release instead of the branch built node. While seeming work-aroundish the main purpose of the tests are simulating a runtime upgrade and testing communication with the relay chains so it should be safe to perform them with the previous client version.

Zombie RPC tests which seem to be the intended way to test the client retain the branch built client as the one used for RPC nodes.

What important points reviewers should know?

Is there something left for follow-up PRs?

What alternative implementations were considered?

Running the branch built clients with --execution wasm flag was tested but yielded no result. It seems like the issue is related to the usage of native/wasm runtimes during the update from state_version = 0 to 1, but at the moment it does not seem clear what exactly is causing it.

Are there relevant PRs or issues in other repositories (Substrate, Polkadot, Frontier, Cumulus)?

What value does it bring to the blockchain users?

@pLabarta pLabarta added D2-notlive PR doesn't change runtime code (so can't be audited) B0-silent Changes should not be mentioned in any release notes labels Sep 24, 2024
Copy link
Contributor

WASM runtime size check:

Compared to target branch

Moonbase runtime: 2188 KB (no changes) ✅

Moonbeam runtime: 2148 KB (no changes) ✅

Moonriver runtime: 2148 KB (no changes) ✅

Compared to latest release (runtime-3200)

Moonbase runtime: 2188 KB (+228 KB compared to latest release) ⚠️

Moonbeam runtime: 2148 KB (+224 KB compared to latest release) ⚠️

Moonriver runtime: 2148 KB (+224 KB compared to latest release) ⚠️

Copy link
Contributor

Coverage Report

@@                        Coverage Diff                        @@
##           master   pablo/state-migration-fix-poc      +/-   ##
=================================================================
+ Coverage   79.31%                          79.39%   +0.08%     
  Files         298                             298              
+ Lines       87140                           87489     +349     
=================================================================
+ Hits        69114                           69454     +340     
+ Misses      18026                           18035       +9     
Files Changed Coverage
/pallets/moonbeam-lazy-migrations/src/lib.rs 83.54% (-8.77%) 🔽
/pallets/moonbeam-lazy-migrations/src/tests.rs 99.55% (-0.45%) 🔽
/runtime/common/src/migrations.rs 72.33% (+0.13%) 🔼

Coverage generated Tue Sep 24 19:44:40 UTC 2024

@noandrea noandrea added the A8-mergeoncegreen Pull request is reviewed well. label Sep 30, 2024
@pLabarta pLabarta closed this Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A8-mergeoncegreen Pull request is reviewed well. B0-silent Changes should not be mentioned in any release notes D2-notlive PR doesn't change runtime code (so can't be audited)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0