Add batch voting for proposals #26

Merged
bumi merged 2 commits from features/batch-voting into master 2018-04-24 12:40:16 +00:00
bumi commented 2018-04-15 16:16:35 +00:00 (Migrated from github.com)

The batchVote function accepts an array of proposal ids and votes for
every one.
Normally arrays without fix length are problematic and gas usage can not be
estimated really well. So we need to see how that works or what other
pattern could be used.

The batchVote function accepts an array of proposal ids and votes for every one. Normally arrays without fix length are problematic and gas usage can not be estimated really well. So we need to see how that works or what other pattern could be used.
fsmanuel commented 2018-04-24 12:37:41 +00:00 (Migrated from github.com)

@bumi can you rebase? I'm working on kredits-web for this. Need to test if it works.

@bumi can you rebase? I'm working on `kredits-web` for this. Need to test if it works.
bumi commented 2018-04-24 12:39:29 +00:00 (Migrated from github.com)

done, conflict should be resolved.

done, conflict should be resolved.
fsmanuel (Migrated from github.com) approved these changes 2018-04-24 12:40:08 +00:00
fsmanuel commented 2018-04-24 12:40:57 +00:00 (Migrated from github.com)

I need to build the abis again, right?

I need to build the abis again, right?
bumi commented 2018-04-24 12:43:27 +00:00 (Migrated from github.com)

yes, otherwise the JS does not know about the new function.
npm run build-json should do the trick?

I am not sure if it is good to add the ABI changes in the PR it could easily cause conflicts - similar to a gemfile.lock or similar. - So I think it is better to build them in master? what do you think? how should we handle this in the future?

yes, otherwise the JS does not know about the new function. `npm run build-json` should do the trick? I am not sure if it is good to add the ABI changes in the PR it could easily cause conflicts - similar to a gemfile.lock or similar. - So I think it is better to build them in master? what do you think? how should we handle this in the future?
fsmanuel commented 2018-04-24 12:47:50 +00:00 (Migrated from github.com)

I was wondering the same. I guess if we rebase/merge master before we merge the PR we should commit the ABI changes in the PR.

I was wondering the same. I guess if we rebase/merge master before we merge the PR we should commit the ABI changes in the PR.
Sign in to join this conversation.
No description provided.