Skip to content

Commit

Permalink
fix(SwingSet): Update snapshot hashes
Browse files Browse the repository at this point in the history
  • Loading branch information
kriskowal committed Jan 24, 2022
1 parent fc6f0a5 commit d5f54c6
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,
'f32b2b4a91a597cbfcf3bc1a535b1e294f43e0cad01082aa6d933637c2a7c129',
'9e11a482f0d4bd25c988a4e102d24c0d239afe332981787a674f84149a63f0a0',
'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,
'885b63a688e32e4cdb7ba97e6b6fdffc325330c9db1d432242e7901a3caa8965',
'556ebf0c07a99517e86ddd2fc0b0fadb8c39731de1c14ceaca5741ca246f13d3',
'after use of harden() - sensitive to SES-shim, XS, and supervisor',
);
});
Expand Down

0 comments on commit d5f54c6

Please sign in to comment.