Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 1021 Bytes

File metadata and controls

47 lines (31 loc) · 1021 Bytes

Instructions

Issue

Upon running tests with go test -v -run TestReproduceTree 2>&1 | head -20 we observed failures.


Seed: e185b45a682b5f37
=== RUN   TestReproduceTree
    verkle_test.go:84: could not verify proof: post tree root mismatch: 3218a1214afce3ab490d042
86f1e0e3177e9b74b4fb6fcc442ab2f27365ec5bb !=                                                   --- FAIL: TestReproduceTree (0.74s)
FAIL
exit status 1
FAIL    github.com/ethereum/go-ethereum/trie    1.152s

Fix

We updated go.mod to fix failing tests TestReproduceTree and TestReproduceCondrieuPoAStemConflictWithAnotherStem

Open go.mod and add the following line

replace github.com/ethereum/go-verkle => ../go-verkle

Install the updates dependency, and from the root directory run:

go mod tidy

Confirm the changes take effect

go list -m github.com/ethereum/go-verkle   

Now under the trie directory, run

go test -v -run TestReproduceTree 2>&1 | head -20   

The tests should now pass