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

Simulation may run for a permit pre-hook #5185

Closed
elena-zh opened this issue Dec 11, 2024 · 1 comment
Closed

Simulation may run for a permit pre-hook #5185

elena-zh opened this issue Dec 11, 2024 · 1 comment
Labels
Bug Something isn't working Hooks store

Comments

@elena-zh
Copy link

Reported and discussed in https://cowservices.slack.com/archives/C0361CDG8GP/p1733927021330169

  1. Go to Hooks
  2. add post or pre hook on base (I add this custom one Create a hook: target = '0xdef1ca1fb7fbcdc777520aa7f396b4e015f497ab', callData = '0x70a08231000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa96045', gasLimit = 21000)
  3. Go back to the limit orders-swap page
  4. refresh the page
  5. Specify an order with a permittable token
  6. Go to the Confirm modal --> you will see failed simulation result
    image
    image

ER: simulation should not run on Swap/Limit orders pages

@elena-zh elena-zh added Bug Something isn't working Hooks store labels Dec 11, 2024
@elena-zh
Copy link
Author

Closing the issue as hooks data has been removed from the confirm modal in #5256

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Hooks store
Projects
None yet
Development

No branches or pull requests

1 participant