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

Commit 6d6d9c6

Browse files
fix(flag): add a missing flag configuration for prover (#567)
1 parent 93e0660 commit 6d6d9c6

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

cmd/flags/prover.go

+1
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ var (
205205
// ProverFlags All prover flags.
206206
var ProverFlags = MergeFlags(CommonFlags, []cli.Flag{
207207
L1HTTPEndpoint,
208+
L1BeaconEndpoint,
208209
L2WSEndpoint,
209210
L2HTTPEndpoint,
210211
ZkEvmRpcdEndpoint,

prover/proof_producer/sgx_producer.go

+7-6
Original file line numberDiff line numberDiff line change
@@ -169,12 +169,13 @@ func (s *SGXProofProducer) requestProof(opts *ProofRequestOptions) (*RaikoHostOu
169169
ID: common.Big1,
170170
Method: "proof",
171171
Params: []*SGXRequestProofBodyParam{{
172-
Type: "Sgx",
173-
Block: opts.BlockID,
174-
L2RPC: s.L2Endpoint,
175-
L1RPC: s.L1Endpoint,
176-
Prover: opts.ProverAddress.Hex()[2:],
177-
Graffiti: opts.Graffiti,
172+
Type: "Sgx",
173+
Block: opts.BlockID,
174+
L2RPC: s.L2Endpoint,
175+
L1RPC: s.L1Endpoint,
176+
L1BeaconRPC: s.L1BeaconEndpoint,
177+
Prover: opts.ProverAddress.Hex()[2:],
178+
Graffiti: opts.Graffiti,
178179
}},
179180
}
180181

0 commit comments

Comments
 (0)