Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mucho install downgrades Anchor from 0.30.1 to 0.30.0 #31

Closed
beeman opened this issue Jan 17, 2025 · 1 comment · Fixed by #39
Closed

mucho install downgrades Anchor from 0.30.1 to 0.30.0 #31

beeman opened this issue Jan 17, 2025 · 1 comment · Fixed by #39
Labels
bug Something isn't working

Comments

@beeman
Copy link

beeman commented Jan 17, 2025

When I run mucho install, the version of Anchor gets downgraded to 0.30.0. I think it would be good that mucho install would get me to the latest release of anchor.

$ avm use latest  
Now using anchor version 0.30.1.
$ mucho install   
 Install Solana development tooling 
ℹ mucho 0.4.1 is already installed
ℹ rust 1.79.0 is already installed
ℹ solana 2.0.2 is already installed
ℹ avm 0.30.0 is already installed - update available
✔ anchor 0.30.0 installed using avm
ℹ trident 0.8.0 is already installed - v0.9.0 available
ℹ zest 0.1.0 is already installed - update available
ℹ solana-verify 0.2.1 is already installed - v0.4.1 available
ℹ yarn 1.22.2 is already installed
$ anchor --version
anchor-cli 0.30.0
@nickfrosty
Copy link
Member

thanks for the bug report! I will look into this
i suspect that mucho is simply matching your anchor version to the already installed avm version. which obviously seems foolish.

im not sure i agree with it auto updating to the latest version of anchor, since devs might want to be using specific anchor versions. if it did auto update, i think updating avm to latest would be more appropriate

PS: a future planned feature will enable mucho to help facilitate updating all the tools. possibly in mucho install or mucho update or something

@nickfrosty nickfrosty added the bug Something isn't working label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants