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: add eip-7251 system contract address/code #956

Merged
merged 4 commits into from
Jun 21, 2024
Merged

Conversation

onbjerg
Copy link
Member

@onbjerg onbjerg commented Jun 21, 2024

Motivation

EIP-7251 is included in Prague, and consists of a new request type (which has been added to Alloy), and a new system contract.

Solution

This PR adds the system contract bytecode and address.

The bytecode is from input here. I removed the constructor to make this the runtime code of the system contract, not the initcode.

Ref paradigmxyz/reth#8786

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

crates/eips/src/eip7251.rs Outdated Show resolved Hide resolved
crates/eips/src/eip7251.rs Outdated Show resolved Hide resolved
onbjerg and others added 3 commits June 21, 2024 23:49
Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
@onbjerg onbjerg merged commit 5eadbf1 into main Jun 21, 2024
22 checks passed
@onbjerg onbjerg deleted the onbjerg/eip-7251 branch June 21, 2024 22:10
ben186 pushed a commit to ben186/alloy that referenced this pull request Jul 27, 2024
* feat: add eip-7251 system contract address/code

* chore: typo

Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>

* chore: nit

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>

* chore: fmt

---------

Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
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