-
Notifications
You must be signed in to change notification settings - Fork 251
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
Implement clear rules for serializing keys in storage
module.
#7
Comments
I don't understand the problem from description. Big endian - is fine for storage table keys (as much as i understand big endian helps lexicographically (@defuz) )close keys to be put to memory caches simultaneously by db queries). After a brief look at PR i assume we have to implement either:
|
Removed Cargo.lock-s
Move consts to a separated section
updated faq page
Remove HashedKey from ProofMapIndex [ECR-2635]
Now we implicity that any types used as keys in storage table serialized to bytes in
big endian
order. But the trait for keys isAsRef<[u8]>
which cannot provide proper flexibility.See the PR for details.
The text was updated successfully, but these errors were encountered: