Commit Graph

591 Commits

Author SHA1 Message Date
walker-16 bf8319bf10
Modify vaa count endpoint to use capped collection (#35) 2022-11-23 10:15:16 -03:00
walker-16 8ed4804d63
Feature/refactor api (#34)
* Refactor error handling and comments

* Refactor and improve error handling and logs
2022-11-23 09:06:29 -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
ckeun e7c81723ca
Web: fix vaa parsing (#31)
* web: fix broken response objects & update parseVaa method

* Removed _parseVAAAlgorand

* onchain-data: replaced serum rpc and added more try/catch in case of failure

* update axios

* web: set proxy and fixed unique key in TokenDetails.tsx

Co-authored-by: Evan Gray <battledingo@gmail.com>
2022-11-17 17:30:11 -06: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
ckeun b4e5db80d8
web: fixed vaa timestamp col (#26)
* web: fixed vaa timestamp col

* Server: replaced createdAt with IndexedAt
2022-11-10 07:46:02 -06: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
ckeun e141732514
Added Near, Aptos, Algorand to Custody (#21) 2022-11-07 09:49:49 -06:00
ckeun 57b478cf66
Added docker container for onchain data (#7) 2022-10-28 15:44:10 -05:00
ckeun cc01fb6456
Added onchain_data/custody support (#5)
* Added oncahin_data/custody support

* Delete erc20.json

duplicate/unnecessary file

* Delete allowList.json

duplicate file

* Update getCoinGeckoPrices.ts
2022-10-28 10:24:25 -05:00
Evan Gray a8b44bdbfc
Update README.md 2022-10-05 03:08:42 -04:00
Evan Gray 9bcf8f0283 server: vaa counts 2022-09-29 13:41:20 +00:00
Evan Gray 559f873c25 web: VAAs per chain 2022-09-28 20:55:04 -04:00
Evan Gray f4a91a3dda server: vaas-sans-pythnet 2022-09-28 23:44:07 +00:00
Evan Gray c86a917d4d web: add guardians page 2022-09-28 16:47:14 -04:00
Evan Gray 73a8df35e4 web: add governance page 2022-09-28 16:47:14 -04:00
Evan Gray fb5d120a08 web: fix warnings 2022-09-28 16:47:14 -04:00
Evan Gray 563e020921 web: move build to dockerfile to prevent downtime 2022-09-28 16:47:14 -04:00
Evan Gray 42f7cd7719 web: styling and icons WIP 2022-09-28 16:47:14 -04:00
Evan Gray 89a159c683 web: update icon 2022-09-28 16:47:14 -04:00
Evan Gray f211bd83be db: use persistent volume 2022-09-28 16:47:14 -04:00
Evan Gray 8f2abf8eb1 web: add to tilt 2022-09-28 16:47:14 -04:00
Evan Gray edb69f13e2 server: add comments for guardian names 2022-09-28 16:47:14 -04:00
Evan Gray f3cd530e25 db: persist data 2022-09-28 16:47:14 -04:00
Evan Gray cb7b6b4a00 web: initial commit 2022-09-28 16:47:14 -04:00
Christine Eun a7e406fd17 server: fixed findOne for obs 2022-09-25 22:24:58 +00: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 461b162b9f more endpoints 2022-09-15 05:25:02 +00:00
Evan Gray 2799d0cb91 prep for frontend 2022-09-11 20:57:01 +00:00
Evan Gray fc6eb4f599 create server 2022-09-08 20:39:12 +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