Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
rachit77 committed Oct 29, 2024
1 parent 26b64ed commit 903d4c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/state/intra_block_state_zkevm.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,14 @@ func (sdb *IntraBlockState) SyncerPreExecuteStateSet(
}

//save block number
if chainConfig.IsNormalcy(blockNumber) {
if !chainConfig.IsNormalcy(blockNumber) {
sdb.scalableSetBlockNum(blockNumber)
}
emptyHash := libcommon.Hash{}

//ETROG
if chainConfig.IsForkID7Etrog(blockNumber) {
if chainConfig.IsNormalcy(blockNumber) {
if !chainConfig.IsNormalcy(blockNumber) {
currentTimestamp := sdb.ScalableGetTimestamp()
if blockTimestamp > currentTimestamp {
sdb.ScalableSetTimestamp(blockTimestamp)
Expand Down

0 comments on commit 903d4c3

Please sign in to comment.