rpc: use non-native NNS instead of native NNS in testchain

This commit is contained in:
Anna Shaleva 2021-05-14 19:38:04 +03:00
parent 4f1c50373f
commit 7180b2ce06
7 changed files with 93 additions and 61 deletions

View file

@ -458,7 +458,7 @@ var rpcClientTestCases = map[string][]rpcClientTestCase{
{
name: "positive",
invoke: func(c *Client) (interface{}, error) {
return c.GetNNSPrice()
return c.GetNNSPrice(util.Uint160{1, 2, 3})
},
serverResponse: `{"id":1,"jsonrpc":"2.0","result":{"state":"HALT","gasconsumed":"2007390","script":"EMAMDWdldEZlZVBlckJ5dGUMFJphpG7sl7iTBtfOgfFbRiCR0AkyQWJ9W1I=","stack":[{"type":"Integer","value":"1000000"}],"tx":null}}`,
result: func(c *Client) interface{} {