-
Notifications
You must be signed in to change notification settings - Fork 0
[Snyk] Security upgrade ethers from 5.7.0 to 6.0.0 #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-ELLIPTIC-8720086
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Reviewer's Guide by SourceryThis pull request upgrades the Updated class diagram for ethers libraryclassDiagram
class ethers {
+ version: string
+ providers: Providers
+ utils: Utils
+ Contract: Contract
+ Wallet: Wallet
+ constants: Constants
+ getSigner(): Signer
+ getContract(address: string, abi: any): Contract
}
class Providers {
+ JsonRpcProvider: JsonRpcProvider
+ Web3Provider: Web3Provider
}
class Utils {
+ parseEther(ether: string): BigNumber
+ formatEther(bigNumber: BigNumber): string
+ keccak256(data: string): string
}
class Contract {
+ address: string
+ abi: any
+ functions: any
+ estimateGas: any
+ populateTransaction: any
+ callStatic: any
+ events: any
}
class Wallet {
+ privateKey: string
+ address: string
+ provider: Provider
+ connect(provider: Provider): Wallet
+ signTransaction(transaction: Transaction): string
+ sendTransaction(transaction: Transaction): Promise<TransactionResponse>
}
class Constants {
+ WeiPerEther: BigNumber
+ AddressZero: string
}
class Signer {
<<interface>>
+ getAddress(): Promise<string>
+ signMessage(message: string): Promise<string>
+ signTransaction(transaction: Transaction): Promise<string>
+ sendTransaction(transaction: Transaction): Promise<TransactionResponse>
}
class JsonRpcProvider {
+ connection: ConnectionInfo
+ getBlockNumber(): Promise<number>
+ getBalance(address: string): Promise<BigNumber>
+ getTransaction(transactionHash: string): Promise<TransactionResponse>
}
class Web3Provider {
+ provider: ExternalProvider
+ getBlockNumber(): Promise<number>
+ getBalance(address: string): Promise<BigNumber>
+ getTransaction(transactionHash: string): Promise<TransactionResponse>
}
ethers -- Providers
ethers -- Utils
ethers -- Contract
ethers -- Wallet
ethers -- Constants
Signer <|-- Wallet
Providers -- JsonRpcProvider
Providers -- Web3Provider
note for ethers "This diagram represents the \nstructure of the ethers library. \nIt is based on the changes introduced \nby the upgrade to version 6.0.0."
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have skipped reviewing this pull request. Here's why:
- It seems to have been created by a bot (hey, snyk-io[bot]!). We assume it knows what it's doing!
- It seems to have been created by a bot ('[Snyk]' found in title). We assume it knows what it's doing!
- We don't review packaging changes - Let us know if you'd like us to change this.
Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):
package.jsonNote for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the
.yarn/cache/directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to runyarnto update the contents of the./yarn/cachedirectory.If you are not using zero-install you can ignore this as your flow should likely be unchanged.
Vulnerabilities that will be fixed with an upgrade:
SNYK-JS-ELLIPTIC-8720086
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.
Summary by Sourcery
Bug Fixes: