Debug Processors

You can debug processors via console logs. Simply do:

console.log("num of pools: ", pools.length, ctx.version.toString());

Then you can view the debug log from the data-source page.

Viewing Console Logs

ℹ️

Note

  • The logs are ordered by the actual timestamp they are written
    • This is irrelevant to the actual block timestamp or any timestamp that is on the blockchain
    • You should not assume any strong ordering correlation from the processor code
  • The logs have a retention of 3 days