-
Notifications
You must be signed in to change notification settings - Fork 334
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
Deprecate all cosmwasm-storage types #1636
Conversation
0858f89
to
1862505
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.
Thanks a lot!
pub const PREFIX_ACCOUNTS: &[u8] = b"accounts"; | ||
/// Upper bound for ranging over accounts | ||
const PREFIX_ACCOUNTS_UPPER_BOUND: &[u8] = b"accountt"; |
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.
Not for this PR, but it would be great to be able to calculate those things on demand with a well defined and well tested function. We do those things in a couple of places.
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.
Yes, there is namespace_upper_bound
in storage and in storage-plus there's increment_last_byte
and extend_one_byte
(though all of them are private).
I just didn't want to copy that over for just this.
Closes #1596