Skip to content

Commit

Permalink
fix: size limits
Browse files Browse the repository at this point in the history
  • Loading branch information
erights committed Aug 28, 2022
1 parent fcc3bb4 commit 1aae385
Show file tree
Hide file tree
Showing 7 changed files with 469 additions and 138 deletions.
2 changes: 1 addition & 1 deletion packages/ERTP/test/unitTests/test-mintObj.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ test('mint.mintPayment set w strings AssetKind', async t => {
const badAmount = AmountMath.make(brand, harden([['badElement']]));
t.throws(() => mint.mintPayment(badAmount), {
message:
'In "mintPayment" method of (items mint) arg 0: value: [0]: copyArray ["badElement"] - Must be a string',
'In "mintPayment" method of (items mint) arg 0: value: [0]: ["badElement"] - Must be a string',
});
});

Expand Down
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 anyScalarSchema = 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 1aae385

Please sign in to comment.