Skip to content

Commit

Permalink
test(boot): return channelID from startChannelOpenInit
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Nov 5, 2024
1 parent a884285 commit 6e8a562
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/boot/tools/supports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,9 @@ export const makeSwingsetTestKit = async (
case `${BridgeId.VTRANSFER}:IBC_METHOD`: {
switch (obj.method) {
case 'startChannelOpenInit':
pushInbound(BridgeId.DIBC, icaMocks.channelOpenAck(obj));
return undefined;
const obj2 = icaMocks.channelOpenAck(obj);

Check failure on line 465 in packages/boot/tools/supports.ts

View workflow job for this annotation

GitHub Actions / lint-rest

Unexpected lexical declaration in case block
pushInbound(BridgeId.DIBC, obj2);
return obj2.channelID;
case 'sendPacket': {
if (protoMsgMockMap[obj.packet.data]) {
return ackLater(obj, protoMsgMockMap[obj.packet.data]);
Expand Down

0 comments on commit 6e8a562

Please sign in to comment.