feat(vault-pinning): pin original blocks as a CAR so the pinned CID equals the Helia CID
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 48/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- javascript, python
- Domaine
- backend, distributed-systems
Piste de recherche
Start by reading the current provider adapters and their JSON-pin paths, then check the broker dependency in #45 and verify the CAR upload endpoints supported by Pinata and Lighthouse. Reproduce CID behavior with provider mocks or a test account before choosing an upload path. Done means tests show both providers return the Helia CID, mismatches raise a clear error, and the JSON path remains available behind a flag.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Summary
Upload the blocks Helia already holds, instead of re-submitting the JSON for the provider to re-encode.
Estimated size: M
Motivation
A provider that re-encodes JSON can return a different CID than the one the user shared, which breaks citation.
Current state in this repo
- Adapters send JSON content to the provider's JSON-pin endpoint.
- The Helia integration overview reports that the returned CID can differ; this has not been reproduced in this repo yet.
Proposal
- Step 1: add a test or script that reproduces any CID mismatch for each provider.
- Step 2: export the DAG with
@helia/carand upload it through the provider's CAR (or Pinning Service API) endpoint; verify each provider's supported endpoint first. - Step 3: fail with a clear error if the CID the provider reports does not match the local CID.
Acceptance criteria
- For Pinata and Lighthouse, the CID returned after pinning equals the Helia CID, checked in a test.
- A mismatch is surfaced as an error, never silently recorded.
- The JSON path remains available behind a flag until CAR upload is proven.
Out of scope
- UnixFS and large files.
Technical notes and risks
- Coordinate with the broker work: if it lands first, upload from the browser to the broker route; otherwise start against the current adapters.
Dependencies
- Soft: #45 (uploads will move to the broker).
Testing plan
- Provider mocks plus one manual run against test accounts.
Part of #43. Ground rules for the content layer: no secrets in the repo, content-layer failures must never block or discard quantum execution, and tests and docs ship with every PR.
- Langage dominant
- Python
- Étoiles
- 2
- Forks
- 4
- Merge moyen
- 5 h 19 min
- PR mergées (30 j)
- 11
Préparer son environnement
- Fournit un Dockerfile ou un fichier Docker Compose
- Aucun modèle de pull request
- Aucun guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de QMeshPy/distributed-quantum
-
enhancement good first issue helia storage tier-1
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
QMeshPy/distributed-quantum#53 ·
Les mainteneurs répondent en général sous 1 jour
-
chain-integration enhancement payments research-spike tier-2
Difficulté 4/5 3-5 jours Accessibilité débutants 55/100
QMeshPy/distributed-quantum#78 ·
Les mainteneurs répondent en général sous 1 jour
-
chain-integration enhancement payments research-spike tier-2
Difficulté 3/5 1-2 jours Accessibilité débutants 66/100
QMeshPy/distributed-quantum#77 ·
Les mainteneurs répondent en général sous 1 jour
-
chain-integration enhancement payments tier-2
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
QMeshPy/distributed-quantum#76 ·
Les mainteneurs répondent en général sous 1 jour
-
documentation good first issue kubo storage tier-1
Difficulté 2/5 1-3 heures Accessibilité débutants 42/100
QMeshPy/distributed-quantum#75 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de QMeshPy/distributed-quantum
Issues similaires
-
Difficulté 1/5 1-3 heures Accessibilité débutants 88/100
fossasia/visdom-dev#69 ·
Les mainteneurs répondent en général sous 3 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
Les mainteneurs répondent en général sous 1 jour
-
Frontend build fails with Frappe version-16: DataImport is no longer exported by @framework/uiOuvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
BUG: PROD: v1.3.0-beta Onboarding Profile Picture Misaligns When Name Validation Error AppearsPeut-être pris @RitikaSen27 l’a pris aujourd’hui. Ouvertebug good first issue
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
AOSSIE-Org/PictoPy#1647 · 2 commentaires ·
Les mainteneurs répondent en général sous 2 jours
-
[oblt-aw][autodoc] Update workflow docs for gh-aw v0.92.5 and detector permission scopePeut-être pris @github-actions l’a pris aujourd’hui. Ouverte
Difficulté 1/5 1-3 heures Accessibilité débutants 88/100
Les mainteneurs répondent en général sous 1 jour