Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade canton-network-node version to 0.3.12 #45

Merged
merged 5 commits into from
Mar 12, 2025
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: 1 addition & 2 deletions quickstart/.env
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DAML_RUNTIME_VERSION=3.2.0-snapshot.20241031.13398.0.vf95d2607

# Images
IMAGE_REPO=digitalasset-canton-network-docker.jfrog.io/digitalasset/ # Publicly released images
IMAGE_TAG=0.3.3-snapshot.20241204.7793.0.veab38e18
IMAGE_TAG=0.3.12
DOCKER_NETWORK=quickstart

# canton
Expand All @@ -21,7 +21,6 @@ SCAN_ADDRESS=https://scan.sv-1.dev.global.canton.network.digitalasset.com
ONBOARDING_SECRET=
ONBOARDING_SECRET_URL=https://sv.sv-1.dev.global.canton.network.digitalasset.com/api/sv/v0/devnet/onboard/validator/prepare
MIGRATION_ID=4

APP_PROVIDER_VALIDATOR_PARTICIPANT_ADDRESS=participant-app-provider
APP_USER_VALIDATOR_PARTICIPANT_ADDRESS=participant-app-user

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,32 +22,38 @@ create_app_install_request() {

curl_check "http://$participant:7575/v2/commands/submit-and-wait" "$token" "application/json" \
--data-raw '{
"commands" : [
{ "CreateCommand" : {
"template_id": "#quickstart-licensing:Licensing.AppInstall:AppInstallRequest",
"create_arguments": {
"dso": "'$dsoParty'",
"provider": "'$appProviderParty'",
"user": "'$appUserParty'",
"meta": {"values": []}
"commands": [
{
"CreateCommand": {
"templateId": "#quickstart-licensing:Licensing.AppInstall:AppInstallRequest",
"createArguments": {
"dso": "'$dsoParty'",
"provider": "'$appProviderParty'",
"user": "'$appUserParty'",
"meta": {
"values": []
}
}
}
}

}
],
"workflowId": "create-app-install-request",
"applicationId": "'$participantUserId'",
"commandId": "create-app-install-request",
"deduplicationPeriod": {
"Empty": {}
},
"actAs": [
"'$appUserParty'"
],
"readAs": [
"'$appUserParty'"
],
"workflow_id" : "create-app-install-request",
"application_id": "'$participantUserId'",
"command_id": "create-app-install-request",
"deduplication_period": { "Empty": {} },
"act_as": ["'$appUserParty'"],
"read_as": ["'$appUserParty'"],
"submission_id": "create-app-install-request",
"disclosed_contracts": [],
"domain_id": "",
"package_id_selection_preference": []
"submissionId": "create-app-install-request",
"disclosedContracts": [],
"domainId": "",
"packageIdSelectionPreference": []
}'
}

create_app_install_request "$APP_USER_WALLET_ADMIN_TOKEN" $DSO_PARTY $APP_USER_PARTY $APP_PROVIDER_PARTY $AUTH_APP_USER_WALLET_ADMIN_USER_ID participant-app-user


6 changes: 1 addition & 5 deletions quickstart/docker/compose-super-validator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ services:
- CANTON_PARTICIPANT_ADMIN_USER_NAME=administrator
- AUTH_TARGET_AUDIENCE=${LEDGER_API_AUTH_AUDIENCE}
- ADDITIONAL_CONFIG_DISABLE_AUTH=canton.participants.participant.ledger-api.auth-services=[]
- ADDITIONAL_CONFIG_ALLOW_INSECURE=canton.participants.participant.http-ledger-api-experimental.allow-insecure-tokens=true
- ADDITIONAL_CONFIG_ALLOW_INSECURE=canton.participants.participant.http-ledger-api.allow-insecure-tokens=true
depends_on:
postgres-splice-sv:
condition: service_healthy
Expand Down Expand Up @@ -115,9 +115,6 @@ services:
ADDITIONAL_CONFIG_TRUST_SINGLE_SCAN=
canton.validator-apps.validator_backend.scan-client.type = "trust-single"
canton.validator-apps.validator_backend.scan-client.url = "http://scan:5012"
- |
ADDITIONAL_CONFIG_TRUST_SINGLE_SEQUENCER=
canton.validator-apps.validator_backend.domains.global.url = "http://sequencer-mediator:5008"
- |
ADDITIONAL_CONFIG_MIGRATION_ID=
canton.validator-apps.validator_backend {
Expand Down Expand Up @@ -247,7 +244,6 @@ services:
}
}
}
- SPLICE_APP_SV_GLOBAL_DOMAIN_URL=http://sequencer-mediator:5008
- SPLICE_APP_SV_COMETBFT_ENABLED=false
- SPLICE_APP_UI_NETWORK_NAME=${SPLICE_APP_UI_NETWORK_NAME}
- SPLICE_APP_UI_NETWORK_FAVICON_URL=${SPLICE_APP_UI_NETWORK_FAVICON_URL}
Expand Down
2 changes: 1 addition & 1 deletion quickstart/docker/validator/compose-disable-auth.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:
environment:
- CANTON_PARTICIPANT_ADMIN_USER_NAME=ledger-api-user
- ADDITIONAL_CONFIG_DISABLE_AUTH=canton.participants.participant.ledger-api.auth-services=[]
- ADDITIONAL_CONFIG_ALLOW_INSECURE=canton.participants.participant.http-ledger-api-experimental.allow-insecure-tokens=true
- ADDITIONAL_CONFIG_ALLOW_INSECURE=canton.participants.participant.http-ledger-api.allow-insecure-tokens=true

validator:
environment:
Expand Down