-
Notifications
You must be signed in to change notification settings - Fork 374
Open
Labels
A-test-testsArea: tests for execution spec testsArea: tests for execution spec testsC-enhanceCategory: an improvement or new featureCategory: an improvement or new feature
Milestone
Description
Extra Test Cases EIP-7825
Transaction Gas Limit Cap
Subcall Scenario
- Test CALL, DELEGATECALL, STATICCALL, CALLCODE with
gas_limit = min(remaining_gas, gas_value) - Test CALL with
16,777,217 + 1gas and varying parameters (addr, etc.) - Test subcall behavior with large gas values
Gas limit edge cases
- Test intrinsic gas limit >
16,777,217 - Test data floor ≥
16,777,217 - Test tx with
gas_limit = 16,777,217but intrinsic gas >16,777,217(due to data, access list, or auth list) - Test contract creation tx with
gas_limit = 16,777,217and >16,777,217 - Test 1 or more blob transactions with
gas_limit = 16,777,217 - Test access list size > 16M
- Test auth list size > 16M
- Test transaction data size > 16M
Invalid and special values
- Test invalid
gas_limitvalue in header - Test multiple
16,777,217gas limit txs exceeding block gas limit - Test off-by-one values:
-
16,777,217 -
16,777,216 -
16,777,215
-
- Test system-level transaction with exactly 30M gas
EIP-7825 specific scenarios
- Test tx types affected by EIP-7825 with large gas values
- Test refund behavior with high gas values
- Test execution with
Run with executefor edge gas values
Fork Transition
- Test transactions accepted before fork activation
- Test transactions rejected before fork
- Test transactions accepted after fork activation (at cap)
- Test transactions rejected after fork activation (above cap)
- Test boundary behavior at exact fork transition timestamp
Metadata
Metadata
Assignees
Labels
A-test-testsArea: tests for execution spec testsArea: tests for execution spec testsC-enhanceCategory: an improvement or new featureCategory: an improvement or new feature