-
Notifications
You must be signed in to change notification settings - Fork 10
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
Network technical debt input validation #263
Network technical debt input validation #263
Conversation
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.
LGTM but I would add a small paragraph on CONTRIBUTING to explain this
…vechainfoundation/thor-sdk-js into network-technical-debt-input-validation
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.
Nice! Left a minor consideration on how conditions are specified in the asserts
packages/core/src/encoding/rlp/helpers/compactfixedhexblobkind.ts
Outdated
Show resolved
Hide resolved
…vechainfoundation/thor-sdk-js into network-technical-debt-input-validation
@pierobassa All conditions are corrected. Please take a look, 4 eyes are better than one. @fabiorigam I also added stuff in contributing.md |
Standardise the way to validate inputs with
assertInput
function instead ofif(condition) throw buildError(...)