core: allow to overload contract methods
Multiple methods with different parameter count can co-exist.
This commit is contained in:
parent
32e86785fa
commit
73f888f02e
10 changed files with 67 additions and 40 deletions
|
@ -227,9 +227,8 @@ func TestContractDeploy(t *testing.T) {
|
|||
Offset: 0,
|
||||
Parameters: []manifest.Parameter{
|
||||
manifest.NewParameter("isUpdate", smartcontract.BoolType),
|
||||
manifest.NewParameter("param", smartcontract.IntegerType),
|
||||
},
|
||||
ReturnType: smartcontract.VoidType,
|
||||
ReturnType: smartcontract.ArrayType,
|
||||
},
|
||||
}
|
||||
nefD, err := nef.NewFile(deployScript)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue