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

propagate OutOfGas to outer call if caused by proof size check or MBIP5 #2950

Merged
merged 5 commits into from
Sep 16, 2024

Conversation

librelois
Copy link
Collaborator

What does it do?

If an evm subcall fail because fo a "proof size OutOfGas" error, make the whole eth transaction revert with OutOfGas error.

What important points reviewers should know?

Is there something left for follow-up PRs?

What alternative implementations were considered?

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

moonbeam-foundation/frontier#225

What value does it bring to the blockchain users?

@librelois librelois added D5-nicetohaveaudit⚠️ PR contains trivial changes to logic that should be properly reviewed. breaking Needs to be mentioned in breaking changes labels Sep 16, 2024
@librelois librelois added the A8-mergeoncegreen Pull request is reviewed well. label Sep 16, 2024
Copy link
Contributor

github-actions bot commented Sep 16, 2024

WASM runtime size check:

Compared to target branch

Moonbase runtime: 2188 KB (no changes) ✅

Moonbeam runtime: 2140 KB (no changes) ✅

Moonriver runtime: 2136 KB (no changes) ✅

Compared to latest release (runtime-3102)

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

Moonbeam runtime: 2140 KB (+240 KB compared to latest release) ⚠️

Moonriver runtime: 2136 KB (+236 KB compared to latest release) ⚠️

Copy link
Contributor

github-actions bot commented Sep 16, 2024

Coverage Report

@@                 Coverage Diff                  @@
##           master   elois-storage-oog     +/-   ##
====================================================
  Coverage   79.33%              79.33%   0.00%     
  Files         298                 298             
  Lines       87119               87119             
====================================================
  Hits        69114               69114             
  Misses      18005               18005             
Files Changed Coverage

Coverage generated Mon Sep 16 18:27:42 UTC 2024

@noandrea noandrea added dependencies Pull requests that update a dependency file B5-clientnoteworthy Changes should be mentioned in any downstream projects' release notes labels Sep 16, 2024
@noandrea noandrea removed the request for review from ahmadkaouk September 16, 2024 19:03
@noandrea noandrea merged commit 55688c4 into master Sep 16, 2024
39 checks passed
@noandrea noandrea deleted the elois-storage-oog branch September 16, 2024 19:05
@librelois librelois added B7-runtimenoteworthy Changes should be noted in any runtime-upgrade release notes and removed B5-clientnoteworthy Changes should be mentioned in any downstream projects' release notes labels Sep 17, 2024
noandrea pushed a commit that referenced this pull request Sep 17, 2024
…P5 (#2950)

* update frontier pin

* add tests

* add snapshot & +1 block delay

* test: add gas estimation to babe-lottery3

* appease linter

---------

Co-authored-by: Pablo Labarta <[email protected]>
@librelois librelois added D9-needsaudit👮 PR contains changes to fund-managing logic that should be properly reviewed and externally audited and removed D5-nicetohaveaudit⚠️ PR contains trivial changes to logic that should be properly reviewed. labels Sep 17, 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. B7-runtimenoteworthy Changes should be noted in any runtime-upgrade release notes breaking Needs to be mentioned in breaking changes D9-needsaudit👮 PR contains changes to fund-managing logic that should be properly reviewed and externally audited dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants