This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
v5.1.21 – `immutable` caramel
Good day!
Please enjoy this Truffle release! Today, we bring you two notable enhancements:
- Firstly, @rkalis has updated Truffle's migration output to include both decimal and hexadecimal for gas values! Pretty handy! 📋
- Secondly, Solidity v0.6.5 and above now provide the
immutable
keyword! 💪Thanks to @haltman-at's quick action and due preparedness, Truffle's debugger and decoder now both support this new language feature!
As always, check the changelog below for more, and please do take care! Let us know if you run into any issues. 🙇
How to upgrade
We recommend upgrading to the latest version of Truffle by running:
npm uninstall -g truffle
npm install -g truffle
Changelog
Enhancements
- Display all migration gas numbers in dec and hex formats (#2916 by @rkalis)
- Add missing forAddress convenience function to decoder (#2931 by @haltman-at)
- Add debugger/decoder support for immutable state variables (#2944 by @haltman-at)
Bug-fixes
- Fix two decoder crashes (#2927 by @haltman-at)
- Fix default fallthrough in abi output allocation (#2945 by @haltman-at)
- Fix nativize of TypeValueEnum (#2947 by @haltman-at)
- Fix allocation of immutables for Solidity 0.6.6 (#2948 by @haltman-at)
- Don't compute CREATE2 address if not on a CREATE2 (#2949 by @haltman-at)
- Implement typeString for TypeType (#2950 by @haltman-at)