Skip to content

Commit 242d1cc

Browse files
JeffreyDallasclaude
andcommitted
fix: use FILE (not FILE_ONLY) as blockStream.writerMode when no block node
FILE_ONLY is not a valid BlockStreamWriterMode enum value in CN v0.74; the correct value is FILE. Using FILE_ONLY caused CN to fail to become ACTIVE across all E2E tests. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Jeffrey Tang <jeffrey@swirldslabs.com>
1 parent f9e70fd commit 242d1cc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/core/profile-manager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -540,9 +540,9 @@ export class ProfileManager {
540540
fileText.split('\n'),
541541
);
542542

543-
// Without a block node, use FILE_ONLY to prevent the gRPC buffer from filling and stalling record file production.
543+
// Without a block node, use FILE to prevent the gRPC buffer from filling and stalling record file production.
544544
const streamMode: string = hasDeployedBlockNodes ? constants.BLOCK_STREAM_STREAM_MODE : 'RECORDS';
545-
const writerMode: string = hasDeployedBlockNodes ? constants.BLOCK_STREAM_WRITER_MODE : 'FILE_ONLY';
545+
const writerMode: string = hasDeployedBlockNodes ? constants.BLOCK_STREAM_WRITER_MODE : 'FILE';
546546

547547
let streamModeUpdated: boolean = false;
548548
let writerModeUpdated: boolean = false;

0 commit comments

Comments
 (0)