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

[Flow EVM] improvements to COA proof verification #5379

Merged

Conversation

ramtinms
Copy link
Contributor

@ramtinms ramtinms commented Feb 13, 2024

This PR improves the COA proof verification function by returning a boolean from the invoke call, and handles errors properly (panic on fatal or backend errors)

@ramtinms ramtinms marked this pull request as draft February 13, 2024 05:05
@codecov-commenter
Copy link

codecov-commenter commented Feb 13, 2024

Codecov Report

Attention: 17 lines in your changes are missing coverage. Please review.

Comparison is base (66eef9f) 56.01% compared to head (8b5e92e) 57.14%.

Files Patch % Lines
fvm/evm/handler/precompiles.go 43.33% 15 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5379      +/-   ##
==========================================
+ Coverage   56.01%   57.14%   +1.12%     
==========================================
  Files        1024      782     -242     
  Lines       99244    78585   -20659     
==========================================
- Hits        55594    44906   -10688     
+ Misses      39407    30096    -9311     
+ Partials     4243     3583     -660     
Flag Coverage Δ
unittests 57.14% <45.16%> (+1.12%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ramtinms ramtinms marked this pull request as ready for review February 20, 2024 18:50
@ramtinms ramtinms added this to the Flow-EVM-M1 milestone Feb 20, 2024
Copy link
Member

@turbolent turbolent left a comment

Choose a reason for hiding this comment

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

👍

fvm/evm/stdlib/contract.cdc Outdated Show resolved Hide resolved
fvm/evm/stdlib/contract.cdc Outdated Show resolved Hide resolved
fvm/evm/stdlib/contract.cdc Outdated Show resolved Hide resolved
fvm/evm/stdlib/contract.cdc Outdated Show resolved Hide resolved
fvm/evm/stdlib/contract.cdc Outdated Show resolved Hide resolved
@ramtinms ramtinms added this pull request to the merge queue Feb 21, 2024
Merged via the queue into master with commit aa7161b Feb 21, 2024
50 of 51 checks passed
@ramtinms ramtinms deleted the ramtin/5197-part4-improvemetns-to-COA-proof-verification branch February 21, 2024 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants