Skip to content

Conversation

@ali-behjati
Copy link
Collaborator

Prior to this PR, we cached the VAAs and skipped them based on the entire VAA hash; Also we have a metric for counting distinct received VAAs. However, it seems that a VAA can have different signature sets and that will results in different hashes.

This PR changes the hash to the hash of the VAA payload which is always unique.

@ali-behjati ali-behjati requested a review from jayantk December 9, 2022 10:24
@ali-behjati ali-behjati merged commit 6e279c8 into main Dec 9, 2022
@ali-behjati ali-behjati deleted the price-service/update-vaa-hash-for-cache-and-metric branch December 9, 2022 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants