Commit Graph

8 Commits

Author SHA1 Message Date
ftocal 1c075e3745
Add worker pool to process observations from gossip network (#909)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2023-12-18 10:41:07 -03:00
walker-16 75fffe3ef6
add warning alert and metrics to fly component (#576)
* Add unknown guardian set index alert

* Add prometheus metrics to check if exists observations without txhash

* Add max sequence cache error prometheus metrics
2023-07-25 15:39:27 -03:00
walker-16 737405054a
446 create prometheus metrics (#457)
* Add vaa metrics

* Add dummy metrics and observations metrics

* Add heartbeat, governorConfig, governorStatus metrics

* fix go.sum

* Add deploy en vars METRICS_ENABLED to fly component

Co-authored-by: ftocal <fert1335@gmail.com>

---------

Co-authored-by: Fernando Torres <fert1335@gmail.com>
2023-06-26 12:47:22 -03:00
ftocal 7fb3857a97
297 contract watchertx trackeranalyticfly change access to use iam role (#306)
* Use aws role to access sqs

Co-authored-by: walker-16 <agpazos85@gmail.com>

* Add ServiceAccount in deployment

Co-authored-by: walker-16 <agpazos85@gmail.com>

---------

Co-authored-by: walker-16 <agpazos85@gmail.com>
2023-05-10 15:49:40 -03:00
ftocal 7fba3537a1
Fix: fly memory leaks in sqs consumer (#126) 2023-02-02 14:51:33 -03:00
agodnic a6cb972eb1
[FLY] Improve VAA signature verification (#121)
### Summary

Before this PR, when validating a VAA, we were always using the latest guardian set index to verify the signatures.
With this PR, we're making the signature verification against `vaa.guardianSetIndex` instead.

Context: https://github.com/wormhole-foundation/wormhole-explorer/issues/104

### Testing plan
* Added unit test cases
* Also tested manually
2023-02-02 10:17:42 -03:00
walker-16 7255b214ca
18 fly api cache most recent data for most frequent queries (#51)
* Add use of sequence cache in API

* Add sequence cache in fly

* Deploy for API

* Improve use cache in API

* Remove sequence cache in fly for pythnet

Co-authored-by: Fernando Torres <fert1335@gmail.com>
2023-01-05 16:40:24 -03:00
ftocal d7e2cd55fe
Fly: Deduplicate & use persistent queue for incoming VAAs (#28)
* Deduplication of vaas messages
Use persistent queue for vaas messages (except for pyth)
Add local flag for local execution (use a memory queue)

* Improve names for consumers
Add deduplication in memory for all vaas messages and tests
Split incoming vaas (pyth and non pyth) into different channels and tests

* Check if queue message is expired

* Code review updates
2022-11-21 11:18:33 -03:00