This repository was archived by the owner on Feb 26, 2024. It is now read-only.
v7.2.0 #3109
davidmurdoch
announced in
Releases
v7.2.0
#3109
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Highlights
New Features
Fixes
Miscellaneous
Changelog
Known Issues
Future Plans
Not much in this release, as we just wrapped a huge hackathon here at ConsenSys. During the hackathon we got to actually use Ganache on our own project, which is actually not something we do very often, and in doing so found lots of new ways to improve the overall experience, so you can expect some really amazing changes in the weeks to come.
Thanks to @adjisb, @RiccardoBiosas, and @MicaiahReid for their contributions to this release!
We've changed 41 files across 5 merged pull requests, tallying 714 additions and 780 deletions, since our last release.
This release brings official Node v18 support to Ganache. Ganache was already working fine in Node v18, but because our tests harnesses were failing in CI we couldn't yet claim full support. Now we can!
back to top
feat: add __experimental_info export to core (#2529)
This is an internal and private feature for Truffle. Truffle needed a way to programmatically get the list of chains Ganache fully supports in order to enable the dry-run feature for those chains.
This introduces a new experimental and private (this will likely change in a future release!)
__experimental_info
export:back to top
fix: enforce eip-2 imposed limits and secp256k1 upper bound for private keys (#2944)
Sending transactions from an impersonated account with a "large" account number, like
fffffffffffffffffffffffffffffffffffffffe
, would result in the error "The nonce generation function failed, or the private key was invalid" due to the way we fake transaction signing in ganache. Previously we would take the account number plus the first 12 bytes of the account number,fffffffffffffffffffffffffffffffffffffffe
+ffffffffffffffffffffffff
, and would use that as a fake private key. This results in an invalid key, as secp256k1, the elliptic curve used in Ethereum cryptography, has an effective maximum private key value of0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140n
(AKAsecp256k1_n - 1
, or the total number of non-trivial points on the curve). This fixes #2586.While implementing this fix it was discovered that we were not rejecting transactions with too-high s-values; i.e., s-values that are greater than
(secp256k1_n - 1) / 2
. This restriction was added way back in Ethereum's first hardfork, homestead, as part of EIP-2 in order to remove the possibility of "malleable" transactions. While somewhat unrelated to the core reason for this fix, it has been added as part of this PR. This fixes #2600.back to top
eth_call
overrides (#3007)chore: support node 18 (#2988)
Ganache now supports and is tested on Node versions 12.0.0, 12.x, 14.x, 16.x, and 18.x on operating systems Windows 2019, Ubuntu 18.04, Ubuntu 20.04, and macOS 11, with the exception of Node v18 on Ubuntu 18.04, as Ubuntu 18.04 is not supported by Node v18.
Happy upgrading!
back to miscellaneous
docs: add documentation of
eth_call
overrides (#3007)This PR adds some documentation of the
eth_call
overrides object to or RPC method docs, fixing #3002.back to miscellaneous
chore: update @ethereumjs/vm to v5.9.0, add support for sepolia (#2528)
We've updated
@ethereumjs/vm
to v5.9.0 and added support for forking the new "sepolia" test network.back to miscellaneous
back to top
eth_call
overrides #3007 docs: add documentation ofeth_call
overrides (@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.2.0.
Beta Was this translation helpful? Give feedback.
All reactions