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 p2p incompatible forks for opbnb testnet and mainnet #17

Merged
merged 2 commits into from
May 24, 2024
Merged

Conversation

keefel
Copy link
Contributor

@keefel keefel commented May 24, 2024

opbnb introduced the Fermat hardfork during the hardfork setup. Unlike traditional hardforks, Fermat hardfork does not have Block or Time suffixes. While op-geth ignores this hardfork in its forkid calculation, reth includes it, causing mismatched forkids and connectivity issues during P2P connections.
image

To address this, a temporary solution has been implemented to adjust reth's forkid calculation logic by excluding the Fermat hardfork from the computation.

@keefel keefel merged commit b636310 into develop May 24, 2024
12 of 24 checks passed
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