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

hash schema: prune state failed #2588

Closed
zzzckck opened this issue Jul 17, 2024 · 0 comments
Closed

hash schema: prune state failed #2588

zzzckck opened this issue Jul 17, 2024 · 0 comments
Assignees

Comments

@zzzckck
Copy link
Collaborator

zzzckck commented Jul 17, 2024

System information

Geth version: geth v1.4.11
OS & Version: Windows/Linux/OSX
Commit hash : (if develop)

Although hash schema & levelDB is no longer supported, at current stage, we still hope it can work, including operations like: prune state

Steps to reproduce the behaviour

note: in my env, I use --triesInMemory 32, not sure if it matters or not.

1.setup a BSC full node
2.enable flag: --pruneancient --syncmode full
3.do prune state: ./bsc snapshot prune-state --datadir <datadir>
will report this error and failed:

INFO [07-17|02:42:20.876] Smartcard socket not found, disabling    err="stat /run/pcscd/pcscd.comm: no such file or directory"
INFO [07-17|02:42:20.879] Set global gas cap                       cap=50,000,000
INFO [07-17|02:42:20.879] Initializing the KZG library             backend=gokzg
INFO [07-17|02:42:21.396] Using leveldb as the backing database
INFO [07-17|02:42:21.396] Allocated cache and file handles         database=/server/geth/chaindata cache=408.00MiB handles=4096
INFO [07-17|02:42:27.029] Using LevelDB as the backing database
WARN [07-17|02:42:27.030] NOTICE: You're opening a pruned disk db!
INFO [07-17|02:42:27.050] Opened ancient database                  database=/server/geth/chaindata/ancient/chain readonly=false frozen=40,449,972
INFO [07-17|02:42:27.074] Snapshot loaded                          diskRoot=388748..a4fa3d root=3c3eac..9565dd
INFO [07-17|02:42:27.754] Initialized state bloom                  size=2.00GiB
ERROR[07-17|02:42:31.100] Failed to prune state                    err="no snapshot paired state"
no snapshot paired state
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