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
These new_* methods seem to be specific to the MPT tree. Is there maybe a way in Rust to only define them on Node and then cast a Tree to a Node when these methods are needed?
AFAIK, there isn't. This being said, indeed a difference should be made, e.g. by introducing an inherited TreeWithExtension : Tree trait.
The text was updated successfully, but these errors were encountered:
This is a tracker for @s1na's question on #44
AFAIK, there isn't. This being said, indeed a difference should be made, e.g. by introducing an inherited
TreeWithExtension : Tree
trait.The text was updated successfully, but these errors were encountered: