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

(feat: hook-store): create bundle hooks tenderly simulation #4943

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

yvesfracari
Copy link
Contributor

Summary

Add bundle simulations on the hook store feature. This enhances the hooks simulations by considering all the previous hooks and the swap (in case of post hooks).

https://www.loom.com/share/37cf070b4f7b41f896966c469941c406?sid=c183f6f3-f611-4d2f-8d7d-0015bb8d374a

To Test

Since we still don't have a Tenderly account, it is expected to have to login on Tenderly to see the simulation links.

  1. Run the app locally and fill in the new .env file variables. To do that, you will need to have API keys for tenderly and gold rush API.

  2. Go to the hooks tab of the swap widget and add some hooks.

  • Should be able to see Tenderly links for failing transactions.
  • Should auto refresh simulations on hook addition and delete.
  • Check the simulation for different tokens to sell and buy. Some buy tokens can generate errors (we have to understand how complete the Gold Rush API is).
  • Should be able to create order even if hooks are falling.

Background

@alfetopito @shoom3301 In order to merge this PR we will have to add the .env keys. Let me know if you think that we should wait for the refactoring to the backend for the frontend repo.

Copy link

vercel bot commented Oct 3, 2024

@yvesfracari is attempting to deploy a commit to the cow Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant