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-core 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-core by running:
npm
npm uninstall ganache-core
npm install ganache-core@beta
yarn
yarn remove ganache-core
yarn add ganache-core@beta
Changelog
Bug Fixes
- Fix and optimize gas estimation algorithm (#435) – @nicholasjpaterno
Maintenance
- Update nyc (cc5b0ed) – @davidmurdoch
- Fix webpack replacement of 'scrypt' with 'js-scrypt'. (#426) – @markspanbroek
- bump ethereumjs-wallet (#424) – @andremedeiros
Related Releases
💖 The Truffle Team