Commit Graph

67 Commits

Author SHA1 Message Date
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
MTJMP ff4f7f4ee7 adjust module name to be canonical 2022-11-17 16:06:41 -05:00
walker-16 d4f43e37d6
Adds go rest api (#29)
* Adds api in go

* renames observation import in api

* Add signed_vaa endpoint [guardian api]

* Add governor endpoints to API

* fix devnet/api.yaml to up with a fixed port

Co-authored-by: Gabriel Zimmermann <gabrielemanuel@gmail.com>
2022-11-17 12:37:29 -03:00
Gabriel Zimmermann 3f09b66f59
10 - Adds multiple guardian set support (#24)
* Adds multiple guardian set support

* Add guardian set validation

* Removes unnecessary comment
2022-11-08 16:03:43 -03:00
ftocal e1e31548ff
Fly: handling for pyth message from pythnet (#23)
* Add support to pyth message without migration

* Refactor MongoDB migration

* Add vaa count collection for quantity of vaa per chainId

* Refactor for code review request

Co-authored-by: Agustin Pazos <agpazos85@gmail.com>
2022-11-08 14:58:22 -03:00
ckeun 5ccd3f9139
Fly: upgrade wormhole dependency & add governor p2p channels (#22)
* Testing new storage changes

* Fixed vaa module dependency

* Added govcfg & gov status upserts

* Update main.go

* Removed unnessarily hack arounds in go.mod
2022-11-08 08:53:12 -06:00
Gabriel Zimmermann 51892ec5b6 adds early exit if obs verification failed, styling fixes, early exit if db connection failed; changes based on code review 2022-11-07 15:18:52 -03:00
Gabriel Zimmermann c37b3c6564 remove invalid vaa storage 2022-11-07 15:18:52 -03:00
Gabriel Zimmermann 2860f34cff refactors storage into separate layer 2022-11-07 15:18:52 -03:00
Gabriel Zimmermann d8e037c03a Ups go version so we can use generics 2022-11-07 15:18:52 -03:00
Evan Gray edb69f13e2 server: add comments for guardian names 2022-09-28 16:47:14 -04:00
Christine Eun 839ff81210
fly: added hash to obs id 2022-09-20 00:20:01 +00:00
Evan Gray 780032747e fly: fix deadlock 2022-09-15 19:17:28 +00:00
Evan Gray 2799d0cb91 prep for frontend 2022-09-11 20:57:01 +00:00
Evan Gray 28055d4b74 add timestamps 2022-09-08 20:25:19 +00:00
Christine Eun a1ac89ac3c Added upserts. 2022-09-08 18:45:15 +00:00
Evan Gray e7852ca52b first commit 2022-09-07 18:43:05 +00:00