Summary
The deploy signing-failure pattern is duplicated under two names:
contracts/invoke-contract.ts:12 — INVOKE_SIGNING_FAILURE_REGEX
stellar-cli/recover-deploy-contract-id.ts:8 — DEPLOY_SIGNING_FAILURE_REGEX
Both are /xdr processing error: xdr value invalid/i.
Why it matters
The "22.x signing bug" message and the deploy-recovery path can silently disagree on which failures match, and a fix must be applied in two places.
Suggested fix
Define a single exported constant and reuse it in both modules.
Priority: Low | Release impact: Patch | Breaking: No
Summary
The deploy signing-failure pattern is duplicated under two names:
contracts/invoke-contract.ts:12—INVOKE_SIGNING_FAILURE_REGEXstellar-cli/recover-deploy-contract-id.ts:8—DEPLOY_SIGNING_FAILURE_REGEXBoth are
/xdr processing error: xdr value invalid/i.Why it matters
The "22.x signing bug" message and the deploy-recovery path can silently disagree on which failures match, and a fix must be applied in two places.
Suggested fix
Define a single exported constant and reuse it in both modules.
Priority: Low | Release impact: Patch | Breaking: No