diff --git a/cli/smartcontract/smart_contract.go b/cli/smartcontract/smart_contract.go index 00c0cce898..de8cb4c491 100644 --- a/cli/smartcontract/smart_contract.go +++ b/cli/smartcontract/smart_contract.go @@ -374,6 +374,9 @@ func initSmartContract(ctx *cli.Context) error { } gm := []byte("module " + contractName + ` + +go 1.19 + require ( github.com/nspcc-dev/neo-go/pkg/interop ` + ver + ` )`) diff --git a/go.mod b/go.mod index 10d26c5956..9ea3fa5221 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,7 @@ module github.com/nspcc-dev/neo-go +go 1.19 + require ( github.com/chzyer/readline v1.5.1 github.com/consensys/gnark v0.9.1 @@ -76,5 +78,3 @@ require ( google.golang.org/protobuf v1.31.0 // indirect rsc.io/tmplfunc v0.0.3 // indirect ) - -go 1.19