From 309399408986a754673d641e147c1704f524ac9c Mon Sep 17 00:00:00 2001 From: RogerLamTd Date: Mon, 6 May 2024 14:39:11 -0700 Subject: [PATCH] make raiko host endpoint required --- cmd/flags/prover.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/cmd/flags/prover.go b/cmd/flags/prover.go index 0e533270f..e095b439f 100644 --- a/cmd/flags/prover.go +++ b/cmd/flags/prover.go @@ -22,16 +22,17 @@ var ( Category: proverCategory, EnvVars: []string{"PROVER_CAPACITY"}, } -) - -// Optional flags used by prover. -var ( RaikoHostEndpoint = &cli.StringFlag{ Name: "raiko.host", Usage: "RPC endpoint of a Raiko host service", + Required: true, Category: proverCategory, EnvVars: []string{"RAIKO_HOST"}, } +) + +// Optional flags used by prover. +var ( RaikoL1Endpoint = &cli.StringFlag{ Name: "raiko.l1", Usage: "L1 RPC endpoint which will be sent to the Raiko service",