Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis committed Feb 1, 2024
1 parent 70f662f commit 77398d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion x/crosschain/keeper/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package keeper

import (
"fmt"
"github.com/zeta-chain/zetacore/common"
"time"

"github.com/zeta-chain/zetacore/common"

cosmoserrors "cosmossdk.io/errors"
"cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
Expand Down
4 changes: 3 additions & 1 deletion x/crosschain/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,9 @@ func (AppModule) ConsensusVersion() uint64 { return 4 }

// BeginBlock executes all ABCI BeginBlock logic respective to the crosschain module.
func (am AppModule) BeginBlock(ctx sdk.Context, _ abci.RequestBeginBlock) {
am.keeper.IterateAndUpdateCctxGasPrice(ctx)
// iterate and update gas price for cctx that are pending for too long
// NOTE: error is logged and ignored in the function
_ = am.keeper.IterateAndUpdateCctxGasPrice(ctx)
}

// EndBlock executes all ABCI EndBlock logic respective to the crosschain module. It
Expand Down

0 comments on commit 77398d3

Please sign in to comment.