diff --git a/framework/.changeset/v0.16.5.md b/framework/.changeset/v0.16.5.md new file mode 100644 index 000000000..2aae6b2b7 --- /dev/null +++ b/framework/.changeset/v0.16.5.md @@ -0,0 +1,2 @@ +- Bump the default Canton Splice image to 0.6.7 +- Change Splice healthcheck to use wget instead of curl, as the latter is not available in the image anymore \ No newline at end of file diff --git a/framework/components/blockchain/canton/canton.go b/framework/components/blockchain/canton/canton.go index 0e5afc876..e6fb9447f 100644 --- a/framework/components/blockchain/canton/canton.go +++ b/framework/components/blockchain/canton/canton.go @@ -13,7 +13,7 @@ import ( // Canton Defaults const ( - SpliceVersion = "0.6.3" + SpliceVersion = "0.6.7" Image = "ghcr.io/digital-asset/decentralized-canton-sync/docker/canton" ) diff --git a/framework/components/blockchain/canton/splice.go b/framework/components/blockchain/canton/splice.go index aaee84a94..8bb44d08d 100644 --- a/framework/components/blockchain/canton/splice.go +++ b/framework/components/blockchain/canton/splice.go @@ -23,16 +23,16 @@ func getSpliceHealthCheckScript(numberOfValidators int) string { set -eou pipefail -curl -f http://localhost:5012/api/scan/readyz -curl -f http://localhost:5014/api/sv/readyz +wget --no-verbose --tries=1 --spider http://localhost:5012/api/scan/readyz +wget --no-verbose --tries=1 --spider http://localhost:5014/api/sv/readyz # SV -curl -f "http://localhost:${SPLICE_VALIDATOR_ADMIN_API_PORT_PREFIX}00/api/validator/readyz" +wget --no-verbose --tries=1 --spider "http://localhost:${SPLICE_VALIDATOR_ADMIN_API_PORT_PREFIX}00/api/validator/readyz" ` for i := 1; i <= numberOfValidators; i++ { script += fmt.Sprintf(` # Participant %02[1]d -curl -f "http://localhost:${SPLICE_VALIDATOR_ADMIN_API_PORT_PREFIX}%02[1]d/api/validator/readyz" +wget --no-verbose --tries=1 --spider "http://localhost:${SPLICE_VALIDATOR_ADMIN_API_PORT_PREFIX}%02[1]d/api/validator/readyz" `, i) }