diff --git a/blockchain-watcher/src/infrastructure/repositories/RepositoriesBuilder.ts b/blockchain-watcher/src/infrastructure/repositories/RepositoriesBuilder.ts index 80056d98..efc666b0 100644 --- a/blockchain-watcher/src/infrastructure/repositories/RepositoriesBuilder.ts +++ b/blockchain-watcher/src/infrastructure/repositories/RepositoriesBuilder.ts @@ -14,6 +14,7 @@ import { } from "."; import { HttpClient } from "../rpc/http/HttpClient"; import { JobRepository } from "../../domain/repositories"; +import { ArbitrumEvmJsonRPCBlockRepository } from "./evm/ArbitrumEvmJsonRPCBlockRepository"; const SOLANA_CHAIN = "solana"; const EVM_CHAIN = "evm"; diff --git a/blockchain-watcher/src/infrastructure/repositories/evm/ArbitrumEvmJsonRPCBlockRepository.ts b/blockchain-watcher/src/infrastructure/repositories/evm/ArbitrumEvmJsonRPCBlockRepository.ts index 0325d7af..7f333c93 100644 --- a/blockchain-watcher/src/infrastructure/repositories/evm/ArbitrumEvmJsonRPCBlockRepository.ts +++ b/blockchain-watcher/src/infrastructure/repositories/evm/ArbitrumEvmJsonRPCBlockRepository.ts @@ -150,4 +150,4 @@ type BlockByNumberResult = { transactions: string[]; transactionsRoot: string; uncles: string[]; -}; \ No newline at end of file +}; diff --git a/blockchain-watcher/test/infrastructure/repositories/ArbitrumEvmJsonRPCBlockRepository.test.ts b/blockchain-watcher/test/infrastructure/repositories/ArbitrumEvmJsonRPCBlockRepository.test.ts index 81fe670f..a902c370 100644 --- a/blockchain-watcher/test/infrastructure/repositories/ArbitrumEvmJsonRPCBlockRepository.test.ts +++ b/blockchain-watcher/test/infrastructure/repositories/ArbitrumEvmJsonRPCBlockRepository.test.ts @@ -173,4 +173,4 @@ type PersistedBlock = { l2BlockNumber: number; }; -const blockHash = (blockNumber: bigint) => `0x${blockNumber.toString(16)}`; \ No newline at end of file +const blockHash = (blockNumber: bigint) => `0x${blockNumber.toString(16)}`; diff --git a/blockchain-watcher/test/infrastructure/repositories/BscEvmJsonRPCBlockRepository.test.ts b/blockchain-watcher/test/infrastructure/repositories/BscEvmJsonRPCBlockRepository.test.ts index a8405096..a70027a0 100644 --- a/blockchain-watcher/test/infrastructure/repositories/BscEvmJsonRPCBlockRepository.test.ts +++ b/blockchain-watcher/test/infrastructure/repositories/BscEvmJsonRPCBlockRepository.test.ts @@ -66,4 +66,4 @@ const givenBlockHeightIs = (height: bigint, commitment: EvmTag) => { }); }; -const blockHash = (blockNumber: bigint) => `0x${blockNumber.toString(16)}`; \ No newline at end of file +const blockHash = (blockNumber: bigint) => `0x${blockNumber.toString(16)}`;