onflow / flow-cli

The Flow CLI is a command-line interface that provides useful utilities for building Flow applications
https://onflow.org
Apache License 2.0
206 stars 62 forks source link

Binstat bug affecting Windows #1510

Closed jribbink closed 2 months ago

jribbink commented 2 months ago

Windows users are getting an error:

ERROR: BINSTAT: INTERNAL: t1=14474122186900 but t2=14474122186900

This has to do with the CGO build & the latest versions of flow-go have fixed this. We must update to latest flow-go for both master & feature/stable-cadence branch

bymi15 commented 2 months ago

Getting the same error when installing on windows.

panic: ERROR: BINSTAT: INTERNAL: t1=120809731806200 but t2=120809731806200

goroutine 1 [running]:
github.com/onflow/flow-go/utils/binstat.init.0()
        /root/go/pkg/mod/github.com/onflow/flow-go@v0.34.0-crescendo-preview.9.0.20240403221216-33c1de004dc1/utils/binstat/binstat.go:246 +0xefa
jribbink commented 2 months ago

This issue has been solved in the latest releases of the Flow CLI (both Cadence 1.0 Preview & regular CLI release) @bymi15