fix: update anchor to 0.30.1 and fix breaking changes

- anchor-lang: 0.29.0 -> 0.30.1
- anchor-spl: 0.29.0 -> 0.30.1
- solana-program: 1.16.20 -> 2.x (inferred from anchor-spl)
- Fix token_prog -> token_program naming
- Fix ctx.bumps access for Anchor 0.30.x API
- Update declare_id! with new vanity address

Build now passes successfully.
This commit is contained in:
2026-04-14 15:29:55 -04:00
parent 2e8260bc8c
commit 20d1f216a0
3 changed files with 250 additions and 1101 deletions
@@ -16,6 +16,5 @@ cpi = ["no-entrypoint"]
default = []
[dependencies]
anchor-lang = { version = "0.29.0", features = ["init-if-needed"] }
anchor-spl = { version = "0.29.0", features = ["metadata"] }
solana-program = "=1.16.20"
anchor-lang = { version = "0.30.1", features = ["init-if-needed"] }
anchor-spl = { version = "0.30.1", features = ["metadata"] }