Julian
6507c98bfb
[Blockchain Watcher](EVM) Add optimism chain ( #847 )
...
* feature-798/enable-evm-optimism-chain
* [Blockchain Watcher](EVM) Add base chain (#848 )
* feature-798/enable-evm-base-chain
* Run prettier
* Add custom envs
---------
Co-authored-by: Julian Merlo <julianmerlo@MacBook-Pro-de-Julian.local>
* Mapped base in supportedChain
* Run prettier
---------
Co-authored-by: Julian Merlo <julianmerlo@MacBook-Pro-de-Julian.local>
2023-12-04 15:00:48 -03:00
Matías Martínez
0e4efd6673
[Blockchain Watcher] Separating get and poll actions ( #843 )
...
* adding more overrides via env var
* simplifying default cfg files
* shared evm repo
* move get evm logs to new action
* move get solana txs to new action
* minor folder cleanup
* smaller docker image
* add chain to evm block repo logs
2023-12-04 09:47:02 -03:00
Julian
b458213b0c
[Blockchain Watcher] feature-798/enable-evm-avalanche-chain ( #838 )
...
* Add fantom chain
* Mapped all chains in prod-mainnet
* Add fantom test
* feature-798/enable-evm-acala-chain
* feature-798/enable-evm-avalanche-chain
* Run prettier
* Change commitment value and interval value
* Resolve comment in PR
---------
Co-authored-by: Julian Merlo <julianmerlo@MacBook-Pro-de-Julian.local>
2023-12-04 09:24:36 -03:00
Julian
912049a0a8
[Blockchain Watcher] Feature 798/enable evm acala chain ( #837 )
...
* Add fantom chain
* Mapped all chains in prod-mainnet
* Add fantom test
* feature-798/enable-evm-acala-chain
* Run prettier
* Resolve comment in PR
* Replace mainnet url
---------
Co-authored-by: Julian Merlo <julianmerlo@MacBook-Pro-de-Julian.local>
2023-12-01 16:25:02 -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
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
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
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
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
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