From 174aa5d4e9551477ae8ac9dc6da0a12ba7182632 Mon Sep 17 00:00:00 2001 From: hunter-bera <133678627+hunter-bera@users.noreply.github.com> Date: Tue, 24 Sep 2024 15:26:38 -0400 Subject: [PATCH] use go 1.23 --- Makefile | 13 ++++++------- go.mod | 2 +- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index acb0bf4..389122c 100644 --- a/Makefile +++ b/Makefile @@ -28,26 +28,25 @@ endif ######################################################## # Target for building the application in all directories -build:; GOEXPERIMENT=rangefunc go build ./... +build:; go build ./... # Run the example applications run-%:; go run ./examples/$*/main.go start # Format lint: | - GOEXPERIMENT=rangefunc go run github.com/golangci/golangci-lint/cmd/golangci-lint run + go run github.com/golangci/golangci-lint/cmd/golangci-lint run # Test -# TODO - Remove the GOEXPERIMENT=rangefunc once Go 1.23 is released test: | - GOEXPERIMENT=rangefunc go test -v ./... + go test -v ./... # Format format: | - GOEXPERIMENT=rangefunc go run github.com/golangci/golangci-lint/cmd/golangci-lint run --fix + go run github.com/golangci/golangci-lint/cmd/golangci-lint run --fix generate: | - GOEXPERIMENT=rangefunc go generate ./... + go generate ./... tidy: | - go mod tidy \ No newline at end of file + go mod tidy diff --git a/go.mod b/go.mod index 58f2d6f..2f73d21 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/berachain/offchain-sdk -go 1.22.5 +go 1.23 require ( cosmossdk.io/log v1.3.0