Skip to content

Commit

Permalink
fix: extra parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
Xaroz committed Dec 14, 2024
1 parent d113427 commit d085955
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions src/features/debugger/debugMessage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,18 +194,17 @@ async function debugMessageDelivery(
destProvider,
recipient,
);
const bytecodeHasHandle = await tryCheckBytecodeHandle(
destProvider,
proxyImplementationContract || recipient,
)
if (!bytecodeHasHandle) {
logger.info('Bytecode does not have function matching handle sig');
return {
status: MessageDebugStatus.RecipientNotHandler,
description: `Recipient contract should have handle function of signature: ${HANDLE_FUNCTION_SIG}. Check that recipient is not a proxy. Error: ${errorReason}`,
calldataDetails,
};
}
const bytecodeHasHandle = await tryCheckBytecodeHandle(
destProvider,
proxyImplementationContract || recipient,
);
if (!bytecodeHasHandle) {
logger.info('Bytecode does not have function matching handle sig');
return {
status: MessageDebugStatus.RecipientNotHandler,
description: `Recipient contract should have handle function of signature: ${HANDLE_FUNCTION_SIG}. Check that recipient is not a proxy. Error: ${errorReason}`,
calldataDetails,
};
}

const icaCallErr = await tryDebugIcaMsg(sender, recipient, body, originDomain, destProvider);
Expand Down

0 comments on commit d085955

Please sign in to comment.