Skip to content
Closed
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
4 changes: 2 additions & 2 deletions sdk/canton/canton_version.bzl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Copyright (c) 2026 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

CANTON_OPEN_SOURCE_TAG = "3.6.0-snapshot.20260707.19559.0.v8a6ed0c5"
CANTON_OPEN_SOURCE_SHA = "sha256:0d99545b8c17c4403cb4150af5cca8ac16a40646c5819e2a8975776a71b79d83"
CANTON_OPEN_SOURCE_TAG = "3.6.0-snapshot.20260710.19602.0.v7233cc8e"
CANTON_OPEN_SOURCE_SHA = "sha256:51eb3cf15ec505f89621dfc998307e6a3bb38451acdab401a8a2dd8ffa31e00f"

# Use an alternative canton JAR & artifacts from the local maven cache by setting this to an absolute path
# Consult canton/README.md
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ class AdminLedgerClient private[grpcLedgerClient] (
.HeadState(com.google.protobuf.empty.Empty()),
filterSignedKey = "",
protocolVersion = None,
clientVersion = None,
)
),
filterParticipant = "",
Expand Down Expand Up @@ -123,9 +124,9 @@ class AdminLedgerClient private[grpcLedgerClient] (
admin_topology.AuthorizeRequest(
admin_topology.AuthorizeRequest.Type.Proposal(
admin_topology.AuthorizeRequest.Proposal(
protocol.Enums.TopologyChangeOp.TOPOLOGY_CHANGE_OP_ADD_REPLACE,
0, // will be picked by the participant
Some(
change = protocol.Enums.TopologyChangeOp.TOPOLOGY_CHANGE_OP_ADD_REPLACE,
serial = 0, // will be picked by the participant
mapping = admin_topology.AuthorizeRequest.Proposal.Mapping.V30(
protocol.TopologyMapping(
protocol.TopologyMapping.Mapping.VettedPackages(
protocol.VettedPackages(
Expand Down Expand Up @@ -358,7 +359,12 @@ class AdminLedgerClient private[grpcLedgerClient] (
throw new IllegalStateException(
s"Expected at most one result, but got ${response.results.length}"
)
response.results.headOption.toList.flatMap(_.item.get.participants)
response.results.headOption
.map(_.item)
.collect { case admin_topology.ListPartyToParticipantResponse.Result.Item.V30(value) =>
value.participants
}
.getOrElse(Seq.empty)
})

private[this] def makeListPartyToParticipantRequest(
Expand All @@ -383,6 +389,7 @@ class AdminLedgerClient private[grpcLedgerClient] (
.HeadState(com.google.protobuf.empty.Empty()),
filterSignedKey = "",
protocolVersion = None,
clientVersion = None,
)
),
filterParty = partyId,
Expand All @@ -407,7 +414,7 @@ class AdminLedgerClient private[grpcLedgerClient] (
admin_topology.AuthorizeRequest.Proposal(
protocol.Enums.TopologyChangeOp.TOPOLOGY_CHANGE_OP_ADD_REPLACE,
1, // first topology transaction for this party
Some(
admin_topology.AuthorizeRequest.Proposal.Mapping.V30(
protocol.TopologyMapping(
protocol.TopologyMapping.Mapping.PartyToParticipant(
protocol.PartyToParticipant(
Expand Down Expand Up @@ -453,7 +460,7 @@ class AdminLedgerClient private[grpcLedgerClient] (
admin_topology.AuthorizeRequest.Proposal(
protocol.Enums.TopologyChangeOp.TOPOLOGY_CHANGE_OP_ADD_REPLACE,
0, // will be picked by the participant
Some(
admin_topology.AuthorizeRequest.Proposal.Mapping.V30(
protocol.TopologyMapping(
protocol.TopologyMapping.Mapping.PartyToParticipant(
protocol.PartyToParticipant(
Expand Down
Loading
Loading