diff --git a/proposals/b:zoe1/eval.sh b/proposals/b:zoe1/eval.sh index babeadbb..3cd7eb7a 100644 --- a/proposals/b:zoe1/eval.sh +++ b/proposals/b:zoe1/eval.sh @@ -10,3 +10,6 @@ ls -al npm install --global tsx ./performActions.ts + +# let CORE_EVAL settle +waitForBlock 5 diff --git a/proposals/b:zoe1/performActions.ts b/proposals/b:zoe1/performActions.ts index 9f4c6b5b..353912c1 100644 --- a/proposals/b:zoe1/performActions.ts +++ b/proposals/b:zoe1/performActions.ts @@ -44,7 +44,7 @@ const assetInfo = { // TODO read these from the script bundles: [ 'b1-31f084378c798adc3018ac20670b43774adeb2c17e67c5676909a7ae7a806cb3c23cb671252d829a65f12ca052be8ef796dd9815d651b9e0372cfb8699e6e939.json', - 'b1-8eb193574b53b1b4938a713ca776dd5c8989041a1ad1e22ef16034e1789ebb9d9998540461c46c4734382b8e5ab4b2d4245ace09f4af57d90cbeebfeab46cc95.json', + 'b1-a3dc21c56535b4bebdf8c8413650eec2b37a6d9f5669b27f8c571601a6f641ffae2b925dd7e3d67c6953a1f8122c8ba814305e034c9087056816a6f05dd41069.json', ], }, }, diff --git a/proposals/b:zoe1/post.test.js b/proposals/b:zoe1/post.test.js new file mode 100644 index 00000000..16f8024c --- /dev/null +++ b/proposals/b:zoe1/post.test.js @@ -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); +}); diff --git a/proposals/b:zoe1/test.sh b/proposals/b:zoe1/test.sh index 4eb33ee7..20c2c2a4 100644 --- a/proposals/b:zoe1/test.sh +++ b/proposals/b:zoe1/test.sh @@ -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