zkemail / email-wallet

A smart contract wallet controlled using email
https://emailwallet.org
MIT License
131 stars 16 forks source link

Bump OpenZeppelin version #52

Open supernovahs opened 8 months ago

supernovahs commented 8 months ago

packages/contracts use openzeppelin 's 5.0.0 , which does removes 777 , but account abstraction dependency uses 777 in their current latest version (0.6.0)

Hence forge build is throwing error

 --> ../../node_modules/accountabstraction/contracts/samples/callback/TokenCallbackHandler.sol:7:1:
  |
7 | import "@openzeppelin/contracts/token/ERC777/IERC777Recipient.sol";
Divide-By-0 commented 4 months ago

We updated the contracts in zk-email-verify to use open-zeppelin 6.0.0, and just need to update that import, the respective interfaces, and the versions of contracts here.