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

Add errOnRevert flag to vm.Execute #1518

Merged
merged 1 commit into from
Dec 5, 2023
Merged

Conversation

omerfirmak
Copy link
Contributor

to treat reverted txns as hard-failures

@omerfirmak omerfirmak requested a review from joshklop December 4, 2023 15:36
@omerfirmak omerfirmak force-pushed the omerfirmak/vm-revert-on-error branch 3 times, most recently from 2398191 to bfbe3d4 Compare December 4, 2023 15:50
vm/rust/src/lib.rs Outdated Show resolved Hide resolved
@omerfirmak omerfirmak force-pushed the omerfirmak/vm-revert-on-error branch from bfbe3d4 to 2ed0f91 Compare December 4, 2023 17:42
Copy link

codecov bot commented Dec 4, 2023

Codecov Report

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

Comparison is base (8a76a8c) 72.76% compared to head (80cede6) 72.75%.

Files Patch % Lines
rpc/handlers.go 66.66% 2 Missing ⚠️
node/throttled_vm.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1518      +/-   ##
==========================================
- Coverage   72.76%   72.75%   -0.02%     
==========================================
  Files          96       96              
  Lines        9942     9942              
==========================================
- Hits         7234     7233       -1     
+ Misses       2167     2166       -1     
- Partials      541      543       +2     

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

@omerfirmak omerfirmak force-pushed the omerfirmak/vm-revert-on-error branch from 2ed0f91 to f585e6a Compare December 5, 2023 06:52
to treat reverted txns as hard-failures
@omerfirmak omerfirmak force-pushed the omerfirmak/vm-revert-on-error branch from f585e6a to 80cede6 Compare December 5, 2023 06:59
@omerfirmak omerfirmak merged commit a9e3439 into main Dec 5, 2023
8 of 10 checks passed
@omerfirmak omerfirmak deleted the omerfirmak/vm-revert-on-error branch December 5, 2023 07:06
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.

2 participants