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

Dont throw error if deal already announced #1426

Merged
merged 1 commit into from
May 5, 2023
Merged

Conversation

dirkmc
Copy link
Contributor

@dirkmc dirkmc commented May 5, 2023

Currently we announce a deal from two places:

  • when a new storage deal is created, it gets indexed and announced
  • when a deal is unsealed, it gets announced

In the case where the deal is unsealed, and there is an error, we ignore the error if it's because the deal has already been announced.

This change ensures that we also ignore the "already announced" error when a new deal is indexed and announced.

@dirkmc dirkmc requested a review from jacobheun May 5, 2023 14:17
@dirkmc dirkmc force-pushed the fix/already-announced branch from c9d7abc to 5e4fea5 Compare May 5, 2023 15:28
@dirkmc dirkmc merged commit 50f7eb2 into main May 5, 2023
@dirkmc dirkmc deleted the fix/already-announced branch May 5, 2023 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants