github trufflesuite/ganache v2.12.1
v2.12.1 – ♦️ Kaju Katli ♦️

latest releases: v7.9.2, ganache@7.9.2, v7.9.1...
3 years ago

 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

Don't miss a new ganache release

NewReleases is sending notifications on new releases.