Skip to content

Commit

Permalink
update spec
Browse files Browse the repository at this point in the history
  • Loading branch information
alvrs committed Sep 22, 2023
1 parent 96edcba commit 4328139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/store/spec.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ MUD comes with many libraries and services in order to reconstruct the state of
### Data encoding

`bytes data` uses custom encoding, which MUD networking stack decodes.
Each event carries only data. To get a table's schema (information on how to decode it), use `IStore.getSchema(tableId)` or listen to `StoreSetRecord` updates of the schema table.
Each event carries only data. To get a table's schema (information on how to decode it), use `IStore.getSchema(tableId)` or listen to `Store_SetRecord` updates of the schema table.

Schema is a way to dynamically store solidity types.
Use the [schema-type package](https://github.com/latticexyz/mud/tree/main/packages/schema-type) to work with it directly.
Expand Down

0 comments on commit 4328139

Please sign in to comment.