You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Eth model assumes that key length is always 32 bytes (Zulip). We don't, but it complicates things for us.
Most contract devs use short keys, as they benefit from low costs, but it's possible to create a key of 2 KB size, which trie depth can be unpleasantly big. We should consider replacing these keys in trie with their hashes, so that trie depth will be always limited by 64 (nibbles).
If we proceed with other tree structure like AVL (discussion), then it won't be needed because tree depth will depend only on number of keys.
The text was updated successfully, but these errors were encountered:
Eth model assumes that key length is always 32 bytes (Zulip). We don't, but it complicates things for us.
Most contract devs use short keys, as they benefit from low costs, but it's possible to create a key of 2 KB size, which trie depth can be unpleasantly big. We should consider replacing these keys in trie with their hashes, so that trie depth will be always limited by 64 (nibbles).
If we proceed with other tree structure like AVL (discussion), then it won't be needed because tree depth will depend only on number of keys.
The text was updated successfully, but these errors were encountered: