Commit Graph

589 Commits

Author SHA1 Message Date
Matías Martínez 6393e08f11
bw: remove ankr public nodes usage (#1008) 2024-01-19 15:14:49 -03:00
kev1n-peters 70e00175c8
Add Avalanche Portico contract address (#1000)
Co-authored-by: Kevin Peters <kevin@wormholelabs.xyz>
2024-01-18 17:25:26 -03:00
walker-16 9cb5769c06
Update wormhole sdk to version v0.0.0-20240109172745-cc0cd9fc5229 in … (#998)
Update wormhole sdk to version v0.0.0-20240109172745-cc0cd9fc5229 in all the components
2024-01-17 12:36:54 -03:00
Julian dee349ee73
[Blockchain Watcher] (EVM-CTTP) Mapped contract address for testnet and mainnet (#953)
* Mapped contract address for testnet and mainnet

* Run test and prettier

* Validate address and topic

* Add redeem in ethereum config

* Mapped vaa information and status

* Mapped mainnet redeems

* Add const in populateTransaction method

* Mapped testnet redeems

* Improve validations in topics and address

* Improve transaction validation in GetEvmTransactions

* Update asyncapi docs

* Resolve fix when create hashNumbers

* Merge to main

* Remove moonbeam change

* Remove asyncapi changes

* Remove asyncapi changes

* Improve filter implementation and move methodNameByAddressMapper inside infrastructure foulder

* Run prettier

* Improve names in variables

* Remove redeemed hardcode

* Add logs for transactions populated

* Add topic in test

* Resolve comment in PR

* Improve id name with job

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
Co-authored-by: julian merlo <julianmerlo@julians-MBP.lan>
2024-01-16 12:47:10 -03:00
ftocal 27bf188149
Delete unhandled messages from sqs (#987)
Add more log
2024-01-15 14:11:41 -03:00
ftocal e21b836455
Add handler for redeem events from blockchain-watcher (#986) 2024-01-15 10:22:05 -03:00
ftocal fbf5809241
Increase vaa splitter buffer channel (#985)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2024-01-12 20:31:56 -03:00
ftocal 798da44152
Fix use correct date to obtain prices (#983)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2024-01-12 12:32:31 -03:00
ftocal d8d1d76a1e
Add quic-v1 support in mainnet (#967)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2024-01-11 12:03:58 -03:00
kev1n-peters 85e3f832d5
Updated Portico contract addresses (#951)
Co-authored-by: Kevin Peters <kevin@wormholelabs.xyz>
2024-01-05 15:02:58 -03:00
ftocal 416d1977a8
Add rpc urls in k8s secret (#942) 2024-01-04 10:19:34 -03:00
walker-16 05a4cf07b7
Add guardianSetIndex in the operations endpoint (#941) 2024-01-03 16:13:09 -03:00
ftocal bb5840f70f
Handling transactions with more than one instruction in solana watcher (#932)
Add redeem controller

Co-authored-by: walker-16 <agpazos85@gmail.com>
2024-01-02 11:05:10 -03:00
ftocal d7391f6ba1
Create api notional with historical prices (#931)
Add historical prices job
Change transfer report job
2024-01-02 10:38:03 -03:00
Julian d7dae2413e
[Blockchain Watcher] (EVM) Support evm fail redeem (#919)
* feature-823/support-evm-fail-redeem

* feature-823/support-evm-fail-redeem

* Ad handler fo transactions flow

* Integrate test and handler

* Run prettier

* Create unit test for methodNameByAddressMapper and GetEvmTransactions class

* Improve names

* Add logger info

* Improve log name and mapped methods

* Run prettier

* Implement strategy to process message

* Run prettier

* Run prettier

* Resolve method test

* Mapped timestamp value

* Change string to number in chainId property

* Improve names and mappers

* Run prettier

* Create interface for strategy

* Resolve method GetEvmTransactions test

* Resolve comment in PR

* Resolve comment in PR

* Rename redeem-failed

* Improve rage value

* Run prettier

* Reduce mapper in one evmTransferFoundMapper

* Mapped standar relay name

* Improve readme

* Change evmTransactionFoundMapper name

* Change evm mapper name in object return

* Mapped evm mapper test

* Map EvmTransactionFound in asyncapi docs

* Improve name in methods mapper

* Implement batch request for getTransactionReceipt method

* Add error manage in getTransactionReceipt method

* Rename protocol MethodCompleteTransferWithRelay

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2023-12-22 17:50:38 -03:00
ftocal 076338f63c
Add quic-v1 support in testnet (#927)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2023-12-20 15:10:30 -03:00
ftocal c23909348a
Add bootstrap peers in mainnet environment (#925)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2023-12-19 15:56:40 -03:00
Matías Martínez c7016e5791
[Blockchain Watcher] move pods to be deployments (#923)
bw: move pods to be deployments
2023-12-19 14:57:51 -03:00
ftocal 7f60e81b3e
Fallback metrics endpoint (#921)
Add to cache without expiration.
Increase expiration to fetch data from influx to 10 minute. After 10 minute we update the data to influx is the response is success, if the response is not success we return the old data in the cache without expiration.
Add alert when return metrics endpoint using cache that are expired.

Co-authored-by: walker-16 <agpazos85@gmail.com>
2023-12-19 12:24:58 -03:00
ftocal fba3adef65
Add api key logic to handle rate limit in api (#918) 2023-12-18 12:53:30 -03:00
ftocal 1c075e3745
Add worker pool to process observations from gossip network (#909)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2023-12-18 10:41:07 -03:00
Matías Martínez 6d8b3c4bf2
[blockchain watcher] skip no txs block (#912)
skip no txs block
2023-12-14 17:12:15 -03:00
Matías Martínez 2816cf8bfe
[blockchain watcher] configure fantom rpc (#911)
configure fantom rpc
2023-12-14 15:00:17 -03:00
walker-16 155e4c925c
Add fields int the relay endpoint (#905)
Co-authored-by: ftocal fert1335@gmail.com
2023-12-14 14:21:37 -03:00
Matías Martínez 0b96f2e7cf
[Blockchain Watcher] Config for base rpc (#907)
config for base rpc
2023-12-13 16:21:43 -03:00
Matías Martínez 69849df211
[Solana] Remove transfer redeemed jobs in solana (#906)
Remove transfer redeemed job
2023-12-13 15:49:01 -03:00
Julian b60936cf9e
[Blockchain Watcher] (EVM) Add polygon chain (#902)
* feature-826/enable-evm-arbitrum-chain

* Improve arbitrum implementation

* Add removeDuplicates method and divide blocks into testnet and mainnet

* Delete findAssociatedL1Block method

* feature-826/enable-evm-moonbeam-chain

* Improve result

* Add max attempts

* Add job

* Mapped in custom-env

* Add test

* Add configMock

* Resolve comment in PR

* Resolve comment in PR

* Resolve comment in PR

* Resolve test

* Define variables inside the object

* change interval value in testnet

* Add equal attempts to maxAttempts

* feature-826/enable-evm-polygon-chain

* Resolve main conflict

* Resolve main repositoriesBuilder

* Improve mainnet url

* Change default url

* Mapped finalized flow

* Resolve comment in PR

* change cfg to protected

---------

Co-authored-by: Julian Merlo <julianmerlo@MacBook-Pro-de-Julian.local>
Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2023-12-13 15:09:33 -03:00
Matías Martínez e2884690e1
[Blockchain watcher] TransferRedeemed/Delivery events for evm (#844)
* 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 evm transfer redeemed parsing

* adding standard relayers delivery event

* adding to runtime

* remove redeem job handlers for now

* [Blockchain watcher] Transfer redeemed events for Solana (#855)

* solana transfer redeemed evt

* pr comments

* missine prop in evt example

* support for complete transfers with payload

* add solana redeem example

* fixing err message
2023-12-12 16:55:09 -03:00
kev1n-peters 33319a7800
Added Portico contracts to watchers (#884)
Co-authored-by: Kevin Peters <kevin@wormholelabs.xyz>
Co-authored-by: walker-16 <agpazos85@gmail.com>
2023-12-12 16:12:53 -03:00
ftocal 7992f76e56
Improve tx tracker logic without internal retries (#890)
* Improve tx tracker logic without internal retries

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

* Add message attribute in pipeline sns

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

---------

Co-authored-by: walker-16 <agpazos85@gmail.com>
2023-12-12 15:46:00 -03:00
Julian 04674745c2
[Blockchain Watcher] (EVM) Fix moonbeam process (#900)
Improve sleepTime and isBlockFinalized value
2023-12-12 12:29:36 -03:00
Julian a4bf43c17e
[Blockchain Watcher] (EVM) Add moonbeam chain (#886)
* feature-826/enable-evm-arbitrum-chain

* Improve arbitrum implementation

* Add removeDuplicates method and divide blocks into testnet and mainnet

* Delete findAssociatedL1Block method

* feature-826/enable-evm-moonbeam-chain

* Improve result

* Add max attempts

* Add job

* Mapped in custom-env

* Add test

* Add configMock

* Resolve comment in PR

* Resolve comment in PR

* Resolve comment in PR

* Resolve test

* Define variables inside the object

* change interval value in testnet

* Add equal attempts to maxAttempts

* Add timers/promises to sleep function

* Run prettier

---------

Co-authored-by: Julian Merlo <julianmerlo@MacBook-Pro-de-Julian.local>
2023-12-12 10:27:30 -03:00
Julian 9d20a63630
[Blockchain Watcher] (EVM) Add arbitrum chain (#878)
* feature-826/enable-evm-arbitrum-chain

* Improve arbitrum implementation

* Add removeDuplicates method and divide blocks into testnet and mainnet

* Delete findAssociatedL1Block method

* Resolve comment in PR

* Resolve test

* Mapped MetadaRepository

* Run prettier

* Rename test

* Resolve test

* Improve persistedBlocks instance

---------

Co-authored-by: Julian Merlo <julianmerlo@MacBook-Pro-de-Julian.local>
2023-12-11 19:11:42 -03:00
ftocal cff86e4469
Add top-symbols-by-volume endpoint and influx tasks (#887) 2023-12-11 14:32:25 -03:00
ftocal 6edd3c4711
Ignore vaa from near in tx-tracker (#883)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2023-12-11 10:16:06 -03:00
ftocal a4b4e90fd7
Handle missing txhHash in vaa in vaas endpoint (#880)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2023-12-07 14:52:20 -03:00
ftocal cbdd72ec9c
Process missing txHash in tx-tracker (#866)
Improve event processing in tx-tracker
Add new prometheus metrics
Handle vaa without txHash from gossip flow
Fix for already message processed
Change rpc endpoints and rate limit for tx-tracker

Co-authored-by: walker-16 <agpazos85@gmail.com>
2023-12-07 11:06:48 -03:00
Julian 630a63c3b7
[Blockchain Watcher] (EVM) Add bsc chain (#861)
* [Blockchain Watcher] feature-826/enable-evm-bsc-chain

* Add bsc test and pod

* Remove bad changes

* Resolve comment in PR

* Resolve comment in PR

* Remove supportedChains config

* [Blockchain Watcher] Retries and timeout cfg for evm (#865)

retries and timeout cfg for evm

---------

Co-authored-by: Julian Merlo <julianmerlo@MacBook-Pro-de-Julian.local>
Co-authored-by: Matías Martínez <131624652+mat1asm@users.noreply.github.com>
2023-12-06 13:07:14 -03:00
fulldegen1 44b818cf1c
Fix typos (#836)
docs: fix typos
2023-12-06 11:02:26 -03:00
Julian 162a9fe5d9
Update base mainnet rpcs url (#859)
* Update base mainnet rpcs url

* Rename pull request template

---------

Co-authored-by: Julian Merlo <julianmerlo@MacBook-Pro-de-Julian.local>
2023-12-05 15:38:59 -03:00
Julian a228c28b3d
[Blockchain Watcher](EVM) Add celo chain (#856)
* feature-798/enable-evm-celo-chain

* Run prettier

* feature-798/enable-evm-oasis-chain

* Resolve comment

* [Blockchain Watcher](EVM) Add oasis chain (#857)

* feature-798/enable-evm-oasis-chain

* Change commitment value

* [Blockchain Watcher](EVM) Add Klaytn chain (#858)

* feature-798/enable-evm-klaytn-chain

* Run prettier

* Resolve comment

* Resolve comment

* Change network name

---------

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

---------

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

* Improve package runners

---------

Co-authored-by: Julian Merlo <julianmerlo@MacBook-Pro-de-Julian.local>
2023-12-05 12:49:19 -03:00
Julian b6e3b00d54
[Blockchain Watcher](EVM) Validate undefined log map (#854)
* fix-853/validate-undefined-log-map

* Improve test name

---------

Co-authored-by: Julian Merlo <julianmerlo@MacBook-Pro-de-Julian.local>
2023-12-05 09:34:25 -03:00
walker-16 984fb748d8
operation endpoint remove q query param, add address and txHash query… (#852)
operation endpoint remove q query param, add address and txHash query params
2023-12-04 16:33:38 -03:00
ftocal af5bd3017f
Handle native tx hash for solana when receive event from blockchain-watcher (#851) 2023-12-04 16:29:38 -03:00
ftocal 2488da74aa
Add support to handle multiple signature for an address in solana (#850)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2023-12-04 15:30:16 -03:00
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
ftocal 3dcd21b0c4
Improve solana performance in contract-watcher (#845) 2023-12-04 10:56:56 -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