neoneo-go/pkg
Tatiana Nesterenko f3760c1a98 rpcsrv: return ErrUnknownSession and ErrUnknownIterator
Behaviour change.
`terminatesession` returns ErrUnknownSession in case of impossibility of finding session,
previously there was no-error response with `false` result.
`traverseIterator`returns ErrUnknownSession in case of impossibility of finding session,
previously there was no-error response with default result; `traverseIterator`returns ErrUnknownIterator,
there were no such errors before.
Accordingly to proposal:
https://github.com/neo-project/proposals/pull/156
Also adding description of `traverseIterator` in docs/rpc.md.

Signed-off-by: Tatiana Nesterenko <tatiana@nspcc.io>
2023-08-16 14:16:14 +01:00
..
compiler compiler: add test for util.AbortMsg and util.AssertMsg 2023-08-10 12:54:07 +03:00
config vm: move JNumbers parsing precision under HFBasilisk 2023-08-10 13:14:16 +03:00
consensus *: use require.ErrorIs instead of require.True(t, error.Is()) 2023-05-04 17:03:47 +03:00
core core: rename ErrInvalidVerification and ErrInvalidInvocation 2023-08-16 14:00:24 +01:00
crypto *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
encoding *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
interop interop: support ABORTMSG, ASSERT, ASSERTMSG opcodes 2023-08-10 12:41:30 +03:00
io *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
neorpc neorpc: add deprecated error codes for C#-compatibility 2023-08-16 13:59:39 +01:00
neotest cli: fetch extended evet types from contract config 2023-05-31 15:53:41 +03:00
network network: forbid Notary contract to be a sender of main transaction 2023-08-01 17:44:24 +03:00
rpcclient rpcclient: fix test after 0.101.4 merge 2023-08-02 10:35:19 +03:00
services rpcsrv: return ErrUnknownSession and ErrUnknownIterator 2023-08-16 14:16:14 +01:00
smartcontract rpcbinding: check duplicating struct fields before binding generation 2023-08-11 17:48:54 +03:00
util *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
vm vm: move JNumbers parsing precision under HFBasilisk 2023-08-10 13:14:16 +03:00
wallet Merge pull request #2725 from nspcc-dev/move-cli-tests 2022-10-06 13:43:39 +07:00