-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v0.2.3 Geneva #1256
Merged
Merged
v0.2.3 Geneva #1256
Conversation
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
xermicus
approved these changes
Apr 6, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
### Changed | ||
- Math overflow is now always enabled, unless the math happens with an `unchecked { .. }` block. | ||
The `--math-overflow` command line option has been removed. [seanyoung](https://github.com/seanyoung) | ||
- **Substrate**: the SCALE encoder and decoder now uses a much better implementation written in our |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
LucasSte
approved these changes
Apr 6, 2023
### Added - The Solana units `sol` and `lamports` are now supported, e.g. `10 sol` and `100 lamports`. [seanyoung](https://github.com/seanyoung) - User defined operators are now supported. This is a feature in Ethereum Solidity v0.8.19. [seanyoung](https://github.com/seanyoung) - **Solana**: if a contract uses the `SystemAccount`, `ClockAccount`, or other standard builtin accounts, then this is automatically added to the IDL. [LucasSte](https://github.com/LucasSte) - **Substrate**: The content of the debug buffer is formatted in a human readable way. This vastly improves it's readability, allowing to spot API runtime return codes, runtime errors and debug prints much easier. [salaheldinsoliman](https://github.com/salaheldinsoliman) ### Fixed - Solana: contracts with a seed for the constructor do not require a signer in the Anchor IDL [seanyoung](https://github.com/seanyoung) - Fix panic when lexing ".9" at the beginning of a file. [seanyoung](https://github.com/seanyoung) - Forbid ABI encoding and decoding of recursive types. [xermicus](https://github.com/xermicus) - Treat enums as 8bit uint in constant hashing. [xermicus](https://github.com/xermicus) - Fix compilation failure with -g for the substrate target. [salaheldinsoliman](https://github.com/salaheldinsoliman) - Fixed incorrect ABI encoding for user defined types. [xermicus](https://github.com/xermicus) [seanyoung](https://github.com/seanyoung) - Fixed incorrect ABI encoding for struct with fields of type `bytesN` [xermicus](https://github.com/xermicus) - Fixed incorrect handling of recursive struct fields. [xermicus](https://github.com/xermicus) - Fixed a bug in our Common Subexpression Elimination optimization pass [LucasSte](https://github.com/LucasSte) ### Changed - Math overflow is now always enabled, unless the math happens with an `unchecked { .. }` block. The `--math-overflow` command line option has been removed. [seanyoung](https://github.com/seanyoung) - **Substrate**: the SCALE encoder and decoder now uses a much better implementation written in our CFG intermediate format. [xermicus](https://github.com/xermicus) - **Substrate**: When instantiating a new contract without providing a salt, the salt we be derived from the output of the new `instantiation_nonce` runtime API. [xermicus](https://github.com/xermicus) - Minimal Supported Rust Version is `1.65.0` - No longer silently overwrite contract artifacts, if the same contract is defined more than once in different locations [seanyoung](https://github.com/seanyoung) Signed-off-by: Sean Young <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added
sol
andlamports
are now supported, e.g.10 sol
and100 lamports
.seanyoung
seanyoung
SystemAccount
,ClockAccount
, or other standard builtinaccounts, then this is automatically added to the IDL. LucasSte
Fixed
seanyoung
bytesN
xermicusChanged
unchecked { .. }
block.The
--math-overflow
command line option has been removed. seanyoungCFG intermediate format. xermicus
instantiation_nonce
runtime API. xermicus1.65.0