This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
v7.4.3 #3637
MicaiahReid
announced in
Releases
v7.4.3
#3637
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Fixes
Miscellaneous
Changelog
Known Issues
Future Plans
As we close out the month of August where we focused most of our energy on removing tech debt from the Ganache codebase, we have a release with quite a few fixes, documentation updates, chores, and CI improvements. This, combined with the week that the whole team took off to rest, means that we should be ready for some serious momentum in the coming months! We have some great new features in the works and are excited to share them with you in the coming releases!
For this release, we'd like to thank our issue reporters (@VladLupashevskyi, @cds-amal) and PR openers (@jaketimothy, @l2ig). We really appreciate your contributions!
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 or open a PR to fix an existing issue if you really want to get involved.
We've changed 55 files across 12 merged pull requests, tallying 935 additions and 462 deletions, since our last release.
TransactionType.Legacy
(#3523)provider.disconnect()
is called, Ganache should stop serving requests (#3433)evm_setTime
doesn't work correctly withminer.timestampIncrement
(#3506)eth_getStorageAt
(#3527)fix: assume unknown tx type is
TransactionType.Legacy
(#3523)This change, made by the great @jaketimothy, fixes a bug with Ganache where it would throw if an unknown transaction type is sent by a user. Now, Ganache will allow any transaction type and turn it into a Legacy transaction if the type is unknown. This fixes an issue (#3458) that many Arbitrum Nitro users have been facing. Thanks again, @jaketimothy!
back to fixes
fix: after
provider.disconnect()
is called, Ganache should stop serving requests (#3433)Previously, when
provider.disconnect()
was called, a lot of the internals of Ganache would be stopped, but just enough was kept alive to serve requests. This could stop consumers from shutting down cleanly.Now all pending requests, and any new requests will be rejected with a helpful error.
For example, before this change, the following would successfully return the block number:
But now:
Caveat: any request that has started to process, but not yet complete, may fail with an unexpected error. See #3499 for details.
back to fixes
fix:
evm_setTime
doesn't work correctly withminer.timestampIncrement
(#3506)When using
miner.timestampIncrement
, callingevm_setTime
can result in unexpected values, and potentially with an error being thrown.This is because the
timeAdjustment
is applied to the previous blocktime, so this offset is applied for every block that is mined.With the following example, the initial block is mined correctly, as is the first block after setting the time, but subsequent blocks will have a descending block time, until the value becomes negative.
back to fixes
fix: return exactly 32 bytes from
eth_getStorageAt
(#3527)eth_getStorageAt
was returning compact representations of data, e.g.,"0x5"
instead of"0x0000000000000000000000000000000000000000000000000000000000000005"
. We now always return the padded whole 32 byte word.back to fixes
back to top
assert.deepEqual
withassert.deepStrictEqual
(#3533)grayGlacier
; update@ethereumjs/*
packages (#3534, #3629)test: replace
assert.deepEqual
withassert.deepStrictEqual
(#3533)This PR improves the consistency of our tests but replacing all
assert.deepEqual
calss withassert.deepStrictEqual
. Thanks, @l2ig!back to miscellaneous
chore: add support for
grayGlacier
; update@ethereumjs/*
packages (#3534, #3629)This change adds support for the
grayGlacier
hardfork. This change also updates@ethereumjs/*
packages to their latest versions, which is what allows us to add thegrayGlacier
hardfork (ganache --hardfork grayGlacier
). This hardfork does not change ganache behavior, other than make the hardfork name available.back to miscellaneous
docs: add trufflesuite.com to README (#3564)
We just thought it'd be useful to have a link to our website on our README 🔗
back to miscellaneous
ci: add config for semantic-prs app (#3543)
This change adds a
semantic.yml
file to configure how the Semantic-PRs app interacts with Ganache. This app will now require that all pull requests have a title with a conventional commit message.back to miscellaneous
ci: remove docker from automated release workflow (#3547, #3619)
Previously our automated release process would require successfully publishing to Docker to complete. Since publishing to Docker can sometimes be unreliable, this would occasionally cause the release to fail, meaning we'd have to manually fix our release process' commit history and publish to Docker.
This change moves the step to publish to Docker to its own action, which is run only if the actual release is fully successful. Because this is now a separate job in the release process, we can rerun that individual job if it fails.
Fixes #3546.
back to miscellaneous
test: skip test pending chainId added to transaction object (#3617)
Pending resolution of #3616,
forking > blocks > should get a block from the original chain
test is now skipped.back to miscellaneous
chore: add sepolia as a network option (#3580)
This change adds support for the sepolia testnet. You can now use Ganache's zero-config mainnet forking to fork the sepolia testnet. To do this, simply run
ganache --fork sepolia
in your console.back to miscellaneous
back to top
TransactionType.Legacy
#3523 fix: assume unknown tx type isTransactionType.Legacy
(@jaketimothy)assert.deepEqual
withassert.deepStrictEqual
#3533 test: replaceassert.deepEqual
withassert.deepStrictEqual
(@l2ig)grayGlacier
; update@ethereumjs/*
packages #3534 chore: set default hardfork tograyGlacier
; update@ethereumjs/*
packages (@davidmurdoch)provider.disconnect()
is called, Ganache should stop serving requests #3433 fix: afterprovider.disconnect()
is called, Ganache should stop serving requests (@jeffsmale90)evm_setTime
doesn't work correctly withminer.timestampIncrement
#3506 fix:evm_setTime
doesn't work correctly withminer.timestampIncrement
(@jeffsmale90)eth_getStorageAt
#3527 fix: return exactly 32 bytes frometh_getStorageAt
(@davidmurdoch)back to top
Top Priority:
debug_storageRangeAt
fails to find storage when the slot was created earlier in the same block (#3338)eth_feeHistory
RPC endpoint (#1470)eth_createAccessList
RPC method (#1056)Coming Soon™:
evm_mine
andminer_start
don't respect --mode.instamine=eager (#2029)evm_setAccount*
is race-conditiony (#1646)@ganache/filecoin@alpha
doesn't work withganache@alpha
(#1150)evm_mine
,eth_getLogs
returns same logs for all blocks (#533)back to top
Top Priority:
Coming Soon™:
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.4.3.
Beta Was this translation helpful? Give feedback.
All reactions