Skip to content

Pin stellar-strkey in scaffolded templates to prevent mixed 0.0.13/0.0.16 dependency graphs#525

Open
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-stellar-strkey-versions
Open

Pin stellar-strkey in scaffolded templates to prevent mixed 0.0.13/0.0.16 dependency graphs#525
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-stellar-strkey-versions

Conversation

Copilot AI commented May 23, 2026

Copy link
Copy Markdown
Contributor

Scaffolded projects were inheriting a mixed stellar-strkey graph (0.0.13 via stellar-xdr/soroban-env-* and 0.0.16 via soroban-sdk), recreating the duplicate-crate pattern previously addressed in the main workspace. This change ensures newly initialized templates explicitly align on the same stellar-strkey pin used by scaffold tooling.

  • Template dependency alignment in init

    • Added a post-clone Cargo.toml patch step in stellar-scaffold init to enforce:
      • workspace.dependencies.stellar-strkey = "0.0.15"
    • Implemented via a focused helper that creates/updates [workspace.dependencies] safely.
  • Fixture parity with generated template behavior

    • Updated the soroban-init-boilerplate fixture workspace manifest to include the same stellar-strkey pin, keeping test fixture behavior consistent with generated projects.
  • Targeted unit coverage for manifest patching

    • Added unit tests for:
      • inserting the pin when missing
      • updating an existing outdated pin
[workspace.dependencies]
soroban-sdk = "23.4.0"
soroban-token-sdk = "23.2.1"
stellar-strkey = "0.0.15"

Copilot AI changed the title [WIP] Fix duplicate versions of stellar-strkey in template builds Pin stellar-strkey in scaffolded templates to prevent mixed 0.0.13/0.0.16 dependency graphs May 23, 2026
Copilot AI requested a review from willemneal May 23, 2026 03:34
@willemneal willemneal marked this pull request as ready for review May 27, 2026 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Two versions of stellar-strkey (0.0.13 + 0.0.16) compiled into template builds

2 participants