Add warn
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
parent
da4bc44032
commit
b488012d5f
@ -410,6 +410,7 @@ func tallyGasCharges(charges map[string]*stats, et types.ExecutionTrace) {
|
||||
}
|
||||
tt := float64(gc.TimeTaken.Nanoseconds())
|
||||
if name == "OnVerifyPost" && tt > 2e9 {
|
||||
log.Warnf("Skipping abnormally long OnVerifyPost: %fs", tt/1e9)
|
||||
// discard initial very long OnVerifyPost
|
||||
continue
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user