Skip to content

Commit da0b7d7

Browse files
committed
go.mod: update neo-go to the version that fixes filtered subs
nspcc-dev/neo-go#3820 is required if end-to-end meta-service work should be tested. Signed-off-by: Pavel Karpy <[email protected]>
1 parent 092ff01 commit da0b7d7

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ require (
1616
github.com/multiformats/go-multiaddr v0.12.2
1717
github.com/nspcc-dev/hrw/v2 v2.0.3
1818
github.com/nspcc-dev/locode-db v0.6.0
19-
github.com/nspcc-dev/neo-go v0.108.1
19+
github.com/nspcc-dev/neo-go v0.108.2-0.20250227114656-68d7e8e01cd8
2020
github.com/nspcc-dev/neofs-api-go/v2 v2.14.1-0.20240827150555-5ce597aa14ea
2121
github.com/nspcc-dev/neofs-contract v0.21.0
2222
github.com/nspcc-dev/neofs-sdk-go v1.0.0-rc.13.0.20250311165714-441b37a4bc03

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ github.com/nspcc-dev/hrw/v2 v2.0.3 h1:GUIitIiDpAaQat9SZccp7XVAuwtqaM40+uZ9D8Q4A8
184184
github.com/nspcc-dev/hrw/v2 v2.0.3/go.mod h1:VWlFSGGPcHG1abuIDJb5u83tIF2EqOatC8Z7svZmgWQ=
185185
github.com/nspcc-dev/locode-db v0.6.0 h1:EdRUug+sL0EMLZgucLETD6bnegKjyEZh+D5x4r5VMvY=
186186
github.com/nspcc-dev/locode-db v0.6.0/go.mod h1:mJLXdzlcRucr3AFUvf5fJH+rFv1bJuU85e1jtDHDTz8=
187-
github.com/nspcc-dev/neo-go v0.108.1 h1:XbtNtDL7O8G1B70WmlPcFXA3fsBGOgXzHxQVfBh6Yv0=
188-
github.com/nspcc-dev/neo-go v0.108.1/go.mod h1:DlISaevW5zhfzg2KgCxtR/m8wQObPuht03kEXSf0g2w=
187+
github.com/nspcc-dev/neo-go v0.108.2-0.20250227114656-68d7e8e01cd8 h1:iTVVzI+LVsgiGsXvekr4Z60Cc9wMgcWdFBGqtwprhgs=
188+
github.com/nspcc-dev/neo-go v0.108.2-0.20250227114656-68d7e8e01cd8/go.mod h1:DlISaevW5zhfzg2KgCxtR/m8wQObPuht03kEXSf0g2w=
189189
github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20250127125426-50cb21333e4f h1:UO5Zf0FDlBrAXSp0C+R3f6jA9Ozb/lJvzHLTjQwt2SA=
190190
github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20250127125426-50cb21333e4f/go.mod h1:kVLzmbeJJdbIPF2bUYhD8YppIiLXnRQj5yqNZvzbOL0=
191191
github.com/nspcc-dev/neofs-api-go/v2 v2.14.1-0.20240827150555-5ce597aa14ea h1:mK0EMGLvunXcFyq7fBURS/CsN4MH+4nlYiqn6pTwWAU=

pkg/services/meta/meta.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ type NeoFSNetwork interface {
4444

4545
// wsClient is for test purposes only.
4646
type wsClient interface {
47-
GetBlockNotifications(blockHash util.Uint256, filters ...*neorpc.NotificationFilter) (*result.BlockNotifications, error)
47+
GetBlockNotifications(blockHash util.Uint256, filters *neorpc.NotificationFilter) (*result.BlockNotifications, error)
4848
GetVersion() (*result.Version, error)
4949

5050
ReceiveHeadersOfAddedBlocks(flt *neorpc.BlockFilter, rcvr chan<- *block.Header) (string, error)

pkg/services/meta/notifications_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ func (t *testWS) swapResults(notifications []state.ContainedNotificationEvent, e
155155
t.err = err
156156
}
157157

158-
func (t *testWS) GetBlockNotifications(blockHash util.Uint256, filters ...*neorpc.NotificationFilter) (*result.BlockNotifications, error) {
158+
func (t *testWS) GetBlockNotifications(blockHash util.Uint256, filters *neorpc.NotificationFilter) (*result.BlockNotifications, error) {
159159
t.m.RLock()
160160
defer t.m.RUnlock()
161161

0 commit comments

Comments
 (0)