Skip to content

Commit 91f84a7

Browse files
update protocol reveal phase
1 parent 6198103 commit 91f84a7

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

docs/Redaplica/2-technical-details/index.html

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -640,25 +640,20 @@ <h3 id="3-reveal-phase"><strong>3. Reveal Phase</strong><a class="headerlink" hr
640640
<tr>
641641
<td>1</td>
642642
<td>Creator</td>
643-
<td>Locally generates Groth16 proof <code>π_redact</code> stating that: <code>H_redact is Poseidon hash of all redacted blocks from the original NFT image with the commitment C_image</code></td>
643+
<td>Publishes full NFT version to IPFS or a file server</td>
644644
</tr>
645645
<tr>
646646
<td>2</td>
647647
<td>Creator</td>
648-
<td>Publishes full NFT version to IPFS or a file server</td>
648+
<td>Calls <code>contract.reveal(challenge_id, NFT_data, r)</code></td>
649649
</tr>
650650
<tr>
651651
<td>3</td>
652-
<td>Creator</td>
653-
<td>Calls <code>contract.reveal(challenge_id, π_redact, H_redact)</code></td>
654-
</tr>
655-
<tr>
656-
<td>4</td>
657652
<td>Contract</td>
658-
<td>Verifies proof <code>π_redact</code> using Garaga verifier contract</td>
653+
<td>Verifies <code>NFT_data</code> against the commitment <code>C_image</code></td>
659654
</tr>
660655
<tr>
661-
<td>5</td>
656+
<td>4</td>
662657
<td>Contract</td>
663658
<td>Stores the <code>H_redact</code> corresponding to <code>challenge_id</code></td>
664659
</tr>

0 commit comments

Comments
 (0)