Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create metal-hounds-drum.md
Browse files Browse the repository at this point in the history
alvrs authored Sep 14, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 03933c1 commit eb6ff44
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .changeset/metal-hounds-drum.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
"@latticexyz/block-logs-stream": patch
"@latticexyz/store-sync": patch
"@latticexyz/store": patch
---

Renamed all occurrences of `table` where it is used as "table ID" to `tableId`.
This is only a breaking change for consumers who manually decode `Store` events, but not for consumers who use the MUD libraries.

```diff
event StoreSetRecord(
- bytes32 table,
+ bytes32 tableId,
bytes32[] key,
bytes data
);

event StoreSetField(
- bytes32 table,
+ bytes32 tableId,
bytes32[] key,
uint8 fieldIndex,
bytes data
);

event StoreDeleteRecord(
- bytes32 table,
+ bytes32 tableId,
bytes32[] key
);

event StoreEphemeralRecord(
- bytes32 table,
+ bytes32 tableId,
bytes32[] key,
bytes data
);
```

0 comments on commit eb6ff44

Please sign in to comment.