From a83f70a420d5d7f960c8fc3a9438b008a6b688c3 Mon Sep 17 00:00:00 2001 From: sashaodessa <140454972+sashaodessa@users.noreply.github.com> Date: Wed, 3 Sep 2025 16:56:33 +0200 Subject: [PATCH] Update Dataworker.ts --- src/dataworker/Dataworker.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dataworker/Dataworker.ts b/src/dataworker/Dataworker.ts index fca6919c05..a877414c9c 100644 --- a/src/dataworker/Dataworker.ts +++ b/src/dataworker/Dataworker.ts @@ -2750,7 +2750,7 @@ export class Dataworker { // If the SpokePool supports withdrawing tokens to Hub via OFT, estimate msg.value needed to cover OFT fee const oftMsgValuePortion = await this._getOftMsgValueForRelayerRefundLeaf(client, leaf); - // Currently, msg.value behavior in OFT-supporting Spokes is such that they can't hanlde msg.value being used for + // Currently, msg.value behavior in OFT-supporting Spokes is such that they can't handle msg.value being used for // different cases. If both msg value contributions are above 0, we have a bug. Throw if (lineaMsgValuePortion.gt(0) && oftMsgValuePortion.gt(0)) { throw new Error("Invalid configuration: OFT messenger set on Linea chain for relayer refund leaf execution"); @@ -2782,7 +2782,7 @@ export class Dataworker { } // Construct a message that SpokePool will be using to withdraw via OFT to mainnet. Use `.quoteSend` to estimate - // required native fee, and send that X 2 as msg.value to cover the transfer fees even in the face of fee chainging + // required native fee, and send that X 2 as msg.value to cover the transfer fees even in the face of fee changing // slightly. Excess fee will get refunded to executor const IOFTContract = new Contract(associatedOftMessenger, IOFT_ABI_FULL, client.spokePool.provider); const dstEid = OFT.getEndpointId(this.clients.hubPoolClient.chainId);