You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The logic for determining if a proposal is passed for a multisig with a ThresholdResponse includes an option for considering a expired proposal as passed:
That condition will never be reached though as the proposal's status is only updated on a vote. It is impossible to vote on an expired proposal so there will never be an update_status call which will flip such a proposal to Status::Passed.
It is only possible to execute a passed proposal which has been set to passed via a call to update_status:
Open to thoughts here. Seems to me that logic should either be removed or the status check should call prop.current_status() instead of using the one in storage.
The text was updated successfully, but these errors were encountered:
The logic for determining if a proposal is passed for a multisig with a
ThresholdResponse
includes an option for considering a expired proposal as passed:cw-plus/contracts/cw3-fixed-multisig/src/state.rs
Lines 78 to 81 in 5c871af
That condition will never be reached though as the proposal's status is only updated on a vote. It is impossible to vote on an expired proposal so there will never be an
update_status
call which will flip such a proposal toStatus::Passed
.It is only possible to execute a passed proposal which has been set to passed via a call to
update_status
:cw-plus/contracts/cw3-fixed-multisig/src/contract.rs
Lines 189 to 191 in 5c871af
Open to thoughts here. Seems to me that logic should either be removed or the status check should call
prop.current_status()
instead of using the one in storage.The text was updated successfully, but these errors were encountered: