Skip to content

Commit a882360

Browse files
committed
chore(execution/evm): fix logs
1 parent c2afe0c commit a882360

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

execution/evm/execution.go

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -742,14 +742,15 @@ func (c *EngineClient) reconcileExecutionAtHeight(ctx context.Context, height ui
742742
Err(elErr).
743743
Msg("ExecuteTxs: ExecMeta shows promoted but block not found in EL, will re-execute")
744744
// Fall through to fresh execution
745+
} else {
746+
// Timestamp mismatch - ExecMeta is stale from an old block that was replaced.
747+
// Ignore it and proceed to EL check which will handle rollback if needed.
748+
c.logger.Warn().
749+
Uint64("height", height).
750+
Int64("execmeta_timestamp", execMeta.Timestamp).
751+
Int64("requested_timestamp", timestamp.Unix()).
752+
Msg("ExecuteTxs: ExecMeta timestamp mismatch, ignoring stale promoted record")
745753
}
746-
// Timestamp mismatch - ExecMeta is stale from an old block that was replaced.
747-
// Ignore it and proceed to EL check which will handle rollback if needed.
748-
c.logger.Warn().
749-
Uint64("height", height).
750-
Int64("execmeta_timestamp", execMeta.Timestamp).
751-
Int64("requested_timestamp", timestamp.Unix()).
752-
Msg("ExecuteTxs: ExecMeta timestamp mismatch, ignoring stale promoted record")
753754
}
754755

755756
// If we have a started execution with a payloadID, validate it still exists before resuming.

0 commit comments

Comments
 (0)