Overview
contract/src/handlers/submit.rs anchors a document hash (CT-01/CT-31), but there's no evident test for submitting the exact same hash twice — it should either return the existing anchor's result or reject as a duplicate, not create two separate anchoring transactions for the same document.
Tasks
Acceptance Criteria
Notes for Contributors
Comment below to be assigned.
Overview
contract/src/handlers/submit.rsanchors a document hash (CT-01/CT-31), but there's no evident test for submitting the exact same hash twice — it should either return the existing anchor's result or reject as a duplicate, not create two separate anchoring transactions for the same document.Tasks
Acceptance Criteria
Notes for Contributors
Comment below to be assigned.