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-Equivalence-YUL] Implement evmCodeHash without mapping #751

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

0xVolosnikov
Copy link

Using mapping requires hashing the key, which is quite expensive.

Benchmark results:

╠═╡ Ergs/gas (-%) ╞═╡ EVMInterpreter M3B3 ╞═╣
║ EXTCODEHASH                         3.626 ║
║ CREATE                              0.298 ║
║ CREATE2                             0.313 ║
╚═══════════════════════════════════════════╝

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.

@jrchatruc jrchatruc merged commit b022c9b into evm-equivalence-yul Aug 30, 2024
17 of 18 checks passed
@jrchatruc jrchatruc deleted the vv-evm-simplify-evmCodeHash branch August 30, 2024 15:06
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.

3 participants