-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Problem with CRIT - Failed to truncate extra state histories
#2209
Comments
Hey @kasrakhamesi do you know how to build bsc from source code? I think we have a fix for your issue, but you need to build a custom branch to test it |
hi there,
version is 1.3.8 |
@seeforschauer are you ok with testing my custom branch, do you know how to build it from source? |
@seeforschauer did you observe |
@STdevK No.
|
@seeforschauer which snapshot do you use? |
1.3.9 Having the same problem |
@YuXiaoCoder you need to resync, as 1.3.9 is only fixing issue not recovering from it |
@sysvm the snapshot URl was https://snapshots.48.club/geth.pbss.35092542.tar.zst |
@STdevK ok, no atm. |
This issue is fixed in https://github.com/bnb-chain/bsc/releases/tag/v1.3.9, this version doesn't recover from that state, just prevent from happing. I am closing this issue for now, but feel free to re-open in case is still happening for you |
The data in this snapshot is incorrect, you'd better use the latest version. The version you're using is a pruned snapshot, you should view this log |
do you mean if that state happened, wo should resync with v1.3.9? I want to update v1.3.7 to v.1.3.12, I should resync ,too? |
@FerdyCai if you want to update, you do not need to resync |
so how can I resolve the problem "lvl=crit msg="Failed to truncate extra state histories" err="out of range, tail: 0, head: 0, target: 35258935"" when update v1.3.7 to v.1.3.12 ? |
@FerdyCai if you want to solve it, you need to resync as I mentioned new version does not recover from this only prevents it from happening |
I Get this error : CRIT - Failed to truncate extra state histories err="EOF, fileid: 0, start: 325221424, length: 3969745872"
when I trying to run my node.why ?
this is my Dockerfile command to run node :
CMD ["./geth", "--datadir","/bsc/node","--config","/bsc/config/config.toml","--db.engine","pebble","--state.scheme","path","--http","--http.api","eth,net,web3,admin","--http.rpcprefix","/","--http.corsdomain","","--http.addr","0.0.0.0","--ws.addr","0.0.0.0","--cache","8000","--rpc.allow-unprotected-txs","--history.transactions","0"]
I get https://github.com/bnb-chain/bsc-snapshots - Path-Base-State-Scheme(recommand) chain data
my geth version : v1.3.8
please Help me to fix that
The text was updated successfully, but these errors were encountered: