Skip to content

Unable To Sync with Checkpoint #4552

@aerielabio

Description

@aerielabio

Description

So, im using Prysm+Geth as my primary node
Its a devnet node. Now i want to sync it with my lighthouse+erigon ( without validator )
I tried to provide all the necessary files into --testnet-dir , such as config.yml, genesis.ssz, deposit_contract.txt , and deploy_block.txt , but whenever i tried to run my lighthouse node using --checkpoint-sync-url=http://myPrismBeaconIp:andItsPort , it keeps giving me an error.

Here is the log, and im using docker for both of them ( prysm+geth & lighthouse+erigon )

FO Logging to file                         path: "/consensus/beacon/logs/beacon.log"
Jul 30 10:58:13.404 INFO Lighthouse started                      version: Lighthouse/v4.3.0-dfcb336
Jul 30 10:58:13.404 INFO Configured for network                  name: custom (/consensus)
Jul 30 10:58:13.404 INFO Data directory initialised              datadir: /consensus
Jul 30 10:58:13.405 WARN Proposer-only mode enabled              info: Do not connect a validator client to this node unless via the --proposer-nodes flag
Jul 30 10:58:13.405 INFO Deposit contract                        address: 0xaeaef9b19b2161552aa335f01ab3cb794b2ce604, deploy_block: 0
Jul 30 10:58:13.414 DEBG Loaded execution endpoint               jwt_path: "/misc/jwt.hex", endpoint: http://erigon:8551/, service: exec
Jul 30 10:58:13.424 INFO Starting checkpoint sync                remote_url: http://myPrismBeaconIp:andItsPort/, service: beacon
Jul 30 10:58:13.433 DEBG Downloading finalized block             service: beacon
Jul 30 10:58:13.436 DEBG Downloaded finalized block              service: beacon
Jul 30 10:58:13.436 DEBG Searching for aligned checkpoint block  block_slot: 320, service: beacon
Jul 30 10:58:13.439 DEBG Downloaded aligned finalized block      block_slot: 320, block_root: 0xc2115060c03ebf7d84e36a3e33218800b1334c38096bd68fcd4615efbdd94ad3, service: beacon
Jul 30 10:58:13.439 DEBG Downloading finalized state             state_root: 0x7e7254b3ac9369b33f9155534945a48df55371b27327d060804600d6d89d7217, service: beacon
Jul 30 10:58:14.342 DEBG Downloaded finalized state              service: beacon
Jul 30 10:58:14.343 INFO Loaded checkpoint block and state       state_root: 0x7e7254b3ac9369b33f9155534945a48df55371b27327d060804600d6d89d7217, block_root: 0xc2115060c03ebf7d84e36a3e33218800b1334c38096bd68fcd4615efbdd94ad3, slot: 320, service: beacon
Jul 30 10:58:14.390 CRIT Failed to start beacon node             reason: Snapshot state root does not match block, expected: 0x7e7254b3ac9369b33f9155534945a48df55371b27327d060804600d6d89d7217, got: 0x2f6989e1102cb29cbe3594b9cb9cd65037bebf272aecdbfb1435259ab6944769
Jul 30 10:58:14.390 TRCE Async task completed                    task: beacon_node
Jul 30 10:58:14.390 INFO Internal shutdown received              reason: Failed to start beacon node
Jul 30 10:58:14.390 INFO Shutting down..                         reason: Failure("Failed to start beacon node")

Here's the command that i execute on my docker-compose file

- lighthouse
      - bn
      - --testnet-dir=/consensus
      - --datadir=/consensus
      - --http-address=0.0.0.0
      - --http-allow-origin=*
      - --http-port=5052
      - --port=${CL_P2P_PORT:-9000}
      - --metrics
      - --metrics-address=0.0.0.0
      - --metrics-port=8008
      - --execution-endpoint=http://erigon:${EE_PORT}
      - --execution-jwt=/misc/jwt.hex
      - --suggested-fee-recipient=0x1DfBcxxxxx
      - --checkpoint-sync-url=http://139.99.70.206:3501
      - --libp2p-addresses=${CL_PEER}
      - --boot-nodes=${CL_ENR}
      - --disable-deposit-contract-sync
      - --enable-private-discovery
      - --subscribe-all-subnets
      - --debug-level=trace
      - --target-peers=0
      - --proposer-only
      - --eth1

Am i doing it wrong ? like is there something i missed ?
Or its just not supported for syncing a prysm+geth devnet using lighthouse+erigon setup ?

Any helps or suggestion would be really appreciated :D
Thanks guys

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions