Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

smartcontract: fix go version mismatch in TestContractInitAndCompile #3318

Merged
merged 2 commits into from
Feb 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions cli/smartcontract/smart_contract.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 + `
)`)
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -76,5 +78,3 @@ require (
google.golang.org/protobuf v1.31.0 // indirect
rsc.io/tmplfunc v0.0.3 // indirect
)

go 1.19
Loading