From 4f0170b0db8f705f315107db721855b6879acdfe Mon Sep 17 00:00:00 2001 From: Nina <152422240+ninastef@users.noreply.github.com> Date: Fri, 28 Nov 2025 19:46:05 +0100 Subject: [PATCH 1/2] Update ERC1155Supply.sol --- contracts/token/ERC1155/extensions/ERC1155Supply.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/token/ERC1155/extensions/ERC1155Supply.sol b/contracts/token/ERC1155/extensions/ERC1155Supply.sol index 54a7fe3f51b..84a93ea8c98 100644 --- a/contracts/token/ERC1155/extensions/ERC1155Supply.sol +++ b/contracts/token/ERC1155/extensions/ERC1155Supply.sol @@ -26,7 +26,7 @@ abstract contract ERC1155Supply is ERC1155 { uint256 private _totalSupplyAll; /** - * @dev Total value of tokens in with a given id. + * @dev Total value of tokens with a given id. */ function totalSupply(uint256 id) public view virtual returns (uint256) { return _totalSupply[id]; From 8573e1ce6f9ad9d73559e4306ca29543810613ad Mon Sep 17 00:00:00 2001 From: Nina <152422240+ninastef@users.noreply.github.com> Date: Fri, 28 Nov 2025 19:46:23 +0100 Subject: [PATCH 2/2] Update ERC4626.sol --- contracts/token/ERC20/extensions/ERC4626.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/token/ERC20/extensions/ERC4626.sol b/contracts/token/ERC20/extensions/ERC4626.sol index 93a84862b78..dd0e940e2a8 100644 --- a/contracts/token/ERC20/extensions/ERC4626.sol +++ b/contracts/token/ERC20/extensions/ERC4626.sol @@ -55,7 +55,7 @@ import {Math} from "../../../utils/math/Math.sol"; * functions. Overriding {_deposit} automatically affects both {deposit} and {mint}. Similarly, overriding {_withdraw} * automatically affects both {withdraw} and {redeem}. Overall it is not recommended to override the public facing * functions since that could lead to inconsistent behaviors between the {deposit} and {mint} or between {withdraw} and - * {redeem}, which is documented to have lead to loss of funds. + * {redeem}, which is documented to have led to loss of funds. * * * Overrides to the deposit or withdraw mechanism must be reflected in the preview functions as well. *