-
Notifications
You must be signed in to change notification settings - Fork 19.5k
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
debug_traceCall returns error after update #22485
Comments
Update: If i start the node with --snapshot=false then tracing works for a while and then stops working again im using debug_traceCall to trace pending transactions so no historical data should be needed This was working fine on 1.9.25 |
Update: if i run it with preimage (--cache.preimages) then crashes
|
Yeah, funky condition here: if block = eth.blockchain.GetBlockByNumber(block.NumberU64() + 1); block == nil {
return nil, nil, fmt.Errorf("block #%d not found", block.NumberU64()+1)
} I.e, if |
hi @fernandezpaco I am looking for a working example for this function just exactly as you described. I read all the testcases about Hope your problem been solved! |
hey, I found this document and example really helps! |
Does this issue still persist? |
On the previous version was working fine but after upgrade it is returning an error
System information
Geth version:
v1.10.1
OS & Version: OSX
Expected behaviour
Returns trace data
Actual behaviour
Returns {code: -32000, message: 'required historical state unavailable (reexec=128)'}
Steps to reproduce the behaviour
Call debug_traceCall
Backtrace
The text was updated successfully, but these errors were encountered: