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

Commit

Permalink
Revert "move flag to common required since both prover and proposer u…
Browse files Browse the repository at this point in the history
…se it"

This reverts commit ed5334a.
  • Loading branch information
RogerLamTd committed Sep 25, 2023
1 parent ed5334a commit 7f60e16
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
7 changes: 0 additions & 7 deletions cmd/flags/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,6 @@ var (
Required: true,
Category: commonCategory,
}
TaikoTokenAddress = &cli.StringFlag{
Name: "taikoToken",
Usage: "TaikoToken contract address",
Required: true,
Category: commonCategory,
}
// Optional flags used by all client softwares.
// Logging
Verbosity = &cli.IntFlag{
Expand Down Expand Up @@ -120,7 +114,6 @@ var CommonFlags = []cli.Flag{
L1WSEndpoint,
TaikoL1Address,
TaikoL2Address,
TaikoTokenAddress,
// Optional
Verbosity,
LogJson,
Expand Down
7 changes: 7 additions & 0 deletions cmd/flags/proposer.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ var (
Usage: "Initial block proposal fee (in wei) paid on block proposing",
Category: proposerCategory,
}
TaikoTokenAddress = &cli.StringFlag{
Name: "taikoToken",
Usage: "TaikoToken contract address",
Required: true,
Category: proposerCategory,
}
)

// Optional flags used by proposer.
Expand Down Expand Up @@ -105,4 +111,5 @@ var ProposerFlags = MergeFlags(CommonFlags, []cli.Flag{
BlockProposalFee,
BlockProposalFeeIncreasePercentage,
BlockProposalFeeIterations,
TaikoTokenAddress,
})
1 change: 1 addition & 0 deletions cmd/flags/prover.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,5 @@ var ProverFlags = MergeFlags(CommonFlags, []cli.Flag{
ProverHTTPServerPort,
ProverCapacity,
MaxExpiry,
TaikoTokenAddress,
})

0 comments on commit 7f60e16

Please sign in to comment.