Skip to content

Commit b8489f9

Browse files
judywu-daiggy-da
andauthored
upgrade canton-network-node version to 0.3.12 (#45)
* upgrade canton-network-node version to 0.3.12 * Fix create-app-install-request.sh * merge fix --------- Co-authored-by: iggy-da <jan.otto@digitalasset.com>
1 parent 7814294 commit b8489f9

File tree

4 files changed

+31
-30
lines changed

4 files changed

+31
-30
lines changed

quickstart/.env

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ DAML_RUNTIME_VERSION=3.2.0-snapshot.20241031.13398.0.vf95d2607
66

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

1212
# canton
@@ -21,7 +21,6 @@ SCAN_ADDRESS=https://scan.sv-1.dev.global.canton.network.digitalasset.com
2121
ONBOARDING_SECRET=
2222
ONBOARDING_SECRET_URL=https://sv.sv-1.dev.global.canton.network.digitalasset.com/api/sv/v0/devnet/onboard/validator/prepare
2323
MIGRATION_ID=4
24-
2524
APP_PROVIDER_VALIDATOR_PARTICIPANT_ADDRESS=participant-app-provider
2625
APP_USER_VALIDATOR_PARTICIPANT_ADDRESS=participant-app-user
2726

quickstart/docker/app-user-shell/scripts/create-app-install-request.sh

+28-22
Original file line numberDiff line numberDiff line change
@@ -22,32 +22,38 @@ create_app_install_request() {
2222

2323
curl_check "http://$participant:7575/v2/commands/submit-and-wait" "$token" "application/json" \
2424
--data-raw '{
25-
"commands" : [
26-
{ "CreateCommand" : {
27-
"template_id": "#quickstart-licensing:Licensing.AppInstall:AppInstallRequest",
28-
"create_arguments": {
29-
"dso": "'$dsoParty'",
30-
"provider": "'$appProviderParty'",
31-
"user": "'$appUserParty'",
32-
"meta": {"values": []}
25+
"commands": [
26+
{
27+
"CreateCommand": {
28+
"templateId": "#quickstart-licensing:Licensing.AppInstall:AppInstallRequest",
29+
"createArguments": {
30+
"dso": "'$dsoParty'",
31+
"provider": "'$appProviderParty'",
32+
"user": "'$appUserParty'",
33+
"meta": {
34+
"values": []
3335
}
36+
}
3437
}
35-
}
36-
38+
}
39+
],
40+
"workflowId": "create-app-install-request",
41+
"applicationId": "'$participantUserId'",
42+
"commandId": "create-app-install-request",
43+
"deduplicationPeriod": {
44+
"Empty": {}
45+
},
46+
"actAs": [
47+
"'$appUserParty'"
48+
],
49+
"readAs": [
50+
"'$appUserParty'"
3751
],
38-
"workflow_id" : "create-app-install-request",
39-
"application_id": "'$participantUserId'",
40-
"command_id": "create-app-install-request",
41-
"deduplication_period": { "Empty": {} },
42-
"act_as": ["'$appUserParty'"],
43-
"read_as": ["'$appUserParty'"],
44-
"submission_id": "create-app-install-request",
45-
"disclosed_contracts": [],
46-
"domain_id": "",
47-
"package_id_selection_preference": []
52+
"submissionId": "create-app-install-request",
53+
"disclosedContracts": [],
54+
"domainId": "",
55+
"packageIdSelectionPreference": []
4856
}'
4957
}
5058

5159
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
52-
53-

quickstart/docker/compose-super-validator.yaml

+1-5
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ services:
7171
- CANTON_PARTICIPANT_ADMIN_USER_NAME=administrator
7272
- AUTH_TARGET_AUDIENCE=${LEDGER_API_AUTH_AUDIENCE}
7373
- ADDITIONAL_CONFIG_DISABLE_AUTH=canton.participants.participant.ledger-api.auth-services=[]
74-
- ADDITIONAL_CONFIG_ALLOW_INSECURE=canton.participants.participant.http-ledger-api-experimental.allow-insecure-tokens=true
74+
- ADDITIONAL_CONFIG_ALLOW_INSECURE=canton.participants.participant.http-ledger-api.allow-insecure-tokens=true
7575
depends_on:
7676
postgres-splice-sv:
7777
condition: service_healthy
@@ -115,9 +115,6 @@ services:
115115
ADDITIONAL_CONFIG_TRUST_SINGLE_SCAN=
116116
canton.validator-apps.validator_backend.scan-client.type = "trust-single"
117117
canton.validator-apps.validator_backend.scan-client.url = "http://scan:5012"
118-
- |
119-
ADDITIONAL_CONFIG_TRUST_SINGLE_SEQUENCER=
120-
canton.validator-apps.validator_backend.domains.global.url = "http://sequencer-mediator:5008"
121118
- |
122119
ADDITIONAL_CONFIG_MIGRATION_ID=
123120
canton.validator-apps.validator_backend {
@@ -247,7 +244,6 @@ services:
247244
}
248245
}
249246
}
250-
- SPLICE_APP_SV_GLOBAL_DOMAIN_URL=http://sequencer-mediator:5008
251247
- SPLICE_APP_SV_COMETBFT_ENABLED=false
252248
- SPLICE_APP_UI_NETWORK_NAME=${SPLICE_APP_UI_NETWORK_NAME}
253249
- SPLICE_APP_UI_NETWORK_FAVICON_URL=${SPLICE_APP_UI_NETWORK_FAVICON_URL}

quickstart/docker/validator/compose-disable-auth.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ services:
33
environment:
44
- CANTON_PARTICIPANT_ADMIN_USER_NAME=ledger-api-user
55
- ADDITIONAL_CONFIG_DISABLE_AUTH=canton.participants.participant.ledger-api.auth-services=[]
6-
- ADDITIONAL_CONFIG_ALLOW_INSECURE=canton.participants.participant.http-ledger-api-experimental.allow-insecure-tokens=true
6+
- ADDITIONAL_CONFIG_ALLOW_INSECURE=canton.participants.participant.http-ledger-api.allow-insecure-tokens=true
77

88
validator:
99
environment:

0 commit comments

Comments
 (0)