-
Notifications
You must be signed in to change notification settings - Fork 599
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
Update twap response #2963
Update twap response #2963
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.
Oh i see the is_response_unstable
fields is for when the twap query fails.
Don't know how others feel about this, but my suggestion would be changing the field name from is_response_unstable
to success
need to change some logic but yess |
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.
Nice work @hieuvubk ! This LGTM!
This pull request has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. Thank you! |
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.
I believe the intent was to still provide the last known TWAP despite it erroring. If that is true, this LGTM!
@hieuvubk Can you look into proto gen ( if it's correctly updated) before we merge this? (Upon seeing check proto CI failing) |
I already ran both |
@hieuvubk interesting, can you try merging with current main on ur branch and then running it? |
f9d92d0
to
460f106
Compare
Still got the |
This pull request has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. Thank you! |
571b017
to
38d4c37
Compare
This pull request has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. Thank you! |
trying a quick |
hey @hieuvubk -- I suspect that you may have found a bug with this one. Like you, when I try it, I end up in the same spot that you did. |
This pull request has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. Thank you! |
Closes: #2622
What is the purpose of the change
Brief Changelog
(for example:)