baking-bad/tzkt

Protocol invoice for Florence activation done at wrong height

Closed this issue · 2 comments

We run a Tezos node and tzkt instance and noticed the following:

According to the node, tz1abmz7jiCV2GH2u81LRrGgAFFgvQgiDiaf gets 100 XTZ at level 1466368

$ curl --silent "http://localhost:8832/chains/NetXdQprcVkpaWU/blocks/1466368"
... 
            {
                "kind": "contract",
                "contract": "tz1abmz7jiCV2GH2u81LRrGgAFFgvQgiDiaf",
                "change": "100000000",
                "origin": "migration"
            },
...

But according to tzkt, it happens at level 1466367:

$ curl --silent "http://localhost:5000/v1/blocks/1466367?operations=true" | jq ".migrations"
[
  {
    "type": "migration",
    "id": 52106114367488,
    "level": 1466367,
    "timestamp": "2021-05-11T01:30:26Z",
    "block": "BKrZu79PEc3UkmseSh7NQdRyKY91r3YWWPte8pcLiwk2aVkrnTE",
    "kind": "proposal_invoice",
    "account": {
      "address": "tz1abmz7jiCV2GH2u81LRrGgAFFgvQgiDiaf"
    },
    "balanceChange": 100000000
  }
]

The invoice was actually sent at the moment of the protocol activation - at the end of the block 1466367, not 1466368. You can check it this way:

Closing as resolved