Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

v5.10.1 — Rum baba

Compare
Choose a tag to compare
@cliffoo cliffoo released this 23 Jun 21:12
· 359 commits to develop since this release

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

Internal improvements

Dependency updates