explorer icon indicating copy to clipboard operation
explorer copied to clipboard

On software upgrade proposal page, time left till upgrade is wrong

Open freak12techno opened this issue 1 year ago • 2 comments

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.

freak12techno avatar Mar 10 '24 12:03 freak12techno

it highly depends on blocktimes. here might used the 6s, that's why it's not accurate.

liangping avatar Mar 11 '24 10:03 liangping

@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

freak12techno avatar Mar 11 '24 11:03 freak12techno