|
|
@@ -34,7 +34,7 @@ There are many fixes all over the code base.
|
|
|
}
|
|
|
```
|
|
|
- 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
|
|
|
+- The language 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)
|
|
|
@@ -83,7 +83,7 @@ The language server is much improved, and many fixes all over.
|
|
|
|
|
|
### Changed
|
|
|
- The Substrate target has been renamed to Polkadot. [xermicus](https://github.com/xermicus)
|
|
|
-- **Polkadot** `assert()` and `require()` is now implemented as a transction revert, rather
|
|
|
+- **Polkadot** `assert()` and `require()` is now implemented as a transaction revert, rather
|
|
|
than a trap. The error data is returned, and encoded the same as on Ethereum. Error data is now
|
|
|
passed to the calling contract, all the way up the call stack. [xermicus](https://github.com/xermicus)
|
|
|
- **Polkadot** constructor can be non-payable. [xermicus](https://github.com/xermicus)
|
|
|
@@ -105,7 +105,7 @@ The language server is much improved, and many fixes all over.
|
|
|
syntax `tx.accounts.my_account`. [LucasSte](https://github.com/LucasSte)
|
|
|
- `delegatecall()` builtin has been added for Substrate. [xermicus](https://github.com/xermicus)
|
|
|
- `get_contents_of_file_no` for Solang parser. [BenTheKush](https://github.com/BenTheKush)
|
|
|
-- `set_code_hash()` builtin has been aded for Substrate. [xermicus](https://github.com/xermicus)
|
|
|
+- `set_code_hash()` builtin has been added for Substrate. [xermicus](https://github.com/xermicus)
|
|
|
|
|
|
### Fixed
|
|
|
- Diagnostics do not include large numbers anymore. [seanyoung](https://github.com/seanyoung)
|
|
|
@@ -117,7 +117,7 @@ The language server is much improved, and many fixes all over.
|
|
|
- Do not allow push and pop in fixed length arrays. [LucasSte](https://github.com/LucasSte)
|
|
|
- Improve unused variable elimination to remove unused arrays. [LucasSte](https://github.com/LucasSte)
|
|
|
- Salt argument should be of type `bytes32`. [seanyoung](https://github.com/seanyoung)
|
|
|
-- Allow return vallues to be ignored in try-catch statements. [seanyoung](https://github.com/seanyoung)
|
|
|
+- Allow return values to be ignored in try-catch statements. [seanyoung](https://github.com/seanyoung)
|
|
|
- Optimize modifiers' CFGs. [xermicus](https://github.com/xermicus)
|
|
|
- Fix an error whereby building large contracts would cause an LLVM error. [LucasSte](https://github.com/LucasSte)
|
|
|
- A constructor for a Solana contract cannot run twice on the same data account. [seanyoung](https://github.com/seanyoung)
|
|
|
@@ -173,7 +173,7 @@ The parser and semantic analysis stage of Solang have gone through
|
|
|
[LucasSte](https://github.com/LucasSte)
|
|
|
|
|
|
### Changed
|
|
|
-- **Solana**: Addresses are now base58 encoded when formated with `"address:{}".format(address)`.
|
|
|
+- **Solana**: Addresses are now base58 encoded when formatted with `"address:{}".format(address)`.
|
|
|
[LucasSte](https://github.com/LucasSte)
|
|
|
- **Substrate**: No longer use the prefixed names for seal runtime API calls, which grants small improvements in contract sizes. [xermicus](https://github.com/xermicus)
|
|
|
|
|
|
@@ -300,7 +300,7 @@ substrate contracts node `v0.22.1`.
|
|
|
supported, like in `ink!`.
|
|
|
[xermicus](https://github.com/xermicus)
|
|
|
- All provided examples as well as most of the Solidity code snippets in our
|
|
|
- documentation are now checked for succesful compilation on the Solang CI.
|
|
|
+ documentation are now checked for successful compilation on the Solang CI.
|
|
|
[xermicus](https://github.com/xermicus)
|
|
|
- **Substrate:** Fix events with topics. The topic hashes generated by Solang
|
|
|
contracts are now exactly the same as those generated by `ink!`.
|
|
|
@@ -339,7 +339,7 @@ substrate contracts node `v0.22.1`.
|
|
|
[LucasSte](https://github.com/LucasSte)
|
|
|
- Add a wrapper for the Solana System Program
|
|
|
[LucasSte](https://github.com/LucasSte)
|
|
|
-- The selector for functions can be overriden with the `selector=hex"abcd0123"`
|
|
|
+- The selector for functions can be overridden with the `selector=hex"abcd0123"`
|
|
|
syntax.
|
|
|
[seanyoung](https://github.com/seanyoung)
|
|
|
- Shell completion is available using the `solang shell-completion` subcommand.
|
|
|
@@ -412,7 +412,7 @@ substrate contracts node `v0.22.1`.
|
|
|
## v0.1.9
|
|
|
|
|
|
### Added
|
|
|
-- Added support for solc import mapppings using `--importmap`
|
|
|
+- Added support for solc import mappings using `--importmap`
|
|
|
- Added support for Events on Solana
|
|
|
- `msg.data`, `msg.sig`, `msg.value`, `block.number`, and `block.slot` are
|
|
|
implemented for Solana
|
|
|
@@ -535,4 +535,4 @@ substrate contracts node `v0.22.1`.
|
|
|
|
|
|
### Changed
|
|
|
- Solang now uses llvm 10.0 rather than llvm 8.0
|
|
|
-- In line with Solidity 0.7.0, constructors no longer need a visibility argument
|
|
|
+- In line with Solidity 0.7.0, constructors no longer need a visibility argument
|