neoneo-go/pkg/services
Roman Khimov fd2774ea91 rpcsrv: return core.ErrVerificationFailed from calculatenetworkfee
We can ignore core.ErrInvalidSignature (which means that the script has
executed, but returned false), but we shouldn't ignore other errors which
likely mean that the script is incorrect (or hits some resource limits).

Use neorpc.ErrInvalidSignature as a return to separate this case from
contract-based verification.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
2023-09-27 19:30:23 +03:00
..
helpers/rpcbroadcaster *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
metrics *: use CompareAndSwap instead of CAS for atomics 2023-04-28 12:07:19 +03:00
notary notary: avoid changing pooled fallback transaction witnesses 2023-08-29 16:06:40 +03:00
oracle oracle/neofs: avoid panic on failed neofs requests 2023-09-13 10:50:42 +03:00
rpcsrv rpcsrv: return core.ErrVerificationFailed from calculatenetworkfee 2023-09-27 19:30:23 +03:00
stateroot *: use require.ErrorIs instead of require.True(t, error.Is()) 2023-05-04 17:03:47 +03:00