Skip to content

Commit

Permalink
move some TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
GNaD13 committed May 9, 2023
1 parent 66364b0 commit e1372d0
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions app/sim_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ func interBlockCacheOpt() func(*baseapp.BaseApp) {
return baseapp.SetInterBlockCache(store.NewCommitKVStoreCacheManager())
}

// // TODO: Make another test for the fuzzer itself, which just has noOp txs
// // and doesn't depend on the application.
func TestAppStateDeterminism(t *testing.T) {
if !simapp.FlagEnabledValue {
t.Skip("skipping application simulation")
Expand Down
1 change: 0 additions & 1 deletion x/feeabs/keeper/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ func (k Keeper) BeginBlocker(ctx sdk.Context) {
return false
}
epochInfo.CurrentEpochStartHeight = ctx.BlockHeight()
// TODO: need create function to this

if shouldInitialEpochStart {
epochInfo.EpochCountingStarted = true
Expand Down
1 change: 0 additions & 1 deletion x/feeabs/keeper/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ func (keeper Keeper) FrozenHostZoneByIBCDenom(ctx sdk.Context, ibcDenom string)
func (keeper Keeper) UnFrozenHostZoneByIBCDenom(ctx sdk.Context, ibcDenom string) error {
hostChainConfig, err := keeper.GetHostZoneConfig(ctx, ibcDenom)
if err != nil {
// TODO: registry the error here
return sdkerrors.Wrapf(types.ErrHostZoneConfigNotFound, err.Error())
}
hostChainConfig.Frozen = false
Expand Down
3 changes: 0 additions & 3 deletions x/feeabs/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, serveM
}

// GetTxCmd returns the feeabs module's root tx command.
// TODO: need to implement
func (a AppModuleBasic) GetTxCmd() *cobra.Command {
return cli.NewTxCmd()
}
Expand Down Expand Up @@ -159,14 +158,12 @@ func (am AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) json.Raw
}

// BeginBlock returns the begin blocker for the feeabs module.
// TODO: implement if needed
func (am AppModule) BeginBlock(ctx sdk.Context, _ abci.RequestBeginBlock) {
am.keeper.BeginBlocker(ctx)
}

// EndBlock returns the end blocker for the feeabs module. It returns no validator
// updates.
// TODO: implement if needed
func (AppModule) EndBlock(_ sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate {
return []abci.ValidatorUpdate{}
}
Expand Down

0 comments on commit e1372d0

Please sign in to comment.