mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-26 13:40:05 +00:00
0be3044b7e
* rename * rename "make grpc" * rename "abi bindings templates" * rename "abi bindings templates"
20 lines
423 B
Go
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)
|
|
},
|
|
}
|