Skip to content

Commit

Permalink
Update BaseApp to call WithInterBlockCache
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderbez committed Aug 21, 2019
1 parent 24aa18a commit 4793428
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion baseapp/baseapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ func (app *BaseApp) setDeliverState(header abci.Header) {
ms := app.cms.CacheMultiStore()
app.deliverState = &state{
ms: ms,
ctx: sdk.NewContext(ms, header, false, app.logger),
ctx: sdk.NewContext(ms, header, false, app.logger).WithInterBlockCache(app.interBlockCache),
}
}

Expand Down
2 changes: 1 addition & 1 deletion baseapp/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ func (app *BaseApp) NewContext(isCheckTx bool, header abci.Header) sdk.Context {
WithMinGasPrices(app.minGasPrices)
}

return sdk.NewContext(app.deliverState.ms, header, false, app.logger)
return sdk.NewContext(app.deliverState.ms, header, false, app.logger).WithInterBlockCache(app.interBlockCache)
}

0 comments on commit 4793428

Please sign in to comment.