-
Notifications
You must be signed in to change notification settings - Fork 2.6k
contracts: Improve documentation of lazy deletion config #10582
Conversation
6864f43
to
c644a41
Compare
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.
A couple easy edits caught my eye when I saw this. 😃
Co-authored-by: Sacha Lansky <[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.
LGTM
frame/contracts/src/lib.rs
Outdated
@@ -255,10 +255,29 @@ pub mod pallet { | |||
type CallStack: smallvec::Array<Item = Frame<Self>>; | |||
|
|||
/// The maximum number of tries that can be queued for deletion. |
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.
Slightly ambiguous as "tries" could possibly be interpreted as "attempts" on first reading. Maybe fully qualify e.g. "contract storage tries"
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.
Good point. Changed the wording.
Co-authored-by: Andrew Jones <[email protected]>
bot merge |
Waiting for commit status. |
…10582) * Improve documentation of lazy deletion config * Apply suggestions from code review Co-authored-by: Sacha Lansky <[email protected]> * Update frame/contracts/src/lib.rs Co-authored-by: Andrew Jones <[email protected]> * Improve wording Co-authored-by: Sacha Lansky <[email protected]> Co-authored-by: Andrew Jones <[email protected]>
…10582) * Improve documentation of lazy deletion config * Apply suggestions from code review Co-authored-by: Sacha Lansky <[email protected]> * Update frame/contracts/src/lib.rs Co-authored-by: Andrew Jones <[email protected]> * Improve wording Co-authored-by: Sacha Lansky <[email protected]> Co-authored-by: Andrew Jones <[email protected]>
Just added some better documentation for two items after receiving some questions about them.