Skip to content

Commit

Permalink
Update LibProposing.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
dantaik committed Feb 14, 2023
1 parent b0e8d54 commit 7d9f4bf
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions packages/protocol/contracts/L1/libs/LibProposing.sol
Original file line number Diff line number Diff line change
Expand Up @@ -236,17 +236,6 @@ library LibProposing {
commitHash: commitHash
})
) revert L1_NOT_COMMITTED();

if (meta.commitSlot % 2 == 0) {
// Using an even number as the commit slot will
// make the corresponding block proposal cheaper
// as the commit record will be deleted when the
// block is proposed;
// Using an odd number will allow new commits to
// reuse a previous commit's storage thus new
// commits are cheaper.
delete state.commits[msg.sender][meta.commitSlot];
}
}

function _validateMetadata(
Expand Down

0 comments on commit 7d9f4bf

Please sign in to comment.