Add batch voting for proposals #26
No reviewers
Labels
No Label
good first issue
ipfs
rsk
scaling
bug
dev environment
docs
duplicate
enhancement
feature
idea
invalid
kredits-1
kredits-2
kredits-3
question
release
major
release
minor
release
patch
security
ui/ux
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: kredits/contracts#26
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "features/batch-voting"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
@bumi can you rebase? I'm working on
kredits-web
for this. Need to test if it works.done, conflict should be resolved.
I need to build the abis again, right?
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?
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.