Skip to content

Commit 3fb3ad2

Browse files
committed
p23 integration
1 parent a335381 commit 3fb3ad2

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.github/workflows/horizon.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
os: [ubuntu-22.04]
1414
go: ["1.22", "1.23"]
1515
pg: [12, 16]
16-
protocol-version: [22]
16+
protocol-version: [22, 23]
1717
runs-on: ${{ matrix.os }}
1818
services:
1919
postgres:
@@ -35,6 +35,9 @@ jobs:
3535
PROTOCOL_22_CORE_DEBIAN_PKG_VERSION: 23.0.0.1-2488.23.0.0rc.1.472e3e69d.focal
3636
PROTOCOL_22_CORE_DOCKER_IMG: stellar/stellar-core:23.0.0.1-2488.23.0.0rc.1.472e3e69d.focal
3737
PROTOCOL_22_STELLAR_RPC_DOCKER_IMG: stellar/stellar-rpc:22.1.2
38+
PROTOCOL_23_CORE_DEBIAN_PKG_VERSION: 23.0.0.1-2488.23.0.0rc.1.472e3e69d.focal
39+
PROTOCOL_23_CORE_DOCKER_IMG: stellar/stellar-core:23.0.0.1-2488.23.0.0rc.1.472e3e69d.focal
40+
PROTOCOL_23_STELLAR_RPC_DOCKER_IMG: stellar/stellar-rpc:23.0.0-rc0-115
3841
PGHOST: localhost
3942
PGPORT: 5432
4043
PGUSER: postgres

services/horizon/internal/ingest/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import (
3131
const (
3232
// MaxSupportedProtocolVersion defines the maximum supported version of
3333
// the Stellar protocol.
34-
MaxSupportedProtocolVersion uint32 = 22
34+
MaxSupportedProtocolVersion uint32 = 23
3535

3636
// CurrentVersion reflects the latest version of the ingestion
3737
// algorithm. This value is stored in KV store and is used to decide

services/horizon/internal/integration/generate_ledgers_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ type sorobanTransaction struct {
3737
}
3838

3939
func TestGenerateLedgers(t *testing.T) {
40+
if integration.GetCoreMaxSupportedProtocol() == 23 {
41+
return
42+
}
43+
4044
var transactionsPerLedger, ledgers, transfersPerTx int
4145
var output bool
4246
var networkPassphrase string

0 commit comments

Comments
 (0)