Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/many-timers-chew.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/data-transport-layer': patch
---

Fix race condition
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,6 @@ export const handleEventsSequencerBatchAppended: EventHandlerSet<
}
}

await db.putTransactionBatchEntries([entry.transactionBatchEntry])
await db.putTransactionEntries(entry.transactionEntries)

// Add an additional field to the enqueued transactions in the database
Expand All @@ -219,6 +218,8 @@ export const handleEventsSequencerBatchAppended: EventHandlerSet<
)
}
}

await db.putTransactionBatchEntries([entry.transactionBatchEntry])
},
}

Expand Down