From b52ffd1b992b82eed066c0b7ee9f7b42c3f8a638 Mon Sep 17 00:00:00 2001 From: Mitch Date: Wed, 29 Jan 2025 14:31:55 -0500 Subject: [PATCH] fix: type assertion --- yarn-project/ethereum/src/contracts/forwarder.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yarn-project/ethereum/src/contracts/forwarder.ts b/yarn-project/ethereum/src/contracts/forwarder.ts index a20919e5b18..7d1602aa9e7 100644 --- a/yarn-project/ethereum/src/contracts/forwarder.ts +++ b/yarn-project/ethereum/src/contracts/forwarder.ts @@ -63,7 +63,7 @@ export class ForwarderContract { ) { requests = requests.filter(request => request.to !== null); const toArgs = requests.map(request => request.to!); - const dataArgs = requests.map(request => request.data); + const dataArgs = requests.map(request => request.data!); const data = encodeFunctionData({ abi: ForwarderAbi, functionName: 'forward',