Skip to content

Commit

Permalink
WIP zoe proposal
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Nov 8, 2023
1 parent 4f69131 commit 3984a5d
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
3 changes: 3 additions & 0 deletions proposals/b:zoe1/eval.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ ls -al
npm install --global tsx

./performActions.ts

# let CORE_EVAL settle
waitForBlock 5
2 changes: 1 addition & 1 deletion proposals/b:zoe1/performActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const assetInfo = {
// TODO read these from the script
bundles: [
'b1-31f084378c798adc3018ac20670b43774adeb2c17e67c5676909a7ae7a806cb3c23cb671252d829a65f12ca052be8ef796dd9815d651b9e0372cfb8699e6e939.json',
'b1-8eb193574b53b1b4938a713ca776dd5c8989041a1ad1e22ef16034e1789ebb9d9998540461c46c4734382b8e5ab4b2d4245ace09f4af57d90cbeebfeab46cc95.json',
'b1-a3dc21c56535b4bebdf8c8413650eec2b37a6d9f5669b27f8c571601a6f641ffae2b925dd7e3d67c6953a1f8122c8ba814305e034c9087056816a6f05dd41069.json',
],
},
},
Expand Down
7 changes: 7 additions & 0 deletions proposals/b:zoe1/post.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import test from 'ava';
import { getIncarnation } from '../../upgrade-test-scripts/lib/vat-status.js';

test(`Zoe vat was upgraded`, async t => {
const incarantion = await getIncarnation('zoe');
t.is(incarantion, 1);
});
8 changes: 7 additions & 1 deletion proposals/b:zoe1/test.sh
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
# TODO restart vat-admin and make sure outstanding promises haven't severed
#!/bin/bash

set -e

source /usr/src/upgrade-test-scripts/env_setup.sh

yarn ava post.test.js

0 comments on commit 3984a5d

Please sign in to comment.