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

Feat: Refactor and add new Opcodes #57

Merged
merged 4 commits into from
Sep 5, 2024
Merged

Conversation

mrLSD
Copy link
Member

@mrLSD mrLSD commented Aug 26, 2024

Description

This PR is part of the implementations of the upcoming Prague Ethereum hard fork.

Refactored EVM Opcodes: ordering ascending.

NOTE: With Prague hard fork Opcodes frequently changed. It isn't easy to support with just random ordering for Opcodes.

Renamed and added new Opcodes to Opcodes table according to:

➡️ EIP-4399
➡️ EIP-7069
➡️ EIP-4200
➡️ EIP-4750
➡️ EIP-6206
➡️ EIP-663
➡️ EIP-7620

⚠️ Removed EOFMAGIC as that functionality should be reimplemented.

Opcode instructions implementations

🛋️ This PR brings only Opcode, and updated Opcodes table. Instructions implementations and EIP-specific logic related to each new Opcode are intended to implemented separately.

@mrLSD mrLSD self-assigned this Aug 26, 2024
@mrLSD mrLSD added enhancement New feature or request hard-fork EIP HF-Prague Prague hard fork labels Aug 26, 2024
@mrLSD mrLSD changed the base branch from master to feat/prague-hard-fork August 27, 2024 13:37
* Refactore EOFMAGIC code creation, issue #58

* Change index CreateContractStartingWithEF to 16
@mrLSD mrLSD requested review from aleksuss and birchmd August 27, 2024 18:20
@mrLSD mrLSD merged commit 60e17ef into feat/prague-hard-fork Sep 5, 2024
6 checks passed
@mrLSD mrLSD deleted the feat/eip-4200 branch September 5, 2024 11:38
@mrLSD mrLSD mentioned this pull request Oct 19, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EIP enhancement New feature or request hard-fork HF-Prague Prague hard fork
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants