Skip to content

Commit f09d0c2

Browse files
committed
chore: add log to show enabled features
1 parent b724a29 commit f09d0c2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pkg/app/run.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,15 @@ func RunFunc(cCtx *cli.Context) error {
9595
noStaking = !ensureCosmosModule("staking", modules) || noStaking
9696
noSlashing = !ensureCosmosModule("slashing", modules) || noSlashing
9797
noCommission = !ensureCosmosModule("distribution", modules) || noCommission
98+
noUpgrade = !ensureCosmosModule("upgrade", modules) || noUpgrade
9899
}
100+
log.Info().
101+
Bool("commission", !noCommission).
102+
Bool("gov", !noGov).
103+
Bool("slashing", !noSlashing).
104+
Bool("staking", !noStaking).
105+
Bool("upgrade", !noUpgrade).
106+
Msg("cosmos modules features status")
99107

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

0 commit comments

Comments
 (0)