Download Latest Version v0.3.4_ London source code.tar.gz (1.4 MB)
Email in envelope

Get an email when there's a new version of Solang

Home / v0.3.3
Name Modified Size InfoDownloads / Week
Parent folder
solang.exe 2023-10-26 50.5 MB
solang-mac 2023-10-26 179.4 MB
solang-mac-intel 2023-10-26 95.4 MB
solang-linux-arm64 2023-10-26 82.7 MB
solang-linux-x86-64 2023-10-26 81.9 MB
solang-mac-arm 2023-10-26 84.0 MB
README.md 2023-10-26 2.4 kB
v0.3.3_ Atlantis source code.tar.gz 2023-10-26 1.3 MB
v0.3.3_ Atlantis source code.zip 2023-10-26 2.0 MB
Totals: 9 Items   577.1 MB 0

This release improves the Solana developer experience, since now required accounts can be specified using annotations. For Polkadot, compatibility with Ethereum Solidity has been increased further, it is now possible to write EIP-1967 compatible proxy contracts. There are many fixes all over the code base.

Added

  • Solana the required accounts for instructions can now be specified using function annotations. LucasSte contract Foo { @account(oneAccount) @signer(mySigner) @mutableAccount(otherAccount) @mutableSigner(otherSigner) function bar() external returns (uint64) {} }
  • The language server can now format Solidity source code using the forge-fmt crate. chioni16
  • The langauge server can now do go references, go to implementation, and go to type definition. chioni16
  • Polkadot Panic errors can now be caught in try-catch statements xermicus
  • Polkadot custom errors are now supported xermicus
  • Polkadot now supporting the address.code builtin xermicus

Fixed

  • Solana the data field of AccountInfo can now be modified. LucasSte
  • The vscode extension now uses the solang binary in the path, if available. seanyoung
  • Fixed a bug in the ABI encoding of dynamic arrays. xermicus
  • Fixed a bug where loading from a storage struct member was not considered a storage read. xermicus seanyoung
  • Fixed a compiler crash caused by chained assignments like return a = b. xermicus
  • Variables declared in the return parameters no longer ignore the storage location. xermicus

Changed

  • BREAKING: Solana the contract Solidity type can no longer be used. This type used to represent a single address, but this does not make sense asthere are many accounts associated with a contract call. LucasSte
Source: README.md, updated 2023-10-26