Skip to content

fix: chunk act upload #5008

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

Merged
merged 4 commits into from
Feb 25, 2025
Merged

Conversation

bosi95
Copy link
Contributor

@bosi95 bosi95 commented Feb 13, 2025

Checklist

  • I have read the coding guide.
  • My change requires a documentation update, and I have done it.
  • I have added tests to cover my changes.
  • I have filled out the description and linked the related issues.

Description

  • When uploading to the /chunks and /soc endpoints with ACT headers then this results in an error: "write chunk failed". Changes the order of putter.Put and actEncryptionHandler() calls in the /soc and /chunks endpoints during upload.

  • Adds the SwarmActTimestampHeader, SwarmActPublisherHeader, SwarmActHistoryAddressHeader header to the corsHandler()

Open API Spec Version Changes (if applicable)

Motivation and Context (Optional)

Related Issue (Optional)

fixes #5007

Screenshots (if appropriate):

@acha-bill acha-bill changed the title Fix/chunk act upload fix: chunk act upload Feb 20, 2025
@istae istae merged commit f4dee9c into ethersphere:master Feb 25, 2025
15 checks passed
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.

Upload to the /chunks and /soc endpoints with ACT headers fails
4 participants