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: finalize: fix handling of symbolic returndata #588

Merged
merged 1 commit into from
Oct 7, 2024
Merged

Conversation

d-xo
Copy link
Collaborator

@d-xo d-xo commented Oct 7, 2024

We produced a Partial node with a message "runtime code cannot have an abstract length" if we could not determine a concrete size for returndata when finalizing a transaction. This change gates that check so it is only made if we are actually in a create transaction (which is the only context where it is valid).

Description

Checklist

  • tested locally
  • added automated tests
  • updated the docs
  • updated the changelog

We produced a `Partial` node with a message "runtime code cannot have an
abstract length" if we could not determine a concrete size for
returndata when finalizing a transaction. This changes gates that check
so it is only made if we are actually in a create transaction (which is
the only context where it is valid).
@msooseth
Copy link
Collaborator

msooseth commented Oct 7, 2024

Wow

Copy link
Collaborator

@msooseth msooseth left a comment

Choose a reason for hiding this comment

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

Nice, thanks, a lot cleaner, too! LGTM

@msooseth msooseth merged commit 6d51d03 into main Oct 7, 2024
9 checks passed
@blishko blishko deleted the fix-finalize branch October 8, 2024 14:07
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