Skip to content

Commit

Permalink
missing initializers
Browse files Browse the repository at this point in the history
  • Loading branch information
skosito committed Oct 11, 2024
1 parent 4e1eae7 commit 0638977
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions v2/contracts/evm/ZetaConnectorBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ abstract contract ZetaConnectorBase is
if (gateway_ == address(0) || zetaToken_ == address(0) || tssAddress_ == address(0) || admin_ == address(0)) {
revert ZeroAddress();
}

__UUPSUpgradeable_init();
__ReentrancyGuard_init();
__AccessControl_init();
__Pausable_init();

gateway = IGatewayEVM(gateway_);
zetaToken = zetaToken_;
tssAddress = tssAddress_;
Expand Down

0 comments on commit 0638977

Please sign in to comment.