neo-go/pkg
Anna Shaleva 82e52c4f6d rpcsrv: fix RPC error codes proposal compatibility
mempool.ErrInsufficientFunds is used when sender doesn't have enough
balance to pay the submitted transaction fees (-511 code according to
https://github.com/neo-project/proposals/pull/156). mempool.ErrConflict is
used when sender is not able to pay the overall transactions fee sum in
the pool (generic -500 error according to the proposal).

This bugfix is kind of breaking change for those users who relied on the
old -511 code previously returning "insufficient funds" error.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2024-03-18 18:05:19 +03:00
..
compiler compiler: add compatibility test for storage limits 2023-11-28 10:51:03 +03:00
config config: update validation with check committee 2024-01-22 10:25:23 +03:00
consensus *: regenerate all wallets with adjusted parameters 2024-03-01 19:19:03 +03:00
core native: clear LastGasPerVote when voting for NULL 2024-03-15 10:51:32 +03:00
crypto *: use v2 LRU, fix #3322 2024-03-05 18:39:17 +03:00
encoding *: drop go 1.18 support in doc and build targets 2023-10-12 17:59:42 +03:00
interop go.mod: upgrade minimum required Go version to 1.20 2024-03-05 13:54:10 +03:00
io *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
neorpc neorpc: add WS notification filter IsValid functionality 2023-12-28 11:08:46 +03:00
neotest neotest: reuse wallet.Account for contract signers 2023-12-21 11:27:41 +03:00
network *: add nolint comment to deprecated math/rand usages 2024-03-05 13:54:10 +03:00
rpcclient rpc: add synchronisation for httptest.Server in tests 2024-03-13 11:41:43 +03:00
services rpcsrv: fix RPC error codes proposal compatibility 2024-03-18 18:05:19 +03:00
smartcontract go.mod: upgrade minimum required Go version to 1.20 2024-03-05 13:54:10 +03:00
util *: replace slice.Copy with bytes.Clone 2024-03-05 13:54:10 +03:00
vm *: replace slice.Copy with bytes.Clone 2024-03-05 13:54:10 +03:00
wallet *: regenerate all wallets with adjusted parameters 2024-03-01 19:19:03 +03:00