Skip to content

Commit 9653cac

Browse files
authored
services/horizon: Update core protocol 22 version (#5500)
1 parent 364ca19 commit 9653cac

File tree

4 files changed

+11
-12
lines changed

4 files changed

+11
-12
lines changed

.github/workflows/galexie-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
GALEXIE_INTEGRATION_TESTS_CAPTIVE_CORE_BIN: /usr/bin/stellar-core
1515
# this pins to a version of quickstart:testing that has the same version as STELLAR_CORE_VERSION
1616
# this is the multi-arch index sha, get it by 'docker buildx imagetools inspect stellar/quickstart:testing'
17-
GALEXIE_INTEGRATION_TESTS_QUICKSTART_IMAGE: docker.io/stellar/quickstart:testing@sha256:03c6679f838a92b1eda4cd3a9e2bdee4c3586e278a138a0acf36a9bc99a0041f
17+
GALEXIE_INTEGRATION_TESTS_QUICKSTART_IMAGE: docker.io/stellar/quickstart:testing@sha256:5333ec87069efd7bb61f6654a801dc093bf0aad91f43a5ba84806d3efe4a6322
1818
GALEXIE_INTEGRATION_TESTS_QUICKSTART_IMAGE_PULL: "false"
19-
STELLAR_CORE_VERSION: 21.3.1-2007.4ede19620.focal
19+
STELLAR_CORE_VERSION: 22.0.0-2126.rc3.92923c2db.focal
2020
steps:
2121
- name: Set VERSION
2222
run: |

.github/workflows/galexie.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ jobs:
1010
name: Test
1111
runs-on: ubuntu-latest
1212
env:
13-
CAPTIVE_CORE_DEBIAN_PKG_VERSION: 21.3.1-2007.4ede19620.focal
13+
CAPTIVE_CORE_DEBIAN_PKG_VERSION: 22.0.0-2126.rc3.92923c2db.focal
1414
GALEXIE_INTEGRATION_TESTS_ENABLED: "true"
1515
GALEXIE_INTEGRATION_TESTS_CAPTIVE_CORE_BIN: /usr/bin/stellar-core
1616
# this pins to a version of quickstart:testing that has the same version as GALEXIE_INTEGRATION_TESTS_CAPTIVE_CORE_BIN
1717
# this is the multi-arch index sha, get it by 'docker buildx imagetools inspect stellar/quickstart:testing'
18-
GALEXIE_INTEGRATION_TESTS_QUICKSTART_IMAGE: docker.io/stellar/quickstart:testing@sha256:5c8186f53cc98571749054dd782dce33b0aca2d1a622a7610362f7c15b79b1bf
18+
GALEXIE_INTEGRATION_TESTS_QUICKSTART_IMAGE: docker.io/stellar/quickstart:testing@sha256:5333ec87069efd7bb61f6654a801dc093bf0aad91f43a5ba84806d3efe4a6322
1919
GALEXIE_INTEGRATION_TESTS_QUICKSTART_IMAGE_PULL: "false"
2020
steps:
2121
- name: Install captive core

.github/workflows/horizon.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ jobs:
3636
PROTOCOL_21_CORE_DEBIAN_PKG_VERSION: 21.3.1-2007.4ede19620.focal
3737
PROTOCOL_21_CORE_DOCKER_IMG: stellar/stellar-core:21.3.1-2007.4ede19620.focal
3838
PROTOCOL_21_SOROBAN_RPC_DOCKER_IMG: stellar/soroban-rpc:21.5.1
39-
PROTOCOL_22_CORE_DEBIAN_PKG_VERSION: 22.0.0-2095.rc2.1bccbc921.focal
40-
PROTOCOL_22_CORE_DOCKER_IMG: stellar/stellar-core:22.0.0-2095.rc2.1bccbc921.focal
41-
PROTOCOL_22_SOROBAN_RPC_DOCKER_IMG: stellar/soroban-rpc:22.0.0-rc2-99
39+
PROTOCOL_22_CORE_DEBIAN_PKG_VERSION: 22.0.0-2126.rc3.92923c2db.focal
40+
PROTOCOL_22_CORE_DOCKER_IMG: stellar/stellar-core:22.0.0-2126.rc3.92923c2db.focal
41+
PROTOCOL_22_SOROBAN_RPC_DOCKER_IMG: stellar/soroban-rpc:22.0.0-rc2-100
4242
PGHOST: localhost
4343
PGPORT: 5432
4444
PGUSER: postgres

ingest/cdp/producer_test.go

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@ import (
1010
"testing"
1111
"time"
1212

13+
"github.com/stretchr/testify/assert"
14+
"github.com/stretchr/testify/mock"
15+
1316
"github.com/stellar/go/ingest/ledgerbackend"
1417
"github.com/stellar/go/support/compressxdr"
1518
"github.com/stellar/go/support/datastore"
1619
"github.com/stellar/go/support/errors"
1720
"github.com/stellar/go/xdr"
18-
"github.com/stretchr/testify/assert"
19-
"github.com/stretchr/testify/mock"
2021
)
2122

2223
func TestDefaultBSBConfigs(t *testing.T) {
@@ -208,16 +209,14 @@ func TestBSBProducerCallerCancelsCtx(t *testing.T) {
208209
})
209210

210211
mockDataStore.On("GetFile", mock.Anything, "FFFFFFFD--2.xdr.zstd").
211-
Run(func(args mock.Arguments) {
212-
cancel()
213-
}).
214212
Return(makeSingleLCMBatch(2), nil)
215213
// this second attempt needs to be mocked, ledger buffer queues this 'next' sequence task automatically
216214
// in getFromLedgerQueue after it receives "FFFFFFFD--2.xdr.zstd", the ctx is not checked then or in
217215
// the async worker routine that receives the task.
218216
mockDataStore.On("GetFile", mock.Anything, "FFFFFFFC--3.xdr.zstd").Return(makeSingleLCMBatch(3), nil)
219217

220218
appCallback := func(lcm xdr.LedgerCloseMeta) error {
219+
cancel()
221220
return nil
222221
}
223222

0 commit comments

Comments
 (0)