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): byte array type in decoded indexer #2251

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from
5 changes: 5 additions & 0 deletions .changeset/real-spoons-agree.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@latticexyz/store-sync": patch
---

Added array column types to the decoded indexer instead of JSON blobs.
6 changes: 6 additions & 0 deletions e2e/packages/contracts/mud.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ export default mudConfig({
y: "int32",
},
},
BytesList: {
keySchema: {},
valueSchema: {
value: "bytes32[]",
},
},
NumberList: {
keySchema: {},
valueSchema: {
Expand Down
1 change: 1 addition & 0 deletions e2e/packages/contracts/src/codegen/index.sol

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading