GenesysGo / shadow-drive-rust

Apache License 2.0
21 stars 13 forks source link

Update solana deps to 1.14.3 #28

Closed aspnxdd closed 1 year ago

aspnxdd commented 1 year ago

I think the solana-client dependency could be updated since it is 3 months old and some libraries that require new versions of tokio cant be run.

I was trying to build on shuttle and was getting this error image

Shuttle requires a tokio version > 1.21.*. While solana-client (v1.10.29) has a hard lock on tokio 1.14.1...

Probably the other solana deps in 1.10.29 could also be upgraded!

solana-client = "~1.10.29" solana-transaction-status = "~1.10.29" solana-account-decoder = "~1.10.29" solana-sdk = "~1.10.29"

VegetarianOrc commented 1 year ago

Hey there! Thanks for the suggestion!

Unfortunately this SDK relies on the Shadow Drive User Staking crate which depends on Anchor which in turn depends on a specific version of the Solana dependencies.

If/when the folks over at GenesysGo update to a new version of Anchor we'll revisit upgrading.