package commands import ( "github.com/ledgerwatch/turbo-geth/cmd/state/stats" "github.com/spf13/cobra" ) func init() { withChaindata(checkEncCmd) withStatsfile(checkEncCmd) rootCmd.AddCommand(checkEncCmd) } var checkEncCmd = &cobra.Command{ Use: "checkEnc", Short: "Check changesets Encoding", RunE: func(cmd *cobra.Command, args []string) error { return stats.CheckEnc(chaindata) }, }