Conversation
Update decode_single/decode_pair to use branchless arithmetic per ethereum/EIPs#11306: modular add for single values, XOR for pairs. Extends EXCHANGE to support 2 additional swappable pairs (n up to 14).
Rename the EIP-7708 selfdestruct log event from `Selfdestruct(address,uint256)` to `Burn(address,uint256)` per EIP PR #11311. This updates the topic hash and makes the event name more generic for any future ETH burn mechanism.
Add spec-aware max_code_size (0x8000) and max_initcode_size (0x10000) defaults for AMSTERDAM+, falling back to EIP-170/EIP-3860 for earlier specs.
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.
Summary
Updates for Amsterdam devnet3 spec changes:
Selfdestructevent toBurn— updates the log topic hash tokeccak256("Burn(address,uint256)")and renames all related functions/variablesMAX_CODE_SIZEto 0x8000 (32KB) andMAX_INITCODE_SIZEto 0x10000 (64KB), replacing the previous EIP-7907 limitsTest plan
BURN_LOG_TOPIC