Skip to content

Conversation

DaniPopes
Copy link
Collaborator

@DaniPopes DaniPopes commented Jul 24, 2025

Applies #2731

Fix missing break after step from #2776

@DaniPopes DaniPopes requested a review from rakita July 24, 2025 17:58
Copy link

codspeed-hq bot commented Jul 24, 2025

CodSpeed Performance Report

Merging #2797 will not alter performance

Comparing DaniPopes:fix-inspector-cleanup (250707f) with main (e42a93a)

Summary

✅ 171 untouched benchmarks

inspector.step_end(interpreter, context);

if done {
if interpreter.bytecode.is_end() {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

idt it matters if is_end calculated before or after step_end, but technically this is now done after

Copy link
Member

Choose a reason for hiding this comment

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

It should definitely be after step_end. If step_end sets action, it should break the interpreter loop

Copy link
Member

@rakita rakita left a comment

Choose a reason for hiding this comment

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

lgtm

@rakita rakita merged commit 6a736b3 into bluealloy:main Jul 25, 2025
30 checks passed
@github-actions github-actions bot mentioned this pull request Jul 25, 2025
@github-actions github-actions bot mentioned this pull request Aug 6, 2025
lwedge99 pushed a commit to sentioxyz/revm that referenced this pull request Sep 16, 2025
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