From df1da4106f3c7b4e0509be8de004ec084f843002 Mon Sep 17 00:00:00 2001 From: Alex Towle Date: Thu, 22 Feb 2024 22:33:57 -0600 Subject: [PATCH] Fixed a bug where we incorrectly checked the `minimumTransactionAmount` --- .../deployers/erc4626/ERC4626HyperdriveDeployerCoordinator.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/src/deployers/erc4626/ERC4626HyperdriveDeployerCoordinator.sol b/contracts/src/deployers/erc4626/ERC4626HyperdriveDeployerCoordinator.sol index e06ac6b3e..d0499bb7a 100644 --- a/contracts/src/deployers/erc4626/ERC4626HyperdriveDeployerCoordinator.sol +++ b/contracts/src/deployers/erc4626/ERC4626HyperdriveDeployerCoordinator.sol @@ -65,7 +65,7 @@ contract ERC4626HyperdriveDeployerCoordinator is HyperdriveDeployerCoordinator { // NOTE: Some pools may require larger minimum transaction amounts to be // considered safe. This is just a sanity check. if ( - _deployConfig.minimumShareReserves < + _deployConfig.minimumTransactionAmount < 10 ** (_deployConfig.baseToken.decimals() - 4) ) { revert IHyperdriveDeployerCoordinator