This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
v7.3.1 #3253
MicaiahReid
announced in
Releases
v7.3.1
#3253
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Highlights
Fixes
Miscellaneous
Changelog
Known Issues
Future Plans
Today we have a smaller release so that we could get out a hot fix for an issue opened by @weiyuan95 (thanks Lee Wei Yuan!). We also have a performance improvement by @jeffsmale90, so upgrade to v7.3.1 to enjoy Ganache at even higher speeds!
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 58 files across 2 merged pull requests, tallying 1264 additions and 790 deletions, since our last release.
The great @jeffsmale90 has whipped up an awesome performance improvement for Ganache's internal JSON-RPC data types that also manages to make us more inline with correct JSON-RPC data representations. Jeff started working on this change even before he formally started here at Truffle 3 months ago (oh the joys of working on open-source tech with highly motivated people), so he was pretty thrilled to have this one released. Introducing:
JSON-RPC Data Type Improvements: Better, Faster, Stronger
with actual footage of Jeff as this PR was released:
back to top
fix: remove redundant await in
evm_mine
(#3247)In v7.3.0 we released a fix to the
evm_mine
RPC method that ended up breakingevm_mine
in strict instamine mode. The previous fix ensured that blocks were saved beforeevm_mine
would return. However, in strict instamine mode, we had an explicit call to wait for the blocks to be saved. This attempt to wait for blocks to be saved became redundant and causedevm_mine
to hang indefinitely. This is now fixed, and we've added some tests to verify thatevm_mine
continues working in both strict and eager instamine modes.back to top
perf: improve JSON-RPC data types; better, faster, stronger (#2983)
As part of an ongoing effort to make Ganache ⚡ Lightning-Fast ⚡, the internal representations of JSON-RPC data (
Data
,Quantity
, andAddress
) have been rewritten to be quicker, and does not change how you should use Ganache.These classes also now validate input values correctly, following the guidelines established by the Ethereum Foundation. This makes Ganache behave more correctly, but may cause some failures in existing code bases where invalid values are being passed into RPC functions.
This change has a significant impact on forking performance. The Convex Shutdown benchmark simulates a call to Convex's
systemShutdown
method. With a hot cache, Ganache's performance, with and without this change is below:Which is an approximately 31% speed up!
Note: Benchmarks were performed on macOS 12.2.1 with M1 Pro CPU and 16 GB LPDDR5.
back to top
evm_mine
#3247 fix: remove redundant await inevm_mine
(@MicaiahReid)back to top
Top Priority:
Coming Soon™:
debug_traceTransaction
may crash on Node.js v12 (#2106)evm_mine
andminer_start
don't respect --mode.instamine=eager (#2029)evm_setAccountNonce
is race-conditiony (#1646)eth_feeHistory
RPC endpoint (#1470)@ganache/filecoin@alpha
doesn't work withganache@alpha
(#1150)eth_createAccessList
RPC method (#1056)Cannot get state root with uncommitted checkpoints
error when starting ganache forking with infura RPC endpoint (#618)back to top
blockHash
to JSON-RPC methods which accept a default block parameter (#973)evm_mine
to return the new block (#536)personal_ecRecover
andpersonal_sign
(#995)eth_getProof
RPC message (#382)eth_getRawTransactionByHash
(#135)back to top
Open new issues (or join our team) to influence what we gets implemented and prioritized.
💖 The Truffle Team
This discussion was created from the release v7.3.1.
Beta Was this translation helpful? Give feedback.
All reactions