Skip to content

0.7.6_Plato_v4.2

Compare
Choose a tag to compare
@Lredhdx Lredhdx released this 25 Jun 06:43

TRON Solidity compiler 0.7.6 is fully compatible with Ethereum Solidity 0.7.6.

New Features

  • Code generator: Support conversion from calldata slices to memory and storage arrays.
  • Code generator: Support copying dynamically encoded structs from calldata to memory.
  • Code generator: Support copying of nested arrays from calldata to memory.
  • The fallback function can now also have a single calldata argument (equaling msg.data) and return bytes memory (which will not be ABI-encoded but returned as-is).

Compiler Features

  • Build System: Optionally support dynamic loading of Z3 and use that mechanism for Linux release builds.
  • Code Generator: Avoid memory allocation for default value if it is not used.

Bugfixes

  • Code generator: Do not pad empty string literals with a single 32-byte zero field in the ABI coder v1.
  • Type Checker: super is not available in libraries.
  • Type Checker: Disallow leading zeroes in sized-types (e.g. bytes000032), but allow them to be treated as identifiers.