From 708c2f0b1b4ee52f8f76e46cc7f8f5f2fde564e2 Mon Sep 17 00:00:00 2001 From: Dan Connolly Date: Mon, 16 Dec 2024 19:21:36 -0600 Subject: [PATCH] test(boot): FastLP/ufastlp is in published.agoricNames.vbankAsset --- packages/boot/test/fast-usdc/fast-usdc.test.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packages/boot/test/fast-usdc/fast-usdc.test.ts b/packages/boot/test/fast-usdc/fast-usdc.test.ts index 6eae95b9ad2..e563422ae1f 100644 --- a/packages/boot/test/fast-usdc/fast-usdc.test.ts +++ b/packages/boot/test/fast-usdc/fast-usdc.test.ts @@ -89,6 +89,14 @@ test.serial( refreshAgoricNamesRemotes(); t.truthy(agoricNamesRemotes.instance.fastUsdc); t.truthy(agoricNamesRemotes.brand.FastLP); + const lpAsset = agoricNamesRemotes.vbankAsset.FastLP; + t.like(lpAsset, { + issuerName: 'FastLP', + denom: 'ufastlp', + displayInfo: { assetKind: 'nat', decimalPlaces: 6 }, + }); + const lpId = lpAsset.brand.getBoardId(); + t.is(agoricNamesRemotes.brand.FastLP.getBoardId(), lpId); const { EV } = t.context.runUtils; const agoricNames = await EV.vat('bootstrap').consumeItem('agoricNames'); @@ -96,6 +104,7 @@ test.serial( const getBoardAux = async name => { const brand = await EV(agoricNames).lookup('brand', name); const id = await EV(board).getId(brand); + t.is(id || null, lpId); t.truthy(storage.data.get(`published.boardAux.${id}`)); return unmarshalFromVstorage( storage.data,