-
Notifications
You must be signed in to change notification settings - Fork 175
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
Capital letters for constants, spaces between functions #89
Conversation
working on test codes.. |
casper/contracts/simple_casper.v.py
Outdated
self.base_interest_factor = _base_interest_factor | ||
self.base_penalty_factor = _base_penalty_factor | ||
self.min_deposit_size = _min_deposit_size | ||
_EPOCH_LENGTH: int128, _WITHDRAWAL_DELAY: int128, _DYNASTY_LOGOUT_DELAY: int128, |
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.
not sure if we need to capitalize these function parameters.
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.
asked the sharding smc developer @NIC619 , the uppercased function parameters are not part of any style guide. so lower_case_with_underscores
without leading underscore is advisable here.
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.
Okay, I'll change it.
@beneficial02 Have you been able to setup your local environment for testing? The README doesn't explain.. I can give you a hand if you need :) |
Thanks for the kind words! I did
So I finished to change the test codes and it passes all the tests except |
you should skip |
Yes |
Yeah.. the repo has a lot of extra bits of code left over from previous iterations. Need to clean it up some time.. |
LGTM! |
tried to address #88