A replay of mainnet traffic exposed one way older Anchor code can fail. The checks still await mainnet activation, and a separate change would cut the work validators do to copy data.
Solana’s planned memory checks could make some app transactions fail even when the rest of the app keeps working. Developers have already seen one example in replayed mainnet transactions. Older code built with the Anchor framework could try to save an account’s data after handing control of that account to another program.
Anza, which develops Solana’s Agave validator software, resumed general mainnet feature activations on November 19. Its November 20 feature tracker lists the memory checks and a separate change called account data direct mapping as pending, with no mainnet activation epoch or slot for either. Direct mapping is designed to spare validators the work of repeatedly copying program data.
Anza’s November 20 tracker listed both switches as pending on Solana mainnet, with no activation slot for either.
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.
Conceptual diagram from SIMD-0460, the original runtime proposal and Agave’s implementation split. The same check branches to a rejected access or to two possible routes for an allowed access.
The paths show conditional runtime behavior. Their lengths carry no timing or performance measurement.
The memory checks can reject a read that runs past the end of an account or a write to an account the program cannot modify.
Source link







