mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-23 03:41:34 +00:00
Merge pull request #3318 from nspcc-dev/TestContractInitAndCompile
This commit is contained in:
commit
f94df6c013
2 changed files with 5 additions and 2 deletions
|
@ -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 + `
|
||||
)`)
|
||||
|
|
4
go.mod
4
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
|
||||
|
|
Loading…
Reference in a new issue