Skip to content

Commit

Permalink
test(SwingSet): update snapshot golden hashes
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Jan 25, 2022
1 parent d33ad90 commit 8e69eec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/SwingSet/src/kernel/liveSlots.js
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ function build(
marshalSaveError: err =>
// By sending this to `console.info`, under cosmic-swingset this is
// controlled by the `console` option given to makeLiveSlots.
console.info('Logging sent error stack', err),
console.info('Logging sent error stack', [39n, () => 'zot', /^abiai$/, null, undefined], err),
});
const unmeteredUnserialize = meterControl.unmetered(m.unserialize);

Expand Down
4 changes: 2 additions & 2 deletions packages/SwingSet/test/test-xsnap-store.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,15 +164,15 @@ test('XS + SES snapshots are long-term deterministic', async t => {
const h2 = await store.save(vat.snapshot);
t.is(
h2,
'9e11a482f0d4bd25c988a4e102d24c0d239afe332981787a674f84149a63f0a0',
'd01ca40babe1cc2c5711c42baa8649377e0e39d0fcd3e6bdcefa1e753b48f9af',
'after SES boot - sensitive to SES-shim, XS, and supervisor',
);

await vat.evaluate('globalThis.x = harden({a: 1})');
const h3 = await store.save(vat.snapshot);
t.is(
h3,
'556ebf0c07a99517e86ddd2fc0b0fadb8c39731de1c14ceaca5741ca246f13d3',
'4367c95d193292747a41cd0f68f56a796cb6b237d53d80eaf8bc0344b343789d',
'after use of harden() - sensitive to SES-shim, XS, and supervisor',
);
});
Expand Down

0 comments on commit 8e69eec

Please sign in to comment.