Git Product home page Git Product logo

eth-pos-devnet's Introduction

Ethereum Proof-of-Stake Devnet

This repository provides a docker-compose file to run a fully-functional, local development network for Ethereum with proof-of-stake enabled. This configuration uses Prysm as a consensus client and go-ethereum for execution. It starts from proof-of-stake and does not go through the Ethereum merge.

This sets up a single node development network with 64 deterministically-generated validator keys to drive the creation of blocks in an Ethereum proof-of-stake chain. Here's how it works:

  1. We initialize a go-ethereum, proof-of-work development node from a genesis config
  2. We initialize a Prysm beacon chain, proof-of-stake development node from a genesis config

The development net is fully functional and allows for the deployment of smart contracts and all the features that also come with the Prysm consensus client such as its rich set of APIs for retrieving data from the blockchain. This development net is a great way to understand the internals of Ethereum proof-of-stake and to mess around with the different settings that make the system possible.

Using

First, install Docker. Then, run:

git clone https://github.com/rauljordan/eth-pos-devnet && cd eth-pos-devnet
./clean.sh
docker compose up -d

You will see the following:

$ docker compose up -d
[+] Running 7/7
 ⠿ Network eth-pos-devnet_default                          Created
 ⠿ Container eth-pos-devnet-geth-genesis-1                 Started
 ⠿ Container eth-pos-devnet-create-beacon-chain-genesis-1  Started
 ⠿ Container eth-pos-devnet-geth-account-1                 Started
 ⠿ Container eth-pos-devnet-geth-1                         Started
 ⠿ Container eth-pos-devnet-beacon-chain-1                 Started
 ⠿ Container eth-pos-devnet-validator-1                    Started

Each time you restart, you can wipe the old data using ./clean.sh.

Next, you can inspect the logs of the different services launched.

docker logs eth-pos-devnet-geth-1 -f

and see:

INFO [08-19|00:44:30.956] Imported new potential chain segment     blocks=1 txs=0 mgas=0.000 elapsed=1.356ms     mgasps=0.000 number=50 hash=e0bd7f..497d27 dirty=0.00B
INFO [08-19|00:44:31.030] Chain head was updated                   number=50 hash=e0bd7f..497d27 root=815538..801014 elapsed=1.49025ms
INFO [08-19|00:44:35.215] Imported new potential chain segment     blocks=1 txs=0 mgas=0.000 elapsed=3.243ms     mgasps=0.000 number=51 hash=a5fb7c..5e844b dirty=0.00B
INFO [08-19|00:44:35.311] Chain head was updated                   number=51 hash=a5fb7c..5e844b root=815538..801014 elapsed=1.73475ms
INFO [08-19|00:44:39.435] Imported new potential chain segment     blocks=1 txs=0 mgas=0.000 elapsed=1.355ms     mgasps=0.000 number=52 hash=b2fd97..22e230 dirty=0.00B
INFO [08-19|00:44:39.544] Chain head was updated                   number=52 hash=b2fd97..22e230 root=815538..801014 elapsed=1.167959ms
INFO [08-19|00:44:42.733] Imported new potential chain segment     blocks=1 txs=0 mgas=0.000 elapsed=2.453ms     mgasps=0.000 number=53 hash=ee046e..e56b0c dirty=0.00B
INFO [08-19|00:44:42.747] Chain head was updated                   number=53 hash=ee046e..e56b0c root=815538..801014 elapsed="821.084µs"

Available Features

  • Starts from the Capella Ethereum hard fork
  • The network launches with a Validator Deposit Contract deployed at address 0x4242424242424242424242424242424242424242. This can be used to onboard new validators into the network by depositing 32 ETH into the contract
  • The default account used in the go-ethereum node is address 0x123463a4b065722e99115d6c222f267d9cabb524 which comes seeded with ETH for use in the network. This can be used to send transactions, deploy contracts, and more
  • The default account, 0x123463a4b065722e99115d6c222f267d9cabb524 is also set as the fee recipient for transaction fees proposed validators in Prysm. This address will be receiving the fees of all proposer activity
  • The go-ethereum JSON-RPC API is available at http://geth:8545
  • The Prysm client's REST APIs are available at http://beacon-chain:3500. For more info on what these APIs are, see here
  • The Prysm client also exposes a gRPC API at http://beacon-chain:4000

5

3

1

eth-pos-devnet's People

Contributors

kasey avatar nalepae avatar nisdas avatar rauljordan avatar saolyn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

eth-pos-devnet's Issues

Cannot compose container create-beacon-chain-genesis

Hi. Just tried running the containers but there seems to be an error in create-beacon-chain-genesis. Here iis what the logs say. Please let me know if there is a known fix to this issue.

2023-09-10 23:27:32 time="2023-09-10T21:27:32Z" level=info msg="No genesis time specified, defaulting to now()" prefix=genesis
2023-09-10 23:27:32 time="2023-09-10T21:27:32Z" level=info msg="Delaying genesis 1694381252 by 15 seconds" prefix=genesis
2023-09-10 23:27:32 time="2023-09-10T21:27:32Z" level=info msg="Genesis is now 1694381267" prefix=genesis
2023-09-10 23:27:32 panic: runtime error: invalid memory address or nil pointer dereference
2023-09-10 23:27:32 [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x2d0503f]
2023-09-10 23:27:32
2023-09-10 23:27:32 goroutine 1 [running]:
2023-09-10 23:27:32 github.com/prysmaticlabs/prysm/v4/cmd/prysmctl/testnet.generateGenesis({0xcfacd0, 0xc000126000})
2023-09-10 23:27:32 cmd/prysmctl/testnet/generate_genesis.go:279 +0x6ff
2023-09-10 23:27:32 github.com/prysmaticlabs/prysm/v4/cmd/prysmctl/testnet.cliActionGenerateGenesisState(0xc000934500)
2023-09-10 23:27:32 cmd/prysmctl/testnet/generate_genesis.go:179 +0x1c9
2023-09-10 23:27:32 github.com/prysmaticlabs/prysm/v4/cmd/prysmctl/testnet.glob..func1(0x2fad200?)
2023-09-10 23:27:32 cmd/prysmctl/testnet/generate_genesis.go:70 +0x2e
2023-09-10 23:27:32 github.com/urfave/cli/v2.(*Command).Run(0x2fad200, 0xc000934500, {0xc00013d880, 0x8, 0x8})
2023-09-10 23:27:32 external/com_github_urfave_cli_v2/command.go:274 +0x9eb
2023-09-10 23:27:32 github.com/urfave/cli/v2.(*Command).Run(0x2fad0a0, 0xc000934440, {0xc0000d65a0, 0x9, 0x9})
2023-09-10 23:27:32 external/com_github_urfave_cli_v2/command.go:267 +0xc4d
2023-09-10 23:27:32 github.com/urfave/cli/v2.(*Command).Run(0xc000546000, 0xc000934380, {0xc000124000, 0xa, 0xa})
2023-09-10 23:27:32 external/com_github_urfave_cli_v2/command.go:267 +0xc4d
2023-09-10 23:27:32 github.com/urfave/cli/v2.(*App).RunContext(0xc00049cb40, {0xcfacd0?, 0xc000126000}, {0xc000124000, 0xa, 0xa})
2023-09-10 23:27:32 external/com_github_urfave_cli_v2/app.go:332 +0x616
2023-09-10 23:27:32 github.com/urfave/cli/v2.(*App).Run(...)
2023-09-10 23:27:32 external/com_github_urfave_cli_v2/app.go:309
2023-09-10 23:27:32 main.main()
2023-09-10 23:27:32 cmd/prysmctl/main.go:23 +0x8e

The panda is not displayed

Hello,
geth-1 works
Validator-1 works
Beaconchain-1 works

I can make transactions

But difficulty is still 1 ...

web3.eth.getBlock(10) = 1
web3.eth.getBlock(74) = 1

how to display this panda?

Cordialy

Validator deposits

Hey @nisdas

I recently sent a deposit to the address 0x4242... and am trying to reduce the deposit detection time by validators in the beacon. To achieve this, I set the flag in the beacon to --slots-per-archive-point=10. Now, I'm querying the beacon node API at /eth/v1/beacon/states/head/validators. Is this the correct approach, or have I overlooked something?

Is it the right way or am i missing something?

Appreciate your help

build for arm64

Hi!

Will the images be rebuilt with support for arm64?

Thanks!

Caught SIGILL at start validator+beacon from docker compose

Got this, i just added to ENVIRONMENT key at docker-compose file, but any changes

somebody knows more about this message, i just...

git clone https://github.com/OffchainLabs/eth-pos-devnet
docker compose up -d
Caught SIGILL in blst_cgo_init, consult <blst>/bindinds/go/README.md

some info about this system

[ntz@ntz-zeus]/: lscpu -p 
# The following is the parsable format, which can be fed to other
# programs. Each different item in every column has an unique ID
# starting usually from zero.
# CPU,Core,Socket,Node,,L1d,L1i,L2,L3
0,0,0,0,,0,0,0,0
1,1,0,0,,1,1,1,0
2,0,0,0,,0,0,0,0
3,1,0,0,,1,1,1,0
[ntz@ntz-zeus]/: lscpu -e
CPU NODE SOCKET CORE L1d:L1i:L2:L3 ONLINE    MAXMHZ    MINMHZ      MHZ
  0    0      0    0 0:0:0:0           si 3100,0000 1600,0000 2979.849
  1    0      0    1 1:1:1:0           si 3100,0000 1600,0000 3100.000
  2    0      0    0 0:0:0:0           si 3100,0000 1600,0000 2560.921
  3    0      0    1 1:1:1:0           si 3100,0000 1600,0000 3100.000
[ntz@ntz-zeus]/: lscpu -C
NAME ONE-SIZE ALL-SIZE WAYS TYPE        LEVEL SETS PHY-LINE COHERENCY-SIZE
L1d       32K      64K    8 Data            1   64        1             64
L1i       32K      64K    8 Instruction     1   64        1             64
L2       256K     512K    8 Unified         2  512        1             64
L3         3M       3M   12 Unified         3 4096        1             64
[ntz@ntz-zeus]/: 

The 'beacon-chain' container stops and no longer works

Description

I'm trying to setup a private network through this repo. It works for me with this docker-compose.yml:

version: "3.9"
services:
  create-beacon-chain-genesis:
    image: "gcr.io/prysmaticlabs/prysm/cmd/prysmctl:HEAD-aec349"
    command:
      - testnet
      - generate-genesis
      - --fork=capella
      - --num-validators=64
      - --genesis-time-delay=15
      - --output-ssz=/consensus/genesis.ssz
      - --chain-config-file=/consensus/config.yml
      - --geth-genesis-json-in=/execution/genesis.json
      - --geth-genesis-json-out=/execution/genesis.json
    volumes:
      - ./consensus:/consensus
      - ./execution:/execution

  geth-remove-db:
    image: "alpine:3.19.0"
    command: rm -rf /execution/geth
    volumes:
      - ./execution:/execution

  geth-genesis:
    image: "ethereum/client-go:v1.14.3"
    command: --datadir=/execution init /execution/genesis.json
    volumes:
      - ./execution:/execution
      - ./execution/genesis.json:/execution/genesis.json
    depends_on:
      create-beacon-chain-genesis:
        condition: service_completed_successfully
      geth-remove-db:
        condition: service_completed_successfully

  beacon-chain:
    image: "gcr.io/prysmaticlabs/prysm/beacon-chain:v4.1.1"
    command:
      - --datadir=/consensus/beacondata
      - --min-sync-peers=0
      - --genesis-state=/consensus/genesis.ssz
      - --bootstrap-node=
      - --interop-eth1data-votes
      - --chain-config-file=/consensus/config.yml
      - --contract-deployment-block=0
      - --chain-id=${CHAIN_ID:-32382}
      - --rpc-host=0.0.0.0
      - --grpc-gateway-host=0.0.0.0
      - --execution-endpoint=http://geth:8551
      - --accept-terms-of-use
      - --jwt-secret=/execution/jwtsecret
      - --suggested-fee-recipient=0x123463a4b065722e99115d6c222f267d9cabb524
      - --minimum-peers-per-subnet=0
      - --enable-debug-rpc-endpoints
      - --force-clear-db
    depends_on:
      create-beacon-chain-genesis:
        condition: service_completed_successfully
    ports:
      - 4000:4000
      - 3500:3500
      - 8080:8080
      - 6060:6060
      - 9090:9090
    volumes:
      - ./consensus:/consensus
      - ./execution:/execution
      - ./execution/jwtsecret:/execution/jwtsecret

  geth:
    image: "ethereum/client-go:v1.14.3"
    command:
      - --http
      - --http.api=eth,net,web3
      - --http.addr=0.0.0.0
      - --http.corsdomain=*
      - --ws
      - --ws.api=eth,net,web3
      - --ws.addr=0.0.0.0
      - --ws.origins=*
      - --authrpc.vhosts=*
      - --authrpc.addr=0.0.0.0
      - --authrpc.jwtsecret=/execution/jwtsecret
      - --datadir=/execution
      - --allow-insecure-unlock
      - --nodiscover
      - --syncmode=full
    ports:
      - 8551:8551
      - 8545:8545
      - 8546:8546
    depends_on:
      geth-genesis:
        condition: service_completed_successfully
      beacon-chain:
        condition: service_started
    volumes:
      - ./execution:/execution
      - ./execution/jwtsecret:/execution/jwtsecret
      - ./execution/geth_password.txt:/execution/geth_password.txt

  validator:
    image: "gcr.io/prysmaticlabs/prysm/validator:v4.1.1"
    command:
      - --beacon-rpc-provider=beacon-chain:4000
      - --datadir=/consensus/validatordata
      - --accept-terms-of-use
      - --interop-num-validators=64
      - --interop-start-index=0
      - --chain-config-file=/consensus/config.yml
      - --force-clear-db
    depends_on:
      beacon-chain:
        condition: service_started
    volumes:
      - ./consensus:/consensus

Version

"com.docker.compose.version": "2.28.1",
"desktop.docker.io/wsl-distro": "Ubuntu-22.04",

Present Behaviour

The chain works, but I have a problem with "beacon-chain". If "geth" or "validator" stop, I can start them again with no problems for the chain. The issue comes when "beacon-chain" stops. I can start it again but it is no longer working.
Here are some logs. Beacon-chain:

2024-08-01 12:14:08 time="2024-08-01 10:14:08" level=info msg="Subscribed to topic" prefix=sync topic="/eth2/5af31293/beacon_attestation_2/ssz_snappy"
2024-08-01 12:14:08 time="2024-08-01 10:14:08" level=warning msg="numPerSlot is 0, skipping initializing topic scoring" prefix=p2p
2024-08-01 12:14:08 time="2024-08-01 10:14:08" level=info msg="Subscribed to topic" prefix=sync topic="/eth2/5af31293/beacon_attestation_13/ssz_snappy"
2024-08-01 12:14:08 time="2024-08-01 10:14:08" level=warning msg="numPerSlot is 0, skipping initializing topic scoring" prefix=p2p
2024-08-01 12:14:08 time="2024-08-01 10:14:08" level=info msg="Subscribed to topic" prefix=sync topic="/eth2/5af31293/beacon_attestation_39/ssz_snappy"
2024-08-01 12:14:08 time="2024-08-01 10:14:08" level=warning msg="numPerSlot is 0, skipping initializing topic scoring" prefix=p2p
2024-08-01 12:14:08 time="2024-08-01 10:14:08" level=info msg="Subscribed to topic" prefix=sync topic="/eth2/5af31293/beacon_attestation_41/ssz_snappy"
2024-08-01 12:14:08 time="2024-08-01 10:14:08" level=warning msg="numPerSlot is 0, skipping initializing topic scoring" prefix=p2p
2024-08-01 12:14:08 time="2024-08-01 10:14:08" level=info msg="Subscribed to topic" prefix=sync topic="/eth2/5af31293/beacon_attestation_25/ssz_snappy"
2024-08-01 12:14:08 time="2024-08-01 10:14:08" level=warning msg="numPerSlot is 0, skipping initializing topic scoring" prefix=p2p
2024-08-01 12:14:08 time="2024-08-01 10:14:08" level=info msg="Subscribed to topic" prefix=sync topic="/eth2/5af31293/beacon_attestation_5/ssz_snappy"
2024-08-01 12:14:08 time="2024-08-01 10:14:08" level=info msg="Begin building block" prefix="rpc/validator" sinceSlotStartTime=249.293532ms slot=7
2024-08-01 12:14:12 time="2024-08-01 10:14:12" level=error msg="Beacon node is not respecting the follow distance" prefix=powchain
2024-08-01 12:14:20 time="2024-08-01 10:14:20" level=info msg="Begin building block" prefix="rpc/validator" sinceSlotStartTime=212.270759ms slot=8
2024-08-01 12:14:26 time="2024-08-01 10:14:26" level=error msg="Beacon node is not respecting the follow distance" prefix=powchain
2024-08-01 12:14:32 time="2024-08-01 10:14:32" level=info msg="Begin building block" prefix="rpc/validator" sinceSlotStartTime=241.894229ms slot=9
2024-08-01 12:14:40 time="2024-08-01 10:14:40" level=error msg="Beacon node is not respecting the follow distance" prefix=powchain
2024-08-01 12:14:44 time="2024-08-01 10:14:44" level=info msg="Begin building block" prefix="rpc/validator" sinceSlotStartTime=193.18842ms slot=10
2024-08-01 12:14:44 time="2024-08-01 10:14:44" level=info msg="Peer summary" activePeers=0 inbound=0 outbound=0 prefix=p2p
2024-08-01 12:14:54 time="2024-08-01 10:14:54" level=error msg="Beacon node is not respecting the follow distance" prefix=powchain
2024-08-01 12:14:56 time="2024-08-01 10:14:56" level=info msg="Begin building block" prefix="rpc/validator" sinceSlotStartTime=212.464331ms slot=11

geth:

2024-08-01 12:13:32 INFO [08-01|10:13:32.260] Starting work on payload                 id=0x02074a132ecfd0ab
2024-08-01 12:13:32 INFO [08-01|10:13:32.260] Updated payload                          id=0x02074a132ecfd0ab number=5 hash=f7e875..84a09d txs=0 withdrawals=0 gas=0 fees=0 root=c1d76f..66d1da elapsed="45.481µs"
2024-08-01 12:13:44 INFO [08-01|10:13:44.260] Stopping work on payload                 id=0x02074a132ecfd0ab reason=timeout
2024-08-01 12:13:48 INFO [08-01|10:13:48.434] Ignoring beacon update to old head       number=0 hash=3c6b8d..8f4e78 age=1m4s have=4
2024-08-01 12:13:56 INFO [08-01|10:13:56.237] Ignoring beacon update to old head       number=0 hash=3c6b8d..8f4e78 age=1m12s have=4
2024-08-01 12:14:08 INFO [08-01|10:14:08.269] Ignoring beacon update to old head       number=0 hash=3c6b8d..8f4e78 age=1m24s have=4
2024-08-01 12:14:20 INFO [08-01|10:14:20.236] Ignoring beacon update to old head       number=0 hash=3c6b8d..8f4e78 age=1m36s have=4
2024-08-01 12:14:32 INFO [08-01|10:14:32.260] Ignoring beacon update to old head       number=0 hash=3c6b8d..8f4e78 age=1m48s have=4
2024-08-01 12:14:44 INFO [08-01|10:14:44.223] Ignoring beacon update to old head       number=0 hash=3c6b8d..8f4e78 age=2m    have=4
2024-08-01 12:14:56 INFO [08-01|10:14:56.237] Ignoring beacon update to old head       number=0 hash=3c6b8d..8f4e78 age=2m12s have=4
2024-08-01 12:15:08 INFO [08-01|10:15:08.297] Ignoring beacon update to old head       number=0 hash=3c6b8d..8f4e78 age=2m24s have=4
2024-08-01 12:15:20 INFO [08-01|10:15:20.208] Ignoring beacon update to old head       number=0 hash=3c6b8d..8f4e78 age=2m36s have=4
2024-08-01 12:15:32 INFO [08-01|10:15:32.228] Ignoring beacon update to old head       number=0 hash=3c6b8d..8f4e78 age=2m48s have=4
2024-08-01 12:15:44 INFO [08-01|10:15:44.291] Ignoring beacon update to old head       number=0 hash=3c6b8d..8f4e78 age=3m    have=4
2024-08-01 12:15:56 INFO [08-01|10:15:56.273] Ignoring beacon update to old head       number=0 hash=3c6b8d..8f4e78 age=3m12s have=4
2024-08-01 12:16:08 INFO [08-01|10:16:08.563] Ignoring beacon update to old head       number=0 hash=3c6b8d..8f4e78 age=3m24s have=4

validator:

