Skip to content

Commit

Permalink
forge fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongeric committed Oct 16, 2024
1 parent e6e01eb commit 811ddfc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/base/BlockNumberish.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
4 changes: 3 additions & 1 deletion test/lib/NonLinearDutchDecayLib.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 811ddfc

Please sign in to comment.