Skip to content

Conversation

@ali-behjati
Copy link
Collaborator

In #422 I used the payload as the key for VAA hash and metric count. However, there might be possible cases that this metric is not unique. This PR changes that to the tuple of (emitter_chain_id, emitter_address, sequence) which is guaranteed to be unique per VAA.

@ali-behjati ali-behjati requested review from jayantk and thmzlt December 9, 2022 17:04
@ali-behjati ali-behjati merged commit 20abde0 into main Dec 9, 2022
@ali-behjati ali-behjati deleted the price-service/update-vaa-hash-for-cache-and-metric-2 branch December 9, 2022 17:19
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