manifest: remove EntryPoint from manifest

This commit is contained in:
Evgenii Stratonikov 2020-07-23 16:03:00 +03:00
parent d2c823daa6
commit e52c39ae7e
11 changed files with 23 additions and 93 deletions

View file

@ -520,13 +520,6 @@ func TestContractUpdate(t *testing.T) {
manifest := &manifest.Manifest{
ABI: manifest.ABI{
Hash: cs.ScriptHash(),
EntryPoint: manifest.Method{
Name: "Main",
Parameters: []manifest.Parameter{
manifest.NewParameter("NewParameter", smartcontract.IntegerType),
},
ReturnType: smartcontract.StringType,
},
},
Features: smartcontract.HasStorage,
}
@ -554,13 +547,6 @@ func TestContractUpdate(t *testing.T) {
newManifest := manifest.Manifest{
ABI: manifest.ABI{
Hash: hash.Hash160(newScript),
EntryPoint: manifest.Method{
Name: "Main",
Parameters: []manifest.Parameter{
manifest.NewParameter("VeryNewParameter", smartcontract.IntegerType),
},
ReturnType: smartcontract.StringType,
},
},
Features: smartcontract.HasStorage,
}