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

Commit

Permalink
feat(proof_producer): update sgxProducer request body (#693)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha authored Apr 7, 2024
1 parent 6683d54 commit ba40ced
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions prover/proof_producer/sgx_producer.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,17 @@ type SGXRequestProofBody struct {

// SGXRequestProofBodyParam represents the JSON body of RequestProofBody's `param` field.
type SGXRequestProofBodyParam struct {
Type string `json:"proofType"`
Block *big.Int `json:"blockNumber"`
Type string `json:"proof_type"`
Block *big.Int `json:"block_number"`
L2RPC string `json:"rpc"`
L1RPC string `json:"l1Rpc"`
L1BeaconRPC string `json:"beaconRpc"`
L1RPC string `json:"l1_rpc"`
L1BeaconRPC string `json:"beacon_rpc"`
Prover string `json:"prover"`
Graffiti string `json:"graffiti"`
ProofParam *ProofParam `json:"proofParam"`
ProofParam *ProofParam `json:"sgx"`
}

// ProofParam represents the JSON body of SGXRequestProofBodyParam's `proofParam` field.
// ProofParam represents the JSON body of SGXRequestProofBodyParam's `sgx` field.
type ProofParam struct {
Setup bool `json:"setup"`
Bootstrap bool `json:"bootstrap"`
Expand Down

0 comments on commit ba40ced

Please sign in to comment.