Merge PR #5022: Remove inter-block cache reset in init-chain
This commit is contained in:
parent
15517afeb2
commit
ce5b36b12a
|
@ -32,11 +32,6 @@ func (app *BaseApp) InitChain(req abci.RequestInitChain) (res abci.ResponseInitC
|
|||
return
|
||||
}
|
||||
|
||||
// reset the inter-block cache in case successive InitChain calls are made
|
||||
if app.interBlockCache != nil {
|
||||
app.interBlockCache.Reset()
|
||||
}
|
||||
|
||||
// add block gas meter for any genesis transactions (allow infinite gas)
|
||||
app.deliverState.ctx = app.deliverState.ctx.WithBlockGasMeter(sdk.NewInfiniteGasMeter())
|
||||
|
||||
|
|
Loading…
Reference in New Issue