From 3aa858a69f324fe58ae804b30b0cb09c55c5a9c5 Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Wed, 11 Oct 2023 17:59:52 +0300 Subject: [PATCH] *: drop go 1.18 support in doc and build targets Signed-off-by: Anna Shaleva --- Makefile | 2 +- README.md | 2 +- pkg/core/transaction/fuzz_test.go | 2 -- pkg/encoding/bigint/fuzz_test.go | 3 --- pkg/network/fuzz_test.go | 2 -- pkg/vm/fuzz_test.go | 2 -- 6 files changed, 2 insertions(+), 11 deletions(-) diff --git a/Makefile b/Makefile index b663f4580..7fbbdb13d 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ REPONAME = "neo-go" NETMODE ?= "privnet" BINARY=neo-go BINARY_PATH=./bin/$(BINARY)$(shell go env GOEXE) -GO_VERSION ?= 1.18 +GO_VERSION ?= 1.19 DESTDIR = "" SYSCONFIGDIR = "/etc" BINDIR = "/usr/bin" diff --git a/README.md b/README.md index 278615782..82f89752e 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ NeoGo, `:latest` points to the latest release) or build yourself. ### Building -Building NeoGo requires Go 1.18+ and `make`: +Building NeoGo requires Go 1.19+ and `make`: ``` make diff --git a/pkg/core/transaction/fuzz_test.go b/pkg/core/transaction/fuzz_test.go index 8c2c16aa9..5892df508 100644 --- a/pkg/core/transaction/fuzz_test.go +++ b/pkg/core/transaction/fuzz_test.go @@ -1,5 +1,3 @@ -//go:build go1.18 - package transaction import ( diff --git a/pkg/encoding/bigint/fuzz_test.go b/pkg/encoding/bigint/fuzz_test.go index 63609353b..b515773a0 100644 --- a/pkg/encoding/bigint/fuzz_test.go +++ b/pkg/encoding/bigint/fuzz_test.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - package bigint import ( diff --git a/pkg/network/fuzz_test.go b/pkg/network/fuzz_test.go index f5c18956e..a0e5f5ccb 100644 --- a/pkg/network/fuzz_test.go +++ b/pkg/network/fuzz_test.go @@ -1,5 +1,3 @@ -//go:build go1.18 - package network import ( diff --git a/pkg/vm/fuzz_test.go b/pkg/vm/fuzz_test.go index da03fea54..25c605073 100644 --- a/pkg/vm/fuzz_test.go +++ b/pkg/vm/fuzz_test.go @@ -1,5 +1,3 @@ -//go:build go1.18 - package vm import (