Skip to content

Commit

Permalink
chore: add log to show enabled features
Browse files Browse the repository at this point in the history
  • Loading branch information
MattKetmo committed Nov 19, 2024
1 parent b724a29 commit f09d0c2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkg/app/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,15 @@ func RunFunc(cCtx *cli.Context) error {
noStaking = !ensureCosmosModule("staking", modules) || noStaking
noSlashing = !ensureCosmosModule("slashing", modules) || noSlashing
noCommission = !ensureCosmosModule("distribution", modules) || noCommission
noUpgrade = !ensureCosmosModule("upgrade", modules) || noUpgrade
}
log.Info().
Bool("commission", !noCommission).
Bool("gov", !noGov).
Bool("slashing", !noSlashing).
Bool("staking", !noStaking).
Bool("upgrade", !noUpgrade).
Msg("cosmos modules features status")

// Parse validators into name & address
trackedValidators, err := createTrackedValidators(ctx, pool, validators, noStaking)
Expand Down

0 comments on commit f09d0c2

Please sign in to comment.