Skip to content

feat(dora): show EIP-2930 access list entries + EIP-7981 gas cost badge#753

Merged
qu0b merged 3 commits into
masterfrom
qu0b/dora/glamsterdam-devnet-6-access-list
Jun 24, 2026
Merged

feat(dora): show EIP-2930 access list entries + EIP-7981 gas cost badge#753
qu0b merged 3 commits into
masterfrom
qu0b/dora/glamsterdam-devnet-6-access-list

Conversation

@qu0b

@qu0b qu0b commented Jun 23, 2026

Copy link
Copy Markdown
Member

Summary

  • Shows EIP-2930 access list entries (address + storage keys) in the transaction detail page
  • Adds a gas cost badge reflecting the EIP-7981 repriced access list slot cost (2400 → 1900 gas per storage key)

Test plan

  • Open a type-1 transaction with access list entries on a glamsterdam-devnet-6 dora instance
  • Confirm entries render and gas badge shows correct cost

qu0b and others added 2 commits June 22, 2026 20:51
…EIP-7981)

Adds AccessListEntries and AccessListStorageKeys fields to TransactionPageData,
populates them from ethTx.AccessList() for type-1 transactions in both the DB
and EL code paths, and renders them in the Overview Details tab with address
links and per-entry storage key lists. The tooltip references the EIP-7981
repricing (1900 gas per storage key in Amsterdam).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
For EIP-2930 type-1 transactions, show an info badge displaying the
intrinsic gas cost of the access list under Amsterdam pricing (EIP-7981):

  "N gas" badge with tooltip:
    - Amsterdam gas: addr_count×2400 + key_count×1900
    - Prague comparison: addr_count×2400 + key_count×2400
    - Savings: key_count×500 gas

EIP-7981 reduced ACCESS_LIST_STORAGE_KEY_COST from 2400 to 1900 in Amsterdam.
Address cost remains 2400. The badge makes the repricing visible on every
access list transaction in dora.

New model fields: AccessListGasAmsterdam, AccessListGasPrague, AccessListGasSavings
Computed in loadAccessListData() alongside existing AccessListStorageKeys.

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-7981 access list gas cost ✅

Tested on glamsterdam-devnet-6 with a type 1 (EIP-2930) transaction containing 2 addresses and 2 storage keys.

The access list entry count badge correctly shows the EIP-7981 gas cost: 2 addresses × 2400 + 2 keys × 1900 = 8600 gas.

EIP-7981 access list gas cost badge

The orange box highlights the EIP-7981 gas cost badge next to the access list summary. The full access list is expanded below showing both addresses (0x01 with 2 storage keys, 0x02 with none).

Base automatically changed from glamsterdam-devnet-6 to master June 24, 2026 10:14
@qu0b qu0b enabled auto-merge June 24, 2026 11:11
@qu0b qu0b merged commit 6f80ccc into master Jun 24, 2026
5 checks passed
@qu0b qu0b deleted the qu0b/dora/glamsterdam-devnet-6-access-list branch June 24, 2026 11:12
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.

2 participants