Skip to content
Pre-release

@davidmurdoch davidmurdoch released this Jul 3, 2019 · 29 commits to develop since this release

 Highlights    How to Upgrade    Changelog    Related Releases 


We're moving to a betalatest 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 beta version of ganache-cli by running:

npm

npm uninstall ganache-cli -g
npm install ganache-cli@beta -g

yarn

yarn global remove ganache-cli
yarn global add ganache-cli@beta

Changelog

Bug Fixes

Maintenance

Related Releases


💖 The Truffle Team

Assets 2
You can’t perform that action at this time.