Solidity 0.8.34 is a bugfix release addressing a high-severity bug in the IR code generator (versions 0.8.28–0.8.33) that could cause incorrect opcodes when clearing both persistent and transient storage variables of the same type. Specifically, the compiler might emit `sstore` instead of `tstore` (or vice versa), leading to unintended writes or ineffective state clearing. Only contracts compiled with `--via-ir` that use `delete` on transient storage variables are affected. Only three deployed contracts across all EVM-compatible chains were found to be impacted. The release also includes a minor Yul optimizer improvement removing redundant prerequisite steps.

2m read timeFrom soliditylang.org
Post cover image
Table of contents
Important BugfixesFull ChangelogHow to Install/Upgrade?

Sort: