Skip to content

Uptime reporting sometimes fails with TF Chain error and is not retried #2268

@scottyeager

Description

@scottyeager

I have noticed that some uptime report extrinsics submitted by nodes fail with an error generated by the TF Chain runtime and Zos does not seem to detect or retry them.

Here's an example.

Node 3679 attempted to report uptime at block 11421695.

image

Checking the events and extrinsics view, we can ascertain that this call was rejected with an InvalidTimestampHint error. The timestamp hint matches the timestamp from the log file, but this block was not generated until about a minute later. I guess this transaction was sitting in the mempool too long.

From the perspective of Zos logs, this looks like any other successful uptime report:

image

We can see from there that the node continued on its usual cycle and did another uptime report about 40 minutes later that went through fine.

While this is a rare issue with low impact (40 minutes of lost uptime potentially), the fact seems to be that the node is working properly but getting penalized due to details of operation of tfchain.

Metadata

Metadata

Assignees

Labels

type_bugSomething isn't working

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions