Commit Graph

118 Commits

Author SHA1 Message Date
matias martinez 33cd9ac631 add solana env var 2023-11-23 12:06:45 -03:00
matias martinez e3a59ffc69 minor changes - using confirmed for solana log extraction 2023-11-22 16:09:58 -03:00
matias martinez a8ce767d98 adding solana worker 2023-11-22 10:27:41 -03:00
matias martinez 9b57b17be7 changing deployment strategy to jobs per pod 2023-11-15 12:53:05 -03:00
matias martinez 27f391d80b send hexa block number 2023-11-13 17:10:04 -03:00
matias martinez 4c5999a893 staging mainnet config 2023-11-13 14:56:00 -03:00
matias martinez f74aea084d adding basic metrics 2023-11-13 11:15:11 -03:00
Matías Martínez 00e5d6a6a2
Blockchain Watcher: ethereum -> sns implementation (#790)
* evm block repo implementation

* adding sns publisher

* adding external config and initial runner

* fix: start from latest if no fromBlock configured

* feat: add dryRun option

* fix: handler filtering and eth_getLogs filter payload

* local e2e

* actual sns arns for testnet

* smaller docker image

* deployment changes
2023-11-10 09:28:37 -03:00
ftocal 91bf42971b
Use Redis channel in spy and fly (#753) 2023-10-18 11:18:32 -03:00
Ricardo Olarte a9eb456031
feat(733): add rate-limit for EVMs chains (#738) 2023-10-11 15:38:06 -05:00
gipsh f5bfcaaf94
event-watcher update memory limits for mainnet (#732)
update memory limites for mainnet
2023-10-06 11:57:37 -03:00
Ricardo Olarte 596cd499ef
build: add mainnet rpc variables (#715) 2023-09-26 18:23:07 -05:00
ftocal 92479661da
Minor fixes in event-watcher for testnet deployment (#712) 2023-09-26 11:14:57 -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
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
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
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
ftocal 503a9da5d3
UDP buffer configuration in fly (#660)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2023-08-23 10:19:16 -03: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
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
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
ftocal 2f82891944
Add base url to tx-tracker-backfiller (#610) 2023-08-08 11:49:31 -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 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
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
ftocal 1d512dba7b
Add requests per second configuration in environment variables for contract-watcher (#554)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2023-07-24 10:45:19 -03:00
agodnic d8bb9c46f6
`tx-tracker`: add support for the "Base" blockchain (#568)
### Description

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

This pull request adds support for the "Base" blockchain in different parts of the codebase:
* The functions `domain.TranslateEmitterAddress`, `domain.EncodeTrxHashByChainID` and `domain.DecodeNativeAddressToHex`.
* The `tx-tracker` service: it now connects to a Base RPC node to fetch origin transaction metadata.
2023-07-20 16:37:21 -03:00
ftocal 3e5001e834
Adjust memory and cpu resources for parser in k8s (#565)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2023-07-19 17:44:12 -03:00
walker-16 80771dc35f
Add deploy config to add metrics in tx-traker (#559) 2023-07-19 10:11:05 -03:00
agodnic 44e236fc61
Update tx tracker backfiller (#540)
### Description

Related issues: https://github.com/wormhole-foundation/wormhole-explorer/issues/525, https://github.com/wormhole-foundation/wormhole-explorer/issues/524

Final updates before running the tx-tracker backfiller on staging and production.
2023-07-18 12:00:04 -03:00
walker-16 520997f6d7
Fix environment env var in jobs component (#547) 2023-07-17 11:17:05 -03:00
ftocal 1440fa3741
Minor changes for production deployment (#541)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2023-07-14 14:20:42 -03:00
agodnic 61d070e859
Fix tx tracker performance issues (#537)
### Description

The `tx-tracker` service is failing to process messages at the speed we need. This pull request is an attempt at fixing the issue.
2023-07-14 10:39:09 -03:00
ftocal 50774265ea
fix contract-watcher processing (#531)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2023-07-13 12:06:46 -03:00
agodnic 0a854b590d
Improve performance in the `tx-tracker` service (#519)
### Description

This pull request implements an improvement in the processing logic of the `tx-tracker` service to avoid processing a message more than once.
2023-07-11 16:31:45 -03:00
agodnic eb789113d7
Update deployment config for `tx-tracker` service (#506) 2023-07-05 22:17:53 -03:00
ftocal 9198c129e1
Add environment to promethes metrics for api (#507) 2023-07-05 16:15:29 -03:00
agodnic 4ce2d1e329
Remove notional cache from the `api` component (#500)
### Summary

The `api` component was importing and initializing the notional cache, but not using it.

This pull request removes the unnecessary dependency.
2023-07-05 15:07:24 -03:00
agodnic 9e4aa45305
[tx-tracker] Add support for Terra, Injective, Acala and Karura (#502)
### Description

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

This pull request adds support in the `tx-tracker` service for the blockchains Terra, Injective, Acala and Karura.

Also, deployment settings were updated with reasonable defaults.
2023-07-05 14:53:00 -03:00
ftocal b16f1739d0
Change to deploy prometheus metrics for parser and pipeline (#497) 2023-07-04 15:23:26 -03:00
walker-16 2a92a93eb4
475 parser create prometheus metrics (#484)
* Fix Environment env var in parser and deploy

* Add alert and metrics env vars config

* Define parser metrics

* Add parser prometheus annotations

* Fix metrics definitions

* Implement metrics in parser

* Fix phrometheus annotation from backfiller to service

* Add prometheus fiber
2023-07-03 15:46:47 -03:00