forked from Aperture-Finance/Aperture-Lens
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Remove PancakeSwap dependencies and related code (#7)
* Remove PancakeSwap dependencies and related code Removed all references and dependencies on PancakeSwap from the project. This includes deleting PancakeSwap-specific import statements, contracts, and updating package.json and remappings.txt to exclude PancakeSwap modules. * Rename interfaces and update dependencies Renamed INonfungiblePositionManager to IUniswapV3NonfungiblePositionManager across multiple files for clarity. Updated package dependencies and fixed Prettier commands for TypeScript files. * Update RPC URL environment variable Replaced INFURA_API_KEY with MAINNET_RPC_URL for consistency and clarity. Updated the test setup to use the new MAINNET_RPC_URL for fetching the RPC URL from the environment variables. * Update gas snapshot values in tests Adjusted gas usage metrics in multiple test cases to reflect new performance measurements. These changes help ensure the accuracy and relevance of benchmarking data in our testing suite.
- Loading branch information
Showing
17 changed files
with
238 additions
and
506 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
PoolLensTest:testFuzz_GetPositions(int24,int24) (runs: 22, μ: 1364083, ~: 1404255) | ||
PoolLensTest:testFuzz_GetPositions(int24,int24) (runs: 16, μ: 1377904, ~: 1405347) | ||
PoolLensTest:test_GetPopulatedTicksInRange() (gas: 4544800) | ||
PoolLensTest:test_GetPositions() (gas: 1132120) | ||
PoolLensTest:test_GetPositions() (gas: 1131631) | ||
PoolLensTest:test_GetSlots() (gas: 3710586) | ||
PoolLensTest:test_GetTickBitmap() (gas: 3399608) | ||
PositionLensTest:testFuzz_GetPosition(uint256) (runs: 22, μ: 270296, ~: 272574) | ||
PositionLensTest:testFuzz_GetPosition(uint256) (runs: 16, μ: 269758, ~: 272641) | ||
PositionLensTest:test_AllPositions() (gas: 1140527) | ||
PositionLensTest:test_GetFeesOwed() (gas: 2444865) | ||
PositionLensTest:test_GetPositions() (gas: 940419) | ||
PositionLensTest:test_GetTotalAmounts() (gas: 2456617) | ||
StorageLensTest:testFuzz_extsload(bytes32) (runs: 22, μ: 33735, ~: 33755) | ||
PositionLensTest:test_GetTotalAmounts() (gas: 2456469) | ||
StorageLensTest:testFuzz_extsload(bytes32) (runs: 16, μ: 33692, ~: 33575) | ||
StorageLensTest:test_extsload() (gas: 66705) | ||
TickLensTest:test_GetPopulatedTicksInRange() (gas: 11486985) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
@aperture_finance/uni-v3-lib/=node_modules/@aperture_finance/uni-v3-lib/ | ||
@openzeppelin/=node_modules/@openzeppelin/ | ||
@pancakeswap/=node_modules/@pancakeswap/ | ||
@uniswap/=node_modules/@uniswap/ | ||
forge-std/=lib/forge-std/src/ | ||
solady/=node_modules/solady/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.