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

evm: de-duplicate bailout flag #2653

Merged
merged 1 commit into from
Jan 14, 2025
Merged

evm: de-duplicate bailout flag #2653

merged 1 commit into from
Jan 14, 2025

Conversation

chfast
Copy link
Member

@chfast chfast commented Jan 13, 2025

In the ExecutionProcessor::call() the bailout flag is passed by parameter but is also accessible as evm().bailout. It would be wrong if these flags are out of sync. Therefore, drop the bailout parameter and only use evm().bailout in the implementation.

In the `ExecutionProcessor::call()` the bailout flag is passed by
parameter but is also accessible as `evm().bailout`. It would be wrong
if these flags are out of sync. Therefore, drop the bailout parameter
and only use `evm().bailout` in the implementation.
@chfast chfast requested review from canepat and yperbasis January 13, 2025 16:15
Copy link

codecov bot commented Jan 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 50.57%. Comparing base (0ed20d7) to head (dad203c).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2653      +/-   ##
==========================================
- Coverage   50.59%   50.57%   -0.02%     
==========================================
  Files         784      784              
  Lines       52476    52476              
  Branches     8172     8172              
==========================================
- Hits        26548    26540       -8     
- Misses      23608    23613       +5     
- Partials     2320     2323       +3     

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

@canepat canepat added the maintenance Some maintenance work (fix, refactor, rename, test...) label Jan 14, 2025
@canepat canepat merged commit f79115b into master Jan 14, 2025
16 checks passed
@canepat canepat deleted the ci/rpc_bailout branch January 14, 2025 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Some maintenance work (fix, refactor, rename, test...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants