Skip to content

Commit

Permalink
test: makeNobleAccount flow gets new connectionInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
0xpatrickdev authored and dckc committed Feb 27, 2025
1 parent 2d36f87 commit b140a23
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/boot/test/fast-usdc/fast-usdc.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,16 @@ test.serial('upgrade; update noble ICA', async t => {
showValue: defaultSerializer.parse,
note: 'feeConfig: 0.01USDC flat, 0.5% variable, 20% contract cut',
});

const outboundDIBC = bridgeUtils.getOutboundMessages(BridgeId.DIBC);
const icaAccountReqs = outboundDIBC.filter(
x =>
x.method === 'startChannelOpenInit' &&
x.packet.destination_port === 'icahost',
);
t.is(icaAccountReqs.length, 2);
const version = JSON.parse(icaAccountReqs.at(-1).version);
t.is(version.hostConnectionId, 'connection-38'); // fails, still getting 'connection-40'
});

test.serial('makes usdc advance', async t => {
Expand Down

0 comments on commit b140a23

Please sign in to comment.