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
All other traversals return an annotated HexaryTrieNode, but trie.root_node just returns the raw body. The inconsistency seems problematic (and annotations would be nice on the root, too!)
TODOs:
actually use self.traverse(()) under the hood for root_node
change locations that need the raw root node to either use self.root_node.raw or maybe a custom internal method for speed
add a breaking change notice to the CHANGELOG
The text was updated successfully, but these errors were encountered:
All other traversals return an annotated
HexaryTrieNode
, buttrie.root_node
just returns the raw body. The inconsistency seems problematic (and annotations would be nice on the root, too!)TODOs:
self.traverse(())
under the hood forroot_node
self.root_node.raw
or maybe a custom internal method for speedThe text was updated successfully, but these errors were encountered: