Skip to content

Conversation

@leonprou
Copy link
Contributor

@leonprou leonprou commented Jun 17, 2018

Description

Add CLN token (ERC20). links: https://cln.network, https://www.colu.com

Checklist
  • linter status: 100% pass
  • changes don't break existing behavior
  • commit message follows commit guidelines
Affected core subsystem(s)
  • dashboard
  • crypto
Testing

Based my PR on this #155

@leonprou
Copy link
Contributor Author

I think there's a problem with master..

{ 'addr': '0x2941deaad71adb02b944bd38ebce2f1f4c9a62dc', 'name': 'COLO', 'decimals': 18 },
{ 'addr': '0xeccb46ebe07c5a2b249586796f921ddfe0d46271', 'name': 'GIT', 'decimals': 18 }
{ 'addr': '0xeccb46ebe07c5a2b249586796f921ddfe0d46271', 'name': 'GIT', 'decimals': 18 },
{ 'addr': '0x41C9d91E96b933b74ae21bCBb617369CBE022530', 'name': 'CLN', 'decimals': 18 }
Copy link
Contributor

Choose a reason for hiding this comment

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

this is ropsten is the address the same on ropsten as it is mainnet?

{'addr': '0x4CEdA7906a5Ed2179785Cd3A40A69ee8bc99C466', 'name': 'AION', 'decimals': 8},
{"addr": "0x09617f6fd6cf8a71278ec86e23bbab29c04353a7", "name": "ULT", "decimals": 18},
{"addr": "0x4CEdA7906a5Ed2179785Cd3A40A69ee8bc99C466", "name": "AION", "decimals": 8},
{"addr": "0x4162178B78D6985480A308B2190EE5517460406D", "name": "CLN", "decimals": 18}
Copy link
Contributor

Choose a reason for hiding this comment

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

sorrry to be pedantic, but can you add a trailing comma to each of these lines so a future token adder won't have to edit your line to add their token?

{ 'addr': '0x0000000000000000000000000000000000000000', 'name': 'ETH', 'decimals': 18, 'priority': 999 },
{ 'addr': '0x2941deaad71adb02b944bd38ebce2f1f4c9a62dc', 'name': 'COLO', 'decimals': 18 },
{ 'addr': '0xeccb46ebe07c5a2b249586796f921ddfe0d46271', 'name': 'FOO', 'decimals': 18 }
{ 'addr': '0xeccb46ebe07c5a2b249586796f921ddfe0d46271', 'name': 'FOO', 'decimals': 18 },
Copy link
Contributor

Choose a reason for hiding this comment

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

same qeustion as below on ropsten

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@owocki no problem, it makes much easier to view the changes.
but now I've got a linting error and so I can't merge :(. Add a rule exception for that file?

@owocki
Copy link
Contributor

owocki commented Jun 17, 2018

created this for the test errors #1492

{ 'addr': '0x09617f6fd6cf8a71278ec86e23bbab29c04353a7', 'name': 'ULT', 'decimals': 18 },
{'addr': '0x4CEdA7906a5Ed2179785Cd3A40A69ee8bc99C466', 'name': 'AION', 'decimals': 8}
{ 'addr': '0x4CEdA7906a5Ed2179785Cd3A40A69ee8bc99C466', 'name': 'AION', 'decimals': 8 },
{ 'addr': '0x4162178B78D6985480A308B2190EE5517460406D', 'name': 'CLN', 'decimals': 18 },

Choose a reason for hiding this comment

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

Unexpected trailing comma. (comma-dangle)

{ 'addr': '0x2941deaad71adb02b944bd38ebce2f1f4c9a62dc', 'name': 'COLO', 'decimals': 18 },
{ 'addr': '0xeccb46ebe07c5a2b249586796f921ddfe0d46271', 'name': 'FOO', 'decimals': 18 }
{ 'addr': '0xeccb46ebe07c5a2b249586796f921ddfe0d46271', 'name': 'FOO', 'decimals': 18 },
{ 'addr': '0x41C9d91E96b933b74ae21bCBb617369CBE022530', 'name': 'CLN', 'decimals': 18 },

Choose a reason for hiding this comment

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

Unexpected trailing comma. (comma-dangle)

{'addr': '0x09617f6fd6cf8a71278ec86e23bbab29c04353a7', 'name': 'ULT', 'decimals': 18},
{'addr': '0x4CEdA7906a5Ed2179785Cd3A40A69ee8bc99C466', 'name': 'AION', 'decimals': 8}
{'addr': '0x4CEdA7906a5Ed2179785Cd3A40A69ee8bc99C466', 'name': 'AION', 'decimals': 8},
{'addr': '0x4162178B78D6985480A308B2190EE5517460406D', 'name': 'CLN', 'decimals': 18},

Choose a reason for hiding this comment

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

Unexpected trailing comma. (comma-dangle)

{ 'addr': '0x2941deaad71adb02b944bd38ebce2f1f4c9a62dc', 'name': 'COLO', 'decimals': 18 },
{ 'addr': '0xeccb46ebe07c5a2b249586796f921ddfe0d46271', 'name': 'GIT', 'decimals': 18 }
{ 'addr': '0xeccb46ebe07c5a2b249586796f921ddfe0d46271', 'name': 'GIT', 'decimals': 18 },
{ 'addr': '0x41C9d91E96b933b74ae21bCBb617369CBE022530', 'name': 'CLN', 'decimals': 18 },

Choose a reason for hiding this comment

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

Unexpected trailing comma. (comma-dangle)

@SaptakS SaptakS mentioned this pull request Jun 18, 2018
3 tasks
@owocki
Copy link
Contributor

owocki commented Jun 18, 2018

ahhh i didnt realize that would trip up the linter. my b.

@mbeacom are you okay with an exception for the linter error?

@leonprou when are you looking to ship your first bounty in this token? just trying to gauge your sense of urgency here. sorry this is taking a few days.

@ghost ghost assigned SaptakS Jun 18, 2018
@ghost ghost added the in progress label Jun 18, 2018
@codecov
Copy link

codecov bot commented Jun 18, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@3dc8c66). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1491   +/-   ##
=========================================
  Coverage          ?   28.31%           
=========================================
  Files             ?      125           
  Lines             ?     9233           
  Branches          ?     1188           
=========================================
  Hits              ?     2614           
  Misses            ?     6522           
  Partials          ?       97
Impacted Files Coverage Δ
app/dashboard/tokens.py 100% <ø> (ø)

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 3dc8c66...25b76ac. Read the comment docs.

@owocki owocki merged commit 809071d into gitcoinco:master Jun 18, 2018
@ghost ghost removed the in progress label Jun 18, 2018
@leonprou
Copy link
Contributor Author

leonprou commented Jun 19, 2018

@owocki Hey, been off for a day. I see you already merged and it's even deployed 😄 , So all suberb 👍

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.

4 participants