Switch to `BinaryTrie` state
See original GitHub issueWhat is wrong?
Shard chains use BinaryTrie
for better efficiency.
See https://github.com/ethereum/wiki/wiki/Wishlist#trie
How can it be fixed
- Set
BinaryTrie
as the default trie ofFlatTrieBackend
. - Apply
FlatTrieBackend
in most sharding tests.
Will switch transaction trie and receipt trie in other tickets.
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
Extended Binary Tree - GeeksforGeeks
Extended binary tree is a type of binary tree in which all the null sub tree of the original tree are replaced with...
Read more >Ethereum state tree format change using an overlay - Medium
This overlay tree is a binary tree, and its role is to hold all the changes happening to the state, until the base...
Read more >Binary Search Trees: BST Explained with Examples
The BST is built on the idea of the binary search algorithm, which allows for fast lookup, insertion and removal of nodes.
Read more >Binary Trees - andrew.cmu.ed
A binary tree is made of nodes, where each node contains a "left" ... Trees are very flexible data, allowing to move subtrees...
Read more >Binary tree - Wikipedia
tree data structure in which each node has at most two children, which are referred to as the left child and the right...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ahh I see. I was under the wrong impression. If this is the case, then there won’t be a consensus failure problem.
And if sharing will only use
FlatTrieBackend
then I suppose we can just havetouch_account
raiseNotImplementedError
if used and remove the code that use it:Yes, did this in https://github.com/ethereum/py-evm/pull/291