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

Commit

Permalink
fix(flag): add a missing flag configuration for prover (#567)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha committed Feb 23, 2024
1 parent 93e0660 commit 6d6d9c6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions cmd/flags/prover.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ var (
// ProverFlags All prover flags.
var ProverFlags = MergeFlags(CommonFlags, []cli.Flag{
L1HTTPEndpoint,
L1BeaconEndpoint,
L2WSEndpoint,
L2HTTPEndpoint,
ZkEvmRpcdEndpoint,
Expand Down
13 changes: 7 additions & 6 deletions prover/proof_producer/sgx_producer.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,12 +169,13 @@ func (s *SGXProofProducer) requestProof(opts *ProofRequestOptions) (*RaikoHostOu
ID: common.Big1,
Method: "proof",
Params: []*SGXRequestProofBodyParam{{
Type: "Sgx",
Block: opts.BlockID,
L2RPC: s.L2Endpoint,
L1RPC: s.L1Endpoint,
Prover: opts.ProverAddress.Hex()[2:],
Graffiti: opts.Graffiti,
Type: "Sgx",
Block: opts.BlockID,
L2RPC: s.L2Endpoint,
L1RPC: s.L1Endpoint,
L1BeaconRPC: s.L1BeaconEndpoint,
Prover: opts.ProverAddress.Hex()[2:],
Graffiti: opts.Graffiti,
}},
}

Expand Down

0 comments on commit 6d6d9c6

Please sign in to comment.