neoneo-go/pkg
Roman Khimov a0f9743515 oracle/neofs: avoid panic on failed neofs requests
2023-09-13T06:04:07.114Z        WARN        failed to perform oracle request        {"url": "neofs:BE2c15AbYnKdcsVh77LisCtjifoNEJUekANo1yhQ211X/FMDZvqUCqcduZa8HD6wJNsHWrJ6sqkgBveGuYuL38pvH", "error": "header: status: code = 3072 message = container not found"}
  panic: runtime error: invalid memory address or nil pointer dereference
  [signal SIGSEGV: segmentation violation code=0x1 addr=0x50 pc=0xde7c8f]
  goroutine 302 [running]:
  github.com/nspcc-dev/neofs-sdk-go/client.(*PayloadReader).close(0x0?, 0x0?)
          github.com/nspcc-dev/neofs-sdk-go@v1.0.0-rc.11/client/object_get.go:200 +0x2f
  github.com/nspcc-dev/neofs-sdk-go/client.(*PayloadReader).Close(0x0?)
          github.com/nspcc-dev/neofs-sdk-go@v1.0.0-rc.11/client/object_get.go:229 +0x1e
  github.com/nspcc-dev/neo-go/pkg/services/oracle/neofs.clientCloseWrapper.Close({{0x14b45f8?, 0x0?}, 0xc0010a1380?})
          github.com/nspcc-dev/neo-go/pkg/services/oracle/neofs/neofs.go:97 +0x3c
  github.com/nspcc-dev/neo-go/pkg/services/oracle.(*Oracle).processRequest(0xc000255800, 0xc001dfa210, {0xb2d?, 0xc001ad8000?})
          github.com/nspcc-dev/neo-go/pkg/services/oracle/request.go:168 +0xee7
  github.com/nspcc-dev/neo-go/pkg/services/oracle.(*Oracle).runRequestWorker(0xc000255800)
          github.com/nspcc-dev/neo-go/pkg/services/oracle/request.go:36 +0xe5
  created by github.com/nspcc-dev/neo-go/pkg/services/oracle.(*Oracle).start
          github.com/nspcc-dev/neo-go/pkg/services/oracle/oracle.go:216 +0xae

Signed-off-by: Roman Khimov <roman@nspcc.ru>
2023-09-13 10:50:42 +03:00
..
compiler dao: simplify NewSimple() 2023-09-04 16:56:59 +03:00
config rpcsrv: set MaxNEP11Tokens to default if not specified 2023-08-29 13:26:10 +03:00
consensus *: use require.ErrorIs instead of require.True(t, error.Is()) 2023-05-04 17:03:47 +03:00
core state: always deserialize LastGasPerVote 2023-09-05 23:44:14 +03: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 rpcsrv: add getrawnotarypool, getrawnotarytransaction handlers 2023-08-31 18:51:43 +01:00
neotest neotest: improve doc based on #3120 2023-09-05 15:20:00 +03:00
network *: move NVB and Conflicts attributes out of extensions 2023-09-04 16:39:44 +03:00
rpcclient unwrap: add Nothing function 2023-09-03 16:54:50 +01:00
services oracle/neofs: avoid panic on failed neofs requests 2023-09-13 10:50:42 +03:00
smartcontract smartcontract: disallow Null and non-utf8 String 2023-08-18 16:41:33 +03:00
util *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
vm vm: add address&swap endianness to opcode dump for hashes 2023-09-04 08:41:22 +01:00
wallet Merge pull request #2725 from nspcc-dev/move-cli-tests 2022-10-06 13:43:39 +07:00