Skip to content

Commit

Permalink
test: update swing store hashes for updated xsnap console
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed Sep 21, 2021
1 parent eb28fbb commit bd937b0
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 @@ -167,15 +167,15 @@ test('XS + SES snapshots are deterministic', async t => {
const h2 = await store.save(vat.snapshot);
t.is(
h2,
'93dd13f6c97a2a11f2d6fd88aa2a64f800ef6c4224b6417fbe28f593418cf225',
'3659d88bd99032afa15dbe5f938182dffa63abad2cfe53df2f81e8646af2d8b3',
'after SES boot',
);

await vat.evaluate('globalThis.x = harden({a: 1})');
const h3 = await store.save(vat.snapshot);
t.is(
h3,
'e8e4864ee6a9f4855c93e840028facc6ece988d83a6baafed2d0aafc37dfae76',
'b938034b72a3bfa68accb802554cd6bc1c08bbcb8fe80573dabec8584b4ddd9c',
'after use of harden()',
);
});

0 comments on commit bd937b0

Please sign in to comment.