update canton to 20240531.13403.v0762c427 (#19318)

tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
This commit is contained in:
azure-pipelines[bot] 2024-06-03 11:55:32 +02:00 committed by GitHub
parent 90790d8042
commit 798f7d8bf4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 33 additions and 4 deletions

View File

@ -991,3 +991,11 @@ create table ord_pbft_messages(
-- we won't differentiate that at the database level.
primary key (block_number, from_sequencer_id, discriminator)
);
-- Stores metadata for blocks that have been assigned timestamps in the output module
create table ord_metadata_output_blocks (
block_number bigint not null,
bft_ts bigint not null,
last_topology_ts bigint not null,
primary key (block_number)
);

View File

@ -1009,3 +1009,13 @@ create table ord_pbft_messages(
-- we won't differentiate that at the database level.
primary key (block_number, from_sequencer_id, discriminator)
);
-- Stores metadata for blocks that have been assigned timestamps in the output module
create table ord_metadata_output_blocks (
block_number bigint not null,
bft_ts bigint not null,
last_topology_ts bigint not null,
primary key (block_number),
-- enable idempotent writes: "on conflict, do nothing"
constraint unique_output_block unique (block_number, bft_ts, last_topology_ts)
);

View File

@ -1 +1 @@
de4d35c9af31b23cb0653b3982a78662b3c39d44acceb7bb2b997c300d16bd41
2f60d0b4aff9d001444b39a01bd430097fd9f739e16c7bba05134f9f5a0e6a93

View File

@ -705,6 +705,13 @@ create or replace view debug.ord_pbft_messages as
from_sequencer_id
from ord_pbft_messages;
create or replace view debug.ord_metadata_output_blocks as
select
block_number,
bft_ts,
last_topology_ts
from ord_metadata_output_blocks;
create or replace view debug.common_static_strings as
select
id,

View File

@ -295,9 +295,13 @@ class ParticipantNodeBootstrap(
val partyMetadataStore =
PartyMetadataStore(storage, parameterConfig.processingTimeouts, loggerFactory)
addCloseable(partyMetadataStore)
val adminToken = CantonAdminToken.create(crypto.pureCrypto)
// upstream party information update generator
// admin token is taken from the config or created per session
val adminToken: CantonAdminToken = config.ledgerApi.adminToken.fold(
CantonAdminToken.create(crypto.pureCrypto)
)(token => CantonAdminToken(secret = token))
// upstream party information update generator
val partyNotifierFactory = (eventPublisher: ParticipantEventPublisher) => {
val partyNotifier = new LedgerServerPartyNotifier(
participantId,

View File

@ -1 +1 @@
20240531.13401.v5646e99c
20240531.13403.v0762c427