Issues deploying ERC-2470 Factory to zkSync Era #870
Unanswered
juliopavila
asked this question in
Deployments
Replies: 1 comment
-
Hey @juliopavila. EIP-155 transactions are not enforced. See this discussion for example. The issue you are experiencing must be for some other reason. Can you share any more details? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Team or Project
Gnosis Guild
Environment
Mainnet
L2 block number
Not applicable yet, as deployment is being rejected before confirmation
zkSolc Version
lastest
zksync-ethers Version
lastest
Minimal Reproducible Code or Repo Link
The deployment process for the ERC-2470 factory is based on the "nick method" (pre-signed transaction). Unfortunately, this method relies on non-EIP-155 transactions, which zkSync Era enforces, causing the transaction to be rejected. The repository describing the deterministic deployment approach can be found here:
https://github.com/ethereum/ercs/blob/master/ERCS/erc-2470.md
Does this work on other EVMs? (If yes, please list at least 1 of them)
Yes, the deployment works on networks that do not enforce EIP-155. Most networks already support the deterministic deployment contract, but zkSync Era's enforcement of EIP-155 prevents this deployment
Description of What Your Contract Does
The ERC-2470 factory provides a deterministic address for a singleton contract, enabling efficient and reusable contract deployments. Its deployment method involves a pre-signed transaction (nick method) that relies on pre-EIP-155 mechanics.
Additional Details
We’re experiencing a deployment issue. The chain enforces EIP-155, and this factory uses a pre-signed transaction that does not comply with EIP-155. Consequently, our deployment attempts are being rejected by the zkSync Era RPC provider.
For context, the deterministic deployment project (nick factory) follows the same deployment method using pre-signed, non-EIP-155 transactions. While it is supported and present on most other networks, it is not available on zkSync Era. We’d like to know if there’s any way to deploy ERC-2470 on zkSync Era, or if there’s a workaround to bypass this limitation.
Looking forward to your guidance!
Beta Was this translation helpful? Give feedback.
All reactions