We're moving to a
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!
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.
Upgrade to the latest beta version of ganache-cli by running:
npm uninstall ganache-cli -g npm install ganache-cli@beta -g
yarn global remove ganache-cli yarn global add ganache-cli@beta