Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to create the rollup node #1

Open
uneuro opened this issue Oct 10, 2024 · 6 comments
Open

unable to create the rollup node #1

uneuro opened this issue Oct 10, 2024 · 6 comments

Comments

@uneuro
Copy link

uneuro commented Oct 10, 2024

Hi, trying to run a node but in docker logs I got this on the unichain-nod-op-node-1:

2024-10-10 19:01:41 t=2024-10-10T17:01:41+0000 lvl=error msg="Error initializing the rollup node" err="failed to check L1 Beacon API version: operation failed permanently after 5 attempts: http Get failed: Get "https://your.sepolia.beacon.node/endpoint-here/eth/v1/node/version\": dial tcp: lookup your.sepolia.beacon.node on 127.0.0.11:53: no such host"
2024-10-10 19:01:41 t=2024-10-10T17:01:41+0000 lvl=crit msg="Application failed" message="failed to setup: unable to create the rollup node: failed to check L1 Beacon API version: operation failed permanently after 5 attempts: http Get failed: Get "https://your.sepolia.beacon.node/endpoint-here/eth/v1/node/version\": dial tcp: lookup your.sepolia.beacon.node on 127.0.0.11:53: no such host"
2024-10-10 19:01:41 t=2024-10-10T17:01:41+0000 lvl=info msg="Not opted in to ProtocolVersions signal loading, disabling ProtocolVersions contract now."
2024-10-10 19:01:41 t=2024-10-10T17:01:41+0000 lvl=info msg="Rollup Config" l2_chain_id=1301 l2_network="unknown L2" l1_chain_id=11155111 l1_network=sepolia l2_start_time=1726852428 l2_block_hash=0xb7fe0bc9f98ca03294ca0094ff9374cc3e64130b6ec85850d6e260191f48bfe7 l2_block_number=0 l1_block_hash=0x81719966c43c08d616a832331500633db68006f5e8c0b575a6faf1704ad350c0 l1_block_number=6728364 regolith_time="@ genesis" canyon_time="@ genesis" delta_time="@ genesis" ecotone_time="@ genesis" fjord_time="@ genesis" granite_time="@ genesis" holocene_time="(not configured)" interop_time="(not configured)" alt_da=false
2024-10-10 19:01:41 t=2024-10-10T17:01:41+0000 lvl=info msg="Initializing rollup node" version=v1.9.1-4797ddb7-1724853807

I did docker compose with all defaults, under up to date manjaro + docker Engine: 27.2.0 + Compose: v2.29.2-desktop.2

@uneuro
Copy link
Author

uneuro commented Oct 10, 2024

Ok I think I need to replace in .env files this setting: https://your.sepolia.beacon.node/endpoint-here with a full ETH node RPC

@TheSalade
Copy link

You need to edit Edit OP_NODE_L1_ETH_RPC and OP_NODE_L1_BEACON

You can find RPC and BEACON here : https://ethereum-sepolia.publicnode.com/?sepolia

@0xAJPanda
Copy link

Hi, trying to run a node but in docker logs I got this on the unichain-nod-op-node-1:

2024-10-10 19:01:41 t=2024-10-10T17:01:41+0000 lvl=error msg="Error initializing the rollup node" err="failed to check L1 Beacon API version: operation failed permanently after 5 attempts: http Get failed: Get "[https://your.sepolia.beacon.node/endpoint-here/eth/v1/node/version](https://your.sepolia.beacon.node/endpoint-here/eth/v1/node/version%5C)": dial tcp: lookup your.sepolia.beacon.node on 127.0.0.11:53: no such host" 2024-10-10 19:01:41 t=2024-10-10T17:01:41+0000 lvl=crit msg="Application failed" message="failed to setup: unable to create the rollup node: failed to check L1 Beacon API version: operation failed permanently after 5 attempts: http Get failed: Get "[https://your.sepolia.beacon.node/endpoint-here/eth/v1/node/version](https://your.sepolia.beacon.node/endpoint-here/eth/v1/node/version%5C)": dial tcp: lookup your.sepolia.beacon.node on 127.0.0.11:53: no such host" 2024-10-10 19:01:41 t=2024-10-10T17:01:41+0000 lvl=info msg="Not opted in to ProtocolVersions signal loading, disabling ProtocolVersions contract now." 2024-10-10 19:01:41 t=2024-10-10T17:01:41+0000 lvl=info msg="Rollup Config" l2_chain_id=1301 l2_network="unknown L2" l1_chain_id=11155111 l1_network=sepolia l2_start_time=1726852428 l2_block_hash=0xb7fe0bc9f98ca03294ca0094ff9374cc3e64130b6ec85850d6e260191f48bfe7 l2_block_number=0 l1_block_hash=0x81719966c43c08d616a832331500633db68006f5e8c0b575a6faf1704ad350c0 l1_block_number=6728364 regolith_time="@ genesis" canyon_time="@ genesis" delta_time="@ genesis" ecotone_time="@ genesis" fjord_time="@ genesis" granite_time="@ genesis" holocene_time="(not configured)" interop_time="(not configured)" alt_da=false 2024-10-10 19:01:41 t=2024-10-10T17:01:41+0000 lvl=info msg="Initializing rollup node" version=v1.9.1-4797ddb7-1724853807

I did docker compose with all defaults, under up to date manjaro + docker Engine: 27.2.0 + Compose: v2.29.2-desktop.2

You need an RPC, try to find a good one and replace these values on those files mentioned :

OP_NODE_L1_ETH_RPC and OP_NODE_L1_BEACON

These should be different but just for testing try it with the same.

I do have a full tutorial here : https://github.com/0xAJPanda/unichain-node

I hope it helps...

@RumoursGR
Copy link

Hey all, I have two questions:

  1. ShouId I be using ETH Sepolia or OPT Sepolia?
  2. I'm using Alchemy and there's no Beacon API to be found for either ETH or OPT. What to do?

@xuht724
Copy link

xuht724 commented Nov 12, 2024

Hey all, I have two questions:

  1. ShouId I be using ETH Sepolia or OPT Sepolia?
  2. I'm using Alchemy and there's no Beacon API to be found for either ETH or OPT. What to do?

May be you can use public api, or I find chainstack api support this

@RumoursGR
Copy link

RumoursGR commented Nov 12, 2024

either

1.Sepolia.
2.I'm using dRPC.org, where the Ethereum Beacon Chain is available for both Mainnet and Sepolia.

If you choose to use it this is my referral link: https://drpc.org?ref=53deaf.

Don't forget to use the following command and jot down the node key in the end, which acts as a private key in this case:

cat ~/unichain-node/geth-data/geth/nodekey

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants