-
-
Notifications
You must be signed in to change notification settings - Fork 775
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
re-enable free kudos for Gitcoin Quests/Grants #6745
Conversation
Codecov Report
@@ Coverage Diff @@
## master #6745 +/- ##
==========================================
+ Coverage 26.70% 27.62% +0.92%
==========================================
Files 293 294 +1
Lines 27845 29035 +1190
Branches 4108 4430 +322
==========================================
+ Hits 7435 8021 +586
- Misses 20144 20699 +555
- Partials 266 315 +49
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just one question about the commented out section
app/kudos/views.py
Outdated
if profile.bulk_transfer_redemptions.filter(coupon=coupon).exists(): | ||
error = f'You have already redeemed this kudos.' | ||
return None, error, None | ||
#if profile.bulk_transfer_redemptions.filter(coupon=coupon).exists(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we actually want to remove this check or were these comments accidentally left in?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh that should be there :P
A few weeks ago, i noticed that with high gas prices on the eth network, the kudos minter was burning $200 per day in gas fees.
so i introduced a change to require people to pay their own gas, which would cut down the costs.
but following up on that today, it looks like this has really hurt the number of quest players, see below:
so i'm introducing this PR, which introduces a "not submitted" state to the kudos transfer object, wherein the kudos will be submitted to one's profile immediately, but not to their web3 wallet until the ethereum network isnt super expensive anymore.
hopefully this approach reaches the twin goal of keeping gitcoin's costs down AND also keeping quest usage up
from testing: