Skip to content

Commit

Permalink
Merge branch 'protocol-23' into archival-bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaptic authored Feb 28, 2025
2 parents 775a120 + 876e1c2 commit 5f66453
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/stellar-rpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,16 +98,15 @@ jobs:
strategy:
matrix:
os: [ ubuntu-20.04, ubuntu-22.04 ]
protocol-version: [ 21, 22 ]
protocol-version: [ 22 ]
runs-on: ${{ matrix.os }}
env:
STELLAR_RPC_INTEGRATION_TESTS_ENABLED: true
STELLAR_RPC_INTEGRATION_TESTS_CORE_MAX_SUPPORTED_PROTOCOL: ${{ matrix.protocol-version }}
STELLAR_RPC_INTEGRATION_TESTS_CAPTIVE_CORE_BIN: /usr/bin/stellar-core
PROTOCOL_21_CORE_DEBIAN_PKG_VERSION: 22.1.0-2194.0241e79f7.focal
PROTOCOL_21_CORE_DOCKER_IMG: stellar/stellar-core:22.1.0-2194.0241e79f7.focal
PROTOCOL_22_CORE_DEBIAN_PKG_VERSION: 22.1.1-2291.a50f3f919.focal~do~not~use~in~prd
PROTOCOL_22_CORE_DOCKER_IMG: stellar/unsafe-stellar-core:22.1.1-2291.a50f3f919.focal-do-not-use-in-prd
# TODO: Add a protocol 23 run once the builds are ready.

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion cmd/stellar-rpc/internal/methods/send_transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func NewSendTransactionHandler(
}
}

diagEvents := xdr.DiagnosticEvents{}
diagEvents := []xdr.DiagnosticEvent{}
err = xdr.SafeUnmarshalBase64(resp.DiagnosticEvents, &diagEvents)
if err != nil {
logger.WithField("tx", request.Transaction).
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ require (
github.com/sirupsen/logrus v1.9.3
github.com/spf13/cobra v1.7.0
github.com/spf13/pflag v1.0.5
github.com/stellar/go v0.0.0-20250206032706-4e70599a66af
github.com/stellar/go v0.0.0-20250227215244-b7b0b5e2a297
github.com/stretchr/testify v1.9.0
)

Expand Down
6 changes: 4 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -342,8 +342,10 @@ github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/spf13/viper v1.17.0 h1:I5txKw7MJasPL/BrfkbA0Jyo/oELqVmux4pR/UxOMfI=
github.com/spf13/viper v1.17.0/go.mod h1:BmMMMLQXSbcHK6KAOiFLz0l5JHrU89OdIRHvsk0+yVI=
github.com/stellar/go v0.0.0-20250206032706-4e70599a66af h1:yG64bllyRf+nCOEXgXHZ721pX+D6NgZnNL2e1pQTUCA=
github.com/stellar/go v0.0.0-20250206032706-4e70599a66af/go.mod h1:ewcAL4pit/jqFszQws9C2U6pwGSy4ZKZD3J/vvjCtgQ=
github.com/stellar/go v0.0.0-20250225004107-c5828bcf20c6 h1:tPV4hOYuez6mSAmLj1ErgVckrW3ov7/oXgt53W1VNq8=
github.com/stellar/go v0.0.0-20250225004107-c5828bcf20c6/go.mod h1:pIh0xYFVnaMP9fLnjFT7URY9Zhwy5wuc6tQkYybKkUY=
github.com/stellar/go v0.0.0-20250227215244-b7b0b5e2a297 h1:LdpVXwVgQ+wx0e6SdpVW3J4WkaHiXrhl+0uf0WIq4Lo=
github.com/stellar/go v0.0.0-20250227215244-b7b0b5e2a297/go.mod h1:pIh0xYFVnaMP9fLnjFT7URY9Zhwy5wuc6tQkYybKkUY=
github.com/stellar/go-xdr v0.0.0-20231122183749-b53fb00bcac2 h1:OzCVd0SV5qE3ZcDeSFCmOWLZfEWZ3Oe8KtmSOYKEVWE=
github.com/stellar/go-xdr v0.0.0-20231122183749-b53fb00bcac2/go.mod h1:yoxyU/M8nl9LKeWIoBrbDPQ7Cy+4jxRcWcOayZ4BMps=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
Expand Down

0 comments on commit 5f66453

Please sign in to comment.