You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Snyk has created this PR to upgrade web3 from 1.10.4 to 4.16.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
⚠️Warning: This PR contains major version upgrade(s), and may be a breaking change.
The recommended version is 386 versions ahead of your current version.
The recommended version was released 7 months ago.
Revert TransactionFactory.registerTransactionType if there is a version mistatch between web3-eth and web3-eth-accounts and fix nextjs problem. (#7216)
setConfig() fix for setMaxListenerWarningThreshold fix (#5079)
web3-eth-accounts
Fix TransactionFactory.registerTransactionType not working, if there is a version mistatch between web3-eth and web3-eth-accounts by saving extraTxTypes at globals. (#7197)
Added
web3-eth-accounts
Added public function signMessageWithPrivateKey (#7174)
web3-eth-contract
Added populateTransaction to the contract.deploy(...) properties. (#7197)
web3-providers-http
Added statusCode of response in ResponseError, statusCode is optional property in ResponseError.
web3-rpc-providers
Updated rate limit error of QuickNode provider for HTTP transport
Added optional HttpProviderOptions | SocketOptions in Web3ExternalProvider and QuickNodeProvider for provider configs
web3-errors
Added optional statusCode property of response in ResponseError.
Changed
web3-eth-contract
The returnred properties of contract.deploy(...) are structured with a newly created class named DeployerMethodClass. (#7197)
Add a missed accepted type for the abi parameter, at dataInputEncodeMethodHelper and getSendTxParams. (#7197)
This PR upgrades the Web3 dependency in the Hardhat Truffle5 integration from v1.x to the latest v4.16.0 to keep dependencies current and align with the Snyk recommendation.
File-Level Changes
Change
Details
Files
Bump Web3 version
Update web3 entry in devDependencies from ^1.0.0-beta.36 to ^4.16.0
packages/hardhat-truffle5/package.json
Tips and commands
Interacting with Sourcery
Trigger a new review: Comment @sourcery-ai review on the pull request.
Continue discussions: Reply directly to Sourcery's review comments.
Generate a GitHub issue from a review comment: Ask Sourcery to create an
issue from a review comment by replying to it. You can also reply to a
review comment with @sourcery-ai issue to create an issue from it.
Generate a pull request title: Write @sourcery-ai anywhere in the pull
request title to generate a title at any time. You can also comment @sourcery-ai title on the pull request to (re-)generate the title at any time.
Generate a pull request summary: Write @sourcery-ai summary anywhere in
the pull request body to generate a PR summary at any time exactly where you
want it. You can also comment @sourcery-ai summary on the pull request to
(re-)generate the summary at any time.
Generate reviewer's guide: Comment @sourcery-ai guide on the pull
request to (re-)generate the reviewer's guide at any time.
Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
pull request to resolve all Sourcery comments. Useful if you've already
addressed all the comments and don't want to see them anymore.
Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
request to dismiss all existing Sourcery reviews. Especially useful if you
want to start fresh with a new review - don't forget to comment @sourcery-ai review to trigger a new review!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
None yet
3 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade web3 from 1.10.4 to 4.16.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 386 versions ahead of your current version.
The recommended version was released 7 months ago.
Release notes
Package name: web3
What's Changed
What's Changed
decodeFunctionCallanddecodeFunctionReturnavailable atweb3-eth-abiby @ Muhammad-Altabba in #7345New Contributors
Full Changelog: v4.5.0...v4.15.0
What's Changed
baseFeePerGasatweb3.eth.getFeeHistoryby @ Muhammad-Altabba in #7291New Contributors
Full Changelog: v4.13.0...v4.14.0
What's Changed
New Contributors
Hot fix
[4.12.1]
Fixed
web3-eth-accounts
TransactionFactory.registerTransactionTypeif there is a version mistatch betweenweb3-ethandweb3-eth-accountsand fix nextjs problem. (#7216)What's Changed
[4.12.0]
Fixed
web3-core
setConfig()fix forsetMaxListenerWarningThresholdfix (#5079)web3-eth-accounts
TransactionFactory.registerTransactionTypenot working, if there is a version mistatch betweenweb3-ethandweb3-eth-accountsby savingextraTxTypesatglobals. (#7197)Added
web3-eth-accounts
signMessageWithPrivateKey(#7174)web3-eth-contract
populateTransactionto thecontract.deploy(...)properties. (#7197)web3-providers-http
statusCodeof response in ResponseError,statusCodeis optional property in ResponseError.web3-rpc-providers
HttpProviderOptions | SocketOptionsinWeb3ExternalProviderandQuickNodeProviderfor provider configsweb3-errors
statusCodeproperty of response in ResponseError.Changed
web3-eth-contract
contract.deploy(...)are structured with a newly created class namedDeployerMethodClass. (#7197)abiparameter, atdataInputEncodeMethodHelperandgetSendTxParams. (#7197)What's Changed
Enhancements: