Commit Graph

663 Commits

Author SHA1 Message Date
Julian b0f4f6e319
[Blockchain Watcher] (METRICS) Create metrics for job executions (#1451)
* Create metrics in pollingJob

* Create metrics in pollingJob

* Add number to metric

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-06-03 16:40:18 -03:00
walker-16 7545acb77e
Feature/handle governor fly event processor (#1436)
* changes in fly component to send governor status events

* split processor in vaaProcessor and governor processor

* add governor processsor v1

* Add endpoint in tx-tracker to calculate txHash for a vaa id

* fly-event-processor integration with new tx-tracker endpoint and refactor

* Add governor vaas endpoint in api

* api, fix amount data type in governor vaas endpoint

* fly-event-processor normalize emitter and txHash

* fly-event-processor fix nodeGovernorVaa id

* fly-event-processor control array not empty in insert/delete many operation

* add index in nodeGovernorVaas collection by vaaId

* add prometheus metrics

* add tx-tracker url for fly-event-processor deployment

* Add sns attributes into sns messages

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

* fix governor vaa endpoint empty response

---------

Co-authored-by: Fernando Torres <fert1335@gmail.com>
2024-05-31 15:38:21 -03:00
Julian 8628d1f915
[Blockchain Watcher] (COSMOS) Map cosmos redeem (#1418)
* Map event for wormchain redeem

* Map redeem for osmosis

* Add new dependencies for cosmos

* Improve wormchain repository

* Map mainnet job

* Map kujira and injective redeem

* Map metricName

* Create retries

* Add test

* Map dependencies

* Map dependencies

* Merge to main

* Add redeem test

* Improve comments

* Map testnet job and rpcs

* Create wormchain repositories test

* Resolve test and metrics

* Improve StandardRelayer type

* Change name for ibc transaction

* Change name for ibc transaction

* Add array name for IBC transactions

* Resolve some comments

* Create test for getRedeems

* Resolve comment in PR

* Resolve comment in PR

* Resolve comment in PR

* Improve while

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-05-31 12:39:07 -03:00
Mariano 1602a74748
Start writing vaa_volume_v3 (#1438)
* start writing vaa_volume_v3

* fill with none

* override version tag

* fix filling of appIds tags

* add size tag and bump measurement version

* change script in order to contemplate emitter and destionation chain

* change script for totals

* change grouping

* chaange variavble in script

* fix indent

* split into 2 tasks

* rename

* more changes

* fix scripts

* revert changes
2024-05-29 12:26:00 -03:00
Julian 4c4bf3ee90
[Blockchain Watcher] Improve variables and logs (#1447)
Improve variables and logs

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-05-28 15:51:18 -03:00
ftocal d4b63be148
Fix go dependencies (#1448)
* Update dependencies in tx-tracker and common

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

* Update dependencies for analytics, fly-event-processor, jobs, notional, parser and pipeline

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

---------

Co-authored-by: walker-16 <agpazos85@gmail.com>
2024-05-28 11:30:41 -03:00
walker-16 f354af6d96
1407 update sdk and modify tx tracker to support xlayer (#1440)
* Add support to xlayer in tx-tracker

* update commons chainIDs methods
2024-05-28 10:28:11 -03:00
walker-16 2d1953acb4
fly-event-processor - add finality time to missing chains (#1443) 2024-05-27 14:45:59 -03:00
ftocal 4809dbda21
Update last guadian set automatically from eth contract (#1414)
* Update last guadian set automatically from eth contract

* Continue testing for an intermittent failure
2024-05-27 11:01:16 -03:00
Julian 0248f706aa
[Blockchain Watcher] (FIX - XLAYER) Improve xlayer process (#1442)
Improve xlayer process

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-05-24 11:06:22 -03:00
Julian 73d4672709
[Blockchain Watcher] (STANDARD RELAYER(SCROLL - BLAST)) Map SR for scroll and blast (#1439)
Map SR for scroll and blast

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-05-23 13:22:56 -03:00
Julian 534fbbb47c
[Blockchain Watcher] (XLAYER) Map xlayer redeems (#1435)
* Map xlayer redeems

* Map redeem job for testnet

* Change blockBatchSize

* Mao xkayer on contractsMapperConfig

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-05-23 09:04:09 -03:00
Julian 9a749f0b0c
[Blockchain Watcher] (MANTLE) Map mantle events (#1357)
* Map blast chain

* Fix some files

* Map testnet chain

* Map config job

* Map mantle chain

* Map testnet contracts

* Map testnet contracts

* Map redeem for testnet job

* Change chain id

* Map in contractsMapper

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-05-22 14:28:14 -03:00
Julian 16e7dff7c2
[Blockchain Watcher] (PORTAL-TOKEN-BRIDGE) Map contracts for eth and avax (#1432)
Map contracts

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-05-21 12:33:04 -03:00
Julian 7c3ba9e6bc
[Blockchain Watcher] (CONTRACTS) Map contracts (#1426)
* Map contracts

* Map other contracts

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-05-21 08:48:18 -03:00
Julian 1e98c11985
[Blockchain Watcher] (CCTP) Map avalanche contract (#1425)
Map avalanche contract

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-05-20 12:32:51 -03:00
Julian 673259fccf
[Blockchain Watcher] (FIX) Cath no healthy providers (#1405)
Cath no healthy providers

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-05-15 12:19:41 -03:00
ftocal f48b64e780
Add BORG token to the token list for ethereum and solana (#1413)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2024-05-14 11:32:46 -03:00
walker-16 ccc7e558c4
add polygon amoy to tx-tracker (#1373)
Co-authored-by: ftocal <fert1335@gmail.com>
2024-05-13 12:11:55 -03:00
walker-16 bcb1f0e71b
remove connect from contract-watcher (#1398)
* remove polygon connect from contract-watcher

Co-authored-by: ftocal <fert1335@gmail.com>

* remove bsc and fantom connect from contract-watcher

Co-authored-by: ftocal <fert1335@gmail.com>

* remove avalanche and moonbeam from contract-watcher

* remove ethereum and celo from contract-watcher

---------

Co-authored-by: ftocal <fert1335@gmail.com>
2024-05-13 12:10:42 -03:00
Julian c3950c4fb9
[Blockchain Watcher] (METRICS) Map block high diff metric (#1397)
* Map block high diff metric

* Map block high diff metric

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-05-07 17:14:45 -03:00
walker-16 b8e3f43333
1301 create a backgroundrecurrent process which checks which duplicate vaas txs actually reached finality on the blockchain (#1359)
* fly-event-processor initial commit

* Handle duplicated vaa event in fly-event-processor
Add deployment for fly-event-processor
Send duplicated vaa event from fly

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

---------

Co-authored-by: Fernando Torres <fert1335@gmail.com>
2024-05-07 16:38:16 -03:00
ftocal cc707539ef
Handle tx hash for blast and scroll in common (#1384)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2024-05-07 11:27:11 -03:00
Julian c25ddefbee
[Blockchain Watcher] (CONFIG - JOB) Map new variables on file (#1391)
Map new variables on file

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-05-07 10:06:40 -03:00
Julian ffb2489dad
[Blockchain Watcher] (CONFIG - JOB) Map new custom variables on jobs (#1388)
* Map new custom variables on jobs

* Map new variables on env files

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-05-06 16:13:17 -03:00
Julian a3743ebf8e
[Blockchain Watcher] (PORTAL - OMNISWAP) Map portal and Omniswap redeems (#1382)
* Map portal and Omniswap redeems

* Add new contracts

* Create new job for source events

* Create new job for source events

* Change method name

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-05-03 13:07:51 -03:00
Julian 3f71ca06b6
[Blockchain Watcher] (NTT) Map contracts for ETH and arbitrum (#1378)
Map one contract for ETH and arbitrum

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-05-02 14:57:39 -03:00
Julian 5bd3b34efa
[Blockchain Watcher] (TECHNICAL-DEBT) Remove enabledJobs config (#1375)
Remove config

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-05-02 11:01:15 -03:00
walker-16 6f309c722a
Remove tBTC from contract-watcher (#1366)
* Remove tBTC from contract-watcher

Co-authored-by: ftocal <fert1335@gmail.com>

* remote tBTC arbitrum and polygon

Co-authored-by: ftocal <fert1335@gmail.com>

---------

Co-authored-by: ftocal <fert1335@gmail.com>
2024-05-02 10:57:23 -03:00
Julian bb8ad64be7
[Blockchain Watcher] (SCROLL - CELO) Add topics for scroll chain (#1374)
* Add topics for scroll chain

* Map topic for testnet

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-05-02 10:29:45 -03:00
Julian 6624f7a295
[Blockchain Watcher] (TECHNICAL-DEBT) Add new config for enabledJobs (#1361)
Add new config for enabledJobs

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-05-02 10:29:26 -03:00
Mariano 220dd01982
[WORMSCAN-API-1335] Support querying with multiple sourceChains and targetChains (#1364)
* refactor to accept multiple sourceChains,targetChains and appIds

* support multiple appIds

* adjust x-chain-activity/tops to also support multiple sourceChains and targetChains

* readapt to multiple sourceChains and targetChains

* add unit-tests

* fix unit-test case names

* add unit-test to validate query construction

* fix docs

* fix length of targetChains
2024-04-30 16:56:19 -03:00
Julian a250bdc2fd
[Blockchain Watcher] (WORMCHAIN - FIX) Map rpcs for wormchain mainnet (#1371)
Map rpcs

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-04-30 13:17:20 -03:00
Julian 8bae784230
[Blockchain Watcher] (CONNECT) Integrate connect redeem (#1363)
Integrate connect

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-04-30 10:43:16 -03:00
walker-16 90b818884e
Add blast to tx-tracker (#1367)
Co-authored-by: ftocal <fert1335@gmail.com>
2024-04-29 17:39:58 -03:00
Julian 0cf5874620
[Blockchain Watcher] (SCROLL) Map scroll mainnet contracts (#1369)
Map scroll mainnet contracts

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-04-29 15:16:37 -03:00
Julian f9d99ba25c
[Blockchain Watcher] (BLAST) Map blast chain (#1354)
* Map blast chain

* Fix some files

* Map testnet chain

* Map config job

* Map testnet contracts

* Remove mainnet jobs

* Map contract for core and token bridge job

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-04-29 13:35:55 -03:00
Mariano ce1b7707fb
[WORMSCAN-API-1225] Add new endpoint for fetching x-chain-activity tops data (#1342)
* add 2 new tasks for collecting chain activity every day and hour

* making progress

* change query 2

* add query by month and year

* changes on task

* more changes

* change to 1d

* add 1d

* fix query

* adjust queryies

* change the way the query is executed

* changes on query

* making more progress

* fix per year query

* add a second group of tasks for downsampling

* add app_id

* update swagger docs

* optimize new tasks

* fix W

* fix W

* start using the new measurement

* change endpoint signature

* update endpoint name

* fix indents

* code review changes

* remove unnecessary break
2024-04-26 15:03:02 -03:00
ftocal 9d280f7d5f
Add W token for ethereum, arbitrum, optimism and base (#1358)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2024-04-25 17:06:14 -03:00
Julian 0cde483c95
[Blockchain Watcher] (tBTC) Map contracts for mainnet (#1353)
* Map contracts for mainnet

* Map contracts for mainnet

* Remove duplicated key

* Map testnet contracts

* Map testnet contracts in contatsMapperConfig

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-04-24 16:55:00 -03:00
Julian f0799cdd67
[Blockchain Watcher] (POLYGON AMOY) Map polygon amoy (#1350)
* Map polygon amoy

* Map polygon amoy

* Map env for yaml

* Map polygon goerli job

* Map contractsMapperConfig

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-04-24 15:06:41 -03:00
Sebastian Cavedale eb3a0a10dc
Pod's resources requirements improvements (production) (#1347)
* Push changes to analytics pod's resources (production-testnet)
* Push changes to api pod's resources (production-testnet)
* Push changes to blockchain-watcher pod's resources (production-testnet)
* Push changes to contract-watcher pod's resources (production-testnet)
* Push changes to fly pod's resources (production-testnet)
* Push changes to notional pod's resources (production-testnet)
* Push changes to parser pod's resources (production-testnet)
* Push changes to pipeline pod's resources (production-testnet)
* Push changes to spy pod's resources (production-testnet)
* Push changes to tx-tracker pod's resources (production-testnet)

* Push changes to analytics pod's resources (production-mainnet)
* Push changes to api pod's resources (production-mainnet)
* Push changes to blockchain-watcher pod's resources (production-mainnet)
* Push changes to contract-watcher pod's resources (production-mainnet)
* Push changes to fly pod's resources (production-mainnet)
* Push changes to notional pod's resources (production-mainnet)
* Push changes to parser pod's resources (production-mainnet)
* Push changes to pipeline pod's resources (production-mainnet)
* Push changes to spy pod's resources (production-mainnet)
* Push changes to tx-tracker pod's resources (production-mainnet)
2024-04-24 11:38:38 -03:00
walker-16 8f3b57ee89
Fix hardcode guardian set index api (#1352)
Co-authored-by: ftocal <fert1335@gmail.com>
2024-04-24 10:32:16 -03:00
Julian e013f14968
[Blockchain Watcher] (FIX - SUI) Fix currentCheckpoint value for report metrics on grafana (#1345)
Fix currentCheckpoint value

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-04-23 14:51:52 -03:00
Sebastian Cavedale 0cd38590ce
Manifest and pod's resources requirements improvements (staging) (#1332)
* Push changes to analytics manifest and pod's resources

* Push changes to api manifest and pod's resources/scaler

* Push changes to contract-watcher manifest and pod's resources

* Push changes to fly manifest and pod's resources/scaler

* Push changes to notional manifest and pod's resources

* Push changes to parser manifest and pod's resources/scaler

* Push changes to pipeline manifest and pod's resources

* Push changes to spy manifest and pod's resources

* Push changes to tx-tracker manifest and pod's resources/scaler

* Push changes to blockchain-watcher manifest and pod's resources

* Added a new serviceAccount named 'blockchain-watcher'
2024-04-23 14:40:56 -03:00
walker-16 5ac4701b37
Fix not found responde in vaa duplicate endpoint (#1346)
Co-authored-by: ftocal <fert1335@gmail.com>
2024-04-23 11:50:03 -03:00
ftocal 28a24db1f1
Fix go dependencies in api and pipeline (#1344)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2024-04-23 11:41:06 -03:00
ftocal d8e25cc3b5
Fix dependencies in contract watcher (#1343)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2024-04-23 10:44:48 -03:00
walker-16 980316bb2d
Remove ethereum and base token bridge in contract-watcher (#1327)
* Remove ethereum and base token bridge in contract-watcher
Co-authored-by: ftocal <fert1335@gmail.com>

* Remove moonbeam and oasis token bridge in contract-watcher

Co-authored-by: ftocal <fert1335@gmail.com>

* Update contract-watcher memory resource production-mainnet

Co-authored-by: ftocal <fert1335@gmail.com>

* Remove avalanche and fantom token bridge in contract-watcher

Co-authored-by: ftocal <fert1335@gmail.com>

* Remove polygon, bsc and celo token bridge contract-watcher

Co-authored-by: ftocal <fert1335@gmail.com>

---------

Co-authored-by: ftocal <fert1335@gmail.com>
2024-04-23 10:27:32 -03:00
ftocal 688a0d0f71
Store duplicate vaas on a secondary collection (#1308)
* Add support to scroll in tx-tracker

* Handle duplicated vaa in fly

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

* Modify tx-tracker and pipeline to support duplicated vaas
Co-authored-by: ftocal <fert1335@gmail.com>

* Add isDuplicated flag in vaas and operations endpoints
Add new endpoint to find duplicated vaas by vaa id
Co-authored-by: walker-16 <agpazos85@gmail.com>

* Add metrics for duplicated vaas

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

* Update node dependencies in spy

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

* Fix promethes metrics for missing tx-hash in tx-tracker

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

---------

Co-authored-by: Agustin Pazos <agpazos85@gmail.com>
2024-04-22 14:26:07 -03:00