diff --git a/CHANGELOG.md b/CHANGELOG.md index aabbf40ed9..b550d14a92 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,7 @@ The minor version will be incremented upon a breaking change and the patch versi - syn: Fix IDL constant seeds parsing ([#2699](https://github.com/coral-xyz/anchor/pull/2699)). - cli: Display errors if toolchain override restoration fails ([#2700](https://github.com/coral-xyz/anchor/pull/2700)). - cli: Fix commit based `anchor_version` override ([#2704](https://github.com/coral-xyz/anchor/pull/2704)). +- spl: Fix compilation with `shmem` feature enabled ([#2722](https://github.com/coral-xyz/anchor/pull/2722)). ### Breaking diff --git a/spl/src/shmem.rs b/spl/src/shmem.rs index 450c6806fb..81a9f15869 100644 --- a/spl/src/shmem.rs +++ b/spl/src/shmem.rs @@ -1,13 +1,13 @@ //! CPI API for interacting with the SPL shared memory //! [program](https://github.com/solana-labs/solana-program-library/tree/master/shared-memory). -use anchor_lang::ToAccountInfo; use anchor_lang::{context::CpiContext, Accounts}; use solana_program::account_info::AccountInfo; use solana_program::declare_id; use solana_program::entrypoint::ProgramResult; use solana_program::instruction::{AccountMeta, Instruction}; use solana_program::program; +use solana_program::pubkey::Pubkey; // TODO: update this once the final shared memory program gets released. // shmem4EWT2sPdVGvTZCzXXRAURL9G5vpPxNwSeKhHUL.