-
Notifications
You must be signed in to change notification settings - Fork 11
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
Function issues: naming, exposing and params #50
Comments
The |
Originally posted by @minh-bq in #22 (comment) ronin-dpos-contracts/contracts/ronin/StakingVesting.sol Lines 99 to 119 in 2ef51c7
|
The public key can be set to external since no function in the contract call it #22 (comment)
|
Originally posted by @nxqbao in #22 (comment)
Suggestion: Using String lib from OZ if(!_validatorContract.isValidatorCandidate(_poolAddr)) {
revert(string(abi.encodePacked(
"StakingManager: query for non-existent pool ",
Strings.toHexString(_poolAddr)
)));
} |
Naming issues posted by @nxqbao: |
Originally posted by @ducthotran2010 in #22 (comment)
|
ronin-dpos-contracts/contracts/ronin/validator/RoninValidatorSet.sol
Line 821 in 2ef51c7
Originally posted by @minh-bq in #22 (comment)
The text was updated successfully, but these errors were encountered: