github trufflesuite/ganache v7.3.2

latest releases: v7.9.2, ganache@7.9.2, v7.9.1...
22 months ago

 Highlights   Fixes   Miscellaneous   Changelog   Known Issues   Future Plans 


Another day, another bug fix release.

If you have some time, we encourage you to browse our issues to find anything you'd like implemented/fixed sooner. Give them a +1 and we'll use this community feedback to help prioritize what we work on! Or better yet, open a new issue, open a PR to fix an existing issue, or apply to join our team (we're hiring!) if you really want to get involved.

Speaking of the awesome community of Ganache users, we'd like to extend our gratitude to all issue openers/commenters (@kimpace19882627, @slav-arcadechain, @canoqb10, @khelil, @bolshoytoster, @spinlud, @VarunSaiTeja, @merlox, @ccornici, @SeanLuis, @alexander-schreiner) and contributors (@rmeissner, @tenthirtyone, @cds-amal, @eltociear, @MicaiahReid) who were a part of this release!

We've changed 29 files across 5 merged pull requests, tallying 318 additions and 193 deletions, since our last release.


Fixes

  • fix: fix installation issues by bumping @trufflesuite/bigint-buffer to v1.1.10 (#3208)
  • fix: reduce bundle size and check size in CI (#3275)
  • fix: make forking work in the browser (#3130)
  • fix: Properly handle 'estimate' for defaultTransactionGasLimit option on the CLI (#3233)

fix: fix installation issues by bumping @trufflesuite/bigint-buffer to v1.1.10 (#3208)

This change updates @trufflesuite/bigint-buffer to 1.1.10. This patched version is built in v18 of NodeJS and resolves build issues for Windows and Mac users installing Ganache (1, 2, possibly 3, 4) on Node v14, v16, and v18.

back to fixes

fix: reduce bundle size and check size in CI (#3275)

jsDelivr has an unpacked bundle size limit of 100MB, which we recently exceeded, breaking our CDN recommendation in our README.md.

This change reduces the bundle size to under 100MB and also adds a check to our pr.yml CI Action that will fail if the new bundle size is greater than 100 MB.

back to fixes

fix: make forking work in the browser (#3130)

Ganache's zero-config forking feature now works in the browser!

back to fixes

fix: Properly handle 'estimate' for defaultTransactionGasLimit option on the CLI (#3233)

Previously, estimate was causing an error when the miner options would attempt to cast the string to BigInt.

This change adds the estimateOrToBigIntOrString function to Ethereum's miner options to intercept and handle the estimate option on the cli.

back to fixes

back to top


Miscellaneous

chore: fix typo in errors.ts (#3268)

This is a simple change fixing a typo in one of our comments. Thanks, @eltociear, for this fix!

back to top


Changelog

back to top


Known Issues

Top Priority:

  • calling evm_mine with a timestamp does not persistent time offset (#3265)
  • Architecture not supported (#2256)
  • Add eth_feeHistory RPC endpoint (#1470)
  • Add eth_createAccessList RPC method (#1056)

Coming Soon™:

  • Implications failed: fork.headers -> url (#2627)
  • In Geth chain-mode, logic to accept/reject transactions based on gas price/limit should match Geth (#2176)
  • evm_mine and miner_start don't respect --mode.instamine=eager (#2029)
  • evm_setAccountNonce is race-conditiony (#1646)
  • @ganache/filecoin@alpha doesn't work with ganache@alpha (#1150)
  • Launching ganache with fork is throwing revert errors when communicating with 3rd party contracts (#956)
  • Build a real pending block! (#772)
  • VM Exception when interfacing with Kyber contract (#606)
  • After calling evm_mine, eth_getLogs returns same logs for all blocks (#533)
  • personal_unlockAccount works with any password (#165)
  • --db Option Requires Same Mnemonic and Network ID (#1030)

back to top


Future Plans

Top Priority:

  • Add flag for starting ganache in detached mode (#1001)
  • Implement eth_getProof RPC message (#382)
  • Accept a genesis.json file (#1042)

Coming Soon™:

  • Switch to esbuild to make build times faster/reasonable (#1555)
  • Add eip-155 support (#880)
  • Allow to sync forked chain to the latest blcok (#643)
  • Implement a streaming trace capability (#381)
  • Improve log performance when forking (#145)
  • Log contract events (#45)

back to top

Open new issues (or join our team) to influence what we gets implemented and prioritized.


💖 The Truffle Team

Don't miss a new ganache release

NewReleases is sending notifications on new releases.