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
2894be2e
Unverified
Commit
2894be2e
authored
Nov 16, 2023
by
Maurelian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(ctb): Named return in systemconfig
parent
81eb94c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
SystemConfig.sol
packages/contracts-bedrock/src/L1/SystemConfig.sol
+3
-5
No files found.
packages/contracts-bedrock/src/L1/SystemConfig.sol
View file @
2894be2e
...
@@ -136,15 +136,13 @@ contract SystemConfig is OwnableUpgradeable, ISemver {
...
@@ -136,15 +136,13 @@ contract SystemConfig is OwnableUpgradeable, ISemver {
/// @notice High level getter for the unsafe block signer address.
/// @notice High level getter for the unsafe block signer address.
/// Unsafe blocks can be propagated across the p2p network if they are signed by the
/// Unsafe blocks can be propagated across the p2p network if they are signed by the
/// key corresponding to this address.
/// key corresponding to this address.
/// @return Address of the unsafe block signer.
/// @return
unsafeBlockSigner_
Address of the unsafe block signer.
// solhint-disable-next-line ordering
// solhint-disable-next-line ordering
function unsafeBlockSigner() external view returns (address) {
function unsafeBlockSigner() external view returns (address unsafeBlockSigner_) {
address addr;
bytes32 slot = UNSAFE_BLOCK_SIGNER_SLOT;
bytes32 slot = UNSAFE_BLOCK_SIGNER_SLOT;
assembly {
assembly {
addr
:= sload(slot)
unsafeBlockSigner_
:= sload(slot)
}
}
return addr;
}
}
/// @notice Updates the unsafe block signer address.
/// @notice Updates the unsafe block signer address.
...
...
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