-
Notifications
You must be signed in to change notification settings - Fork 355
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
Small storage-plus docs update #442
Conversation
part of them. We can efficiently allow pagination over these items as | ||
well, starting at the point the last query ended, with low gas costs. | ||
This requires the `iterator` feature to be enabled in `cw-storage-plus` | ||
(which automatically enables it in `cosmwasm-std` as well). | ||
(which automatically enables it in `cosmwasm-std` as well, and which is | ||
enabled by default). |
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.
IMO this sentence sounds bit confusing.
We can efficiently allow pagination (...). This requires the
iterator
feature to be enabled incw-storage-plus
(which automatically enables it incosmwasm-std
as well, and which is enabled by default).
Maybe change to something like this?
This requires the
iterator
feature to be enabled incw-storage-plus
(it is enabled by default; it also automatically enables it incosmwasm-std
).
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 would reorder one sentence, beside that
LGMT
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.
Thanks for this fix
Exclusive(&'a [u8]), | ||
pub enum Bound { | ||
Inclusive(Vec<u8>), | ||
Exclusive(Vec<u8>), |
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.
We don't have None anymore, right? Just Option<Bound>
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.
True, missed that.
Closes #435