-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2fa3110
commit 3d26cfd
Showing
3 changed files
with
29 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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 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
24 changes: 24 additions & 0 deletions
24
mainnet/2024-11-18-increase-max-gas-limit/patch/max-gas-limit.patch
This file contains 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,24 @@ | ||
diff --git a/packages/contracts-bedrock/src/L1/SystemConfig.sol b/packages/contracts-bedrock/src/L1/SystemConfig.sol | ||
index 67a8353ae..ae72faf92 100644 | ||
--- a/packages/contracts-bedrock/src/L1/SystemConfig.sol | ||
+++ b/packages/contracts-bedrock/src/L1/SystemConfig.sol | ||
@@ -87,7 +87,7 @@ contract SystemConfig is OwnableUpgradeable, ISemver, IGasToken { | ||
/// @notice The maximum gas limit that can be set for L2 blocks. This limit is used to enforce that the blocks | ||
/// on L2 are not too large to process and prove. Over time, this value can be increased as various | ||
/// optimizations and improvements are made to the system at large. | ||
- uint64 internal constant MAX_GAS_LIMIT = 200_000_000; | ||
+ uint64 internal constant MAX_GAS_LIMIT = 400_000_000; | ||
|
||
/// @notice Fixed L2 gas overhead. Used as part of the L2 fee calculation. | ||
uint256 public overhead; | ||
@@ -115,8 +115,8 @@ contract SystemConfig is OwnableUpgradeable, ISemver, IGasToken { | ||
event ConfigUpdate(uint256 indexed version, UpdateType indexed updateType, bytes data); | ||
|
||
/// @notice Semantic version. | ||
- /// @custom:semver 2.2.0 | ||
- string public constant version = "2.2.0"; | ||
+ /// @custom:semver 2.2.0+max-gas-limit-400M | ||
+ string public constant version = "2.2.0+max-gas-limit-400M"; | ||
|
||
/// @notice Constructs the SystemConfig contract. Cannot set | ||
/// the owner to `address(0)` due to the Ownable contract's |