diff --git a/packages/SwingSet/test/snapshots/test-xsnap-store.js.md b/packages/SwingSet/test/snapshots/test-xsnap-store.js.md index 02a193f1d37..86183fb1dd5 100644 --- a/packages/SwingSet/test/snapshots/test-xsnap-store.js.md +++ b/packages/SwingSet/test/snapshots/test-xsnap-store.js.md @@ -10,25 +10,25 @@ Generated by [AVA](https://avajs.dev). { compressSeconds: 0, - hash: '8a0e3873976c50462d1b1dac59c912152b0e5cad5eeb9deca0ca64a087b4a873', + hash: 'c77e111a40bba743b29cc5bb3abfbd57c1a7143772117cb01da874f5cfe59415', rawSaveSeconds: 0, - uncompressedSize: 167887, + uncompressedSize: 168123, } > after SES boot - sensitive to SES-shim, XS, and supervisor { compressSeconds: 0, - hash: 'e1392d787a70c1afe7826d2cc5e2abe8c6615415b79f5fbc76f5eccb7efeff2a', + hash: '3a62221548f1d4e9da4961e4fe1cff13f7170c9abfade9171eecfa58d6028c34', rawSaveSeconds: 0, - uncompressedSize: 775735, + uncompressedSize: 777171, } > after use of harden() - sensitive to SES-shim, XS, and supervisor { compressSeconds: 0, - hash: '51d8a981b1515c95acb20753df63055930b19095c9566badbfe3f5c254ab6ff4', + hash: '2a595ba90b014defb02d02595bc89c1058a5186eab3b8c0ff0dda9d214104543', rawSaveSeconds: 0, - uncompressedSize: 777887, + uncompressedSize: 779331, } diff --git a/packages/SwingSet/test/snapshots/test-xsnap-store.js.snap b/packages/SwingSet/test/snapshots/test-xsnap-store.js.snap index 86318c1483c..e97e26d0ac2 100644 Binary files a/packages/SwingSet/test/snapshots/test-xsnap-store.js.snap and b/packages/SwingSet/test/snapshots/test-xsnap-store.js.snap differ diff --git a/packages/xsnap/moddable b/packages/xsnap/moddable index 547c16c34ac..74aa31cbc46 160000 --- a/packages/xsnap/moddable +++ b/packages/xsnap/moddable @@ -1 +1 @@ -Subproject commit 547c16c34ac90f6ae4329d0deeb171f5c99c37b4 +Subproject commit 74aa31cbc464b79133afacbf36bfbb30d6acd2ef diff --git a/packages/xsnap/test/test-xs-perf.js b/packages/xsnap/test/test-xs-perf.js index 48bdac41bb0..fc42999a4ef 100644 --- a/packages/xsnap/test/test-xs-perf.js +++ b/packages/xsnap/test/test-xs-perf.js @@ -46,7 +46,7 @@ test('meter details', async t => { t.like( meters, - { compute: 1_380_187, allocate: 42_074_144 }, + { compute: 1_380_185, allocate: 42_074_144 }, 'compute, allocate meters should be stable; update METER_TYPE?', ); @@ -170,7 +170,7 @@ test('metering regex - REDOS', async t => { 'aaaaaaaaa!'.match(/^(([a-z])+.)+/) `); const { meterUsage: meters } = result; - t.like(meters, { compute: 142 }); + t.like(meters, { compute: 140 }); }); test('meter details are still available with no limit', async t => { diff --git a/packages/xsnap/test/test-xsnap.js b/packages/xsnap/test/test-xsnap.js index 5189920ebea..7f107431bf4 100644 --- a/packages/xsnap/test/test-xsnap.js +++ b/packages/xsnap/test/test-xsnap.js @@ -139,9 +139,10 @@ test('print - start compartment only', async t => { } `); await vat.close(); - t.deepEqual( - ['err:ReferenceError: ?: get print: undefined variable'], - opts.messages, + t.is(opts.messages.length, 1); + t.regex( + opts.messages[0], + /^err:ReferenceError: [^:]+: get print: undefined variable$/, ); }); @@ -159,9 +160,10 @@ test('gc - start compartment only', async t => { } `); await vat.close(); - t.deepEqual( - ['err:ReferenceError: ?: get gc: undefined variable'], - opts.messages, + t.is(opts.messages.length, 1); + t.regex( + opts.messages[0], + /^err:ReferenceError: [^:]+: get gc: undefined variable$/, ); }); diff --git a/packages/xsnap/xsnap-native b/packages/xsnap/xsnap-native index 0b3869eb79a..2a42752ddca 160000 --- a/packages/xsnap/xsnap-native +++ b/packages/xsnap/xsnap-native @@ -1 +1 @@ -Subproject commit 0b3869eb79aa4bd223738bd354324743ac85f3a5 +Subproject commit 2a42752ddcafe8f8b5c4f075c84ddd7dadea606b