Skip to content

v0.11.0

Compare
Choose a tag to compare
@meevee98 meevee98 released this 21 Feb 18:05
· 730 commits to master since this release

Added

  • Support to contract manifest modifiers. See NeoMetadata
  • Initial support to inheritance on user-created classes
  • Implemented Python + operator for lists
  • Implemented implicit conversion to bool on if statements
  • Support to Python's builtins:
    • pow method
    • int and bool constructors
  • Implemented builtin.math module
    • Methods floor and ceil with decimals argument
  • Implemented ByteString to interface when both str and bytes are supported.
    • Similar to Union[str, bytes]

Changed

  • Moved boa3.builtin.sqrt to boa3.builtin.math.sqrt
  • assert message is actually logged at runtime

Fixed

  • Fixed class import with alias
  • Fixed runtime errors with lists of lists
  • Fixed runtime errors when using variables with the same name in classes and functions