Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

Get VAA endpoint does not validate the recency of the price #59

Open
ali-bahjati opened this issue Oct 12, 2022 · 0 comments
Open

Get VAA endpoint does not validate the recency of the price #59

ali-bahjati opened this issue Oct 12, 2022 · 0 comments

Comments

@ali-bahjati
Copy link
Contributor

There might be some use cases that the caller of getPriceFeedUpdateData (or similar methods on client packages) is not sure that the VAA is recent enough and it might yield to a transaction rejection (either in simulation or on-chain). It is better to add an endpoint or handle this in a better way.

Reported by: @guibescos

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant