Skip to content

Bump truffle from 5.8.1 to 5.9.1 #56

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

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 22, 2023

Bumps truffle from 5.8.1 to 5.9.1.

Release notes

Sourced from truffle's releases.

v5.9.1 — Chocolate Bricks

Hello all! 👋

Solidity 0.8.20 is out, and we've started updating Truffle for it! 🧑‍💻 Thanks to @​sukanyaparashar for some updates, so new projects created with truffle init will use Solidity 0.8.20! We'll have more updates related to Solidity 0.8.20 soon!

In addition, we've added functions for parsing signatures to our abi-utils library. If you have some function or event or error signatures and you want to parse them to get usable ABI objects, these added functions let you do that! ✂🪡

That's it for this week, see you all again soon with more!

How to upgrade

We recommend upgrading to the latest version of Truffle by running:

npm uninstall -g truffle
npm install -g truffle

Changelog

Enhancements

Internal improvements

Dependency update

v5.9.0 — Chocolate Telephone

Ring ring ring, it's Truffle 5.9.0!

truffle call

This week's Truffle release introduces the new truffle call command! You can use it to make read-only calls ☎ to your contracts (or external ones, see below) and display the results. Just type truffle call ContractName functionName, followed by the list of arguments. You can also use the function's full ABI-style signature in place of the function name, which can be useful for resolving overloads.

You can also use an address in place of a contract name... and if you pass the --fetch-external option (or -x for short), you can use it with external contracts verified on Etherscan or Sourcify, and Truffle will automatically download and compile the source to allow to you interact with it. 🌐

The truffle call command is powered by Truffle Encoder and Truffle Decoder, so it not only displays detailed decoding information, but also has a powerful overload resolution system that can resolve which overload you wanted not only based on how many arguments you supplied, but on their types. 🧠 Write yourself some overloaded functions and try it out! I think you'll be pleasantly surprised. (Note that correct overload resolution by name and arguments is never a guarantee and you may need to specify the full signature in cases where you need that guarantee. 🧑‍⚖️ )

What do we mean by "powerful overload resolution"? 🤔

You might have in the past had to write things like myFunction(address,address,string,uint160) , where you needed to tediously specify the full signature. This is because Solidity allows you to write functions with the same name that take different arguments:

</tr></table> 

... (truncated)

Commits

Dependabot compatibility score

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 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)

Bumps [truffle](https://github.com/trufflesuite/truffle/tree/HEAD/packages/truffle) from 5.8.1 to 5.9.1.
- [Release notes](https://github.com/trufflesuite/truffle/releases)
- [Commits](https://github.com/trufflesuite/truffle/commits/[email protected]/packages/truffle)

---
updated-dependencies:
- dependency-name: truffle
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 22, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 26, 2023

Superseded by #60.

@dependabot dependabot bot closed this May 26, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/main/truffle-5.9.1 branch May 26, 2023 03:03
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants