From 61bca5cb4f2ecc1928ebc8271c9acc9f25ac0412 Mon Sep 17 00:00:00 2001 From: dtfiedler Date: Wed, 3 Jul 2024 17:36:32 -0600 Subject: [PATCH] fix(io): default the IO process to use testnet This will avoid issues with clients using the newest AO implementation by default --- src/common/io.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/io.ts b/src/common/io.ts index 8d84a754..ca3e5bb9 100644 --- a/src/common/io.ts +++ b/src/common/io.ts @@ -16,7 +16,7 @@ */ import Arweave from 'arweave'; -import { ioDevnetProcessId } from '../constants.js'; +import { IO_TESTNET_PROCESS_ID } from '../constants.js'; import { ArNSReservedNameData, EpochDistributionData, @@ -93,7 +93,7 @@ export class IOReadable implements AoIORead { constructor(config?: ProcessConfiguration, arweave = Arweave.init({})) { if (!config) { this.process = new AOProcess({ - processId: ioDevnetProcessId, + processId: IO_TESTNET_PROCESS_ID, }); } else if (isProcessConfiguration(config)) { this.process = config.process;