Skip to content

Commit

Permalink
debug 'invalid gas used'
Browse files Browse the repository at this point in the history
  • Loading branch information
andyzhang2023 committed Oct 13, 2024
1 parent 60cb2b9 commit 99e5ea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/state_accessor.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func (eth *Ethereum) hashState(ctx context.Context, block *types.Block, reexec u
return nil, nil, fmt.Errorf("block #%d not found", next)
}
vm.DebugOpCode = false
if current.NumberU64() == 7180439 {
if current.NumberU64() > 0 {
log.Info("[DEBUG invalid gas used, original] process in hashState", "blockNumber", block.NumberU64())
vm.DebugOpCode = true
}
Expand Down

0 comments on commit 99e5ea9

Please sign in to comment.