Skip to content

Conversation

@anxolin
Copy link
Contributor

@anxolin anxolin commented Dec 5, 2025

Summary

🚨 do not merge this branch. Highly experimental, just to test backend staging is working. This PR revives #5075 one

🧪 Experiment to allow to select the same token for the sell and buy when we use hooks.
This allows to use CoW Swap as a gas network.

SWAP (and all other swap flows) remains the same.

image

However hooks flow, allow to select the same sell/buy token
image

WIP: quotes are broken, not only in the backend, also in the frontend.

Blocked

The backend sends still a 40X when the sell token and buy token matches
Screenshot at Nov 06 18-27-47

EDIT: 05/12/2025 Not blocked backend any more!

@vercel
Copy link

vercel bot commented Dec 5, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
cowfi Error Error Dec 5, 2025 7:15pm
explorer-dev Ready Ready Preview Dec 5, 2025 7:15pm
sdk-tools Error Error Dec 5, 2025 7:15pm
swap-dev Ready Ready Preview Dec 5, 2025 7:15pm
widget-configurator Error Error Dec 5, 2025 7:15pm
1 Skipped Deployment
Project Deployment Preview Updated (UTC)
cosmos Ignored Ignored Dec 5, 2025 7:15pm

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 5, 2025

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/allow-same-tokens-for-hooks

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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