Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wighawag committed Nov 25, 2023
1 parent aaaac83 commit fb27b3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ethereum-indexer-server/src/server/simple.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export class SimpleServer<ABI extends Abi, ProcessResultType> {
if (processorModule.contractsDataPerChain) {
let chainIDAsHex;
try {
chainIDAsHex = await eip1193Provider.request<string>({method: 'eth_chainId'});
chainIDAsHex = await eip1193Provider.request({method: 'eth_chainId'}) as `0x${string}`;
} catch (err) {
console.error(`could not fetch chainID`);
throw err;
Expand Down

0 comments on commit fb27b3e

Please sign in to comment.