Refactoring `Voting.enact()` - Multiple proposals
alcueca opened this issue · comments
Alberto Cuesta Cañada commented
Do we need multiple proposals into Voting.sol
?
I think that it is cleaner to allow one single enact()
call in Voting.sol
.
There are several ways to allow multiple calls to happen as a result of a voting:
- A function containing them in the contract function called by
enact()
. - A state machine where
enact()
allows to change to a state where several functions are allowed.
Alberto Cuesta Cañada commented
Done in #244