v5.10.1 — Rum baba
Hey everybody! Here's a Truffle release that will end your Friday with joy. 👨🍳
If you're using Truffle Test, Debugger, or Decoder, you'll be happy to know that our event decoding is improved to support contracts that use Solidity >= 0.8.20. 🕺 And if you're a fan of Yul, our Decoder can now properly decode internal function pointers from contracts compiled with viaIR
enabled. 👟 With these cases covered, it means decoding everywhere inside Truffle is hardened to give you a more stable experience.
Thanks to @calebyouki for bringing our attention to an issue related to the programmatic usage of @truffle/test
. 🪂 We've gone ahead and fixed that. Additionally, thank you to @73alexstep, @vlasov-hub, @BIOtrice, @elenaqi, and @HelenCodePro for looking after our readme's, cheers and welcome! 🐣
As per usual, our fetchers are kept up to date to reflect what Etherscan and Sourcify currently support. 🏌️ We also made an improvement to a codec component.
Try a rum baba if you can find one. 🥃 If not, well, still have a good weekend! We'll be back next week 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
- Allow decoding of internal function pointers in
viaIR
compilations (in Solidity 0.8.20) (#6050 by @haltman-at) - Properly handle event decoding in Solidity 0.8.20 (#6049 by @haltman-at)
- Specify "magic" variables' type only in component tooltip, not via prefix (#6116 by @gnidan)
- Add zora network to Sourcify fetcher (#6117 by @haltman-at)
Bug fixes
- Handle using @truffle/test without @truffle/core (#6118 by @eggplantzzz)
Internal improvements
- Remove cronos testnet from Etherscan fetcher (#6120 by @haltman-at)
- Remove slow Hardhat test (#6114 by @haltman-at)
- Remove flaky hardhat test (#6099 by @haltman-at)
- Update README.md (#6110 by @73alexstep)
- Update README.md (#6109 by @vlasov-hub)
- Update README.md (#6104 by @BIOtrice)
- Update README.md (#6103 by @elenaqi)
- Update CONTRIBUTING.md (#6100 by @HelenCodePro)
Dependency updates
- Upgrade semver to 7.5.2 (#6121 by @dependabot[bot])