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

ServiceRegistry() takes a token what token #739

Merged
merged 1 commit into from
Mar 13, 2019

Conversation

pirapira
Copy link
Contributor

a token for registration fees.

This closes #735

a token for registration fees.

This closes raiden-network#735
@pirapira pirapira requested a review from LefterisJP March 13, 2019 15:52

token = Token(_token_address);
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is the code duplicated? Both here and in raiden_contracts/contracts/services/ServiceRegistry.sol ?

Copy link
Contributor Author

@pirapira pirapira Mar 13, 2019

Choose a reason for hiding this comment

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

Just for historical reasons. I guess make compile_contracts and others should just look at data/source/..., and the duplication can be removed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes please let's do that, maintaining duplicated contract code sounds like a nightmare.

@LefterisJP LefterisJP merged commit 2f2a8b2 into raiden-network:master Mar 13, 2019
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.

Rename and document _token_address in ServiceRegistry constructor
2 participants