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

chore: rm optimism feature from reth-provider #14035

Merged
merged 4 commits into from
Jan 28, 2025
Merged

Conversation

mattsse
Copy link
Collaborator

@mattsse mattsse commented Jan 28, 2025

we only have this for the op mainnet consistency check

we have this somewhere else as well:

if self.chain_spec().is_optimism() &&
!self.is_dev() &&
self.chain_id() == Chain::optimism_mainnet()
{

which doesn't need features because the chainspec has an is_optimism fn

this removes the feature and changes the ovm block lookup slightly

@mattsse mattsse added C-debt A clean up/refactor of existing code A-op-reth Related to Optimism and op-reth labels Jan 28, 2025
@mattsse mattsse requested a review from joshieDo January 28, 2025 13:09
@mattsse mattsse enabled auto-merge January 28, 2025 13:12
@mattsse mattsse added this pull request to the merge queue Jan 28, 2025
Merged via the queue into main with commit 5cf0276 Jan 28, 2025
44 checks passed
@mattsse mattsse deleted the matt/rm-op-feature branch January 28, 2025 13:55
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 C-debt A clean up/refactor of existing code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants