Skip to content
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

cw2: Move cw-storage-plus to [dev-dependencies] #36

Open
webmaster128 opened this issue Mar 7, 2024 · 0 comments
Open

cw2: Move cw-storage-plus to [dev-dependencies] #36

webmaster128 opened this issue Mar 7, 2024 · 0 comments

Comments

@webmaster128
Copy link
Member

In the future there can be contracts that do not use cw-storage-plus but still require cw2. To prepare for that we should try to remove the dependency on cw-storage-plus at runtime. The crate is designed to be simple enough to use raw storage access an manual deserialization. The storage key is always 636F6E74726163745F696E666F which can be hardcoded.

Keeping cw-storage-plus in [dev-dependencies] would allow us to check if cw2 writes an cw_store_plus::Item compatible storage entry or is able to read data written by cw_store_plus::Item.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant