Skip to content

Commit 1ba5108

Browse files
committed
Merge branch 'feature/c-accounts' into philip/sdp-1863-sep45-handler
Conflicts: internal/services/sep45_service.go
2 parents 038109f + d5287f6 commit 1ba5108

15 files changed

+18
-54
lines changed

go.list

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,16 @@ cloud.google.com/go v0.114.0
33
cloud.google.com/go/auth v0.5.1
44
cloud.google.com/go/auth/oauth2adapt v0.2.2
55
cloud.google.com/go/compute/metadata v0.3.0
6-
cloud.google.com/go/firestore v1.15.0
76
cloud.google.com/go/iam v1.1.8
8-
cloud.google.com/go/longrunning v0.5.7
97
cloud.google.com/go/pubsub v1.38.0
108
cloud.google.com/go/storage v1.42.0
119
filippo.io/edwards25519 v1.1.0
12-
firebase.google.com/go v3.12.0+incompatible
13-
github.com/2opremio/pretty v0.2.2-0.20230601220618-e1d5758b2a95
1410
github.com/BurntSushi/toml v1.3.2
1511
github.com/Masterminds/goutils v1.1.1
1612
github.com/Masterminds/semver/v3 v3.2.0
1713
github.com/Masterminds/sprig/v3 v3.2.3
1814
github.com/Masterminds/squirrel v1.5.4
1915
github.com/Microsoft/go-winio v0.6.1
20-
github.com/adjust/goautoneg v0.0.0-20150426214442-d788f35a0315
2116
github.com/ajg/form v0.0.0-20160822230020-523a5da1a92f
2217
github.com/alecthomas/kingpin/v2 v2.4.0
2318
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137
@@ -53,12 +48,10 @@ github.com/beorn7/perks v1.0.1
5348
github.com/bgentry/speakeasy v0.1.0
5449
github.com/buger/goreplay v1.3.2
5550
github.com/cenkalti/backoff/v4 v4.3.0
56-
github.com/certifi/gocertifi v0.0.0-20210507211836-431795d63e8d
5751
github.com/cespare/xxhash/v2 v2.3.0
5852
github.com/chzyer/logex v1.2.1
5953
github.com/chzyer/readline v1.5.1
6054
github.com/chzyer/test v1.0.0
61-
github.com/containerd/log v0.1.0
6255
github.com/cpuguy83/go-md2man/v2 v2.0.6
6356
github.com/creachadair/jrpc2 v1.3.1
6457
github.com/creachadair/mds v0.23.0
@@ -68,13 +61,8 @@ github.com/denisenkom/go-mssqldb v0.9.0
6861
github.com/dgraph-io/ristretto v0.2.0
6962
github.com/dgryski/go-farm v0.0.0-20240924180020-3414d57e47da
7063
github.com/dimchansky/utfbom v1.1.1
71-
github.com/distribution/reference v0.6.0
7264
github.com/djherbis/fscache v0.10.1
73-
github.com/docker/docker v27.0.3+incompatible
74-
github.com/docker/go-connections v0.5.0
75-
github.com/docker/go-units v0.5.0
7665
github.com/dustin/go-humanize v1.0.1
77-
github.com/elazarl/go-bindata-assetfs v1.0.1
7866
github.com/fatih/color v1.13.0
7967
github.com/fatih/structs v1.0.0
8068
github.com/felixge/httpsnoop v1.0.4
@@ -84,7 +72,6 @@ github.com/fsnotify/fsnotify v1.9.0
8472
github.com/fsouza/fake-gcs-server v1.49.2
8573
github.com/fxamacker/cbor/v2 v2.9.0
8674
github.com/gavv/monotime v0.0.0-20161010190848-47d58efa6955
87-
github.com/getsentry/raven-go v0.2.0
8875
github.com/getsentry/sentry-go v0.39.0
8976
github.com/go-chi/chi v4.1.2+incompatible
9077
github.com/go-chi/chi/v5 v5.2.3
@@ -102,8 +89,6 @@ github.com/gobuffalo/packd v1.0.2
10289
github.com/gocarina/gocsv v0.0.0-20230616125104-99d496ca653d
10390
github.com/godror/godror v0.40.4
10491
github.com/godror/knownpb v0.1.1
105-
github.com/gogo/protobuf v1.3.2
106-
github.com/golang-jwt/jwt v3.2.2+incompatible
10792
github.com/golang-jwt/jwt/v4 v4.5.2
10893
github.com/golang-jwt/jwt/v5 v5.3.0
10994
github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe
@@ -123,7 +108,6 @@ github.com/googleapis/gax-go/v2 v2.12.4
123108
github.com/gorilla/handlers v1.5.2
124109
github.com/gorilla/mux v1.8.1
125110
github.com/gorilla/schema v1.4.1
126-
github.com/graph-gophers/graphql-go v1.3.0
127111
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0
128112
github.com/guregu/null v4.0.0+incompatible
129113
github.com/hashicorp/errwrap v1.1.0
@@ -162,19 +146,14 @@ github.com/mattn/go-isatty v0.0.17
162146
github.com/mattn/go-oci8 v0.1.1
163147
github.com/mattn/go-runewidth v0.0.9
164148
github.com/mattn/go-sqlite3 v1.14.22
165-
github.com/matttproud/golang_protobuf_extensions v1.0.4
166149
github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0
167150
github.com/mitchellh/cli v1.1.5
168151
github.com/mitchellh/copystructure v1.2.0
169152
github.com/mitchellh/go-homedir v1.1.0
170153
github.com/mitchellh/mapstructure v1.5.0
171154
github.com/mitchellh/reflectwalk v1.0.2
172-
github.com/moby/docker-image-spec v1.3.1
173-
github.com/moby/term v0.5.0
174155
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
175156
github.com/modern-go/reflect2 v1.0.2
176-
github.com/montanaflynn/stats v0.7.1
177-
github.com/morikuni/aec v1.0.0
178157
github.com/moul/http2curl v0.0.0-20161031194548-4e24498b31db
179158
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822
180159
github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f
@@ -185,9 +164,6 @@ github.com/nyaruka/phonenumbers v1.6.7
185164
github.com/olekukonko/tablewriter v0.0.5
186165
github.com/onsi/ginkgo v1.16.5
187166
github.com/onsi/gomega v1.27.10
188-
github.com/opencontainers/go-digest v1.0.0
189-
github.com/opencontainers/image-spec v1.1.0
190-
github.com/opentracing/opentracing-go v1.1.0
191167
github.com/pelletier/go-toml v1.9.5
192168
github.com/pelletier/go-toml/v2 v2.2.4
193169
github.com/pingcap/errors v0.11.4
@@ -211,19 +187,15 @@ github.com/sendgrid/rest v2.6.9+incompatible
211187
github.com/sendgrid/sendgrid-go v3.16.1+incompatible
212188
github.com/sergi/go-diff v1.3.1
213189
github.com/shopspring/decimal v1.4.0
214-
github.com/shurcooL/httpfs v0.0.0-20230704072500-f1e31cf0ba5c
215190
github.com/sirupsen/logrus v1.9.3
216191
github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8
217192
github.com/spf13/afero v1.15.0
218193
github.com/spf13/cast v1.10.0
219194
github.com/spf13/cobra v1.10.1
220195
github.com/spf13/pflag v1.0.10
221196
github.com/spf13/viper v1.21.0
222-
github.com/stellar/go v0.0.0-20240924182550-69667b25baf4
223-
github.com/stellar/go-stellar-sdk v0.0.0-20251125023429-4c8c6f69a699
197+
github.com/stellar/go-stellar-sdk v0.0.0-20251125210943-4134368d57d8
224198
github.com/stellar/go-xdr v0.0.0-20231122183749-b53fb00bcac2
225-
github.com/stellar/stellar-rpc v0.9.6-0.20250130160539-be7702aa01ba
226-
github.com/stellar/throttled v2.2.3-0.20190823235211-89d75816f59d+incompatible
227199
github.com/stretchr/objx v0.5.2
228200
github.com/stretchr/testify v1.11.1
229201
github.com/subosito/gotenv v1.6.0
@@ -275,7 +247,6 @@ golang.org/x/time v0.5.0
275247
golang.org/x/tools v0.38.0
276248
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1
277249
google.golang.org/api v0.183.0
278-
google.golang.org/appengine v1.6.8
279250
google.golang.org/genproto v0.0.0-20240528184218-531527333157
280251
google.golang.org/genproto/googleapis/api v0.0.0-20240701130421-f6361c86f094
281252
google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094
@@ -286,10 +257,8 @@ gopkg.in/djherbis/atime.v1 v1.0.0
286257
gopkg.in/djherbis/stream.v1 v1.3.1
287258
gopkg.in/gavv/httpexpect.v1 v1.0.0-20170111145843-40724cf1e4a0
288259
gopkg.in/ini.v1 v1.67.0
289-
gopkg.in/square/go-jose.v2 v2.4.1
290260
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
291261
gopkg.in/tylerb/graceful.v1 v1.2.15
292262
gopkg.in/yaml.v2 v2.4.0
293263
gopkg.in/yaml.v3 v3.0.1
294-
gotest.tools/v3 v3.5.1
295264
honnef.co/go/tools v0.5.1

