Skip to content

Instantly share code, notes, and snippets.

@dubzn
Last active September 1, 2023 17:52
Show Gist options
  • Save dubzn/2527da5a84888a46e3eef7bee55f9c72 to your computer and use it in GitHub Desktop.
Save dubzn/2527da5a84888a46e3eef7bee55f9c72 to your computer and use it in GitHub Desktop.
Run core-v3 tests
Install Hardhat and run all tests:
npm add --save-dev hardhat
yarn install // Delete yarn.lock if an error occurs
yarn run test
For specific file:
yarn test ./test/SwapMath.spec.ts
sources:
- https://docs.uniswap.org/contracts/v3/guides/local-environment
- https://hardhat.org/tutorial/debugging-with-hardhat-network
issues:
- https://github.com/Uniswap/v3-core/issues/614
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment