Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Cant launch node #213

Open
1 task done
Dojdik opened this issue Jan 8, 2025 · 1 comment
Open
1 task done

Cant launch node #213

Dojdik opened this issue Jan 8, 2025 · 1 comment
Assignees

Comments

@Dojdik
Copy link

Dojdik commented Jan 8, 2025

Describe the bug

thread 'main' panicked at /project/crates/node/builder/src/launch/common.rs:430:13:
assertion left != right failed: A static file <> database inconsistency was found that would trigger an unwind to block 0
left: Unwind(0)
right: Unwind(0)
stack backtrace:
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.

Steps to reproduce

for mainnet

export network=bsc

ip=127.0.0.1

for testnet

export network=bsc-testnet

./bsc-reth node
--datadir=./bsc
--chain=${network}
--http
--http.addr=$ip
--http.api="eth, net, txpool, web3, rpc, debug, trace"
--ws
--ws.api="eth, net, txpool, web3, rpc, debug, trace"
--ws.addr=$ip
--log.file.directory ./datadir/logs

Node logs

2025-01-08T14:41:10.277288Z  INFO Initialized tracing, debug log directory: ./datadir/logs/bsc
2025-01-08T14:41:10.278880Z  INFO Starting reth version="1.1.0 (14f63081)"
2025-01-08T14:41:10.278904Z  INFO Opening database path="./bsc/db"
2025-01-08T14:41:10.286792Z  INFO Configuration loaded path="./bsc/reth.toml"
2025-01-08T14:41:10.287007Z  INFO Verifying storage consistency.
2025-01-08T14:41:10.288559Z  INFO Setting unwind target. db_first_entry=45538271 highest_static_file_entry=0 unwind_target=0 segment=Headers
2025-01-08T14:41:10.288966Z  INFO Setting unwind target. db_first_entry=6611892100 highest_static_file_entry=0 unwind_target=0 segment=Transactions
2025-01-08T14:41:10.289284Z  INFO Setting unwind target. db_first_entry=6611892100 highest_static_file_entry=0 unwind_target=0 segment=Receipts
2025-01-08T14:41:10.289597Z  INFO Setting unwind target. db_first_entry=45538271 highest_static_file_entry=0 unwind_target=0 segment=Sidecars
thread 'main' panicked at /project/crates/node/builder/src/launch/common.rs:430:13:
assertion `left != right` failed: A static file <> database inconsistency was found that would trigger an unwind to block 0
  left: Unwind(0)
 right: Unwind(0)
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

Platform(s)

Linux (x86)

What version/commit are you on?

reth-bsc-cli Version: 1.1.0
Commit SHA: 14f6308
Build Timestamp: 2024-12-03T02:27:51.783704393Z
Build Features: asm_keccak,bsc,jemalloc
Build Profile: maxperf

What database version are you on?

2025-01-08T14:43:54.711359Z INFO Initialized tracing, debug log directory: /root/.cache/reth/logs/bsc
Current database version: 2
Local database version: 2

Which chain / network are you on?

bsc

What type of node are you running?

Archive (default)

What prune config do you use, if any?

No response

If you've built Reth from source, provide the full command you used

No response

Code of Conduct

  • I agree to follow the Code of Conduct
@j75689
Copy link
Collaborator

j75689 commented Jan 10, 2025

Did you download the snapshots to set up the node?
It looks like your static files directory is incorrect

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

No branches or pull requests

2 participants