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

v5.1.37 β€” Double-Dipped Donut 🍩🍩

Compare
Choose a tag to compare
@haltman-at haltman-at released this 31 Jul 01:24
· 6509 commits to develop since this release

Hello all! πŸ‘‹

This week, thanks to @KiChjang, Truffle now will warn you on compilation if your project has multiple contracts with the same name. We're still working on supporting this case, but for now a warning has been added. πŸ””

Also, we've fixed a problem in the debugger related to debugging verified external contracts. (Have you tried this yet? If not, you should take a look! 🧐 ) Sometimes the debugger would fail to recognize a verified contract if it was capable of creating other contracts; this should now be fixed. In addition, a decoding error has been fixed that would cause certain calldata arrays to decode incorrectly.

Speaking of the debugger, we've also updated syntax highlighting to account for Solidity 0.7.0! We're still working on updating other things to Solidity 0.7.0 where appropriate, but of course you can continue using existing versions of Solidity with no problem. πŸ‘Œ

That's all for this week, but we'll be back next week with more fixes and improvements! πŸ”§ See you then!

How to upgrade

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

npm uninstall -g truffle
npm install -g truffle

Changelog

Enhancements

  • Emit warnings when duplicate contract names are found during compilation (#3021 by @KiChjang)
  • Document truffle compile --compiler flag and add none as an option (#3208 by @gnidan)

Bug fixes

Internal improvements

Dependency updates