diff --git a/Cargo.lock b/Cargo.lock index 13692c2..27d405d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -310,7 +310,7 @@ dependencies = [ [[package]] name = "canton-proto-rs" -version = "3.4.0" +version = "3.5.3" dependencies = [ "prost", "prost-types", @@ -374,7 +374,7 @@ checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75" [[package]] name = "common" -version = "0.6.0" +version = "0.6.1" dependencies = [ "canton-api-client", "rust_decimal", @@ -420,7 +420,7 @@ dependencies = [ [[package]] name = "cryptography" -version = "0.6.0" +version = "0.6.1" dependencies = [ "aes-gcm", "base64", @@ -575,7 +575,7 @@ dependencies = [ [[package]] name = "examples" -version = "0.6.0" +version = "0.6.1" dependencies = [ "common", "dotenvy", @@ -1165,7 +1165,7 @@ dependencies = [ [[package]] name = "keycloak" -version = "0.6.0" +version = "0.6.1" dependencies = [ "base64", "reqwest 0.12.24", @@ -1175,7 +1175,7 @@ dependencies = [ [[package]] name = "ledger" -version = "0.6.0" +version = "0.6.1" dependencies = [ "base64", "canton-api-client", @@ -1727,7 +1727,7 @@ checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58" [[package]] name = "registry" -version = "0.6.0" +version = "0.6.1" dependencies = [ "chrono", "common", @@ -2740,7 +2740,7 @@ dependencies = [ [[package]] name = "wallet" -version = "0.6.0" +version = "0.6.1" dependencies = [ "chrono", "common", diff --git a/Cargo.toml b/Cargo.toml index 8cb1ec5..d6d7ed4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ resolver = "2" [workspace.package] edition = "2024" license = "MIT" -version = "0.6.0" +version = "0.6.1" [profile.release] opt-level = 3 diff --git a/crates/ledgrpc/Cargo.toml b/crates/ledgrpc/Cargo.toml index fefb602..555a044 100644 --- a/crates/ledgrpc/Cargo.toml +++ b/crates/ledgrpc/Cargo.toml @@ -2,7 +2,7 @@ name = "canton-proto-rs" edition.workspace = true license.workspace = true -version = "3.4.0" +version = "3.5.3" [dependencies] prost = { version = "0.14.1" } diff --git a/crates/ledgrpc/proto/admin-api/com/digitalasset/canton/admin/participant/v30/party_management_service.proto b/crates/ledgrpc/proto/admin-api/com/digitalasset/canton/admin/participant/v30/party_management_service.proto index 03ae257..692fa82 100644 --- a/crates/ledgrpc/proto/admin-api/com/digitalasset/canton/admin/participant/v30/party_management_service.proto +++ b/crates/ledgrpc/proto/admin-api/com/digitalasset/canton/admin/participant/v30/party_management_service.proto @@ -276,9 +276,13 @@ message ImportPartyAcsRequest { // Required bytes acs_snapshot = 1; + // The identifier of the synchronizer the imported contracts are assigned to. + // Required (Canton 3.5+). + optional string synchronizer_id = 2; + // Custom prefix for the workflow ID to easily identify all transactions generated by this import. // Optional. If left empty, the service will generate a prefix such as `import-`. - string workflow_id_prefix = 2; + optional string workflow_id_prefix = 3; // How imported contracts should be validated upon import. // @@ -289,12 +293,16 @@ message ImportPartyAcsRequest { // that the assigned representative package IDs correctly validate the imported contracts. // // Required - ContractImportMode contract_import_mode = 3; + optional ContractImportMode contract_import_mode = 4; // The representative package ID override rules to be applied during import. // // Optional - RepresentativePackageIdOverride representative_package_id_override = 4; + optional RepresentativePackageIdOverride representative_package_id_override = 5; + + // The party whose ACS is being imported. + // Required (Canton 3.5+). + optional string party_id = 6; } message ImportPartyAcsResponse {}