Skip to content

Commit

Permalink
fix(contracts): OZ-N08 Inconsistent Order of Event Emissions (#876)
Browse files Browse the repository at this point in the history
Co-authored-by: zimpha <zimpha@users.noreply.github.com>
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
  • Loading branch information
3 people committed Aug 25, 2023
1 parent 3499c59 commit 6631569
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion common/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"
)

var tag = "v4.1.112"
var tag = "v4.1.113"

var commit = func() string {
if info, ok := debug.ReadBuildInfo(); ok {
Expand Down
3 changes: 2 additions & 1 deletion contracts/src/L1/rollup/ScrollChain.sol
Original file line number Diff line number Diff line change
Expand Up @@ -272,9 +272,10 @@ contract ScrollChain is OwnableUpgradeable, PausableUpgradeable, IScrollChain {
require(_batchIndex > lastFinalizedBatchIndex, "can only revert unfinalized batch");

while (_count > 0) {
committedBatches[_batchIndex] = bytes32(0);

emit RevertBatch(_batchIndex, _batchHash);

committedBatches[_batchIndex] = bytes32(0);
unchecked {
_batchIndex += 1;
_count -= 1;
Expand Down

0 comments on commit 6631569

Please sign in to comment.