diff --git a/commonspace/objectsync/streampool_test.go b/commonspace/objectsync/streampool_test.go index 052802d5..056d11de 100644 --- a/commonspace/objectsync/streampool_test.go +++ b/commonspace/objectsync/streampool_test.go @@ -5,7 +5,6 @@ import ( "github.com/anytypeio/any-sync/commonspace/spacesyncproto" "github.com/anytypeio/any-sync/net/peer" "github.com/anytypeio/any-sync/net/rpc/rpctest" - "github.com/anytypeio/go-anytype-infrastructure-experiments/consensus/consensusproto" "github.com/stretchr/testify/require" "testing" "time" @@ -13,8 +12,6 @@ import ( type testServer struct { stream chan spacesyncproto.DRPCSpaceSync_ObjectSyncStreamStream - addLog func(ctx context.Context, req *consensusproto.AddLogRequest) error - addRecord func(ctx context.Context, req *consensusproto.AddRecordRequest) error releaseStream chan error watchErrOnce bool } diff --git a/go.mod b/go.mod index f7a4ae16..c0bb5cab 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,6 @@ module github.com/anytypeio/any-sync go 1.19 require ( - github.com/anytypeio/go-anytype-infrastructure-experiments/consensus v0.0.0-20221107145605-92bdf7d57b48 github.com/anytypeio/go-chash v0.0.0-20220629194632-4ad1154fe232 github.com/awalterschulze/gographviz v2.0.3+incompatible github.com/cespare/xxhash v1.1.0 diff --git a/go.sum b/go.sum index c758548f..cfd087e3 100644 --- a/go.sum +++ b/go.sum @@ -42,8 +42,6 @@ github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRF github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= github.com/alecthomas/units v0.0.0-20210927113745-59d0afb8317a h1:E/8AP5dFtMhl5KPJz66Kt9G0n+7Sn41Fy1wv9/jHOrc= github.com/alecthomas/units v0.0.0-20210927113745-59d0afb8317a/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE= -github.com/anytypeio/go-anytype-infrastructure-experiments/consensus v0.0.0-20221107145605-92bdf7d57b48 h1:fCZ8db6yJBLPd6bP59zwfjuokL7SLbeTKrk3kBSy034= -github.com/anytypeio/go-anytype-infrastructure-experiments/consensus v0.0.0-20221107145605-92bdf7d57b48/go.mod h1:w0i62cRB2jVpjFb2CpPNj5J+ihKqqmBBG9X2+Odekjw= github.com/anytypeio/go-chash v0.0.0-20220629194632-4ad1154fe232 h1:kMPPZYmJgbs4AJfodbg2OCXg5cp+9LPAJcLZJqmcghk= github.com/anytypeio/go-chash v0.0.0-20220629194632-4ad1154fe232/go.mod h1:+PeHBAWp7gUh/yw6uAauKc5ku0w4cFNg6DUddGxoGq0= github.com/awalterschulze/gographviz v2.0.3+incompatible h1:9sVEXJBJLwGX7EQVhLm2elIKCm7P2YHFC8v6096G09E=