-
Notifications
You must be signed in to change notification settings - Fork 0
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
feature/refactor-constants #30
Conversation
Don't forget the changelog |
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.
some comments but after the fix, it will be good
const APP_ID = '0x0e7bc972c99187c191a17f3cae4a2711a4188c3f'; | ||
const DATASET_ID = '0x123456789012345678901234567890abcdefabcd'; |
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.
We can combine all appId
, APP_ID
, and eligibleAppId
into a single constant and and it to the constants file.
And move (optionally):
WORKERPOOL_ID, INVALID_ASSET_ID, APP_REGISTRY_ADDRESS,
DATASET_REGISTRY_ADDRESS, WORKERPOOL_REGISTRY_ADDRESS,
POCO_ADDRESS, VOUCHER_HUB_ADDRESS
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.
Good
fix Commit: 1b8552b
It enables me to find a bug
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.
Clean!
Thanks :) |
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.
Ok, thanks for refactoring 👍
No description provided.