ethereum / go-verkle

A go implementation of Verkle trees

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Possible redundant code in proof reconstruction

gballet opened this issue · comments

From @jsign in #384 :

I still feel this if is a bit strange. We're reconstructing the values to be assigned in the leaf when we'll soon create the LeafNode.

But see what we do in CreatePath(...):

Is the latter needed? Or a noop? Or maybe I'm missing something.

This looks like leftover code from a previous version of the tree API. I didn't want to remove it just yet, but it looks like this is redundant.