-
Notifications
You must be signed in to change notification settings - Fork 17
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
v1.0.0 deployed addresses #38
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, only a typo nit! 🛳️🛳️
I tried to test this and the WatchTower failed to index the order. @fleupold / @mfw78 i'd love to debug this tomorrow with you, right now I have a strong suspicion the init param of TWAP points to the old ComposableCoW and not the new one. However, for some reason I tried to read the value with Leaving the notes on my investigation. Created a new order, in Goerli using the new contract The conditional order CTX is Watchtower tried to index it:
However I noticed it fails in the TWAP verification, basically because This takes us to, the cabinet is returning 0! Confirmation in this Tenderly simulation: https://dashboard.tenderly.co/devcow/project/simulator/120bfe8b-4aeb-413a-ad20-dcff9f8554cf/debugger?trace=0.2.0 However, if i manually check the cabinet its value is correct! Whats the problem?We check the value of the cabinet in the wrong place! It checks in SuspicionTWAP checks the cabinet by using its hardcoded address to ComposableCoW composable-cow/src/types/twap/TWAP.sol Line 26 in 0e53f04
https://codesandbox.io/s/connect-metamask-forked-8fsjdv?file=/src/App.js So I assume... it points to the old one? Let me check the value!I tried to check the value of the value of the TWAP contract, but of course is PRIVATE var so Etherscan won't let me. I then tried to get it from the storage directly, but I get all zeros (🤔what am i missing??) |
NVM! the issue was in the Web. It was using the new ComposableCow with the old TWAP contract 🙈 It was the old TWAP old along. |
🎉