Introducing the newest version of the Solidity Compiler v0.8.25. This is a minor release following the Dencun hard-fork on Ethereum mainnet that occurred on March 13, 2024 at 13:55 UTC.
Dencun Upgrade
The Dencun upgrade combines changes to both Ethereum’s consensus and execution layers. The full list of protocol changes can be found in EIP-7569.
With Dencun now live on mainnet, we are accordingly making cancun
the default EVM version the compiler will emit code for.
MCOPY in code generator
The previous release made the mcopy()
builtin available in Yul and inline assembly. Solidity 0.8.25 finally makes use of it in the code generator, replacing the use of mload()
/mstore()
loops.
Important note about Transient Storage
To bring attention to the dangers of incorrect use of transient storage opcodes, the compiler, since version 0.8.24, always warns about the use of tstore
opcode in assembly.
As of 0.8.25 the compiler will keep doing so, although now only once per compilation, at the first occurrence of tstore
.
To learn more about transient storage and the issues that prompted the introduction of the warning, read the full blog post about transient storage:
Check out our release blog post to learn more about the other features in the release and read the full changelog:
Help us spread the word on Twitter:
https://x.com/solidity_lang/status/1768533840903938181?s=20