native: allow to set candidate register price

This commit is contained in:
Evgeniy Stratonikov 2021-03-05 14:17:58 +03:00
parent b780a64b4d
commit 27fc28bd69
5 changed files with 84 additions and 1 deletions

View file

@ -110,8 +110,10 @@ func TestNativeHelpersCompile(t *testing.T) {
{"getCommittee", nil},
{"getGasPerBlock", nil},
{"getNextBlockValidators", nil},
{"getRegisterPrice", nil},
{"registerCandidate", []string{pub}},
{"setGasPerBlock", []string{"1"}},
{"setRegisterPrice", []string{"10"}},
{"vote", []string{u160, pub}},
{"unclaimedGas", []string{u160, "123"}},
{"unregisterCandidate", []string{pub}},