PISAresearch / pisa

Accountable Watching Service
https://pisa.watch
28 stars 9 forks source link

Blockitemstore doesnt deserialise #406

Open yahgwai opened 4 years ago

yahgwai commented 4 years ago

Observed this error as the blockitemstore doesn't deserialise.

{
  "_index": "cwl-2020.03.21",
  "_type": "cwl",
  "_id": "35342476971630656232254558921826224805070692209375838226",
  "_version": 1,
  "_score": null,
  "_source": {
    "level": 50,
    "time": 1584811478584,
    "pid": 1,
    "hostname": "2313cc52091f",
    "name": "green-sender-1",
    "component": "block-processor",
    "err": {
      "type": "TypeError",
      "message": "tx.gasLimit.eq is not a function",
      "stack": "TypeError: tx.gasLimit.eq is not a function\n    at SenderTx.transactionEquals (/usr/any.sender/packages/server/lib/sender/senderTx.js:28:25)\n    at SenderTxReducer.txIdentifierInBlock (/usr/any.sender/packages/server/lib/sender/senderComponent.js:25:29)\n    at SenderTxReducer.getMinedTransaction (/usr/any.sender/packages/server/lib/sender/senderComponent.js:43:33)\n    at SenderTxReducer.getInitialState (/usr/any.sender/packages/server/lib/sender/senderComponent.js:52:30)\n    at MappedStateReducer.reduce (/usr/any.sender/node_modules/@pisa-research/block/lib/component.js:52:37)\n    at processTicksAndRejections (internal/process/next_tick.js:81:5)"
    },
    "msg": "Error processing block.",
    "v": 1,
    "@id": "35342476971630656232254558921826224805070692209375838226",
    "@timestamp": "2020-03-21T17:24:38.585Z",
    "@message": "{\"level\":50,\"time\":1584811478584,\"pid\":1,\"hostname\":\"2313cc52091f\",\"name\":\"green-sender-1\",\"component\":\"block-processor\",\"err\":{\"type\":\"TypeError\",\"message\":\"tx.gasLimit.eq is not a function\",\"stack\":\"TypeError: tx.gasLimit.eq is not a function\\n    at SenderTx.transactionEquals (/usr/any.sender/packages/server/lib/sender/senderTx.js:28:25)\\n    at SenderTxReducer.txIdentifierInBlock (/usr/any.sender/packages/server/lib/sender/senderComponent.js:25:29)\\n    at SenderTxReducer.getMinedTransaction (/usr/any.sender/packages/server/lib/sender/senderComponent.js:43:33)\\n    at SenderTxReducer.getInitialState (/usr/any.sender/packages/server/lib/sender/senderComponent.js:52:30)\\n    at MappedStateReducer.reduce (/usr/any.sender/node_modules/@pisa-research/block/lib/component.js:52:37)\\n    at processTicksAndRejections (internal/process/next_tick.js:81:5)\"},\"msg\":\"Error processing block.\",\"v\":1}",
    "@owner": "201309879285",
    "@log_group": "/ecs/any-sender-green",
    "@log_stream": "ecs/sender-1/2821db90-4b3e-4057-bad8-0ecfa2519ca5"
  },
  "fields": {
    "@timestamp": [
      "2020-03-21T17:24:38.585Z"
    ],
    "time": [
      "date_time1584811478584"
    ]
  },
  "sort": [
    1584811478585
  ]
}