diff --git a/.changeset/breezy-ads-bow.md b/.changeset/breezy-ads-bow.md new file mode 100644 index 000000000..571a9e83b --- /dev/null +++ b/.changeset/breezy-ads-bow.md @@ -0,0 +1,5 @@ +--- +"@exactly/protocol": patch +--- + +🔥 escrow: drop unchained initializers diff --git a/contracts/periphery/EscrowedEXA.sol b/contracts/periphery/EscrowedEXA.sol index df0d0f7f2..76897f581 100644 --- a/contracts/periphery/EscrowedEXA.sol +++ b/contracts/periphery/EscrowedEXA.sol @@ -42,9 +42,9 @@ contract EscrowedEXA is ERC20VotesUpgradeable, AccessControlUpgradeable { /// @dev can only be called once. function initialize(uint40 vestingPeriod_, uint256 reserveRatio_) external initializer { __ERC20_init("escrowed EXA", "esEXA"); - __ERC20Permit_init_unchained("escrowed EXA"); - __ERC20Votes_init_unchained(); - __AccessControl_init_unchained(); + __ERC20Permit_init("escrowed EXA"); + __ERC20Votes_init(); + __AccessControl_init(); _grantRole(DEFAULT_ADMIN_ROLE, msg.sender); /// @dev address(0) holds the TRANSFERRER_ROLE so the token can be minted or burnt.