fast-time key-succession harness: the carried-once check reads the RPC-first node's 'now carried by' line as well
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
c97de6a7f5
commit
3da14f7dc0
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ process.on('SIGINT', async () => { await stopAll(); process.exit(130); });
|
|||
process.on('unhandledRejection', async (e) => { log(`FAILED: ${e?.stack || e}`); await stopAll(); process.exit(3); });
|
||||
const minerLog = (name) => { try { return readFileSync(`${TMP}/${name}.log`, 'utf8').split('\n'); } catch { return []; } };
|
||||
const keyHash = (label) => (spawnSync(CPU_MINER, ['key-hash', label], { encoding: 'utf8' }).stdout || '').trim();
|
||||
const CARRIED_LINE = /hands its weight and its forfeit term to .* carried by/;
|
||||
const CARRIED_LINE = /hands its weight and its forfeit term to .*(carried by|now carried by)/;
|
||||
const LOCK_LINE = /Finality: checkpoint (\d+) LOCKED/;
|
||||
|
||||
const t0 = Date.now();
|
||||
|
|
|
|||
Loading…
Reference in a new issue