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

[Feature]: Storage abstraction #22619

Closed
kimurayu45z opened this issue Nov 22, 2024 · 1 comment
Closed

[Feature]: Storage abstraction #22619

kimurayu45z opened this issue Nov 22, 2024 · 1 comment

Comments

@kimurayu45z
Copy link
Contributor

Summary

As I read ADR-065, I understood that a lot of efforts are put for enhancing the performance of KVStore.

I want to propose to improve also the developers experience of operations in KVStore.
Now Cosmos SDK requires developers to operate KVStore directly with global defined key prefix bytes.
The developers experience is very bad.

How about creating storage abstraction package like cosmossdk.io/storage-abstraction?

cw-storage-plus is a very good example in CosmWasm which is very close to what I want to say. By using this package, developers can access storage without directly managing key prefix bytes.
https://github.com/CosmWasm/cw-storage-plus

Problem Definition

No response

Proposed Feature

  • Storage abstraction package
@tac0turtle
Copy link
Member

this sounds like https://github.com/cosmos/cosmos-sdk/tree/main/collections. Have you looked at this?

@github-project-automation github-project-automation bot moved this from 📋 Backlog to 🥳 Done in Cosmos-SDK Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🥳 Done
Development

No branches or pull requests

2 participants