diff --git a/upgrade-test-scripts/lib/vat-status.js b/upgrade-test-scripts/lib/vat-status.js index 3a617e8c..f8eba24f 100644 --- a/upgrade-test-scripts/lib/vat-status.js +++ b/upgrade-test-scripts/lib/vat-status.js @@ -57,8 +57,8 @@ const makeSwingstore = db => { findVat: vatName => { /** @type {string[]} */ const dynamicIDs = kvGetJSON('vat.dynamicIDs'); - const targetVat = dynamicIDs.find( - vatID => lookupVat(vatID).options().name === vatName, + const targetVat = dynamicIDs.find(vatID => + lookupVat(vatID).options().name.includes(vatName), ); if (!targetVat) throw Error(vatName); return targetVat;