Quantcast
Channel: Recent Questions - Solana Stack Exchange
Viewing all articles
Browse latest Browse all 7869

Publishing a new crate

$
0
0

I cloned the solana repo and made a new crate that is an exact clone of solana-client just to learn how to publish a new crate. I renamed it and when I try to publish it I am gettingerror: failed to verify package tarball

Caused by:failed to select a version for the requirement solana_rbpf = "=0.8.1"candidate versions found which didn't match: 0.8.5, 0.8.4, 0.8.3, ...location searched: crates.io indexrequired by package solana-program-runtime v2.0.0... which satisfies dependency solana-program-runtime = "=2.0.0" of package solana-vote-program v2.0.0... which satisfies dependency solana-vote-program = "=2.0.0" of package solana-rpc-client v2.0.0... which satisfies dependency solana-rpc-client = "=2.0.0" of package solana-client-test v2.0.0 (~/projects/solana/target/package/solana-client-test-2.0.0)perhaps a crate was updated and forgotten to be re-vendored?

I am confused because it uses all of the same versions as the actual solana-client, so I am trying to understand how this works. solana_rbpf 0.8.1 was yanked which explains why this error appears but if that's the case how are any changes to solana-client ever published, I would imagine you would see the same error?

Thanks!


Viewing all articles
Browse latest Browse all 7869

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>