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

nit: move the max liquidity invariant to the pool since it's a pool p… #65

Merged
merged 29 commits into from
Apr 27, 2022

Conversation

moodysalem
Copy link
Contributor

@moodysalem moodysalem commented Apr 26, 2022

move the max liquidity invariant to the pool since it's a pool property and not a tick property

also fixes #66

@moodysalem moodysalem requested a review from hensha256 April 26, 2022 16:29
Base automatically changed from oracle-hook to main April 27, 2022 16:29
# Conflicts:
#	contracts/PoolManager.sol
#	contracts/hooks/GeomeanOracle.sol
#	contracts/libraries/Pool.sol
#	contracts/libraries/Tick.sol
#	contracts/test/TickOverflowSafetyEchidnaTest.sol
#	contracts/test/TickTest.sol
#	test/GeomeanOracle.spec.ts
#	test/Tick.spec.ts
#	test/__snapshots__/PoolManager.gas.spec.ts.snap
#	test/__snapshots__/PoolManager.spec.ts.snap
@moodysalem moodysalem merged commit 28d95ce into main Apr 27, 2022
@moodysalem moodysalem deleted the max-liquidity-to-pool branch April 27, 2022 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

simplify Tick#tickSpacingToMaxLiquidityPerTick
2 participants