EtherealEngine / Blockchain-in-a-Box

A batteries-included ethereum blockchain for bootstrapping the Metaverse.๐Ÿš€๐Ÿš€๐Ÿš€
MIT License
61 stars 36 forks source link

Update dependency truffle to v5.6.0 #879

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
truffle 5.5.26 -> 5.6.0 age adoption passing confidence

Release Notes

trufflesuite/truffle ### [`v5.6.0`](https://togithub.com/trufflesuite/truffle/releases/tag/v5.6.0) [Compare Source](https://togithub.com/trufflesuite/truffle/compare/v5.5.32...v5.6.0) Hello all you fine people out there!๐Ÿ‘‹ This week we're back and mainly have some maintenance updates for y'all.๐Ÿ”ง Most notable is a fix for [@​truffle/hdwallet-provider](https://togithub.com/truffle/hdwallet-provider). There was a faulty check when it would try to parse and ingest some parts of the user's input. We have to give a shoutout to our friend [@​RyanCavanaugh](https://togithub.com/RyanCavanaugh) for spotting this and providing a fix! Additionally, Truffle now fully supports Node 18! That being the case, we've also finally dropped support for Node 12...I know, I know, we announced it a long time ago โฐ but we wanted to make sure Truffle was cleanly supporting Node 18 before discontinuing support for Node 12! One more thing to note: [@​truffle/db](https://togithub.com/truffle/db) now uses indexeddb instead of sqlite for persistence. If you are a [@​truffle/db](https://togithub.com/truffle/db) user and have issues, please open a GitHub issue and we'll be happy to help! That's about it for now. We'll see you next week with another morsel to add to your plate.๐Ÿ› Cheers! #### How to upgrade We recommend upgrading to the latest version of Truffle by running: npm uninstall -g truffle npm install -g truffle #### Changelog ##### Bug fix - correctly check for non-integer credentials in [@​truffle/hdwallet-provider](https://togithub.com/truffle/hdwallet-provider) ([#​5588](https://togithub.com/trufflesuite/truffle/pull/5588) by [@​RyanCavanaugh](https://togithub.com/RyanCavanaugh)) ##### Internal improvements - use Jest in [@​truffle/from-hardhat](https://togithub.com/truffle/from-hardhat) ([#​5590](https://togithub.com/trufflesuite/truffle/pull/5590) by [@​cds-amal](https://togithub.com/cds-amal)) - bump timeout in decoder test ([#​5591](https://togithub.com/trufflesuite/truffle/pull/5591) by [@​cds-amal](https://togithub.com/cds-amal)) - add support for Node 18 and drop support for Node 12 ([#​5543](https://togithub.com/trufflesuite/truffle/pull/5543) by [@​davidmurdoch](https://togithub.com/davidmurdoch)) ### [`v5.5.32`](https://togithub.com/trufflesuite/truffle/releases/tag/v5.5.32) [Compare Source](https://togithub.com/trufflesuite/truffle/compare/v5.5.31...v5.5.32) Hello, hello, hello. Enjoy Fall with a cup of hot coffee and pumpkin choco layered cake ๐Ÿฅฎ โž• โ˜•. Yummy! And cheers, [@​eltociear](https://togithub.com/eltociear) for catching a typo and fixing it, many thanks for contributing. In this week's release, we layered up our delightful offerings with a few bug fixes and internal improvements. For the ever-expanding world of web3, a few more supported networks are added to be used with `truffle debug --fetch-external`, so you can carry on with those verified contracts debugging! ๐Ÿž That's all for this week, and see you next time! ๐Ÿ‘‹ Happy building! #### How to upgrade We recommend upgrading to the latest version of Truffle by running: npm uninstall -g truffle npm install -g truffle #### Changelog ##### Enhancements - Add raw storage writes to txlog ([#​5561](https://togithub.com/trufflesuite/truffle/pull/5561) by [@​haltman-at](https://togithub.com/haltman-at)) - Add new Sourcify networks for late September ([#​5570](https://togithub.com/trufflesuite/truffle/pull/5570) by [@​haltman-at](https://togithub.com/haltman-at)) ##### Bug fixes - Move web3 and web3 types into regular dependencies for hdwallet-provider ([#​5575](https://togithub.com/trufflesuite/truffle/pull/5575) by [@​eggplantzzz](https://togithub.com/eggplantzzz)) - Add `disableChecks` parameter to decoder type ([#​5571](https://togithub.com/trufflesuite/truffle/pull/5571) by [@​eggplantzzz](https://togithub.com/eggplantzzz)) - Add migration's `save` option for Yargs. ([#​5516](https://togithub.com/trufflesuite/truffle/pull/5516) by [@​lsqproduction](https://togithub.com/lsqproduction)) - Fix typo in preserve.ts ([#​5577](https://togithub.com/trufflesuite/truffle/pull/5577) by [@​eltociear](https://togithub.com/eltociear)) ##### Internal improvements - Increase JSParser test timeout ([#​5576](https://togithub.com/trufflesuite/truffle/pull/5576) by [@​cds-amal](https://togithub.com/cds-amal)) - Update PR template to include note about features requiring documentation changes ([#​5574](https://togithub.com/trufflesuite/truffle/pull/5574) by [@​alexandratran](https://togithub.com/alexandratran)) - Add `dependabot.yml` to monitor ganache releases ([#​5558](https://togithub.com/trufflesuite/truffle/pull/5558) by [@​davidmurdoch](https://togithub.com/davidmurdoch)) ### [`v5.5.31`](https://togithub.com/trufflesuite/truffle/releases/tag/v5.5.31) [Compare Source](https://togithub.com/trufflesuite/truffle/compare/v5.5.30...v5.5.31) Hello and happy first day of Fall! ๐Ÿ‚ For those in the Northern Hemisphere, the leaves are changing color, the air is crisp and cool, and we're entering the land of warm sweaters and hot cocoa! What better time to settle in and build the future with Truffle? This week's release has a smattering of small changes, mostly internal improvements. Many thanks to our external contributor [@​maksumic](https://togithub.com/maksumic) this week for finding and fixing a typo! Also, you may have noticed The Merge was recently successfully completed, so it is worth noting that Truffle supports the new PREVRANDAO opcode. ๐ŸŽ‰ Happy coding and we'll see you next week! ๐Ÿ‘‹ #### How to upgrade We recommend upgrading to the latest version of Truffle by running: npm uninstall -g truffle npm install -g truffle #### Changelog ##### Enhancements - Update 0x44 to PREVRANDAO|DIFFICULTY ([#​5545](https://togithub.com/trufflesuite/truffle/pull/5545) by [@​haltman-at](https://togithub.com/haltman-at)) ##### Bug fixes - Fix typo ([#​5551](https://togithub.com/trufflesuite/truffle/pull/5551) by [@​maksumic](https://togithub.com/maksumic)) ##### Internal improvements - Type opcodes table as const in [@​truffle/code-utils](https://togithub.com/truffle/code-utils) ([#​5557](https://togithub.com/trufflesuite/truffle/pull/5557) by [@​gnidan](https://togithub.com/gnidan)) - Increase timeout on cyclic dependencies test ([#​5546](https://togithub.com/trufflesuite/truffle/pull/5546) by [@​haltman-at](https://togithub.com/haltman-at)) - Eliminate circular dependency between compile-solidity and resolver ([#​5540](https://togithub.com/trufflesuite/truffle/pull/5540) by [@​haltman-at](https://togithub.com/haltman-at)) - Convert workflow-compile to TypeScript ([#​5458](https://togithub.com/trufflesuite/truffle/pull/5458) by [@​eggplantzzz](https://togithub.com/eggplantzzz)) - Remove property that seems to be unused ([#​5538](https://togithub.com/trufflesuite/truffle/pull/5538) by [@​eggplantzzz](https://togithub.com/eggplantzzz)) ##### Dependency updates - Upgrade ganache to v7.4.3 ([#​5556](https://togithub.com/trufflesuite/truffle/pull/5556) by [@​cds-amal](https://togithub.com/cds-amal)) ### [`v5.5.30`](https://togithub.com/trufflesuite/truffle/releases/tag/v5.5.30) [Compare Source](https://togithub.com/trufflesuite/truffle/compare/v5.5.29...v5.5.30) Hello once again! ๐Ÿ‘‹ Recently we added experimental ๐Ÿงช support for using Truffle Debugger ๐Ÿ”ฌ with Hardhat projects. Well, this experiment is turning up results ๐Ÿฆ ; [@​tomasz90](https://togithub.com/tomasz90) found that our implementation had problems for Hardhat projects whose configuration scripts would write to stdout. We've now fixed this error, so hopefully more people can now try out this (still experimental ๐Ÿง‘โ€๐Ÿ”ฌ) feature! Thanks Tomasz! There are some other minor changes this week; we've updated the solc version in `truffle init` to 0.8.17. And thanks to [@​eltociear](https://togithub.com/eltociear) for fixing a typo in one of our READMEs, and to [@​sashashura](https://togithub.com/sashashura) for a security improvement to our CI! ๐Ÿ’‚ That's it this week, but as always there's more coming soon! #### How to upgrade We recommend upgrading to the latest version of Truffle by running: npm uninstall -g truffle npm install -g truffle #### Changelog ##### Enhancements - Add step information to txlog ([#​5519](https://togithub.com/trufflesuite/truffle/pull/5519) by [@​haltman-at](https://togithub.com/haltman-at)) - Upgrade solc version to latest 0.8.17 in truffle init ([#​5521](https://togithub.com/trufflesuite/truffle/pull/5521) by [@​sukanyaparashar](https://togithub.com/sukanyaparashar)) ##### Bug fixes - Fix [@​truffle/from-hardhat](https://togithub.com/truffle/from-hardhat)'s support for Hardhat projects whose config files produce stdout ([#​5510](https://togithub.com/trufflesuite/truffle/pull/5510) by [@​gnidan](https://togithub.com/gnidan)) - Fix computation of event status in flattedEvents ([#​5512](https://togithub.com/trufflesuite/truffle/pull/5512) by [@​haltman-at](https://togithub.com/haltman-at)) ##### Internal improvements - Move compile-solidity tests to a new separate package ([#​5445](https://togithub.com/trufflesuite/truffle/pull/5445) by [@​eggplantzzz](https://togithub.com/eggplantzzz)) - Fix typo in contract/README.md ([#​5534](https://togithub.com/trufflesuite/truffle/pull/5534) by [@​eltociear](https://togithub.com/eltociear)) - GitHub Workflows security hardening ([#​5503](https://togithub.com/trufflesuite/truffle/pull/5503) by [@​sashashura](https://togithub.com/sashashura)) ##### Dependency updates - Upgrade solc to 0.8.17 ([#​5522](https://togithub.com/trufflesuite/truffle/pull/5522) by [@​sukanyaparashar](https://togithub.com/sukanyaparashar)) ### [`v5.5.29`](https://togithub.com/trufflesuite/truffle/releases/tag/v5.5.29) [Compare Source](https://togithub.com/trufflesuite/truffle/compare/v5.5.28...v5.5.29) Hello once again! In this week's Truffle release we've added the ability to use `instance.estimateGas()` โ›ฝ or `instance.call()` โ˜Ž with Truffle Contract. (The latter won't work if your contract already has a method named `call`.) This is useful if you want to estimate the gas used by the fallback function, or to test the fallback function's return value. Also this week, [@​Neurone](https://togithub.com/Neurone) has updated the list of URLs that we source the Solidity compiler from. Faster solc binaries have now been given a higher priority, so hopefully this should reduce your compile times! ๐Ÿ‡ In addition, we've added support in `truffle debug --fetch-external` for more of the networks supported by Etherscan, so you can debug ๐Ÿ•ต verified contracts on more networks. And as always, come back next week for even more improvements to Truffle! ๐Ÿ‘‹ #### How to upgrade We recommend upgrading to the latest version of Truffle by running: npm uninstall -g truffle npm install -g truffle #### Changelog ##### Enhancements - Add `instance.estimateGas()` and `instance.call()` ([#​5426](https://togithub.com/trufflesuite/truffle/pull/5426) by [@​haltman-at](https://togithub.com/haltman-at)) - Add hecoinfo testnet back in to source-fetcher ([#​5497](https://togithub.com/trufflesuite/truffle/pull/5497) by [@​haltman-at](https://togithub.com/haltman-at)) - Add optimistic goerli to etherscan fetcher ([#​5496](https://togithub.com/trufflesuite/truffle/pull/5496) by [@​haltman-at](https://togithub.com/haltman-at)) ##### Bug fixes - Update list of URLs to fetch Solidity compiler from ([#​5008](https://togithub.com/trufflesuite/truffle/pull/5008) by [@​Neurone](https://togithub.com/Neurone)) ##### Internal improvements - Properly time REPL inputs ([#​5479](https://togithub.com/trufflesuite/truffle/pull/5479) by [@​cds-amal](https://togithub.com/cds-amal)) - Use canonical URL for goerli-optimistic ([#​5508](https://togithub.com/trufflesuite/truffle/pull/5508) by [@​haltman-at](https://togithub.com/haltman-at)) - Use `@truffle/spinners` in `@truffle/preserve` instead of `spinnies` ([#​5485](https://togithub.com/trufflesuite/truffle/pull/5485) by [@​benjamincburns](https://togithub.com/benjamincburns)) - Remove faker from abi-utils and generate arbitraries manually ([#​5484](https://togithub.com/trufflesuite/truffle/pull/5484) by [@​eggplantzzz](https://togithub.com/eggplantzzz)) ##### Dependency updates - Update abi-to-sol to ^0.6.6 ([#​5491](https://togithub.com/trufflesuite/truffle/pull/5491) by [@​gnidan](https://togithub.com/gnidan)) ### [`v5.5.28`](https://togithub.com/trufflesuite/truffle/releases/tag/v5.5.28) [Compare Source](https://togithub.com/trufflesuite/truffle/compare/v5.5.27...v5.5.28) Hello all! ๐Ÿ‘‹ This week sees a large-scale revamp of Truffle Dashboard. ๐ŸŽ It's faster with fewer interruptions; it has a ๐ŸŒ™ dark mode; and your wallet will no longer disconnect upon refresh. These are only some of the ways that Truffle Dashboard has been improved; you may want to check out [the PR](https://togithub.com/trufflesuite/truffle/pull/5241) for details!
See what it looks like!
Meanwhile, other improvements continue apace! โ›ต The commands `truffle --version` and `truffle -v` should now work correctly, in addition to the already-supported syntax of `truffle version`. The `--fetch-external` option for Truffle Debugger now supports fetching Etherscan-verified contracts from the Gnosis network. ๐Ÿฆ‰ And for those of you using the `@truffle/abi-utils` library, we've added functions for computing signatures and selectors. โœ Finally, thanks to [@​ebrahimmfadae](https://togithub.com/ebrahimmfadae) for spotting and fixing a deployer error that could occur when using the `overwrite` option! That's all for this week, but as always we'll be back 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 - Dashboard frontend revamp (dark mode, performance, etc) ([#​5241](https://togithub.com/trufflesuite/truffle/pull/5241) by [@​cliffoo](https://togithub.com/cliffoo)) - Add selector and signature computation functions to `abi-utils` ([#​5465](https://togithub.com/trufflesuite/truffle/pull/5465) by [@​haltman-at](https://togithub.com/haltman-at)) - Add gnosis network to etherscan fetcher ([#​5469](https://togithub.com/trufflesuite/truffle/pull/5469) by [@​haltman-at](https://togithub.com/haltman-at)) ##### Bug fixes - Add --from to global command options ([#​5451](https://togithub.com/trufflesuite/truffle/pull/5451) by [@​sukanyaparashar](https://togithub.com/sukanyaparashar)) - Add command handling for '--version' & '-v' ([#​5395](https://togithub.com/trufflesuite/truffle/pull/5395) by [@​lsqproduction](https://togithub.com/lsqproduction)) - Fix error on deploying with `overwrite` option ([#​5448](https://togithub.com/trufflesuite/truffle/pull/5448) by [@​ebrahimmfadae](https://togithub.com/ebrahimmfadae)) ##### Internal improvements - Remove unnecessary config entry in dev deps for compile-solidity ([#​5487](https://togithub.com/trufflesuite/truffle/pull/5487) by [@​eggplantzzz](https://togithub.com/eggplantzzz)) - Fully convert compile-solidity to use TypeScript ([#​5432](https://togithub.com/trufflesuite/truffle/pull/5432) by [@​eggplantzzz](https://togithub.com/eggplantzzz)) - Fix typo in `package.json` ([#​5463](https://togithub.com/trufflesuite/truffle/pull/5463) by [@​cliffoo](https://togithub.com/cliffoo)) - Bring `@truffle/preserve` package back inside the monorepo ([#​5455](https://togithub.com/trufflesuite/truffle/pull/5455) by [@​benjamincburns](https://togithub.com/benjamincburns)) ##### Dependency updates - Update `@trufflesuite/spinnies` to 0.1.1 ([#​5456](https://togithub.com/trufflesuite/truffle/pull/5456) by [@​benjamincburns](https://togithub.com/benjamincburns)) - Update apollo-server-core from 3.6.3 to 3.10.1 ([#​5460](https://togithub.com/trufflesuite/truffle/pull/5460) by [@​dependabot\[bot\]](https://togithub.com/apps/dependabot)) - Update acorn from 6.4.0 to 6.4.2 ([#​5457](https://togithub.com/trufflesuite/truffle/pull/5457) by [@​dependabot\[bot\]](https://togithub.com/apps/dependabot)) - Update shell-quote from 1.7.2 to 1.7.3 ([#​5454](https://togithub.com/trufflesuite/truffle/pull/5454) by [@​dependabot\[bot\]](https://togithub.com/apps/dependabot)) ### [`v5.5.27`](https://togithub.com/trufflesuite/truffle/releases/tag/v5.5.27) [Compare Source](https://togithub.com/trufflesuite/truffle/compare/v5.5.26...v5.5.27) Hello again! ๐Ÿ‘‹ It's that time of the week for a delicious new Truffle release ๐Ÿง Ever wanted to use the [Truffle Debugger](https://trufflesuite.com/docs/truffle/getting-started/using-the-truffle-debugger/) within a Hardhat project? Well this release introduces a new package that does just that! ๐Ÿ”ฅ To try it out, simply run `truffle debug ` and Truffle handles the rest. This is an experimental feature so there may be ๐Ÿ‰'s and as always we'd love your feedback! The files generated by `truffle init` have been updated and now better reflect the scenarios in which Truffle is commonly used. ๐ŸŽจ Beyond that we've added the godwoken mainnet when using debugger's `--fetch-external` flag. There's also an update to the debugger's `block.difficulty` calculation in preparation for the merge. Shout out to [@​eltociear](https://togithub.com/eltociear) for typo fix in `compilations/types.ts` too! ๐Ÿ™ That's all for now! See you next week for another candy-fueled installment. #### How to upgrade We recommend upgrading to the latest version of Truffle by running: npm uninstall -g truffle npm install -g truffle #### Changelog ##### Enhancements - Devise new experimental [@​truffle/from-hardhat](https://togithub.com/truffle/from-hardhat) package for compatibility translation ([#​5420](https://togithub.com/trufflesuite/truffle/pull/5420) by [@​gnidan](https://togithub.com/gnidan)) - Hook up `truffle debug` to [@​truffle/from-hardhat](https://togithub.com/truffle/from-hardhat) ([#​5434](https://togithub.com/trufflesuite/truffle/pull/5434) by [@​gnidan](https://togithub.com/gnidan)) - Add godwoken mainnet to sourcify fetcher ([#​5444](https://togithub.com/trufflesuite/truffle/pull/5444) by [@​haltman-at](https://togithub.com/haltman-at)) - Prepare debugger's `block.difficulty` reporting for the merge ([#​5431](https://togithub.com/trufflesuite/truffle/pull/5431) by [@​haltman-at](https://togithub.com/haltman-at)) - Update `truffle init` artifacts ([#​5320](https://togithub.com/trufflesuite/truffle/pull/5320) by [@​sukanyaparashar](https://togithub.com/sukanyaparashar)) - Allow extractOptions to work with -option ([#​5443](https://togithub.com/trufflesuite/truffle/pull/5443) by [@​lsqproduction](https://togithub.com/lsqproduction)) ##### Bug fixes - Prevent crash that occurs when processing certain bad jumps ([#​5425](https://togithub.com/trufflesuite/truffle/pull/5425) by [@​haltman-at](https://togithub.com/haltman-at)) ##### Internal improvements - Fix typo in compilations/types.ts ([#​5435](https://togithub.com/trufflesuite/truffle/pull/5435) by [@​eltociear](https://togithub.com/eltociear)) - Use TruffleError instead of Error while parsing mutually exclusive options ([#​5433](https://togithub.com/trufflesuite/truffle/pull/5433) by [@​sukanyaparashar](https://togithub.com/sukanyaparashar)) - Expose [@​truffle/compile-solidity](https://togithub.com/truffle/compile-solidity)'s bytecode shims ([#​5418](https://togithub.com/trufflesuite/truffle/pull/5418) by [@​gnidan](https://togithub.com/gnidan)) ##### Dependency updates - Standardize `@types/node` version and upgrade all TS packages to use `typescript@4.7.2` ([#​5423](https://togithub.com/trufflesuite/truffle/pull/5423) by [@​benjamincburns](https://togithub.com/benjamincburns))

Configuration

๐Ÿ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

๐Ÿšฆ Automerge: Disabled by config. Please merge this manually once you are satisfied.

โ™ป Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

๐Ÿ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.