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 1f9284c commit b0e8d54
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/protocol/contracts/L1/libs/LibProposing.sol
Original file line number Diff line number Diff line change
Expand Up @@ -238,13 +238,13 @@ library LibProposing {
) revert L1_NOT_COMMITTED();

if (meta.commitSlot % 2 == 0) {
// Using an even muber as the commit slot will make
// the corresponding block proposal cheaper as the
// commit record will be deleted when block is
// proposed;
// Using an odd number will allows another block commmit
// to reuse a previous commit's storage thus new commits
// are cheaper.
// 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];
}
}
Expand Down

0 comments on commit b0e8d54

Please sign in to comment.