Skip to content

Commit

Permalink
Create metal-cats-double.md
Browse files Browse the repository at this point in the history
  • Loading branch information
holic authored Aug 3, 2023
1 parent a0c167e commit 9d46f35
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .changeset/metal-cats-double.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
"@latticexyz/store-sync": patch
---

Add `startBlock` option to `syncToRecs`.

```ts
import { syncToRecs } from "@latticexyz/store-sync/recs";
import worlds from "contracts/worlds.json";

syncToRecs({
startBlock: worlds['31337'].blockNumber,
...
});
```

0 comments on commit 9d46f35

Please sign in to comment.