Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Releases: trufflesuite/ganache

v2.13.0-alpha.2 – Johnnycake Cobblers 🎂

01 Oct 21:40
v2.13.0-alpha.2
96835a9
Compare
Choose a tag to compare

 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

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 and shrinkwrap 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 👧

01 Oct 21:08
v2.12.2-beta.0
0c5b962
Compare
Choose a tag to compare

 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

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:

  • test: throw if test contracts fail compilation (#633)
  • chore: simply release process (#638)

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 ♦️

01 Oct 20:42
v2.12.1
95ac4c3
Compare
Choose a tag to compare

 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

v2.12.1 – ♦️ Kaju Katli ♦️

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 by eth_chainId with the chainId used by the EVM.
  • Add evm_unlockUnknownAccount and evm_lockUnknownAccount to unlock/lock any unknown account (accounts not known to the personal namespace and accounts other than those returned by eth_accounts). This is an especially useful feature when used with forking in order to masquerade as any account without having to pre-configure unlocked_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:

  • feat: add _chainIdRpc option (#629)
  • feat: add evm_unlockUnknownAccount (#630)

Related Releases

💖 The Truffle Team

v2.12.0-beta.0 – ♦️ Kaju Katli ♦️

15 Sep 19:11
v2.12.0-beta.0
69cdece
Compare
Choose a tag to compare

 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

v2.12.0-beta.0 – ♦️ Kaju Katli ♦️

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 by eth_chainId with the chainId used by the EVM.
  • Add evm_unlockUnknownAccount and evm_lockUnknownAccount to unlock/lock any unknown account (accounts not known to the personal namespace and accounts other than those returned by eth_accounts). This is an especially useful feature when used with forking in order to masquerade as any account without having to pre-configure unlocked_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:

  • feat: add _chainIdRpc option (#629)
  • feat: add evm_unlockUnknownAccount (#630)

Related Releases

💖 The Truffle Team

2.11.3 – Triple Chocolate Block Pudding 🍫🍫🍫🧱🍮

08 Sep 20:26
v2.11.3
9154f73
Compare
Choose a tag to compare

 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

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 in ForkedStorageTrie if a subsequent put happens (#612)

Maintenance:

  • move forking tests to a separate directory (#608)
  • move forking code to its own directory (#609)

Related Releases

💖 The Truffle Team

2.11.3-beta.0 – Triple Chocolate Block Pudding 🍫🍫🍫🧱🍮

25 Aug 01:13
v2.11.3-beta.0
196fcce
Compare
Choose a tag to compare

 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

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 in ForkedStorageTrie if a subsequent put happens (#612)

Maintenance:

  • move forking tests to a separate directory (#608)
  • move forking code to its own directory (#609)

Related Releases

💖 The Truffle Team

v2.11.2 – Coffee Cake ☕

05 Aug 22:30
v2.11.2
18542cc
Compare
Choose a tag to compare

 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

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

See v2.10.2...v2.11.2

Related Releases

💖 The Truffle Team

v2.11.0-beta.0 – Coffee Cake ☕

25 Jun 22:37
v2.11.0-beta.0
cf3ddb1
Compare
Choose a tag to compare
Pre-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

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

See v2.10.2...v2.11.0-beta.0

💖 The Truffle Team

v2.10.2 – Queen of Puddings 👑🍮🎂

14 Feb 00:54
v2.10.2
Compare
Choose a tag to compare

 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

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

Maintenance

Related Releases


💖 The Truffle Team

v2.10.1 – Muir Glacier Mint 🏔️ 🍬 🌿

30 Jan 17:11
v2.10.1
Compare
Choose a tag to compare

 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

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, Upgrade ethereumjs-*@latest and upgrade solc to v0.6.1 (#538) – @nicholasjpaterno

Bug Fixes

Maintenance

Related Releases


💖 The Truffle Team