Skip to content

Commit

Permalink
spl: Update dependencies to their latest versions (#2657)
Browse files Browse the repository at this point in the history
  • Loading branch information
acheroncrypto authored Oct 12, 2023
1 parent dcafb78 commit 6cf2004
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 58 deletions.
65 changes: 11 additions & 54 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lang/syn/src/codegen/accounts/constraints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1118,7 +1118,7 @@ fn generate_get_token_account_space(mint: &Expr) -> proc_macro2::TokenStream {
let mint_state = StateWithExtensions::<Mint>::unpack(&mint_data)?;
let mint_extensions = mint_state.get_extension_types()?;
let required_extensions = ExtensionType::get_required_init_account_extensions(&mint_extensions);
ExtensionType::get_account_len::<Account>(&required_extensions)
ExtensionType::try_calculate_account_len::<Account>(&required_extensions)?
} else {
::anchor_spl::token::TokenAccount::LEN
}
Expand Down
6 changes: 3 additions & 3 deletions spl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ borsh = { version = ">=0.9, <0.11", optional = true }
mpl-token-metadata = { version = "3.1.0", optional = true }
serum_dex = { git = "https://github.com/openbook-dex/program/", rev = "1be91f2", version = "0.4.0", features = ["no-entrypoint"], optional = true }
solana-program = ">=1.16, <1.18"
spl-associated-token-account = { version = "^1.1", features = ["no-entrypoint"], optional = true }
spl-token = { version = "3.5", features = ["no-entrypoint"], optional = true }
spl-token-2022 = { version = "0.6", features = ["no-entrypoint"], optional = true }
spl-associated-token-account = { version = "2.2", features = ["no-entrypoint"], optional = true }
spl-token = { version = "4", features = ["no-entrypoint"], optional = true }
spl-token-2022 = { version = "0.9", features = ["no-entrypoint"], optional = true }

1 comment on commit 6cf2004

@vercel
Copy link

@vercel vercel bot commented on 6cf2004 Oct 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

anchor-docs – ./

anchor-docs-git-master-200ms.vercel.app
anchor-docs-200ms.vercel.app
anchor-lang.com
www.anchor-lang.com

Please sign in to comment.