Commit Graph

219 Commits

Author SHA1 Message Date
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 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 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
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
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
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 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
Julian 83987793ef
[Blockchain Watcher] (CCTP) Remove CCTP contracts (#1340)
Remove CCTP contracts

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-04-22 11:52:25 -03:00
Martin Picco 29d47197f5
Add W token NTT redeem tracking for solana (#1336) 2024-04-19 16:17:57 -03:00
Julian 550b7b1d54
[Blockchain Watcher] (W) Map evm NTT redeem (#1334)
Map evm NTT redeem

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-04-19 15:28:37 -03:00
Julian 2686bea37e
[Blockchain Watcher] (FIX - SOLANA) Map config for solana (#1331)
Map config for solana

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-04-18 18:04:02 -03:00
ftocal b34beb63df
Add new version of guardian set in fly (#1311)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2024-04-16 19:49:08 -03:00
Julian 36d205c37b
[Blockchain Watcher] (STANDARD RELAYER) Map new chains (#1309)
Map new chains

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-04-16 17:26:04 -03:00
Julian 674e542306
[Blockchain Watcher] (ARBITRUM) Remove arbitrum goerli in testnet (#1307)
Remove arbitrum

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-04-16 17:19:46 -03:00
Julian 408a297b63
[Blockchain Watcher] (WORMCHAIN) Mapped wormchain source events (#1238)
* Mapped source events

* Set chainId for wormchain

* Add test

* Mapped testnet rpc

* Change blockBatchSize for 10 times per execution

* Improve log

* Improve code

* Remove console.log

* Resolved issue mapping tx hash

* Mapped txs array

* Add new test with 2 txs mapped

* Adapt endpoints implementation

* Improve log

* Resolve comment in PR

* Invert params in mapper

* Resolve test

* Resolve comment in PR

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-04-16 11:02:13 -03:00
Sebastian Cavedale c41ffccf39
Update fly-keda.yaml
Replaced KEDA-fly trigger type, cpu > memory.
2024-04-16 10:38:28 -03:00
Sebastian Cavedale 97ac266bed
Feat/add keda autoscaler (#1306)
* Analytics KEDA based on SQS

* Parser KEDA based on SQS

* Tx-Tracker KEDA based on SQS

* Api KEDA based on Memory

* Fly KEDA based on CPU
2024-04-15 18:05:26 -03:00
Julian 6b67bf859e
[Blockchain Watcher] (SCROLL) Mapped scroll source and target events (#1304)
* Mapped scroll source and target events

* Remove jobs for mainnet

* Remove jobs for mainnet

* Mapped redeem contract

* Add aptos custom env

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-04-15 16:48:56 -03:00
Julian af4b03d1c3
[Blockchain Watcher] (NFT) Mapped contracts (#1282)
* Mapped contracts

* Mapped mainnet contracts

* Mapped protocol in sui log

* Adapt aptos process to allow multiply filters

* Mapped methodId for NFT aptos

* Improve filter name

* Improve source events filter

* Resolve test

* Add aptos custom variable

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-04-10 20:39:19 -03:00
Julian bc0014885e
[Blockchain Watcher] (NTT - FANTOM and ETH) Integrate support NTT for fantom (#1281)
* Integrate support NTT for fantom

* Integrate support NTT for ethereum

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-04-08 16:38:56 -03:00
Julian 11ecb6eb6d
[Blockchain Watcher] (TOKEN BRIDGE) Mapped token bridge chains (#1261)
* Mapped all evm chains

* Mapped topic for mainnet contracts

* Mapped testnet chains

* Mapped standar relayer topic for bnb

* Remove some contracts in config

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-04-08 12:47:53 -03:00
walker-16 04da0b3e4d
Add wormchain injective integration (#1260)
* Add wormchain injective integration

* Add metrics and logger for unknown wormchain

* Add wormchain rpc config
Co-authored-by: ftocal <fert1335@gmail.com>

* Add evmos, kujira, osmosis to wormchainRpcProviders
Co-authored-by: ftocal <fert1335@gmail.com>

* Add backfiller for tx-tracker with emitterChainId, emitterAddress and range time parameters

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

---------

Co-authored-by: Fernando Torres <fert1335@gmail.com>
2024-04-05 15:24:21 -03:00
ftocal 451c48a670
Add ip and query params in fiber logger (#1268)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2024-04-01 16:06:43 -03:00
ftocal f635f1d785
Increase instances for api in production-mainnet (#1265)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2024-03-29 15:31:41 -03:00
ftocal 36e6c0a715
Add api key for coingecko api in notional jobs (#1259)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2024-03-27 14:42:04 -03:00
Julian 3830d288e2
[Blockchain Watcher] (FIX - MAYAN) Mapped new address (#1254)
Mapped new address

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-03-27 09:40:18 -03:00
Julian 6958d5b78b
[Blockchain Watcher] (FIX - MAYAN) Add mayan with payload address (#1242)
Add mayan with payload address

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-03-25 13:01:04 -03:00
ftocal e98d98fda5
Increase memory in api testnet (#1241)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2024-03-22 14:49:59 -03:00
Julian 677b3d729a
[Blockchain Watcher] (FIX - JOBS) Fix jobs (#1227)
* Fix jobs

* Add arbitrum-sepolia

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-03-19 17:01:13 -03:00
Mariano a2039d70b8
Remove deprecated k8 cronjobs: protocols-activity and protocols-stats (#1226)
remove deprecated k8 cronjobs: protocols-activity and protocols-stats
2024-03-19 15:59:06 -03:00
walker-16 bc3110f3d4
Modify intialize to support fallback url and rate limit (#1093)
* Modify intialize to support fallback url and rate limit

* Add fallback and rate limit config for all the chains

* remove unused WormchainTxDetail struct

* Add pool of items to common

* Add rpc pool to tx-tracker

* Rename chain url to baseUrl

* add fallback to wormchain chains

* update tx-tracker fetchone to use rpc pool

* Modify backfiller to use rpc pool

* fix merge to main run files

* Add rpc pool to controller

* remove comments

* fix pool sort function

* Add rpc pool to all the chains

* Fix algorand, aptos, sui integrations

* Fix pool solana

* remove api_sei3 old implementation

* Add metrics to get success/error rpc call

* Add rpc field in call rpc metric

* Fix common go.mod and remove unused if condition

* Update go.mod tx-tracker

* Create rpc count prometheus metrics

* Add fallback to insert originTx if rcp fail

* Check if the transaction doesn't exists

* Modify in tx-tracker already processed method

* fix wormchain rpc

* Add rpc settings as json file

* Enable overwrite to stress test

* Add rpc provider as k8s secret

* Add metrics to get vaa retry processing
Co-authored-by: ftocal fert1335@gmail.com

* Add worker pool in consumer for tx-tracker

* fix config by env

* Set consumer workers in 1

---------

Co-authored-by: Fernando Torres <fert1335@gmail.com>
2024-03-19 15:47:43 -03:00
Mariano faa8e38b2e
[ISSUE-1213] Refactor of top-contributors stats and activity job (#1215)
* start refactor of stats and activity job

 change approach for collecting stats and activity metrics

 multiple stuff

fix unfinished merging conflicts

 changes

 update

Delete .run/wormhole-explorer-api.run.xml

 add unit-tesdt

 add unit-test for mayan and allbrdige

add protocols-stats-1h job

 add new job

 change stats query

fix query

 start refactor of stats and activity job

 change approach for collecting stats and activity metrics

 multiple stuff

fix unfinished merging conflicts

 changes

 update

Delete .run/wormhole-explorer-api.run.xml

 add unit-tesdt

 add unit-test for mayan and allbrdige

add protocols-stats-1h job

 add new job

 change stats query

fix query

* remove temp backfiller

* fix unit-tests

* remove useless dbconsts

* remove useless consts

* fix some renaming

* fix unit-tests

* fix tvl portal_token_bridge
2024-03-18 10:21:42 -03:00
Julian 10d683da64
[Blockchain Watcher] (FIX - APTOS) Fix aptos job (#1222)
* Fix job

* Improve solana log

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-03-15 17:52:55 -03:00
ftocal a6cbcc7c55
Add backfiller for pipeline (#1221) 2024-03-15 16:44:24 -03:00
Martin Picco 277373bf57
[Blockchain Watcher] Add redeem tracking for native token transfers (NTT) for Solana (#1200)
* Ntt redeem tracking for solana

* Update NTT redeem addresses

* Update NTT target event addresses

* Update NTT methods config

* Add NTT method mapping for solana. Fix tests
2024-03-15 16:26:27 -03:00
Julian 8a23a69c57
[Blockchain Watcher] (APTOS) Integrate aptos source and redeemed events (#1174)
* First version

* Improve index

* Improve repository and mapper

* Resolve issues and add new pod for target events

* Resolve test and improve code

* Add test

* Resolve test

* Improve source event implementation

* Improve implementations and create test

* Remove hardcode params

* Change completed status

* Merge to main

* Improve code style

* Change current cursor value

* Improve comments

* improve domain event

* Add validation about differents blocks number

* Improve transaction and sequence implementation

* Set batches

* Resolve comment in PR

* Improve code

* Resolve comment in PR

* Integrate rpc poll for aptos

* Improve code

* Remove instrumented aptos client

* Improve test

* Improve errors message

* Improve transaction domain and test

* Remove block name in variables

* Resolved comment in PR

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-03-15 15:38:27 -03:00
Julian 071dc12296
[Blockchain Watcher] (STANDARD-RELAYER) Mapped standard relayer txs (#1216)
* Update env files

* Mapped contracts

* Mapped contracts

* Change commitment in base for latest, and mapped eth env

* Incrise attempts for retries

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-03-15 15:38:14 -03:00
Sebastian Cavedale 605b883b1e
Changed api container settings in order to reduce the startup time (#1199)
* Changed api-deployment container settings in order to reduce the startup time

* Set staging-mainnet CPU/MEMORY requests/limits

* Upgrade production-mainnet CPU requests/limits
2024-03-13 14:54:23 -03:00
ftocal 67d0e970f0
Increment observation tx hash cache expiration (#1184)
* Increment observation tx hash cache expiration

* Add cache dedup for pyth vaas

* Increment observation dedup cache

* wip
2024-03-12 12:23:29 -03:00
ftocal 5cc4dca96e
Increase rate limit for API (#1210) 2024-03-11 18:03:51 -03:00
Julian 59f669abfe
[Blockchain Watcher] (FIX - OPTIMISM) Remove goerli optimism (#1203)
Remove goerli optimism

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-03-08 16:18:28 -03:00
Martin Picco 90fe8f29a1
Update NTT addresses for the testnet deploy (#1202)
Update NTT addresses for testnet
2024-03-08 15:49:12 -03:00
Martin Picco 847b8686d0
[Blockchain Watcher] Add redeem tracking for native token transfers (NTT) on EVM (#1178)
* Add redeem tracking for native token transfers (NTT)

* Add redeem tracking for native token transfers (NTT) through standard relaying

* Allow configuring the get evm transactions action to match multiple topics on one transactions by defining an array instead of a single string entry on the topics array

* Fill in mainnet and testnet standard relayers

* Remove filter field from HandleEvmTransactions filter

* Address some review comments

* Add ntt testnet contracts for both ethereum and arbitrum sepolia
2024-03-08 14:08:09 -03:00
ftocal 2bec07b037
Add improvements in fly (#1183)
Add metrics for observation by guardian
Configurable cache
Add metrics for cache
Fallback for vaas publication
2024-03-06 11:59:09 -03:00
Julian fa6196b02c
[Blockchain Watcher] (FIX ARBITRUM) Export environment variable to validate env (#1181)
* Export environment

* Resolve test

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-03-05 16:10:49 -03:00
Julian a55dbc6ccc
[Blockchain Watcher] (ARBITRUM) Improve arbitrum process (#1168)
* Improve arbitrum process

* Add comments

* Set final block for arbitrum

* Improve names

* Resolve comment

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-03-05 13:51:23 -03:00
Mariano 8d6165153a
add protocols to prod-mainnet.env (#1179) 2024-03-05 11:43:40 -03:00