Skip to content

Commit 887616c

Browse files
committed
refactor: Replace viem sepolia default http by Ankr rpc.
1 parent 6d6bb2a commit 887616c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export const getConfig = (chainId: number): ProcessorConfig => {
6464
rpcEndpoint: {
6565
url:
6666
process.env[RPC_URL] ??
67-
sepolia.rpcUrls.default.http[0],
67+
'https://rpc.ankr.com/eth_sepolia',
6868
},
6969
},
7070
from: Math.min(

tests/processor.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ describe('Processor creation', () => {
6565
});
6666

6767
expect(processor.setRpcEndpoint).toHaveBeenCalledWith({
68-
url: 'https://rpc.sepolia.org',
68+
url: 'https://rpc.ankr.com/eth_sepolia',
6969
});
7070

7171
expect(processor.setFinalityConfirmation).toHaveBeenCalledWith(10);

0 commit comments

Comments
 (0)