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

use state_version 1 when running benchmarks #3006

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RomarQ
Copy link
Contributor

@RomarQ RomarQ commented Oct 11, 2024

What does it do?

With RT 3300, the state trie will be migrated to version 1. This means that weights in RT 3400 should be generated for a runtime with state_version set to 1.

Migrations completed:

  • Moonbase (31,554,035 keys)
  • Moonriver
  • Moonbeam

@RomarQ RomarQ self-assigned this Oct 11, 2024
@RomarQ RomarQ added B7-runtimenoteworthy Changes should be noted in any runtime-upgrade release notes D3-trivial PR contains trivial changes in a runtime directory that do not require an audit breaking Needs to be mentioned in breaking changes labels Oct 11, 2024
@RomarQ RomarQ requested review from a team, noandrea and gonzamontiel and removed request for a team October 11, 2024 09:27
Copy link
Contributor

WASM runtime size check:

Compared to target branch

Moonbase runtime: 2260 KB (no changes) ✅

Moonbeam runtime: 2228 KB (no changes) ✅

Moonriver runtime: 2232 KB (no changes) ✅

Compared to latest release (runtime-3300)

Moonbase runtime: 2260 KB (+232 KB compared to latest release) ⚠️

Moonbeam runtime: 2228 KB (+232 KB compared to latest release) ⚠️

Moonriver runtime: 2232 KB (+240 KB compared to latest release) ⚠️

@RomarQ RomarQ marked this pull request as ready for review October 11, 2024 09:27
@RomarQ RomarQ requested a review from TarekkMA October 11, 2024 09:27
@TarekkMA
Copy link
Contributor

Will the migration be done by the next release? We want to make sure that the state trie migration is fully done before switching the benchmarks

@RomarQ
Copy link
Contributor Author

RomarQ commented Oct 11, 2024

Will the migration be done by the next release? We want to make sure that the state trie migration is fully done before switching the benchmarks

That is the intention, didn't you try it?

Copy link
Contributor

Coverage Report

@@                         Coverage Diff                          @@
##           master   rq/use-state_version_1-in-benches     +/-   ##
====================================================================
  Coverage   79.06%                              79.06%   0.00%     
  Files         305                                 305             
  Lines       88382                               88382             
====================================================================
  Hits        69878                               69878             
  Misses      18504                               18504             
Files Changed Coverage

Coverage generated Fri Oct 11 10:18:21 UTC 2024

Copy link
Contributor

@TarekkMA TarekkMA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B7-runtimenoteworthy Changes should be noted in any runtime-upgrade release notes breaking Needs to be mentioned in breaking changes D3-trivial PR contains trivial changes in a runtime directory that do not require an audit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants