Skip to content

Commit

Permalink
refactor: Replace viem sepolia default http by Ankr rpc.
Browse files Browse the repository at this point in the history
  • Loading branch information
brunomenezes committed Feb 1, 2024
1 parent 6d6bb2a commit 887616c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const getConfig = (chainId: number): ProcessorConfig => {
rpcEndpoint: {
url:
process.env[RPC_URL] ??
sepolia.rpcUrls.default.http[0],
'https://rpc.ankr.com/eth_sepolia',
},
},
from: Math.min(
Expand Down
2 changes: 1 addition & 1 deletion tests/processor.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ describe('Processor creation', () => {
});

expect(processor.setRpcEndpoint).toHaveBeenCalledWith({
url: 'https://rpc.sepolia.org',
url: 'https://rpc.ankr.com/eth_sepolia',
});

expect(processor.setFinalityConfirmation).toHaveBeenCalledWith(10);
Expand Down

0 comments on commit 887616c

Please sign in to comment.