diff --git a/cmd/state/commands/root.go b/cmd/state/commands/root.go index 7c922a544..ffe0ed3a1 100644 --- a/cmd/state/commands/root.go +++ b/cmd/state/commands/root.go @@ -34,6 +34,10 @@ var rootCmd = &cobra.Command{ PersistentPostRun: func(cmd *cobra.Command, args []string) { stopProfilingIfNeeded() }, + RunE: func(cmd *cobra.Command, args []string) error { + stateless.GasLimits(chaindata) + return nil + }, } func Execute() {