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

chore: release #1279

Merged
merged 2 commits into from
Sep 20, 2024
Merged

chore: release #1279

merged 2 commits into from
Sep 20, 2024

Conversation

0xAlec
Copy link
Contributor

@0xAlec 0xAlec commented Sep 19, 2024

What changed? Why?

Notes to reviewers

How has it been tested?

Copy link

vercel bot commented Sep 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
onchainkit-coverage ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 20, 2024 4:26pm
onchainkit-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 20, 2024 4:26pm
onchainkit-routes ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 20, 2024 4:26pm

Updated `LifecycleStatus` in `Swap` component for swaps from ERC-20 tokens.
Previously, there were 2 transactions when swapping from an ERC-20 token.
Now, there is an extra approval. (Approve ERC-20 against Permit2 -> Approve Uniswap to spend the approved ERC-20s on Permit2 -> Execute Swap Transaction)
If you're listening to the `LifecycleStatus` in `Swap`, please make sure your app accounts for the extra transaction.
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we provide some guidance on how to do so for apps in our docs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants