feemarket: update base fee in BeginBlock (#822)

* Update base fee in begin blocker

Closes: #820

* changelog

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
This commit is contained in:
yihuang
2021-12-15 02:10:52 +00:00
committed by GitHub
co-authored by Federico Kunze Küllmer
parent 5d237a5ee4
commit 50e463725e
7 changed files with 16 additions and 9 deletions
+3 -1
View File
@@ -135,7 +135,9 @@ func (am AppModule) LegacyQuerierHandler(legacyQuerierCdc *codec.LegacyAmino) sd
}
// BeginBlock returns the begin block for the fee market module.
func (am AppModule) BeginBlock(ctx sdk.Context, req abci.RequestBeginBlock) {}
func (am AppModule) BeginBlock(ctx sdk.Context, req abci.RequestBeginBlock) {
am.keeper.BeginBlock(ctx, req)
}
// EndBlock returns the end blocker for the fee market module. It returns no validator
// updates.