Skip to content

take snapshot for one-address-one-vote-ft strat#282

Merged
dbslone merged 1 commit intomainfrom
hotfix/take-snapshot-for-one-address-one-vote-ft-strategy
Jul 25, 2022
Merged

take snapshot for one-address-one-vote-ft strat#282
dbslone merged 1 commit intomainfrom
hotfix/take-snapshot-for-one-address-one-vote-ft-strategy

Conversation

@jacksonConrad
Copy link
Copy Markdown
Contributor

No description provided.

@jacksonConrad jacksonConrad requested review from dbslone and jbluks July 25, 2022 21:29
@dbslone dbslone merged commit 050055f into main Jul 25, 2022
@dbslone dbslone deleted the hotfix/take-snapshot-for-one-address-one-vote-ft-strategy branch July 25, 2022 21:30
jacksonConrad added a commit that referenced this pull request Jul 26, 2022
dbslone pushed a commit that referenced this pull request Jul 26, 2022
* Revert "take snapshot for one-address-one-vote-ft strat (#282)"

This reverts commit 050055f.

* Revert "CAS-204: Add NFT/FT restrictions to One Address One Vote strategy (#218)"

This reverts commit 4866348.

* update order of migration files

* remove one adderess one vote migrations

* fixes migrations so migrating up/down should work smoothly, and production migration will not fail

* fetch NFT vote weight during createVote properly

* fixes SQL for fetching votes w/ balances on proposals that don't reference block_height (i.e. NFT strategies)
dbslone added a commit that referenced this pull request Jul 26, 2022
* Revert "take snapshot for one-address-one-vote-ft strat (#282)"

This reverts commit 050055f.

* Revert "CAS-204: Add NFT/FT restrictions to One Address One Vote strategy (#218)"

This reverts commit 4866348.

* update order of migration files

* remove one adderess one vote migrations

* fixes migrations so migrating up/down should work smoothly, and production migration will not fail

* fetch NFT vote weight during createVote properly

* fixes SQL for fetching votes w/ balances on proposals that don't reference block_height (i.e. NFT strategies)

* shows vote weight in Votes list instead of balance (weight is more general)

Co-authored-by: David Slone <dbslone@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants