Skip to content

Commit

Permalink
fix(io): default the IO process to use testnet
Browse files Browse the repository at this point in the history
This will avoid issues with clients using the newest AO implementation by default
  • Loading branch information
dtfiedler committed Jul 3, 2024
1 parent 3b1a546 commit 61bca5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/io.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/
import Arweave from 'arweave';

import { ioDevnetProcessId } from '../constants.js';
import { IO_TESTNET_PROCESS_ID } from '../constants.js';
import {
ArNSReservedNameData,
EpochDistributionData,
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 61bca5c

Please sign in to comment.