You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(heads.length<2)thrownewConnectivityDegradedError('Replacement reconciliation requires at least two available independent RPC endpoints')
132
+
if(heads.length<rpcQuorumRequirement())thrownewConnectivityDegradedError('Replacement reconciliation does not satisfy the configured RPC quorum requirement')
if(settings.runtime.execute&&settings.connectivity.quorumRpcUrls.length<2)thrownewError('Live execution requires at least two independent quorum RPCs (three read endpoints total)')
336
+
if(settings.runtime.execute&&settings.connectivity.quorumRpcUrls.length<configuredQuorumRpcUrlMinimum())thrownewError('Live execution requires at least two independent quorum RPCs (three read endpoints total)')
335
337
if(settings.runtime.execute&&settings.deployment.securityPoolFactory===getAddress('0x0000000000000000000000000000000000000000'))thrownewError('Live execution requires a deployed security-pool factory')
336
338
if(settings.runtime.execute&&settings.deployment.weth===getAddress('0x0000000000000000000000000000000000000000'))thrownewError('Live execution requires a deployed WETH contract')
337
339
if(settings.runtime.execute&&settings.deployment.zoltar===getAddress('0x0000000000000000000000000000000000000000'))thrownewError('Live execution requires a deployed Zoltar contract')
if(settings.networkConfigured&&network.chainId!==settings.network.chainId)thrownewError('Use a separate operator configuration and durable state file to change chains')
25
-
if(settings.runtime.execute&&quorumRpcUrls.length<2)thrownewError('Live execution requires at least two independent quorum RPCs (three read endpoints total)')
26
+
if(settings.runtime.execute&&quorumRpcUrls.length<configuredQuorumRpcUrlMinimum())thrownewError('Live execution requires at least two independent quorum RPCs (three read endpoints total)')
if(blocks.length<2)thrownewConnectivityDegradedError(`Transaction ${intent.hash} recovery requires at least two available independent RPC endpoints`)
119
+
if(blocks.length<rpcQuorumRequirement())thrownewConnectivityDegradedError(`Transaction ${intent.hash} recovery does not satisfy the configured RPC quorum requirement`)
if(heads.length<2)thrownewConnectivityDegradedError(`Staged operation ${pending.operationId.toString()} recovery requires at least two available independent RPC endpoints`)
154
+
if(heads.length<rpcQuorumRequirement())thrownewConnectivityDegradedError(`Staged operation ${pending.operationId.toString()} recovery does not satisfy the configured RPC quorum requirement`)
154
155
consttoBlock=heads.reduce((minimum,head)=>(head<minimum ? head : minimum))
thrownewConnectivityDegradedError(`${label} requires at least two available independent RPC endpoints${failures.length===0 ? '' : `: ${failures.join('; ')}`}`)
12
+
thrownewConnectivityDegradedError(`${label} requires at least ${requirement===1 ? 'one available RPC endpoint' : 'two available independent RPC endpoints'}${failures.length===0 ? '' : `: ${failures.join('; ')}`}`)
0 commit comments