Skip to content

Commit

Permalink
fix: router execute bypass zkevm and consensys
Browse files Browse the repository at this point in the history
  • Loading branch information
preethamr committed Sep 30, 2023
1 parent 05a4054 commit a88d024
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ export const execute = async (args: ExecuteArgs, transferId: string): Promise<vo

logger.info(`Method start: ${execute.name}`, requestContext, methodContext, { args });

if (args.params.destinationDomain === "1668247156" || args.params.destinationDomain === "2053862260") {
logger.info("Skipping unsupported domain", requestContext, methodContext, args.params.destinationDomain);
return;
}

// Ensure we support the target domain (i.e. it's been configured).
if (!config.chains[args.params.destinationDomain]) {
throw new DomainNotSupported(args.params.destinationDomain, transferId, {
Expand Down

0 comments on commit a88d024

Please sign in to comment.