core: extend native Neo interop API

Add GetAllCandidates and GetCandidateVote methods.
This commit is contained in:
Anna Shaleva 2022-05-05 15:38:41 +03:00
parent 5e2a81ad03
commit 5123b88c36
2 changed files with 20 additions and 1 deletions

View file

@ -144,6 +144,8 @@ func TestNativeHelpersCompile(t *testing.T) {
}
runNativeTestCases(t, cs.NEO.ContractMD, "neo", append([]nativeTestCase{
{"getCandidates", nil},
{"getAllCandidates", nil},
{"getCandidateVote", []string{pub}},
{"getCommittee", nil},
{"getGasPerBlock", nil},
{"getNextBlockValidators", nil},