dashpay / platform

L2 solution for seriously fast decentralized applications for the Dash network
https://dashplatform.readme.io/docs/introduction-what-is-dash-platform
MIT License
72 stars 39 forks source link

dapi: restart of tenderdash causes td version to be removed from status endpoint #2131

Closed shumkov closed 1 month ago

shumkov commented 2 months ago

Reported by @lklimek

shumkov commented 1 month ago

@lklimek I just tested. When I start tenderdash back DAPI reconnects to it. It might be some cache. In DAPI we cache getStatus response for 1 platform block. I can't reproduce. Could you please provide more information?

lklimek commented 1 month ago

Go to https://mnowatch.org/evonodes/ and notice that some nodes are missing version info of Tenderdash, some Drive.

In our testing, we have found that after panic in TD, DAPI stopped reporting version information. But we didn't spend time investigating this issue, just guessed this can be related to recent changes in DAPI.

shumkov commented 1 month ago

Thank for help with reproduction. Here is a fix https://github.com/dashpay/platform/pull/2155