mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 04:57:17 +00:00
21 lines
377 B
Go
21 lines
377 B
Go
|
package commands
|
||
|
|
||
|
import (
|
||
|
"github.com/ledgerwatch/turbo-geth/cmd/state/stateless"
|
||
|
"github.com/spf13/cobra"
|
||
|
)
|
||
|
|
||
|
func init() {
|
||
|
withChaindata(gasLimitsCmd)
|
||
|
rootCmd.AddCommand(gasLimitsCmd)
|
||
|
}
|
||
|
|
||
|
var gasLimitsCmd = &cobra.Command{
|
||
|
Use: "gasLimits",
|
||
|
Short: "gasLimits",
|
||
|
RunE: func(cmd *cobra.Command, args []string) error {
|
||
|
stateless.GasLimits(chaindata)
|
||
|
return nil
|
||
|
},
|
||
|
}
|