core: extend native Neo interop API
Add GetAllCandidates and GetCandidateVote methods.
This commit is contained in:
parent
5e2a81ad03
commit
5123b88c36
2 changed files with 20 additions and 1 deletions
|
@ -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},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue