Skip to content

feat(dora): EIP-7708 ETH Transfer log display + EIP-7976 calldata floor badge#757

Open
qu0b wants to merge 2 commits into
glamsterdam-devnet-6from
qu0b/dora/glamsterdam-devnet-6-eip7708-7976
Open

feat(dora): EIP-7708 ETH Transfer log display + EIP-7976 calldata floor badge#757
qu0b wants to merge 2 commits into
glamsterdam-devnet-6from
qu0b/dora/glamsterdam-devnet-6-eip7708-7976

Conversation

@qu0b

@qu0b qu0b commented Jun 23, 2026

Copy link
Copy Markdown
Member

Summary

  • Decodes EIP-7708 ETH Transfer log parameters (from/to/value) in the transaction events tab
  • Adds a badge identifying the EIP-7708 ETH Transfer logger (SYSTEM_ADDRESS emitting logs on nonzero transfers)
  • Adds a calldata floor badge indicating when EIP-7976 floor cost exceeds the computed gas cost

Test plan

  • Send a nonzero ETH transfer on a glamsterdam-devnet-6 dora instance
  • Confirm the Transfer log appears decoded in the events tab with from/to/value
  • Confirm the EIP-7708 logger badge appears on transactions emitting Transfer logs

qu0b and others added 2 commits June 22, 2026 22:10
…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>
@qu0b

qu0b commented Jun 23, 2026

Copy link
Copy Markdown
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 decode

The Events tab shows Events (1) and decodes the Transfer log emitted by the system address 0xfffffffffffffffffffffffffffffffffffffffe:

EIP-7708 Transfer log decoded in Events tab

The event is decoded as EIP-7708 ETH Transfer with:

  • Yellow badge showing ETH Transfer (EIP-7708)
  • Green badge showing 0.001 ETH amount
  • Decoded From and To addresses

EIP-7976: Floor cost badge

The floor badge appears on transactions with calldata, showing the minimum gas required:

EIP-7976 floor badge

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.

1 participant