daostack / infra

GNU General Public License v3.0
25 stars 22 forks source link

GenesisProtocol.getBoostedProposalsCount is scoped across DAOs #15

Closed dkent600 closed 5 years ago

dkent600 commented 6 years ago

GenesisProtocol.getBoostedProposalsCount is scoped to the given "organization" which by default is going to be the contract that created the proposal. (See #12.)

Suppose:

  1. you have two DAOs, each using the universal contract ContributionReward.
  2. create and stake on a ContributionReward proposal in each DAO
  3. call GenesisProtocol.getBoostedProposalsCount, passing the address of ContributionReward

The result will be 2. Logically though, it seems like it ought to be 1 for each DAO.

dkent600 commented 6 years ago

The threshold is similarly scoped. Same for all of the events.