-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Detect MerkleProof multiproof invariant violation #4367
Detect MerkleProof multiproof invariant violation #4367
Conversation
(cherry picked from commit 4d2383e)
🦋 Changeset detectedLatest commit: bd44698 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
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.
Neat, thanks!
Coverage says these new revert statements are not tested, but they are... I'm starting to think solidity-coverage doesn't understand |
Ah, I see, I was misunderstanding the coverage report. I just pushed a change that covers the right revert statement. |
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.
Shouldn't we cherrypick the commit that includes the 4.9.2 changelog rather than getting the changeset ?
I was planning to merge this then merge the release branch which would remove the changeset and update the changelog and package.json. |
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.
In a perfect world I would have prefered the 4.9 release branch to bring that into master, and then fix the custom error in a PR that is "string → custom error" ...
... but that is workflow stuff.
code LGTM
Cherry picked fix for GHSA-wprv-93r4-jj2p with adjustments for custom errors from 4d2383e in
release-v4.9
.