Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: Make and use a common SWAP_PARAMS in Deployers.sol #678

Merged
merged 1 commit into from
May 21, 2024

Conversation

prosperring
Copy link
Contributor

Partially resolves Issue #390

Related Issue

Which issue does this pull request resolve?

Partially #390

Description of changes

Add SWAP_PARAMS to Deployers.sol and deprecate repeated IPoolManager.SwapParams({zeroForOne: true, amountSpecified: -100, sqrtPriceLimitX96: SQRT_RATIO_1_2})

@prosperring prosperring force-pushed the test-suite-improvements branch from 6719e56 to 918aa0e Compare May 20, 2024 06:07
24984
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please can you run tests with forge test --isolate not forge test and push the snapshots

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done..

@prosperring prosperring force-pushed the test-suite-improvements branch from 918aa0e to 6580bad Compare May 20, 2024 20:09
@hensha256 hensha256 merged commit 2b87b1e into Uniswap:main May 21, 2024
5 of 6 checks passed
@prosperring prosperring deleted the test-suite-improvements branch May 22, 2024 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants