Skip to content

Re-enable cargo test in CI (stellar-xdr arbitrary mismatch) #78

@Miracle656

Description

@Miracle656

Summary

cargo test is currently disabled in .github/workflows/ci.yml because stellar-xdr 20.1.0 transitively expects arbitrary >= 1.4 (uses the details submodule and try_size_hint method) but our resolved arbitrary is 1.3.x, causing fresh CI builds to fail with E0433 / E0407.

Local works because cargo's incremental cache hides the issue.

Files

  • .github/workflows/ci.yml
  • contracts/Cargo.toml
  • contracts/Cargo.lock

Acceptance criteria

  • Choose one fix:
    • Add [patch.crates-io] arbitrary = "=1.4.x" to workspace Cargo.toml
    • Or upgrade soroban-sdk / stellar-xdr to a version with consistent arbitrary deps
    • Or add a Cargo.lock patch / yank pin
  • cargo test -p invisible-wallet -p factory passes on a clean CI runner
  • Re-enable the cargo test line in ci.yml
  • Document the fix in CHANGELOG.md

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions