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 covers the changes introduced in Solidity 0.8.23, based on the official release announcement.

Changes

Solidity 0.8.23 includes the following change.

  • An important bug fix.

Important Bug Fix

A bug caused blocks containing the verbatim instruction, introduced in Solidity 0.8.5, to be treated as identical and deduplicated even when their contents differed.

verbatim allows you to insert opcodes that the Yul compiler does not recognize or create bytecode sequences that remain unchanged during optimization.

See the following documentation for details.

Blocks containing different verbatim instructions could be merged, resulting in unexpected behavior.

The bug occurred only when optimization was enabled during Yul compilation. It did not affect Solidity code or Yul used in inline assembly.

Solidity 0.8.23 fixes the handling of blocks containing verbatim instructions so that they are compiled correctly.

Other Changes

For additional minor fixes, see the release announcement.

Conclusion

This article covered the changes in Solidity 0.8.23.