protolambda / eth2-testnet-genesis

Create a genesis state for an Eth2 testnet
MIT License
46 stars 26 forks source link

Can't build with go1.19 #20

Closed selfuryon closed 1 year ago

selfuryon commented 1 year ago

Hello! I can't build eth2-testnet-genesis with go 1.19, I see this error:

...
vendor/golang.org/x/sys/unix/syscall.go:83:16: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
vendor/golang.org/x/sys/unix/syscall_linux.go:2256:9: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
vendor/golang.org/x/sys/unix/syscall_unix.go:118:7: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
vendor/golang.org/x/sys/unix/sysvshm_unix.go:33:7: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
...

Can we update go in go.mod to go 1.19? I checked it, I can compile that without any problem