Skip to content
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

The search for a VAA by txHash with parsedPayload=True returns multiple results instead of a single one. #210

Closed
SamantaCasal opened this issue Mar 24, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@SamantaCasal
Copy link
Collaborator

Endpoint: /api/v1/vaas/
Steps:

  1. Set the txHash value to 4d72d6d109ca9e124b3d2e96a9774ab3b9da75023d607811663c844af5a3a249.
  2. Set parsedPayload to TRUE.
  3. Execute the API call.
  4. Observe the result.

Obtained Result: Multiple VAAs are returned for a specific txHash when parsedPayload is set to TRUE.

Evidence: Click on the following link: (https://api.staging.wormscan.io/api/v1/vaas/?txHash=4d72d6d109ca9e124b3d2e96a9774ab3b9da75023d607811663c844af5a3a249&parsedPayload=true)

Expected Result: The API call should return only the VAA that corresponds to the specified txHash value.

@SamantaCasal SamantaCasal added the bug Something isn't working label Mar 24, 2023
@agodnic agodnic self-assigned this Mar 24, 2023
@agodnic agodnic closed this as completed Mar 27, 2023
agodnic added a commit that referenced this issue Mar 27, 2023
### Summary

Searching for VAAs with the `txHash` and the `parsedPayload` parameters simultaneously wasn't working correctly. This commit fixes the problem.

Tracking issue: #210
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants