Commit Graph

505 Commits

Author SHA1 Message Date
Ricardo Olarte 1ccaa98ca5
Feat/event watcher injective terra2 xpla support (#710)
* feat: add aptos support

* feat: add algorand support

* feat: add injective, terra2 and xpla support
2023-09-26 08:39:59 -05:00
ftocal 22c5f0ee22
Get token and app id from vaa payload parser to calculate price and volume measurement (#708) 2023-09-25 16:56:05 -03:00
walker-16 217c6f28be
Fix [api] get transactions by address and add mongo query monitor (#707)
Fix api endpoint get transactions by address, add mongo query monitor
2023-09-25 16:50:16 -03:00
Ricardo Olarte c0af7eac79
Feat/event watcher sui sei support (#706)
* feat: add aptos support

* feat: add algorand support

* feat: add sui and sei support
2023-09-25 14:20:31 -05:00
Ricardo Olarte 46cc06ec8c
Feat/event watcher solana aptos algorand support (#703)
* feat: add solana support

* feat: add aptos support

* feat: add algorand support
2023-09-25 08:09:31 -05:00
ftocal 420d342612
Use token id as unique key in cache for prices (#701)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2023-09-22 16:14:02 -03:00
walker-16 923ee8d337
Fix api governor max availibility by chain endpoint with enqueued VAA… (#700)
Fix api governor max availibility by chain endpoint with enqueued VAA data
2023-09-22 13:01:30 -03:00
ftocal f000470e5e
Minor fixes and change rate limit (#699)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2023-09-21 17:20:50 -03:00
Ricardo Olarte 3209658b1e
Event watcher deployment (EVM) (#696)
* wip

* fix: only ethereum chain

* feat: add better logger information and handle errors for SNS and DB

* feat: add grafull shutdown handle

* feat: add health check handle validation

* fix types

* feat: add vaa log support for injective chain

* feat: add vaa log support for near chain

* feat: add vaa log support for terra chain

* fix: remove logs colors

* fix: SNS object model

* feat: change console.log to json format

* feat: add chain list and rpc list into .env file

* fix: lastBlockbyChain model data

* fix: change files/collections names

* fix: test

* fix: mongodb WormholeTxs model and reestructure

* fix: jsondb WormholeTxs model and reestructure

* fix: remove lastBlocksByChain.json file

* add environment variables for ethereum

* fix: keep unsignedVaa as Buffer

* feat: add version in console.log

* fix: sns message model and type

* build: add new envs config

* fix: yaml

* fix: use base64 string

* fix: vaa version

* feat(evm): add testnet support

* build: add P2P_NETWORK variable

* build: add P2P_NETWORK variable to staging-mainnet, staging-testnet

---------

Co-authored-by: Fernando Torres <fert1335@gmail.com>
2023-09-21 07:21:05 -07:00
gipsh 7b88249933
Relays api endpoint (#689)
* add relay endpoint

* documentation

* simplify code

* fix comment
2023-09-13 10:23:10 -03:00
ftocal 5e3adeb4ad
Retrieve chain and sender of wormchain originated vaas (#678)
* Add additional information for osmosis transaction through wormchain

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

* Modify tx-tracker deployment

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

---------

Co-authored-by: walker-16 <agpazos85@gmail.com>
2023-09-04 15:17:23 -03:00
Ricardo Olarte a525a1f686
Build/setup config (#673)
* chore: add aws config as development

* chore: add docker config
2023-08-29 12:54:46 -05:00
Ricardo Olarte be1ded3cee
Feat/algorand aptos logs support (#665)
* feat: Add algorand vaa logs support

* feat: Add aptos vaa logs support

* fix: comments
2023-08-25 11:47:19 -05:00
ftocal 8b74d76f30
Update wormhole node dependency version in fly (#654)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2023-08-24 15:16:43 -03:00
Ricardo Olarte 2fdc26a19e
feat: Add cosmwasm/sei vaa logs support (#663) 2023-08-24 06:26:01 -07:00
Ricardo Olarte 8f050a5bc5
Feat/sui logs support (#657)
feat: Add sui vaa logs support
2023-08-23 10:42:52 -05:00
Ricardo Olarte 23d349c9b2
feat: Add solana vaa logs support (#656) 2023-08-23 10:18:33 -05:00
ftocal 503a9da5d3
UDP buffer configuration in fly (#660)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2023-08-23 10:19:16 -03:00
Ricardo Olarte bf02b2054b
Refactor/event watcher (#647)
* feat: add EVM event-watcher support with mongodb

* refactor: DB, Watcher, SNS Classes
2023-08-22 13:52:30 -05:00
gipsh 3fa1804c1a
add redis prefix to communication channel (#651) 2023-08-22 15:24:14 -03:00
gipsh 0741ef7045
update swagger doc to replace wormscan with wormholescan (#643) 2023-08-18 13:30:19 -03:00
agodnic 802fc00434
Add documentation for the `tx-tracker` service (#642)
### Description

This pull request adds a README.md file explaining how the `tx-tracker` service works.
2023-08-18 10:33:36 -03:00
Ricardo Olarte 64dc83e079
feat: add EVM event-watcher support with mongodb / sns (#638)
* feat: add EVM event-watcher support with mongodb

* fix commons

* fix: PR comments

* feat: add SNS Client support

* fix: remove bigtable database support

---------

Co-authored-by: gipsh <gipshm@gmail.com>
2023-08-18 07:47:11 -05:00
ftocal 47b27ec13a
Increase internal queue size in fly component (#639)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2023-08-15 16:00:58 -03:00
ftocal 74c6f51167
Use rpc standard for polygon (#630) 2023-08-11 15:10:26 -03:00
gipsh 4c037b8338
add mongo db mock and infra (#633) 2023-08-11 12:28:54 -05:00
Ricardo Olarte 17a8537d30
fix(.gitignore): ignore files from event-watcher (#628) 2023-08-11 09:12:06 -05:00
gipsh 01d935a17c
base code for event-watcher (#625)
* first commit event-watcher in ts

* add docker
2023-08-11 10:15:55 -03:00
walker-16 7426612aff
Fix BASE, OPTIMISM, ARBITRIUM (#624)
* Fix BASE, OPTIMISM, ARBITRIUM
Co-authored-by: ftocal <fert1335@gmail.com>

* Add base url in secrets.

---------

Co-authored-by: Fernando Torres <fert1335@gmail.com>
2023-08-10 17:11:31 -03:00
walker-16 160f80018f
Use rpc standard for avalanche (#622) 2023-08-10 15:51:12 -03:00
ftocal ab964a138c
Use rpc standard for ethereum (#621)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2023-08-10 12:12:16 -03:00
agodnic a01304e324
Add `Base` support to the contract-watcher service (#617)
### Description

This pull request adds support for the `Base` blockchain in the `contract-watcher` service.

Tracking issue: https://github.com/wormhole-foundation/wormhole-explorer/issues/605
2023-08-10 11:41:52 -03:00
agodnic 2de5b9e970
Update token database (#620)
### Summary

Update definitions in the token dictionary.
2023-08-10 11:18:58 -03:00
walker-16 87fd9d15ef
Create an api endpoint to call vaa payload parser component (#596)
* move vaa payload parser to common

* Add proxy endpoint to vaa payload parser

* Modify api deployment

* fix docs

* Fix swagger documentation
2023-08-10 11:02:14 -03:00
ftocal 0d2b5bdfd7
Add index to parsedVaa collection (#616)
* Improve log to get latency for all endpoints except ready and health

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

* Add index to parsedVaa collection

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

---------

Co-authored-by: walker-16 <agpazos85@gmail.com>
2023-08-09 11:55:51 -03:00
gipsh 88d6f64bf4
Update issue templates (#607) 2023-08-09 09:58:09 -03:00
ftocal 2f82891944
Add base url to tx-tracker-backfiller (#610) 2023-08-08 11:49:31 -03:00
ftocal be7e6670b0
Add alert for guardain no activity (#609)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2023-08-08 11:11:35 -03:00
agodnic 3c7bab3f8a
Remove duplicated code: MongoDB connection handling (#590)
### Description

This pull request removes duplicated code related to MongoDB connection/disconnection attempts. This code was copied across all 8 microservices.

The functionality is now unified under the `common/dbutil` package.
2023-08-07 16:05:08 -03:00
agodnic 0f1797e44a
[API] Add `toChain` filter to `GET /api/v1/vaas/{emitterChain}/{emitterAddr}` (#598)
### Description

This pull request adds the parameter `toChain` to the endpoint `GET /api/v1/vaas/{emitterChain}/{emitterAddress}`.

Other VAA-related endpoints do not support this parameter.

Additionally, for performance reasons, a composite index must be created in MongoDB: `db.parsedVaa.createIndex({"emitterChain": -1, "emitterAddr": -1, "rawStandardizedProperties.toChain": -1, "indexedAt": -1})`
2023-08-01 16:38:34 -03:00
ftocal 008f7aab88
Add production testnet deployment (#593)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2023-07-31 10:17:30 -03:00
agodnic d267d3ae1f
Transaction search by address: fix case sensitivity (#591)
### Description

Tracking issue: https://github.com/wormhole-foundation/wormhole-explorer/issues/587

The endpoint `GET /api/v1/transactions?address={addr}` was incorrectly handling EVM addresses containing uppercase characters. This pull request fixes the issue.
2023-07-28 12:27:48 -03:00
agodnic afbfac05bd
Refactor: disable fiber message on API startup (#594)
Disable fiber startup message on API
2023-07-28 12:27:09 -03:00
agodnic 632053a4ac
Add tbtc support to the `contract-watcher` service (#584)
### Description

Tracking issue: https://github.com/wormhole-foundation/wormhole-explorer/issues/300.

This pull request modifies the `contract-watcher` service to monitor the tBTC contracts on Polygon, Optimism, and Arbitrum.
2023-07-26 16:26: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
ftocal 13819e2d7d
Add backfiller for analytics from mongodb (#562) 2023-07-25 15:36:05 -03:00
ftocal 8fc89e35b2
Adjust channel size for vaas in fly (#582)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2023-07-25 14:32:59 -03:00
ftocal 06ddbd4332
Adjust memory resources in k8s for pipeline (#580)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2023-07-24 16:45:48 -03:00
ftocal 9b67c75f07
Update tx-tracker deployment settings (#581) 2023-07-24 16:45:36 -03:00
ftocal 94307b849a
[fly] Missing observations (#570)
Add environment variables for buffer channels (observations y vaas)
Increment size of buffer channels for observations and vaas
Align k8s resources in fly

Co-authored-by: walker-16 <agpazos85@gmail.com>
2023-07-24 11:24:39 -03:00