Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit e3714a4

Browse files
authored
Fix cmt header enum type for new versions of anchor (#7305)
fix cmt header enum type for new versions of anchor
1 parent d11011a commit e3714a4

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

account-compression/Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

account-compression/programs/account-compression/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "spl-account-compression"
3-
version = "0.4.0"
3+
version = "0.4.1"
44
description = "Solana Program Library Account Compression Program"
55
authors = ["Solana Labs Maintainers <[email protected]>"]
66
repository = "https://github.com/solana-labs/solana-program-library"
@@ -18,7 +18,7 @@ cpi = ["no-entrypoint"]
1818
default = []
1919

2020
[dependencies]
21-
anchor-lang = "0.29.0"
21+
anchor-lang = { version = "0.29.0", features = ["idl-build"] }
2222
bytemuck = "1.13"
2323
solana-program = ">=1.18.11,<=2"
2424
spl-concurrent-merkle-tree = { version = "0.4.0", path = "../../../libraries/concurrent-merkle-tree" }

account-compression/programs/account-compression/src/state/concurrent_merkle_tree_header.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ impl std::fmt::Display for CompressionAccountType {
2424
}
2525
}
2626

27+
impl anchor_lang::IdlBuild for CompressionAccountType {}
28+
2729
/// Initialization parameters for an SPL ConcurrentMerkleTree.
2830
///
2931
/// Only the following permutations are valid:

0 commit comments

Comments
 (0)