Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

feat(proposer): remove an unused flag #176

Merged
merged 1 commit into from
Mar 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions cmd/flags/proposer.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,6 @@ var (
Value: rand.Uint64(),
Category: proposerCategory,
}
ShufflePoolContent = &cli.BoolFlag{
Name: "shufflePoolContent",
Usage: "Perform a weighted shuffle when building the transactions list to propose",
Value: false,
Category: proposerCategory,
}
TxPoolLocals = &cli.StringFlag{
Name: "txpool.locals",
Usage: "Perform a weighted shuffle when building the transactions list to propose",
Expand All @@ -60,7 +54,6 @@ var ProposerFlags = MergeFlags(CommonFlags, []cli.Flag{
L1ProposerPrivKey,
L2SuggestedFeeRecipient,
ProposeInterval,
ShufflePoolContent,
CommitSlot,
TxPoolLocals,
ProposeEmptyBlocksInterval,
Expand Down
2 changes: 0 additions & 2 deletions proposer/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ type Config struct {
L1ProposerPrivKey *ecdsa.PrivateKey
L2SuggestedFeeRecipient common.Address
ProposeInterval *time.Duration
ShufflePoolContent bool
CommitSlot uint64
LocalAddresses []common.Address
ProposeEmptyBlocksInterval *time.Duration
Expand Down Expand Up @@ -79,7 +78,6 @@ func NewConfigFromCliContext(c *cli.Context) (*Config, error) {
L1ProposerPrivKey: l1ProposerPrivKey,
L2SuggestedFeeRecipient: common.HexToAddress(l2SuggestedFeeRecipient),
ProposeInterval: proposingInterval,
ShufflePoolContent: c.Bool(flags.ShufflePoolContent.Name),
CommitSlot: c.Uint64(flags.CommitSlot.Name),
LocalAddresses: localAddresses,
ProposeEmptyBlocksInterval: proposeEmptyBlocksInterval,
Expand Down