rpc-endpoint icon indicating copy to clipboard operation
rpc-endpoint copied to clipboard

chore(golang): Update to Go 1.22

Open ryanschneider opened this issue 1 year ago • 1 comments

📝 Summary

Update go.mod to go 1.21+ format w/ toolchain directive and update Docker container to use go 1.22.

⛱ Motivation and Context

Running go mod tidy w/ go 1.22 or higher wants to rewrite the go.mod with the new toolchain directive, which causes go 1.20 to die with an unrecognized directive error.

📚 References

https://go.dev/doc/toolchain


✅ I have run these commands

  • [x] make lint
  • [x] make test
  • [x] go mod tidy

ryanschneider avatar Aug 01 '24 17:08 ryanschneider

Forgot to mention this also updates geth to 1.14.7 which is the minimum supported version for go 1.21 and higher.

ryanschneider avatar Aug 01 '24 17:08 ryanschneider