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

chore(deps): update solang-parser requirement from =0.3.1 to =0.3.2 #2567

Merged
merged 2 commits into from
Aug 25, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 25, 2023

Updates the requirements on solang-parser to permit the latest version.

Release notes

Sourced from solang-parser's releases.

v0.3.2

The language server is much improved, and many fixes all over.

Added

  • Go to definition is now implemented in the language server. chioni16
  • The parser has been updated to be compatible with Ethereum Solidity v0.8.21. seanyoung

Fixed

  • breaking Resolving import paths now matches solc more closely, and only resolves relative paths when specified as ./foo or ../foo. seanyoung
  • Solana The lamports and data fields of tx.accounts can be modified again. LucasSte
  • It is not longer necessary to save a Solidity file, in order for the language server to pick up changes to the file. chioni16
  • The negate operator - now checks for overflow at runtime, and other math overflow fixes. seanyoung

Changed

  • The Substrate target has been renamed to Polkadot. xermicus
  • Polkadot assert() and require() is now implemented as a transction 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
  • Polkadot constructor can be non-payable. xermicus
Changelog

Sourced from solang-parser's changelog.

v0.3.2 Brasília

The language server is much improved, and many fixes all over.

Added

  • Go to definition is now implemented in the language server. chioni16
  • The parser has been updated to be compatible with Ethereum Solidity v0.8.21. seanyoung
  • Polkadot Support for runtimes built with on polkadot-v1.0.0

Fixed

  • breaking Resolving import paths now matches solc more closely, and only resolves relative paths when specified as ./foo or ../foo. seanyoung
  • Solana The lamports and data fields of tx.accounts can be modified again. LucasSte
  • Solana The address.transfer() and address.send() functions no longer change any balances in the error case if there was an overflow (e.g. not enough balance). LucasSte
  • Solana When collecting the required accounts, ensure that the writer and signer bits are set correctly if the same account is used multiple times. LucasSte
  • It is not longer necessary to save a Solidity file, in order for the language server to pick up changes to the file. chioni16
  • The negate operator - now checks for overflow at runtime, and other math overflow fixes. seanyoung
  • Fixed a bug where accessing the function selector of virtual functions might cause a compiler panic. xermicus
  • Fixed a bug where the strength reduce optimization pass removed overflow checks on optimized multiplications. xermicus
  • Fixed a bug where external function variables were not marked as read when they were called by the semantic analyzer, which could lead to the external function call being eliminated spuriously. xermicus
  • Fixed a bug in try-catch where a failed transfer trapped the contract instead of handling it in a catch all block. xermicus

Changed

  • The Substrate target has been renamed to Polkadot. xermicus
  • Polkadot assert() and require() is now implemented as a transction 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
  • Polkadot constructor can be non-payable. xermicus
  • Storage variables are now always written to, regardless whether the contract does read them or not. Prior behavior was to not write to storage variables if they are not read, which can remove wanted side effects, because unused storage variables may be used in future versions of the contract. xermicus
  • Solana seeds can now be of type address or bytesN, in addition to bytes. seanyoung

v0.3.1 Göttingen

Added

  • Write environment configuration into Substrate metadata. xermicus
  • Tornado cash as an exemplary integration test for Substrate chain extensions. xermicus
  • is_contract runtime API is available as a builtin for Substrate. xermicus
  • The wasm-opt optimizer now optimizes the Wasm bytecode on the Substrate target. xermicus
  • Call flags are now available for Substrate. xermicus
  • Read compiler configurations from toml file. salaheldinsoliman
  • Accounts declared with @payer(my_account) can be accessed with the syntax tx.accounts.my_account. LucasSte
  • delegatecall() builtin has been added for Substrate. xermicus

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [solang-parser](https://github.com/hyperledger/solang) to permit the latest version.
- [Release notes](https://github.com/hyperledger/solang/releases)
- [Changelog](https://github.com/hyperledger/solang/blob/main/CHANGELOG.md)
- [Commits](hyperledger/solang@v0.3.1...v0.3.2)

---
updated-dependencies:
- dependency-name: solang-parser
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Aug 25, 2023
@DaniPopes DaniPopes merged commit ade1112 into master Aug 25, 2023
17 of 19 checks passed
@DaniPopes DaniPopes deleted the dependabot/cargo/solang-parser-eq-0.3.2 branch August 25, 2023 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant