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

Lazy loading improvements #3048

Merged
merged 1 commit into from
Nov 20, 2024
Merged

Lazy loading improvements #3048

merged 1 commit into from
Nov 20, 2024

Conversation

RomarQ
Copy link
Contributor

@RomarQ RomarQ commented Nov 18, 2024

What does it do?

Removes redundant code by reusing the LocalCallExecuter from polkadot-sdk

@RomarQ RomarQ added B5-clientnoteworthy Changes should be mentioned in any downstream projects' release notes D2-notlive PR doesn't change runtime code (so can't be audited) lazy-loading These changes affect the lazy loading feature labels Nov 18, 2024
@RomarQ RomarQ self-assigned this Nov 18, 2024
Copy link
Contributor

WASM runtime size check:

Compared to target branch

Moonbase runtime: 2264 KB (no changes) ✅

Moonbeam runtime: 2228 KB (no changes) ✅

Moonriver runtime: 2232 KB (no changes) ✅

Compared to latest release (runtime-3300)

Moonbase runtime: 2264 KB (+236 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 added the not-breaking Does not need to be mentioned in breaking changes label Nov 18, 2024
Copy link
Contributor

Coverage Report

@@                       Coverage Diff                       @@
##           master   rq/lazyloading-improvements      +/-   ##
===============================================================
+ Coverage   79.00%                        79.33%   +0.33%     
  Files         303                           303              
- Lines       88208                         88096     -112     
===============================================================
+ Hits        69685                         69890     +205     
- Misses      18523                         18206     -317     
Files Changed Coverage
/pallets/moonbeam-lazy-migrations/src/lib.rs 83.54% (+1.50%) 🔼
/pallets/moonbeam-lazy-migrations/src/mock.rs 67.57% (-8.19%) 🔽
/pallets/moonbeam-lazy-migrations/src/tests.rs 99.55% (+0.28%) 🔼

Coverage generated Tue Nov 19 00:09:04 UTC 2024

@RomarQ RomarQ marked this pull request as ready for review November 20, 2024 09:16
@TarekkMA
Copy link
Contributor

Looks good now code is more simple using polkadot-sdk Executer

@RomarQ RomarQ added B0-silent Changes should not be mentioned in any release notes and removed B5-clientnoteworthy Changes should be mentioned in any downstream projects' release notes labels Nov 20, 2024
@RomarQ RomarQ merged commit 9e2ddbc into master Nov 20, 2024
50 of 55 checks passed
@RomarQ RomarQ deleted the rq/lazyloading-improvements branch November 20, 2024 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B0-silent Changes should not be mentioned in any release notes D2-notlive PR doesn't change runtime code (so can't be audited) lazy-loading These changes affect the lazy loading feature not-breaking Does not need to be mentioned in breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants