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

Migrate to one stamp per chain #351

Open
4 tasks
PabloCastellano opened this issue Mar 29, 2024 · 0 comments
Open
4 tasks

Migrate to one stamp per chain #351

PabloCastellano opened this issue Mar 29, 2024 · 0 comments

Comments

@PabloCastellano
Copy link
Member

PabloCastellano commented Mar 29, 2024

At the moment we are using one single stamp to store all blobs and we are going to migrate to a one-stamp-per-chain approach.

Pros of using one stamp per chain:

  • Allow to trustlessly crowdfund blobs storage per chain.
  • Having one stamp per chain increases flexibility
  • If for some reason we want the stamp to expire, all the data would be lost, not just some parts of it.

Cons:

  • We will reach smaller total capacity for content addressed content
  • A bit more maintenance is required

TODO

  • This change requires knowing the batch id that must be used for each chain. We can generate the stamp beforehand and set the batch id in a new variable.
  • Add another variable to configure redundancy level (we can default it to 0)
  • Decide what redundancy level we want to use on (medium increases costs by 7,6% while strong increases 19,6%). Same for all chains including testnets?
  • Implement erasure coding (Reupload blobs to swarm using the erasure coding feature #352) before, to avoid reuploading twice.
@PabloCastellano PabloCastellano changed the title Support multiple Swarm batch ids Migrate to one stamp per chain Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant