From 0421cec50686be652c6012e6b3aa85a8d4185aa5 Mon Sep 17 00:00:00 2001 From: Dan Connolly Date: Mon, 16 Dec 2024 19:32:48 -0600 Subject: [PATCH] test(boot): FastLP balance not in wallet record --- packages/boot/test/fast-usdc/fast-usdc.test.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/boot/test/fast-usdc/fast-usdc.test.ts b/packages/boot/test/fast-usdc/fast-usdc.test.ts index e563422ae1f..207a84c21c2 100644 --- a/packages/boot/test/fast-usdc/fast-usdc.test.ts +++ b/packages/boot/test/fast-usdc/fast-usdc.test.ts @@ -127,7 +127,7 @@ test.serial( const current = watcherWallet.getCurrentWalletRecord(); - // XXX We should be able to compare objects by identity like this: + // XXX #10491 We should be able to compare objects by identity like this: // // const invitationPurse = current.purses.find( // p => p.brand === agoricNamesRemotes.brand.Invitation, @@ -239,6 +239,13 @@ test.serial('makes usdc advance', async t => { }); await eventLoopIteration(); + const { purses } = oracles[0].getCurrentWalletRecord(); + // XXX #10491 should not need to resort to string match on brand + t.falsy( + purses.find(p => `${p.brand}`.match(/FastLP/)), + 'FastLP balance not in wallet record', + ); + const evidence = MockCctpTxEvidences.AGORIC_PLUS_OSMO(); harness?.useRunPolicy(true);