pyth-network / pyth-crosschain

Crosschain Pyth programs and utilities
https://pyth.network
Other
144 stars 195 forks source link

fix: get finalized slots #2029

Closed guibescos closed 1 week ago

guibescos commented 1 week ago

This health check fails sometimes because the slot it queries hasn't become a block yet and has no timestamp. To fix this I will instead query a finalized slots which should always have a timestamp

vercel[bot] commented 1 week ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api-reference ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 10, 2024 7:40pm
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 10, 2024 7:40pm
1 Skipped Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **proposals** | ⬜️ Ignored ([Inspect](https://vercel.com/pyth-network/proposals/5XBJyEnJnczeUr1FnG2UgfFWMLw7)) | | | Oct 10, 2024 7:40pm |