Skip to content

core: deploy signing-failure regex duplicated (INVOKE_SIGNING_FAILURE_REGEX vs DEPLOY_SIGNING_FAILURE_REGEX) #149

Description

@Dione-b

Summary

The deploy signing-failure pattern is duplicated under two names:

  • contracts/invoke-contract.ts:12INVOKE_SIGNING_FAILURE_REGEX
  • stellar-cli/recover-deploy-contract-id.ts:8DEPLOY_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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave programarea: contractsDeploy, upgrade, invoke, contract logicenhancementNew feature or requestpriority: lowLow priority fix - tech debt or minor consistency

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions