Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(taiko-client): ignore not supported tier when init submitter #18349

Closed

Conversation

YoGhurt111
Copy link
Contributor

No description provided.

@@ -134,7 +134,8 @@ func (p *Prover) initProofSubmitters(
case encoding.TierGuardianMajorityID:
producer = proofProducer.NewGuardianProofProducer(encoding.TierGuardianMajorityID, p.cfg.EnableLivenessBondProof)
default:
return fmt.Errorf("unsupported tier: %d", tier.ID)
log.Warn("unsupported tier", "id", tier.ID)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also need to make sure that the unsupported tier won't be selected, otherwise, client will panic.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I roughly checked that if there is no corresponding tier it will throw errTierNotFound.
But anyway, there seems to be no need to change it now, I will close this pr.

@YoGhurt111 YoGhurt111 closed this Oct 30, 2024
@YoGhurt111 YoGhurt111 deleted the feature/ignore-not-supported-tier branch November 5, 2024 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants