v5.5.29 — Raw chocolate
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 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()
andinstance.call()
(#5426 by @haltman-at) - Add hecoinfo testnet back in to source-fetcher (#5497 by @haltman-at)
- Add optimistic goerli to etherscan fetcher (#5496 by @haltman-at)
Bug fixes
Internal improvements
- Properly time REPL inputs (#5479 by @cds-amal)
- Use canonical URL for goerli-optimistic (#5508 by @haltman-at)
- Use
@truffle/spinners
in@truffle/preserve
instead ofspinnies
(#5485 by @benjamincburns) - Remove faker from abi-utils and generate arbitraries manually (#5484 by @eggplantzzz)