Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Gavin “yoghurt” Yu committed Feb 12, 2025
1 parent e3a28aa commit 3843c11
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/taiko-client/prover/prover.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/vm"
"github.com/ethereum/go-ethereum/log"
"github.com/pkg/errors"
"github.com/urfave/cli/v2"
"golang.org/x/sync/errgroup"

Expand Down Expand Up @@ -455,7 +454,7 @@ func (p *Prover) requestProofOp(meta metadata.TaikoBlockMetaData, minTier uint16
if submitter := p.selectSubmitter(encoding.TierZkVMSp1ID); submitter != nil {
if err := submitter.RequestProof(p.ctx, meta); err != nil {
log.Info("Request zk any submitter error is", "error", err)
if errors.Is(err, proofProducer.ErrZkAnyNotDrawn) {
if err.Error() == proofProducer.ErrZkAnyNotDrawn.Error() {
if sgxSubmitter := p.selectSubmitter(encoding.TierSgxID); sgxSubmitter != nil {
log.Info("Select zk any submitter tier is", "tier", sgxSubmitter.Tier())
if err := sgxSubmitter.RequestProof(p.ctx, meta); err != nil {
Expand Down

0 comments on commit 3843c11

Please sign in to comment.