mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-11 05:20:05 +00:00
run traceCall on top of state resulting from fully executed baseblock a.k.a. starting state of blockNumber+1 (#5555)
This commit is contained in:
parent
711b619876
commit
c28b1d230b
@ -216,7 +216,7 @@ func (api *PrivateDebugAPIImpl) TraceCall(ctx context.Context, args ethapi.CallA
|
||||
}
|
||||
stateReader = state.NewCachedReader2(cacheView, dbtx)
|
||||
} else {
|
||||
stateReader = state.NewPlainState(dbtx, blockNumber)
|
||||
stateReader = state.NewPlainState(dbtx, blockNumber+1)
|
||||
}
|
||||
header := rawdb.ReadHeader(dbtx, hash, blockNumber)
|
||||
if header == nil {
|
||||
|
Loading…
Reference in New Issue
Block a user