Skip to content

Commit cce317f

Browse files
Update references in go monorepo from stellar-rpc/ to the local versions of rpcclient and protocol (#5844)
* Update references in go monorepo from stellar-rpc/ to the local versions of rpcclient and protocol * fix gofmt * Remove unused processor code from processors/
1 parent 57c771a commit cce317f

File tree

70 files changed

+5
-21009
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+5
-21009
lines changed

clients/rpcclient/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"github.com/stellar/go/txnbuild"
1414
"github.com/stellar/go/xdr"
1515

16-
"github.com/stellar/stellar-rpc/protocol"
16+
"github.com/stellar/go/protocols/rpc"
1717
)
1818

1919
type Client struct {

go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,7 @@ require (
5353
github.com/aws/smithy-go v1.22.4
5454
github.com/cenkalti/backoff/v4 v4.3.0
5555
github.com/creachadair/jrpc2 v1.2.0
56-
github.com/dgryski/go-farm v0.0.0-20240924180020-3414d57e47da
5756
github.com/fsouza/fake-gcs-server v1.49.2
58-
github.com/stellar/stellar-rpc v0.9.6-0.20250130160539-be7702aa01ba
5957
go.opentelemetry.io/otel v1.34.0
6058
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.28.0
6159
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.28.0
@@ -99,6 +97,7 @@ require (
9997
github.com/gorilla/mux v1.8.1 // indirect
10098
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // indirect
10199
github.com/hashicorp/hcl v1.0.0 // indirect
100+
github.com/mattn/go-sqlite3 v1.14.17 // indirect
102101
github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect
103102
github.com/nxadm/tail v1.4.8 // indirect
104103
github.com/pelletier/go-toml/v2 v2.1.0 // indirect

go.sum

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,6 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs
139139
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
140140
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
141141
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
142-
github.com/dgryski/go-farm v0.0.0-20240924180020-3414d57e47da h1:aIftn67I1fkbMa512G+w+Pxci9hJPB8oMnkcP3iZF38=
143-
github.com/dgryski/go-farm v0.0.0-20240924180020-3414d57e47da/go.mod h1:SqUrOPUnsFjfmXRMNPybcSiG0BgUW2AuFH8PAnS2iTw=
144142
github.com/djherbis/fscache v0.10.1 h1:hDv+RGyvD+UDKyRYuLoVNbuRTnf2SrA2K3VyR1br9lk=
145143
github.com/djherbis/fscache v0.10.1/go.mod h1:yyPYtkNnnPXsW+81lAcQS6yab3G2CRfnPLotBvtbf0c=
146144
github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY=
@@ -457,8 +455,6 @@ github.com/spf13/viper v1.17.0 h1:I5txKw7MJasPL/BrfkbA0Jyo/oELqVmux4pR/UxOMfI=
457455
github.com/spf13/viper v1.17.0/go.mod h1:BmMMMLQXSbcHK6KAOiFLz0l5JHrU89OdIRHvsk0+yVI=
458456
github.com/stellar/go-xdr v0.0.0-20231122183749-b53fb00bcac2 h1:OzCVd0SV5qE3ZcDeSFCmOWLZfEWZ3Oe8KtmSOYKEVWE=
459457
github.com/stellar/go-xdr v0.0.0-20231122183749-b53fb00bcac2/go.mod h1:yoxyU/M8nl9LKeWIoBrbDPQ7Cy+4jxRcWcOayZ4BMps=
460-
github.com/stellar/stellar-rpc v0.9.6-0.20250130160539-be7702aa01ba h1:fCKETMnEBI2CDo2cUDoZsJUpTnpK5H2aDFoCfozyzIM=
461-
github.com/stellar/stellar-rpc v0.9.6-0.20250130160539-be7702aa01ba/go.mod h1:V5NPV4kvf2VGU8iRm8l6cAP3kWA/9B2NGKRkrbKBmpA=
462458
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
463459
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
464460
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=

ingest/ledgerbackend/rpc_backend.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import (
99
"sync/atomic"
1010
"time"
1111

12+
rpc "github.com/stellar/go/clients/rpcclient"
13+
"github.com/stellar/go/protocols/rpc"
1214
"github.com/stellar/go/xdr"
13-
rpc "github.com/stellar/stellar-rpc/client"
14-
"github.com/stellar/stellar-rpc/protocol"
1515
)
1616

1717
const rpcBackendDefaultBufferSize uint32 = 10

ingest/ledgerbackend/rpc_backend_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"github.com/stretchr/testify/assert"
1010
"github.com/stretchr/testify/mock"
1111

12+
"github.com/stellar/go/protocols/rpc"
1213
"github.com/stellar/go/xdr"
13-
"github.com/stellar/stellar-rpc/protocol"
1414
)
1515

1616
type MockRPCClient struct {

processors/account/account.go

Lines changed: 0 additions & 141 deletions
This file was deleted.

processors/account/account_signer.go

Lines changed: 0 additions & 69 deletions
This file was deleted.

0 commit comments

Comments
 (0)