From 9ea77aa2ae74ff6659e0174b9a09a3ff034fc50b Mon Sep 17 00:00:00 2001 From: igneum-labs <337424239+igneum-labs@users.noreply.github.com> Date: Tue, 6 Oct 2026 07:19:15 +0000 Subject: [PATCH] pc2-segments: the port probe sets the port before the call (the first run dialled an empty port and refused itself) Co-Authored-By: Claude Fable 5.1 --- tools/proving-v1/pc2-segments.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/proving-v1/pc2-segments.ps1 b/tools/proving-v1/pc2-segments.ps1 index 4944f3572..df040cf41 100644 --- a/tools/proving-v1/pc2-segments.ps1 +++ b/tools/proving-v1/pc2-segments.ps1 @@ -39,7 +39,7 @@ New-Item -ItemType Directory -Force -Path $job | Out-Null $jobStart = Get-Date "RESULT start $(Stamp) app_dir=$app base_len=$($base.Length) job=$job run_minutes=$RunMinutes" $evmPort = $null -foreach ($p in 26790, 26800, 26810) { if (Rpc 'igneum_getProvingStatus' @()) { $evmPort = $p; break } } +foreach ($p in 26790, 26800, 26810) { $evmPort = $p; if (Rpc 'igneum_getProvingStatus' @()) { break }; $evmPort = $null } if (-not $evmPort) { "RESULT refused $(Stamp) no node EVM RPC on 26790/26800/26810: $script:rpcErr"; exit 1 } # the app's miner (the signer) and its label, the payout address $mp = Get-CimInstance Win32_Process | Where-Object { $_.Name -like 'igneum-miner*' -and $_.CommandLine -like '* mine *' } | Select-Object -First 1