-
Notifications
You must be signed in to change notification settings - Fork 976
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
Migrate SqrtPriceMath tests from HardHat to Foundry #317
Migrate SqrtPriceMath tests from HardHat to Foundry #317
Commits on Jul 25, 2023
-
foundry-test: Refactor constants to a library.
The constants library will allow to directly access constants from multiple Foundry tests. Ref: Uniswap#315
Configuration menu - View commit details
-
Copy full SHA for 4ff1283 - Browse repository at this point
Copy the full SHA 4ff1283View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1cc5abd - Browse repository at this point
Copy the full SHA 1cc5abdView commit details -
Configuration menu - View commit details
-
Copy full SHA for d8678d3 - Browse repository at this point
Copy the full SHA d8678d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 488137a - Browse repository at this point
Copy the full SHA 488137aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 83e3f25 - Browse repository at this point
Copy the full SHA 83e3f25View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64e147c - Browse repository at this point
Copy the full SHA 64e147cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b44c34 - Browse repository at this point
Copy the full SHA 3b44c34View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e2eb6e - Browse repository at this point
Copy the full SHA 3e2eb6eView commit details
Commits on Jul 28, 2023
-
test: SqrtPriceMath: Use forge-gas-snapshot, delete expandTo18Decimal…
…s and JS references. Refactor after PR review findings.
Configuration menu - View commit details
-
Copy full SHA for eed97dd - Browse repository at this point
Copy the full SHA eed97ddView commit details
Commits on Jul 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7aa0ac5 - Browse repository at this point
Copy the full SHA 7aa0ac5View commit details
Commits on Jul 31, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d1d5b5e - Browse repository at this point
Copy the full SHA d1d5b5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a72796e - Browse repository at this point
Copy the full SHA a72796eView commit details -
test: Update correct SqrtPriceMath gas snapshot for
getNextSqrtPriceFromInput_zeroForOneEqualsFalseGas.
Configuration menu - View commit details
-
Copy full SHA for c56e765 - Browse repository at this point
Copy the full SHA c56e765View commit details -
test: SqrtPriceMath: Call library directly instead of test contract.
The test contract was a middle layer between library and was used by javascript / HardHat tests. Due to the middle layer using Foundry, gas cost usage was calculated incorrectly. Generate correct gas snapshots using direct library calls. Ref: Uniswap#315
Configuration menu - View commit details
-
Copy full SHA for 9ca00b0 - Browse repository at this point
Copy the full SHA 9ca00b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fd8a91 - Browse repository at this point
Copy the full SHA 3fd8a91View commit details