Skip to content

Commit

Permalink
disable implementation initialization
Browse files Browse the repository at this point in the history
Signed-off-by: bennett <[email protected]>
  • Loading branch information
bmzig committed Sep 23, 2024
1 parent f2e3c41 commit f251354
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions contracts/chain-adapters/ForwarderBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@ abstract contract ForwarderBase is UUPSUpgradeable, EIP712CrossChainUpgradeable
_;
}

/**
@notice Constructs the Forwarder contract.
@dev _disableInitializers() restricts anybody from initializing the implementation contract, which if not done,
* may disrupt the proxy if another EOA were to initialize it.
*/
constructor() {
_disableInitializers();
}

/**
* @notice Initializes the forwarder contract.
* @param _l3SpokePool L3 address of the contract which will receive messages and tokens which are temporarily
Expand Down

0 comments on commit f251354

Please sign in to comment.