neoneo-go/pkg
Anna Shaleva a15e52ee3d rpc: adjust TestInvocationScriptCreationGood testcase
Although neo-go can handle both ByteArray and ByteString parameter
types, C# node can't, so let's use the common one for tests. Compat
test:
```
anna@kiwi:~/Documents/GitProjects/nspcc-dev/neo-go$ curl -d '{ "jsonrpc": "2.0", "id": 1, "method": "invokefunction", "params": ["50befd26fdf6e4d957c11e078b24ebce6291456f", "a", [{"type": "ByteString", "value": "AwEtR+diEK7HO+Oas9GG4KQP6Nhr+j1Pq/2le6E7iPlq"}] ]}' seed1.neo.org:10332 | json_pp
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1271    0  1070  100   201   2860    537 --:--:-- --:--:-- --:--:--  3398
{
   "jsonrpc" : "2.0",
   "id" : 1,
   "error" : {
      "message" : "Requested value 'ByteString' was not found.",
      "data" : "   at System.Enum.TryParseByName(RuntimeType enumType, ReadOnlySpan`1 value, Boolean ignoreCase, Boolean throwOnFailure, UInt64& result)\n   at System.Enum.TryParseUInt32Enum(RuntimeType enumType, ReadOnlySpan`1 value, UInt32 maxInclusive, Boolean ignoreCase, Boolean throwOnFailure, TypeCode type, UInt32& result)\n   at System.Enum.TryParse[TEnum](ReadOnlySpan`1 value, Boolean ignoreCase, Boolean throwOnFailure, TEnum& result)\n   at System.Enum.TryParse[TEnum](String value, Boolean ignoreCase, Boolean throwOnFailure, TEnum& result)\n   at Neo.SmartContract.ContractParameter.FromJson(JObject json)\n   at Neo.Plugins.RpcServer.<>c.<InvokeFunction>b__43_0(JObject p)\n   at System.Linq.Enumerable.SelectIListIterator`2.ToArray()\n   at Neo.Plugins.RpcServer.InvokeFunction(JArray _params)\n   at Neo.Plugins.RpcServer.ProcessRequestAsync(HttpContext context, JObject request)",
      "code" : -2147024809
   }
}
anna@kiwi:~/Documents/GitProjects/nspcc-dev/neo-go$ curl -d '{ "jsonrpc": "2.0", "id": 1, "method": "invokefunction", "params": ["50befd26fdf6e4d957c11e078b24ebce6291456f", "a", [{"type": "ByteArray", "value": "AwEtR+diEK7HO+Oas9GG4KQP6Nhr+j1Pq/2le6E7iPlq"}] ]}' seed1.neo.org:10332 | json_pp
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   507    0   307  100   200    161    105  0:00:01  0:00:01 --:--:--   266
{
   "result" : {
      "gasconsumed" : "104526",
      "notifications" : [],
      "stack" : [],
      "script" : "DCEDAS1H52IQrsc745qz0YbgpA/o2Gv6PU+r/aV7oTuI+WoRwB8MAWEMFG9FkWLO6ySLBx7BV9nk9v0m/b5QQWJ9W1I=",
      "state" : "FAULT",
      "exception" : "Called Contract Does Not Exist: 0x50befd26fdf6e4d957c11e078b24ebce6291456f"
   },
   "id" : 1,
   "jsonrpc" : "2.0"
}
```
2022-06-24 12:37:25 +03:00
..
compiler interop: wrap contract.LoadToken in context.LoadToken 2022-06-06 21:53:03 +03:00
config config: s/HF_Aspidochelone/Aspidochelone/ 2022-06-03 11:53:18 +03:00
consensus consensus: don't use WriteArray for PrepareRequests 2022-06-02 15:38:39 +03:00
core Merge pull request #2539 from nspcc-dev/rollback-methods-sorting 2022-06-14 22:09:23 +03:00
crypto crypto: adjust Checksum documentation 2022-05-13 13:20:40 +03:00
encoding Merge pull request #2531 from nspcc-dev/perf 2022-06-03 10:40:56 +03:00
interop core: adjust value of P2PNotary node role 2022-06-01 15:03:29 +03:00
io [#2442] English Check 2022-05-04 19:48:27 +03:00
neotest neotest: return failed tx hash 2022-05-19 13:56:24 +03:00
network transaction: fix Rules stringer, it's WitnessRules in C# 2022-05-07 12:05:25 +03:00
rpc rpc: adjust TestInvocationScriptCreationGood testcase 2022-06-24 12:37:25 +03:00
services core: move notary tests into the notary package 2022-06-08 23:07:28 +03:00
smartcontract gomod: upgrade yaml package from v2 to v3 2022-05-30 15:26:17 +03:00
util Merge pull request #2531 from nspcc-dev/perf 2022-06-03 10:40:56 +03:00
vm vm: optimize IsSignatureContract 2022-06-07 10:29:13 +03:00
wallet wallet: export SavePretty method 2022-06-09 09:47:18 +03:00