Skip to content

Commit

Permalink
Merge PR cosmos#5022: Remove inter-block cache reset in init-chain
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderbez authored Sep 10, 2019
1 parent 15517af commit ce5b36b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions baseapp/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())

Expand Down

0 comments on commit ce5b36b

Please sign in to comment.