confio / poe-contracts

Tgrade PoE smart contracts
Apache License 2.0
25 stars 11 forks source link

bug when defining the jailing start time #162

Closed HannuProd closed 2 years ago

HannuProd commented 2 years ago

image

Screenshot 2022-07-19 at 10 20 47

There is a issue with calculating the start time of a jailing proposal:

if the proposal was created at that date (June 30) then it's correct (expiration is 2 weeks later) Perhaps what's confusing (or plain wrong), is that it should be two weeks since the proposal is executed, not created. Executed is better. Because that's when the jailing is effectively being enforced.

ueco-jb commented 2 years ago

Wrong repository.