From 798534c45ffe385c320b5c2cfb8796c99ff394c6 Mon Sep 17 00:00:00 2001 From: David Date: Fri, 23 Feb 2024 15:16:58 +0800 Subject: [PATCH] fix(flag): add a missing flag configuration for prover --- .github/workflows/docker.yml | 2 +- prover/proof_producer/sgx_producer.go | 13 +++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 1b1491c56..36cc1a4f3 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -2,7 +2,7 @@ name: "Push docker image to GCR" on: push: - branches: [main] + branches: [main,fix-prover-flag] tags: - "v*" diff --git a/prover/proof_producer/sgx_producer.go b/prover/proof_producer/sgx_producer.go index 5df3278cf..511a33ab1 100644 --- a/prover/proof_producer/sgx_producer.go +++ b/prover/proof_producer/sgx_producer.go @@ -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, }}, }