2024-08-01 12:16:04 time="2024-08-01 10:16:04" level=info msg="Submitted new sync contribution and proof" aggregatorIndex=10 bitsCount=128 blockRoot=0xe2c59e6a62c8 prefix=validator slot=16 slotStartTime=2024-08-01 10:15:56 +0000 UTC subcommitteeIndex=1 timeSinceSlotStart=8.150238418s
2024-08-01 12:16:04 time="2024-08-01 10:16:04" level=info msg="Submitted new sync contribution and proof" aggregatorIndex=36 bitsCount=128 blockRoot=0xe2c59e6a62c8 prefix=validator slot=16 slotStartTime=2024-08-01 10:15:56 +0000 UTC subcommitteeIndex=3 timeSinceSlotStart=8.152173963s
2024-08-01 12:16:04 time="2024-08-01 10:16:04" level=info msg="Submitted new sync contribution and proof" aggregatorIndex=53 bitsCount=128 blockRoot=0xe2c59e6a62c8 prefix=validator slot=16 slotStartTime=2024-08-01 10:15:56 +0000 UTC subcommitteeIndex=2 timeSinceSlotStart=8.197258545s
2024-08-01 12:16:04 time="2024-08-01 10:16:04" level=info msg="Submitted new sync contribution and proof" aggregatorIndex=13 bitsCount=128 blockRoot=0xe2c59e6a62c8 prefix=validator slot=16 slotStartTime=2024-08-01 10:15:56 +0000 UTC subcommitteeIndex=3 timeSinceSlotStart=8.198664086s
2024-08-01 12:16:04 time="2024-08-01 10:16:04" level=info msg="Submitted new sync contribution and proof" aggregatorIndex=30 bitsCount=128 blockRoot=0xe2c59e6a62c8 prefix=validator slot=16 slotStartTime=2024-08-01 10:15:56 +0000 UTC subcommitteeIndex=0 timeSinceSlotStart=8.1987165s
2024-08-01 12:16:04 time="2024-08-01 10:16:04" level=info msg="Submitted new sync contribution and proof" aggregatorIndex=4 bitsCount=128 blockRoot=0xe2c59e6a62c8 prefix=validator slot=16 slotStartTime=2024-08-01 10:15:56 +0000 UTC subcommitteeIndex=0 timeSinceSlotStart=8.197216077s
2024-08-01 12:16:04 time="2024-08-01 10:16:04" level=info msg="Submitted new sync contribution and proof" aggregatorIndex=52 bitsCount=128 blockRoot=0xe2c59e6a62c8 prefix=validator slot=16 slotStartTime=2024-08-01 10:15:56 +0000 UTC subcommitteeIndex=3 timeSinceSlotStart=8.200038784s
2024-08-01 12:16:04 time="2024-08-01 10:16:04" level=info msg="Submitted new sync contribution and proof" aggregatorIndex=21 bitsCount=128 blockRoot=0xe2c59e6a62c8 prefix=validator slot=16 slotStartTime=2024-08-01 10:15:56 +0000 UTC subcommitteeIndex=2 timeSinceSlotStart=8.200085016s
2024-08-01 12:16:04 time="2024-08-01 10:16:04" level=info msg="Submitted new sync contribution and proof" aggregatorIndex=57 bitsCount=128 blockRoot=0xe2c59e6a62c8 prefix=validator slot=16 slotStartTime=2024-08-01 10:15:56 +0000 UTC subcommitteeIndex=3 timeSinceSlotStart=8.200110836s
2024-08-01 12:16:04 time="2024-08-01 10:16:04" level=info msg="Submitted new sync contribution and proof" aggregatorIndex=7 bitsCount=128 blockRoot=0xe2c59e6a62c8 prefix=validator slot=16 slotStartTime=2024-08-01 10:15:56 +0000 UTC subcommitteeIndex=2 timeSinceSlotStart=8.200131838s
2024-08-01 12:16:04 time="2024-08-01 10:16:04" level=info msg="Submitted new sync contribution and proof" aggregatorIndex=26 bitsCount=128 blockRoot=0xe2c59e6a62c8 prefix=validator slot=16 slotStartTime=2024-08-01 10:15:56 +0000 UTC subcommitteeIndex=2 timeSinceSlotStart=8.200154891s
2024-08-01 12:16:04 time="2024-08-01 10:16:04" level=info msg="Submitted new sync contribution and proof" aggregatorIndex=27 bitsCount=128 blockRoot=0xe2c59e6a62c8 prefix=validator slot=16 slotStartTime=2024-08-01 10:15:56 +0000 UTC subcommitteeIndex=2 timeSinceSlotStart=8.200174679s
2024-08-01 12:16:04 time="2024-08-01 10:16:04" level=info msg="Submitted new sync contribution and proof" aggregatorIndex=41 bitsCount=128 blockRoot=0xe2c59e6a62c8 prefix=validator slot=16 slotStartTime=2024-08-01 10:15:56 +0000 UTC subcommitteeIndex=0 timeSinceSlotStart=8.200193673s
2024-08-01 12:16:04 time="2024-08-01 10:16:04" level=info msg="Submitted new sync contribution and proof" aggregatorIndex=19 bitsCount=128 blockRoot=0xe2c59e6a62c8 prefix=validator slot=16 slotStartTime=2024-08-01 10:15:56 +0000 UTC subcommitteeIndex=2 timeSinceSlotStart=8.200242799s
2024-08-01 12:16:04 time="2024-08-01 10:16:04" level=info msg="Submitted new sync contribution and proof" aggregatorIndex=11 bitsCount=128 blockRoot=0xe2c59e6a62c8 prefix=validator slot=16 slotStartTime=2024-08-01 10:15:56 +0000 UTC subcommitteeIndex=3 timeSinceSlotStart=8.200627415s
2024-08-01 12:16:04 time="2024-08-01 10:16:04" level=info msg="Submitted new sync contribution and proof" aggregatorIndex=24 bitsCount=128 blockRoot=0xe2c59e6a62c8 prefix=validator slot=16 slotStartTime=2024-08-01 10:15:56 +0000 UTC subcommitteeIndex=2 timeSinceSlotStart=8.201468752s
2024-08-01 12:16:04 time="2024-08-01 10:16:04" level=info msg="Submitted new sync contribution and proof" aggregatorIndex=23 bitsCount=128 blockRoot=0xe2c59e6a62c8 prefix=validator slot=16 slotStartTime=2024-08-01 10:15:56 +0000 UTC subcommitteeIndex=3 timeSinceSlotStart=8.20527321s
2024-08-01 12:16:04 time="2024-08-01 10:16:04" level=info msg="Submitted new sync contribution and proof" aggregatorIndex=35 bitsCount=128 blockRoot=0xe2c59e6a62c8 prefix=validator slot=16 slotStartTime=2024-08-01 10:15:56 +0000 UTC subcommitteeIndex=0 timeSinceSlotStart=8.207922973s
2024-08-01 12:16:04 time="2024-08-01 10:16:04" level=info msg="Submitted new sync contribution and proof" aggregatorIndex=4 bitsCount=128 blockRoot=0xe2c59e6a62c8 prefix=validator slot=16 slotStartTime=2024-08-01 10:15:56 +0000 UTC subcommitteeIndex=2 timeSinceSlotStart=8.217745009s
2024-08-01 12:16:04 time="2024-08-01 10:16:04" level=info msg="Submitted new sync contribution and proof" aggregatorIndex=35 bitsCount=128 blockRoot=0xe2c59e6a62c8 prefix=validator slot=16 slotStartTime=2024-08-01 10:15:56 +0000 UTC subcommitteeIndex=2 timeSinceSlotStart=8.222992142s
2024-08-01 12:16:04 time="2024-08-01 10:16:04" level=info msg="Submitted new sync contribution and proof" aggregatorIndex=4 bitsCount=128 blockRoot=0xe2c59e6a62c8 prefix=validator slot=16 slotStartTime=2024-08-01 10:15:56 +0000 UTC subcommitteeIndex=2 timeSinceSlotStart=8.231331409s
2024-08-01 12:16:04 time="2024-08-01 10:16:04" level=info msg="Submitted new sync contribution and proof" aggregatorIndex=35 bitsCount=128 blockRoot=0xe2c59e6a62c8 prefix=validator slot=16 slotStartTime=2024-08-01 10:15:56 +0000 UTC subcommitteeIndex=2 timeSinceSlotStart=8.237511796s
2024-08-01 12:16:04 time="2024-08-01 10:16:04" level=info msg="Submitted new sync contribution and proof" aggregatorIndex=35 bitsCount=128 blockRoot=0xe2c59e6a62c8 prefix=validator slot=16 slotStartTime=2024-08-01 10:15:56 +0000 UTC subcommitteeIndex=3 timeSinceSlotStart=8.251014384s
2024-08-01 12:16:04 time="2024-08-01 10:16:04" level=info msg="Submitted new sync contribution and proof" aggregatorIndex=35 bitsCount=128 blockRoot=0xe2c59e6a62c8 prefix=validator slot=16 slotStartTime=2024-08-01 10:15:56 +0000 UTC subcommitteeIndex=3 timeSinceSlotStart=8.262636818s
2024-08-01 12:16:04 time="2024-08-01 10:16:04" level=info msg="Submitted new attestations" AggregatorIndices=[29] AttesterIndices=[46 20 55 63 29 18 23 15 37 44 56] BeaconBlockRoot=0xe2c59e6a62c8 CommitteeIndex=0 Slot=16 SourceEpoch=0 SourceRoot=0x000000000000 TargetEpoch=2 TargetRoot=0xe2c59e6a62c8 prefix=validator

Steps to resolve

What I'd like to do is to modify the docker-compose.yml file in order to add couple of "beacon-chain"s more. In this way if one of them goes down there are others to follow the chain. Unfortunatly I'm a newbie with Docker and I cannot set it up.
Can someone trying to help me in that, or at least, tell me if it is a possible configuration?

How to Stake with that contract?

"The network launches with a Validator Deposit Contract deployed at address 0x4242424242424242424242424242424242424242. This can be used to onboard new validators into the network by depositing 32 ETH into the contract"
Where could I get deposit contract details.....

I just want to add validator by staking(maybe deposit to contract), but I can't find the detail process of that...

Could I get any contract method detail for deposit and withdraw???

signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x2d0503f

Hello,
After running:

docker compose up

I get the error:

$ docker compose -f docker-compose.yml up
[+] Running 6/6
 ✔ Network eth-pos-devnet_default                          Created                                                                                                                                                                                                                                                      0.8s 
 ✔ Container eth-pos-devnet-create-beacon-chain-genesis-1  Created                                                                                                                                                                                                                                                      0.8s 
 ✔ Container eth-pos-devnet-geth-genesis-1                 Created                                                                                                                                                                                                                                                      1.0s 
 ✔ Container eth-pos-devnet-beacon-chain-1                 Created                                                                                                                                                                                                                                                      1.0s 
 ✔ Container eth-pos-devnet-validator-1                    Created                                                                                                                                                                                                                                                      0.8s 
 ✔ Container eth-pos-devnet-geth-1                         Created                                                                                                                                                                                                                                                      0.8s 
Attaching to eth-pos-devnet-beacon-chain-1, eth-pos-devnet-create-beacon-chain-genesis-1, eth-pos-devnet-geth-1, eth-pos-devnet-geth-genesis-1, eth-pos-devnet-validator-1
eth-pos-devnet-create-beacon-chain-genesis-1  | time="2023-10-20T21:47:51Z" level=info msg="Specified a chain config file: /consensus/config.yml" prefix=genesis
eth-pos-devnet-create-beacon-chain-genesis-1  | time="2023-10-20T21:47:51Z" level=info msg="No genesis time specified, defaulting to now()" prefix=genesis
eth-pos-devnet-create-beacon-chain-genesis-1  | time="2023-10-20T21:47:51Z" level=info msg="Delaying genesis 1697838471 by 15 seconds" prefix=genesis
eth-pos-devnet-create-beacon-chain-genesis-1  | time="2023-10-20T21:47:51Z" level=info msg="Genesis is now 1697838486" prefix=genesis
eth-pos-devnet-create-beacon-chain-genesis-1  | panic: runtime error: invalid memory address or nil pointer dereference
eth-pos-devnet-create-beacon-chain-genesis-1  | [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x2d0503f]
eth-pos-devnet-create-beacon-chain-genesis-1  | 
eth-pos-devnet-create-beacon-chain-genesis-1  | goroutine 1 [running]:
eth-pos-devnet-create-beacon-chain-genesis-1  | github.com/prysmaticlabs/prysm/v4/cmd/prysmctl/testnet.generateGenesis({0xcfacd0, 0xc000128000})
eth-pos-devnet-create-beacon-chain-genesis-1  | 	cmd/prysmctl/testnet/generate_genesis.go:279 +0x6ff
eth-pos-devnet-create-beacon-chain-genesis-1  | github.com/prysmaticlabs/prysm/v4/cmd/prysmctl/testnet.cliActionGenerateGenesisState(0xc000110bc0)
eth-pos-devnet-create-beacon-chain-genesis-1  | 	cmd/prysmctl/testnet/generate_genesis.go:179 +0x1c9
eth-pos-devnet-create-beacon-chain-genesis-1  | github.com/prysmaticlabs/prysm/v4/cmd/prysmctl/testnet.glob..func1(0x2fad200?)
eth-pos-devnet-create-beacon-chain-genesis-1  | 	cmd/prysmctl/testnet/generate_genesis.go:70 +0x2e
eth-pos-devnet-create-beacon-chain-genesis-1  | github.com/urfave/cli/v2.(*Command).Run(0x2fad200, 0xc000110bc0, {0xc00063a400, 0x8, 0x8})
eth-pos-devnet-create-beacon-chain-genesis-1  | 	external/com_github_urfave_cli_v2/command.go:274 +0x9eb
eth-pos-devnet-create-beacon-chain-genesis-1  | github.com/urfave/cli/v2.(*Command).Run(0x2fad0a0, 0xc000110b00, {0xc0002fc090, 0x9, 0x9})
eth-pos-devnet-create-beacon-chain-genesis-1  | 	external/com_github_urfave_cli_v2/command.go:267 +0xc4d
eth-pos-devnet-create-beacon-chain-genesis-1  | github.com/urfave/cli/v2.(*Command).Run(0xc0000cf4a0, 0xc000110a40, {0xc000126000, 0xa, 0xa})
eth-pos-devnet-create-beacon-chain-genesis-1  | 	external/com_github_urfave_cli_v2/command.go:267 +0xc4d
eth-pos-devnet-create-beacon-chain-genesis-1  | github.com/urfave/cli/v2.(*App).RunContext(0xc0002f2000, {0xcfacd0?, 0xc000128000}, {0xc000126000, 0xa, 0xa})
eth-pos-devnet-create-beacon-chain-genesis-1  | 	external/com_github_urfave_cli_v2/app.go:332 +0x616
eth-pos-devnet-create-beacon-chain-genesis-1  | github.com/urfave/cli/v2.(*App).Run(...)
eth-pos-devnet-create-beacon-chain-genesis-1  | 	external/com_github_urfave_cli_v2/app.go:309
eth-pos-devnet-create-beacon-chain-genesis-1  | main.main()
eth-pos-devnet-create-beacon-chain-genesis-1  | 	cmd/prysmctl/main.go:23 +0x8e
service "create-beacon-chain-genesis" didn't complete successfully: exit 2

Validator status never change to "PENDING", "ACTIVATED"

I need some expert opinion from someone who has run multiple nodes in devnet, @nisdas if you could help...

Currently I am able to run 2 nodes side by side
Node 1: Geth + Beacon + Interop validators
Node 2: Geth + Beacon

Command that I used

// for geth
./geth --port 30303 --networkid 142536
--http --http.api eth,net,web3,engine,admin --http.addr "0.0.0.0" 
--http.port 8545 --http.corsdomain "*" --http.vhosts "*" 
--ws --ws.api eth,net,web3,engine,admin --ws.addr "0.0.0.0" 
--ws.port 8546 --authrpc.jwtsecret jwt.hex --datadir gethdata 
--syncmode full --allow-insecure-unlock 
--unlock 0x31ff8fb7745a55e77513c8d87c2a502e75c05ab0

