From 2ced11bdb3b995348f1801bcd8fe9324444d0f26 Mon Sep 17 00:00:00 2001 From: Alain Olivier Date: Tue, 12 Mar 2024 22:06:54 +0100 Subject: [PATCH] fix(tasks): fix userdata decoding in metadata decoding --- tasks/decode-forwarder-metadata.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tasks/decode-forwarder-metadata.js b/tasks/decode-forwarder-metadata.js index 11bf502..ab2d911 100644 --- a/tasks/decode-forwarder-metadata.js +++ b/tasks/decode-forwarder-metadata.js @@ -22,13 +22,12 @@ task('utils:decode-forwarder-metadata', 'Decode the pNetwork Forwarder Metadata' protocolReceipt } = decodeMetadata(ethers, metadata) - const [callsAndTargets, originAddress, callerAddress] = abiCoder.decode(['bytes', 'address', 'address'], userData) + const [callsAndTargets, callerAddress] = abiCoder.decode(['bytes', 'address'], userData) console.log({ version, userData: { callsAndTargets, - originAddress, callerAddress }, sourceNetworkId,