Commit Graph

6 Commits

Author SHA1 Message Date
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
Martin Picco 59705a5bad
Implement rpc pool library (#1085)
* Add rpc-pool dependency and make the minimum changes to make the codebase compatible with it

* Implement rpc provider pools for EVMs and Sui

* Implement rpc provider pools for Solana

* Adapt tests to new repo interfaces and constructors

* Fix tests

* Modify gh action to use the xlabs registry

* Mock rpc-pool module for tests

* Set up husky and pre commit hook to run prettier

* Bump rpc-pool

* Expand default mainnet rpc configs

* Add link-staged to run prettier for staged files

* prettier config

* Address PR comments

* Add bsc rpc node

* fix rpc configs
2024-02-07 16:50:05 -03:00
Julian 3a715d7e29
[Blockchain Watcher] (ARBITRUM AND OPTIMISM) Mapped token bridge redeemed (#999)
* Add job and map methodName

* Run prettier

* Add check time, change job execution time and logs

* Rename log

* tolowercase address

* Rename populateTransactions name

* Reformat code, remove VAA information inside origin tx

* Add log in mapper

* Resolve comment in PR

* Improve mappedVaaInformation name

* Add log about transaction

* Resolve comment in PR

* Improve mappedVaaInformation code

* Run prettier

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-01-22 11:04:02 -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