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 panic when fetching block header in backend.state_at #3054

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

RomarQ
Copy link
Contributor

@RomarQ RomarQ commented Nov 22, 2024

What does it do?

Propagate error instead of panicking when calling state_at when using the lazy loading backend.

@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) not-breaking Does not need to be mentioned in breaking changes lazy-loading These changes affect the lazy loading feature labels Nov 22, 2024
@RomarQ RomarQ self-assigned this Nov 22, 2024
Copy link
Contributor

WASM runtime size check:

Compared to target branch

Moonbase runtime: 2260 KB (no changes) ✅

Moonbeam runtime: 2232 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: 2232 KB (+236 KB compared to latest release) ⚠️

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

Copy link
Contributor

Coverage Report

@@                     Coverage Diff                      @@
##           master   rq/fix-lazy-loading-panic     +/-   ##
============================================================
  Coverage   74.81%                      74.81%   0.00%     
  Files         369                         369             
  Lines       94137                       94137             
============================================================
  Hits        70421                       70421             
  Misses      23716                       23716             
Files Changed Coverage

Coverage generated Fri Nov 22 12:48:37 UTC 2024

@RomarQ RomarQ requested a review from crystalin November 25, 2024 11:00
@RomarQ RomarQ marked this pull request as ready for review November 25, 2024 11:01
@RomarQ RomarQ merged commit ca369f6 into master Nov 25, 2024
47 checks passed
@RomarQ RomarQ deleted the rq/fix-lazy-loading-panic branch November 25, 2024 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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 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