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

🐛 [BUG] - Examples are using outdated anchor-lang #278

Open
jiaxi-xu-fsx opened this issue Feb 23, 2025 · 1 comment
Open

🐛 [BUG] - Examples are using outdated anchor-lang #278

jiaxi-xu-fsx opened this issue Feb 23, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@jiaxi-xu-fsx
Copy link

jiaxi-xu-fsx commented Feb 23, 2025

Description

The example 'unchecked-arithmetic-0' has outdated 'anchor-lang' in cargo.toml. It should be anchor-lang = "0.30.1" instead of anchor-lang = "0.29.0"

Reproduction steps

1. Run 'anchor build'
2. See error

Reproduction URL

No response

Screenshots

Logs

anchor build
`anchor` 0.29.0 is not installed with `avm`. Installing...

    Updating git repository `https://github.com/coral-xyz/anchor`
    Updating git submodule `https://github.com/openbook-dex/program`
...

OS

Ubuntu 24.04

@jiaxi-xu-fsx jiaxi-xu-fsx added the bug Something isn't working label Feb 23, 2025
@lukacan
Copy link
Collaborator

lukacan commented Feb 23, 2025

Hello, this is intentional. Trident supports both version 29 and version 30. The error you are experiencing is not caused by Trident. You need to install version 0.29.0 first.

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

No branches or pull requests

2 participants