Releases: trufflesuite/ganache
v2.13.0-alpha.2 – Johnnycake Cobblers 🎂
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
v2.13.0-alpha.2 – Johnnycake Cobblers
Johnnycake Cobblers: another dessert with a weird name. Someone really should cook up all the release names we've used for us Trufflers to try one day! 😋
This release is an alpha
release. Why? Because it's been shrinkwrapped by npm v7.0.0-rc.0, which may have unintended side-effects. npm v6 has a couple of bugs that have complicated our releases. The first is that npm install ganache-core
installs ganache's devDependencies
if they are in the npm-shrinkwrap.json file, even though they are marked as "dev": true
. The other bug is that if we npm prune --production
before shrinkwrapping and publishing, npm creates an invalid shrinkwrap file; specifically: some entries that should be removed are only partially removed; their name
fields remain but their repository fields are missing, which causes npm install ganache-core
to crash npm with a Cannot read property 'match' of undefined
error. npm v7.0.0-rc.0 produces an npm v6 compatible npm-shrinkwrap.json
file, but without these bugs.
This release also ships a new feature: @tynes added the blockHash
param to eth_getLogs
. Thanks, Mark!
How to Upgrade
Upgrade to the latest beta version of ganache-core by running:
npm
npm uninstall ganache-core
npm install ganache-core@alpha
yarn
yarn remove ganache-core
yarn add ganache-core@alpha
Changelog
Features:
- feat: add ability to use blockHash with eth_getLogs (#639)
Fixes:
- fix: remove dev dependencies from published package's shrinkwrap (#640)
Misc:
- test: increase infura test timeouts so they stop failing in CI (#642)
- chore: update CI's node 14 version to 14.13.0 (#641)
- trying npm 7 to see if it can
prune --production
andshrinkwrap
without creating an invalid shrinkwrap file 4b3f588 - update to npm v7.0.0-rc.0 2af3122
- chore: fix prepublish script for npm 7 b30a886
Related Releases
💖 The Truffle Team
v2.12.2-beta.0 – Peach 🍑 Brown 🏾 Betty 👧
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
v2.12.2-beta.0 – Peach 🍑 Brown 🏾 Betty 👧
Yes, Peach Brown Betty is a real dessert! Naming things, like releases... and desserts, is hard.
Anyway, this release finally brings Node 14 support (and Node 15.0.0-rc.0, too)! Give it a try and let us know if you experience any issues.
Also, snapshot/revert now works properly when forking! If you use ganache's forking feature in your truffle tests you already use ganache's snapshot/revert feature, but you may have experienced some bugs if contracts you interact with deleted/destroyed or otherwise reset data. Thanks to @seesemichaelj's hard work, this bugs should now be fixed! Please open an issue if you run in to any more forking bugs (or any bugs, for that matter)!
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
Misc:
Fixes:
- fix: update merkle-patricia-tree to v3.0.0 to support node 14 (#636)
- fix(forking): fix snapshots for forking (#627)
💖 The Truffle Team
v2.12.1 – ♦️ Kaju Katli ♦️
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
v2.12.1 –
Kaju Katli is a dessert from India and is shaped like a diamondEthereum diamond 😃
We've got two new features in this release:
- Add the
_chainIdRpc
option in order to work around a legacy issue due to inconsistent chainId use in ganache. Set_chainId
and_chainIdRpc
to the same number to align the value returned byeth_chainId
with the chainId used by the EVM. - Add
evm_unlockUnknownAccount
andevm_lockUnknownAccount
to unlock/lock any unknown account (accounts not known to thepersonal
namespace and accounts other than those returned byeth_accounts
). This is an especially useful feature when used with forking in order to masquerade as any account without having to pre-configureunlocked_accounts
! Thanks @aaryamannchallani for your PR!
How to Upgrade
Upgrade to the latest version of ganache-core by running:
npm
npm uninstall ganache-core
npm install ganache-core
yarn
yarn remove ganache-core
yarn add ganache-core
Changelog
Features:
Related Releases
💖 The Truffle Team
v2.12.0-beta.0 – ♦️ Kaju Katli ♦️
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
v2.12.0-beta.0 –
Kaju Katli is a dessert from India and is shaped like a diamondEthereum diamond 😃
We've got two new features in this release:
- Add the
_chainIdRpc
option in order to work around a legacy issue due to inconsistent chainId use in ganache. Set_chainId
and_chainIdRpc
to the same number to align the value returned byeth_chainId
with the chainId used by the EVM. - Add
evm_unlockUnknownAccount
andevm_lockUnknownAccount
to unlock/lock any unknown account (accounts not known to thepersonal
namespace and accounts other than those returned byeth_accounts
). This is an especially useful feature when used with forking in order to masquerade as any account without having to pre-configureunlocked_accounts
! Thanks @aaryamannchallani for your PR!
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
Features:
Related Releases
💖 The Truffle Team
2.11.3 – Triple Chocolate Block 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
v2.11.3 – Triple Chocolate Block Pudding 🍫🍫🍫🧱🍮
Are there too many emojis in this release name? The answer is no; there can never been too many emojis!
We've got three new bug fixes in this release, thanks to contributor @Ivshti and Truffler @seesemichaelj!
How to Upgrade
Upgrade to the latest beta version of ganache-core by running:
npm
npm uninstall ganache-core
npm install ganache-core
yarn
yarn remove ganache-core
yarn add ganache-core
Changelog
Bug Fixes:
- fix: properly cast the date in
evm_setTime
(#601)
Forking
- leverage the requested block number when getting forked storage (#613)
- invalidate
_deleted
inForkedStorageTrie
if a subsequentput
happens (#612)
Maintenance:
Related Releases
💖 The Truffle Team
2.11.3-beta.0 – Triple Chocolate Block 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
v2.11.3-beta.0 – Triple Chocolate Block Pudding 🍫🍫🍫🧱🍮
Are there too many emojis in this release name? The answer is no; there can never been too many emojis!
We've got three new bug fixes in this release, thanks to contributor @Ivshti and Truffler @seesemichaelj!
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: properly cast the date in
evm_setTime
(#601)
Forking
- leverage the requested block number when getting forked storage (#613)
- invalidate
_deleted
inForkedStorageTrie
if a subsequentput
happens (#612)
Maintenance:
Related Releases
💖 The Truffle Team
v2.11.2 – Coffee Cake ☕
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
v2.11.2 – Coffee Cake ☕
I just learned that Coffee Cake doesn't taste like coffee?! I've had it a hundred times and never thought about it...
And like coffee, this release will get things done faster! @fubhy's work to improve the performance of forking has resulted in real-world tests running up to 20 times faster than before!
@fubhy also fixed a bug when forking while using accounts with non-zero nonces. These accounts were not initialized properly on start up, resulting in nonce errors when running transactions.
How to Upgrade
Upgrade to the latest version of ganache-core by running:
npm
npm uninstall ganache-core
npm install ganache-core@latest
yarn
yarn remove ganache-core
yarn add ganache-core@latest
Changelog
Related Releases
💖 The Truffle Team
v2.11.0-beta.0 – Coffee Cake ☕
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
v2.11.0-beta.0 – Coffee Cake ☕
I just learned that Coffee Cake doesn't taste like coffee?! I've had it a hundred times and never thought about it...
And like coffee, this release will get things done faster! @fubhy's work to improve the performance of forking has resulted in real-world tests running up to 20 times faster than before!
@fubhy also fixed a bug when forking while using accounts with non-zero nonces. These accounts were not initialized properly on start up, resulting in nonce errors when running transactions.
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
💖 The Truffle Team
v2.10.2 – Queen of Puddings 👑🍮🎂
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
v2.10.2 – Queen of Puddings 👑🍮🎂
This updates ganache-core
with several small but much needed improvements. As some of you may know, ganache recently included an update to fix the dreaded TypeError: Cannot read property 'pop' of undefined
bug. However, in doing so we had inadvertently introduced another subtle bug where a long running ganache instance would hang
on shutdown; waiting for the OS to gracefully cleanup any temporary files created during runtime before exiting completely. We quickly fixed this issue with ganache-core
version 2.10.1
. However :) in doing so we had inadvertently introduced another subtle bug: If the user's tmp dir and ganache's db directory are not located on the same drive/partition then db file writes would fail. We hope that this patch does not inadvertently introduce any subtle bugs.
We also include a bug fix for a long standing issue of JSONRPC compliance. Receipts will no longer include the v
, r
, and s
transaction signature fields.
The patch also includes an update to correct a typo in ganache's options for the hdPath
parameter. Big thanks to @GregTheGreek for this PR!!
Finally, we've updated our version of ethereumjs-util
to fix a bug in the keccak package for node 12 users.
How to Upgrade
Upgrade to the latest version of ganache-core by running:
npm
npm uninstall ganache-core
npm install ganache-core@latest
yarn
yarn remove ganache-core
yarn add ganache-core@latest
Changelog
Bug Fixes
- Fix db write error on partitioned drives (#548) @davidmurdoch
- Remove VRS values from receipt. Match JSONRPC spec (#549) @nicholasjpaterno
- Adjust hdPath param name (#519) @GregTheGreek
Maintenance
- Update ethereumjs-util to v6.2.0 (#550) @nicholasjpaterno
Related Releases
💖 The Truffle Team
v2.10.1 – Muir Glacier Mint 🏔️ 🍬 🌿
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
Muir Glacier Mint 🏔️ 🍬 🌿
This release updates ganache-core
's default hardfork to muirGlacier
, inline with Ethereum's mainnet and testnet's. As many of you know, the Muir Glacier hardfork is a minor adjustment in the way difficulty was calculated; it was intended only to delay the 'ice age' (by 52 million seconds (~611 days)). Since ganache-core
mines with 0
difficulty, users can expect functionality to remain identical to the istanbul
hardfork.
Finally, this beta version contains a (potential? 😅) fix to work around an open Merkle Patricia Tree bug from 2016 ethereumjs/merkle-patricia-tree#12! If you do still get the dreaded TypeError: Cannot read property 'pop' of undefined
please file an issue with all the details!
How to Upgrade
Upgrade to the latest version of ganache-core by running:
npm
npm uninstall ganache-core
npm install ganache-core@latest
yarn
yarn remove ganache-core
yarn add ganache-core@latest
Changelog
Features
- Add
muirGlacier
support, Upgradeethereumjs-*@latest
and upgradesolc
to v0.6.1 (#538) – @nicholasjpaterno
Bug Fixes
- Fix missing memdown dependency, Update shrinkwrap (42fc3db) – @nicholasjpaterno
- Fixes
TypeError: Cannot read property 'pop' of undefined
bug (#530) – @davidmurdoch - Fixes
EPERM
errors on Windows,Too many file descriptors
bug on Mac, and add Windows and Mac testing to CI (#535) – @davidmurdoch - Fix prevents hang during process exit due to tmp file cleanup (#542) – @davidmurdoch and @nicholasjpaterno
Maintenance
- Update dev dependencies & fix linting issues (#539) – @nicholasjpaterno
- Update VM hardfork default to
muirGlacier
(#541) – @nicholasjpaterno - Fix slow tests that would occasionally timeout (#537) – @davidmurdoch
- Update
terser-webpack-plugin
andwebpack
to latest versions, update shrinkwrapped dependencies (2f837b9) – @davidmurdoch
Related Releases
💖 The Truffle Team