-
Notifications
You must be signed in to change notification settings - Fork 350
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
Migrate from IntKey
to new naked int key
#549
Comments
Closed
ueco-jb
changed the title
Migrate from
Migrate from Nov 30, 2021
IntKey
to new Key
typeIntKey
to new naked int key
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Follow up of #472.
Since new
Key
wrapper type was added in #547, now it's time to start actually deprecatingIntKey
type usage.Change default prefix's type from
IntKey
toa naked int key in some contract as an example.Key
Tests in, for example,
map.rs
fromstorage-plus
could be adapted as well:https://github.com/CosmWasm/cw-plus/blob/main/packages/storage-plus/src/map.rs#L272
Example in contract: https://github.com/CosmWasm/cw-plus/blob/main/contracts/cw3-flex-multisig/src/state.rs#L156-L157
The text was updated successfully, but these errors were encountered: