Describe what you want implemented
We should add a method for querying the root of the tree.
Describe "Why" this is needed
In rusk we need to offer a node the root of the state when transactions are applied. See this issue.
Describe alternatives you've considered
We currently use the Store::hashand EncodeToVecto compute the state root every time the state is queried. This is horribly slow.
Describe what you want implemented We should add a method for querying the root of the tree.
Describe "Why" this is needed In
rusk
we need to offer a node the root of the state when transactions are applied. See this issue.Describe alternatives you've considered We currently use the
Store::hash
andEncodeToVec
to compute the state root every time the state is queried. This is horribly slow.