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

Revert swap utils #152

Merged
merged 16 commits into from
Oct 23, 2024
Merged

Revert swap utils #152

merged 16 commits into from
Oct 23, 2024

Conversation

kinrezC
Copy link
Collaborator

@kinrezC kinrezC commented Oct 23, 2024

Closes #150

  • adds buyExpectRevert and sellExpectRevert

note: in cases where you expect the swap to fail you MUST use a negative amount for these functions. Otherwise, the quoter would revert with a different wrapped revert message.

@kinrezC kinrezC changed the base branch from main to fix/token0-false-tests October 23, 2024 16:26
@kinrezC kinrezC changed the base branch from fix/token0-false-tests to feat/not-token0-tests October 23, 2024 16:27
@kinrezC kinrezC requested a review from kadenzipfel October 23, 2024 16:28
Copy link
Collaborator

@kadenzipfel kadenzipfel left a comment

Choose a reason for hiding this comment

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

lgtm!

@kinrezC kinrezC changed the base branch from feat/not-token0-tests to feat/eth-support-2 October 23, 2024 19:35
* add eth workflow, fix 0 fee using_eth tests

* eth tests with fees
…pler-smart-contracts into feat/revert-swap-utils
@kinrezC kinrezC merged commit e88e188 into feat/eth-support-2 Oct 23, 2024
1 check passed
kinrezC added a commit that referenced this pull request Oct 23, 2024
* Revert swap utils (#152)

* Add USING_ETH workflow + fix eth test cases (#154)

---------

Co-authored-by: clemlak <[email protected]>
Co-authored-by: Clément Lakhal <[email protected]>
@clemlak clemlak deleted the feat/revert-swap-utils branch November 5, 2024 06:04
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.

2 participants