Commit Graph

589 Commits

Author SHA1 Message Date
ftocal 2836f4ffc2
Fix of an intermittent failure to obtain a solana transaction (#840) 2023-12-01 14:15:19 -03:00
Julian c001e0700c
[Blockchain Watcher] Add fantom chain (#834)
* Add fantom chain

* Mapped all chains in prod-mainnet

* Add fantom test

---------

Co-authored-by: Julian Merlo <julianmerlo@MacBook-Pro-de-Julian.local>
2023-12-01 10:09:58 -03:00
Julian c15fa976a6
[Blockchain Watcher] Feature 798/enable evm karura chain (#831)
* adding gen-relayer watcher code to branch

* folder rename

* adding some new  abstract types for processor redesign

* added first cut of new process manager logic

* large refactoring to environment configuration

* Add basic default config

* prettier run

* modifying event handler interface

* abstract handler typing changes

* Blockchain watcher: adding domain and infra layers (#786)

* reorg domain-infra

* watch evm blocks action

* adding evm log parser

* wider prettier

* renaming watch action

* adding doc

* persist latest metadata

* gh action for blockchain-watcher

* adding log-message-published mapper

* deps: remove peers and nodemon

* adding handler for LogMessagePublished

* added parser for log message published

---------

Co-authored-by: chase-45 <chasemoran45@gmail.com>

* 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

* [Blockchain Watcher] Apply missing formatting for log message published (#791)

* Apply missing formatting for log message published

* keep extracting

* emitterAddress -> emitter

* 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

* [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

* grouping watchers

* adding 429 handling http client

* abstracting polling iteration

* Load jobs dinamically

* changing deployment strategy to jobs per pod

* group actions per platform

* [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

* adding poll solana txs action

* adding solana repo implementation

* solana: mapping to logmsgpublished

* fixing solana mapper test

* updating readme

* adding some metrics

* adding solana worker

* adding finality param to get solana block

* minor changes - using confirmed for solana log extraction

* updating version

* add solana env var

* [Blockchain Watcher] Feature-813/fix-coverage-report (#815)

* Fix coverage report

* Run prettier

* Rollback global coverage value

* Set global coverage value to 55

* Add github PR template

* Run prettier

* Rename github template file

---------

Co-authored-by: Julian Merlo <julianmerlo@MacBook-Pro-de-Julian.local>

* private solana urls as secret

* adding prod cfg files

* Change repository name and cretae error foulder (#819)

* Change repository name and cretae error foulder

* Rename SolanaFailure file

* Rename SolanaFailure file

---------

Co-authored-by: Julian Merlo <julianmerlo@MacBook-Pro-de-Julian.local>

* passing node_options for solana

* adding missing envs templates

* cru

* ratelimited solana client + increase coverage

* [Blockchain Watcher] Feature 817/add hexagonal prefix (#824)

* Put hexadecimal prefix

* Create id variable

* Add error log

* Add error log

* Remove bigint in getBlock params

---------

Co-authored-by: Julian Merlo <julianmerlo@MacBook-Pro-de-Julian.local>

* fix never ending solana jobs

* adding job counter metric

* solana: add retry handling for 429s

* cleanup

* remove duplicated tests

* [Blockchain watcher] feature-798/enable-evm-karura-chain

* [Blockchain watcher] feature-798/enable-evm-karura-chain

* Add karura job in mainnet

* Mapped karura addresses

* Improve address tesnet

* Delete from block

* Resolve comment in PR, mapped chainId into EvmLog entity

* Revert address change

* Mapped mainet address

* Create chains constants

* Imporve config mock

* Resolve comment

* Mapped chainId into repository

* Run prettier

* Change commitment status for karura

* Run prettier

---------

Co-authored-by: chase-45 <chasemoran45@gmail.com>
Co-authored-by: matias martinez <matias@xlabs.xyz>
Co-authored-by: Matías Martínez <131624652+mat1asm@users.noreply.github.com>
Co-authored-by: Julian Merlo <julianmerlo@MacBook-Pro-de-Julian.local>
2023-11-30 12:43:37 -03:00
walker-16 918f09cddb
fix typo standarized properties in operation endpoint (#833) 2023-11-30 12:28:48 -03:00
Matías Martínez 0dda3e3f97
[Blockchain Watcher] Emit LogMessagePublished for Solana (#809)
* adding gen-relayer watcher code to branch

* folder rename

* adding some new  abstract types for processor redesign

* added first cut of new process manager logic

* large refactoring to environment configuration

* Add basic default config

* prettier run

* modifying event handler interface

* abstract handler typing changes

* Blockchain watcher: adding domain and infra layers (#786)

* reorg domain-infra

* watch evm blocks action

* adding evm log parser

* wider prettier

* renaming watch action

* adding doc

* persist latest metadata

* gh action for blockchain-watcher

* adding log-message-published mapper

* deps: remove peers and nodemon

* adding handler for LogMessagePublished

* added parser for log message published

---------

Co-authored-by: chase-45 <chasemoran45@gmail.com>

* 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

* [Blockchain Watcher] Apply missing formatting for log message published (#791)

* Apply missing formatting for log message published

* keep extracting

* emitterAddress -> emitter

* 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

* [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

* grouping watchers

* adding 429 handling http client

* abstracting polling iteration

* Load jobs dinamically

* changing deployment strategy to jobs per pod

* group actions per platform

* [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

* adding poll solana txs action

* adding solana repo implementation

* solana: mapping to logmsgpublished

* fixing solana mapper test

* updating readme

* adding some metrics

* adding solana worker

* adding finality param to get solana block

* minor changes - using confirmed for solana log extraction

* updating version

* add solana env var

* [Blockchain Watcher] Feature-813/fix-coverage-report (#815)

* Fix coverage report

* Run prettier

* Rollback global coverage value

* Set global coverage value to 55

* Add github PR template

* Run prettier

* Rename github template file

---------

Co-authored-by: Julian Merlo <julianmerlo@MacBook-Pro-de-Julian.local>

* private solana urls as secret

* adding prod cfg files

* Change repository name and cretae error foulder (#819)

* Change repository name and cretae error foulder

* Rename SolanaFailure file

* Rename SolanaFailure file

---------

Co-authored-by: Julian Merlo <julianmerlo@MacBook-Pro-de-Julian.local>

* passing node_options for solana

* adding missing envs templates

* cru

* ratelimited solana client + increase coverage

* [Blockchain Watcher] Feature 817/add hexagonal prefix (#824)

* Put hexadecimal prefix

* Create id variable

* Add error log

* Add error log

* Remove bigint in getBlock params

---------

Co-authored-by: Julian Merlo <julianmerlo@MacBook-Pro-de-Julian.local>

* fix never ending solana jobs

* adding job counter metric

* solana: add retry handling for 429s

* cleanup

* remove duplicated tests

* cru + item count

* minor readme update + do not use private solana rpc

* fix items counter

* fix solana job programID for devnet

* log basic repo info

* solana: passing finality everywhere

* delete unnecesary files

* adjusting solana cfgs

* [Blockchain Watcher]  Fix/re order some files (#828)

* fix/re-order-some-files

* run prettier

* Run prettier

* Resolve comment in PR

* Remove import

* Resolve comment

* Remove prefix in sns log

---------

Co-authored-by: Julian Merlo <julianmerlo@MacBook-Pro-de-Julian.local>

---------

Co-authored-by: chase-45 <chasemoran45@gmail.com>
Co-authored-by: Julian <52217955+julianmerlo95@users.noreply.github.com>
Co-authored-by: Julian Merlo <julianmerlo@MacBook-Pro-de-Julian.local>
2023-11-30 12:05:43 -03:00
walker-16 9fce2cf645
Fix operation endpoint search wormchain txs and destinationTx (#830) 2023-11-29 16:21:28 -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
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
ftocal 54b450e86f
Fix in find relays by id (#807)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2023-11-16 15:57:43 -03:00
ftocal c2f02bab2f
Fix and change relays response for the relays endpoint (#805)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2023-11-16 15:28:07 -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
walker-16 e5282ffb16
normalize osmosis txhash (#777)
Co-authored-by: ftocal <fert1335@gmail.com>
2023-10-30 11:23:37 -03:00
ftocal a29fbce237
Fix in address endpoint and transactions by address (#762) 2023-10-26 19:35:23 -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
walker-16 b46ba72d6b
Update source and destination channel for osmosis testnet (#758) 2023-10-25 17:05:55 -03:00
ftocal d45addcd59
Fix csv transfer report (#764) 2023-10-24 17:11:37 -03:00
walker-16 d9c2749c07
Add localstack config to pipeline project (#761) 2023-10-24 10:25:02 -03:00
ftocal 28fc5198b0
New job for transfer report (#756)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2023-10-20 18:30:34 -03:00
ftocal 91bf42971b
Use Redis channel in spy and fly (#753) 2023-10-18 11:18:32 -03:00
Ricardo Olarte 14161d1569
Feat/748 add last sequence number (#749)
* feat(743): add Wormchain support

* feat(748): Add lastSequeceNumber to lastBlocksByChain collection
2023-10-17 14:39:21 -03:00
Ricardo Olarte b6ce099a05
feat(743): add Wormchain support (#747) 2023-10-17 14:39:06 -03:00
Ricardo Olarte a9eb456031
feat(733): add rate-limit for EVMs chains (#738) 2023-10-11 15:38:06 -05:00
walker-16 955d69e099
Modify testnet p2p bootstrap to add xlabs (#745) 2023-10-11 14:35:39 -03: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 a05dad5160
fix: persist behavior when finding redeemed events (#730) 2023-10-06 08:01:16 -05:00
Ricardo Olarte bc8a3114aa
Feat/evm transfer redeemed support (#727)
* feat(717): add support for transferRedeemed log message - EVM

* build: update .gitignore file
2023-10-03 15:03:52 -05:00
ftocal 6be2607c65
Fix vaa_volume measurement in analytics and api queries (#719)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2023-10-02 11:21:13 -03:00
walker-16 504c6a2bf4
fix transaction endpoint to return globaltx if originTx doesnot exist… (#718)
fix transaction endpoint to return globaltx if originTx doesnot exists but the destinationTx exists
2023-09-27 14:32:32 -03:00
Ricardo Olarte 596cd499ef
build: add mainnet rpc variables (#715) 2023-09-26 18:23:07 -05:00
Ricardo Olarte a73b3c1605
feat: add near and terra support (#714)
* feat: add near and terra support

* fix: remove console.log
2023-09-26 18:22:55 -05:00
walker-16 5c49a5ee9c
Fix get transactions sorting (#711) 2023-09-26 15:02:57 -03:00
ftocal 92479661da
Minor fixes in event-watcher for testnet deployment (#712) 2023-09-26 11:14:57 -05:00
gipsh f67a513244
change search key for _id (#704) 2023-09-26 10:42:08 -03:00
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