Skip to content

Commit

Permalink
[PDE-457] make BoringVaultAdapter reinitialize to not asyncRedeem
Browse files Browse the repository at this point in the history
  • Loading branch information
eyqs committed Dec 28, 2024
1 parent e1c4bfc commit a0b97e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nest/src/token/BoringVaultAdapter.sol
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ abstract contract BoringVaultAdapter is
address accountant_,
string memory name,
string memory symbol
) public onlyRole(UPGRADER_ROLE) reinitializer(3) {
) public onlyRole(UPGRADER_ROLE) reinitializer(4) {
if (
owner == address(0) || address(asset_) == address(0) || vault_ == address(0) || teller_ == address(0)
|| atomicQueue_ == address(0) || lens_ == address(0) || accountant_ == address(0)
Expand All @@ -176,7 +176,7 @@ abstract contract BoringVaultAdapter is
}

// Set async redeem to true
super.reinitialize(owner, name, symbol, asset_, false, true);
super.reinitialize(owner, name, symbol, asset_, false, false);

BoringVaultAdapterStorage storage $ = _getBoringVaultAdapterStorage();
$.boringVault.teller = ITeller(teller_);
Expand Down

0 comments on commit a0b97e6

Please sign in to comment.