compiler: add test for hasMethod, update all go.mods

This commit is contained in:
Roman Khimov 2022-07-13 18:22:05 +03:00
parent 4f184498bc
commit f50bcf617a
25 changed files with 37 additions and 35 deletions

View file

@ -206,6 +206,7 @@ func TestNativeHelpersCompile(t *testing.T) {
{"destroy", nil},
{"getContract", []string{u160}},
{"getMinimumDeploymentFee", nil},
{"hasMethod", []string{u160, `"method"`, "0"}},
{"setMinimumDeploymentFee", []string{"42"}},
{"update", []string{"nil", "nil"}},
{"updateWithData", []string{"nil", "nil", "123"}},