Skip to content

Commit

Permalink
fix: remove required flags for bridge arguments (#518)
Browse files Browse the repository at this point in the history
  • Loading branch information
aloknerurkar authored Dec 9, 2024
1 parent 81cfa8a commit edb6b44
Showing 1 changed file with 16 additions and 20 deletions.
36 changes: 16 additions & 20 deletions bridge/standard/cmd/user_cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,32 +46,28 @@ var (
Required: true,
}
optionL1RPCUrl = &cli.StringFlag{
Name: "l1-rpc-url",
Usage: "URL for L1 RPC",
EnvVars: []string{"L1_RPC_URL"},
Required: true,
Value: "https://ethereum-holesky-rpc.publicnode.com",
Name: "l1-rpc-url",
Usage: "URL for L1 RPC",
EnvVars: []string{"L1_RPC_URL"},
Value: "https://ethereum-holesky-rpc.publicnode.com",
}
optionSettlementRPCUrl = &cli.StringFlag{
Name: "settlement-rpc-url",
Usage: "URL for settlement RPC",
EnvVars: []string{"SETTLEMENT_RPC_URL"},
Required: true,
Value: "https://chainrpc.testnet.mev-commit.xyz",
Name: "settlement-rpc-url",
Usage: "URL for settlement RPC",
EnvVars: []string{"SETTLEMENT_RPC_URL"},
Value: "https://chainrpc.testnet.mev-commit.xyz",
}
optionL1ContractAddr = &cli.StringFlag{
Name: "l1-contract-addr",
Usage: "address of the L1 gateway contract",
EnvVars: []string{"L1_CONTRACT_ADDR"},
Required: true,
Value: config.HoleskyContracts.L1Gateway,
Name: "l1-contract-addr",
Usage: "address of the L1 gateway contract",
EnvVars: []string{"L1_CONTRACT_ADDR"},
Value: config.HoleskyContracts.L1Gateway,
}
optionSettlementContractAddr = &cli.StringFlag{
Name: "settlement-contract-addr",
Usage: "address of the settlement gateway contract",
EnvVars: []string{"SETTLEMENT_CONTRACT_ADDR"},
Required: true,
Value: config.TestnetContracts.SettlementGateway,
Name: "settlement-contract-addr",
Usage: "address of the settlement gateway contract",
EnvVars: []string{"SETTLEMENT_CONTRACT_ADDR"},
Value: config.TestnetContracts.SettlementGateway,
}
optionSilent = &cli.BoolFlag{
Name: "silent",
Expand Down

0 comments on commit edb6b44

Please sign in to comment.