Skip to content

VerifyDealsForActivationParams parsing failure for v12 using 0.18.0-dev #435

@ziscky

Description

@ziscky

#414 causes parsing of VerifyDealsForActivation messages to fail in v12 for the 0.18.0-dev branch. It was working for 0.17.0.

Check this mainnet transaction: bafy2bzacebfxw46cym7niub6fuqsm47yar7x5pom7ib6nwzwi75ldpckl72la
VerifyDealsForActivationParams.SectorDeals has 3 parameters and relying on the new version 0.18.0-dev to parse leads to a CBOR unmarshal error:

{
  "height": 3573062,
  "tipset_cid": "bafy2bzacecwni53ll3czhplocghkpqrtp3tz264i24xu3vgmh6d66kao2wlga",
  "block_cid": "bafy2bzaceceqj7doftt76sysjzhzpf37245yxudhigmuakq7byulpfddavsi6",
  "id": "900ff7fb-04b1-5897-8818-d755920a9a69",
  "parent_id": "07b8fab6-110b-5df4-aa03-e28c7f9007a8",
  "level": 1,
  "tx_timestamp": "2024-01-17T13:31:00Z",
  "tx_cid": "bafy2bzacebfxw46cym7niub6fuqsm47yar7x5pom7ib6nwzwi75ldpckl72la",
  "tx_from": "f2kwmxqaghkmhzemahszwppse4fplthzeqmkm3s7q",
  "tx_to": "f05",
  "amount": "0",
  "gas_used": "0",
  "status": "Ok",
  "subcall_status": "Ok",
  "tx_type": "VerifyDealsForActivation",
  "tx_metadata": {
    "MethodNum": "5",
    "Params": {
      "Sectors": [
        {
          "DealIDs": [
            69309505
          ],
          "SectorExpiry": 5105176,
          "SectorType": 13
        }
      ]
    },
    "Return": {
      "UnsealedCIDs": [
        {
          "/": "baga6ea4seaqctp25yzpuifayndruc2chjdrpxnh26a32fiwqf7juibvodenqeai"
        }
      ]
    },
    "ethLogs": []
  },
  "parser_version": "",
  "fee_data": {},
  "search_id": "MzU3MzA2Mi9iYWZ5MmJ6YWNlY3duaTUzbGwzY3pocGxvY2doa3BxcnRwM3R6MjY0aTI0eHUzdmdtaDZkNjZrYW8yd2xnYS9iYWZ5MmJ6YWNlY2Vxajdkb2Z0dDc2c3lzanpoenBmMzcyNDV5eHVkaGlnbXVha3E3Ynl1bHBmZGRhdnNpNi9iYWZ5MmJ6YWNlYmZ4dzQ2Y3ltN25pdWI2ZnVxc200N3lhcjd4NXBvbTdpYjZud3p3aTc1bGRwY2tsNzJsYS85MDBmZjdmYi0wNGIxLTU4OTctODgxOC1kNzU1OTIwYTlhNjk=",
  "canonical": true
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    📌 Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions