mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-05 23:55:11 +00:00
native: add refuel
method to GAS contract
This commit is contained in:
parent
0114f9a912
commit
ac601601c1
5 changed files with 128 additions and 2 deletions
|
@ -136,7 +136,9 @@ func TestNativeHelpersCompile(t *testing.T) {
|
|||
{"unclaimedGas", []string{u160, "123"}},
|
||||
{"unregisterCandidate", []string{pub}},
|
||||
}, nep17TestCases...))
|
||||
runNativeTestCases(t, cs.GAS.ContractMD, "gas", nep17TestCases)
|
||||
runNativeTestCases(t, cs.GAS.ContractMD, "gas", append([]nativeTestCase{
|
||||
{"refuel", []string{u160, "123"}},
|
||||
}, nep17TestCases...))
|
||||
runNativeTestCases(t, cs.Oracle.ContractMD, "oracle", []nativeTestCase{
|
||||
{"getPrice", nil},
|
||||
{"request", []string{`"url"`, "nil", `"callback"`, "nil", "123"}},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue