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
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-plusProblem Definition
No response
Proposed Feature