Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions framework/.changeset/v0.17.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- bump default Canton images to `0.10.0`
- update Splice config to include `ParticipantClientConfig` changes introduced in `0.10.0`
- enable Canton repair service and key export (disabled by default on Canton >=3.7)
7 changes: 6 additions & 1 deletion framework/components/blockchain/canton/canton.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

// Canton Defaults
const (
SpliceVersion = "0.6.7"
SpliceVersion = "0.10.0"
Image = "ghcr.io/digital-asset/decentralized-canton-sync/docker/canton"
)

Expand Down Expand Up @@ -86,10 +86,15 @@ canton {
features {
enable-preview-commands = yes
enable-testing-commands = yes
# Canton >=3.7 disables the participant repair service by default; keep it
# enabled for offline party replication / ACS export-import tooling.
enable-repair-commands = yes
}
parameters {
manual-start = no
non-standard-config = yes
# Canton >=3.7 disables remote private-key export by default
enable-key-download = yes
# Bumping because our topology state can get very large due to
# a large number of participants.
timeouts.processing.verify-active = 40.seconds
Expand Down
15 changes: 8 additions & 7 deletions framework/components/blockchain/canton/splice.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,17 @@ _storage {

_validator_backend {
latest-packages-only = true
domain-migration-id = 0
storage = ${_storage}
admin-api = {
address = "0.0.0.0"
port = 5003
}
participant-client = {
admin-api = {
admin-api.client-config = {
address = ${CANTON_CONTAINER_NAME}
port = 5002
}
admin-api.auth-config.type = "none"
ledger-api.client-config = {
address = ${CANTON_CONTAINER_NAME}
port = 5001
Expand All @@ -99,8 +99,11 @@ canton.features.enable-testing-commands = yes
# SV
_sv_participant_client = {
admin-api {
address = ${CANTON_CONTAINER_NAME}
port = ${CANTON_PARTICIPANT_ADMIN_API_PORT_PREFIX}00
client-config {
address = ${CANTON_CONTAINER_NAME}
port = ${CANTON_PARTICIPANT_ADMIN_API_PORT_PREFIX}00
}
auth-config.type = "none"
}
ledger-api {
client-config {
Expand Down Expand Up @@ -128,7 +131,6 @@ _splice-instance-names {
canton {
scan-apps.scan-app {
is-first-sv = true
domain-migration-id = 0
storage = ${_storage} {
config.properties {
databaseName = scan
Expand Down Expand Up @@ -159,7 +161,6 @@ canton {

sv-apps.sv {
latest-packages-only = true
domain-migration-id = 0
expected-validator-onboardings = [
]
scan {
Expand Down Expand Up @@ -289,7 +290,7 @@ canton.validator-apps.participant%[1]d-validator_backend = ${_validator_backend}
storage.config.properties.databaseName = validator-%[1]d
admin-api.port = ${SPLICE_VALIDATOR_ADMIN_API_PORT_PREFIX}%02[1]d
participant-client {
admin-api.port = ${CANTON_PARTICIPANT_ADMIN_API_PORT_PREFIX}%02[1]d
admin-api.client-config.port = ${CANTON_PARTICIPANT_ADMIN_API_PORT_PREFIX}%02[1]d

ledger-api = {
client-config.port = ${CANTON_PARTICIPANT_LEDGER_API_PORT_PREFIX}%02[1]d
Expand Down
Loading