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: add keccak256 as alias for sha3 opcode [APE-1262] #48

Merged
merged 2 commits into from
Aug 31, 2023

Conversation

banteg
Copy link
Contributor

@banteg banteg commented Aug 4, 2023

What I did

sha3 opcode was renamed to keccak256 in geth, and it got it renamed in erigon vmtrace output
ethereum/go-ethereum#23976
erigontech/erigon#5890

How I did it

add keccak256 as alias for sha3 opcode

How to verify it

vm tracing is broken in erigon post shanghai, but you can try with this patch of mine.

as for reth, you can track vmtrace compatibility here, but it seems far from usable.

Checklist

  • Passes all linting checks (pre-commit and CI jobs)
  • New test cases have been added and are passing
  • Documentation has been updated
  • PR title follows Conventional Commit standard (will be automatically included in the changelog)

the opcode was renamed in geth and erigon, but still called sha3 in reth
ethereum/go-ethereum#23976
erigontech/erigon#5890
@vany365 vany365 changed the title fix: add keccak256 as alias for sha3 opcode fix: add keccak256 as alias for sha3 opcode [APE-1262] Aug 4, 2023
@fubuloubu fubuloubu enabled auto-merge (squash) August 31, 2023 12:39
@fubuloubu fubuloubu disabled auto-merge August 31, 2023 12:39
@antazoey antazoey merged commit 121275f into ApeWorX:main Aug 31, 2023
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