diff --git a/backend/src/event-handlers/rollup.js b/backend/src/event-handlers/rollup.js index 35e108d..37df5b3 100644 --- a/backend/src/event-handlers/rollup.js +++ b/backend/src/event-handlers/rollup.js @@ -86,11 +86,11 @@ const submitRollup = async () => { // Stake our availability to be the next rollup worker await stakeRollupAvailability(); // Call Rollup.submitBatch + console.log('Submitting batch', { batchPostId, batchItems, authors }); const poolDuration = 60; await callWithRetry(() => rollup.submitBatch(batchPostId, batchItems.length, poolDuration)); // Send matrix event await sendMatrixEvent('io.dgov.rollup.submit', { batchPostId, batchItems, authors }); - console.log('Submitted batch', { batchPostId, batchItems, authors }); // Clear the batch in preparation for next batch batchItems = []; await applicationData.put('batchItems', batchItems);