wormhole-foundation / wormhole-explorer

We could have named this super-parakeet. Tweet tweet.
Other
30 stars 29 forks source link

Add VAA enqueued status in vaas and/or transactions collections #737

Open SamantaCasal opened 1 year ago

SamantaCasal commented 1 year ago

Description:

As a user, I want to see if a VAA is enqueued when I access the endpoints api/v1/vaa?TxHash or api/v1/transactions/vaaId, so I can determine its status directly from these endpoints and show it in the wormholescan UI with On Hold status

Current behavior:

At present, the endpoint utilized for displaying transaction details lacks information about enqueued VAA. Consequently, some transactions that are actually in the governor queue are mistakenly shown as "complete."

Acceptance Criteria

When I make a request using any of the following endpoints:

I should be able to view information regarding whether the VAA is enqueued. If there's a status available, it should clearly indicate "On Hold" or another status predefined by the product area.

Evidence:

In wormholescan Image

Response governor endpoint about the same transaction: Image

Transaction endpoint response: HERE

Image

Vaas endpoints responses: SearchByVAAID

Image

SearchByTxHash

Image

walker-16 commented 1 year ago

we are going to handle this for the api v2