Uniswap / unichain-node

Everything required to run your own Unichain node
76 stars 45 forks source link

unable to create the rollup node #1

Open uneuro opened 1 week ago

uneuro commented 1 week ago

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 commented 1 week ago

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 commented 1 week ago

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 commented 6 days ago

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

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 commented 4 days ago

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?