Merge pull request #3318 from nspcc-dev/TestContractInitAndCompile

This commit is contained in:
Roman Khimov 2024-02-19 21:49:22 +03:00 committed by GitHub
commit f94df6c013
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View file

@ -374,6 +374,9 @@ func initSmartContract(ctx *cli.Context) error {
} }
gm := []byte("module " + contractName + ` gm := []byte("module " + contractName + `
go 1.19
require ( require (
github.com/nspcc-dev/neo-go/pkg/interop ` + ver + ` github.com/nspcc-dev/neo-go/pkg/interop ` + ver + `
)`) )`)

4
go.mod
View file

@ -1,5 +1,7 @@
module github.com/nspcc-dev/neo-go module github.com/nspcc-dev/neo-go
go 1.19
require ( require (
github.com/chzyer/readline v1.5.1 github.com/chzyer/readline v1.5.1
github.com/consensys/gnark v0.9.1 github.com/consensys/gnark v0.9.1
@ -76,5 +78,3 @@ require (
google.golang.org/protobuf v1.31.0 // indirect google.golang.org/protobuf v1.31.0 // indirect
rsc.io/tmplfunc v0.0.3 // indirect rsc.io/tmplfunc v0.0.3 // indirect
) )
go 1.19