Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Feb 3, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

rakita and others added 5 commits February 3, 2026 12:17
…ining balance (#3394)

* fix(journal): emit EIP-7708 log for selfdestructed accounts with remaining balance

Track self-destructed addresses in JournalInner and emit selfdestruct logs
for accounts that still have a non-zero balance at the end of a transaction.
This can happen when an account receives ETH after being self-destructed
in the same transaction.

Changes:
- Add `selfdestructed_addresses` vec to JournalInner
- Add `selfdestructed_i` checkpoint field for revert support
- Add `eip7708_emit_selfdestruct_remaining_balance_logs()` method
- Rename SELFDESTRUCT_TO_SELF_LOG_TOPIC to SELFDESTRUCT_LOG_TOPIC

* style: format code
)

Update execution-spec-tests devnet version from fusaka-devnet-5@v2.1.0
to bal@v5.1.0.
Add `tx_eip7702_auth_refund` parameter to `GasParams` to allow
configuring the gas refund amount for EIP-7702 authorizations
applied to existing accounts.

Previously this was hardcoded as:
  PER_EMPTY_ACCOUNT_COST - PER_AUTH_BASE_COST (25000 - 12500 = 12500)

Now it can be configured via `GasParams::override_gas()` for custom
hardforks or chain configurations that need different refund behavior.

Changes:
- Add `GasId::tx_eip7702_auth_refund()` identifier
- Add `GasParams::tx_eip7702_auth_refund()` getter method
- Set default value in PRAGUE fork specification
- Update `apply_auth_list` to accept refund as parameter
- Update `apply_eip7702_auth_list` to read from GasParams

Closes #3341
@pull pull bot locked and limited conversation to collaborators Feb 3, 2026
@pull pull bot added the ⤵️ pull label Feb 3, 2026
@pull pull bot merged commit 9a5c214 into ApeWorX:main Feb 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants