diff --git a/cmd/rpcdaemon/commands/eth_call.go b/cmd/rpcdaemon/commands/eth_call.go index 714c0ecc195..e32d7d814bb 100644 --- a/cmd/rpcdaemon/commands/eth_call.go +++ b/cmd/rpcdaemon/commands/eth_call.go @@ -320,7 +320,7 @@ func (api *APIImpl) CreateAccessList(ctx context.Context, args ethapi.CallArgs, } stateReader = state.NewCachedReader2(cacheView, tx) } else { - stateReader = state.NewPlainState(tx, blockNumber) + stateReader = state.NewPlainState(tx, blockNumber+1) } header := block.Header() diff --git a/cmd/rpcdaemon/commands/trace_adhoc.go b/cmd/rpcdaemon/commands/trace_adhoc.go index b180f26951f..acb42089017 100644 --- a/cmd/rpcdaemon/commands/trace_adhoc.go +++ b/cmd/rpcdaemon/commands/trace_adhoc.go @@ -879,7 +879,7 @@ func (api *TraceAPIImpl) Call(ctx context.Context, args TraceCallParam, traceTyp } stateReader = state.NewCachedReader2(cacheView, tx) } else { - stateReader = state.NewPlainState(tx, blockNumber) + stateReader = state.NewPlainState(tx, blockNumber+1) } ibs := state.New(stateReader)