wormhole-explorer/blockchain-watcher/test/infrastructure/repositories
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
..
ArbitrumEvmJsonRPCBlockRepository.test.ts [Blockchain Watcher] (EVM) Add arbitrum chain (#878) 2023-12-11 19:11:42 -03:00
BscEvmJsonRPCBlockRepository.test.ts [Blockchain Watcher] (EVM) Add arbitrum chain (#878) 2023-12-11 19:11:42 -03:00
EvmJsonRPCBlockRepository.integration.test.ts [Blockchain Watcher] (EVM) Change evm redeemed transaction mapper (#1034) 2024-01-24 12:29:23 -03:00
FileMetadataRepo.test.ts [Blockchain Watcher] (EVM) Add arbitrum chain (#878) 2023-12-11 19:11:42 -03:00
MoonbeamEvmJsonRPCBlockRepository.test.ts [Blockchain Watcher] (EVM) Add moonbeam chain (#886) 2023-12-12 10:27:30 -03:00
RateLimitedSolanaSlotRepository.test.ts [Blockchain Watcher] Emit LogMessagePublished for Solana (#809) 2023-11-30 12:05:43 -03:00
RepositoriesBuilder.test.ts [Blockchain Watcher] (SUI) Initial implementation for Sui through polling (#1054) 2024-02-02 12:35:52 -03:00
SnsEventRepository.test.ts [Blockchain Watcher] Initial version (#806) 2023-11-28 16:00:45 -03:00
StaticJobRepository.test.ts [Blockchain Watcher] (SUI) Initial implementation for Sui through polling (#1054) 2024-02-02 12:35:52 -03:00
SuiJsonRPCBlockRepository.test.ts [Blockchain Watcher] (SUI) Initial implementation for Sui through polling (#1054) 2024-02-02 12:35:52 -03:00
Web3SolanaSlotRepository.test.ts [Blockchain Watcher] Emit LogMessagePublished for Solana (#809) 2023-11-30 12:05:43 -03:00