Skip to content

Commit

Permalink
Only update deliverState
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric-Warehime committed Dec 19, 2023
1 parent c9e1965 commit 5a2aa7d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion baseapp/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@ func (app *BaseApp) BeginBlock(req abci.RequestBeginBlock) (res abci.ResponseBeg
// Reset the gas meter so that the AnteHandlers aren't required to
gasMeter = app.getBlockGasMeter(app.deliverState.ctx)
app.deliverState.ctx = app.deliverState.ctx.WithBlockGasMeter(gasMeter)
app.checkState.ctx = app.checkState.ctx.WithBlockGasMeter(gasMeter)

return res
}
Expand Down

0 comments on commit 5a2aa7d

Please sign in to comment.