[Deployment] Proxy Deployment from a Factory making use of create2Account #665
Labels
aa
Question related to Account Abstraction
deployment
Questions for deployment
docs
Items needed to be added or updated in the documentation
Add to Community Code and update docs about using create2Account with proxies
Discussed in #639
Originally posted by 4NNNN July 28, 2024
Environment
Testnet
zkSolc Version
latest
zksync-ethers Version
^6.0.0
Hardhat.config.ts
Deployment Script (WITHOUT PRIVATE KEY)
Package.json
Contract Code
Does this work on other EVMs? (If yes, please list at least 1 of them)
NA
Description of What Your Contract Does
I tried deploying a proxy to the wallet implemenation by not implementing a proxy import.
So it was just a normal wallet contract but the proxy gets deployed by using
hre.zkUpgrades.deployProxy
.But while trying to populate a transaction and test it out for token transfers, errored up saying
Sender is not an account
.Which means you're calling a contract which was not deployed using create2Account or createAccount, so in this case I might have to deploy the proxy for the implementation using a proxy factory.
I need reference on how to deploy a proxybytecodehash from the factory with the implementation address as a constructor parameter!
Repo Link (Optional)
No response
Additional Details
No response
The text was updated successfully, but these errors were encountered: