dusk-network / microkelvin

Mozilla Public License 2.0
16 stars 6 forks source link

Allow for querying the root of the tree #85

Closed ureeves closed 2 years ago

ureeves commented 2 years ago

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.

miloszm commented 2 years ago

PR 101 from Kris should fix the issue

autholykos commented 2 years ago

Obsolete