[ZK Stack] future transaction tries to replace pending #713
Replies: 2 comments 1 reply
-
The error code -32000, indicating "initcode too large," typically occurs when the size of the contract's initialization code exceeds the block gas limit or the specific limits set by the Ethereum client or testnet you are using. In your case, deploying on the Holesky testnet using Alchemy, you might be hitting such a limit. Here are a few steps you can take to resolve this issue:
For more detailed guidance on handling large contracts and optimization, you might find the following resources helpful: If these steps do not resolve the issue, it may be beneficial to reach out to the support team of your RPC provider (Alchemy in this case) for more tailored assistance. Your feedback helps us serve you better. If this fully addresses your question, please give it a thumbs up. If it doesn't, please give it a thumbs down. This will inform the community and team so we can improve our support. |
Beta Was this translation helpful? Give feedback.
-
Closing down as duplicate. See this one for updates |
Beta Was this translation helpful? Give feedback.
-
Module Affected
Rust Version
1.80.1
Operating System
Issue Description
I was trying to deploy Zk stack on sepolia and I encountered this error:
Im using Alchemy's growth plan.
Edit: Tutorial Im following: https://code.zksync.io/tutorials/custom-zk-chain
Expected Behavior
Contracts get deployed
Current Behavior
Contracts not getting deployed.
Repository Link (if applicable)
No response
Additional Details
No response
Prior Research
Beta Was this translation helpful? Give feedback.
All reactions