Closed
Description
Originally posted by @ueco-jb in #60 (comment)
Currently that helper might change status, for example from Open
to Rejected
, if contract expires.
https://github.com/confio/poe-contracts/blob/main/packages/voting-contract/src/state.rs#L206-L208
We are using that to see most recent status when someone tries to vote.
Problem is, if status is Rejected
and we return an Error... Then proposal's status will be back Open
, because changes were not saved on returned error.
This will be confusing and we should mitigate that.
Metadata
Assignees
Labels
No labels
Activity