-
Notifications
You must be signed in to change notification settings - Fork 220
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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](https://eips.ethereum.org/EIPS/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](https://github.com/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](https://github.com/chioni16) - The langauge server can now do go references, go to implementation, and go to type definition. [chioni16](https://github.com/chioni16) - **Polkadot** `Panic` errors can now be caught in try-catch statements [xermicus](https://github.com/xermicus) - **Polkadot** custom errors are now supported [xermicus](https://github.com/xermicus) - **Polkadot** now supporting the `address.code` builtin [xermicus](https://github.com/xermicus) ### Fixed - **Solana** the data field of AccountInfo can now be modified. [LucasSte](https://github.com/LucasSte) - The vscode extension now uses the solang binary in the path, if available. [seanyoung](https://github.com/seanyoung) - Fixed a bug in the ABI encoding of dynamic arrays. [xermicus](https://github.com/xermicus) - Fixed a bug where loading from a storage struct member was not considered a storage read. [xermicus](https://github.com/xermicus) [seanyoung](https://github.com/seanyoung) - Fixed a compiler crash caused by chained assignments like `return a = b`. [xermicus](https://github.com/xermicus) - Variables declared in the return parameters no longer ignore the `storage` location. [xermicus](https://github.com/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](https://github.com/LucasSte) Signed-off-by: Sean Young <sean@mess.org> Co-authored-by: Lucas Steuernagel <38472950+LucasSte@users.noreply.github.com> Co-authored-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
- Loading branch information
1 parent
fd1b874
commit 1ba3274
Showing
8 changed files
with
68 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters