Add EIP-7997 factory#170
Merged
Merged
Conversation
# Conflicts: # params/config.go
Replace the empty STUN endpoint test with a local UDP STUN server that returns a Binding Success response.
purplesmoke05
approved these changes
Jul 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
close #164
This pull request introduces support for the Amsterdam hard fork (EIP-7997) in the codebase. The main focus is on implementing the EIP-7997 deterministic deployment factory, ensuring it is correctly inserted into the state at the Amsterdam fork transition.
Support for the Amsterdam hard fork and EIP-7997:
AmsterdamBlockfield to theChainConfigstruct, updated string representations, fork ordering checks, compatibility checks, and chain rule logic to recognize the Amsterdam fork.ApplyEIP7997inconsensus/misc/eip7997.goto insert the deterministic deployment factory as specified by EIP-7997.core/chain_makers.go) and block processing (core/state_processor.go) to apply EIP-7997 at the Amsterdam transition block.core/eip7997_test.goto verify correct installation, code replacement, nonce preservation, factory deployment, and state transitions at the Amsterdam fork.Other improvements: