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

remove duplicate env key ETHERSCAN_API_KEY #7184

Merged
merged 2 commits into from
Aug 7, 2020

Conversation

walidmujahid
Copy link
Contributor

Description

remove duplicate .env key ETHERSCAN_API_KEY

Refers/Fixes
Testing

@codecov
Copy link

codecov bot commented Aug 5, 2020

Codecov Report

Merging #7184 into master will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7184      +/-   ##
==========================================
+ Coverage   26.19%   26.20%   +0.01%     
==========================================
  Files         297      297              
  Lines       29376    29375       -1     
  Branches     4339     4339              
==========================================
+ Hits         7695     7699       +4     
+ Misses      21410    21405       -5     
  Partials      271      271              
Impacted Files Coverage Δ
app/app/settings.py 82.35% <ø> (-0.06%) ⬇️
app/revenue/management/commands/kudos_revenue.py 65.62% <0.00%> (-1.57%) ⬇️
app/dashboard/embed.py 31.60% <0.00%> (+3.44%) ⬆️

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 920b0d6...4dfa190. Read the comment docs.

@walidmujahid walidmujahid changed the title remove duplicate .env key ETHERSCAN_API_KEY remove duplicate env key ETHERSCAN_API_KEY Aug 5, 2020
@@ -577,9 +577,6 @@ def callback(request):
GITHUB_API_TOKEN = env('GITHUB_API_TOKEN', default='') # TODO
GITHUB_APP_NAME = env('GITHUB_APP_NAME', default='gitcoin-local')

# Etherscan API
ETHERSCAN_API_KEY = env('ETHERSCAN_API_KEY', default='')
Copy link
Member

@thelostone-mc thelostone-mc Aug 5, 2020

Choose a reason for hiding this comment

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

Is this duplicated as well? I couldn't find it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@thelostone-mc That was the original line, however, PR #6940 added the duplicate to line 56, so I removed the original from L581 and kept then one from the PR. Same with the local.env file.

See:

ETHERSCAN_API_KEY = env('ETHERSCAN_API_KEY', default='YOUR-ETHERSCAN-KEY')

Copy link
Member

@thelostone-mc thelostone-mc left a comment

Choose a reason for hiding this comment

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

nice catch

@thelostone-mc thelostone-mc merged commit 379eb6e into gitcoinco:master Aug 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants