Description:
The smart contracts allow for the Milestone and Campaign reviewer to be changed. To change reviewer, one has to call tho action Change Reviewer (called by old reviewer) and Accept New Reviewer (called by new reviewer). These should be two buttons in the UI.
Task:
Change Reviewer button for Campaigns https://github.com/Giveth/lpp-campaign/blob/master/contracts/LPPCampaign.sol#L103 . This button should be visible only for current Campaign reviewer and should open a popup in which the reviewer can select new one from the reviewer whitelist. Calling this action should dispatch email to the newly nominated reviewer.Accept Reviewer Role button for Campaigns https://github.com/Giveth/lpp-campaign/blob/master/contracts/LPPCampaign.sol#L108 .Change Reviewer button for Milestones https://github.com/Giveth/lpp-milestones/blob/lp-1.0.0/contracts/Milestone.sol#L130Accept Reviewer Role button for Milestones https://github.com/Giveth/lpp-milestone/blob/master/contracts/LPPMilestone.sol#L95
Work time estimate:
5-10h
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
__This issue now has a funding of 300.0 DAI (300.0 USD @ $1.0/DAI) attached to it__ as part of the Ethereum Community Fund via ECF Web 3.0 Infrastructure Fund fund__.__
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
__Workers have applied to start work__.
These users each claimed they can complete the work by 12Â months from now.
Please review their action plans below:
1) cryptomental has applied to start work _(Funders only: approve worker | reject worker)_.
Hi. I would like to start working on this bounty after I finish with milestone donations. Estimated PR Wednesday EOD.
Learn more on the Gitcoin Issue Details page.
@cryptomental Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days
@cryptomental Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days
Hi! My giveth milestone donations bounty takes me more time than I had expected and I would like to be fair and not to block this bounty to others. I will therefore press 'stop' button on GitCoin to unblock it.
@vojtechsimetka I would love to pick up this task. I've started work already on this.
Hi @iamonuwa it is great that you picked it up immediately. All the best with the bounty!
@iamonuwa please feel free to work on this. This issue was funded by ECF so @mkosowsk needs to approve you. Thanks again for the funding!
Hi @iamonuwa, you are now approved :)
@cryptomental thank you
@vojtechsimetka am getting
{ code: -32603, message: "gas required exceeds allowance or always failing transaction" } when am sending a request to changeReviewer() (https://github.com/Giveth/lpp-campaign/blob/master/contracts/LPPCampaign.sol#L103)
@vojtechsimetka are you there?
Hi, what are the params that you are passing to the contract? Also did you try to increase the gas limit for that tx?
@vojtechsimetka am passing the newReviewer address as requested by the LPPCampaign. I did not increase the gas limit
@vojtechsimetka are you there?
@iamonuwa try adding extra gas like here. https://github.com/Giveth/giveth-dapp/blob/237a8d70c7d54e8f796a8972c189dd02c64a3a9a/src/services/DonationService.js#L129
@iamonuwa try adding extra gas like here.
giveth-dapp/src/services/DonationService.js
Line 129 in 237a8d7
return contract.mTransfer(encodedPledges, receiverId, {
Cool. Will do that now.
@iamonuwa Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days
@gitcoinbot work in progress
@vojtechsimetka how do I get the new reviewer's details. Am asking this because the second feature is for the new reviewer to accept the review request. Any field on the data that indicates you have a review request?
Hey @vojtechsimetka just wanted to check to see if you and @iamonuwa had a chance to sync on the above question :)
Hey @ceresstation Thanks for checking :) . Rather confusingly the answer is in the PR itself but I believe it is clear https://github.com/Giveth/giveth-dapp/pull/508#issuecomment-433014496
Ah, yep I missed that, thanks for clarifying!
I just implemented milestone recipient changing. Probably would be useful to look at for this work.
https://github.com/Giveth/giveth-dapp/commit/6b2dce556dccd661bf2daa127bd74348a727c11e
Also, note that I would recommend implementing this on top of the feature/new-milestones branch. It removes the accept phase when changing the milestone reviewer.
@gitcoinbot open issue - can you help us find another person for this issue
@mroberts10 I'll work on it and get it done now.
@iamonuwa is there something we need to do? :-D?
@iamonuwa just so you know, we made things easier... @ewingrj might have something to add
note, I edited the description a bit to reflect the current contracts
@iamonuwa Are you still on this?
@gitcoinbot I think we need a new person to tackle this
Hey @iamonuwa if you have any issues or are stuck on something feel free to join the riot chat and ask there: https://riot.im/app/#/room/#giveth-product-development:matrix.org
And you are also invited to our DApp meetings which happen at 6 pm Barcelona time every Friday at https://meet.jit.si/giveth-dapp ;-D
@toya999 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days
oooooo! https://gitcoin.co/issue/Giveth/giveth-dapp/489/1401
It looks like @toya999 is on the case! Message us if you have any issues Toya! Also we have dapp meetings every Monday at 7pm Barcelona time at https://meet.jit.si/giveth-dapp if you want to join ;-)
Much love!
@toya999 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days
@toya999 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days
@toya999 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days
@toya999 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days
@toya999 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days
@toya999 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days
@toya999 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days
@toya999 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days
@toya999 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days
@toya999 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days
@toya999 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days
@toya999 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days