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

v7.5.0

Compare
Choose a tag to compare
@davidmurdoch davidmurdoch released this 25 Oct 20:02
· 85 commits to develop since this release
d8cfb81

 Highlights   New Features   Fixes   Miscellaneous   Changelog   Known Issues   Future Plans 


Back from Devcon and our ConsenSys retreat for another release!

Thank you to our contributors @omahs, @MicaiahReid, @tenthirtyone, and @jeffsmale90 for your contributions to this release. We'd also like to thank issue contributors @gnidan, @mxork, @leroldary, @Inphi, @domalaq, @ChristianCoenen, @drortirosh, @seaona, @krzkaczor, and @aashborn.

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.

We've changed 32 files across 9 merged pull requests, tallying 1641 additions and 432 deletions, since our last release.


Highlights

This release brings you the long-awaited eth_feeHistory RPC endpoint. Check out the Infura docs on this method if you aren't already up to speed. Give it a try and let us know if you aren't fully gruntled with the feature or if you find any issues with its performance or implementation.

It also brings a few bug fixes, docs updates, and some internal improvements.

back to top


New Features

feat: add eth_feeHistory JSON-RPC endpoint (#3351)

Adds eth_feeHistory to the JSON-RPC API. This endpoint returns gas used, baseFeePerGas, and effective reward by array of percentages accounting for gas used for a range of blocks.

Check out the Infura docs on this method if you aren't already up to speed.

Fixes: #1470

back to top


Fixes


fix: add an upper limit to # of accounts that can be generated by ganache (#3361)

This change logs a warning to the user that performance may be impacted if more than 100,000 accounts are created.

Fixes #736

back to fixes

fix: add " " after the HTTP/1.1 Response Status-Code (#3404)

This change brings Ganache into strict compliance with the HTTP/1.1 Status-Line specification. Nearly all established HTTP/1.1 response parsers handle HTTP/1.1 Status-Lines that omit the Status-Code trailing space character, but it doesn't hurt to follow the specification strictly.

This change fixes #3400

back to fixes

back to top


Miscellaneous


docs: fix typo in fork.username cli description (#3634)

Just fixing a typo in the CLI's --help description for the --fork.username option.

back to miscellaneous

ci: add @MicaiahReid to CODEOWNERS (#3775)

As described in the title, this change adds @MicaiahReid to the CODEOWNERS file for some files within Ganache.

back to miscellaneous

test: improve coverage of RPC-JSON Data byteLength argument (#3784)

This change adds basic tests ensuring the byteLength argument passed to the RPC-JSON Data constructor and factory method are respected internally, and that they are overridden by the argument passed to toString() and toBuffer().

back to miscellaneous

chore: remove extra quotes in require-engines test helper (#3713)

Just fixing a typo in a test helper.

back to miscellaneous

docs: fix typos (#3801)

Just fixes some typos.

back to miscellaneous

docs: fix eth_call interactive docs example (#3774)

Our not-yet-published-but-available-for-use interactive JSON-RPC documentation had a bug in the example for eth_call, which is resolved with this fix.

back to miscellaneous

back to top


Changelog

back to top


                

Known Issues

Top Priority:

  • debug_storageRangeAt fails to find storage when the slot was created earlier in the same block (#3338)
  • 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_setAccount* 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)
  • 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 block (#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