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

fix(EVM): Store unpadded EVM bytecode length in versioned bytecode hash (updated) #1157

Merged

Conversation

0xVolosnikov
Copy link

What ❔

The previously used versioned bytecode hash encoding is inefficient. For EVM contracts, we can store the length of the original unpadded EVM bytecode directly in the hash to simplify the logic of EXTCODESIZE.

Why ❔

Checklist

  • PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.

@0xVolosnikov 0xVolosnikov merged commit c396c03 into evm-emulator/fixes Dec 19, 2024
14 checks passed
@0xVolosnikov 0xVolosnikov deleted the evm-emulator/change-versioned-hash-format branch December 19, 2024 09:54
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.

1 participant