You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Glamsterdam readiness: ETH transfer logs (EIP-7708) and gas repricing #291
Glamsterdam is live on Sepolia (since 2026-10-06); the Hoodi activation was postponed and no mainnet date is set. It adds no new transaction type and no signing change, so the transaction type registry needs no update. The following changes do affect users of this library and should be handled before mainnet activation.
Every non-zero value transfer emits a log from 0xfffffffffffffffffffffffffffffffffffffffe with the same topics[0] as ERC-20 Transfer(address,address,uint256).
Ethers.get_logs/2 with an ERC-20 / ERC-777 Transfer filter and no :address will start returning native ETH transfers decoded as token transfers. Document this prominently on get_logs/2 and the event filter docs.
Consider a small helper (constant for the system address, or a predicate on Ethers.Event) to tell native transfer logs apart.
Check Ethers.CombinedEventFilter decoding against a receipt containing such a log.
The flat 21,000 intrinsic cost goes away (zero-value transfer to an existing account: 15,000; value transfer: 21,000; creating a new account adds 183,600 state gas), the calldata floor rises to 64 gas per byte, and access-list and state costs change.
The library hardcodes no intrinsic gas, so eth_estimateGas-based auto-fill keeps working. Verify the default 10% gas margin is still adequate under the new rules.
Audit tests, guides and doc examples for hardcoded gas: 21000 or similar assumptions.
#309 covers the EIP-7708 part (helpers to identify ETH transfer logs, plus warnings on Transfer event filters). It also audits the gas repricing (no hardcoded intrinsic gas; no test or doc assumption breaks; the 10% margin stays) and EIP-7954 (nothing enforces size limits).
Remaining before this issue can close:
Run the test suite against anvil --hardfork amsterdam (anvil 1.9.0 supports it as an opt-in; not run yet).
Activity
alisinabh commentedon Nov 15, 2026
#309 covers the EIP-7708 part (helpers to identify ETH transfer logs, plus warnings on
Transferevent filters). It also audits the gas repricing (no hardcoded intrinsic gas; no test or doc assumption breaks; the 10% margin stays) and EIP-7954 (nothing enforces size limits).Remaining before this issue can close:
anvil --hardfork amsterdam(anvil 1.9.0 supports it as an opt-in; not run yet).hardfork: [default, amsterdam]matrix entry to the canary workflow.github/workflows/latest-tools.yml, and move it to required CI once the mainnet fork is scheduled (YAML sketch in Document EIP-7708 ETH transfer logs and add helpers to identify them #309).