Skip to content

Commit

Permalink
remove note-to-self
Browse files Browse the repository at this point in the history
  • Loading branch information
gballet authored Jul 22, 2024
1 parent 0ff8071 commit 4e2aca2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions proof_ipa.go
Original file line number Diff line number Diff line change
Expand Up @@ -604,9 +604,6 @@ func Verify(vp *VerkleProof, preStateRoot []byte, postStateRoot []byte, statedif
if err != nil {
return fmt.Errorf("error rebuilding the post-tree from proof: %w", err)
}
// en fait il crée le blockhash contract, mais il met pas les trucs dans le witness
// pourquoi est-ce que c'est triggered maintenant et pourquoi on l'avait pas avant?
// hypothèse: en fait ça marchait pas avant non plus mais on teste que le 2ème bloc
regeneratedPostTreeRoot := posttree.Commitment().Bytes()
if !bytes.Equal(regeneratedPostTreeRoot[:], postStateRoot) {
return fmt.Errorf("post tree root mismatch: %x != %x", regeneratedPostTreeRoot, postStateRoot)
Expand Down

0 comments on commit 4e2aca2

Please sign in to comment.