Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
78fed1ee
Unverified
Commit
78fed1ee
authored
Nov 16, 2024
by
Michael Amadi
Committed by
GitHub
Nov 16, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unnecessary check (#12914)
* remove unnecessary check * fixes
parent
8f0a9b2d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
9 deletions
+8
-9
semver-lock.json
packages/contracts-bedrock/snapshots/semver-lock.json
+4
-4
SystemConfig.sol
packages/contracts-bedrock/src/L1/SystemConfig.sol
+2
-3
SystemConfigInterop.sol
packages/contracts-bedrock/src/L1/SystemConfigInterop.sol
+2
-2
No files found.
packages/contracts-bedrock/snapshots/semver-lock.json
View file @
78fed1ee
...
@@ -44,12 +44,12 @@
...
@@ -44,12 +44,12 @@
"sourceCodeHash"
:
"0x39489a85bc3a5c8560f82d41b31bf7fe22f5b648f4ed538f61695a73092ea9eb"
"sourceCodeHash"
:
"0x39489a85bc3a5c8560f82d41b31bf7fe22f5b648f4ed538f61695a73092ea9eb"
},
},
"src/L1/SystemConfig.sol"
:
{
"src/L1/SystemConfig.sol"
:
{
"initCodeHash"
:
"0x
429058f75d97fa7a7d0166b59830909bc722324feefc40f2b41419d6335d3f37
"
,
"initCodeHash"
:
"0x
0eda38e2fb2687a324289f04ec8ad0d2afe51f45219d074740fb4a0e24ea6569
"
,
"sourceCodeHash"
:
"0x
5ca776041a4ddc0d28ec55db7012d669481cd4601b0e71dbd3493a67b8a7e5a5
"
"sourceCodeHash"
:
"0x
6dbbe8716ca8cd2fba3da8dcae0ca0c4b1f3e9dd04220fb24a15666b23300927
"
},
},
"src/L1/SystemConfigInterop.sol"
:
{
"src/L1/SystemConfigInterop.sol"
:
{
"initCodeHash"
:
"0x
277a61dcabed81a15739a8e9ed50615252bcc687cebea852e00191d0a1fbe11f
"
,
"initCodeHash"
:
"0x
443fd84f8dbc38f03e59a56b99099b5e4b28de3e860a5d16c1a21101745622a4
"
,
"sourceCodeHash"
:
"0x
38361a4f70a19e1b7819e933932a0c9fd2bcebaaebcbc7942f5c00dfaa2c28df
"
"sourceCodeHash"
:
"0x
5c2e00cd8939a538eb38580d76e70d27dd1e8e6cd9328e1978468981017736e6
"
},
},
"src/L2/BaseFeeVault.sol"
:
{
"src/L2/BaseFeeVault.sol"
:
{
"initCodeHash"
:
"0xbf49824cf37e201181484a8a423fcad8f504dc925921a2b28e83398197858dec"
,
"initCodeHash"
:
"0xbf49824cf37e201181484a8a423fcad8f504dc925921a2b28e83398197858dec"
,
...
...
packages/contracts-bedrock/src/L1/SystemConfig.sol
View file @
78fed1ee
...
@@ -137,9 +137,9 @@ contract SystemConfig is OwnableUpgradeable, ISemver, IGasToken {
...
@@ -137,9 +137,9 @@ contract SystemConfig is OwnableUpgradeable, ISemver, IGasToken {
event ConfigUpdate(uint256 indexed version, UpdateType indexed updateType, bytes data);
event ConfigUpdate(uint256 indexed version, UpdateType indexed updateType, bytes data);
/// @notice Semantic version.
/// @notice Semantic version.
/// @custom:semver 2.3.0-beta.
5
/// @custom:semver 2.3.0-beta.
6
function version() public pure virtual returns (string memory) {
function version() public pure virtual returns (string memory) {
return "2.3.0-beta.
5
";
return "2.3.0-beta.
6
";
}
}
/// @notice Constructs the SystemConfig contract. Cannot set
/// @notice Constructs the SystemConfig contract. Cannot set
...
@@ -224,7 +224,6 @@ contract SystemConfig is OwnableUpgradeable, ISemver, IGasToken {
...
@@ -224,7 +224,6 @@ contract SystemConfig is OwnableUpgradeable, ISemver, IGasToken {
_setGasPayingToken(_addresses.gasPayingToken);
_setGasPayingToken(_addresses.gasPayingToken);
_setResourceConfig(_config);
_setResourceConfig(_config);
require(_gasLimit >= minimumGasLimit(), "SystemConfig: gas limit too low");
}
}
/// @notice Returns the minimum L2 gas limit that can be safely set for the system to
/// @notice Returns the minimum L2 gas limit that can be safely set for the system to
...
...
packages/contracts-bedrock/src/L1/SystemConfigInterop.sol
View file @
78fed1ee
...
@@ -68,9 +68,9 @@ contract SystemConfigInterop is SystemConfig {
...
@@ -68,9 +68,9 @@ contract SystemConfigInterop is SystemConfig {
Storage.setAddress(DEPENDENCY_MANAGER_SLOT, _dependencyManager);
Storage.setAddress(DEPENDENCY_MANAGER_SLOT, _dependencyManager);
}
}
/// @custom:semver +interop-beta.
3
/// @custom:semver +interop-beta.
4
function version() public pure override returns (string memory) {
function version() public pure override returns (string memory) {
return string.concat(super.version(), "+interop-beta.
3
");
return string.concat(super.version(), "+interop-beta.
4
");
}
}
/// @notice Internal setter for the gas paying token address, includes validation.
/// @notice Internal setter for the gas paying token address, includes validation.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment