Solana’s upcoming memory checks may cause certain application transactions to fail even while the rest of the application continues to function. Developers have already observed this issue in replayed mainnet transactions. Legacy code built with the Anchor framework can attempt to write an account’s data after relinquishing control of that account to another program.
Anza, the developer of Solana’s Agave validator client, resumed general mainnet feature activations on November 19. According to its November 20 feature tracker, both the memory checks and a separate change known as account data direct mapping remain pending, with no mainnet activation epoch or slot assigned. Direct mapping aims to eliminate the need for validators to repeatedly copy program data.
The checks can reject a write to an account the program no longer owns, even while validators still use copied data.
The paths show conditional runtime behavior. Their lengths carry no timing or performance measurement.
Where an Anchor instruction can fail
The memory checks can reject reads that exceed an account’s boundaries or writes to accounts the program lacks permission to modify. They also alter the stack layout that older programs use for temporary data, potentially changing the behavior of code dependent on that layout. A documented failure case involves the transfer of accounts between Solana programs within a single transaction.
As described in an Anchor patch, one program may call another and transfer ownership of an account during that call. Upon completion, older Anchor code attempts to write the account data back even if the data remains unchanged. The previous runtime permitted this operation, but under the new rules, the attempt fails because the first program has already surrendered write access to that account.
The patch author notes that programs delegating accounts in this manner encountered the error during production replay. A transaction following the affected code path can fail while other transactions within the same application continue to succeed.
The fix is included in Anchor version 1.2.2, which compares account data after ownership changes and skips the write operation if the bytes are identical. Teams maintaining affected programs can rebuild and test using the updated framework. For programs deployed via Solana’s upgradeable Loader V3, the authorized upgrade authority must deploy the new build. Application teams depending on third-party programs require the program’s operator to perform the upgrade.
Anza engineer Alexander Meißner stated in the original runtime proposal that the team replayed mainnet traffic. According to the proposal, most developers whose applications would have failed during that exercise were contacted and have since implemented fixes. However, the replay only covers instruction paths present in the sampled transactions; a rarely used path could evade detection if it was not exercised in the replay.
Meißner’s January 30 proposal on memory rules explains that developers of the Agave and Firedancer validator clients divided the original plan to allow earlier components to ship while later parts received more testing time. In Agave’s implementation discussions, Meißner highlighted a testing challenge: combining the new memory rules with the copy optimization made it difficult to distinguish intended execution changes from errors. Providing separate feature switches allows developers to test the new rules while retaining the legacy copying behavior.
When validators stop copying
Under the legacy execution path, the validator copies account data into a program’s virtual machine and retrieves it upon completion. A cross-program call adds an additional round trip. Meißner’s proposal notes that a single instruction with a cross-program call could require up to four copies. With direct mapping enabled, the virtual machine accesses account data directly in its original location.
Anza’s tracker shows the memory checks and the mapping switch scheduled one epoch apart on both testnet and devnet. On mainnet, the critical date for affected applications is the activation of the memory checks. Validators will realize the copy reduction benefits when the direct mapping switch is activated.
Also Read
- Pakistan’s Open-Market Currency Rates: USD, EUR, GBP, AED and SAR on November 23, 2026
- Markets Slump as AI Valuation Worries and Rate-Hike Bets Hit Stocks and Gold
- SNB’s Martin Flags Second-Round Inflation Risks Ahead of Policy Decision
- AI Banking Agent Scores 100% on Self-Generated Tests but Fails 92 of 97 Real-World Simulations


