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

Continue submission when the file upload fails #416

Merged
merged 4 commits into from
Dec 11, 2023

Conversation

0xfornax
Copy link
Member

@0xfornax 0xfornax commented Dec 1, 2023

This PR would be the first stage of the web3.storage phase out. At this point, we would continue to have w3s as a dependency allowing uploads to fail gracefully and continue the submission process by calculating the CID locally.
A second stage would completely remove the w3s dependency. #414

@jclapis
Copy link
Member

jclapis commented Dec 3, 2023

This LGTM as a short-order fix, I'd suggest testing it on Holesky with a manually modded hosts file to simulate a web3.storage API failure. If it all works as expected then let's put it into the next release.

@0xfornax 0xfornax marked this pull request as ready for review December 11, 2023 12:45
@0xfornax 0xfornax merged commit 2ca18c0 into master Dec 11, 2023
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