Skip to content
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 1 commit into from
Apr 6, 2023
Merged

v0.2.3 Geneva #1256

merged 1 commit into from
Apr 6, 2023

Conversation

seanyoung
Copy link
Contributor

@seanyoung seanyoung commented Apr 6, 2023

Added

  • The Solana units sol and lamports are now supported, e.g. 10 sol and 100 lamports.
    seanyoung
  • User defined operators are now supported. This is a feature in Ethereum Solidity v0.8.19.
    seanyoung
  • Solana: if a contract uses the SystemAccount, ClockAccount, or other standard builtin
    accounts, then this is automatically added to the IDL. 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

Fixed

  • Solana: contracts with a seed for the constructor do not require a signer in the Anchor IDL
    seanyoung
  • Fix panic when lexing ".9" at the beginning of a file. seanyoung
  • Forbid ABI encoding and decoding of recursive types. xermicus
  • Treat enums as 8bit uint in constant hashing. xermicus
  • Fix compilation failure with -g for the substrate target. salaheldinsoliman
  • Fixed incorrect ABI encoding for user defined types. xermicus seanyoung
  • Fixed incorrect ABI encoding for struct with fields of type bytesN xermicus
  • Fixed incorrect handling of recursive struct fields. xermicus
  • Fixed a bug in our Common Subexpression Elimination optimization pass 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
  • Substrate: the SCALE encoder and decoder now uses a much better implementation written in our
    CFG intermediate format. 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
  • 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

Copy link
Contributor

@xermicus xermicus left a 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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

CHANGELOG.md Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Show resolved Hide resolved
### 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 <sean@mess.org>
@seanyoung seanyoung merged commit a47fe3f into hyperledger:main Apr 6, 2023
@seanyoung seanyoung deleted the release branch May 19, 2023 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants