v6.2.0 – New Features, Performance Improvements, & Bug Fixes – Spicy Maple Bacon 🥓
v6.2.0 Spicy Maple Bacon 🥓
Hot out of the oven with a new minor version release! It's been a while since the last ganache-cli release, but we haven't been idle. This time around we've made things spicy (with some performance improvements) and sweetened the recipe (by adding a new feature) – and we've also sprinkled in plenty of bug fixes!
Release Highlights
This release is mostly bug fixes, but there are some huge performance improvements as well, most importantly we've finally re-enabled async request processing! Thank you everyone who contributed to the research, commits, conversations, and PRs behind the fix for the race condition bug we've been working on since 2017.
You shouldn't have any issues when upgrading from a v6.1.*
to v6.2.0
, but if you do please let us know by filing an issue.
Commits
- Update Docker build to node 10 4a25106
- Use Docker multi-stage builds for reduced file size 8d7a4cf 168534d
- We've moved tests and the build process over to ganache-core to make testing easier d1f654d
- Added flag to disable logging e89d432
- Added flag for setting the first block's start time (3c22210)[https://github.com/trufflesuite/ganache-cli/commit/3c222108d4c28e9167211dcee2d3ecfff64b2dae]
- Added flag for HTTP Server keepAliveTimeout (#8215ccf)[https://github.com/trufflesuite/ganache-cli/commit/8215ccf11c940dac950f74c2db1a6690416acf69]
- Updates to ganache-core v2.3.0
Ganche Core v2.3.0 Updates:
New Features:
- Add a new option for HTTP Server
keepAliveTimeout
48028c7
Performance:
- Enable async request processing: 312902f
- Optimize
sortbyPriceAndNonce
: 398125f - Default to using native dependencies where possible, falling back to JS implementations where native isn’t available. 22e3af6
Bug Fixes:
- Don’t assume that every transaction with data is a contract call f52e1ab
eth_getCompilers
now returns empty array instead of["solidity"]
a3638a5- Add
v
,r
, ands
parameters ingetTransaction
5dc6510 - Return RPC quantity encoded hex strings for
logIndex
andtransactionIndex
in logs: abb0a7e - Return properly encoded RPC hex strings for transactions: 24eb4bc
- Fix handling of
0x0
,0x
,0x00
, andnull
in JSON RPC responses: 3efcab4, and 9a4cb88 - Fix multi-transactions per block gas-usage & cumulative gas-usage 72efbd7
- Fix Merkle Patricia Tree race condition and forked debugging: af98663
- Add
to
andfrom
fields to transaction receipts: 4d3c606 - Update statemanager to handle requests with block numbers higher than latest: c02be96
- Fix hash collision issue and update ethereumjs-tx: 7f837ab
- Fix issue where interval mining wouldn’t stop after the provider/server was closed: 0c3979d
Maintenance:
- Add eslint and formatting rules: 7fb71a8 and 5edd2a8
- Log reason string on transaction failure 8d311f3
More steady releases to come in the future so keep on filing issues and submitting PRs!
💖 The Truffle Team