-
Notifications
You must be signed in to change notification settings - Fork 0
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
chore(deps): update dependency @openzeppelin/contracts to v5.2.0 #86
Conversation
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Reviewer's Guide by SourceryThis PR updates the Sequence diagram showing updated Address.sendValue behaviorsequenceDiagram
participant Caller
participant Address
participant Recipient
Caller->>Address: sendValue()
Address->>Recipient: transfer value
alt transfer fails
Recipient-->>Address: revert with reason
Address-->>Caller: bubble up revert reason
note over Address: Previously used Errors.FailedCall
end
Class diagram showing new utility libraries and modules in OpenZeppelin 5.2.0classDiagram
class ERC4337Utils {
+manipulateUserOperations()
+interactWithERC4337()
}
class ERC7579Utils {
+interactWithModularAccounts()
}
class GovernorCountingOverridable {
+overrideVote()
}
class VotesExtended {
+checkpointBalances()
+checkpointDelegates()
}
class Bytes {
+commonOperations()
}
class NoncesKeyed {
+ERC4337EntrypointNonce()
}
VotesExtended --|> Votes
GovernorCountingOverridable --|> Governor
note for ERC4337Utils "New utility for ERC-4337 operations"
note for ERC7579Utils "New utility for modular accounts"
note for GovernorCountingOverridable "Enables delegate vote override"
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. It seems to have been created by a bot (hey, renovate[bot]!). We assume it knows what it's doing!
📦 Packages
|
This PR contains the following updates:
5.1.0
->5.2.0
Release Notes
OpenZeppelin/openzeppelin-contracts (@openzeppelin/contracts)
v5.2.0
Compare Source
Breaking Changes
Custom error changes
This version comes with changes to the custom error identifiers. Contracts previously depending on the following errors should be replaced accordingly:
Errors.FailedCall
with a bubbled-up revert reason inAddress.sendValue
.Changes by category
General
Account
ERC4337Utils
: Add a reusable library to manipulate user operations and interact with ERC-4337 contracts (#5274)ERC7579Utils
: Add a reusable library to interact with ERC-7579 modular accounts (#5274)Governance
GovernorCountingOverridable
: Add a governor counting module that enables token holders to override the vote of their delegate. (#5192)VotesExtended
: Create an extension ofVotes
which checkpoints balances and delegates. (#5192)Proxy
Clones
: AddcloneWithImmutableArgs
andcloneDeterministicWithImmutableArgs
variants that create clones with per-instance immutable arguments. The immutable arguments can be retrieved usingfetchCloneArgs
. The correspondingpredictDeterministicWithImmutableArgs
function is also included. (#5109)Tokens
ERC1363Utils
: Add helper similar to the existingERC721Utils
andERC1155Utils
(#5133)Utils
Address
: bubble up revert data onsendValue
failed call (#5418)Bytes
: Add a library of common operations that operate onbytes
objects. (#5252)CAIP2
andCAIP10
: Add libraries for formatting and parsing CAIP-2 and CAIP-10 identifiers. (#5252)NoncesKeyed
: Add a variant ofNonces
that implements the ERC-4337 entrypoint nonce system. (#5272)Packing
: Add variants for packingbytes10
andbytes22
(#5274)Strings
: AddparseUint
,parseInt
,parseHexUint
andparseAddress
to parse strings into numbers and addresses. Also provide variants of these functions that parse substrings, andtryXxx
variants that do not revert on invalid input. (#5166)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.