Skip to content

Commit

Permalink
update test data
Browse files Browse the repository at this point in the history
  • Loading branch information
alvrs committed Sep 21, 2023
1 parent 41d3e12 commit ee4f8c7
Show file tree
Hide file tree
Showing 3 changed files with 503 additions and 368 deletions.
2 changes: 1 addition & 1 deletion packages/store-sync/src/recs/recsStorage.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe("recsStorage", () => {
const world = createWorld();
const { components } = recsStorage({ world, config: mudConfig });
expect(components.NumberList.id).toMatchInlineSnapshot(
'"0x00000000000000000000000000004e756d6265724c6973740000000000007462"'
'"0x746200000000000000000000000000004e756d6265724c697374000000000000"'
);
});

Expand Down
12 changes: 6 additions & 6 deletions packages/store-sync/src/sqlite/sqliteStorage.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ describe("sqliteStorage", async () => {
{
"chainId": 31337,
"lastError": null,
"lastUpdatedBlockNumber": 6n,
"lastUpdatedBlockNumber": 5n,
"schemaVersion": 1,
},
]
Expand All @@ -77,11 +77,11 @@ describe("sqliteStorage", async () => {
"id": "0x5FbDB2315678afecb367f032d93F642f64180aa3____NumberList",
"keySchema": {},
"lastError": null,
"lastUpdatedBlockNumber": 6n,
"lastUpdatedBlockNumber": 5n,
"name": "NumberList",
"namespace": "",
"schemaVersion": 1,
"tableId": "0x00000000000000000000000000004e756d6265724c6973740000000000007462",
"tableId": "0x746200000000000000000000000000004e756d6265724c697374000000000000",
"valueSchema": {
"value": "uint32[]",
},
Expand All @@ -97,11 +97,11 @@ describe("sqliteStorage", async () => {
"id": "0x5FbDB2315678afecb367f032d93F642f64180aa3____NumberList",
"keySchema": {},
"lastError": null,
"lastUpdatedBlockNumber": 6n,
"lastUpdatedBlockNumber": 5n,
"name": "NumberList",
"namespace": "",
"schemaVersion": 1,
"tableId": "0x00000000000000000000000000004e756d6265724c6973740000000000007462",
"tableId": "0x746200000000000000000000000000004e756d6265724c697374000000000000",
"valueSchema": {
"value": "uint32[]",
},
Expand All @@ -117,7 +117,7 @@ describe("sqliteStorage", async () => {
"__encodedLengths": "0x0000000000000000000000000000000000000000000000000800000000000008",
"__isDeleted": false,
"__key": "0x",
"__lastUpdatedBlockNumber": 6n,
"__lastUpdatedBlockNumber": 5n,
"__staticData": null,
"value": [
420,
Expand Down
Loading

0 comments on commit ee4f8c7

Please sign in to comment.