Skip to content

Commit 6407976

Browse files
renovate[bot]Amxx
andauthored
Update lockfile (#6851)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Hadrien Croubois <2432299+Amxx@users.noreply.github.com>
1 parent caa8206 commit 6407976

24 files changed

Lines changed: 1705 additions & 1537 deletions

File tree

‎contracts/account/paymaster/extensions/PaymasterSigner.sol‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,9 @@ import {Paymaster} from "../Paymaster.sol";
2323
abstract contract PaymasterSigner is AbstractSigner, EIP712, Paymaster {
2424
using ERC4337Utils for *;
2525

26-
bytes32 private constant USER_OPERATION_REQUEST_TYPEHASH =
27-
keccak256(
28-
"UserOperationRequest(address sender,uint256 nonce,bytes initCode,bytes callData,bytes32 accountGasLimits,uint256 preVerificationGas,bytes32 gasFees,uint256 paymasterVerificationGasLimit,uint256 paymasterPostOpGasLimit,uint48 validAfter,uint48 validUntil)"
29-
);
26+
bytes32 private constant USER_OPERATION_REQUEST_TYPEHASH = keccak256(
27+
"UserOperationRequest(address sender,uint256 nonce,bytes initCode,bytes callData,bytes32 accountGasLimits,uint256 preVerificationGas,bytes32 gasFees,uint256 paymasterVerificationGasLimit,uint256 paymasterPostOpGasLimit,uint48 validAfter,uint48 validUntil)"
28+
);
3029

3130
/**
3231
* @dev Virtual function that returns the signable hash for a user operations. Given the `userOpHash`

‎contracts/governance/Governor.sol‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ import {IGovernor, IERC6372} from "./IGovernor.sol";
2828
abstract contract Governor is Context, ERC165, EIP712, Nonces, IGovernor, IERC721Receiver, IERC1155Receiver {
2929
using DoubleEndedQueue for DoubleEndedQueue.Bytes32Deque;
3030

31-
bytes32 public constant BALLOT_TYPEHASH =
32-
keccak256("Ballot(uint256 proposalId,uint8 support,address voter,uint256 nonce)");
33-
bytes32 public constant EXTENDED_BALLOT_TYPEHASH =
34-
keccak256(
35-
"ExtendedBallot(uint256 proposalId,uint8 support,address voter,uint256 nonce,string reason,bytes params)"
36-
);
31+
bytes32 public constant BALLOT_TYPEHASH = keccak256(
32+
"Ballot(uint256 proposalId,uint8 support,address voter,uint256 nonce)"
33+
);
34+
bytes32 public constant EXTENDED_BALLOT_TYPEHASH = keccak256(
35+
"ExtendedBallot(uint256 proposalId,uint8 support,address voter,uint256 nonce,string reason,bytes params)"
36+
);
3737

3838
struct ProposalCore {
3939
address proposer;

‎contracts/governance/extensions/GovernorCountingOverridable.sol‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ import {GovernorVotes} from "./GovernorVotes.sol";
1818
* the votes cast with their tokens by their delegates.
1919
*/
2020
abstract contract GovernorCountingOverridable is GovernorVotes {
21-
bytes32 public constant OVERRIDE_BALLOT_TYPEHASH =
22-
keccak256("OverrideBallot(uint256 proposalId,uint8 support,address voter,uint256 nonce,string reason)");
21+
bytes32 public constant OVERRIDE_BALLOT_TYPEHASH = keccak256(
22+
"OverrideBallot(uint256 proposalId,uint8 support,address voter,uint256 nonce,string reason)"
23+
);
2324

2425
/**
2526
* @dev Supported vote types. Matches Governor Bravo ordering.

‎contracts/governance/utils/Votes.sol‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ import {Time} from "../../utils/types/Time.sol";
3434
abstract contract Votes is Context, EIP712, Nonces, IERC5805 {
3535
using Checkpoints for Checkpoints.Trace208;
3636

37-
bytes32 private constant DELEGATION_TYPEHASH =
38-
keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");
37+
bytes32 private constant DELEGATION_TYPEHASH = keccak256(
38+
"Delegation(address delegatee,uint256 nonce,uint256 expiry)"
39+
);
3940

4041
mapping(address account => address) private _delegatee;
4142

‎contracts/metatx/ERC2771Forwarder.sol‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,9 @@ contract ERC2771Forwarder is EIP712, Nonces {
6464
bytes signature;
6565
}
6666

67-
bytes32 internal constant FORWARD_REQUEST_TYPEHASH =
68-
keccak256(
69-
"ForwardRequest(address from,address to,uint256 value,uint256 gas,uint256 nonce,uint48 deadline,bytes data)"
70-
);
67+
bytes32 internal constant FORWARD_REQUEST_TYPEHASH = keccak256(
68+
"ForwardRequest(address from,address to,uint256 value,uint256 gas,uint256 nonce,uint48 deadline,bytes data)"
69+
);
7170

7271
/**
7372
* @dev Emitted when a `ForwardRequest` is executed.

‎contracts/mocks/account/paymaster/PaymasterERC20Mock.sol‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ abstract contract PaymasterERC20Mock is EIP712, PaymasterERC20, AccessControl {
2424

2525
bytes32 private constant ORACLE_ROLE = keccak256("ORACLE_ROLE");
2626
bytes32 private constant WITHDRAWER_ROLE = keccak256("WITHDRAWER_ROLE");
27-
bytes32 private constant TOKEN_PRICE_TYPEHASH =
28-
keccak256("TokenPrice(address token,uint48 validAfter,uint48 validUntil,uint256 tokenPerNative)");
27+
bytes32 private constant TOKEN_PRICE_TYPEHASH = keccak256(
28+
"TokenPrice(address token,uint48 validAfter,uint48 validUntil,uint256 tokenPerNative)"
29+
);
2930
mapping(IERC20 token => uint256 min) private _minTokensPerNativeByToken;
3031

3132
function _fetchDetails(
@@ -100,10 +101,9 @@ abstract contract PaymasterERC20Mock is EIP712, PaymasterERC20, AccessControl {
100101
abstract contract PaymasterERC20GuarantorMock is PaymasterERC20Mock, PaymasterERC20Guarantor {
101102
using ERC4337Utils for *;
102103

103-
bytes32 private constant PACKED_USER_OPERATION_TYPEHASH =
104-
keccak256(
105-
"PackedUserOperation(address sender,uint256 nonce,bytes initCode,bytes callData,bytes32 accountGasLimits,uint256 preVerificationGas,bytes32 gasFees,bytes paymasterAndData)"
106-
);
104+
bytes32 private constant PACKED_USER_OPERATION_TYPEHASH = keccak256(
105+
"PackedUserOperation(address sender,uint256 nonce,bytes initCode,bytes callData,bytes32 accountGasLimits,uint256 preVerificationGas,bytes32 gasFees,bytes paymasterAndData)"
106+
);
107107

108108
function _fetchGuarantor(
109109
PackedUserOperation calldata userOp

‎contracts/mocks/docs/token/ERC20/ERC3643Token.sol‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,12 @@ contract ERC3643Token is ERC3643, AccessControl {
1919

2020
function _checkAdmin() internal view override {
2121
bytes4 selector = msg.sig;
22-
bool ownerOnly = selector == this.setName.selector ||
23-
selector == this.setSymbol.selector ||
24-
selector == this.setOnchainID.selector ||
25-
selector == this.setIdentityRegistry.selector ||
26-
selector == this.setCompliance.selector;
22+
bool ownerOnly =
23+
selector == this.setName.selector ||
24+
selector == this.setSymbol.selector ||
25+
selector == this.setOnchainID.selector ||
26+
selector == this.setIdentityRegistry.selector ||
27+
selector == this.setCompliance.selector;
2728
_checkRole(ownerOnly ? DEFAULT_ADMIN_ROLE : AGENT_ROLE);
2829
}
2930
}

‎contracts/mocks/token/ERC20VotesLegacyMock.sol‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ abstract contract ERC20VotesLegacyMock is IVotes, ERC20Permit {
1717
uint224 votes;
1818
}
1919

20-
bytes32 private constant _DELEGATION_TYPEHASH =
21-
keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");
20+
bytes32 private constant _DELEGATION_TYPEHASH = keccak256(
21+
"Delegation(address delegatee,uint256 nonce,uint256 expiry)"
22+
);
2223

2324
mapping(address account => address) private _delegatee;
2425
mapping(address delegatee => Checkpoint[]) private _checkpoints;

‎contracts/token/ERC20/extensions/ERC20Permit.sol‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ import {IERC20Permit} from "./IERC20Permit.sol";
1818
* need to send a transaction, and thus is not required to hold Ether at all.
1919
*/
2020
abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712, Nonces {
21-
bytes32 private constant PERMIT_TYPEHASH =
22-
keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
21+
bytes32 private constant PERMIT_TYPEHASH = keccak256(
22+
"Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"
23+
);
2324

2425
/**
2526
* @dev Permit deadline has expired.

‎contracts/token/ERC20/extensions/ERC7540.sol‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -584,9 +584,8 @@ abstract contract ERC7540 is ERC20, IERC4626, ERC165, IERC7540, IERC7575Share {
584584
revert ERC4626.ERC4626ExceededMaxWithdraw(ownerOrController, assets, maxAssets);
585585
}
586586

587-
uint256 shares = _isRedeemAsync()
588-
? _consumeClaimableWithdraw(assets, ownerOrController)
589-
: previewWithdraw(assets);
587+
uint256 shares =
588+
_isRedeemAsync() ? _consumeClaimableWithdraw(assets, ownerOrController) : previewWithdraw(assets);
590589
_withdraw(_msgSender(), receiver, ownerOrController, assets, shares);
591590
return shares;
592591
}

0 commit comments

Comments
 (0)