v6.4.5 - Banana Pudding 🍌
Highlights
How to Upgrade
Changelog
Related Releases
We're moving to a beta
› latest
release pipeline, where all non-hotfix changes are first released in a beta before being promoted to a stable release.
We'd love it if you'd start using the latest betas and let us know early and often if you find any bugs or regressions!
Highlights
This version of ganache-cli features the latest and greatest gas exactimation algorithm. While the previous algorithm works well in most cases and was heavily tested, it relied on several assumptions we later found to be incorrect. Gas exactimation 2.0 now makes ZERO assumptions, and returns an exactimation in O(1), compared with O(log n) in geth, parity, etc!
Some notable improvements you might like:
- Completely rewritten without recursion
- Approximately 20% faster and 33% less code
- Works with CREATE2
Stay tuned for a full featured blog post explaining the algorithm and a "Deep Dive" workshop at TruffleCon 2019!
In case you missed it, we're holding TruffleCon 2019 August 2 - 4 at Microsoft's campus in Redmond, WA! And it'll be awesome. You should be there.
How to Upgrade
Upgrade to the latest version of ganache-cli by running:
npm
npm uninstall ganache-cli -g
npm install ganache-cli@latest -g
yarn
yarn global remove ganache-cli
yarn global add ganache-cli@latest
Changelog
Bug Fixes
- Fix and optimize gas estimation algorithm (trufflesuite/ganache#435) – @nicholasjpaterno
Maintenance
- Update nyc (trufflesuite/ganache@cc5b0ed) – @davidmurdoch
Related Releases
💖 The Truffle Team