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
70f65058
Commit
70f65058
authored
Aug 08, 2023
by
Mark Tyneway
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lint: fix
parent
3ad60696
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
62 additions
and
60 deletions
+62
-60
.gas-snapshot
packages/contracts-bedrock/.gas-snapshot
+58
-57
semver-lock.json
packages/contracts-bedrock/semver-lock.json
+1
-1
SystemConfig.sol
packages/contracts-bedrock/src/L1/SystemConfig.sol
+2
-1
SystemConfig.t.sol
packages/contracts-bedrock/test/SystemConfig.t.sol
+1
-1
No files found.
packages/contracts-bedrock/.gas-snapshot
View file @
70f65058
This diff is collapsed.
Click to expand it.
packages/contracts-bedrock/semver-lock.json
View file @
70f65058
...
...
@@ -4,7 +4,7 @@
"src/L1/L1StandardBridge.sol"
:
"0xa35dc0ab143043063c3bff73c8b065e401c23296a2017258ce8a87f4a4da9416"
,
"src/L1/L2OutputOracle.sol"
:
"0x8f32ccb4c5cb63a459a0e79ee412177dc03fd279fdaaf1dac69e8c714902e857"
,
"src/L1/OptimismPortal.sol"
:
"0xeaa47a63e8a3bcfdb7dfd3e6c8608369e34e362d9de82f3acf13cbc27c070bf7"
,
"src/L1/SystemConfig.sol"
:
"0x
8e2b5103d2eb93b74af2e2f96a4505e637cdc3c44d80cf5ec2eca70060e1deff
"
,
"src/L1/SystemConfig.sol"
:
"0x
087e16affe6fd6b8a2ef61492cedb7e7f9c71fe6e9cce0e7b1082613262c78e7
"
,
"src/L2/BaseFeeVault.sol"
:
"0xa596e60762f16192cfa86459fcb9f4da9d8f756106eedac643a1ffeafbbfcc5f"
,
"src/L2/GasPriceOracle.sol"
:
"0xc735a8bf01ad8bca194345748537bfd9924909c0342bc133c4a31e2fb8cb9882"
,
"src/L2/L1Block.sol"
:
"0x7fbfc8b4da630386636c665570321fdec287b0867dbe0f91c2e7cd5b7697c220"
,
...
...
packages/contracts-bedrock/src/L1/SystemConfig.sol
View file @
70f65058
...
...
@@ -45,7 +45,8 @@ contract SystemConfig is OwnableUpgradeable, Semver {
bytes32 public constant UNSAFE_BLOCK_SIGNER_SLOT = keccak256("systemconfig.unsafeblocksigner");
/// @notice Storage slot that the L1CrossDomainMessenger address is stored at.
bytes32 public constant L1_CROSS_DOMAIN_MESSENGER_SLOT = keccak256("systemconfig.l1crossdomainmessenger");
bytes32 public constant L1_CROSS_DOMAIN_MESSENGER_SLOT =
keccak256("systemconfig.l1crossdomainmessenger");
/// @notice Storage slot that the L1ERC721Bridge address is stored at.
bytes32 public constant L1_ERC_721_BRIDGE_SLOT = keccak256("systemconfig.l1erc721bridge");
...
...
packages/contracts-bedrock/test/SystemConfig.t.sol
View file @
70f65058
...
...
@@ -69,7 +69,7 @@ contract SystemConfig_Init is CommonTest {
contract SystemConfig_Initialize_Test is SystemConfig_Init {
/// @dev Tests that initailization sets the correct values.
function test_initialize_values() external {
function test_initialize_values
_succeeds
() external {
assertEq(sysConf.l1CrossDomainMessenger(), l1CrossDomainMessenger);
assertEq(sysConf.l1ERC721Bridge(), l1ERC721Bridge);
assertEq(sysConf.l1StandardBridge(), l1StandardBridge);
...
...
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