-
Notifications
You must be signed in to change notification settings - Fork 377
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
document the new ReceiptValidationError::ReceiptSizeExceeded
#2194
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.
Let's also add some comments to this page? https://docs.near.org/api/rpc/transactions
Also, we need to give some guidelines what should the user do in this case
(Contact the contract owner?)
I'm not sure if it deserves to be on the transactions page. It's a low level error, I don't see anything about other |
@jancionear Sorry for jumping in, but I'd like to invite you to participate in the Race of Sloths - a fun and gamified open-source contributions program. Consider mentioning @race-of-sloths user in your github comment or PR description to join! See how the flow works here: near/nearcore#11778 |
My comment is inspired by fef1566 |
I think there's a big difference between I agree that it'd be nice to have a detailed description of the error somewhere, but I'm hesitant to put it on the main transactions page. |
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.
I am fine without touching transactions page, and feel free to merge it as it is, but I still think it's better to leave additional comment here, right where you already added some lines, with the comment how should the user handle this
I added the longer comment under the existing short one. |
Add information about the new
ReceiptValidationError::ReceiptSizeExceeded
error added in near/nearcore#11492.I'm new to this repo, I looked at
ReceiptValidationError::InvalidDataReceiverId
and put information about my error in the same places.I also have a longer description of the error that users could find more useful, but I'm not sure where to put it. Can I replace the comment saying "/// Receipt is bigger than the limit."? Or should these docs stay in sync with the source files?
Longer description:
Refs: zulip conversation