Commit Graph

132 Commits

Author SHA1 Message Date
matias martinez 72f0e8a618 Merge remote-tracking branch 'origin' into feature/blockchain-watcher-solana-log 2023-11-28 16:47:41 -03:00
Matías Martínez 2d9d0533f6
[Blockchain Watcher] Initial version (#806)
- Ethereum support for LogMessagePublished extraction
2023-11-28 16:00:45 -03:00
matias martinez 02b3d7eff4 Merge remote-tracking branch 'origin/feature/blockchain-watcher' into feature/blockchain-watcher-solana-log 2023-11-28 15:50:36 -03:00
matias martinez 2f5c79d318 Merge remote-tracking branch 'origin' into feature/blockchain-watcher 2023-11-28 15:45:47 -03:00
matias martinez 933e4dfab0 solana: add retry handling for 429s 2023-11-28 14:54:11 -03:00
ftocal 695fd0dcd4
Add supported tokens for testnet (#810)
Update supported tokens for mainnet
2023-11-28 10:16:40 -03:00
ftocal 7c467f5267
Integrating blockchain watcher data into mongodb (#820)
* Handle log-message-published generated by blockchain-watcher in parser, tx-tracker y analytics

* Add deployment for staging-testnet environment
Improve logs

* Add operation endpoints

---------

Co-authored-by: Agustin Pazos <agpazos85@gmail.com>
2023-11-27 12:31:35 -03:00
matias martinez ada01eeb4e adding missing envs templates 2023-11-24 17:12:49 -03:00
matias martinez 5b68421df3 passing node_options for solana 2023-11-24 17:09:29 -03:00
matias martinez a79d7a5a43 private solana urls as secret 2023-11-23 14:48:27 -03:00
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
Matías Martínez 41bc5abe88
[Blockchain Watcher] Add StartJob action + rate limit handling (#799)
* using configured default winston logger

* wait for new block

* adding basic metrics

* staging mainnet config

* send hexa block number

* simpler log format

* group entities in different files

* grouping watchers

* adding 429 handling http client

* abstracting polling iteration

* Load jobs dinamically

* changing deployment strategy to jobs per pod
2023-11-16 12:39:00 -03:00
matias martinez 9b57b17be7 changing deployment strategy to jobs per pod 2023-11-15 12:53:05 -03:00
ftocal 11b162ca54
Add Sei support in tx-tracker (#800)
* Add Sei support in tx-tracker

* Code review updates
2023-11-15 12:11:24 -03:00
Matías Martínez 9782e90320
[Blockchain watcher] Adding light observability (#793)
* using configured default winston logger

* wait for new block

* adding basic metrics

* staging mainnet config

* send hexa block number

* simpler log format

* better error logs

* wait when no block available
2023-11-14 08:08:34 -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
walker-16 f4fe630623
Add methods to identify kujira & evmos (#729)
* Add methods to identify kujira & evmos

* Add fetch methods to kajira and evmos

* fix fetch kujira and evmos methods

* Add support to search vaas gateway chain txHash

* Add deploy config to tx-tracker for evmos & kujira
2023-10-26 19:34:00 -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