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): Simplify and optimize out-of-bounds truncation in CODECOPY #1154

Conversation

0xVolosnikov
Copy link

What ❔

It is cleaner and more efficient to truncate by actual bytecode length.

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 changed the title fix(EVM): Simplify and optimize out-of-bounds truncation in CODECOPY fix(EVM): Simplify and optimize out-of-bounds truncation in CODECOPY Dec 18, 2024
@0xVolosnikov 0xVolosnikov merged commit 5e4477e into evm-emulator/fixes Dec 18, 2024
19 of 21 checks passed
@0xVolosnikov 0xVolosnikov deleted the evm-emulator/simplify-codecopy-out-of-bounds-truncation branch December 18, 2024 10:19
@0xVolosnikov 0xVolosnikov restored the evm-emulator/simplify-codecopy-out-of-bounds-truncation branch December 18, 2024 11:27
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