Skip to content

Commit

Permalink
Update modern-bikes-build.md
Browse files Browse the repository at this point in the history
  • Loading branch information
holic authored Jul 19, 2023
1 parent 61d3cc5 commit 43125df
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .changeset/modern-bikes-build.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
"@latticexyz/block-logs-stream": minor
"@latticexyz/store-sync": minor
---

Replace `blockEventsToStorage` with `blockLogsToStorage` that exposes a `storeOperations` callback to perform database writes from store operations. This helps encapsulates database adapters into a single wrapper/instance of `blockLogsToStorage` and allows for wrapping a block of store operations in a database transaction.
- Replace `blockEventsToStorage` with `blockLogsToStorage` that exposes a `storeOperations` callback to perform database writes from store operations. This helps encapsulates database adapters into a single wrapper/instance of `blockLogsToStorage` and allows for wrapping a block of store operations in a database transaction.
- Add `toBlock` option to `groupLogsByBlockNumber` and remove `blockHash` from results. This helps track the last block number for a given set of logs when used in the context of RxJS streams.

0 comments on commit 43125df

Please sign in to comment.