Closed renovate[bot] closed 11 months ago
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: create2deployer@1.0.0
npm ERR! Found: ethers@6.9.0
npm ERR! node_modules/ethers
npm ERR! dev ethers@"^6.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer ethers@"^5.1.3" from @typechain/ethers-v5@11.1.2
npm ERR! node_modules/@typechain/ethers-v5
npm ERR! dev @typechain/ethers-v5@"^11.0.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /tmp/worker/cac4cd/d91302/cache/others/npm/_logs/2023-12-01T02_14_11_197Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in: /tmp/worker/cac4cd/d91302/cache/others/npm/_logs/2023-12-01T02_14_11_197Z-debug-0.log
This PR contains the following updates:
^0.6.5
->^1.0.0
^0.4.2
->^1.0.0
^0.2.1
->^1.0.0
^1.0.6
->^2.0.0
^2.0.2
->^4.0.0
^1.1.1
->^2.0.0
^4.9.3
->^5.0.0
^10.2.1
->^11.0.0
^6.1.6
->^9.0.0
^5.7.2
->^6.0.0
^0.14.3
->^0.16.0
Release Notes
matter-labs/hardhat-zksync (@matterlabs/hardhat-zksync-deploy)
### [`v1.0.0`](https://togithub.com/matter-labs/hardhat-zksync/releases/tag/%40matterlabs/hardhat-zksync-deploy%401.0.0) [Compare Source](https://togithub.com/matter-labs/hardhat-zksync/compare/@matterlabs/hardhat-zksync-deploy@0.6.5...@matterlabs/hardhat-zksync-deploy@1.0.0) ##### Major Changes - [`7a38bb8`](https://togithub.com/matter-labs/hardhat-zksync/commit/7a38bb8): Migrated from zksync-web3 to zksync2-js and updated dependencies on hardhat and ethers.nomicfoundation/hardhat (@nomicfoundation/hardhat-chai-matchers)
### [`v2.0.2`](https://togithub.com/NomicFoundation/hardhat/releases/tag/%40nomicfoundation/hardhat-toolbox%402.0.2) [Compare Source](https://togithub.com/nomicfoundation/hardhat/compare/@nomicfoundation/hardhat-chai-matchers@2.0.1...@nomicfoundation/hardhat-chai-matchers@2.0.2) This release has a very minor change that makes the toolbox work correctly in ESM projects. ESM can only be used with [Hardhat v2.13.0](https://togithub.com/NomicFoundation/hardhat/releases/tag/hardhat%402.13.0) or later. ### [`v2.0.1`](https://togithub.com/NomicFoundation/hardhat/releases/tag/%40nomicfoundation/hardhat-verify%402.0.1) [Compare Source](https://togithub.com/nomicfoundation/hardhat/compare/@nomicfoundation/hardhat-chai-matchers@2.0.0...@nomicfoundation/hardhat-chai-matchers@2.0.1) This release adds support for the polygonZkEVM and polygonZkEVMTestnet networks. It also fixes a minor issue related to a case-sensitive address comparison for detecting verified contracts. ### [`v2.0.0`](https://togithub.com/NomicFoundation/hardhat/releases/tag/%40nomicfoundation/hardhat-toolbox%402.0.0) [Compare Source](https://togithub.com/nomicfoundation/hardhat/compare/@nomicfoundation/hardhat-chai-matchers@1.0.6...@nomicfoundation/hardhat-chai-matchers@2.0.0) This version of the Toolbox upgrades `solidity-coverage` to its latest version. Since this new version includes some breaking changes, we are bumping the Toolbox to a new major version. If you want to upgrade to this version and you are using npm 7 or later, you only need to upgrade the Toolbox: npm i --save-dev hardhat@latest @nomicfoundation/hardhat-toolbox@latest If you are using yarn or an old version of npm, you'll also need to upgrade Hardhat and `solidity-coverage`: yarn add --dev hardhat@latest @nomicfoundation/hardhat-toolbox@latest solidity-coverage@latestOpenZeppelin/openzeppelin-contracts (@openzeppelin/contracts)
### [`v5.0.0`](https://togithub.com/OpenZeppelin/openzeppelin-contracts/blob/HEAD/CHANGELOG.md#500-2023-10-05) [Compare Source](https://togithub.com/OpenZeppelin/openzeppelin-contracts/compare/v4.9.3...v5.0.0) ##### Additions Summary The following contracts and libraries were added: - `AccessManager`: A consolidated system for managing access control in complex systems. - `AccessManaged`: A module for connecting a contract to an authority in charge of its access control. - `GovernorTimelockAccess`: An adapter for time-locking governance proposals using an `AccessManager`. - `AuthorityUtils`: A library of utilities for interacting with authority contracts. - `GovernorStorage`: A Governor module that stores proposal details in storage. - `ERC2771Forwarder`: An ERC2771 forwarder for meta transactions. - `ERC1967Utils`: A library with ERC1967 events, errors and getters. - `Nonces`: An abstraction for managing account nonces. - `MessageHashUtils`: A library for producing digests for ECDSA operations. - `Time`: A library with helpers for manipulating time-related objects. ##### Removals Summary The following contracts, libraries, and functions were removed: - `Address.isContract` (because of its ambiguous nature and potential for misuse) - `Checkpoints.History` - `Counters` - `ERC20Snapshot` - `ERC20VotesComp` - `ERC165Storage` (in favor of inheritance based approach) - `ERC777` - `ERC1820Implementer` - `GovernorVotesComp` - `GovernorProposalThreshold` (deprecated since 4.4) - `PaymentSplitter` - `PullPayment` - `SafeMath` - `SignedSafeMath` - `Timers` - `TokenTimelock` (in favor of `VestingWallet`) - All escrow contracts (`Escrow`, `ConditionalEscrow` and `RefundEscrow`) - All cross-chain contracts, including `AccessControlCrossChain` and all the vendored bridge interfaces - All presets in favor of [OpenZeppelin Contracts Wizard](https://wizard.openzeppelin.com/) These removals were implemented in the following PRs: [#3637](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/3637), [#3880](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/3880), [#3945](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/3945), [#4258](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4258), [#4276](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4276), [#4289](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4289) ##### Changes by category ##### General - Replaced revert strings and require statements with custom errors. ([#4261](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4261)) - Bumped minimum compiler version required to 0.8.20 ([#4288](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4288), [#4489](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4489)) - Use of `abi.encodeCall` in place of `abi.encodeWithSelector` and `abi.encodeWithSignature` for improved type-checking of parameters ([#4293](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4293)) - Replaced some uses of `abi.encodePacked` with clearer alternatives (e.g. `bytes.concat`, `string.concat`). ([#4504](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4504)) ([#4296](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4296)) - Overrides are now used internally for a number of functions that were previously hardcoded to their default implementation in certain locations: `ERC1155Supply.totalSupply`, `ERC721.ownerOf`, `ERC721.balanceOf` and `ERC721.totalSupply` in `ERC721Enumerable`, `ERC20.totalSupply` in `ERC20FlashMint`, and `ERC1967._getImplementation` in `ERC1967Proxy`. ([#4299](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4299)) - Removed the `override` specifier from functions that only override a single interface function. ([#4315](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4315)) - Switched to using explicit Solidity import statements. Some previously available symbols may now have to be separately imported. ([#4399](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4399)) - `Governor`, `Initializable`, and `UUPSUpgradeable`: Use internal functions in modifiers to optimize bytecode size. ([#4472](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4472)) - Upgradeable contracts now use namespaced storage (EIP-7201). ([#4534](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4534)) - Upgradeable contracts no longer transpile interfaces and libraries. ([#4628](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4628)) ##### Access - `Ownable`: Added an `initialOwner` parameter to the constructor, making the ownership initialization explicit. ([#4267](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4267)) - `Ownable`: Prevent using address(0) as the initial owner. ([#4531](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4531)) - `AccessControl`: Added a boolean return value to the internal `_grantRole` and `_revokeRole` functions indicating whether the role was granted or revoked. ([#4241](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4241)) - `access`: Moved `AccessControl` extensions to a dedicated directory. ([#4359](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4359)) - `AccessManager`: Added a new contract for managing access control of complex systems in a consolidated location. ([#4121](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4121)) - `AccessManager`, `AccessManaged`, `GovernorTimelockAccess`: Ensure that calldata shorter than 4 bytes is not padded to 4 bytes. ([#4624](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4624)) - `AccessManager`: Use named return parameters in functions that return multiple values. ([#4624](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4624)) - `AccessManager`: Make `schedule` and `execute` more conservative when delay is 0. ([#4644](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4644)) ##### Finance - `VestingWallet`: Fixed revert during 1 second time window when duration is 0. ([#4502](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4502)) - `VestingWallet`: Use `Ownable` instead of an immutable `beneficiary`. ([#4508](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4508)) ##### Governance - `Governor`: Optimized use of storage for proposal data ([#4268](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4268)) - `Governor`: Added validation in ERC1155 and ERC721 receiver hooks to ensure Governor is the executor. ([#4314](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4314)) - `Governor`: Refactored internals to implement common queuing logic in the core module of the Governor. Added `queue` and `_queueOperations` functions that act at different levels. Modules that implement queuing via timelocks are expected to override `_queueOperations` to implement the timelock-specific logic. Added `_executeOperations` as the equivalent for execution. ([#4360](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4360)) - `Governor`: Added `voter` and `nonce` parameters in signed ballots, to avoid forging signatures for random addresses, prevent signature replay, and allow invalidating signatures. Add `voter` as a new parameter in the `castVoteBySig` and `castVoteWithReasonAndParamsBySig` functions. ([#4378](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4378)) - `Governor`: Added support for casting votes with ERC-1271 signatures by using a `bytes memory signature` instead of `r`, `s` and `v` arguments in the `castVoteBySig` and `castVoteWithReasonAndParamsBySig` functions. ([#4418](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4418)) - `Governor`: Added a mechanism to restrict the address of the proposer using a suffix in the description. - `GovernorStorage`: Added a new governor extension that stores the proposal details in storage, with an interface that operates on `proposalId`, as well as proposal enumerability. This replaces the old `GovernorCompatibilityBravo` module. ([#4360](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4360)) - `GovernorTimelockAccess`: Added a module to connect a governor with an instance of `AccessManager`, allowing the governor to make calls that are delay-restricted by the manager using the normal `queue` workflow. ([#4523](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4523)) - `GovernorTimelockControl`: Clean up timelock id on execution for gas refund. ([#4118](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4118)) - `GovernorTimelockControl`: Added the Governor instance address as part of the TimelockController operation `salt` to avoid operation id collisions between governors using the same TimelockController. ([#4432](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4432)) - `TimelockController`: Changed the role architecture to use `DEFAULT_ADMIN_ROLE` as the admin for all roles, instead of the bespoke `TIMELOCK_ADMIN_ROLE` that was used previously. This aligns with the general recommendation for `AccessControl` and makes the addition of new roles easier. Accordingly, the `admin` parameter and timelock will now be granted `DEFAULT_ADMIN_ROLE` instead of `TIMELOCK_ADMIN_ROLE`. ([#3799](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/3799)) - `TimelockController`: Added a state getter that returns an `OperationState` enum. ([#4358](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4358)) - `Votes`: Use Trace208 for checkpoints. This enables EIP-6372 clock support for keys but reduces the max supported voting power to uint208. ([#4539](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4539)) ##### Metatx - `ERC2771Forwarder`: Added `deadline` for expiring transactions, batching, and more secure handling of `msg.value`. ([#4346](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4346)) - `ERC2771Context`: Return the forwarder address whenever the `msg.data` of a call originating from a trusted forwarder is not long enough to contain the request signer address (i.e. `msg.data.length` is less than 20 bytes), as specified by ERC-2771. ([#4481](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4481)) - `ERC2771Context`: Prevent revert in `_msgData()` when a call originating from a trusted forwarder is not long enough to contain the request signer address (i.e. `msg.data.length` is less than 20 bytes). Return the full calldata in that case. ([#4484](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4484)) ##### Proxy - `ProxyAdmin`: Removed `getProxyAdmin` and `getProxyImplementation` getters. ([#3820](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/3820)) - `TransparentUpgradeableProxy`: Removed `admin` and `implementation` getters, which were only callable by the proxy owner and thus not very useful. ([#3820](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/3820)) - `ERC1967Utils`: Refactored the `ERC1967Upgrade` abstract contract as a library. ([#4325](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4325)) - `TransparentUpgradeableProxy`: Admin is now stored in an immutable variable (set during construction) to avoid unnecessary storage reads on every proxy call. This removed the ability to ever change the admin. Transfer of the upgrade capability is exclusively handled through the ownership of the `ProxyAdmin`. ([#4354](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4354)) - Moved the logic to validate ERC-1822 during an upgrade from `ERC1967Utils` to `UUPSUpgradeable`. ([#4356](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4356)) - `UUPSUpgradeable`, `TransparentUpgradeableProxy` and `ProxyAdmin`: Removed `upgradeTo` and `upgrade` functions, and made `upgradeToAndCall` and `upgradeAndCall` ignore the data argument if it is empty. It is no longer possible to invoke the receive function (or send value with empty data) along with an upgrade. ([#4382](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4382)) - `BeaconProxy`: Reject value in initialization unless a payable function is explicitly invoked. ([#4382](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4382)) - `Proxy`: Removed redundant `receive` function. ([#4434](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4434)) - `BeaconProxy`: Use an immutable variable to store the address of the beacon. It is no longer possible for a `BeaconProxy` to upgrade by changing to another beacon. ([#4435](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4435)) - `Initializable`: Use the namespaced storage pattern to avoid putting critical variables in slot 0. Allow reinitializer versions greater than 256. ([#4460](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4460)) - `Initializable`: Use intermediate variables to improve readability. ([#4576](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4576)) ##### Token - `ERC20`, `ERC721`, `ERC1155`: Deleted `_beforeTokenTransfer` and `_afterTokenTransfer` hooks, added a new internal `_update` function for customizations, and refactored all extensions using those hooks to use `_update` instead. ([#3838](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/3838), [#3876](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/3876), [#4377](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4377)) - `ERC20`: Removed `Approval` event previously emitted in `transferFrom` to indicate that part of the allowance was consumed. With this change, allowances are no longer reconstructible from events. See the code for guidelines on how to re-enable this event if needed. ([#4370](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4370)) - `ERC20`: Removed the non-standard `increaseAllowance` and `decreaseAllowance` functions. ([#4585](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4585)) - `ERC20Votes`: Changed internal vote accounting to reusable `Votes` module previously used by `ERC721Votes`. Removed implicit `ERC20Permit` inheritance. Note that the `DOMAIN_SEPARATOR` getter was previously guaranteed to be available for `ERC20Votes` contracts, but is no longer available unless `ERC20Permit` is explicitly used; ERC-5267 support is included in `ERC20Votes` with `EIP712` and is recommended as an alternative. ([#3816](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/3816)) - `SafeERC20`: Refactored `safeDecreaseAllowance` and `safeIncreaseAllowance` to support USDT-like tokens. ([#4260](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4260)) - `SafeERC20`: Removed `safePermit` in favor of documentation-only `permit` recommendations. Based on recommendations from [@trust1995](https://togithub.com/trust1995) ([#4582](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4582)) - `ERC721`: `_approve` no longer allows approving the owner of the tokenId. ([#4377](https://togithub.com/OpenZeppelin/openzeppelin-contracts/issues/4377)) `_setApprovalForAll` no longer allows setting address(0) as an operator. ([#4377](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4377)) - `ERC721`: Renamed `_requireMinted` to `_requireOwned` and added a return value with the current owner. Implemented `ownerOf` in terms of `_requireOwned`. ([#4566](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4566)) - `ERC721Consecutive`: Added a `_firstConsecutiveId` internal function that can be overridden to change the id of the first token minted through `_mintConsecutive`. ([#4097](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4097)) - `ERC721URIStorage`: Allow setting the token URI prior to minting. ([#4559](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4559)) - `ERC721URIStorage`, `ERC721Royalty`: Stop resetting token-specific URI and royalties when burning. ([#4561](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4561)) - `ERC1155`: Optimized array allocation. ([#4196](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4196)) - `ERC1155`: Removed check for address zero in `balanceOf`. ([#4263](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4263)) - `ERC1155`: Optimized array accesses by skipping bounds checking when unnecessary. ([#4300](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4300)) - `ERC1155`: Bubble errors triggered in the `onERC1155Received` and `onERC1155BatchReceived` hooks. ([#4314](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4314)) - `ERC1155Supply`: Added a `totalSupply()` function that returns the total amount of token circulating, this change will restrict the total tokens minted across all ids to 2\*\*256-1 . ([#3962](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/3962)) - `ERC1155Receiver`: Removed in favor of `ERC1155Holder`. ([#4450](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4450)) ##### Utils - `Address`: Removed the ability to customize error messages. A common custom error is always used if the underlying revert reason cannot be bubbled up. ([#4502](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4502)) - `Arrays`: Added `unsafeMemoryAccess` helpers to read from a memory array without checking the length. ([#4300](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4300)) - `Arrays`: Optimized `findUpperBound` by removing redundant SLOAD. ([#4442](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4442)) - `Checkpoints`: Library moved from `utils` to `utils/structs` ([#4275](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4275)) - `DoubleEndedQueue`: Refactored internal structure to use `uint128` instead of `int128`. This has no effect on the library interface. ([#4150](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4150)) - `ECDSA`: Use unchecked arithmetic for the `tryRecover` function that receives the `r` and `vs` short-signature fields separately. ([#4301](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4301)) - `EIP712`: Added internal getters for the name and version strings ([#4303](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4303)) - `Math`: Makes `ceilDiv` to revert on 0 division even if the numerator is 0 ([#4348](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4348)) - `Math`: Optimized stack operations in `mulDiv`. ([#4494](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4494)) - `Math`: Renamed members of `Rounding` enum, and added a new rounding mode for "away from zero". ([#4455](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4455)) - `MerkleProof`: Use custom error to report invalid multiproof instead of reverting with overflow panic. ([#4564](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4564)) - `MessageHashUtils`: Added a new library for creating message digest to be used along with signing or recovery such as ECDSA or ERC-1271. These functions are moved from the `ECDSA` library. ([#4430](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4430)) - `Nonces`: Added a new contract to keep track of user nonces. Used for signatures in `ERC20Permit`, `ERC20Votes`, and `ERC721Votes`. ([#3816](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/3816)) - `ReentrancyGuard`, `Pausable`: Moved to `utils` directory. ([#4551](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4551)) - `Strings`: Renamed `toString(int256)` to `toStringSigned(int256)`. ([#4330](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4330)) - Optimized `Strings.equal` ([#4262](https://togithub.com/OpenZeppelin/openzeppelin-contracts/pull/4262)) ##### How to migrate from 4.x ##### ERC20, ERC721, and ERC1155 These breaking changes will require modifications to ERC20, ERC721, and ERC1155 contracts, since the `_afterTokenTransfer` and `_beforeTokenTransfer` functions were removed. Thus, any customization made through those hooks should now be done overriding the new `_update` function instead. Minting and burning are implemented by `_update` and customizations should be done by overriding this function as well. `_transfer`, `_mint` and `_burn` are no longer virtual (meaning they are not overridable) to guard against possible inconsistencies. For example, a contract using `ERC20`'s `_beforeTokenTransfer` hook would have to be changed in the following way. ```diff -function _beforeTokenTransfer( +function _update( address from, address to, uint256 amount ) internal virtual override { - super._beforeTokenTransfer(from, to, amount); require(!condition(), "ERC20: wrong condition"); + super._update(from, to, amount); } ``` ##### More about ERC721 In the case of `ERC721`, the `_update` function does not include a `from` parameter, as the sender is implicitly the previous owner of the `tokenId`. The address of this previous owner is returned by the `_update` function, so it can be used for a posteriori checks. In addition to `to` and `tokenId`, a third parameter (`auth`) is present in this function. This parameter enabled an optional check that the caller/spender is approved to do the transfer. This check cannot be performed after the transfer (because the transfer resets the approval), and doing it before `_update` would require a duplicate call to `_ownerOf`. In this logic of removing hidden SLOADs, the `_isApprovedOrOwner` function was removed in favor of a new `_isAuthorized` function. Overrides that used to target the `_isApprovedOrOwner` should now be performed on the `_isAuthorized` function. Calls to `_isApprovedOrOwner` that preceded a call to `_transfer`, `_burn` or `_approve` should be removed in favor of using the `auth` argument in `_update` and `_approve`. This is showcased in `ERC721Burnable.burn` and in `ERC721Wrapper.withdrawTo`. The `_exists` function was removed. Calls to this function can be replaced by `_ownerOf(tokenId) != address(0)`. ##### More about ERC1155 Batch transfers will now emit `TransferSingle` if the batch consists of a single token, while in previous versions the `TransferBatch` event would be used for all transfers initiated through `safeBatchTransferFrom`. Both behaviors are compliant with the ERC-1155 specification. ##### ERC165Storage Users that were registering EIP-165 interfaces with `_registerInterface` from `ERC165Storage` should instead do so so by overriding the `supportsInterface` function as seen below: ```solidity function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); } ``` ##### SafeMath Methods in SafeMath superseded by native overflow checks in Solidity 0.8.0 were removed along with operations providing an interface for revert strings. The remaining methods were moved to `utils/Math.sol`. ```diff - import "@openzeppelin/contracts/utils/math/SafeMath.sol"; + import "@openzeppelin/contracts/utils/math/Math.sol"; function tryOperations(uint256 x, uint256 y) external view { - (bool overflowsAdd, uint256 resultAdd) = SafeMath.tryAdd(x, y); + (bool overflowsAdd, uint256 resultAdd) = Math.tryAdd(x, y); - (bool overflowsSub, uint256 resultSub) = SafeMath.trySub(x, y); + (bool overflowsSub, uint256 resultSub) = Math.trySub(x, y); - (bool overflowsMul, uint256 resultMul) = SafeMath.tryMul(x, y); + (bool overflowsMul, uint256 resultMul) = Math.tryMul(x, y); - (bool overflowsDiv, uint256 resultDiv) = SafeMath.tryDiv(x, y); + (bool overflowsDiv, uint256 resultDiv) = Math.tryDiv(x, y); // ... } ``` ##### Adapting Governor modules Custom Governor modules that override internal functions may require modifications if migrated to v5. In particular, the new internal functions `_queueOperations` and `_executeOperations` may need to be used. If assistance with this migration is needed reach out via the [OpenZeppelin Support Forum](https://forum.openzeppelin.com/c/support/contracts/18). ##### ECDSA and MessageHashUtils The `ECDSA` library is now focused on signer recovery. Previously it also included utility methods for producing digests to be used with signing or recovery. These utilities have been moved to the `MessageHashUtils` library and should be imported if needed: ```diff import {ECDSA} from "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; +import {MessageHashUtils} from "@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol"; contract Verifier { using ECDSA for bytes32; + using MessageHashUtils for bytes32; function _verify(bytes32 data, bytes memory signature, address account) internal pure returns (bool) { return data .toEthSignedMessageHash() .recover(signature) == account; } } ``` ##### Interfaces and libraries in upgradeable contracts The upgradeable version of the contracts library used to include a variant suffixed with `Upgradeable` for every contract. These variants, which are produced automatically, mainly include changes for dealing with storage that don't apply to libraries and interfaces. The upgradeable library no longer includes upgradeable variants for libraries and interfaces. Projects migrating to 5.0 should replace their library and interface imports with their corresponding non-upgradeable version: ```diff // Libraries -import {AddressUpgradeable} from '@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol'; +import {Address} from '@openzeppelin/contracts/utils/Address.sol'; // Interfaces -import {IERC20Upgradeable} from '@openzeppelin/contracts-upgradeable/interfaces/IERC20.sol'; +import {IERC20} from '@openzeppelin/contracts/interfaces/IERC20.sol'; ``` ##### Offchain Considerations Some changes may affect offchain systems if they rely on assumptions that are changed along with these new breaking changes. These cases are: ##### Relying on revert strings for processing errors A concrete example is AccessControl, where it was previously advised to catch revert reasons using the following regex: /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ Instead, contracts now revert with custom errors. Systems that interact with smart contracts outside of the network should consider reliance on revert strings and possibly support the new custom errors. ##### Relying on storage locations for retrieving data After 5.0, the storage location of some variables were changed. This is the case for `Initializable` and all the upgradeable contracts since they now use namespaced storaged locations. Any system relying on storage locations for retrieving data or detecting capabilities should be updated to support these new locations.ethereum-ts/Typechain (@typechain/ethers-v5)
### [`v11.1.2`](https://togithub.com/dethcrypto/TypeChain/releases/tag/%40typechain/ethers-v5%4011.1.2) [Compare Source](https://togithub.com/ethereum-ts/Typechain/compare/@typechain/ethers-v5@11.1.1...@typechain/ethers-v5@11.1.2) ##### Patch Changes - Updated dependencies \[[`3469800`](https://togithub.com/ethereum-ts/Typechain/commit/3469800)] - typechain@8.3.2 ### [`v11.1.1`](https://togithub.com/dethcrypto/TypeChain/releases/tag/%40typechain/ethers-v5%4011.1.1) [Compare Source](https://togithub.com/ethereum-ts/Typechain/compare/@typechain/ethers-v5@11.1.0...@typechain/ethers-v5@11.1.1) ##### Patch Changes - Updated dependencies \[[`9107713`](https://togithub.com/ethereum-ts/Typechain/commit/9107713)] - typechain@8.3.1 ### [`v11.1.0`](https://togithub.com/dethcrypto/TypeChain/releases/tag/%40typechain/ethers-v5%4011.1.0) [Compare Source](https://togithub.com/ethereum-ts/Typechain/compare/@typechain/ethers-v5@11.0.1...@typechain/ethers-v5@11.1.0) ##### Minor Changes - [`c4720b9`](https://togithub.com/ethereum-ts/Typechain/commit/c4720b9): fix tuples in event signatures and also arrays of tuples in functions ##### Patch Changes - Updated dependencies \[[`c4720b9`](https://togithub.com/ethereum-ts/Typechain/commit/c4720b9)] - typechain@8.3.0 ### [`v11.0.1`](https://togithub.com/dethcrypto/TypeChain/releases/tag/%40typechain/ethers-v5%4011.0.1) [Compare Source](https://togithub.com/ethereum-ts/Typechain/compare/@typechain/ethers-v5@11.0.0...@typechain/ethers-v5@11.0.1) ##### Patch Changes - Updated dependencies \[[`cd4bb0f`](https://togithub.com/ethereum-ts/Typechain/commit/cd4bb0f)] - typechain@8.2.1 ### [`v11.0.0`](https://togithub.com/dethcrypto/TypeChain/releases/tag/%40typechain/ethers-v5%4011.0.0) [Compare Source](https://togithub.com/ethereum-ts/Typechain/compare/@typechain/ethers-v5@10.2.1...@typechain/ethers-v5@11.0.0) ##### Major Changes - [`3eb6ed6`](https://togithub.com/ethereum-ts/Typechain/commit/3eb6ed6): Removes PromiseOrValue ##### Minor Changes - [`15541e4`](https://togithub.com/ethereum-ts/Typechain/commit/15541e4): Support for `nodenext` style import paths with new CLI flag: `--node16-modules` ##### Patch Changes - Updated dependencies \[[`15541e4`](https://togithub.com/ethereum-ts/Typechain/commit/15541e4)] - typechain@8.2.0ethers-io/ethers.js (ethers)
### [`v6.9.0`](https://togithub.com/ethers-io/ethers.js/blob/HEAD/CHANGELOG.md#ethersv690-2023-11-27-0615) [Compare Source](https://togithub.com/ethers-io/ethers.js/compare/v6.8.1...v6.9.0) - Use provider-specified suggested priority fee when available, otherwise fallback onto existing logic of 1 gwei ([#4463](https://togithub.com/ethers-io/ethers.js/issues/4463); [f8f11c7](https://togithub.com/ethers-io/ethers.js/commit/f8f11c754aa2c9b541db73d3bde66a8ffa5146f0)). - Add auto-detected static network support to providers and allow customizing socket provider options ([#4199](https://togithub.com/ethers-io/ethers.js/issues/4199), [#4418](https://togithub.com/ethers-io/ethers.js/issues/4418), [#4441](https://togithub.com/ethers-io/ethers.js/issues/4441); [4681b83](https://togithub.com/ethers-io/ethers.js/commit/4681b83d516ab2eb41ddb68b5021c97e14c6f2cf)). - Added Base network to AlchemyProvider ([#4384](https://togithub.com/ethers-io/ethers.js/issues/4384); [9e74d14](https://togithub.com/ethers-io/ethers.js/commit/9e74d14432e6efebdff21b9a7d2e6143af55e143)). - Fixed ParamType formatting causing bad tuple full and minimal ABI output ([#4329](https://togithub.com/ethers-io/ethers.js/issues/4329), [#4479](https://togithub.com/ethers-io/ethers.js/issues/4479); [2b67488](https://togithub.com/ethers-io/ethers.js/commit/2b6748815169abf2c99a647131875c13b8b6a787)). - Adjust for provider config weight when kicking off a request in FallbackProvider ([#4298](https://togithub.com/ethers-io/ethers.js/issues/4298); [da34e35](https://togithub.com/ethers-io/ethers.js/commit/da34e3569e95357d9469209d926cb645f0750bfa)). - More robust FallbackProvider broadcast ([#4186](https://togithub.com/ethers-io/ethers.js/issues/4186), [#4297](https://togithub.com/ethers-io/ethers.js/issues/4297), [#4442](https://togithub.com/ethers-io/ethers.js/issues/4442); [e2485b8](https://togithub.com/ethers-io/ethers.js/commit/e2485b8ef927d18c7a15d2d29b3b0feffec9991a)). - Added safe and finalized provider events ([#3921](https://togithub.com/ethers-io/ethers.js/issues/3921); [a92766e](https://togithub.com/ethers-io/ethers.js/commit/a92766e56ad04185625037d84fc28adaac7fae8c)). ### [`v6.8.1`](https://togithub.com/ethers-io/ethers.js/blob/HEAD/CHANGELOG.md#ethersv681-2023-11-01-1608) [Compare Source](https://togithub.com/ethers-io/ethers.js/compare/v6.8.0...v6.8.1) - Fixed typo in error description when converting values to arrays ([#4427](https://togithub.com/ethers-io/ethers.js/issues/4427), [#4446](https://togithub.com/ethers-io/ethers.js/issues/4446); [8fed2f8](https://togithub.com/ethers-io/ethers.js/commit/8fed2f84768ace4bf3e5742c931a74841da7c637)). - Fix invalid token nonpayable being included in formatted constructor ([#4412](https://togithub.com/ethers-io/ethers.js/issues/4412); [2e0bd90](https://togithub.com/ethers-io/ethers.js/commit/2e0bd90744b8e76fcf03f75a66cb0061d50f7bd9)). - Add ENS support for Sepolia ([#4422](https://togithub.com/ethers-io/ethers.js/issues/4422); [1da50ae](https://togithub.com/ethers-io/ethers.js/commit/1da50ae286da01e58a70bb8df8aa5cc5d260e33e)). ### [`v6.8.0`](https://togithub.com/ethers-io/ethers.js/blob/HEAD/CHANGELOG.md#ethersv680-2023-10-10-2242) [Compare Source](https://togithub.com/ethers-io/ethers.js/compare/v6.7.1...v6.8.0) - Replicated former ENS normalize behaviour for empty strings and update namehash testcases ([125ff11](https://togithub.com/ethers-io/ethers.js/commit/125ff1189b9cefb8abfd7da9c104c75e382a50cc)). - Initial shortMessage support for errors ([#4241](https://togithub.com/ethers-io/ethers.js/issues/4241); [d6a8c14](https://togithub.com/ethers-io/ethers.js/commit/d6a8c14d907cf8b90347444c0186b83a5db2e293)). - Fixed resolving ENS addresses used as from parameters ([#3961](https://togithub.com/ethers-io/ethers.js/issues/3961); [2616f4c](https://togithub.com/ethers-io/ethers.js/commit/2616f4c30c82bd45449b73fa37ef269d60a07d80)). - Merge: [`9a4b753`](https://togithub.com/ethers-io/ethers.js/commit/9a4b7534) [`0c9c23b`](https://togithub.com/ethers-io/ethers.js/commit/0c9c23b0) Merge branch 'v5.8-progress' ([cd5f0fe](https://togithub.com/ethers-io/ethers.js/commit/cd5f0fe03f2137fbc47e295f8db38a5151111e72)). - Allow more loose input format for RLP encoder ([#4402](https://togithub.com/ethers-io/ethers.js/issues/4402); [9a4b753](https://togithub.com/ethers-io/ethers.js/commit/9a4b7534458fc79a0654b0eb57fc956bffa02a2f)). - Update to latest noble crypto libraries ([#3975](https://togithub.com/ethers-io/ethers.js/issues/3975); [b27faa0](https://togithub.com/ethers-io/ethers.js/commit/b27faa02ac8f90e2e54b188e8139c59d98c469e3)). - More robust configuration options for FetchRequest getUrl functions ([#4353](https://togithub.com/ethers-io/ethers.js/issues/4353); [9541f2f](https://togithub.com/ethers-io/ethers.js/commit/9541f2f70cd7f5c6f3caf93f5a3d5e34eae5281a)). - Ignore blockTag when calling Etherscan if it is the default block tag ([dcea9b3](https://togithub.com/ethers-io/ethers.js/commit/dcea9b353619d85878ad2ba340ae17e5c285d558)). ### [`v6.7.1`](https://togithub.com/ethers-io/ethers.js/blob/HEAD/CHANGELOG.md#ethersv671-2023-08-15-0308) [Compare Source](https://togithub.com/ethers-io/ethers.js/compare/v6.7.0...v6.7.1) - Prevent destroyed providers from emitting network detection errors ([7d41730](https://togithub.com/ethers-io/ethers.js/commit/7d4173049edc3b4ff2de1971c3ecca3b08588651)). - Fix VSCode reported lint issues ([#4153](https://togithub.com/ethers-io/ethers.js/issues/4153), [#4156](https://togithub.com/ethers-io/ethers.js/issues/4156), [#4158](https://togithub.com/ethers-io/ethers.js/issues/4158), [#4159](https://togithub.com/ethers-io/ethers.js/issues/4159); [4eb84da](https://togithub.com/ethers-io/ethers.js/commit/4eb84da865a82a27c5113c38102b6b710096958e), [203dfc3](https://togithub.com/ethers-io/ethers.js/commit/203dfc33b9c8e72c9cdfe0a349ac763ef17a4484)). - Add gasPrice to Polygon feeData for type 0 and type 1 legacy transactions ([#4315](https://togithub.com/ethers-io/ethers.js/issues/4315); [0df3ab9](https://togithub.com/ethers-io/ethers.js/commit/0df3ab93137039de1e1986bbfe9a5b32ceffa8a4)). ### [`v6.7.0`](https://togithub.com/ethers-io/ethers.js/blob/HEAD/CHANGELOG.md#ethersv670-2023-08-02-2352) [Compare Source](https://togithub.com/ethers-io/ethers.js/compare/v6.6.7...v6.7.0) - Fixed receipt wait not throwing on reverted transactions ([25fef4f](https://togithub.com/ethers-io/ethers.js/commit/25fef4f8d756f5bbf5a2a05e38233248a8eb43ac)). - Added custom priority fee to Optimism chain (via telegram) ([ff80b04](https://togithub.com/ethers-io/ethers.js/commit/ff80b04f31da21496e72d3687cecd1c01efaecc5)). - Add context to Logs that fail decoding due to ABI issues to help debugging ([f3c46f2](https://togithub.com/ethers-io/ethers.js/commit/f3c46f22994d194ff78b3b176407b2ecb7af1c77)). - Added new exports for FallbackProviderOptions and FetchUrlFeeDataNetworkPlugin ([#2828](https://togithub.com/ethers-io/ethers.js/issues/2828), [#4160](https://togithub.com/ethers-io/ethers.js/issues/4160); [b1dbbb0](https://togithub.com/ethers-io/ethers.js/commit/b1dbbb0de3f10a3d9e12d6a84ad5c52bea25c7f6)). - Allow overriding pollingInterval in JsonRpcProvider constructor (via discord) ([f42f258](https://togithub.com/ethers-io/ethers.js/commit/f42f258beb305a06e563ad16522f095a72da32eb)). - Fixed FallbackProvider priority sorting ([#4150](https://togithub.com/ethers-io/ethers.js/issues/4150); [78538eb](https://togithub.com/ethers-io/ethers.js/commit/78538eb100addd135d29e60c9fa4fed3946278fa)). - Added linea network to InfuraProvider and Network ([#4184](https://togithub.com/ethers-io/ethers.js/issues/4184), [#4190](https://togithub.com/ethers-io/ethers.js/issues/4190); [d3e5e2c](https://togithub.com/ethers-io/ethers.js/commit/d3e5e2c45b28c377f306091acfc024e30c49ef20)). - Added whitelist support to getDefaultProvider ([82bb936](https://togithub.com/ethers-io/ethers.js/commit/82bb936542e29c6441ac8dc2d3ebbdd4edb708ee)). - Add Polygon RPC endpoints to the default provider ([#3689](https://togithub.com/ethers-io/ethers.js/issues/3689); [23704a9](https://togithub.com/ethers-io/ethers.js/commit/23704a9c44d5857817e138fb19d44ce2103ca005)). - Added customizable quorum to FallbackProvider ([#4160](https://togithub.com/ethers-io/ethers.js/issues/4160); [8f0a509](https://togithub.com/ethers-io/ethers.js/commit/8f0a50921a12a866addcf5b0fabc576bfc287689)). - Added basic Gas Station support via a NetworkPlugin ([#2828](https://togithub.com/ethers-io/ethers.js/issues/2828); [229145d](https://togithub.com/ethers-io/ethers.js/commit/229145ddf566a962517588eaeed155734c7d4598)). - Add BNB URLs to EtherscanProvider networks ([ec39abe](https://togithub.com/ethers-io/ethers.js/commit/ec39abe067259fad4ea8607a6c5aece61890eb41)). - Added tests for JSON format ([#4248](https://togithub.com/ethers-io/ethers.js/issues/4248); [ba36079](https://togithub.com/ethers-io/ethers.js/commit/ba36079a285706694532ce726568c4c447acad47)). - Use empty string for unnamed parameters in JSON output instead of undefined ([#4248](https://togithub.com/ethers-io/ethers.js/issues/4248); [8c2652c](https://togithub.com/ethers-io/ethers.js/commit/8c2652c8cb4d054207d89688d30930869d9d3f8b)). - Return undefined for Contract properties that do not exist instead of throwing an error ([#4266](https://togithub.com/ethers-io/ethers.js/issues/4266); [5bf7b34](https://togithub.com/ethers-io/ethers.js/commit/5bf7b3494ed62952fc387b4368a0bdc86dfe163e)). ### [`v6.6.7`](https://togithub.com/ethers-io/ethers.js/blob/HEAD/CHANGELOG.md#ethersv667-2023-07-28-1450) [Compare Source](https://togithub.com/ethers-io/ethers.js/compare/v6.6.6...v6.6.7) - Prevent malformed logs from preventing other logs being decoded ([#4275](https://togithub.com/ethers-io/ethers.js/issues/4275); [0dca645](https://togithub.com/ethers-io/ethers.js/commit/0dca645632d73488bf6ad460e0d779361a537bbe)). - Allow visibility on human-readable constructors ([#4278](https://togithub.com/ethers-io/ethers.js/issues/4278); [3a52201](https://togithub.com/ethers-io/ethers.js/commit/3a52201fe2ba68a00105cca2c0901da5ffa18d6b)). ### [`v6.6.6`](https://togithub.com/ethers-io/ethers.js/blob/HEAD/CHANGELOG.md#ethersv666-2023-07-28-0114) [Compare Source](https://togithub.com/ethers-io/ethers.js/compare/v6.6.5...v6.6.6) - Better error message when passing invalid overrides object into a contract deployment ([#4182](https://togithub.com/ethers-io/ethers.js/issues/4182); [aa2ea3d](https://togithub.com/ethers-io/ethers.js/commit/aa2ea3d5296956fd0d40b83888e1ca053bb250ee)). ### [`v6.6.5`](https://togithub.com/ethers-io/ethers.js/blob/HEAD/CHANGELOG.md#ethersv665-2023-07-24-0004) [Compare Source](https://togithub.com/ethers-io/ethers.js/compare/v6.6.4...v6.6.5) - Reflect symbols in the Contract Proxy to target ([#4084](https://togithub.com/ethers-io/ethers.js/issues/4048); [ac2f5e5](https://togithub.com/ethers-io/ethers.js/commit/ac2f5e563b8ec0e91a931470eb6ea58b0c01fb3d)). - Allow arrays of address for indexed filter topics ([#4259](https://togithub.com/ethers-io/ethers.js/issues/4259); [93af87c](https://togithub.com/ethers-io/ethers.js/commit/93af87c447eeb77090e29bd940612603b3f74026)). - Fixed filter encoding for bytesX ([#4244](https://togithub.com/ethers-io/ethers.js/issues/4244); [fa3a883](https://togithub.com/ethers-io/ethers.js/commit/fa3a883ff7c88611ce766f58bdd4b8ac90814470)). - Fix JSON formatting for tuple arrays ([#4237](https://togithub.com/ethers-io/ethers.js/issues/4237); [a8bc49b](https://togithub.com/ethers-io/ethers.js/commit/a8bc49bdcf07a51b35f38cf209db27e116cc1a59)). - Better error messages when parsing fragment strings ([#4246](https://togithub.com/ethers-io/ethers.js/issues/4246); [e36b6c3](https://togithub.com/ethers-io/ethers.js/commit/e36b6c35b7bc777c9adbe0055b32b31a13185240)). - Include the missing fragment key and args when no matching Contract method or event is present ([#3809](https://togithub.com/ethers-io/ethers.js/issues/3809); [450a176](https://togithub.com/ethers-io/ethers.js/commit/450a176ee25f88a2ddb9ff23b153ef70bf1dc546)). - Prevent a single malformed event from preventing other Contract logs; reported on Discord ([b1375f4](https://togithub.com/ethers-io/ethers.js/commit/b1375f4e4463b856855ebc684b45945455ac082e)). ### [`v6.6.4`](https://togithub.com/ethers-io/ethers.js/blob/HEAD/CHANGELOG.md#ethersv664-2023-07-16-0035) [Compare Source](https://togithub.com/ethers-io/ethers.js/compare/v6.6.3...v6.6.4) - More robust support for Signatures with less standard parameter values ([#3835](https://togithub.com/ethers-io/ethers.js/issues/3835), [#4228](https://togithub.com/ethers-io/ethers.js/issues/4228); [a7e4048](https://togithub.com/ethers-io/ethers.js/commit/a7e4048fe3b75a743cec8c8ef2a5fad4bdc8b14c)). - Fixed CCIP-read in the EnsResolver ([#4221](https://togithub.com/ethers-io/ethers.js/issues/4221); [57f1e1c](https://togithub.com/ethers-io/ethers.js/commit/57f1e1c47148921148e35c10c83539531942923e)). - Skip checking confirmation count if confirms is 0 ([#4229](https://togithub.com/ethers-io/ethers.js/issues/4229), [#4242](https://togithub.com/ethers-io/ethers.js/issues/4242); [492919d](https://togithub.com/ethers-io/ethers.js/commit/492919d14f646c630f29e1596e5564df1e51f309)). - Fixed waiting for confirmations in deployment transactions ([#4212](https://togithub.com/ethers-io/ethers.js/issues/4212), [#4230](https://togithub.com/ethers-io/ethers.js/issues/4230); [43c253a](https://togithub.com/ethers-io/ethers.js/commit/43c253a402f52a08353c424f6c4e236836cfaf36)). ### [`v6.6.3`](https://togithub.com/ethers-io/ethers.js/blob/HEAD/CHANGELOG.md#ethersv663-2023-07-11-2055) [Compare Source](https://togithub.com/ethers-io/ethers.js/compare/v6.6.2...v6.6.3) - Throw more desscriptive error for unconfigured ENS name contract targets ([#4213](https://togithub.com/ethers-io/ethers.js/issues/4213); [80f62ef](https://togithub.com/ethers-io/ethers.js/commit/80f62efc41c3a29e690af40a1976928b7f886a0e)). - Fixed contract once not running stop callback ([7d061b7](https://togithub.com/ethers-io/ethers.js/commit/7d061b786f72cbfc461bf80d139d10aeff533a6e)). ### [`v6.6.2`](https://togithub.com/ethers-io/ethers.js/blob/HEAD/CHANGELOG.md#ethersv662-2023-06-27-2330) [Compare Source](https://togithub.com/ethers-io/ethers.js/compare/v6.6.1...v6.6.2) - Wider error detection for call exceptions on certain backends ([#4154](https://togithub.com/ethers-io/ethers.js/issues/4154), [#4155](https://togithub.com/ethers-io/ethers.js/issues/4155); [9197f9f](https://togithub.com/ethers-io/ethers.js/commit/9197f9f938b5f3b5f97c043f2dab06854656c932)). - Added wider error deetection for JSON-RPC unsupported operation ([#4162](https://togithub.com/ethers-io/ethers.js/issues/4162); [1dc8986](https://togithub.com/ethers-io/ethers.js/commit/1dc8986a33be9dce536b24189326cbfaabf1342e)). - Fixed formatUnits and parseUnits for values over 128 bits ([#4037](https://togithub.com/ethers-io/ethers.js/issues/4037), [#4133](https://togithub.com/ethers-io/ethers.js/issuConfiguration
📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.