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

Double maps require explicit second hasher #44

Merged
merged 1 commit into from
Sep 28, 2019
Merged

Double maps require explicit second hasher #44

merged 1 commit into from
Sep 28, 2019

Conversation

JoshOrndorff
Copy link
Owner

@JoshOrndorff JoshOrndorff commented Sep 27, 2019

I thought I learned that from https://crates.parity.io/srml_support/storage/trait.StorageDoubleMap.html, but I don't see any mention of it there. I guess it's oral tradition.

I don't know anything about twox_128, what the other alternatives are, or their trade-offs. But this does compile now.

@shawntabrizi
Copy link
Contributor

shawntabrizi commented Sep 27, 2019

You learned it in the decl_storage macro docs: https://substrate.dev/rustdocs/master/srml_support_procedural/macro.decl_storage.html

@4meta5 4meta5 merged commit 907b460 into JoshOrndorff:some-structure Sep 28, 2019
robamler pushed a commit to robamler/demo-ml-blockchain-node that referenced this pull request Aug 5, 2021
Co-authored-by: Dan Forbes <dan@danforbes.dev>
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

Successfully merging this pull request may close these issues.

None yet

3 participants