Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(store-sync): rework blockLogsToStorage #1176

Merged
merged 10 commits into from
Jul 19, 2023
Prev Previous commit
Next Next commit
Create modern-bikes-build.md
holic authored Jul 18, 2023
commit cad6f576fb929b0a6b8ad230a39d0e1cd18cf21d
6 changes: 6 additions & 0 deletions .changeset/modern-bikes-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@latticexyz/store-sync": patch
"@latticexyz/store": patch
---

Replace `blockEventsToStorage` with `blockLogsToStorage` that exposes a `storeOperations` callback do perform database writes from store operations. This helps encapsulates database adapters into a single wrapper/instance of `blockLogsToStorage`.