// for beacon-chain
./beacon-chain --datadir beacondata --min-sync-peers 0 
--genesis-state genesis.ssz --bootstrap-node= 
--interop-eth1data-votes --chain-config-file config.yml 
--contract-deployment-block 0 --chain-id 142536 
--accept-terms-of-use --jwt-secret jwt.hex 
--suggested-fee-recipient 0x31ff8fb7745a55e77513c8d87c2a502e75c05ab0 
--minimum-peers-per-subnet 0 --enable-debug-rpc-endpoints 
--execution-endpoint kpudata/geth.ipc

Then I deposit 32 ETH 4 times to deposit contract to make new validators(4) for Node 2

After 4000 blocks validator states are still "DEPOSITED"
Terminal Logs

hun@node3:~/ether-dev$ ./validator --wallet-dir=validator_keys --suggested-fee-recipient=0xd088a8031953a777b065976b7cc3a0d381c097cc --datadir validatordata --beacon-rpc-provider 127.0.0.1:4000 --accept-terms-of-use
[2024-02-07 11:44:25]  WARN flags: Running on the Ethereum Beacon Chain Testnet
initializeFromCLI asking for wallet
Wallet password: 
[2024-02-07 11:44:31]  INFO node: Opened validator wallet keymanager-kind=direct wallet=/home/hun/ether-dev/validator_keys/direct
[2024-02-07 11:44:31]  INFO node: Checking DB databasePath=validatordata
Adding optimizations for validator slashing protection 100% [================================================]  [0s:0s]
[2024-02-07 11:44:31]  WARN node: Fee recipient 0xd088a8031953a777b065976b7cc3a0d381c097cc is not a checksum Ethereum address. The checksummed address is 0xd088a8031953a777B065976B7Cc3A0D381c097cc and will be used as the fee recipient. We recommend using a mixed-case address (checksum) to prevent spelling mistakes in your fee recipient Ethereum address
[2024-02-07 11:44:31]  WARN validator: You are using an insecure gRPC connection. If you are running your beacon node and validator on the same machines, you can ignore this message. If you want to know how to enable secure connections, see: https://docs.prylabs.network/docs/prysm-usage/secure-grpc
[2024-02-07 11:44:31]  INFO node: Starting validator node version=Prysm/Unknown/Local build. Built at: Moments ago
[2024-02-07 11:44:31]  INFO validator: Syncing with beacon node to align on chain genesis info
[2024-02-07 11:44:31]  INFO validator: Beacon chain started genesisTime=2024-02-07 06:46:37 +0000 UTC
[2024-02-07 11:44:31]  INFO validator: Validating for public key publicKey=0x8afbc6426659
[2024-02-07 11:44:31]  INFO validator: Validating for public key publicKey=0x801338c87c27
[2024-02-07 11:44:31]  INFO validator: Validating for public key publicKey=0xa7b18597de54
[2024-02-07 11:44:31]  INFO validator: Validating for public key publicKey=0xaf4076db6858
(Logs Under the "Validating for public key" log are what I added to check the status in every loop.)
status.publicKey :  [138 251 198 66 102 89 89 160 27 84 247 87 14 192 24 40 143 126 30 232 82 191 133 143 35 113 51 98 185 41 183 132 76 49 225 252 111 124 37 143 253 22 9 173 198 242 106 52]
status.status.Status.String() :  DEPOSITED
status.status.Status.String() :  DEPOSITED
status.status.Status.String() :  DEPOSITED
status.status.Status.String() :  DEPOSITED

