Skip to content

Commit

Permalink
fix: size limits
Browse files Browse the repository at this point in the history
  • Loading branch information
erights committed Sep 1, 2022
1 parent 90a4aa5 commit e1e99b9
Show file tree
Hide file tree
Showing 6 changed files with 416 additions and 94 deletions.
2 changes: 1 addition & 1 deletion packages/SwingSet/test/gc-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export const anySchema = JSON.stringify(
);

export const stringSchema = JSON.stringify(
capargs([{ '@qclass': 'tagged', tag: 'match:kind', payload: 'string' }]),
capargs([{ '@qclass': 'tagged', tag: 'match:string', payload: [] }]),
);

export const scalarSchema = JSON.stringify(
Expand Down
4 changes: 2 additions & 2 deletions packages/SwingSet/test/virtualObjects/test-representatives.js
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ test('virtual object gc', async t => {
[`${v}.vs.vc.1.|label`]: 'baggage',
[`${v}.vs.vc.1.|nextOrdinal`]: '1',
[`${v}.vs.vc.1.|schemata`]:
'{"body":"[{\\"@qclass\\":\\"tagged\\",\\"tag\\":\\"match:kind\\",\\"payload\\":\\"string\\"}]","slots":[]}',
'{"body":"[{\\"@qclass\\":\\"tagged\\",\\"tag\\":\\"match:string\\",\\"payload\\":[]}]","slots":[]}',
[`${v}.vs.vc.2.|entryCount`]: '0',
[`${v}.vs.vc.2.|label`]: 'promiseRegistrations',
[`${v}.vs.vc.2.|nextOrdinal`]: '1',
Expand All @@ -411,7 +411,7 @@ test('virtual object gc', async t => {
[`${v}.vs.vc.4.|label`]: 'watchedPromises',
[`${v}.vs.vc.4.|nextOrdinal`]: '1',
[`${v}.vs.vc.4.|schemata`]:
'{"body":"[{\\"@qclass\\":\\"tagged\\",\\"tag\\":\\"match:kind\\",\\"payload\\":\\"string\\"}]","slots":[]}',
'{"body":"[{\\"@qclass\\":\\"tagged\\",\\"tag\\":\\"match:string\\",\\"payload\\":[]}]","slots":[]}',
[`${v}.vs.vom.es.o+10/3`]: 'r',
[`${v}.vs.vom.o+10/2`]: '{"label":{"body":"\\"thing #2\\"","slots":[]}}',
[`${v}.vs.vom.o+10/3`]: '{"label":{"body":"\\"thing #3\\"","slots":[]}}',
Expand Down
Loading

0 comments on commit e1e99b9

Please sign in to comment.