diff --git a/src/processor.ts b/src/processor.ts index 0550d63..325ef3e 100644 --- a/src/processor.ts +++ b/src/processor.ts @@ -8,6 +8,7 @@ import { Transaction as _Transaction, } from '@subsquid/evm-processor' import * as friendTechAbi from './abi/friendTechAbi' +import { assertNotNull } from '@subsquid/util-internal' export const FRIENDTECH_CONTRACT = '0xCF205808Ed36593aa40a44F10c7f7C2F67d4A4d4'.toLowerCase() @@ -15,7 +16,7 @@ export const processor = new EvmBatchProcessor() .setDataSource({ archive: lookupArchive('base-mainnet'), chain: { - url: process.env.RPC_BASE_HTTP, + url: assertNotNull(process.env.RPC_BASE_HTTP), rateLimit: 10, } })