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 8c34a6b commit 6be9b40
Showing 1 changed file with 2 additions and 2 deletions.
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',
'7aa62cbb3936bb494072f0a37ad3380647da96df58232b26babf5c3219f65926',
'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',
'9a3a9a9cac5b411b585f2744bacafc60c632e1d564aa6e88eac34539654fe314',
'after use of harden() - sensitive to SES-shim, XS, and supervisor',
);
});
Expand Down

0 comments on commit 6be9b40

Please sign in to comment.