diff --git a/src/base/BlockNumberish.sol b/src/base/BlockNumberish.sol index 99c6fdba..6a6f9e70 100644 --- a/src/base/BlockNumberish.sol +++ b/src/base/BlockNumberish.sol @@ -12,7 +12,7 @@ contract BlockNumberish { uint256 private constant ARB_CHAIN_ID = 42161; address private constant ARB_SYS_ADDRESS = 0x0000000000000000000000000000000000000064; - + constructor() { // Set the function to use based on chainid if (block.chainid == ARB_CHAIN_ID) { diff --git a/test/lib/NonLinearDutchDecayLib.t.sol b/test/lib/NonLinearDutchDecayLib.t.sol index 0b20d75e..c8555ae9 100644 --- a/test/lib/NonLinearDutchDecayLib.t.sol +++ b/test/lib/NonLinearDutchDecayLib.t.sol @@ -672,7 +672,9 @@ contract NonlinearDutchDecayLibTest is Test, GasSnapshot, BlockNumberish { NonlinearDutchDecay memory curve = CurveBuilder.multiPointCurve(blocks, decayAmounts); vm.roll(currentBlock); - uint256 decayed = NonlinearDutchDecayLib.decay(curve, startAmount, decayStartBlock, _getBlockNumberish(), minAmount, maxAmount); + uint256 decayed = NonlinearDutchDecayLib.decay( + curve, startAmount, decayStartBlock, _getBlockNumberish(), minAmount, maxAmount + ); assertEq( decayed, Math.max(startAmount - decayAmountFuzz, minAmount),