diff --git a/src/flows/install-happ.ts b/src/flows/install-happ.ts index b645bd3..ac1bf9e 100644 --- a/src/flows/install-happ.ts +++ b/src/flows/install-happ.ts @@ -60,6 +60,7 @@ export const installDnasAndUi = async (client, {happId}) => { return client.call('admin/dna/install_from_file', { id: dnaId, path: dna.path, + expected_hash: dna.hash, copy: false, }) }) diff --git a/src/shims/happ-server.ts b/src/shims/happ-server.ts index 955b4ef..0beb4f3 100644 --- a/src/shims/happ-server.ts +++ b/src/shims/happ-server.ts @@ -31,12 +31,12 @@ export const HAPP_DATABASE = { dnas: [ { location: 'http://localhost:3333/simple-app/dist/simple-app.dna.json', - hash: 'Qm_DNA_Simple_App' + hash: 'QmSKxN3FGVrf1vVMav6gohJVi7GcF4jFcKVDhDcjiAnveo' } ], ui: { location: 'http://localhost:3333/simple-app/ui.tar', - hash: 'Qm_UI_Simple_App' + hash: 'Qm_UI_Simple_App_TODO' }, }, 'holo-hosting': {