Skip to content

Commit ea7a1b6

Browse files
committed
✨ feat: 7702 OOG tests
1 parent 3178dfa commit ea7a1b6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/amsterdam/eip7928_block_level_access_lists/test_cases.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,5 @@
2424
| `test_bal_oog_delegatecall` | Ensure BAL handles OOG before `DELEGATECALL` execution correctly | Alice calls `DelegatorContract` that performs `DELEGATECALL` to `TargetContract` with insufficient gas for target loading | BAL **MUST** include `DelegatorContract` in `account_changes` but **MUST NOT** include `TargetContract` | 🟡 Planned |
2525
| `test_bal_oog_extcodecopy` | Ensure BAL handles OOG before `EXTCODECOPY` execution correctly | Alice calls `CodeReaderContract` that executes `EXTCODECOPY` from `TargetContract` with insufficient gas for cold code access | BAL **MUST** include `CodeReaderContract` in `account_changes` but **MUST NOT** include `TargetContract` | 🟡 Planned |
2626
| `test_bal_oog_selfdestruct` | Ensure BAL handles OOG before `SELFDESTRUCT` execution correctly | Alice calls `SelfDestructContract` that executes `SELFDESTRUCT` with Bob as beneficiary but insufficient gas for cold beneficiary access | BAL **MUST** include `SelfDestructContract` in `account_changes` (not destroyed) but **MUST NOT** include Bob's account | 🟡 Planned |
27+
| `test_bal_oog_7702_delegated_cold_cold` | Ensure BAL handles OOG during EIP-7702 delegated account loading when both accounts are cold | Alice calls cold delegated account Bob (7702) which delegates to cold `TargetContract` with insufficient gas for second cold load | BAL **MUST** include Bob in `account_changes` (first cold load succeeds) but **MUST NOT** include `TargetContract` (second cold load fails due to OOG) | 🟡 Planned |
28+
| `test_bal_oog_7702_delegated_warm_cold` | Ensure BAL handles OOG during EIP-7702 delegated account loading when first account is warm, second is cold | Alice calls warm delegated account Bob (7702) which delegates to cold `TargetContract` with insufficient gas for second cold load | BAL **MUST** include Bob in `account_changes` (warm load succeeds) but **MUST NOT** include `TargetContract` (cold load fails due to OOG) | 🟡 Planned |

0 commit comments

Comments
 (0)