-
Notifications
You must be signed in to change notification settings - Fork 891
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
5098 branch 22 update more invalid params #7472
5098 branch 22 update more invalid params #7472
Conversation
Signed-off-by: Matilda Clerke <[email protected]>
…ion, apply spotless Signed-off-by: Matilda Clerke <[email protected]>
…ion, apply spotless Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
…-branch-2-update-invalid-accounts-params
Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
…' into 5098-branch-3-update-invalid-address-hash-params
Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
…-branch-2-update-invalid-accounts-params
…' into 5098-branch-3-update-invalid-address-hash-params
Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
…-branch-2-update-invalid-accounts-params
…' into 5098-branch-3-update-invalid-address-hash-params
Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
…ounts-params' into 5098-branch-2-update-invalid-accounts-params
…' into 5098-branch-3-update-invalid-address-hash-params
…rams' into 5098-branch-4-update-invalid-address-params
Signed-off-by: Matilda Clerke <[email protected]>
…' into 5098-branch-3-update-invalid-address-hash-params
…rams' into 5098-branch-4-update-invalid-address-params
…ss-blob-gas-params' into 5098-branch-17-update-extra-data-and-filter-params
…params' into 5098-branch-18-update-more-invalid-params
…nto 5098-branch-19-update-more-invalid-params
Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda-Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
…nto 5098-branch-22-update-more-invalid-params
Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda-Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
…id-params' into 5098-branch-22-update-more-invalid-params
Signed-off-by: Matilda Clerke <[email protected]>
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.
couple of nits
transactionHash = requestContext.getRequiredParameter(0, Hash.class); | ||
} catch (Exception e) { // TODO:replace with JsonRpcParameter.JsonRpcParameterException | ||
throw new InvalidJsonRpcParameters( | ||
"Invalid transaction has parameter (index 0)", |
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.
"Invalid transaction has parameter (index 0)", | |
"Invalid transaction hash parameter (index 0)", |
.orElse(TraceOptions.DEFAULT); | ||
} catch (Exception e) { // TODO:replace with JsonRpcParameter.JsonRpcParameterException | ||
throw new InvalidJsonRpcParameters( | ||
"Invalid transaction trace parameters (index 1)", |
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.
"Invalid transaction trace parameters (index 1)", | |
"Invalid transaction trace parameter (index 1)", |
.orElse(TraceOptions.DEFAULT); | ||
} catch (Exception e) { // TODO:replace with JsonRpcParameter.JsonRpcParameterException | ||
throw new InvalidJsonRpcParameters( | ||
"Invalid transaction trace parameters (index 2)", |
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.
"Invalid transaction trace parameters (index 2)", | |
"Invalid transaction trace parameter (index 2)", |
* 5098: Add RpcErrorTypes Signed-off-by: Matilda Clerke <[email protected]> --------- Signed-off-by: Matilda Clerke <[email protected]> Signed-off-by: Matilda-Clerke <[email protected]> Co-authored-by: Sally MacFarlane <[email protected]> Signed-off-by: Ade Lucas <[email protected]>
* 5098: Add RpcErrorTypes Signed-off-by: Matilda Clerke <[email protected]> --------- Signed-off-by: Matilda Clerke <[email protected]> Signed-off-by: Matilda-Clerke <[email protected]> Co-authored-by: Sally MacFarlane <[email protected]> Signed-off-by: gconnect <[email protected]>
PR description
Update remaining RpcErrorTypes
Fixed Issue(s)
#5098