Skip to content

Commit 4f250dc

Browse files
committed
fix: use node resolver for post values
Signed-off-by: Guillaume Ballet <[email protected]>
1 parent 99283b1 commit 4f250dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trie/verkle.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ func AddPostValuesToProof(postroot *VerkleTrie, proof *verkle.Proof) error {
295295
if postroot != nil {
296296
// Set the post values, if they are untouched, leave them `nil`
297297
for i := range proof.Keys {
298-
val, err := postroot.root.Get(proof.Keys[i], nil)
298+
val, err := postroot.root.Get(proof.Keys[i], postroot.FlatdbNodeResolver)
299299
if err != nil {
300300
return fmt.Errorf("error getting post-state value for key %x: %w", proof.Keys[i], err)
301301
}

0 commit comments

Comments
 (0)