Skip to content

V0.2.1: Rio

Compare
Choose a tag to compare
@github-actions github-actions released this 06 Jan 09:37
· 420 commits to main since this release
c444707

Added

  • The Anchor IDL data structure is now generated for every Solana contract, although the actual IDL json file is not yet saved.
    LucasSte

Changed

  • The Solana target now utilizes eight byte Anchor discriminators for function dispatch instead
    of the four byte Ethereum selectors. LucasSte
  • The deployment of contracts on Solana now follows the same scheme as Anchor. seanyoung
  • Compares between rational literals and integers are not allowed. seanyoung
  • Overriding the function selector value is now done using the @selector([1, 2, 3, 4])
    syntax, and the old syntax selector=hex"12345678" has been removed.
  • msg.sender was not implemented correctly on Solana, and
    has now been removed.
    seanyoung
  • Solang now uses LLVM 14. LucasSte

Fixed