Update `hardhat-ethers` to latest `ethers` with Pectra support
The latest version of ethers has been released, we need to update hardhat-ethers to use it:
- https://github.com/ethers-io/ethers.js/releases/tag/v6.14.0
The key addition is EIP-7702 support, which may require some supporting changes.
It has to be done in both v2 and v3.
The process to resolve this issue should be broken down into stages, as it requires some investigation to adapt the code to the changes in ethers:
-
update
etherstov6.14.0and thrownot implementederrors for theauthorizeandpopulateAuthorizationmethods. This ensures the code compiles while upgrading to the latest version ofethers. PR main, PR v-next -
Investigate the changes in
ethersand determine how to update these two new methods accordingly