diff --git a/e2e/packages/client-vanilla/src/mud/getNetworkConfig.ts b/e2e/packages/client-vanilla/src/mud/getNetworkConfig.ts index b5f06918e9..a74fde1085 100644 --- a/e2e/packages/client-vanilla/src/mud/getNetworkConfig.ts +++ b/e2e/packages/client-vanilla/src/mud/getNetworkConfig.ts @@ -28,7 +28,7 @@ export async function getNetworkConfig() { faucetServiceUrl: params.get("faucet") ?? chain.faucetUrl, worldAddress, initialBlockNumber, - indexerUrl: params.get("indexerUrl"), + indexerUrl: params.get("indexerUrl") ?? chain.indexerUrl, rpcHttpUrl: params.get("rpcHttpUrl"), }; } diff --git a/e2e/packages/client-vanilla/src/mud/setupNetwork.ts b/e2e/packages/client-vanilla/src/mud/setupNetwork.ts index ea404d4344..cfc42f9bac 100644 --- a/e2e/packages/client-vanilla/src/mud/setupNetwork.ts +++ b/e2e/packages/client-vanilla/src/mud/setupNetwork.ts @@ -38,7 +38,7 @@ export async function setupNetwork() { address: networkConfig.worldAddress as Hex, publicClient, startBlock: BigInt(networkConfig.initialBlockNumber), - indexerUrl: networkConfig.indexerUrl ?? undefined, + indexerUrl: networkConfig.indexerUrl, filters: Object.entries(mudConfig.tables).map(([, table]) => { const tableId = table.tableId; if (table.name === mudConfig.tables.Position.name) {