Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
snreynolds committed Nov 20, 2023
1 parent d7829b7 commit b95d877
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ runs = 100
seed = "0x4444"

[profile.ci.fuzz]
runs = 100
runs = 1000

[profile.ci]
fuzz_runs = 100000
Expand Down
2 changes: 1 addition & 1 deletion src/PoolManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ contract PoolManager is IPoolManager, Fees, NoDelegateCall, Claims {
return (slot0.sqrtPriceX96, slot0.tick, slot0.protocolFees, slot0.hookFees);
}

/// @inheritdoc IPoolManager
function getLiquidity(PoolId id) external view override returns (uint128 liquidity) {
return pools[id].liquidity;
}
Expand Down Expand Up @@ -174,7 +175,6 @@ contract PoolManager is IPoolManager, Fees, NoDelegateCall, Claims {
}

modifier onlyByLocker() {
// todo fix stack too deep :/
address locker = Lockers.getCurrentLocker();
if (msg.sender != locker) {
if (
Expand Down

0 comments on commit b95d877

Please sign in to comment.