From fdf62e85625aadb55f0884b27ed504b13efe90da Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Wed, 6 Jul 2022 17:30:51 +0300 Subject: [PATCH] [#1586] Upgrade NeoFS SDK Go to rc#5 Error checkers now support wrapped errors so there is no need to explicitly unwrap errors in `Policer`. Signed-off-by: Leonard Lyubich --- go.mod | 4 ++-- go.sum | Bin 98808 -> 98808 bytes pkg/services/policer/check.go | 6 ------ 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/go.mod b/go.mod index d3b373fa9..7b096a85e 100644 --- a/go.mod +++ b/go.mod @@ -19,8 +19,8 @@ require ( github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20220601120906-3bec6657f5c5 // indirect github.com/nspcc-dev/neofs-api-go/v2 v2.13.0 github.com/nspcc-dev/neofs-contract v0.15.1 - github.com/nspcc-dev/neofs-sdk-go v1.0.0-rc.4.0.20220705084258-cec2373b50ae - github.com/nspcc-dev/tzhash v1.5.2 + github.com/nspcc-dev/neofs-sdk-go v1.0.0-rc.5.0.20220706151041-0d862d8568a4 + github.com/nspcc-dev/tzhash v1.6.1 github.com/panjf2000/ants/v2 v2.4.0 github.com/paulmach/orb v0.2.2 github.com/prometheus/client_golang v1.11.0 diff --git a/go.sum b/go.sum index 53a5b22818914aeb7905f5a3550c69c28d87ecdb..b74ff3867c9e5c2e85d7256c432346d26e0ad534 100644 GIT binary patch delta 309 zcmey-%=V+1ZG+fcKT|yeJtG4nBLi~-Gec8D0~14CgA@xhqZA8MGmAtMg$zS04@Xn8 zK-2JSv#c@$KW%-}O3UnQqf!GO*D(D6^E{to=K%A9tPoR!^a97pg43iX*Uc3PC19+6 zdcIz6ehSER@50K;NUsq6@X939?7$*VN3(3R2+xrG;M79*Z1;eyNdL^7FlTSKL|4bj z2Pcbf{x?^I(a22C5Tw^4CA28qtspBqH{Zie+uXgP)IBseu_(*Z$HybwExEMP&Dc4l zsIbt|%XRX{d5V@mZAdmd<)`ITIfoT!yZGy;8RnKHB^P@IhUdFgWu|z#Ic0>qMfs-Z QB!z~XnOJO|H$UnT09ICFh5!Hn delta 309 zcmey-%=V+1ZG+fcKNCFzJtG4nBLi~-Qv(YVBU20A