-
Notifications
You must be signed in to change notification settings - Fork 112
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
asset: Add extrinsic documentation #498
asset: Add extrinsic documentation #498
Conversation
This documentation provides a comprehensive overview of the 'create' function, describing its purpose, parameters, return values, potential errors, and the event it emits upon successful execution.
…nsic-documentation-#443
added documentation for issue function
Added documentation for status_change function.
Added documentation for vc_create function.
pallets/asset/src/lib.rs
Outdated
@@ -300,6 +300,34 @@ pub mod pallet { | |||
|
|||
Ok(()) | |||
} | |||
/// Creates a new asset entry within a specified space. |
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.
Please move the method documentation to top of the actual method which the doc is targeted for & match its indentation.
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.
Please review it again, as I have updated the documentation accordingly.
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
@vidyaa01 Run the cargo format for the ci test to pass.
Add the changes again, amend the commit and push the changes. |
Added documentation above the method and corrected the indentation accordingly.
a096b8c
to
17852ef
Compare
Hey @vatsa287 , I have made the changes you requested and pushed the changes to the PR. It shows me dismissed stale review which wasn't my intention, can you guide me on further steps? |
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
@amarts PTAL |
Comprehensive Documentation Update
This PR introduces comprehensive documentation for the following extrinsic functions in our pallet:
Each function now includes detailed Rustdoc comments covering:
Fixes: #443