Closed fearlessfe closed 3 months ago
Hello. I do not have a windows machine to test this on my side. Is there any way you could give me more info on the issue? Is it a matter of the hash protocol or byte manipulation of the hasher library? You could print the values at this line, it is where the core part of the hashing happens.
I print the input
the output is quite different, here is the result of linux amd64
next is the output of window 386
@ferranbt Any suggestion for further investigation?
It is not easy to figure out what is wrong with only that output. Please try to reproduce the issue with an example with less data (i.e. accumulator array with a couple of entries only).
It is not easy to figure out what is wrong with only that output. Please try to reproduce the issue with an example with less data (i.e. accumulator array with a couple of entries only).
@fearlessfe can you help?
Closing due to inactivity.
In window 386 environment, the result of HashTreeRoot is different with amd64(both window or linux)
the sample code and the data file is below.
when build
CGO_ENABLED=0 GOOS=windows GOARCH=386 go build main.go
, theepochRoot
is different epoch.txt