I follow steps which is on Prsym website(https://docs.prylabs.network/docs/advanced/proof-of-stake-devnet)

  1. Do you think is it possible to add validator to the Devnet?
  2. Then how many time do I need to wait? become a validator?
  3. I saw some issue(#30 (comment)) which looks on same problem, do you think is it a way to reduce time to be a validator?

Or did I miss some option in commands?
Appreciate your help @nisdas

Error:forkChoiceUpdateV1 called post-shanghai

environment

  • apple M1 pro
  • docker (rosetta2)
  • gcr.io/prysmaticlabs/prysm/beacon-chain:stable (or latest)
  • gcr.io/prysmaticlabs/prysm/validator:stable (or latest )
  • gcr.io/prysmaticlabs/prysm/cmd/prysmctl:latest
  • ethereum/client-go:stable

I'm trying to configure devnet, but I'm getting the error below.
Both latest and stable are giving the same error.

Geth log

023-04-30 09:54:56 INFO [04-30|05:54:56.742] Starting Geth on Ethereum mainnet...
2023-04-30 09:54:56 INFO [04-30|05:54:56.742] Bumping default cache on mainnet provided=1024 updated=4096
2023-04-30 09:54:56 INFO [04-30|05:54:56.744] Maximum peer count ETH=50 LES=0 total=50
2023-04-30 09:54:56 INFO [04-30|05:54:56.744] Smartcard socket not found, disabling err="stat /run/pcscd/pcscd.comm: no such file or directory"
2023-04-30 09:54:56 WARN [04-30|05:54:56.763] Sanitizing cache to Go's GC limits provided=4096 updated=2617
2023-04-30 09:54:56 INFO [04-30|05:54:56.763] Set global gas cap cap=50,000,000
2023-04-30 09:54:56 INFO [04-30|05:54:56.764] Allocated trie memory caches clean=392.00MiB dirty=654.00MiB
2023-04-30 09:54:56 INFO [04-30|05:54:56.769] Using leveldb as the backing database
2023-04-30 09:54:56 INFO [04-30|05:54:56.770] Allocated cache and file handles database=/execution/geth/chaindata cache=1.28GiB handles=524,288
2023-04-30 09:54:56 INFO [04-30|05:54:56.808] Using LevelDB as the backing database
2023-04-30 09:54:56 INFO [04-30|05:54:56.823] Opened ancient database database=/execution/geth/chaindata/ancient/chain readonly=false
2023-04-30 09:54:56 INFO [04-30|05:54:56.843] Initialising Ethereum protocol network=1 dbversion=
2023-04-30 09:54:56 INFO [04-30|05:54:56.845]
2023-04-30 09:54:56 INFO [04-30|05:54:56.845] ---------------------------------------------------------------------------------------------------------------------------------------------------------
2023-04-30 09:54:56 INFO [04-30|05:54:56.845] Chain ID: 32382 (unknown)
2023-04-30 09:54:56 INFO [04-30|05:54:56.845] Consensus: Beacon (proof-of-stake), merging from Clique (proof-of-authority)
2023-04-30 09:54:56 INFO [04-30|05:54:56.845]
2023-04-30 09:54:56 INFO [04-30|05:54:56.845] Pre-Merge hard forks (block based):
2023-04-30 09:54:56 INFO [04-30|05:54:56.845] - Homestead: #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/homestead.md)
2023-04-30 09:54:56 INFO [04-30|05:54:56.845] - Tangerine Whistle (EIP 150): #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/tangerine-whistle.md)
2023-04-30 09:54:56 INFO [04-30|05:54:56.845] - Spurious Dragon/1 (EIP 155): #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/spurious-dragon.md)
2023-04-30 09:54:56 INFO [04-30|05:54:56.845] - Spurious Dragon/2 (EIP 158): #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/spurious-dragon.md)
2023-04-30 09:54:56 INFO [04-30|05:54:56.845] - Byzantium: #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/byzantium.md)
2023-04-30 09:54:56 INFO [04-30|05:54:56.845] - Constantinople: #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/constantinople.md)
2023-04-30 09:54:56 INFO [04-30|05:54:56.845] - Petersburg: #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/petersburg.md)
2023-04-30 09:54:56 INFO [04-30|05:54:56.845] - Istanbul: #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/istanbul.md)
2023-04-30 09:54:56 INFO [04-30|05:54:56.845] - Muir Glacier: #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/muir-glacier.md)
2023-04-30 09:54:56 INFO [04-30|05:54:56.845] - Berlin: #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/berlin.md)
2023-04-30 09:54:56 INFO [04-30|05:54:56.845] - London: #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/london.md)
2023-04-30 09:54:56 INFO [04-30|05:54:56.845] - Arrow Glacier: #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/arrow-glacier.md)
2023-04-30 09:54:56 INFO [04-30|05:54:56.845] - Gray Glacier: #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/gray-glacier.md)
2023-04-30 09:54:56 INFO [04-30|05:54:56.845]
2023-04-30 09:54:56 INFO [04-30|05:54:56.845] Merge configured:
2023-04-30 09:54:56 INFO [04-30|05:54:56.845] - Hard-fork specification: https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/paris.md
2023-04-30 09:54:56 INFO [04-30|05:54:56.845] - Network known to be merged: false
2023-04-30 09:54:56 INFO [04-30|05:54:56.845] - Total terminal difficulty: 0
2023-04-30 09:54:56 INFO [04-30|05:54:56.845]
2023-04-30 09:54:56 INFO [04-30|05:54:56.845] Post-Merge hard forks (timestamp based):
2023-04-30 09:54:56 INFO [04-30|05:54:56.845] - Shanghai: @1681499865 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/shanghai.md)
2023-04-30 09:54:56 INFO [04-30|05:54:56.845]
2023-04-30 09:54:56 INFO [04-30|05:54:56.845] ---------------------------------------------------------------------------------------------------------------------------------------------------------
2023-04-30 09:54:56 INFO [04-30|05:54:56.845]
2023-04-30 09:54:56 INFO [04-30|05:54:56.845] Loaded most recent local block number=0 hash=18d31f..572037 td=1 age=2w1d10h
2023-04-30 09:54:56 WARN [04-30|05:54:56.845] Failed to load snapshot err="missing or corrupted snapshot"
2023-04-30 09:54:56 INFO [04-30|05:54:56.846] Rebuilding state snapshot
2023-04-30 09:54:56 INFO [04-30|05:54:56.848] Resuming state snapshot generation root=815538..801014 accounts=0 slots=0 storage=0.00B dangling=0 elapsed=1.398ms
2023-04-30 09:54:56 INFO [04-30|05:54:56.849] Generated state snapshot accounts=23 slots=0 storage=1.10KiB dangling=0 elapsed=2.662ms
2023-04-30 09:54:56 INFO [04-30|05:54:56.854] Regenerated local transaction journal transactions=0 accounts=0
2023-04-30 09:54:56 INFO [04-30|05:54:56.854] Chain post-TTD, sync via beacon client
2023-04-30 09:54:56 INFO [04-30|05:54:56.855] Gasprice oracle is ignoring threshold set threshold=2
2023-04-30 09:54:56 WARN [04-30|05:54:56.856] Error reading unclean shutdown markers error="leveldb: not found"
2023-04-30 09:54:56 WARN [04-30|05:54:56.856] Engine API enabled protocol=eth
2023-04-30 09:54:56 INFO [04-30|05:54:56.857] Starting peer-to-peer node instance=Geth/v1.11.6-stable-ea9e62ca/linux-arm64/go1.20.3
2023-04-30 09:54:56 INFO [04-30|05:54:56.880] New local node record seq=1,682,834,096,877 id=e89343fca61b559e ip=127.0.0.1 udp=0 tcp=30303
2023-04-30 09:54:56 INFO [04-30|05:54:56.880] Started P2P networking self="enode://11129a76596760d213c36cdc45267d04675c637424f0870493fa09e83ce47fe9f213689e1140c8018597cd182fc8d57e92e44e7deb35f171a97f4c5a3209a0ce@127.0.0.1:30303?discport=0"
2023-04-30 09:54:56 INFO [04-30|05:54:56.882] IPC endpoint opened url=/execution/geth.ipc
2023-04-30 09:54:56 INFO [04-30|05:54:56.883] Loaded JWT secret file path=/execution/jwtsecret crc32=0xb3e8e920
2023-04-30 09:54:56 INFO [04-30|05:54:56.883] HTTP server started endpoint=[::]:8545 auth=false prefix= cors= vhosts=localhost
2023-04-30 09:54:56 INFO [04-30|05:54:56.883] WebSocket enabled url=ws://[::]:8551
2023-04-30 09:54:56 INFO [04-30|05:54:56.883] HTTP server started endpoint=[::]:8551 auth=true prefix= cors=localhost vhosts=*
2023-04-30 09:54:57 INFO [04-30|05:54:57.654] Unlocked account address=0x123463a4B065722E99115D6c222f267d9cABb524
2023-04-30 09:55:08 WARN [04-30|05:55:08.500] Served engine_forkchoiceUpdatedV1 conn=172.30.0.3:41618 reqid=2 duration="141.334µs" err="Invalid parameters" errdata="{Error:forkChoiceUpdateV1 called post-shanghai}"
2023-04-30 09:55:20 WARN [04-30|05:55:20.374] Served engine_forkchoiceUpdatedV1 conn=172.30.0.3:34324 reqid=7 duration="84.958µs" err="Invalid parameters" errdata="{Error:forkChoiceUpdateV1 called post-shanghai}"
2023-04-30 09:55:32 WARN [04-30|05:55:32.312] Served engine_forkchoiceUpdatedV1 conn=172.30.0.3:34324 reqid=5 duration="48.667µs" err="Invalid parameters" errdata="{Error:forkChoiceUpdateV1 called post-shanghai}"
2023-04-30 09:55:44 WARN [04-30|05:55:44.333] Served engine_forkchoiceUpdatedV1 conn=172.30.0.3:34324 reqid=5 duration="123.917µs" err="Invalid parameters" errdata="{Error:forkChoiceUpdateV1 called post-shanghai}"
2023-04-30 09:55:56 WARN [04-30|05:55:56.344] Served engine_forkchoiceUpdatedV1 conn=172.30.0.3:34324 reqid=7 duration="47.583µs" err="Invalid parameters" errdata="{Error:forkChoiceUpdateV1 called post-shanghai}"
2023-04-30 09:56:08 WARN [04-30|05:56:08.408] Served engine_forkchoiceUpdatedV1 conn=172.30.0.3:34324 reqid=6 duration="71.959µs" err="Invalid parameters" errdata="{Error:forkChoiceUpdateV1 called post-shanghai}"
2023-04-30 09:56:20 WARN [04-30|05:56:20.454] Served engine_forkchoiceUpdatedV1 conn=172.30.0.3:34324 reqid=5 duration="66.417µs" err="Invalid parameters" errdata="{Error:forkChoiceUpdateV1 called post-shanghai}"
2023-04-30 09:56:32 WARN [04-30|05:56:32.320] Served engine_forkchoiceUpdatedV1 conn=172.30.0.3:34324 reqid=5 duration="50.666µs" err="Invalid parameters" errdata="{Error:forkChoiceUpdateV1 called post-shanghai}"
2023-04-30 09:56:44 WARN [04-30|05:56:44.304] Served engine_forkchoiceUpdatedV1 conn=172.30.0.3:34324 reqid=5 duration="99.792µs" err="Invalid parameters" errdata="{Error:forkChoiceUpdateV1 called post-shanghai}"
2023-04-30 09:56:56 WARN [04-30|05:56:56.348] Served engine_forkchoiceUpdatedV1 conn=172.30.0.3:34324 reqid=7 duration="77.625µs" err="Invalid parameters" errdata="{Error:forkChoiceUpdateV1 called post-shanghai}"
2023-04-30 09:57:08 WARN [04-30|05:57:08.313] Served engine_forkchoiceUpdatedV1 conn=172.30.0.3:34324 reqid=6 duration="76.125µs" err="Invalid parameters" errdata="{Error:forkChoiceUpdateV1 called post-shanghai}"
2023-04-30 09:57:20 WARN [04-30|05:57:20.452] Forkchoice requested unknown head hash=ef0919..61c10b
2023-04-30 09:57:32 WARN [04-30|05:57:32.457] Forkchoice requested unknown head hash=ef0919..61c10b
2023-04-30 09:57:44 WARN [04-30|05:57:44.318] Forkchoice requested unknown head hash=ef0919..61c10b
2023-04-30 09:57:56 WARN [04-30|05:57:56.338] Forkchoice requested unknown head hash=ef0919..61c10b
2023-04-30 09:58:08 WARN [04-30|05:58:08.364] Forkchoice requested unknown head hash=ef0919..61c10b
2023-04-30 09:58:20 WARN [04-30|05:58:20.326] Forkchoice requested unknown head hash=ef0919..61c10b

prysm log
2023-04-30 09:54:57 time="2023-04-30 05:54:57" level=info msg="Finished reading JWT secret from /execution/jwtsecret"
2023-04-30 09:54:57 time="2023-04-30 05:54:57" level=warning msg="Running on custom Ethereum network specified in a chain configuration yaml file" prefix=flags
2023-04-30 09:54:57 time="2023-04-30 05:54:57" level=warning msg="Fee recipient 0x123463a4b065722e99115d6c222f267d9cabb524 is not a checksum Ethereum address. The checksummed address is 0x123463a4B065722E99115D6c222f267d9cABb524 and will be used as the fee recipient. We recommend using a mixed-case address (checksum) to prevent spelling mistakes in your fee recipient Ethereum address" prefix=node
2023-04-30 09:54:57 time="2023-04-30 05:54:57" level=info msg="Default fee recipient is set to 0x123463a4B065722E99115D6c222f267d9cABb524, recipient may be overwritten from validator client and persist in db. Default fee recipient will be used as a fall back" prefix=node
2023-04-30 09:54:57 time="2023-04-30 05:54:57" level=info msg="Checking DB" database-path="/consensus/beacondata/beaconchaindata" prefix=node
2023-04-30 09:54:57 time="2023-04-30 05:54:57" level=info msg="Opening Bolt DB at /consensus/beacondata/beaconchaindata/beaconchain.db" prefix=db
2023-04-30 09:54:58 time="2023-04-30 05:54:58" level=info msg="Deposit contract: 0x4242424242424242424242424242424242424242" prefix=node
2023-04-30 09:54:58 time="2023-04-30 05:54:58" level=warning msg="No bootstrap addresses supplied" prefix=p2p
2023-04-30 09:54:58 time="2023-04-30 05:54:58" level=info msg="Running node with peer id of 16Uiu2HAmK1MqBuLx3gZxkcGjsym2kGmARhDEzv3rTKtVYWX4coxP " prefix=p2p
2023-04-30 09:54:58 time="2023-04-30 05:54:58" level=info msg="Waiting for state to be initialized" prefix=initial-sync
2023-04-30 09:54:58 time="2023-04-30 05:54:58" level=info msg="gRPC server listening on port" address="0.0.0.0:4000" prefix=rpc
2023-04-30 09:54:58 time="2023-04-30 05:54:58" level=warning msg="You are using an insecure gRPC server. If you are running your beacon node and validator on the same machines, you can ignore this message. If you want to know how to enable secure connections, see: https://docs.prylabs.network/docs/prysm-usage/secure-grpc" prefix=rpc
2023-04-30 09:54:58 time="2023-04-30 05:54:58" level=info msg="Starting beacon node" prefix=node version="Prysm/v4.0.3/f4681fde1946a86c5d33c389564241c7ca0e9c2f. Built at: 2023-04-20 18:05:47+00:00"
2023-04-30 09:54:58 time="2023-04-30 05:54:58" level=info msg="Blockchain data already exists in DB, initializing..." prefix=blockchain
2023-04-30 09:54:58 time="2023-04-30 05:54:58" level=info msg="Starting API middleware" prefix=gateway
2023-04-30 09:54:58 time="2023-04-30 05:54:58" level=info msg="Starting gRPC gateway" address="0.0.0.0:3500" prefix=gateway
2023-04-30 09:54:58 time="2023-04-30 05:54:58" level=info msg="Chain started within the last epoch - not syncing" genesisTime=2023-04-30 05:54:56 +0000 UTC prefix=initial-sync
2023-04-30 09:54:58 time="2023-04-30 05:54:58" level=error msg="could not process new slot" error="0x0000000000000000000000000000000000000000000000000000000000000000: unknown finalized root" prefix=blockchain
2023-04-30 09:54:58 time="2023-04-30 05:54:58" level=info msg="Subscribed to topic" prefix=sync topic="/eth2/8c910628/beacon_block/ssz_snappy"
2023-04-30 09:54:58 time="2023-04-30 05:54:58" level=info msg="Subscribed to topic" prefix=sync topic="/eth2/8c910628/beacon_aggregate_and_proof/ssz_snappy"
2023-04-30 09:54:58 time="2023-04-30 05:54:58" level=info msg="Subscribed to topic" prefix=sync topic="/eth2/8c910628/voluntary_exit/ssz_snappy"
2023-04-30 09:54:58 time="2023-04-30 05:54:58" level=info msg="Subscribed to topic" prefix=sync topic="/eth2/8c910628/proposer_slashing/ssz_snappy"
2023-04-30 09:54:58 time="2023-04-30 05:54:58" level=info msg="Subscribed to topic" prefix=sync topic="/eth2/8c910628/attester_slashing/ssz_snappy"
2023-04-30 09:54:58 time="2023-04-30 05:54:58" level=info msg="Subscribed to topic" prefix=sync topic="/eth2/8c910628/sync_committee_contribution_and_proof/ssz_snappy"
2023-04-30 09:54:58 time="2023-04-30 05:54:58" level=info msg="Started discovery v5" ENR="enr:-MK4QJ61YRKwoHXFC8T6asRexaQXtC1JLkM52KVQVYxqICkwX1D4f1i_u4Mh4jhaCxWOR_3L1ejLASGbAcr0T30wnfeGAYfQuojKh2F0dG5ldHOIAAAAAAAAAACEZXRoMpCMkQYoIAAAkgIAAAAAAAAAgmlkgnY0gmlwhKweAAOJc2VjcDI1NmsxoQNeXgbCQNmwaPr7GNWPf6j77es1vgrPX0jxLf5tTtF5LIhzeW5jbmV0cwCDdGNwgjLIg3VkcIIu4A" prefix=p2p
2023-04-30 09:54:58 time="2023-04-30 05:54:58" level=info msg="Node started p2p server" multiAddr="/ip4/172.30.0.3/tcp/13000/p2p/16Uiu2HAmK1MqBuLx3gZxkcGjsym2kGmARhDEzv3rTKtVYWX4coxP" prefix=p2p
2023-04-30 09:55:00 time="2023-04-30 05:55:00" level=info msg="gRPC client connected to beacon node" addr="172.30.0.4:48370" prefix=rpc
2023-04-30 09:55:08 time="2023-04-30 05:55:08" level=info msg="Subscribed to topic" prefix=sync topic="/eth2/8c910628/sync_committee_0/ssz_snappy"
2023-04-30 09:55:08 time="2023-04-30 05:55:08" level=warning msg="numPerSlot is 0, skipping initializing topic scoring" prefix=p2p
2023-04-30 09:55:08 time="2023-04-30 05:55:08" level=info msg="Subscribed to topic" prefix=sync topic="/eth2/8c910628/beacon_attestation_39/ssz_snappy"
2023-04-30 09:55:08 time="2023-04-30 05:55:08" level=warning msg="Beacon Node is no longer connected to an ETH1 chain, so ETH1 data votes are now mocked." prefix="rpc/validator"
2023-04-30 09:55:08 time="2023-04-30 05:55:08" level=error msg="Could not get unrealized justified payload block hash" error="invalid nil or unknown node" prefix="rpc/validator"
2023-04-30 09:55:13 time="2023-04-30 05:55:13" level=info msg="Connected to new endpoint: http://geth:8551" prefix=powchain
2023-04-30 09:55:20 time="2023-04-30 05:55:20" level=error msg="Could not get unrealized justified payload block hash" error="invalid nil or unknown node" prefix="rpc/validator"
2023-04-30 09:55:32 time="2023-04-30 05:55:32" level=error msg="Could not get unrealized justified payload block hash" error="invalid nil or unknown node" prefix="rpc/validator"
2023-04-30 09:55:44 time="2023-04-30 05:55:44" level=error msg="Could not get unrealized justified payload block hash" error="invalid nil or unknown node" prefix="rpc/validator"
2023-04-30 09:55:56 time="2023-04-30 05:55:56" level=error msg="Could not get unrealized justified payload block hash" error="invalid nil or unknown node" prefix="rpc/validator"
2023-04-30 09:55:58 time="2023-04-30 05:55:58" level=info msg="Peer summary" activePeers=0 inbound=0 outbound=0 prefix=p2p
2023-04-30 09:56:08 time="2023-04-30 05:56:08" level=error msg="could not process new slot" error="0x0000000000000000000000000000000000000000000000000000000000000000: unknown finalized root" prefix=blockchain
2023-04-30 09:56:08 time="2023-04-30 05:56:08" level=info msg="Subscribed to topic" prefix=sync topic="/eth2/5af31293/beacon_block/ssz_snappy"
2023-04-30 09:56:08 time="2023-04-30 05:56:08" level=info msg="Subscribed to topic" prefix=sync topic="/eth2/5af31293/beacon_aggregate_and_proof/ssz_snappy"
2023-04-30 09:56:08 time="2023-04-30 05:56:08" level=info msg="Subscribed to topic" prefix=sync topic="/eth2/5af31293/voluntary_exit/ssz_snappy"
2023-04-30 09:56:08 time="2023-04-30 05:56:08" level=info msg="Subscribed to topic" prefix=sync topic="/eth2/5af31293/proposer_slashing/ssz_snappy"
2023-04-30 09:56:08 time="2023-04-30 05:56:08" level=info msg="Subscribed to topic" prefix=sync topic="/eth2/5af31293/attester_slashing/ssz_snappy"
2023-04-30 09:56:08 time="2023-04-30 05:56:08" level=info msg="Subscribed to topic" prefix=sync topic="/eth2/5af31293/sync_committee_contribution_and_proof/ssz_snappy"
2023-04-30 09:56:08 time="2023-04-30 05:56:08" level=info msg="Subscribed to topic" prefix=sync topic="/eth2/5af31293/bls_to_execution_change/ssz_snappy"
2023-04-30 09:56:08 time="2023-04-30 05:56:08" level=error msg="Could not get unrealized justified payload block hash" error="invalid nil or unknown node" prefix="rpc/validator"
2023-04-30 09:56:20 time="2023-04-30 05:56:20" level=info msg="Subscribed to topic" prefix=sync topic="/eth2/5af31293/sync_committee_0/ssz_snappy"
2023-04-30 09:56:20 time="2023-04-30 05:56:20" level=warning msg="numPerSlot is 0, skipping initializing topic scoring" prefix=p2p
2023-04-30 09:56:20 time="2023-04-30 05:56:20" level=info msg="Subscribed to topic" prefix=sync topic="/eth2/5af31293/beacon_attestation_49/ssz_snappy"
2023-04-30 09:56:20 time="2023-04-30 05:56:20" level=error msg="Could not get unrealized justified payload block hash" error="invalid nil or unknown node" prefix="rpc/validator"
2023-04-30 09:56:32 time="2023-04-30 05:56:32" level=error msg="Could not get unrealized justified payload block hash" error="invalid nil or unknown node" prefix="rpc/validator"
2023-04-30 09:56:44 time="2023-04-30 05:56:44" level=error msg="Could not get unrealized justified payload block hash" error="invalid nil or unknown node" prefix="rpc/validator"
2023-04-30 09:56:56 time="2023-04-30 05:56:56" level=error msg="Could not get unrealized justified payload block hash" error="invalid nil or unknown node" prefix="rpc/validator"
2023-04-30 09:56:58 time="2023-04-30 05:56:58" level=info msg="Peer summary" activePeers=0 inbound=0 outbound=0 prefix=p2p
2023-04-30 09:57:08 time="2023-04-30 05:57:08" level=error msg="Could not get unrealized justified payload block hash" error="invalid nil or unknown node" prefix="rpc/validator"
2023-04-30 09:57:20 time="2023-04-30 05:57:20" level=error msg="could not process new slot" error="0x0000000000000000000000000000000000000000000000000000000000000000: unknown finalized root" prefix=blockchain

Cannot start mining without etherbase err="etherbase must be explicitly specified"

I am following the setup guide here.

When i try running docker-compose up -d I get this error

geth_1                         | ERROR[01-23|22:29:56.898] Cannot start mining without etherbase    err="etherbase must be explicitly specified"
geth_1                         | Fatal: Failed to start mining: etherbase missing: etherbase must be explicitly specified
geth_1                         | Fatal: Failed to start mining: etherbase missing: etherbase must be explicitly specified

What can i do to avert this? Thanks

does this work at all as of v4.0.6 and geth 1.12 ?

I follow the steps as outlined in the doc but it never work, tried both the docker approach as well as manually. it can never successfully switch to the post merge state

just stuck with this

ERROR blockchain: could not process new slot error=0x0000000000000000000000000000000000000000000000000000000000000000: unknown finalized root

and
this
ERROR powchain: Unable to retrieve proof-of-stake genesis block data error=HeaderByHash, hash=0x4ae417863ba08901ea38c159e4fd210b952312338e999b8dd065de97c93a311f: not foun

No new block is generated after the restart

Hi,
I tried to generate a stable private Ethereum PoS network for long-term test, and i am now using this project. It works well when I launch it at the first time, but after restarting(by docker-compose up -d, i deleted 2 create-genesis parts) the network, the generation of new block stop. Is there anyway to continue running the network?

Geth Log:
INFO [04-25|07:03:32.179] Starting Geth on Ethereum mainnet...
INFO [04-25|07:03:32.179] Bumping default cache on mainnet provided=1024 updated=4096
INFO [04-25|07:03:32.181] Maximum peer count ETH=50 LES=0 total=50
INFO [04-25|07:03:32.182] Smartcard socket not found, disabling err="stat /run/pcscd/pcscd.comm: no such file or directory"
INFO [04-25|07:03:32.187] Set global gas cap cap=50,000,000
INFO [04-25|07:03:32.189] Allocated trie memory caches clean=614.00MiB dirty=1024.00MiB
INFO [04-25|07:03:32.189] Using pebble as the backing database
INFO [04-25|07:03:32.189] Allocated cache and file handles database=/execution/geth/chaindata cache=2.00GiB handles=524,288
INFO [04-25|07:03:32.208] Opened ancient database database=/execution/geth/chaindata/ancient/chain readonly=false
INFO [04-25|07:03:32.208] Initialising Ethereum protocol network=1 dbversion=8
INFO [04-25|07:03:32.214]
INFO [04-25|07:03:32.214] ---------------------------------------------------------------------------------------------------------------------------------------------------------
INFO [04-25|07:03:32.214] Chain ID: 32382 (unknown)
INFO [04-25|07:03:32.214] Consensus: Beacon (proof-of-stake), merging from Clique (proof-of-authority)
INFO [04-25|07:03:32.215]
INFO [04-25|07:03:32.215] Pre-Merge hard forks (block based):
INFO [04-25|07:03:32.215] - Homestead: #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/homestead.md)
INFO [04-25|07:03:32.215] - Tangerine Whistle (EIP 150): #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/tangerine-whistle.md)
INFO [04-25|07:03:32.215] - Spurious Dragon/1 (EIP 155): #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/spurious-dragon.md)
INFO [04-25|07:03:32.215] - Spurious Dragon/2 (EIP 158): #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/spurious-dragon.md)
INFO [04-25|07:03:32.215] - Byzantium: #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/byzantium.md)
INFO [04-25|07:03:32.215] - Constantinople: #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/constantinople.md)
INFO [04-25|07:03:32.215] - Petersburg: #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/petersburg.md)
INFO [04-25|07:03:32.215] - Istanbul: #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/istanbul.md)
INFO [04-25|07:03:32.215] - Muir Glacier: #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/muir-glacier.md)
INFO [04-25|07:03:32.215] - Berlin: #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/berlin.md)
INFO [04-25|07:03:32.215] - London: #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/london.md)
INFO [04-25|07:03:32.215] - Arrow Glacier: #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/arrow-glacier.md)
INFO [04-25|07:03:32.215] - Gray Glacier: #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/gray-glacier.md)
INFO [04-25|07:03:32.215]
INFO [04-25|07:03:32.215] Merge configured:
INFO [04-25|07:03:32.215] - Hard-fork specification: https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/paris.md
INFO [04-25|07:03:32.215] - Network known to be merged: false
INFO [04-25|07:03:32.215] - Total terminal difficulty: 0
INFO [04-25|07:03:32.215]
INFO [04-25|07:03:32.215] Post-Merge hard forks (timestamp based):
INFO [04-25|07:03:32.215] - Shanghai: @1682389237 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/shanghai.md)
INFO [04-25|07:03:32.215]
INFO [04-25|07:03:32.215] ---------------------------------------------------------------------------------------------------------------------------------------------------------
INFO [04-25|07:03:32.215]
INFO [04-25|07:03:32.215] Loaded most recent local block number=1413 hash=80dad6..5c8f53 td=1 age=2m43s
INFO [04-25|07:03:32.215] Loaded most recent local finalized block number=1398 hash=803d45..8a6925 td=1 age=5m43s
INFO [04-25|07:03:32.216] Loaded local transaction journal transactions=0 dropped=0
INFO [04-25|07:03:32.216] Regenerated local transaction journal transactions=0 accounts=0
INFO [04-25|07:03:32.217] Chain post-TTD, sync via beacon client
INFO [04-25|07:03:32.217] Gasprice oracle is ignoring threshold set threshold=2
WARN [04-25|07:03:32.217] Engine API enabled protocol=eth
INFO [04-25|07:03:32.217] Starting peer-to-peer node instance=Geth/v1.11.7-unstable-bbcb5ea3/linux-amd64/go1.20.3
INFO [04-25|07:03:32.234] IPC endpoint opened url=/execution/geth.ipc
INFO [04-25|07:03:32.234] Loaded JWT secret file path=/execution/jwtsecret crc32=0xb3e8e920
INFO [04-25|07:03:32.234] New local node record seq=1,682,389,094,355 id=eb6994d83a9bbab5 ip=127.0.0.1 udp=0 tcp=30303
INFO [04-25|07:03:32.234] HTTP server started endpoint=[::]:8545 auth=false prefix= cors= vhosts=localhost
INFO [04-25|07:03:32.234] Started P2P networking self="enode://da4ed38f11711618688672bf06bbe767f2b22522cf0e52c54cbc21bb92b8ef34d97c1f9f1e001d02bc68f544af017fbb9b2412661beb7b9c2c894d97e7db78de@127.0.0.1:30303?discport=0"
INFO [04-25|07:03:32.234] WebSocket enabled url=ws://[::]:8551
INFO [04-25|07:03:32.234] HTTP server started endpoint=[::]:8551 auth=true prefix= cors=localhost vhosts=*
INFO [04-25|07:03:33.036] Unlocked account address=0x123463a4B065722E99115D6c222f267d9cABb524
WARN [04-25|07:04:07.218] Beacon client online, but never received consensus updates. Please ensure your beacon client is operational to follow the chain!
WARN [04-25|07:09:07.251] Beacon client online, but never received consensus updates. Please ensure your beacon client is operational to follow the chain!

