feat(dora): calldata byte count (EIP-7976) + EIP-7954 initcode size badge#756
Open
qu0b wants to merge 2 commits into
Open
feat(dora): calldata byte count (EIP-7976) + EIP-7954 initcode size badge#756qu0b wants to merge 2 commits into
qu0b wants to merge 2 commits into
Conversation
…token cost visibility) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ions
In the transaction detail page, for CREATE transactions (TargetCallType == "deploy"),
show an EIP-7954 badge next to the "Contract Creation" badge when the initcode is
larger than the Prague limits:
> 49152 bytes (Prague MAX_INIT_CODE_SIZE): red "EIP-7954" badge
→ This deployment requires Amsterdam (EIP-7954 doubled init code limit to 131072)
> 24576 bytes (Prague MAX_CODE_SIZE): yellow "EIP-7954" badge
→ Initcode may deploy code exceeding Prague MAX_CODE_SIZE=24576
Tooltip text explains the Prague limit and the Amsterdam value. Both thresholds
come from EIP-7954 which raised MAX_CODE_SIZE 24576→65536 and MAX_INIT_CODE_SIZE
49152→131072.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Member
Author
glamsterdam-devnet-6 test: EIP-7976 calldata byte count + floor cost ✅Tested on glamsterdam-devnet-6 with a transaction containing 200 bytes of calldata. Calldata byte count badge shows EIP-7976 floor cost badge shows The orange box highlights the EIP-7976 floor badge. Note |
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
Test plan