Problems while deploying custom token chain using Sepolia as L1 #965
-
Team or ProjectNo response ZK chainEra EnvironmentTestnet L2 block numberNo response zkSolc Version1.86.0 zksync-ethers Version6.16.1 Minimal Reproducible Code or Repo Link:~/zksep$ zkstack ecosystem create ┌ ZK Stack CLI ~/zksep/bfh$ zkstack ecosystem init ┌ ZK Stack CLI Does this work on other EVMs? (If yes, please list at least 1 of them)No Description of What Your Contract DoesNo response Second time Config
┌ ZK Stack CLI ┌ ZK Stack CLI It always shows this step which shows a different key then provided in wallets.yaml. not sure about it. I have transferred 5 sepolia eth to governor account Deploying ecosystem contracts... ◆ Address 0x4341ca72e13d3bb903a8d791cfd3a2bd784fee12 doesn't have enough money to deploy contracts only 0.000000000000000000 ETH but expected: 5.000000000000000000 ETH do you want to try again? Additional DetailsHi All, I am trying to deploy my new custom token testnet on a Sepolia L1. Please see the above configuration. I have transffered atleast 10000 Test tokens to governer, fee_account and deployer address and send 2 SepoliaETH to governer address but after creating ecosystem and trying to init the deployment doesn't process further. IT has been atleast 2-3 hours since I started. First of all if I have setup the ecosystem wrong or if the setup is wrong in any way then please advise. Also advise if I need to deploy one chain or two chains. If I use sepolia as L1 and without running the reth node tutorial as shown in https://code.zksync.io/tutorials/custom-zk-chain, if I skip this and directly deploy a chain using sepolia l1 and create the ecosystem using sepolia L1 as well, would that be ok? I really need to deploy a chain to connect to my frontedn application. Solution needed urgently. Please advice @cytadela8 @dutterbutter @bxpana @sachanayush47 and or anyone who could help. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 6 replies
-
Hi @monk07-01! If you want to deploy to sepolia as your settlement layer, you don't need to use local reth. It looks like in both cases you have not supplied any sepolia ETH to the deployer addresses: 0x4341ca72e13d3bb903a8d791cfd3a2bd784fee12 and 0x8aa2dbe52a26e939135bbb49a31c0732e2e1f55a from your logs are empty. Please provide at least 5 sepolia ETH and try again. You can find the address in your wallets.yaml config under Feel free to unmark this as answered if this does not resolve your issue. |
Beta Was this translation helpful? Give feedback.
-
Transactions saved to: /home/abhishek/sway_ecosystem/zksync-era/contracts/l1-contracts/broadcast/DeployL1.s.sol/11155111/run-latest.json Sensitive values saved to: /home/abhishek/sway_ecosystem/zksync-era/contracts/l1-contracts/cache-forge/DeployL1.s.sol/11155111/run-latest.json Error: Failed to send transaction Context:
i am getting this issue after setting ecosystem what could be the reason |
Beta Was this translation helpful? Give feedback.
-
So we need 5eth in the setup so we need this much amount for mainnet as well?? @ly0va |
Beta Was this translation helpful? Give feedback.
-
So in mainent we need 5 eth safe to deploy this rollup.
…On Tue, 18 Mar 2025 at 1:32 PM, Igor Aleksanov ***@***.***> wrote:
5 ETH is a safe recommended balance with which you will certainly not run
out of funds during the deployment.
When prompted, you can answer "No" and the deployment will continue even
if you have less funds than recommended.
I see that this prompt can be confusing, so I'll work on changing it to be
more clear.
—
Reply to this email directly, view it on GitHub
<#965 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2HCIYFKSI7ANEGGJE42G5T2U7HI5AVCNFSM6AAAAABZBZJ6UWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTENJTGQ4DANQ>
.
You are receiving this because you commented.Message ID:
<zkSync-Community-Hub/zksync-developers/repo-discussions/965/comments/12534806
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
Given that the answers to the questions provided in the discussion were given, I'll mark this discussion as answered. |
Beta Was this translation helpful? Give feedback.
It is more than enough; the spend is almost guaranteed to be significantly lower than that. This amount is a very conservative heuristic to be on the safe side and account for different scenarios like gas price spikes.
You can measure the amount of funds spent when deploying on Sepolia, and convert it in mainnet prices (e.g. divide by the average Sepolia gas price and multiply by the average Ethereum Mainnet gas price) to get an estimate for how much would it cost to deploy the system on Mainnet.