Skip to main content

Solidity 0.8.39

Release Date: November 19, 2026

Solidity 0.8.39 was released on November 19, 2026. The patch fixes a storage corruption bug in generated code, extends ethdebug output, and adds size-limit warnings for the Amsterdam EVM version. It follows 0.8.38, published on October 22, 2026.

Important Bugfix

  • Recursive struct storage corruption — overwriting a recursive struct in storage with a struct nested inside it could corrupt storage. Copying a recursive struct between storage locations now performs a runtime overlap check and takes a memory snapshot of the source when the target contains it.

Compiler Features

  • EIP-7954 size warnings — when compiling for the Amsterdam EVM version the compiler warns about exceeding the increased 64 KiB contract code size and 128 KiB initcode size limits, instead of the older EIP-170 and EIP-3860 limits.
  • Yul size warnings — Yul warns when the assembled bytecode of a compiled object exceeds the EIP-170 runtime limit or the EIP-3860 initcode limit, matching the existing warnings for Solidity input.
  • ethdebug type and pointer tables — ethdebug/format/info/resources is now populated with type documents and layout-specific pointer templates for storage, transient storage, memory and calldata (experimental).
  • ethdebug schema stamping — ethdebug/format/program and ethdebug/format/info/resources outputs are stamped with their schema and the version of the specification they follow (experimental).
  • Compilation record omitted — the record is dropped from --ethdebug-resources on the CLI and from ethdebug.resources in Standard JSON.

Other Bugfixes

  • Nested tuple assignment — tuple assignments no longer swap values when a nested tuple component occupying at least one stack slot grows during type conversion.
  • ethdebug source IDs — incorrect source file IDs in instruction locations were fixed.
  • SMTChecker empty tuples — empty tuples were printed as an undeclared constant in SMT-LIB queries, which made the solver reject every query for the affected contract.
  • SMTChecker CHC false negative — the CHC engine no longer misses a case where a function inherited from an abstract base is called externally through this.

Upgrade with npm install -g [email protected] or brew upgrade solidity. No breaking changes are listed, but builds that treat warnings as errors will fail on Amsterdam targets until the new size limits are accounted for.

Other Versions

We use cookies for ads and analytics.