mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-24 20:47:16 +00:00
22 lines
426 B
Go
22 lines
426 B
Go
package commands
|
|
|
|
import (
|
|
"github.com/ledgerwatch/turbo-geth/cmd/state/stateless"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func init() {
|
|
withChaindata(stateGrowthCmd)
|
|
rootCmd.AddCommand(stateGrowthCmd)
|
|
}
|
|
|
|
var stateGrowthCmd = &cobra.Command{
|
|
Use: "stateGrowth",
|
|
Short: "stateGrowth",
|
|
RunE: func(cmd *cobra.Command, args []string) error {
|
|
stateless.StateGrowth1(chaindata)
|
|
stateless.StateGrowth2(chaindata)
|
|
return nil
|
|
},
|
|
}
|