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:
@@ -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"] }
|
||||
|
||||
Reference in New Issue
Block a user