We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca59ecb commit f32b60cCopy full SHA for f32b60c
internal/storage/postgres.go
@@ -185,8 +185,8 @@ func (p *PostgresConnector) DeleteBlockFailures(failures []common.BlockFailure)
185
}
186
defer tx.Rollback()
187
188
- query := `UPDATE block_failures
189
- SET is_deleted = TRUE, deleted_at = NOW(), updated_at = NOW()
+ // Hard delete for block failures
+ query := `DELETE FROM block_failures
190
WHERE chain_id = $1 AND block_number = $2`
191
192
stmt, err := tx.Prepare(query)
0 commit comments