From 4473d3090e7afc316df5d139885802e76b390181 Mon Sep 17 00:00:00 2001 From: karooolis Date: Wed, 27 Mar 2024 17:36:06 +0000 Subject: [PATCH] skip callFrom for registterDelegationWithSignature --- packages/world/ts/actions/callFrom.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/world/ts/actions/callFrom.ts b/packages/world/ts/actions/callFrom.ts index f2ad0b7a4c..e6ff937fed 100644 --- a/packages/world/ts/actions/callFrom.ts +++ b/packages/world/ts/actions/callFrom.ts @@ -57,7 +57,7 @@ export function callFrom( // Applies to: `client.writeContract`, `getContract(client, ...).write` writeContract: async (writeArgs): Promise => { // Skip if the contract isn't the World. - if (writeArgs.address !== params.worldAddress) { + if (writeArgs.address !== params.worldAddress || writeArgs.functionName === "registerDelegationWithSignature") { return getAction(client, writeContract, "writeContract")(writeArgs); }