Skip to content

Commit

Permalink
lint: fix issues
Browse files Browse the repository at this point in the history
  • Loading branch information
xenide committed Jan 22, 2024
1 parent 4b1bfcf commit 4f1fe0f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ V1.0
Are you interested in helping us build the future of Reservoir?
Contribute in these ways:

- For SECURITY related or sensitive bugs, please get in touch with the team at [email protected] or on discord instead of opening an issue on github.
- For SECURITY related or sensitive bugs, please get in touch with the team
at [email protected] or on discord instead of opening an issue on github.

- If you find bugs or code errors, you can open a new
[issue ticket here.](https://github.com/reservoir-labs/amm-core/issues/new)
Expand Down
1 change: 1 addition & 0 deletions test/__fixtures/BaseTest.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import { ConstantProductPair } from "src/curve/constant-product/ConstantProductP
import { StablePair, AmplificationData } from "src/curve/stable/StablePair.sol";
import { StableMintBurn } from "src/curve/stable/StableMintBurn.sol";

// solhint-disable-next-line max-states-count
abstract contract BaseTest is Test {
using FactoryStoreLib for GenericFactory;

Expand Down
1 change: 1 addition & 0 deletions test/unit/gas/ConstantProductPair.gas.sol
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ contract ConstantProductPairGas is BaseTest {
_oraclePair.burn(address(this));

// This pair will let a user swap without writing the oracle.
// solhint-disable-next-line reentrancy
_simplePair = ConstantProductPair(_factory.createPair(IERC20(address(_tokenA)), IERC20(address(_tokenC)), 0));
_tokenA.mint(address(_simplePair), 100e18);
_tokenC.mint(address(_simplePair), 100e18);
Expand Down

0 comments on commit 4f1fe0f

Please sign in to comment.