From 811ddfc3d9db51f8ecaf8c5137814e6f5f3ff306 Mon Sep 17 00:00:00 2001 From: Eric Zhong Date: Wed, 16 Oct 2024 10:21:40 -0400 Subject: [PATCH] forge fmt --- src/base/BlockNumberish.sol | 2 +- test/lib/NonLinearDutchDecayLib.t.sol | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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),