diff --git a/script/deploy/mainnet/v0.4.2-mainnet-pepe.s.sol b/script/deploy/mainnet/v0.4.2-mainnet-pepe.s.sol index 87d7aa2ca..65873b487 100644 --- a/script/deploy/mainnet/v0.4.2-mainnet-pepe.s.sol +++ b/script/deploy/mainnet/v0.4.2-mainnet-pepe.s.sol @@ -78,7 +78,7 @@ contract MainnetPEPEDeploy is ExistingDeploymentParser { vm.stopPrank(); } - function _testDeploy() internal { + function _testDeploy() internal view { require(eigenPodImplementation.activeValidatorCount() == 0, "unable to fetch activeValidatorCount"); } } diff --git a/src/test/unit/StrategyBaseUnit.t.sol b/src/test/unit/StrategyBaseUnit.t.sol index a8c8e47f0..15f4b637d 100644 --- a/src/test/unit/StrategyBaseUnit.t.sol +++ b/src/test/unit/StrategyBaseUnit.t.sol @@ -334,7 +334,7 @@ contract StrategyBaseUnitTests is Test { } // uint240 input to prevent overflow - function testIntegrityOfSharesToUnderlyingWithZeroTotalShares(uint240 amountSharesToQuery) public { + function testIntegrityOfSharesToUnderlyingWithZeroTotalShares(uint240 amountSharesToQuery) public view { uint256 underlyingFromShares = strategy.sharesToUnderlying(amountSharesToQuery); require(underlyingFromShares == amountSharesToQuery, "underlyingFromShares != amountSharesToQuery");