Beacon Log:
time="2023-04-25 07:03:32" level=info msg="Finished reading JWT secret from /execution/jwtsecret"
time="2023-04-25 07:03:32" level=warning msg="Running on custom Ethereum network specified in a chain configuration yaml file" prefix=flags
time="2023-04-25 07:03:32" level=warning msg="Fee recipient 0x123463a4b065722e99115d6c222f267d9cabb524 is not a checksum Ethereum address. The checksummed address is 0x123463a4B065722E99115D6c222f267d9cABb524 and will be used as the fee recipient. We recommend using a mixed-case address (checksum) to prevent spelling mistakes in your fee recipient Ethereum address" prefix=node
time="2023-04-25 07:03:32" level=info msg="Default fee recipient is set to 0x123463a4B065722E99115D6c222f267d9cABb524, recipient may be overwritten from validator client and persist in db. Default fee recipient will be used as a fall back" prefix=node
time="2023-04-25 07:03:32" level=info msg="Checking DB" database-path="/consensus/beacondata/beaconchaindata" prefix=node
time="2023-04-25 07:03:32" level=info msg="Opening Bolt DB at /consensus/beacondata/beaconchaindata/beaconchain.db" prefix=db
time="2023-04-25 07:03:32" level=info msg="Deposit contract: 0x4242424242424242424242424242424242424242" prefix=node
time="2023-04-25 07:03:32" level=warning msg="No bootstrap addresses supplied" prefix=p2p
time="2023-04-25 07:03:32" level=info msg="Running node with peer id of 16Uiu2HAm6fY71dXUtH1hLVatY1X9PPudorMGyoWuWuH6w9WTiVxe " prefix=p2p
time="2023-04-25 07:03:32" level=info msg="gRPC server listening on port" address="0.0.0.0:4000" prefix=rpc
time="2023-04-25 07:03:32" level=warning msg="You are using an insecure gRPC server. If you are running your beacon node and validator on the same machines, you can ignore this message. If you want to know how to enable secure connections, see: https://docs.prylabs.network/docs/prysm-usage/secure-grpc" prefix=rpc
time="2023-04-25 07:03:32" level=info msg="Starting beacon node" prefix=node version="Prysm/v4.0.3/08d6eccfb3bca915ff7d6369677b3f9ab9bacb55. Built at: 2023-04-22 00:50:48+00:00"
time="2023-04-25 07:03:32" level=info msg="Waiting for state to be initialized" prefix=initial-sync
time="2023-04-25 07:03:32" level=info msg="Blockchain data already exists in DB, initializing..." prefix=blockchain
time="2023-04-25 07:03:32" level=info msg="Starting API middleware" prefix=gateway
time="2023-04-25 07:03:32" level=info msg="Starting gRPC gateway" address="0.0.0.0:3500" prefix=gateway
time="2023-04-25 07:03:32" level=info msg="Starting initial chain sync..." prefix=initial-sync
time="2023-04-25 07:03:32" level=info msg="Started discovery v5" ENR="enr:-MK4QJwrEgTD0WwVFIDrpyWvxHXb6hxrcTDMV5JK6R4KZFwzLG7s1TqrkEqbyxkXgis9jBHMlp86wOF70DZ5RCD_J6uGAYe3OYRsh2F0dG5ldHOIAAAAAAAAAACEZXRoMpBa8xKTIAAAkv__________gmlkgnY0gmlwhMCo4AOJc2VjcDI1NmsxoQKm_chY0ZiFBgpCb0XGqlg2kR6lGYdp4tcdFXh_7iHZs4hzeW5jbmV0cwCDdGNwgjLIg3VkcIIu4A" prefix=p2p
time="2023-04-25 07:03:32" level=info msg="Node started p2p server" multiAddr="/ip4/192.168.224.3/tcp/13000/p2p/16Uiu2HAm6fY71dXUtH1hLVatY1X9PPudorMGyoWuWuH6w9WTiVxe" prefix=p2p
time="2023-04-25 07:03:32" level=info msg="gRPC client connected to beacon node" addr="192.168.224.4:48122" prefix=rpc
time="2023-04-25 07:03:47" level=info msg="Connected to new endpoint: http://geth:8551" prefix=powchain
time="2023-04-25 07:04:32" level=info msg="Peer summary" activePeers=0 inbound=0 outbound=0 prefix=p2p
time="2023-04-25 07:05:32" level=info msg="Peer summary" activePeers=0 inbound=0 outbound=0 prefix=p2p
time="2023-04-25 07:05:52" level=warning msg="Execution client is not syncing" prefix=powchain

Validator Log:
time="2023-04-25 07:03:32" level=warning msg="Running on custom Ethereum network specified in a chain configuration yaml file" prefix=flags
time="2023-04-25 07:03:32" level=info msg="Checking DB" databasePath="/consensus/validatordata" prefix=node
Adding optimizations for validator slashing protection 100% [=========] [0s:0s]
time="2023-04-25 07:03:32" level=warning msg="You are using an insecure gRPC connection. If you are running your beacon node and validator on the same machines, you can ignore this message. If you want to know how to enable secure connections, see: https://docs.prylabs.network/docs/prysm-usage/secure-grpc" prefix=validator
time="2023-04-25 07:03:32" level=info msg="Starting validator node" prefix=node version="Prysm/v4.0.3/08d6eccfb3bca915ff7d6369677b3f9ab9bacb55. Built at: 2023-04-22 02:02:24+00:00"
time="2023-04-25 07:03:32" level=info msg="Syncing with beacon node to align on chain genesis info" prefix=validator
time="2023-04-25 07:03:32" level=info msg="Beacon chain started" genesisTime=2023-04-25 02:18:13 +0000 UTC prefix=validator
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0xa99a76ed7796
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0xb89bebc69976
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0xa3a32b0f8b4d
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0x88c141df77cd
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0x81283b7a20e1
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0xab0bdda0f85f
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0x9977f1c8b731
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0xa8d4c7c27795
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0xa6d310dbbfab
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0x9893413c0028
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0x876dd4705157
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0xaec922bd7a9b
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0x9314c6de0386
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0x903e2989e744
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0x84398f539a64
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0x872c61b4a7f8
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0x8f467e5723de
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0x8dde83069208
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0xab8d3a9bcc16
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0x8d5d3672a233
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0xa1c76af1545d
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0x8dd74e1bb522
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0x954eb88ed120
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0xaf344fce60db
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0xae241af60691
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0x96746aaba64d
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0xb9d1d914df3d
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0x963528adb532
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0xb245d63d3f9d
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0xa98ed496c2f4
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0xae00fc3de831
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0xa4855c83d868
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0xa9cf360aa15f
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0xaef9162ee6f2
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0xb7e6e187ed81
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0x81054bd51ce5
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0xaecc56f2b1c4
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0x9243ef5ed3bd
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0x925b1fb57c06
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0x9648b83a4f09
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0xa34febc12af0
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0xb8cd1cef89aa
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0x92a93728c252
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0xb7ee0ef26144
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0xafc0fa2ed6a2
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0xa5869ba554d1
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0x92f43d79d9f4
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0x9698d9519a02
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0xa852816b8e46
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0x8a298ee1ac04
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0xae4d49364e4a
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0xb397692ccbf4
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0x87c9f7605d07
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0xb08f7feb8678
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0xa48cc260df1d
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0xac9f4df3f20a
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0x94f0c8535601
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0xb5bb0162a4f2
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0x8826e820179f
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0x92977e713966
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0x91ae4686b0d2
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0x8a0d24195510
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0x80a2be2c7dbc
time="2023-04-25 07:03:32" level=info msg="Validating for public key" prefix=validator publicKey=0x86a73886aa01
time="2023-04-25 07:03:38" level=info msg="Waiting for beacon node to sync to latest chain head" prefix=validator
time="2023-04-25 07:03:44" level=info msg="Waiting for beacon node to sync to latest chain head" prefix=validator
time="2023-04-25 07:03:50" level=info msg="Waiting for beacon node to sync to latest chain head" prefix=validator
time="2023-04-25 07:03:56" level=info msg="Waiting for beacon node to sync to latest chain head" prefix=validator

service "create-beacon-chain-genesis" didn't complete successfully: exit 2

How resolve this?

root@wangyu-test-temp-burn:~/eth-pos-devnet# docker compose up
[+] Running 1/0
 ✔ Container eth-pos-devnet-create-beacon-chain-genesis-1  Created                             0.0s 
Attaching to eth-pos-devnet-beacon-chain-1, eth-pos-devnet-create-beacon-chain-genesis-1, eth-pos-devnet-geth-1, eth-pos-devnet-geth-genesis-1, eth-pos-devnet-validator-1
eth-pos-devnet-create-beacon-chain-genesis-1  | time="2023-10-29T08:58:17Z" level=info msg="Specified a chain config file: /consensus/config.yml" prefix=genesis
eth-pos-devnet-create-beacon-chain-genesis-1  | time="2023-10-29T08:58:17Z" level=info msg="No genesis time specified, defaulting to now()" prefix=genesis
eth-pos-devnet-create-beacon-chain-genesis-1  | time="2023-10-29T08:58:17Z" level=info msg="Delaying genesis 1698569897 by 15 seconds" prefix=genesis
eth-pos-devnet-create-beacon-chain-genesis-1  | time="2023-10-29T08:58:17Z" level=info msg="Genesis is now 1698569912" prefix=genesis
eth-pos-devnet-create-beacon-chain-genesis-1  | panic: runtime error: invalid memory address or nil pointer dereference
eth-pos-devnet-create-beacon-chain-genesis-1  | [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x2d0503f]
eth-pos-devnet-create-beacon-chain-genesis-1  | 
eth-pos-devnet-create-beacon-chain-genesis-1  | goroutine 1 [running]:
eth-pos-devnet-create-beacon-chain-genesis-1  | github.com/prysmaticlabs/prysm/v4/cmd/prysmctl/testnet.generateGenesis({0xcfacd0, 0xc00005c030})
eth-pos-devnet-create-beacon-chain-genesis-1  | 	cmd/prysmctl/testnet/generate_genesis.go:279 +0x6ff
eth-pos-devnet-create-beacon-chain-genesis-1  | github.com/prysmaticlabs/prysm/v4/cmd/prysmctl/testnet.cliActionGenerateGenesisState(0xc0004ee740)
eth-pos-devnet-create-beacon-chain-genesis-1  | 	cmd/prysmctl/testnet/generate_genesis.go:179 +0x1c9
eth-pos-devnet-create-beacon-chain-genesis-1  | github.com/prysmaticlabs/prysm/v4/cmd/prysmctl/testnet.glob..func1(0x2fad200?)
eth-pos-devnet-create-beacon-chain-genesis-1  | 	cmd/prysmctl/testnet/generate_genesis.go:70 +0x2e
eth-pos-devnet-create-beacon-chain-genesis-1  | github.com/urfave/cli/v2.(*Command).Run(0x2fad200, 0xc0004ee740, {0xc00020fc00, 0x8, 0x8})
eth-pos-devnet-create-beacon-chain-genesis-1  | 	external/com_github_urfave_cli_v2/command.go:274 +0x9eb
eth-pos-devnet-create-beacon-chain-genesis-1  | github.com/urfave/cli/v2.(*Command).Run(0x2fad0a0, 0xc0004ee680, {0xc00012c240, 0x9, 0x9})
eth-pos-devnet-create-beacon-chain-genesis-1  | 	external/com_github_urfave_cli_v2/command.go:267 +0xc4d
eth-pos-devnet-create-beacon-chain-genesis-1  | github.com/urfave/cli/v2.(*Command).Run(0xc00024f4a0, 0xc0004ee5c0, {0xc0000520a0, 0xa, 0xa})
eth-pos-devnet-create-beacon-chain-genesis-1  | 	external/com_github_urfave_cli_v2/command.go:267 +0xc4d
eth-pos-devnet-create-beacon-chain-genesis-1  | github.com/urfave/cli/v2.(*App).RunContext(0xc0000a8b40, {0xcfacd0?, 0xc00005c030}, {0xc0000520a0, 0xa, 0xa})
eth-pos-devnet-create-beacon-chain-genesis-1  | 	external/com_github_urfave_cli_v2/app.go:332 +0x616
eth-pos-devnet-create-beacon-chain-genesis-1  | github.com/urfave/cli/v2.(*App).Run(...)
eth-pos-devnet-create-beacon-chain-genesis-1  | 	external/com_github_urfave_cli_v2/app.go:309
eth-pos-devnet-create-beacon-chain-genesis-1  | main.main()
eth-pos-devnet-create-beacon-chain-genesis-1  | 	cmd/prysmctl/main.go:23 +0x8e
eth-pos-devnet-create-beacon-chain-genesis-1 exited with code 2
service "create-beacon-chain-genesis" didn't complete successfully: exit 2

service "create-beacon-chain-genesis" didn't complete successfully

cloned and tried to run latest master and got:

@seunlanlege ➜ /workspaces/eth-pos-devnet (master) $ DOCKER_BUILDKIT=0 docker compose up -d
[+] Running 5/5
 ✘ Container eth-pos-devnet-create-beacon-chain-genesis-1  service "create-beacon-chain-genesis" didn't complete successfully: exit 1                                                                                    0.1s 
 ✔ Container eth-pos-devnet-geth-genesis-1                 Created                                                                                                                                                       0.1s 
 ✔ Container eth-pos-devnet-geth-1                         Created                                                                                                                                                       0.1s 
 ✔ Container eth-pos-devnet-beacon-chain-1                 Created                                                                                                                                                       0.1s 
 ✔ Container eth-pos-devnet-validator-1                    Created                                                                                                                                                       0.1s 
service "create-beacon-chain-genesis" didn't complete successfully: exit 1

How to enable p2p

Currently, there's a single beacon-chain node and it has --min-sync-peers=0. Has anyone managed to have multiple ones? I tried but keep getting "no peers available, waiting for reconnect" error in the logs.

Error: could not set config params: conflicts with existing config

The following error seems to occur after docker compose up

eth-pos-devnet-create-beacon-chain-genesis-1  | time="2023-01-24T07:46:00Z" level=fatal msg="Could not generate beacon chain genesis state" error="could not set config params: config name=interop conflicts with existing config named=mainnet: configset cannot add config with conflicting fork version schedule" prefix=genesis

Fatal errors when trying to run container or going through the tutorial

I tried to raise private EVM PoS node with geth and Prysm via docker and the tutorial. Unfortunately they both fail with the error

FATA[0000] Could not generate beacon chain genesis state error="could not set config params: version 0x05000000 for fork electra in config interop conflicts with existing config named=mainnet: configset cannot add config with conflicting fork version schedule" prefix=genesis

during the command execution

/prysmctl testnet generate-genesis --fork capella --num-validators 64 --genesis-time-delay 600 --chain-config-file config.yml --geth-genesis-json-in genesis.json --geth-genesis-json-out genesis.json --output-ssz genesis.ssz

