Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/CDK-382-cdk-erigon-rpc-node-hand…
Browse files Browse the repository at this point in the history
…le-rollbacks' into banana
  • Loading branch information
cffls committed Sep 6, 2024
2 parents 58816d4 + fdbb720 commit c05bdfa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,6 @@ github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4
github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw=
github.com/garslo/gogen v0.0.0-20170307003452-d6ebae628c7c h1:uYNKzPntb8c6DKvP9EfrBjkLkU7pM4lM+uuHSIa8UtU=
github.com/garslo/gogen v0.0.0-20170307003452-d6ebae628c7c/go.mod h1:Q0X6pkwTILDlzrGEckF6HKjXe48EgsY/l7K7vhY4MW8=
github.com/gateway-fm/cdk-erigon-lib v0.0.0-20240829075742-c69f9871e8c9 h1:GLP1WB+Mec7b7vO+4egFlE2zlpFJH9i0o4kW48WT2JI=
github.com/gateway-fm/cdk-erigon-lib v0.0.0-20240829075742-c69f9871e8c9/go.mod h1:Ky//z32wQOTY/drV858kr8dECBD9OBV9Xzy+aG6TxSk=
github.com/gateway-fm/cdk-erigon-lib v0.0.0-20240905140438-511c680ed02e h1:+UR9ZyXSpJIz0byiIukuznjDRKux9EaQO3BqqolfYXo=
github.com/gateway-fm/cdk-erigon-lib v0.0.0-20240905140438-511c680ed02e/go.mod h1:Ky//z32wQOTY/drV858kr8dECBD9OBV9Xzy+aG6TxSk=
github.com/gateway-fm/vectorized-poseidon-gold v1.0.0 h1:Du0ZW+fkZhgRNGx/gAkHnMj3/Rl8uJkAEe+ZDPX3PDw=
Expand Down
2 changes: 1 addition & 1 deletion zk/stages/stage_batches.go
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,7 @@ func getUnwindPoint(eriDb erigon_db.ReadOnlyErigonDb, hermezDb state.ReadOnlyHer
fmt.Errorf("failed to find batch number for the block %d (%s)", blockNum, blockHash)
}

unwindBlockNum, err := hermezDb.GetHighestBlockInBatch(batchNum - 1)
unwindBlockNum, _, err := hermezDb.GetHighestBlockInBatch(batchNum - 1)
if err != nil {
return 0, emptyHash, 0, err
}
Expand Down

0 comments on commit c05bdfa

Please sign in to comment.