-
Team or ProjectProviroll ZK chainEra EnvironmentSepolia L2 block numberGenesis Provide a brief description of the functionality you're trying to implement and the issue you are running into.I've tried more than 20 rollup deployments on the Sepolia testnet, and I notice that the deployment costs are highly variable despite the parameters being the same. Sometimes the whole process takes less than 1 ETH from the deployer wallet, sometimes it takes 5 or 6 ETH at very early stages of the deployment (which ultimately fails it at the ecosystem initialization stage because of the balance being lower than 5 ETH despite using the --ignore-prerequisites flag on the zkstack ecosystem init command). I'd like to know how to handle this variance or to completely ignore the 5ETH condition during contract deployments since it causes them to fail. Thank you. Repo Link (Optional)No response Additional DetailsI provision my wallets, giving them 6ETH each except for the deployer that gets 9. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
Hi @zaguezzar , can you clarify what you mean by |
Beta Was this translation helpful? Give feedback.
-
@zaguezzar I see you've unanswered this post, the responses provided are accurate. Gas prices fluctuate so its not as if we can provide an exact number, however if using I suggest deploying locally first, then testnet, then mainnet. You will get a very close approximation. Hopefully that sufficiently answers your question 🙏 |
Beta Was this translation helpful? Give feedback.
Hey @MexicanAce @uF4No, sorry for the belated reply and thank you for your answers. I've successfully followed the guide and granted each wallet 5.2 sepoliaETH, and managed to run the rollup chain after creating and initializing the ecosystem. However when I take a look at the wallets, I see that not much sepoliaETH was used: