TypeError: blockHeaders.len is not a function
at /home/sati/Desktop/work/pattern/gateway1/gateway/src/chains/ergo/manual.ts:107:28
at Generator.next (<anonymous>)
at fulfilled (/home/sati/Desktop/work/pattern/gateway1/gateway/src/chains/ergo/manual.ts:5:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
when testing getCtx function my integration test failed. I tried it manually and this is the out put:
manual script
and this is the output: