From 9f688470aea1309183bd80f65e4fbc20c5831256 Mon Sep 17 00:00:00 2001 From: Roger <50648015+RogerLamTd@users.noreply.github.com> Date: Mon, 6 May 2024 17:26:51 -0700 Subject: [PATCH] chore(prover): make raiko host endpoint required (#798) --- 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",