diff --git a/account-compression/Cargo.lock b/account-compression/Cargo.lock index 4ad012b4ab3..b62f3b8d5e4 100644 --- a/account-compression/Cargo.lock +++ b/account-compression/Cargo.lock @@ -145,6 +145,7 @@ dependencies = [ "anchor-derive-accounts", "anchor-derive-serde", "anchor-derive-space", + "anchor-syn", "arrayref", "base64 0.13.0", "bincode", diff --git a/account-compression/programs/account-compression/Cargo.toml b/account-compression/programs/account-compression/Cargo.toml index 6aac624cf76..f3398be4909 100644 --- a/account-compression/programs/account-compression/Cargo.toml +++ b/account-compression/programs/account-compression/Cargo.toml @@ -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 "] repository = "https://github.com/solana-labs/solana-program-library" @@ -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" } diff --git a/account-compression/programs/account-compression/src/state/concurrent_merkle_tree_header.rs b/account-compression/programs/account-compression/src/state/concurrent_merkle_tree_header.rs index 29c0a38f71c..cbe2ce0161f 100644 --- a/account-compression/programs/account-compression/src/state/concurrent_merkle_tree_header.rs +++ b/account-compression/programs/account-compression/src/state/concurrent_merkle_tree_header.rs @@ -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: