Introduction
Hi, I'm cardene, a software engineer and technical writer focused on blockchain and AI.
I've also authored Japanese technical books on specification-driven development with LLMs and decentralized application (DApp) development.
I also build and publish a variety of tools, libraries, and open-source projects.
This article summarizes changes introduced in Solidity 0.8.24, based on the official release announcement.
Changes
Solidity 0.8.24 introduces:
- Support for the Cancun network upgrade.
- Apple Silicon support.
Cancun Network Upgrade Support
The release supports the following Cancun EIPs.
- EIP-1153: transient storage opcodes.
- EIP-4788: beacon block roots in the EVM.
- EIP-4844: shard blob transactions.
- EIP-7516: the BLOBBASEFEE opcode.
- EIP-5656: the MCOPY memory-copy opcode.
- EIP-6780: restricted SELFDESTRUCT behavior.
EIP-1153: Transient Storage Opcodes
Transient storage is a new EVM data storage area. Like ordinary storage, it stores key-value pairs, but the contents are discarded at the end of the transaction. Transient storage accesses cost 100 gas.
Solidity introduces two assembly functions.
- tstore: writes to transient storage.
- tload: reads from transient storage.
EIP-4788: Beacon Block Roots in the EVM
EIP-4788 provides Ethereum applications with a more trust-minimized way to obtain consensus-layer information. Each execution block contains the parent beacon block root. Contracts can access committed consensus-layer information through the mechanism introduced by the EIP.
Consensus blocks contain several relevant roots.
Beacon Block Root
The hash-tree root of the beacon block header. The parent beacon block root is included in the execution block.
State Root
The commitment to the beacon state resulting from block processing.
Body Root
The commitment to the beacon block body and its contents, which can include an execution payload.
This can reduce reliance on trusted oracle operators by making consensus-layer commitments available directly to Ethereum smart contracts. Liquid staking protocols such as Lido and Rocket Pool pool ETH from users; EIP-4788 can help them verify consensus-layer information used for reward distribution. Restaking applications such as EigenLayer can also benefit from improved security and efficiency.
For more detail, see the following article.
EIP-4844: Shard Blob Transactions
A new blob-carrying transaction format was introduced as a step toward future data sharding. It allows users to publish large amounts of data at lower cost. Blob contents cannot be accessed directly from contracts, so the blobhash instruction provides access to the versioned blob hashes.
Blobs also use a separate gas pricing mechanism. The blobbasefee instruction, proposed by EIP-7516, provides access to the blob base fee.
For more detail, see the following articles.
EIP-5656: MCOPY Memory-copy Opcode
EIP-5656 adds MCOPY to copy data efficiently between EVM memory regions. Previously, copying memory generally required a loop using MLOAD and MSTORE.
MLOAD reads data from memory and MSTORE writes data to memory. Combining these instructions can implement a copy operation.
The new mcopy instruction is available in Yul and inline assembly and enables memory-to-memory copying without a loop of MLOAD and MSTORE instructions.
At the time of this release, MCOPY had not yet been integrated into the copy operations generated by the compiler's code generator. Future integration was expected to reduce gas consumption.
The Solidity compiler includes a code generator that translates Solidity code into EVM-executable bytecode.
EIP-6780: Restricted SELFDESTRUCT Behavior
EIP-6780 significantly restricts the behavior of SELFDESTRUCT. Previously, executing it transferred the contract's ETH to a designated address and scheduled its code and storage for deletion.
After EIP-6780:
- The contract's ETH is transferred to the designated address.
- The contract's code and storage are not deleted.
- The previous deletion behavior is retained only when SELFDESTRUCT is executed in the same transaction in which the contract was created.
SELFDESTRUCT had already been deprecated by EIP-6049, and the compiler emitted warnings when it was used.
Apple Silicon Support
The Intel-only macOS binary (solc-macos) is replaced by a universal binary that also runs on ARM-based Apple Silicon Macs.
A universal binary is a single executable containing support for multiple hardware architectures.
This enables the Solidity compiler to run natively on Apple Silicon, including M1 and M2 Macs, improving convenience and potentially performance. The same binary remains usable on Intel-based Macs.
Other Changes
For additional fixes, see the official release announcement.
Conclusion
Solidity 0.8.24 adds support for the Cancun EVM upgrade and native execution on Apple Silicon.
Further reading and author links:








