Commit Graph

49 Commits

Author SHA1 Message Date
julian merlo 827e34366f Divided evm tx in batchs 2024-02-15 11:00:19 -03:00
julian merlo ff39767e76 Improve logger 2024-02-14 11:14:25 -03:00
julian merlo aae76c3617 Remove fantom rpc 2024-02-14 10:17:35 -03:00
julian merlo 969cae4534 Improve log and remove rpc for ethereum 2024-02-14 10:10:19 -03:00
julian merlo 4fb7d9d86e Add params for client 2024-02-12 16:53:47 -03:00
julian merlo 548797f60a Remove params for client 2024-02-12 16:49:10 -03:00
julian merlo d12ef9b3a0 Improve names 2024-02-12 16:34:59 -03:00
julian merlo 69a2067111 Resolve conflict 2024-02-12 16:25:50 -03:00
Julian ca8a5da9cf
[Blockchain Watcher] (FIX) Add content type header (#1114)
* Add  content type header

* Remove rcp for arbitrum

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-02-12 16:25:01 -03:00
julian merlo e9be36bfd6 Add retry for evm and sui 2024-02-12 16:24:35 -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 61c5f3e29d
[Blockchain Watcher] (FIX) Rename pods files (#1082)
* Rename pods

* Improve solana log

* Fix pods

* Resolve comment in PR

* Resolve comment in PR

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-02-06 18:10:12 -03:00
Martin Picco 49c594c5c7
[Blockchain Watcher] (SUI) Add missing metric for sui txs handler (#1080)
* Add metric for sui txs handler

* Apply prettier
2024-02-02 16:12:41 -03:00
Martin Picco e2025ee6ee
[Blockchain Watcher] (SUI) Initial implementation for Sui through polling (#1054)
* Initial implementation for Sui through block polling

* PollSui: add check for when the cursor reaches the latest (no new checkpoints to process)

* Change types for poll sui config from/to range

* coverage for sui rpc repo

* Add test for PollSui batchSize param

* Apply prettier

* Upgrade typescript and tsx dev deps

* Remove commented code

* Address some review comments

* Add SuiPollTransactions source

* Fix divideIntoBatches types

* Apply prettier

* Fix cursor issue when no configured range. Add test to mapper

* Remove PollSuiCheckpoints

* Query transactions by event instead of by called module in order to catch both transfers with and without payload

* Remove unusued GetSuiTransactions action

* Address some review comments

* Address review comments. Go back to using queryTransactions instead of events (querying by events would mean losing failed redeems)

* Allow undefined filter

* Add sui job to deployments

* Fix job target

* Split sui job into two with different filters: one for complete_transfer and another for complete_transfer_with_payload. This will speed up the processing of both cases

* Fix sui jobs mainnet/testnet mix up

* Fix prometheus issue

* run prettier

* Fix message blockTime for sui transfer-redeemed event

* Add asyncdoc entry for new event transfer-redeemed

* Add missing channel to asyncapi
2024-02-02 12:35:52 -03:00
Julian faa4a8db33
[Blockchain Watcher] (ALL) Add metrics (#1074)
* Add metrics

* Resolve test

* Resolve test

* Mapped source and target event for solana

* Resolve comment in PR

* Improve metric name

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-02-02 12:23:00 -03:00
Julian 760b7925d6
[Blockchain Watcher] (SOLANA) Enable solana redeem for token bridge (#1075)
* Enable solana redeem

* Resolve test

* Remove log

* Add CompleteNativeWithPayloadInstruction and CompleteWrappedWithPayloadInstruction methods

* Resolve test

* Improve asyncapi docs

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-02-02 10:33:55 -03:00
Julian 54c5d34a6e
[Blockchain Watcher] (FIX) Add lowecasse in contracts addresses (#1063)
* Add lowecasse

* Improve transaction filter

* Run prettier

* Resolve test

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-01-30 14:22:41 -03:00
Julian 5e6b96417a
[Blockchain Watcher] (CHAINS) Create config json for contracts and protocols (#1056)
* Create contractsMapperConfig json

* Create contracts json mapper

* Change method name in solana redeem

* Improve mapper validations

* Resolve solana test

* Set up config inside solana tx

* Resolve solana test

* Resolve solana test

* Resolve comment in PR

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-01-30 12:19:44 -03:00
Julian 59c2de9d0c
[Blockchain Watcher] (SOLANA) Mapped new attributes in solana redeem (#997)
* Rename and add new attributes

* Remove comment

* Resolve comment in PR

* Run prettier

* Resolve solana test

* Remove name in method mapper

* Run prettier

* Improve mapper method

* Remove toString in method mapper

* Resolve test error

* Resolve comment in PR

* Resolve comment in PR

* Revert name changes

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-01-29 09:16:04 -03:00
Julian 13ec7846c0
[Blockchain Watcher] (FIX) Fix quantity logs process per block (#1044)
* Add divided blocks method in getBlocks

* Run prettier

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-01-26 09:04:04 -03:00
Julian 5744e25495
[Blockchain Watcher] (EVM) Change evm redeemed transaction mapper (#1034)
* Change evm redeemed transaction mapper

* Run prettier

* Create batch for getTransactionReceipt

* Run prettier

* Move batches logic inside repository

* Resolve comment in PR

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-01-24 12:29:23 -03:00
Julian c6b77d0bf3
[Blockchain Watcher] (EVM) Add sepolia support for testnet env (#1016)
* Add sepolia support for testnet env

* Add test

* Pull to main branch

* Change interval value for arbitrum

* Improve network name

* Mapped url correctly

* Resolve comment in Pr

* Mapped base-sepolia address

* Set public rpc in default url

* Mapped correctly base address

---------

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-01-24 11:12:26 -03:00
Julian 3d347ac84e
[Blockchain Watcher] (EVM)[FIX] Mapped all blocks inside transactions for (#1019)
Mapped all blocks

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-01-23 11:08:37 -03:00
Julian 2be52daa6f
[Blockchain Watcher] (EVM) Replace public url in mainnet (#1017)
Replace mainnet url

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
2024-01-23 09:00:36 -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
Matías Martínez 6393e08f11
bw: remove ankr public nodes usage (#1008) 2024-01-19 15:14:49 -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
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
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
Matías Martínez 0b96f2e7cf
[Blockchain Watcher] Config for base rpc (#907)
config for base rpc
2023-12-13 16:21:43 -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
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
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
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