Skip to content

Commit

Permalink
Fix cmt header enum type for new versions of anchor (#7305)
Browse files Browse the repository at this point in the history
fix cmt header enum type for new versions of anchor
  • Loading branch information
ngundotra authored Sep 25, 2024
1 parent d11011a commit e3714a4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions account-compression/Cargo.lock

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

4 changes: 2 additions & 2 deletions account-compression/programs/account-compression/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spl-account-compression"
version = "0.4.0"
version = "0.4.1"
description = "Solana Program Library Account Compression Program"
authors = ["Solana Labs Maintainers <[email protected]>"]
repository = "https://github.com/solana-labs/solana-program-library"
Expand All @@ -18,7 +18,7 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.29.0"
anchor-lang = { version = "0.29.0", features = ["idl-build"] }
bytemuck = "1.13"
solana-program = ">=1.18.11,<=2"
spl-concurrent-merkle-tree = { version = "0.4.0", path = "../../../libraries/concurrent-merkle-tree" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ impl std::fmt::Display for CompressionAccountType {
}
}

impl anchor_lang::IdlBuild for CompressionAccountType {}

/// Initialization parameters for an SPL ConcurrentMerkleTree.
///
/// Only the following permutations are valid:
Expand Down

0 comments on commit e3714a4

Please sign in to comment.