From c3b3ae7e82c6694c1c5c12e6eb832db55ef1e7fd Mon Sep 17 00:00:00 2001 From: Voronor <129545215+voronor@users.noreply.github.com> Date: Mon, 23 Dec 2024 19:39:10 +0100 Subject: [PATCH] Fix inaccurate comment for the `callGasLimit` function in ERC4337Utils (#5397) --- contracts/account/utils/draft-ERC4337Utils.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/account/utils/draft-ERC4337Utils.sol b/contracts/account/utils/draft-ERC4337Utils.sol index 78100b0c9..355b0720b 100644 --- a/contracts/account/utils/draft-ERC4337Utils.sol +++ b/contracts/account/utils/draft-ERC4337Utils.sol @@ -114,7 +114,7 @@ library ERC4337Utils { return uint128(self.accountGasLimits.extract_32_16(0)); } - /// @dev Returns `accountGasLimits` from the {PackedUserOperation}. + /// @dev Returns `callGasLimit` from the {PackedUserOperation}. function callGasLimit(PackedUserOperation calldata self) internal pure returns (uint256) { return uint128(self.accountGasLimits.extract_32_16(16)); }