dedis / onet

Overlay Network for distributed protocols
GNU Lesser General Public License v3.0
50 stars 29 forks source link

Upgrade onet to go1.17 #680

Closed JoaoAndreSa closed 2 years ago

JoaoAndreSa commented 2 years ago

I was trying to update to the new version of go1.17 (the one I was using was already pretty old v1.14), but I got this error. The same happens for go1.15 or go1.16. You think there is a chance you could update onet to work with the latest go version?

Screenshot 2021-09-27 at 11 40 09
ineiti commented 2 years ago

What is the onet version you're using? The current onet version is tested with go 1.15. Personally I use go 1.16.

I just pushed a PR to test with 1.17 - let's see how it rolls.

Please do copy/paste the text in a ``` ``` enclosure - it makes it more easy to read and search.

ineiti commented 2 years ago

So the onet version used in unlynx is 3.2.0, which effectively doesn't work with go 1.17. The latest version of onet, 3.2.10, manages to pass the test without problems.

-> Update onet to the latest version, and it should work. Hopefully it doesn't break anything else...