Open freak12techno opened 6 months ago
it highly depends on blocktimes. here might used the 6s, that's why it's not accurate.
@liangping yes, I mean it displays the correct data under the "Upgrade plan" block (1 days 13 hours 56 minutes 10 seconds), but wrong estimate (in 7 hours) on the right from "Upgrade plan" block
Example: on Jackal latest chain upgrade proposal: https://ping.pub/jackal/gov/12
It says "in 7 hours" next to the "Upgrade plan", which is wrong, as it's more than 1 day. It shows the correct time left till the upgrade below the "Upgrade plan" though.
Guess this line https://github.com/ping-pub/explorer/blob/master/src/modules/%5Bchain%5D/gov/%5Bproposal_id%5D.vue#L375 should be updated to use the upgrade time itself rather than the voting end time.