8000 1.17.22 becoming unusable due to yanked solana-program-runtime dependency · Issue #877 · orca-so/whirlpools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
1.17.22 becoming unusable due to yanked solana-program-runtime dependency #877
Open
@ttytm

Description

@ttytm

Below a reproduction example that attempts to use an Orca library, which I'm currently unable to utilize because it specifies solana-program-runtime = "=1.17.22" as a dependency. This, in turn, requires solana_rbpf = "=0.8.0", which has been yanked from crates.io.

Create a Cargo project, adding the aforementioned Orca library as a single dependency:

# Cargo.toml
# ...

[dependencies]
whirlpool-replayer = { git = "https://github.com/orca-so/whirlpool-tx-replayer", package = "whirlpool-replayer" }

Try to run the project:

❯ cargo run
    Updating git repository `https://github.com/orca-so/whirlpool-tx-replayer`
    Updating crates.io index
    Updating git repository `https://github.com/orca-so/whirlpools`
error: failed to select a version for the requirement `solana_rbpf = "=0.8.0"`
  version 0.8.0 is yanked
location searched: crates.io index
required by package `solana-program-runtime v1.17.22`
    ... which satisfies dependency `solana-program-runtime = "=1.17.22"` of pack
age `replay-engine v0.1.7 (https://github.com/orca-so/whirlpool-tx-replayer#ad95
5f63)`
    ... which satisfies git dependency `replay-engine` of package `whirlpool-rep
layer v0.1.7 (https://github.com/orca-so/whirlpool-tx-replayer#ad955f63)`
    ... which satisfies git dependency `whirlpool-replayer` of package `orca_rep
layer v0.1.0 (/home/t/Dev/Kitchensink/crypto/orca_replayer)`

Of course, adding the problematic dependency directly will also trigger the error. The above example just demonstrates how it affects one of the orca-so repositories.

[dependencies]
solana-program-runtime = "=1.17.22"
❯ cargo run
    Updating crates.io index
error: failed to select a version for the requirement `solana_rbpf = "=0.8.0"`
  version 0.8.0 is yanked
location searched: crates.io index
required by package `solana-program-runtime v1.17.22`
    ... which satisfies dependency `solana-program-runtime = "=1.17.22"` of package `orca_replayer v0.1.0 (/home/t/Dev/Kitchensink/cry
pto/orca_replayer)`

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

      0