erigon-pulse/cmd/state/commands/regenerate_txlookup.go
Alex Sharov 0be3044b7e
rename (#1978)
* rename

* rename "make grpc"

* rename "abi bindings templates"

* rename "abi bindings templates"
2021-05-20 19:25:53 +01:00

20 lines
423 B
Go

package commands
import (
"github.com/ledgerwatch/erigon/cmd/state/generate"
"github.com/spf13/cobra"
)
func init() {
withDatadir(regenerateTxLookupCmd)
rootCmd.AddCommand(regenerateTxLookupCmd)
}
var regenerateTxLookupCmd = &cobra.Command{
Use: "regenerateTxLookup",
Short: "Generate tx lookup index",
RunE: func(cmd *cobra.Command, args []string) error {
return generate.RegenerateTxLookup(chaindata)
},
}