-
Notifications
You must be signed in to change notification settings - Fork 391
Implement EIP-7904 #1677
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
LouisTsai-Csie
wants to merge
2
commits into
ethereum:forks/osaka
from
LouisTsai-Csie:forks/gas-repricing
Closed
Implement EIP-7904 #1677
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| """ | ||
| The Gas Repricing fork ([EIP-7607]) includes networking changes (peerDAS), increases | ||
| the gas cost while limiting the input size of the `MODEXP` precompile, limits | ||
| the maximum gas per transaction, raises the blob base fee to always be above | ||
| the execution cost, limits the RLP-encoded size of blocks, introduces a count | ||
| leading zeros (`CLZ`) instruction, and adds a new precompile supporting the | ||
| secp256r1 curve. | ||
|
|
||
| ### Notices | ||
|
|
||
| - [EIP-7935: Set default gas limit to XX0M][EIP-7935] | ||
|
|
||
| ### Changes | ||
|
|
||
| - [EIP-7594: PeerDAS - Peer Data Availability Sampling][EIP-7594] | ||
| - [EIP-7823: Set upper bounds for MODEXP][EIP-7823] | ||
| - [EIP-7825: Transaction Gas Limit Cap][EIP-7825] | ||
| - [EIP-7883: ModExp Gas Cost Increase][EIP-7883] | ||
| - [EIP-7918: Blob base fee bounded by execution cost][EIP-7918] | ||
| - [EIP-7934: RLP Execution Block Size Limit][EIP-7934] | ||
| - [EIP-7939: Count leading zeros (CLZ) opcode][EIP-7939] | ||
| - [EIP-7951: Precompile for secp256r1 Curve Support][EIP-7951] | ||
| - [EIP-7892: Blob Parameter Only Hardforks][EIP-7892] | ||
| - [EIP-7642: eth/69 - history expiry and simpler receipts][EIP-7642] | ||
| - [EIP-7910: eth_config JSON-RPC Method][EIP-7910] | ||
|
|
||
| ### Upgrade Schedule | ||
|
|
||
| | Network | Timestamp | Date & Time (UTC) | Fork Hash | Beacon Chain Epoch | | ||
| |---------|--------------|-------------------------|--------------| ------------------ | | ||
| | Holesky | ` ` | - - : : | `0x ` | | | ||
| | Sepolia | ` ` | - - : : | `0x ` | | | ||
| | Hoodi | ` ` | - - : : | `0x ` | | | ||
| | Mainnet | ` ` | - - : : | `0x ` | | | ||
|
|
||
| ### Releases | ||
|
|
||
| [EIP-7607]: https://eips.ethereum.org/EIPS/eip-7607 | ||
| [EIP-7594]: https://eips.ethereum.org/EIPS/eip-7594 | ||
| [EIP-7823]: https://eips.ethereum.org/EIPS/eip-7823 | ||
| [EIP-7825]: https://eips.ethereum.org/EIPS/eip-7825 | ||
| [EIP-7883]: https://eips.ethereum.org/EIPS/eip-7883 | ||
| [EIP-7918]: https://eips.ethereum.org/EIPS/eip-7918 | ||
| [EIP-7934]: https://eips.ethereum.org/EIPS/eip-7934 | ||
| [EIP-7935]: https://eips.ethereum.org/EIPS/eip-7935 | ||
| [EIP-7939]: https://eips.ethereum.org/EIPS/eip-7939 | ||
| [EIP-7951]: https://eips.ethereum.org/EIPS/eip-7951 | ||
| [EIP-7892]: https://eips.ethereum.org/EIPS/eip-7892 | ||
| [EIP-7642]: https://eips.ethereum.org/EIPS/eip-7642 | ||
| [EIP-7910]: https://eips.ethereum.org/EIPS/eip-7910 | ||
| """ # noqa: E501 | ||
|
|
||
| from ethereum.fork_criteria import Unscheduled | ||
|
|
||
| FORK_CRITERIA = Unscheduled() |
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could import the variable in EEST like this, and create a new function for opcode cost. With this, we have a fork dependent gas table