Skip to content

sp-core v39.0.0 broken: ark-vrf 0.1.x yanked from crates.io #11459

@shawntabrizi

Description

@shawntabrizi

Description

sp-core v39.0.0 (from polkadot-stable2512-2) depends on ark-vrf = "^0.1.0", but both 0.1.0 and 0.1.1 have been yanked from crates.io. This makes it impossible to resolve dependencies for any crate that transitively depends on sp-core.

Steps to reproduce

Any Cargo.toml using polkadot-stable2512-2 crate versions, e.g.:

[dependencies]
frame = { version = "0.14.0", package = "polkadot-sdk-frame" }
$ cargo build
error: failed to select a version for the requirement `ark-vrf = "^0.1.0"`
  version 0.1.0 is yanked
  version 0.1.1 is yanked
location searched: crates.io index
required by package `sp-core v39.0.0`
    ... which satisfies dependency `sp-core = "^39.0.0"` of package `polkadot-sdk-frame v0.14.0`

Notes

  • ark-vrf 0.2.2 exists on crates.io but doesn't satisfy the ^0.1.0 semver range
  • The source repo (davxy/ark-vrf) still has the v0.1.0 tag, so [patch.crates-io] with a git reference works as a workaround
  • This blocks anyone starting a new project with polkadot-stable2512-2 published crates (no existing Cargo.lock to pin the yanked version)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions