okx / xlayer-erigon

Ethereum implementation on the efficiency frontier
GNU Lesser General Public License v3.0
14 stars 3 forks source link

Cannot sync from scratch #30

Open SwatGuard opened 3 weeks ago

SwatGuard commented 3 weeks ago

System information

Erigon version: ./erigon --version 1.1.4 OS & Version: Windows/Linux/OSX Ubuntu 22 Commit hash:

Erigon Command (with flags/config):

Concensus Layer:

Concensus Layer Command (with flags/config):

`datadir: /home/erigon/.local/share/erigon/data chain: xlayer-mainnet http: true private.api.addr: localhost:9091 zkevm.l2-chain-id: 196 zkevm.l2-sequencer-rpc-url: https://rpc.xlayer.tech zkevm.l2-datastreamer-url: stream.xlayer.tech:8800 zkevm.l1-chain-id: 1 zkevm.l1-rpc-url:

zkevm.address-sequencer: "" zkevm.address-zkevm: "" zkevm.address-admin: "0x5132a183e9f3cb7c848b0aac5ae0c4f0491b7ab2" zkevm.address-rollup: "0x2B0ee28D4D51bC9aDde5E58E295873F61F4a0507" zkevm.address-ger-manager: "0x580bda1e7A0CFAe92Fa7F6c20A3794F169CE3CFb"

zkevm.l1-rollup-id: 3 zkevm.l1-first-block: 19218658 zkevm.l1-block-range: 100 zkevm.l1-query-delay: 6000 zkevm.rpc-ratelimit: 250 zkevm.datastream-version: 2

externalcl: true http.api: [eth, debug, net, trace, web3, erigon, zkevm] http.addr: 0.0.0.0 http.port: 8545 ws: true`

Chain/Network: Xlayer mainnet

Expected behaviour

able to sync from scratch

Actual behaviour

Getting : Error downloading blocks from datastream error="after start command error: got Result error code 4: Bad from bookmark"

Steps to reproduce the behaviour

Delete data folder Start docker container

Backtrace

[backtrace]
giskook commented 3 weeks ago

@SwatGuard We are not support erigon v1.1.4 yet, could you pls use erigon v1.0.10.

andreclaro commented 1 week ago

related with https://github.com/0xPolygonHermez/cdk-erigon/issues/506