Update EIP-7907: Account for large contracts as tx entry point#9955
Merged
eth-bot merged 2 commits intoJul 3, 2025
Merged
Conversation
Collaborator
|
✅ All reviewers have approved. |
rakita
reviewed
Jun 30, 2025
| `COLD_ACCOUNT_ACCESS_COST` and `WARM_STORAGE_READ_COST` are defined in [EIP-2929](./eip-2929.md#parameters). | ||
|
|
||
| 3. Update the [EIP-3860](./eip-3860.md) contract initcode size limit of 48KB (`0xc000` bytes) to 512KB (`0x80000` bytes). | ||
| 4. If a large contract is the entry point of a transaction, the cost calculated in (2) is charged before the execution of any opcode and contract code becomes warm immediately. The execution can run out-of-gas at this point if not enough gas was provided with the transaction to pay for this extra cost. |
Contributor
There was a problem hiding this comment.
Would be good to specify what would happen with balance transfered (maybe reverted? Not sure what is best). And that this gas doesn't get included in initial gas fee.
rakita
approved these changes
Jul 2, 2025
rakita
left a comment
Contributor
There was a problem hiding this comment.
We should include this. Left nit on clarification around balance revert.
rakita
reviewed
Jul 2, 2025
Co-authored-by: rakita <rakita@users.noreply.github.com>
eth-bot
approved these changes
Jul 3, 2025
eth-bot
left a comment
Collaborator
There was a problem hiding this comment.
All Reviewers Have Approved; Performing Automatic Merge...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Clarify behavior when a large contract is the entry point of a transaction.