mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-07 02:02:18 +00:00
17fe935343
* Deprecaste `--interop-genesis-state` * better pattern * fix errors * test fix --------- Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
26 lines
909 B
Go
26 lines
909 B
Go
package flags
|
|
|
|
import (
|
|
"github.com/urfave/cli/v2"
|
|
)
|
|
|
|
var (
|
|
// InteropMockEth1DataVotesFlag enables mocking the eth1 proof-of-work chain data put into blocks by proposers.
|
|
InteropMockEth1DataVotesFlag = &cli.BoolFlag{
|
|
Name: "interop-eth1data-votes",
|
|
Usage: "Enable mocking of eth1 data votes for proposers to package into blocks",
|
|
}
|
|
|
|
// InteropGenesisTimeFlag specifies genesis time for state generation.
|
|
InteropGenesisTimeFlag = &cli.Uint64Flag{
|
|
Name: "interop-genesis-time",
|
|
Usage: "Specify the genesis time for interop genesis state generation. Must be used with " +
|
|
"--interop-num-validators",
|
|
}
|
|
// InteropNumValidatorsFlag specifies number of genesis validators for state generation.
|
|
InteropNumValidatorsFlag = &cli.Uint64Flag{
|
|
Name: "interop-num-validators",
|
|
Usage: "Specify number of genesis validators to generate for interop. Must be used with --interop-genesis-time",
|
|
}
|
|
)
|