Skip to content

Conversation

@SozinM
Copy link
Contributor

@SozinM SozinM commented Feb 19, 2025

Closes #14553

Adds interop hardfork to all relevant places.
2 places commented out, because it needs changes in alloys and revm

2 places commented out, because need changes in alloys and revm
Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm,
the comments and todo! are helpful

@klkvr for vis

(OpHardfork::Granite.boxed(), genesis_info.granite_time),
(OpHardfork::Holocene.boxed(), genesis_info.holocene_time),
(OpHardfork::Isthmus.boxed(), genesis_info.isthmus_time),
// (OpHardfork::Interop.boxed(), genesis_info.interop_time),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this we need to add to the genesis info type

Comment on lines +20 to +22
// if chain_spec.is_interop_active_at_timestamp(timestamp) {
// OpSpecId::INTEROP
// } else
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

afaik there are no evm changes for interop?
possible that we don't need to roll a new spec but probably should anyway for consistency
FYI @klkvr

@SozinM
Copy link
Contributor Author

SozinM commented Feb 19, 2025

@mattsse thanks for the lightning speed!
will uncomment once PRs get merged

github-merge-queue bot pushed a commit to alloy-rs/op-alloy that referenced this pull request Feb 19, 2025
<!--
Thank you for your Pull Request. Please provide a description above and
review
the requirements below.

Bug fixes and new features should include tests.

Contributors guide:
https://github.com/alloy-rs/core/blob/main/CONTRIBUTING.md

The contributors guide includes instructions for running rustfmt and
building the
documentation.
-->

<!-- ** Please select "Allow edits from maintainers" in the PR Options
** -->

## Motivation

Closes #446 
For paradigmxyz/reth#14582


## PR Checklist

- [ ] Added Tests
- [ ] Added Documentation
- [ ] Breaking changes
Copy link
Collaborator

@emhane emhane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! next we need to open an issue in https://github.com/bluealloy/revm to add the OpSpecId::Interop as well

Holocene,
/// Isthmus: <https://github.com/ethereum-optimism/specs/blob/main/specs/protocol/isthmus/overview.md>
Isthmus,
/// Interop: <https://github.com/ethereum-optimism/specs/blob/main/specs/protocol/interop/overview.md>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

link is 404. better add a code comment // todo: add link to specs when available

@emhane emhane added this pull request to the merge queue Feb 19, 2025
@emhane emhane removed this pull request from the merge queue due to a manual request Feb 19, 2025
@SozinM
Copy link
Contributor Author

SozinM commented Feb 19, 2025

@emhane Thanks!
Created the issue and replaced url with a placeholder

@emhane emhane enabled auto-merge February 19, 2025 12:04
@emhane emhane added this pull request to the merge queue Feb 19, 2025
Merged via the queue into paradigmxyz:main with commit 1ae733a Feb 19, 2025
41 checks passed
@SozinM SozinM deleted the msozin/interop-hardfork branch February 19, 2025 13:00
docker-dragonmj9ol added a commit to docker-dragonmj9ol/op-alloy that referenced this pull request Nov 6, 2025
<!--
Thank you for your Pull Request. Please provide a description above and
review
the requirements below.

Bug fixes and new features should include tests.

Contributors guide:
https://github.com/alloy-rs/core/blob/main/CONTRIBUTING.md

The contributors guide includes instructions for running rustfmt and
building the
documentation.
-->

<!-- ** Please select "Allow edits from maintainers" in the PR Options
** -->

## Motivation

Closes alloy-rs/op-alloy#446 
For paradigmxyz/reth#14582


## PR Checklist

- [ ] Added Tests
- [ ] Added Documentation
- [ ] Breaking changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-op-reth Related to Optimism and op-reth

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add OpHardfork::Interop

3 participants