smartcontract: fix go version mismatch in TestContractInitAndCompile

Needs to updated dependencies inside the test for go1.18 and higher to
match with interop module.

Close #3152

Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
This commit is contained in:
Ekaterina Pavlova 2024-02-15 20:47:02 +03:00
parent 71fb759c0d
commit 5d425a6e45

View file

@ -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 + `
)`)