Markets
BTC $61,444 +4.07% ETH $1,724 +3.87% BNB $557 +3.43% XRP $0.9409 +3.06% SOL $72.15 +4.62% LINK $8.91 +4.43% BTC $61,444 +4.07% ETH $1,724 +3.87% BNB $557 +3.43% XRP $0.9409 +3.06% SOL $72.15 +4.62% LINK $8.91 +4.43% TOTAL $2.09T BTC.D 58.9%

Blockchain Technology

Solana’s Coming Memory Checks Could Break Older Anchor Programs

Two runtime switches are pending with no activation date, and one documented case shows older code writing to an account after handing it away.

Solana’s next runtime change is likely to break a narrow category of older programs, and developers have already reproduced the failure on replayed mainnet transactions.

Anza, which maintains the Agave validator client, resumed general mainnet feature activations on Nov. 19. Its Nov. 20 tracker lists two pending changes — Virtual Address Space Adjustments, from the SIMD-0460 proposal, and Account Data Direct Mapping — with no activation epoch or slot assigned to either.

The first tightens memory access. A program will be rejected if it reads past the end of an account’s data, or writes to an account it does not own or cannot modify. The change also alters the stack layout older programs use to hold temporary data, which is where compatibility problems surface.

The documented failure involves how programs pass accounts to each other inside a transaction. One program calls another and transfers ownership of an account during the call; when the first program resumes, older code built with the Anchor framework tries to save that account’s data after it has already handed control away. The new checks reject the write. An Anchor patch addresses the pattern, and Anza split the observable rules from account-data copying so developers could test against the new behaviour before it ships.

The second change is a performance measure. Direct mapping lets the program virtual machine read account data where it already sits, avoiding a path that can copy account payloads up to four times for an instruction containing one cross-program call. Because it is gated separately, the checks can activate without it.

Solana activates changes through feature gates that switch on once enough stake signals support, which is why a change can sit in the tracker as pending with no date attached.

Neither switch has a date. When they land, most applications should be unaffected; the ones that are not will fail at the instruction level while the rest of the program keeps running, which makes the fault easier to miss in testing than a full outage. That is why the replay work matters more than the announcement: the failure mode is a single rejected instruction in an otherwise healthy transaction, not a chain halt.

Share this article

Viber uses viber://forward?text= when the app is installed.