-
Notifications
You must be signed in to change notification settings - Fork 91
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
bugfix: Produce correct receipts with debugger breakpoints enabled #889
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes are unrelated, but the CI wont pass without them. The import would have to be moved behind a feature, but I found it cleaner to just inline them.
ProgramState::Return(return_val), | ||
) | ||
} else { | ||
// TODO set tree balance |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know this is not introduced in this PR so it's not blocking, but do we have an issue for this?
While working on execution traces, I noticed that the receipts are produced in incorrect oder when the debugger is enabled. The PR moves the end-of-execution receipt generation to
run_program
, so it's also done when called usingInterpreter::resume
.This is technically a breaking change, but it's a bugfix so it doesn't necessarily warrant a breakng-version bump.
Checklist
Before requesting review