-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
--- | ||
"@latticexyz/block-logs-stream": patch | ||
"@latticexyz/dev-tools": patch | ||
"@latticexyz/store-sync": patch | ||
"@latticexyz/store": major | ||
--- | ||
|
||
`Store` events have been renamed for consistency and readability. | ||
If you're parsing `Store` events manually, you need to update your ABI. | ||
If you're using the MUD sync stack, the new events are already integrated and no further changes are necessary. | ||
|
||
```diff | ||
- event StoreSetRecord( | ||
+ event Store_SetRecord( | ||
ResourceId indexed tableId, | ||
bytes32[] keyTuple, | ||
bytes staticData, | ||
bytes32 encodedLengths, | ||
bytes dynamicData | ||
); | ||
- event StoreSpliceStaticData( | ||
+ event Store_SpliceStaticData( | ||
ResourceId indexed tableId, | ||
bytes32[] keyTuple, | ||
uint48 start, | ||
uint40 deleteCount, | ||
bytes data | ||
); | ||
- event StoreSpliceDynamicData( | ||
+ event Store_SpliceDynamicData( | ||
ResourceId indexed tableId, | ||
bytes32[] keyTuple, | ||
uint48 start, | ||
uint40 deleteCount, | ||
bytes data, | ||
bytes32 encodedLengths | ||
); | ||
- event StoreDeleteRecord( | ||
+ event Store_DeleteRecord( | ||
ResourceId indexed tableId, | ||
bytes32[] keyTuple | ||
); | ||
``` |