Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE]: Governance contract - define the vote intention in transactions instead of using the block header #99

Open
1 task done
joticajulian opened this issue Mar 17, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@joticajulian
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

New feature

In the current implementation, the votes are taken from the headers of the block. This means that the miner has to configure the votes in the node and he can not use other tools like a wallet connected to a website to perform this operation.

One way to improve this is to define the vote intention inside transactions so the miner can use a wallet for that. The user only submits 1 transaction with the vote and each time he creates a block the contract will check in the storage what are the proposals selected by the miner and count votes. So, there is no need to submit a vote on each block, they are taken from the storage.

Anything else?

No response

@joticajulian joticajulian added the enhancement New feature or request label Mar 17, 2023
@koinos-ci
Copy link

This issue is stale because it has been open for 30 days with no activity.

@lukemwillis
Copy link

This would be a more efficient use of space for yes votes and likely better UX. This change would probably mean BurnKoin would need to deploy a new version of the pool contract to a new address and work with depositors to migrate their funds. Not a deal breaker for us, there are other improvements we want to make.

@koinos-ci koinos-ci removed the stale label Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants