Solidity v0.8.25 is out! 🎉

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

1 Like

Thank you for the hard work!

Is there an issue with the uploaded package and its checksum?
We are getting this error:

Error HH503: Couldn’t download compiler version 0.8.25+commit.b61c2a91: Checksum verification failed.

Are you using the mac version by chance? We found an issue with the mac binary during the release, when the binaries were already published - it was not signed and apparently macOS refuses to run such binaries - so we had to replace it with one with a signature. This means that the checksum has changed. Your framework might have cached the list of binaries (and checksums) in the meantime. If that’s the case, clearing that cache should help.

1 Like

Yes, I’m using Mac.
It was that.
I could download it now without issues. Thank you!

1 Like