APE Price: $1.13 (+3.76%)

Solidity Bug Info

Bug Name Description Severity
VerbatimInvalidDeduplication
All ``verbatim`` blocks are considered identical by deduplicator and can incorrectly be unified when surrounded by identical opcodes.
The block deduplicator is a step of the opcode-based optimizer which identifies equivalent assembly blocks and merges them into a single one. However, when blocks contained ``verbatim``, their comparison was performed incorrectly, leading to the collapse of assembly blocks which are identical except for the contents of the ``verbatim`` items. Since ``verbatim`` is only available in Yul, compilation of Solidity sources is not affected.

- Link: https://blog.soliditylang.org/2023/11/08/verbatim-invalid-deduplication-bug/
- First Introduced: 0.8.5
- Fixed in Version: 0.8.23
- Published:
- Severity<: low

low