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 7d8d72f commit 3411f24
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',
'bf57de6f6b2deb4ab66382da3971f1cd797084cb455a1d804fc204703234810b',
'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',
'ae6d37ff41bdd668d5880578a5c8e37c02b20e9f5c459318c5e9a7d1b624e082',
'after use of harden() - sensitive to SES-shim, XS, and supervisor',
);
});
Expand Down

0 comments on commit 3411f24

Please sign in to comment.