mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-07 11:32:20 +00:00
19 lines
347 B
Go
19 lines
347 B
Go
|
package commands
|
||
|
|
||
|
import (
|
||
|
"github.com/ledgerwatch/erigon/cmd/devnettest/requests"
|
||
|
"github.com/spf13/cobra"
|
||
|
)
|
||
|
|
||
|
func init() {
|
||
|
rootCmd.AddCommand(mockRequestCmd)
|
||
|
}
|
||
|
|
||
|
var mockRequestCmd = &cobra.Command{
|
||
|
Use: "mock",
|
||
|
Short: "Mocks a request on the devnet",
|
||
|
Run: func(cmd *cobra.Command, args []string) {
|
||
|
requests.MockGetRequest(reqId)
|
||
|
},
|
||
|
}
|