Commit 2eeb5dd5 authored by Mark Tyneway's avatar Mark Tyneway

lint: fix

parent 2e3534ff
......@@ -83,9 +83,7 @@ contract L1StandardBridge is StandardBridge, Semver {
Semver(1, 2, 0)
StandardBridge(StandardBridge(payable(Predeploys.L2_STANDARD_BRIDGE)))
{
initialize({
_messenger: CrossDomainMessenger(address(0))
});
initialize({ _messenger: CrossDomainMessenger(address(0)) });
}
/// @notice Storage slot 0 holds a legacy value on upgraded networks. It is an empty
......@@ -102,10 +100,8 @@ contract L1StandardBridge is StandardBridge, Semver {
/// @notice Initializer
/// The fix modifier should be removed during the next contract upgrade.
function initialize(CrossDomainMessenger _messenger) public clearLegacySlot() reinitializer(2) {
__StandardBridge_init({
_messenger: _messenger
});
function initialize(CrossDomainMessenger _messenger) public clearLegacySlot reinitializer(2) {
__StandardBridge_init({ _messenger: _messenger });
}
/// @notice Allows EOAs to bridge ETH by sending directly to the bridge.
......
......@@ -54,10 +54,7 @@ contract L2StandardBridge is StandardBridge, Semver {
/// @custom:semver 1.2.0
/// @notice Constructs the L2StandardBridge contract.
/// @param _otherBridge Address of the L1StandardBridge.
constructor(StandardBridge _otherBridge)
Semver(1, 2, 0)
StandardBridge(_otherBridge)
{
constructor(StandardBridge _otherBridge) Semver(1, 2, 0) StandardBridge(_otherBridge) {
initialize();
}
......
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