Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Keszey Dániel authored and Keszey Dániel committed Jul 5, 2024
1 parent ef000d9 commit 3f31d5c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/protocol/contracts/L1/BasedOperator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,8 @@ contract BasedOperator is EssentialContract, TaikoErrors {
proofBatch.blockMetadata.l2BlockNumber, proofBatch.transition.parentBlockHash
);

// Brecht: SO we set the blockHash in proposeBlock().
// But we need to prove it too (the same one), so somehow we need to check if this is proven
// already and IF NOT, then revert with "block already proven", no ? So i set the
// verifiableAfter in propseBlock to 0, because this is just a "proposed state".
// Somehow we need to check if this is proven already and IF YES and transition is trying to
// prove the same, then revert with "block already proven".
if (
storedTransition.isProven == true
&& storedTransition.blockHash == proofBatch.transition.blockHash
Expand Down

0 comments on commit 3f31d5c

Please sign in to comment.