Commit 2894be2e authored by Maurelian's avatar Maurelian

feat(ctb): Named return in systemconfig

parent 81eb94c8
...@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment