Skip to content
Draft
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
10 changes: 10 additions & 0 deletions crates/common/src/submission.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,16 @@ pub struct Submission {
pub deduplication_period: Option<DeduplicationPeriod>,
#[serde(rename = "disclosedContracts")]
pub disclosed_contracts: Vec<transfer::DisclosedContract>,
/// Preferred package IDs for resolving package-name template references. When set, Canton
/// prefers these over its default smart-upgrade selection — required when a participant
/// has multiple vetted versions of the same package and the choice you need only exists
/// in one of them. See `commands.proto::package_id_selection_preference`.
#[serde(
rename = "packageIdSelectionPreference",
default,
skip_serializing_if = "Vec::is_empty"
)]
pub package_id_selection_preference: Vec<String>,
pub commands: Vec<Command>,
#[serde(rename = "transactionFormat", skip_serializing_if = "Option::is_none")]
pub transaction_format: Option<TransactionFormat>,
Expand Down
Loading