Known Issues and Workarounds
- #870: All
implblocks need to be defined before any of the functions they define can be called. This includes sibling functions in the same
impldeclaration, i.e., functions in an
implcan't call each other yet.
#1182 Arrays in a
storageblock are not yet supported. See the Manual Storage Management section for details on how to use
getfrom the standard library to manage storage slots directly. Note, however, that
StorageMap<K, V>does support arbitrary types for
Vwithout any limitations.
#1796: It is not yet allowed to use
StorageMap<K, V>as a component of a complex type such as a struct or an enum.
#2647: Currently, it is only possible to define configuration-time constants that have primitive types and that are initialized using literals.
- No compiler optimization passes have been implemented yet, therefore bytecode will be more expensive and larger than it would be in production. Note that eventually the optimizer will support zero-cost abstractions, avoiding the need for developers to go down to inline assembly to produce optimal code.