-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Make patricia-trie usable from Polkadot (WAS: Extract patricia-trie to its own repo) #8620
Comments
Tasks:
@rphmeier looks about right to you? I'd like to do the extractions asap to avoid merge conflicts down the line as people might be making changes to the in-tree versions of the crates. |
Move the rlp out of tree and use the crate from crates.io. Part of issue #8620.
Use triehash and trie-standardmap from crates.io Part of #8620.
Part of ##8620 NOTE: pending publication of v1.12 on crates.io
Looks about right. We might want to introduce a small crate just for the hash trait so other code (hashdb, triehash, etc.) can depend on it, and a separate crate for |
Sorry for not replying immediately to this thread. I don't agree with one of the points here, which is
great catch, sure!
historically, plain_hasher was a separate repo, but it's usecase is very specific for us, and after discussing it with Arkadiy, I decided to move it to parity to avoid maintenance burden. |
I have no strong opinion here, but I want to highlight that we should rename |
Closing the issue due to its stale state |
Along with various bits of generalization in it and its dependencies to make generic over hash function, hash type, and node encoding and decoding.
CC paritytech/polkadot#157
The text was updated successfully, but these errors were encountered: