Skip to content

Commit

Permalink
Merge pull request #3318 from nspcc-dev/TestContractInitAndCompile
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-khimov authored Feb 19, 2024
2 parents 71fb759 + 5128b84 commit f94df6c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
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

0 comments on commit f94df6c

Please sign in to comment.