feat(dora): EIP-7708 ETH Transfer log display + EIP-7976 calldata floor badge#757
Open
qu0b wants to merge 2 commits into
Open
feat(dora): EIP-7708 ETH Transfer log display + EIP-7976 calldata floor badge#757qu0b wants to merge 2 commits into
qu0b wants to merge 2 commits into
Conversation
…oor badge
EIP-7708 (ETH Transfer logs):
- Label events from 0xfffffffffffffffffffffffffffffffffffffffe as
"ETH Transfer (EIP-7708)" in the events tab index column badge.
- Detection in buildEventsFromBlockdb: compares source address bytes
against the ETH Transfer logger address.
EIP-7976 (calldata floor cost):
- Pre-compute CalldataFloorGas = 21000 + 64 × len(calldata) in handler.
- Show "EIP-7976 floor: N gas" badge next to Gas Used in the tx overview
whenever the transaction has non-empty calldata.
- Tooltip explains the formula and the Amsterdam change.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
For logs emitted by the ETH Transfer logger (0xfff...ffe), decode the Transfer(address,address,uint256) parameters from topics and data: Topic1[12:32] = from address Topic2[12:32] = to address Data[0:32] = uint256 wei amount → formatted as "X.XX ETH" Display a highlighted summary box in the events tab showing the decoded from/to addresses (linked to /address/...) and the ETH amount. Also add a green ETH amount badge in the event index column. This makes it easy to see which addresses transferred ETH and how much, without decoding raw hex topics by hand. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Member
Author
glamsterdam-devnet-6 test: EIP-7708 Transfer log decode + EIP-7976 floor ✅Tested on glamsterdam-devnet-6 with ETH value transfer transactions. EIP-7708: ETH Transfer log decodeThe Events tab shows The event is decoded as EIP-7708 ETH Transfer with:
EIP-7976: Floor cost badgeThe floor badge appears on transactions with calldata, showing the minimum gas required: |
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