From e26f1d976e9e7447e9b0400c971d183eac53675b Mon Sep 17 00:00:00 2001 From: benesjan Date: Mon, 16 Oct 2023 15:57:42 +0000 Subject: [PATCH] fix --- yarn-project/end-to-end/src/sample-dapp/index.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yarn-project/end-to-end/src/sample-dapp/index.mjs b/yarn-project/end-to-end/src/sample-dapp/index.mjs index dc6ba0c08bed..3aad3e254b92 100644 --- a/yarn-project/end-to-end/src/sample-dapp/index.mjs +++ b/yarn-project/end-to-end/src/sample-dapp/index.mjs @@ -99,7 +99,7 @@ async function mintPublicFunds(pxe) { // docs:start:showLogs const blockNumber = await pxe.getBlockNumber(); const logs = (await pxe.getUnencryptedLogs(blockNumber, 1)).logs; - const textLogs = L2BlockL2Logs.unrollLogs(logs).map(log => log.toString('ascii')); + const textLogs = logs.map(extendedLog => extendedLog.log.data.toString('ascii')); for (const log of textLogs) console.log(`Log emitted: ${log}`); // docs:end:showLogs }