If I remove --chain-config-file config.yml option, I fails further on the line

./geth --datadir=gethdata init genesis.json

with the error ERROR[05-09|12:05:38.895] Head block is not reachable.

And finally, if we try to force run beacon-chain, its also fails with the previous conflicting fork error. What is the reason and how can I fix it? I'm using Ubuntu 20.04

Slot is higher than the finalized slot / Additional validators in devnet

I need some expert opinion from someone who has run multiple nodes in devnet, @nisdas if you could help...

Currently I am able to run 2 nodes side by side
Node 1: Geth + Beacon + Interop validators

Then I deposit 32 ETH (test tokens) to deposit contract to make a new validator

After 16-17 hours the validator shows up in the beacon api, i run second node using checkpoint sync and this happens, it seems that it syncs until the new validator came up then it stops


2023-08-30 11:50:28 time="2023-08-30 07:50:28" level=info msg="Processing block batch of size 21 starting from  0xc445761d... 29807/31997 - estimated time remaining 34m45s" blocksPerSecond=1.1 peers=1 prefix=initial-sync
2023-08-30 11:50:29 time="2023-08-30 07:50:29" level=warning msg="Recovering state summary" prefix=db root=0x86b6ce6bead4
2023-08-30 11:50:29 time="2023-08-30 07:50:29" level=warning msg="Skip processing batched blocks" error="could not process block in batch: missing state summary for checkpoint root" prefix=initial-sync
2023-08-30 11:50:29 time="2023-08-30 07:50:29" level=debug msg="Searching for non-skipped slot" headEpoch=14902 prefix=initial-sync start=30253 targetEpoch=14903
2023-08-30 11:50:29 time="2023-08-30 07:50:29" level=debug msg="Requesting blocks" capacity=3 count=2 peer=16Uiu2HAmCzfRuM8s6H4CfY6j5PyNFJqq82ysK5n7xT4iYVJS6viH prefix=initial-sync score="[0.0%, raw: 0.00,  blocks: 0/640]" start=30254 step=1
2023-08-30 11:50:30 time="2023-08-30 07:50:30" level=debug msg="Can not trigger event" epoch=14935 error="slot is higher than the finalized slot" event=tick highestExpectedSlot=29808 noRequiredPeersErrRetries=0 prefix=initial-sync start=29870
2023-08-30 11:50:30 time="2023-08-30 07:50:30" level=debug msg="Can not trigger event" epoch=14967 error="slot is higher than the finalized slot" event=tick highestExpectedSlot=29808 noRequiredPeersErrRetries=0 prefix=initial-sync start=29934
2023-08-30 11:50:30 time="2023-08-30 07:50:30" level=debug msg="Can not trigger event" epoch=14999 error="slot is higher than the finalized slot" event=tick highestExpectedSlot=29808 noRequiredPeersErrRetries=0 prefix=initial-sync start=29998
2023-08-30 11:50:30 time="2023-08-30 07:50:30" level=debug msg="Can not trigger event" epoch=15031 error="slot is higher than the finalized slot" event=tick highestExpectedSlot=29808 noRequiredPeersErrRetries=0 prefix=initial-sync start=30062
2023-08-30 11:50:30 time="2023-08-30 07:50:30" level=debug msg="Can not trigger event" epoch=15063 error="slot is higher than the finalized slot" event=tick highestExpectedSlot=29808 noRequiredPeersErrRetries=0 prefix=initial-sync start=30126
2023-08-30 11:50:30 time="2023-08-30 07:50:30" level=debug msg="Can not trigger event" epoch=15095 error="slot is higher than the finalized slot" event=tick highestExpectedSlot=29808 noRequiredPeersErrRetries=0 prefix=initial-sync start=30190
2023-08-30 11:50:30 time="2023-08-30 07:50:30" level=debug msg="Requesting blocks" capacity=2 count=64 peer=16Uiu2HAmCzfRuM8s6H4CfY6j5PyNFJqq82ysK5n7xT4iYVJS6viH prefix=initial-sync score="[0.0%, raw: 0.00,  blocks: 0/640]" start=29806 step=1
2023-08-30 11:50:30 time="2023-08-30 07:50:30" level=debug msg="Slowing down for rate limit" peer=16Uiu2HAmCzfRuM8s6H4CfY6j5PyNFJqq82ysK5n7xT4iYVJS6viH prefix=initial-sync
2023-08-30 11:50:30 time="2023-08-30 07:50:30" level=debug msg="Can not trigger event" epoch=15127 error="slot is higher than the finalized slot" event=tick highestExpectedSlot=29808 noRequiredPeersErrRetries=0 prefix=initial-sync start=30254

So then i tried to run the validator only using the rpc url of 1st beacon node and the validator is activated but cannot sign blocks, waiting for the last 2 hours but nothing, the validator balance is going down constantly..


time="2023-08-30 07:59:20" level=info msg="Submitted new sync contribution and proof" aggregatorIndex=5 bitsCount=39 blockRoot=0x985019af4ac9 prefix=validator slot=32263 slotStartTime=2023-08-30 07:59:19 +0000 UTC subcommitteeIndex=3 timeSinceSlotStart=1.995344044s
time="2023-08-30 07:59:21" level=error msg="Could not get sync committee contribution" error="rpc error: code = DeadlineExceeded desc = context deadline exceeded" prefix=validator
time="2023-08-30 07:59:21" level=info msg="Submitted new attestations" AggregatorIndices=[5] AttesterIndices=[5] BeaconBlockRoot=0x985019af4ac9 CommitteeIndex=0 Slot=32263 SourceEpoch=14912 SourceRoot=0x58586d8e7e98 TargetEpoch=16131 TargetRoot=0x7177948e4020 prefix=validator
time="2023-08-30 07:59:21" level=error msg="Could not report validator's rewards/penalties" error="rpc error: code = DeadlineExceeded desc = context deadline exceeded" prefix=validator
time="2023-08-30 07:59:21" level=info msg="Attestation schedule" attesterDutiesAtSlot=1 prefix=validator pubKeys=[0xac2026628af2] slot=32264 slotInEpoch=0 totalAttestersInEpoch=1
time="2023-08-30 07:59:21" level=info msg="Submitted new sync message" blockRoot=0x985019af4ac9 prefix=validator slot=32264 slotStartTime=2023-08-30 07:59:21 +0000 UTC timeSinceSlotStart=670.49099ms validatorIndex=5
time="2023-08-30 07:59:22" level=info msg="Submitted new attestations" AggregatorIndices=[5] AttesterIndices=[5] BeaconBlockRoot=0x985019af4ac9 CommitteeIndex=0 Slot=32264 SourceEpoch=14912 SourceRoot=0x58586d8e7e98 TargetEpoch=16132 TargetRoot=0x985019af4ac9 prefix=validator
time="2023-08-30 07:59:23" level=info msg="Submitted new sync message" blockRoot=0x985019af4ac9 prefix=validator slot=32265 slotStartTime=2023-08-30 07:59:23 +0000 UTC timeSinceSlotStart=670.258032ms validatorIndex=5
time="2023-08-30 07:59:23" level=info msg="Previous epoch voting summary" correctlyVotedHead=false correctlyVotedSource=false correctlyVotedTarget=false epoch=16131 inactivityScore=1866 newBalance=27.524663114 oldBalance=27.528994013 percentChange="-0.01573%" percentChangeSinceStart="-5.81242%" prefix=validator pubKey=0xac2026628af2 startBalance=29.223241541
time="2023-08-30 07:59:25" level=info msg="Proposal schedule" prefix=validator pubKey=0xac2026628af2 slot=32266
time="2023-08-30 07:59:25" level=info msg="Attestation schedule" attesterDutiesAtSlot=1 prefix=validator pubKeys=[0xac2026628af2] slot=32267 slotInEpoch=1 timeTillDuty=2s totalAttestersInEpoch=1
time="2023-08-30 07:59:25" level=info msg="Submitted new block" blockRoot=0xe78a8bad8e9d fork=capella gasUtilized=0 graffiti="" numAttestations=1 numDeposits=0 parentHash=0x831af61fee40 payloadHash=0x563519f22fc7 prefix=validator pubKey=0xac2026628af2 slot=32266 txCount=0 withdrawalCount=0
time="2023-08-30 07:59:25" level=info msg="Submitted new sync message" blockRoot=0xe78a8bad8e9d prefix=validator slot=32266 slotStartTime=2023-08-30 07:59:25 +0000 UTC timeSinceSlotStart=670.260854ms validatorIndex=5
time="2023-08-30 07:59:27" level=info msg="Submitted new sync message" blockRoot=0xe78a8bad8e9d prefix=validator slot=32267 slotStartTime=2023-08-30 07:59:27 +0000 UTC timeSinceSlotStart=670.265734ms validatorIndex=5
time="2023-08-30 07:59:28" level=info msg="Submitted new attestations" AggregatorIndices=[5] AttesterIndices=[5] BeaconBlockRoot=0xe78a8bad8e9d CommitteeIndex=0 Slot=32267 SourceEpoch=14912 SourceRoot=0x58586d8e7e98 TargetEpoch=16133 TargetRoot=0xe78a8bad8e9d prefix=validator
time="2023-08-30 07:59:28" level=info msg="Previous epoch voting summary" correctlyVotedHead=false correctlyVotedSource=false correctlyVotedTarget=true epoch=16132 inactivityScore=1865 newBalance=27.523649442 oldBalance=27.524902494 percentChange="-0.00455%" percentChangeSinceStart="-5.81589%" prefix=validator pubKey=0xac2026628af2 startBalance=29.223241541
time="2023-08-30 07:59:28" level=info msg="Previous epoch aggregated voting summary" attestationInclusionPct="100%" averageInactivityScore=1865 correctlyVotedHeadPct="0%" correctlyVotedSourcePct="0%" correctlyVotedTargetPct="100%" epoch=16132 prefix=validator
time="2023-08-30 07:59:28" level=info msg="Vote summary since launch" attestationsInclusionPct="100%" correctlyVotedHeadPct="61%" correctlyVotedSourcePct="61%" correctlyVotedTargetPct="100%" numberOfEpochs=783 pctChangeCombinedBalance="-5.81160%" prefix=validator
time="2023-08-30 07:59:29" level=info msg="Attestation schedule" attesterDutiesAtSlot=1 prefix=validator pubKeys=[0xac2026628af2] slot=32269 slotInEpoch=1 timeTillDuty=2s totalAttestersInEpoch=1
time="2023-08-30 07:59:29" level=info msg="Proposal schedule" prefix=validator pubKey=0xac2026628af2 slot=32269 timeTillDuty=2s
time="2023-08-30 07:59:29" level=info msg="Submitted new sync message" blockRoot=0xe78a8bad8e9d prefix=validator slot=32268 slotStartTime=2023-08-30 07:59:29 +0000 UTC timeSinceSlotStart=671.261723ms validatorIndex=5
time="2023-08-30 07:59:31" level=info msg="Submitted new block" blockRoot=0xdc900cca9b95 fork=capella gasUtilized=0 graffiti="" numAttestations=1 numDeposits=0 parentHash=0x563519f22fc7 payloadHash=0xbc8f79cf84bd prefix=validator pubKey=0xac2026628af2 slot=32269 txCount=0 withdrawalCount=0

Appreciate your help @nisdas

How to start from PoS directly?

Hi,

currently, devnet starts at PoW, then switches to Bellatrix fork and at some point switches to Capella & PoS. For my testing setup, I want it to start from PoS + Capella right away. What settings do I need to change? Many thanks, cc @kasey @nisdas @rauljordan 🙏

Using 'latest' for a few of docker images

Using the 'latest' tag in a docker image definition is a dangerous practice, especially if the that can point at unstable images. That's the case for both the 'geth' and the 'prysmctl' images.

The recent problem with prysmctl, related to inclusion of incoming Electra work, was mentioned in #55 or #49, but there are more example of user hitting unstable image (e.g. #41).

One of the recent changes to geth caused the Failed to get EIP-1559 fees issue (ethereum/go-ethereum#29898). I also notice problems similar to ethereum/go-ethereum#29880.

The solution is to lock the version of all images (at least the ones not using the stable tag).

docker compose up not works

geth-genesis-1 container error log

2023-07-07 21:36:34 Fatal: Failed to write genesis block: database contains incompatible genesis (have 7df41d55d1dc441215d5934658c092c32d059de0d29c452f5a4215464c2a0615, new ae64019e785367903276a338150a5c2673c50c7e75e5d650c24f96ff3bef217a)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.