diff --git a/cmd/flags/common.go b/cmd/flags/common.go index 4f94daeec..9cdf5577b 100644 --- a/cmd/flags/common.go +++ b/cmd/flags/common.go @@ -51,6 +51,12 @@ 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{ @@ -114,6 +120,7 @@ var CommonFlags = []cli.Flag{ L1WSEndpoint, TaikoL1Address, TaikoL2Address, + TaikoTokenAddress, // Optional Verbosity, LogJson, diff --git a/cmd/flags/proposer.go b/cmd/flags/proposer.go index 3ead92e0f..91dcbe84b 100644 --- a/cmd/flags/proposer.go +++ b/cmd/flags/proposer.go @@ -28,12 +28,6 @@ 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. @@ -111,5 +105,4 @@ var ProposerFlags = MergeFlags(CommonFlags, []cli.Flag{ BlockProposalFee, BlockProposalFeeIncreasePercentage, BlockProposalFeeIterations, - TaikoTokenAddress, }) diff --git a/cmd/flags/prover.go b/cmd/flags/prover.go index 7b7465a07..4b098bd0f 100644 --- a/cmd/flags/prover.go +++ b/cmd/flags/prover.go @@ -149,5 +149,4 @@ var ProverFlags = MergeFlags(CommonFlags, []cli.Flag{ ProverHTTPServerPort, ProverCapacity, MaxExpiry, - TaikoTokenAddress, })