go.mod

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ require (
3636
github.com/sirupsen/logrus v1.9.3
3737
github.com/spf13/cobra v1.10.1
3838
github.com/spf13/viper v1.21.0
39-
github.com/stellar/go-stellar-sdk v0.0.0-20251125023429-4c8c6f69a699
40-
github.com/stellar/stellar-rpc v0.9.6-0.20250130160539-be7702aa01ba
39+
github.com/stellar/go-stellar-sdk v0.0.0-20251125210943-4134368d57d8
4140
github.com/stretchr/testify v1.11.1
4241
github.com/twilio/twilio-go v1.28.7
4342
github.com/veraison/go-cose v1.3.0
@@ -88,13 +87,13 @@ require (
8887
github.com/prometheus/client_model v0.6.2 // indirect
8988
github.com/prometheus/common v0.66.1 // indirect
9089
github.com/prometheus/procfs v0.16.1 // indirect
90+
github.com/rogpeppe/go-internal v1.11.0 // indirect
9191
github.com/sagikazarmark/locafero v0.11.0 // indirect
9292
github.com/segmentio/go-loggly v0.5.1-0.20171222203950-eb91657e62b2 // indirect
9393
github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8 // indirect
9494
github.com/spf13/afero v1.15.0 // indirect
9595
github.com/spf13/cast v1.10.0 // indirect
9696
github.com/spf13/pflag v1.0.10 // indirect
97-
github.com/stellar/go v0.0.0-20240924182550-69667b25baf4 // indirect
9897
github.com/stellar/go-xdr v0.0.0-20231122183749-b53fb00bcac2 // indirect
9998
github.com/stretchr/objx v0.5.2 // indirect
10099
github.com/subosito/gotenv v1.6.0 // indirect

go.sum

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -227,14 +227,10 @@ github.com/spf13/pflag v1.0.10 h1:4EBh2KAYBwaONj6b2Ye1GiHfwjqyROoF4RwYO+vPwFk=
227227
github.com/spf13/pflag v1.0.10/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
228228
github.com/spf13/viper v1.21.0 h1:x5S+0EU27Lbphp4UKm1C+1oQO+rKx36vfCoaVebLFSU=
229229
github.com/spf13/viper v1.21.0/go.mod h1:P0lhsswPGWD/1lZJ9ny3fYnVqxiegrlNrEmgLjbTCAY=
230-
github.com/stellar/go v0.0.0-20240924182550-69667b25baf4 h1:Kd4ivg3hCG8AfFQpxjUjhEXKc40Ux+piUWL03dBB/sw=
231-
github.com/stellar/go v0.0.0-20240924182550-69667b25baf4/go.mod h1:rrFK7a8i2h9xad9HTfnSN/dTNEqXVHKAbkFeR7UxAgs=
232-
github.com/stellar/go-stellar-sdk v0.0.0-20251125023429-4c8c6f69a699 h1:PDtrI3oIER3Nm13LxPRknkQbbRp6Gt8nqD49hq53mOE=
233-
github.com/stellar/go-stellar-sdk v0.0.0-20251125023429-4c8c6f69a699/go.mod h1:fZPcxQZw1I0zZ+X76uFcVPqmQCaYbWc87lDFW/kQJaY=
230+
github.com/stellar/go-stellar-sdk v0.0.0-20251125210943-4134368d57d8 h1:veTRtwYVr3262XvqBVZeHRUCJXKptIg0U7BOJjHN7Gw=
231+
github.com/stellar/go-stellar-sdk v0.0.0-20251125210943-4134368d57d8/go.mod h1:fZPcxQZw1I0zZ+X76uFcVPqmQCaYbWc87lDFW/kQJaY=
234232
github.com/stellar/go-xdr v0.0.0-20231122183749-b53fb00bcac2 h1:OzCVd0SV5qE3ZcDeSFCmOWLZfEWZ3Oe8KtmSOYKEVWE=
235233
github.com/stellar/go-xdr v0.0.0-20231122183749-b53fb00bcac2/go.mod h1:yoxyU/M8nl9LKeWIoBrbDPQ7Cy+4jxRcWcOayZ4BMps=
236-
github.com/stellar/stellar-rpc v0.9.6-0.20250130160539-be7702aa01ba h1:fCKETMnEBI2CDo2cUDoZsJUpTnpK5H2aDFoCfozyzIM=
237-
github.com/stellar/stellar-rpc v0.9.6-0.20250130160539-be7702aa01ba/go.mod h1:V5NPV4kvf2VGU8iRm8l6cAP3kWA/9B2NGKRkrbKBmpA=
238234
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
239235
github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY=
240236
github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA=

internal/services/sep45_service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ import (
1818
"github.com/stellar/go-stellar-sdk/clients/stellartoml"
1919
"github.com/stellar/go-stellar-sdk/keypair"
2020
"github.com/stellar/go-stellar-sdk/network"
21+
protocol "github.com/stellar/go-stellar-sdk/protocols/rpc"
2122
"github.com/stellar/go-stellar-sdk/strkey"
2223
"github.com/stellar/go-stellar-sdk/txnbuild"
2324
"github.com/stellar/go-stellar-sdk/xdr"
24-
"github.com/stellar/stellar-rpc/protocol"
2525

2626
"github.com/stellar/stellar-disbursement-platform-backend/internal/sdpcontext"
2727
"github.com/stellar/stellar-disbursement-platform-backend/internal/sepauth"

internal/services/sep45_service_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import (
99
"github.com/stellar/go-stellar-sdk/clients/stellartoml"
1010
"github.com/stellar/go-stellar-sdk/keypair"
1111
"github.com/stellar/go-stellar-sdk/network"
12+
protocol "github.com/stellar/go-stellar-sdk/protocols/rpc"
1213
"github.com/stellar/go-stellar-sdk/strkey"
1314
"github.com/stellar/go-stellar-sdk/xdr"
14-
"github.com/stellar/stellar-rpc/protocol"
1515
"github.com/stretchr/testify/assert"
1616
"github.com/stretchr/testify/mock"
1717
"github.com/stretchr/testify/require"

internal/stellar/mocks/rpc_client.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/stellar/rpc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"slices"
77
"strings"
88

9-
"github.com/stellar/stellar-rpc/protocol"
9+
protocol "github.com/stellar/go-stellar-sdk/protocols/rpc"
1010

1111
"github.com/stellar/stellar-disbursement-platform-backend/internal/utils"
1212
)

internal/stellar/rpc_client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"fmt"
77
"net/http"
88

9-
"github.com/stellar/stellar-rpc/client"
10-
"github.com/stellar/stellar-rpc/protocol"
9+
client "github.com/stellar/go-stellar-sdk/clients/rpcclient"
10+
protocol "github.com/stellar/go-stellar-sdk/protocols/rpc"
1111
)
1212

1313
type RPCClientWrapper struct {

internal/stellar/rpc_client_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"net/http"
77
"testing"
88

9-
"github.com/stellar/stellar-rpc/protocol"
9+
protocol "github.com/stellar/go-stellar-sdk/protocols/rpc"
1010
"github.com/stretchr/testify/assert"
1111
"github.com/stretchr/testify/require"
1212
)

internal/stellar/rpc_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"errors"
55
"testing"
66

7-
"github.com/stellar/stellar-rpc/protocol"
7+
protocol "github.com/stellar/go-stellar-sdk/protocols/rpc"
88
"github.com/stretchr/testify/assert"
99
"github.com/stretchr/testify/require"
1010
)

0 commit comments

Comments
 (0)