Skip to content

Commit

Permalink
docs: hint to yarn build before updating snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Oct 24, 2022
1 parent d29bd25 commit e31d2f5
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions MAINTAINERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ git commit -m 'chore: Update yarn.lock'
```

It is safe to assume that any change to Endo will invalidate assumptions about
guest application meters.
Increment the meter type in `packages/xsnap/api.js`.
guest application meters.

Increment the meter type in `packages/xsnap/api.js`:
```js
export const METER_TYPE = 'xs-meter-0';
```
Expand All @@ -143,6 +143,11 @@ Endo changes nothing, bumping the meter version certainly will, and so
predictably frustrates the kernel hash golden test.
Update the test snapshots.

```sh
# at the repo root
yarn build
```

```sh
cd packages/SwingSet
yarn test test/test-xsnap-store.js --update-snapshots
Expand Down

0 comments on commit e31d2f5

Please sign in to comment.