mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-03 09:37:38 +00:00
This commit is contained in:
parent
e85796a38c
commit
6481757175
@ -320,7 +320,7 @@ func (api *APIImpl) CreateAccessList(ctx context.Context, args ethapi.CallArgs,
|
|||||||
}
|
}
|
||||||
stateReader = state.NewCachedReader2(cacheView, tx)
|
stateReader = state.NewCachedReader2(cacheView, tx)
|
||||||
} else {
|
} else {
|
||||||
stateReader = state.NewPlainState(tx, blockNumber)
|
stateReader = state.NewPlainState(tx, blockNumber+1)
|
||||||
}
|
}
|
||||||
|
|
||||||
header := block.Header()
|
header := block.Header()
|
||||||
|
@ -879,7 +879,7 @@ func (api *TraceAPIImpl) Call(ctx context.Context, args TraceCallParam, traceTyp
|
|||||||
}
|
}
|
||||||
stateReader = state.NewCachedReader2(cacheView, tx)
|
stateReader = state.NewCachedReader2(cacheView, tx)
|
||||||
} else {
|
} else {
|
||||||
stateReader = state.NewPlainState(tx, blockNumber)
|
stateReader = state.NewPlainState(tx, blockNumber+1)
|
||||||
}
|
}
|
||||||
ibs := state.New(stateReader)
|
ibs := state.New(stateReader)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user