Closed rafaelugolini closed 1 year ago
Describe the bug While running the processor, it's crashing from time to time
To Reproduce SQD_TRACE=* sqd process
Expected behavior Not crash
Environment (please complete the following information):
specify the version of the core packages (@subsquid/cli, @subsquid/substrate-processor, ...) @subsquid/cli/2.4.3 darwin-arm64 node-v18.16.1 "@subsquid/archive-registry": "^3.1.0", "@subsquid/evm-processor": "^1.7.1", "@subsquid/graphql-server": "^4.2.0", "@subsquid/typeorm-migration": "^1.2.0", "@subsquid/typeorm-store": "^1.2.1", node.js version: v18.16.1 npm version: 9.5.1 OS version: macOS 13.4
Applicable to decoding issues:
17:47:01 DEBUG sqd:processor:rpc rpc call rpcUrl: https://rpc.ankr.com/eth rpcId: 294 rpcMethod: eth_getBlockReceipts rpcParams: ["0x10e6707"] 17:47:01 DEBUG sqd:processor:rpc rpc send rpcUrl: https://rpc.ankr.com/eth rpcId: 294 17:47:01 DEBUG sqd:http-client http request httpRequestId: 119 httpRequestUrl: https://rpc.ankr.com/eth httpRequestMethod: POST httpRequestHeaders: [["content-type","application/json"]] httpRequestBody: {"id":294,"jsonrpc":"2.0","method":"eth_getBlockReceipts","params":["0x10e6707"]} 17:47:02 DEBUG sqd:http-client http headers httpRequestId: 119 httpResponseUrl: https://rpc.ankr.com/eth httpResponseStatus: 200 httpResponseHeaders: [["access-control-allow-headers","Content-Type,Authorization"],["access-control-allow-methods","GET,POST,DELETE,OPTIONS"],["access-control-allow-origin","*"],["access-control-max-age","86400"],["cf-cache-status","DYNAMIC"],["cf-ray","7e8bdc612afb027e-CDG"],["connection","keep-alive"],["content-length","40"],["content-type","application/json"],["date","Tue, 18 Jul 2023 15:47:02 GMT"],["server","cloudflare"],["vary","Accept-Encoding"],["x-multirpc-response-type","1"]] 17:47:02 DEBUG sqd:http-client http body httpRequestId: 119 httpResponseBody: {"jsonrpc":"2.0","id":294,"result":null} 17:47:02 DEBUG sqd:processor:rpc rpc response rpcUrl: https://rpc.ankr.com/eth rpcId: 294 rpcMethod: eth_getBlockReceipts rpcParams: ["0x10e6707"] rpcResponse: {"jsonrpc":"2.0","id":294,"result":null} 17:47:02 FATAL sqd:processor TypeError: Cannot read properties of null (reading 'length') at EvmRpcDataSource.fetchReceiptsByBlock (squid/node_modules/@subsquid/evm-processor/lib/ds-rpc/client.js:221:56) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Describe the bug While running the processor, it's crashing from time to time
To Reproduce SQD_TRACE=* sqd process
Expected behavior Not crash
Environment (please complete the following information):
specify the version of the core packages (@subsquid/cli, @subsquid/substrate-processor, ...) @subsquid/cli/2.4.3 darwin-arm64 node-v18.16.1 "@subsquid/archive-registry": "^3.1.0", "@subsquid/evm-processor": "^1.7.1", "@subsquid/graphql-server": "^4.2.0", "@subsquid/typeorm-migration": "^1.2.0", "@subsquid/typeorm-store": "^1.2.1", node.js version: v18.16.1 npm version: 9.5.1 OS version: macOS 13.4
Applicable to decoding issues: