* 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>
* 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>
### Description
This pull request removes duplicated code related to MongoDB connection/disconnection attempts. This code was copied across all 8 microservices.
The functionality is now unified under the `common/dbutil` package.
### Description
This pull request adds the parameter `toChain` to the endpoint `GET /api/v1/vaas/{emitterChain}/{emitterAddress}`.
Other VAA-related endpoints do not support this parameter.
Additionally, for performance reasons, a composite index must be created in MongoDB: `db.parsedVaa.createIndex({"emitterChain": -1, "emitterAddr": -1, "rawStandardizedProperties.toChain": -1, "indexedAt": -1})`
* Add unknown guardian set index alert
* Add prometheus metrics to check if exists observations without txhash
* Add max sequence cache error prometheus metrics
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>
### Description
Before this pull request, when calling `GET /api/v1/vaas?txHash={h}` for a hash that has multiple VAAs associated with it, we were just returning one. After this pull request, the API should return all of the VAAs associated with that transaction hash.
Tracking issue: https://github.com/wormhole-foundation/wormhole-explorer/issues/563
### 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.