Skip to content

Commit

Permalink
Merge branch 'main' into rpc_ingestor
Browse files Browse the repository at this point in the history
  • Loading branch information
gouthamp-stellar committed Oct 23, 2024
2 parents 53d6372 + 6553fa9 commit 06a4407
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.23.2
require (
github.com/alitto/pond v1.9.2
github.com/aws/aws-sdk-go v1.55.5
github.com/getsentry/sentry-go v0.29.0
github.com/getsentry/sentry-go v0.29.1
github.com/go-chi/chi v4.1.2+incompatible
github.com/go-playground/validator/v10 v10.22.1
github.com/google/uuid v1.6.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ github.com/gabriel-vasile/mimetype v1.4.3 h1:in2uUcidCuFcDKtdcBxlR0rJ1+fsokWf+uq
github.com/gabriel-vasile/mimetype v1.4.3/go.mod h1:d8uq/6HKRL6CGdk+aubisF/M5GcPfT7nKyLpA0lbSSk=
github.com/gavv/monotime v0.0.0-20161010190848-47d58efa6955 h1:gmtGRvSexPU4B1T/yYo0sLOKzER1YT+b4kPxPpm0Ty4=
github.com/gavv/monotime v0.0.0-20161010190848-47d58efa6955/go.mod h1:vmp8DIyckQMXOPl0AQVHt+7n5h7Gb7hS6CUydiV8QeA=
github.com/getsentry/sentry-go v0.29.0 h1:YtWluuCFg9OfcqnaujpY918N/AhCCwarIDWOYSBAjCA=
github.com/getsentry/sentry-go v0.29.0/go.mod h1:jhPesDAL0Q0W2+2YEuVOvdWmVtdsr1+jtBrlDEVWwLY=
github.com/getsentry/sentry-go v0.29.1 h1:DyZuChN8Hz3ARxGVV8ePaNXh1dQ7d76AiB117xcREwA=
github.com/getsentry/sentry-go v0.29.1/go.mod h1:x3AtIzN01d6SiWkderzaH28Tm0lgkafpJ5Bm3li39O0=
github.com/go-chi/chi v4.1.2+incompatible h1:fGFk2Gmi/YKXk0OmGfBh0WgmN3XB8lVnEyNz34tQRec=
github.com/go-chi/chi v4.1.2+incompatible/go.mod h1:eB3wogJHnLi3x/kFX2A+IbTBlXxmMeXJVKy9tTv1XzQ=
github.com/go-errors/errors v1.5.1 h1:ZwEMSLRCapFLflTpT7NKaAc7ukJ8ZPEjzlxt8rPN8bk=
Expand Down
1 change: 1 addition & 0 deletions internal/tss/router/router_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ func TestRouter(t *testing.T) {
})
t.Run("status_error_routes_to_webhook_channel", func(t *testing.T) {
for _, code := range tss.FinalCodes {

payload := tss.Payload{
RpcSubmitTxResponse: tss.RPCSendTxResponse{
Status: tss.RPCTXStatus{
Expand Down
1 change: 1 addition & 0 deletions internal/tss/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ func ParseToRPCGetIngestTxResponse(result entities.RPCGetTransactionResult, err
}
}
getIngestTxResponse.Code, err = TransactionResultXDRToCode(result.ResultXDR)

if err != nil {
return getIngestTxResponse, fmt.Errorf("parse error result xdr string: %w", err)
}
Expand Down
1 change: 1 addition & 0 deletions internal/tss/utils/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ func PayloadTOTSSResponse(payload tss.Payload) tss.TSSResponse {
response.EnvelopeXDR = payload.RpcGetIngestTxResponse.EnvelopeXDR
response.ResultXDR = payload.RpcGetIngestTxResponse.ResultXDR
response.CreatedAt = payload.RpcGetIngestTxResponse.CreatedAt

}
return response
}
Expand Down

0 comments on commit 06a4407

Please sign in to comment.