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

More Qa fixes #2902

Merged
merged 2 commits into from
Nov 21, 2018
Merged

More Qa fixes #2902

merged 2 commits into from
Nov 21, 2018

Conversation

captnseagraves
Copy link
Contributor

More Qa fixes for #2862 (comment)

remove ETH and add Any Token to token drop downs. Also, ensure that user cant select token if one required by grant creator. Core systems shouldnt be affected, but will test in morning.

…ser cant select token if one required by grant creator. Core systems shouldnt be affected, but will test in morning.
@captnseagraves captnseagraves self-assigned this Nov 21, 2018
@captnseagraves captnseagraves changed the base branch from master to grants November 21, 2018 00:27
@@ -291,6 +291,7 @@ def grant_fund(request, grant_id):
'active': 'fund_grant',
'title': _('Fund Grant'),
'subscription': {},
'grant_has_no_token': True if grant.token_address == '0x0000000000000000000000000000000000000000' else False,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@captnseagraves Somewhat similar to what we discussed about the not reserved word, you can do something like:

'grant_has_no_token': grant.token == '0x0000000000000000000000000000000000000000'

@codecov
Copy link

codecov bot commented Nov 21, 2018

Codecov Report

Merging #2902 into grants will decrease coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##           grants   #2902      +/-   ##
=========================================
- Coverage   30.23%   30.2%   -0.03%     
=========================================
  Files         169     169              
  Lines       13463   13454       -9     
  Branches     1765    1765              
=========================================
- Hits         4070    4064       -6     
+ Misses       9269    9266       -3     
  Partials      124     124
Impacted Files Coverage Δ
app/grants/models.py 94.28% <ø> (+3.14%) ⬆️
app/grants/views.py 19.59% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 12fbf0c...53b82ba. Read the comment docs.

@mbeacom mbeacom merged commit 3270bab into grants Nov 21, 2018
@mbeacom mbeacom deleted the qa_fixes branch November 21, 2018 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Gitcoin Grants Gitcoin Grants
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants