Skip to content

chore: sync main with upstream splice staging-0.11.0 - #114

Open
timwu20 wants to merge 169 commits into
mainfrom
chore/sync-main-staging-0.11.0
Open

timwu20 wants to merge 169 commits into
mainfrom
chore/sync-main-staging-0.11.0

Conversation

@timwu20

@timwu20 timwu20 commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Refs ChainSafe/canton-extending-mainnet#147

Summary: Merges upstream canton-network/splice staging-0.11.0 (2d6afc8c8, 167 commits since our last sync at 97df2c439) into main. It merges staging, not upstream main, because the 0.11.0 release is cut from staging and our upstream PR targets it. From now on main syncs only from staging-0.11.0 until our upstream PR lands, so main's diff against staging stays exactly what we upstream. The merge brings in VERSION 0.11.0 / LATEST_RELEASE 0.10.2, Canton 3.7.4, the CometBFT removal, single-synchronizer ACS stores (canton-network#8100) and the sequencer/mediator id claims check (canton-network#8406).

Package versions: staging bumped splice-dso-governance to 0.1.32 (canton-network#8406) and splice-wallet 0.1.27, splice-wallet-payments 0.1.26, splice-amulet-name-service 0.1.27 and splitwell 0.1.27 (canton-network#8548, canton-network#8636), the same unreleased versions our packages already had. Neither side's versions are released, so each is now one version whose source has both sides' Daml changes, with its DAR, dars.lock entry and DarResources rebuilt from the merged source. splice-amulet stays at our 0.1.26, which upstream doesn't touch.

Our V082__registered_synchronizer_id.sql collided with upstream's V082__tbar_v1_1_asset_activity_columns.sql, so it is now V084, after upstream's V083.

Please merge with a merge commit, not squash, so main keeps upstream's history.

JYC11 and others added 30 commits October 28, 2026 06:19
Signed-off-by: JYC11 <jaeyoon.c@gmail.com>
Signed-off-by: JYC11 <jaeyoon.c@gmail.com>
Signed-off-by: JYC11 <jaeyoon.c@gmail.com>
Signed-off-by: JYC11 <jaeyoon.c@gmail.com>
Signed-off-by: JYC11 <jaeyoon.c@gmail.com>
Signed-off-by: JYC11 <jaeyoon.c@gmail.com>
Signed-off-by: JYC11 <jaeyoon.c@gmail.com>
Signed-off-by: Divam <dfordivam@gmail.com>
…t feedbacks

Signed-off-by: JYC11 <jaeyoon.c@gmail.com>
Signed-off-by: Tim Emiola <adetokunbo@emio.la>
Signed-off-by: Tim Emiola <adetokunbo@emio.la>
Signed-off-by: Tim Emiola <adetokunbo@emio.la>
Signed-off-by: JYC11 <jaeyoon.c@gmail.com>
Signed-off-by: JYC11 <jaeyoon.c@gmail.com>
Signed-off-by: Simon Meier <simon@digitalasset.com>
[ci]

Signed-off-by: Simon Meier <simon@digitalasset.com>
Signed-off-by: Simon Meier <simon@digitalasset.com>
[ci]

Signed-off-by: Simon Meier <simon@digitalasset.com>
Signed-off-by: JYC11 <jaeyoon.c@gmail.com>
and wiring up full reward computation

Signed-off-by: Tim Emiola <adetokunbo@emio.la>
Signed-off-by: Timothy Emiola <adetokunbo@users.noreply.github.com>
Signed-off-by: Robert Autenrieth <robert.autenrieth@digitalasset.com>
Fixes canton-network#8345 [ci]

Signed-off-by: Simon Meier <simon@digitalasset.com>
…dependencies group (canton-network#8327)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Paweł Perek <pawel.perek@digitalasset.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Paweł Perek <pawel.perek@digitalasset.com>
Signed-off-by: Jagath Weerasinghe <jagath.weerasinghe@digitalasset.com>
…-network#7931)

`split_tests` checked out with `fetch-depth: 0`, the full history of
every branch, only to read the head commit's message and to diff against
the latest release line. It now checks out at depth 1, and
`pre_scala_test` fetches just the release-line tip, without blobs. A new
`report_git_size.sh` logs each test job's `.git` size as a baseline for
canton-network#7831.

Assisted-by: Claude:claude-5.5-opus
Signed-off-by: Stephen Compall <stephen.compall@digitalasset.com>
This merges all changes to change the TBAR calculation to the amended version.

Deployment to a cluster is safe iff:
- cluster runs TBAR only in dry-run mode, if at all
- there are no FA rights with a non-default activity weight (default 1.0)

Before this merge CILR and Dev/Test/MainNet were checked to satisfy this condition.

Signed-off-by: Simon Meier <simon@digitalasset.com>
…apps in the development-dependencies group (canton-network#8329)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Paweł Perek <pawel.perek@digitalasset.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Paweł Perek <pawel.perek@digitalasset.com>
…anton-network#8357)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Paweł Perek <pawel.perek@digitalasset.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Paweł Perek <pawel.perek@digitalasset.com>
Signed-off-by: JYC11 <jaeyoon.c@gmail.com>
mrdziuban and others added 26 commits November 17, 2026 15:21
* Specify the search path for `rg`.

This fixes an issue where the check run from sbt never reports any issues. Without a specified search path, and when stdin is a pipe, `rg` searches stdin instead of the working directory. sbt starts the process with stdin piped, so `rg` reads stdin, which is empty, and finds no errors.

* Exclude tests for repo-wide checks.

---------

Signed-off-by: Matt Dziuban <mrdziuban@gmail.com>
…ssions (canton-network#8526)

Signed-off-by: Paweł Perek <pawel.perek@digitalasset.com>
…rom apps and frontend (canton-network#8543)

Signed-off-by: Raymond Roestenburg <raymond.roestenburg@digitalasset.com>
Signed-off-by: Itai Segall <itai.segall@digitalasset.com>
…#8550)

Signed-off-by: Paweł Perek <pawel.perek@digitalasset.com>
[static]

Signed-off-by: pasindutennage-da <pasindu.tennage@digitalasset.com>

Signed-off-by: Pasindu Tennage <pasindu.tennage@digitalasset.com>
…#8083)

Signed-off-by: Ilya Silvestrov <tellary@gmail.com>
Trigger the scratchnet LSU test deploy (deploy_scratchnet_lsu.yml) for a PR
from cncluster, the same way deploy_basic and deploy_upgrade trigger theirs.

Signed-off-by: krzysztofczyz-da <krzysztof.czyz@digitalasset.com>
[static]

Signed-off-by: Nicu Reut <nicu.reut@digitalasset.com>
…ork#8216)

Signed-off-by: Mateusz Błażejewski <mateusz.blazejewski@digitalasset.com>
* Add file-backed export and import of the DSO party ACS

Signed-off-by: srikanth-bitdynamics <259878899+srikanth-bitdynamics@users.noreply.github.com>
…tes (canton-network#8551)

Signed-off-by: Simon Meier <simon@digitalasset.com>
…ces (canton-network#8548)

Bumps splice-wallet to 0.1.27, splice-wallet-payments to 0.1.26 and
their dependents.

[ci]

Signed-off-by: Simon Meier <simon@digitalasset.com>
…8558)

Signed-off-by: Paweł Perek <pawel.perek@digitalasset.com>
…etwork#7932)

Every job using common_test_setup fetched the full history of main, the
PR head branch and the latest release line: about 450 MB per job, 30+
jobs per [ci] run. Only the todo checker in static_tests needs it. A new
fetch_git_refs input selects what common_setup.sh fetches. The default
is nothing; static_tests uses history.

Part of canton-network#7831.

Assisted-by: Claude:claude-5.5-opus
Signed-off-by: Stephen Compall <stephen.compall@digitalasset.com>
Signed-off-by: Paweł Perek <pawel.perek@digitalasset.com>
…ton-network#8216)" (canton-network#8571)

This reverts commit 8399d63.

Signed-off-by: Stephen Compall <stephen.compall@digitalasset.com>
Signed-off-by: Robert Autenrieth <robert.autenrieth@digitalasset.com>
…#8521)

The hourly appends originally inserted staging.* by position. So V077's
scan_verdict_store.round_number broke devnet's append (canton-network#8360), and
V082's TBAR app_activity_record_store columns will do the same.

- bigquery-replicated-tables.yaml lists the replicated tables and their
  columns. To add a column, include a since migration. This is done for
  all existing supported migrations on main.
- For tables with since columns:
  - the append first calls sp_check_prod_schema, which fails the append
    if production lacks a listed column;
  - the hourly sp_fix_prod_schema_<table>, 5min before, adds those
    columns with ALTER TABLE;
  - it then fills the since columns wherever production lacks a value
    that staging still has;
  - each table's fix runs even if another's fails.

Deploying with flywayMigrationToWaitFor unchanged appends by name,
without the new columns. Raise it within the staging retention of the
deploy, so that the fill finds the rows. Rows that staging has already
purged keep NULL and require manual backfill.

This migration strategy lets us both introduce new columns in the
future, and also recover from prior releases that didn't include this
feature.

Raising the flywayMigrationToWaitFor in step with the release that adds
that migration would be ideal; however, there are some confusing
concurrent-Pulumi-update error cases that causes that need to be
considered before we can make that the rule.

Assisted-by: Claude:claude-5.5-opus
Signed-off-by: Stephen Compall <stephen.compall@digitalasset.com>
Conflicts resolved:
- VERSION: keep 0.11.0
- ScalaTestTags: keep both SpliceDsoGovernance_0_1_32 and SpliceAmulet_0_1_25
- CometBFT code (PublishLocalCometBftNodeConfigTrigger, its registration in
  SvDsoAutomationService, ensureCometBftGovernanceKeysAreSet): take main's
  removal (canton-network#8404); staging's canton-network#8406 only threaded packageVersionSupport through it
- SynchronizerNodeConfigClient: keep staging's CantonTimestamp and
  OptionConverters imports needed by otherSvNodeStateCids

[ci]

Signed-off-by: Simon Meier <simon@digitalasset.com>
Conflicts resolved:

VERSION: keep 0.11.0
ScalaTestTags: keep both SpliceDsoGovernance_0_1_32 and SpliceAmulet_0_1_25
CometBFT code (PublishLocalCometBftNodeConfigTrigger, its registration in
SvDsoAutomationService, ensureCometBftGovernanceKeysAreSet): take main's
removal (Remove more cometbft references canton-network#8404); staging's Reject sequencer and mediator ids claimed by another SV canton-network#8406 only threaded packageVersionSupport through it
SynchronizerNodeConfigClient: keep staging's CantonTimestamp and
OptionConverters imports needed by otherSvNodeStateCids
…on-network#8515)

Fix canton-network#5541, which means wallets can now rely on TSv2 transfer events for their tx history in all cases. [ci]

Signed-off-by: Simon Meier <simon@digitalasset.com>
…n-network#8636)

`splice-wallet` now depends on `splice-util-batched-markers` and
`splice-util-token-standard-wallet` through a dummy module that references
one type from each, so voting on a `splice-wallet` version also vets them.

The auto-vet list in `PackageVetting.vetCurrentPackages` now only contains
`splice-api-*` interface packages, plus the two utility packages pinned to
their released versions (1.0.5 and 1.1.2) until the new `splice-wallet`
version is voted in on all networks. `splice-token-standard-utils` is
dropped from it, as `splice-amulet` and `splice-wallet` depend on it.

Fixes canton-network#8321 [ci]

Signed-off-by: Simon Meier <simon@digitalasset.com>
Merges upstream staging-0.11.0 at 2d6afc8 (167 commits since our last
sync point 97df2c4; VERSION 0.11.0, LATEST_RELEASE 0.10.2, Canton
3.7.4) into main. The 0.11.0 release is cut from staging, so main now
syncs from staging instead of upstream main. Notable upstream changes:
ACS stores track a single synchronizer (canton-network#8100), CometBFT is removed
(canton-network#8378, canton-network#8404), DsoRules_SetSynchronizerNodeConfig rejects sequencer and
mediator ids claimed by another SV (canton-network#8406), WalletAppInstall hardening
(canton-network#8548) and splice-wallet vetting the token standard utility packages
(canton-network#8636).

Conflict resolution:
- dars.lock and DarResources: staging bumped splice-dso-governance to
  0.1.32 (canton-network#8406) and splice-wallet 0.1.27, splice-wallet-payments 0.1.26,
  splice-amulet-name-service 0.1.27 and splitwell 0.1.27 (canton-network#8548, canton-network#8636),
  the same unreleased versions ours already had. Each is now one version
  whose source has both sides' Daml changes, with its checked-in DAR,
  lock entry and DarResources rebuilt on the merged sources. Released
  versions keep upstream's hashes, and splice-amulet stays at our 0.1.26.
  The test packages take the higher version of the two sides
  (splice-wallet-test and splitwell-test 0.1.33).
- DB migrations: our V082__registered_synchronizer_id collided with
  upstream's V082__tbar_v1_1_asset_activity_columns, so it moves to V084,
  after upstream's V083.
- PackageVersionSupport: keeps both checks on dso-governance 0.1.32,
  supportsDedicatedSynchronizers and supportsSynchronizerNodeIdClaimsCheck.
- SvApp: a vote request runs our synchronizer id validation first, then
  upstream's featured app right validation.
- CometBFT removal: HttpSvOperatorHandler drops the CometBFT debug dump
  and keeps our synchronizer registration endpoints. LsuTrigger keeps our
  LsuTransferTriggerBase and loses the CometBFT key rotation that was its
  only beforeInitialize step, so that hook is removed from the base.
  start-canton.sh keeps the -t splitwell traffic flags without CometBFT.
- splice-global-domain chart: upstream's schema allows only the cantonbft
  driver and ours adds peerEndpoints; both are merged into one sequencer
  schema (it had become a duplicate JSON key), and the mediator test uses
  cantonbft.
- SvDsoStoreTest keeps both sides' new tests and passes the new
  synchronizerId argument; governance.ts imports both new action types;
  generated-packages.json keeps splice-amulet 0.1.26.
- test-full-class-names-non-integration.log keeps both sides' entries and
  drops TablePerAcsSnapshotStoreTest, which upstream removed.

Signed-off-by: Timothy Wu <tim.wu@chainsafe.io>
… [ci]

Upstream's "Use DA BFT in all tests" (canton-network#8234) renamed
the test sequencer template _sequencer_reference_template to
_sequencer_template, which now runs the BFT driver. The standalone
configs of SyncOperatorBftIntegrationTest and SyncOperatorLsuIntegrationTest
still referenced the old name, so their Canton processes failed to parse
the config and never started.

The successor sequencer in the LSU test is now a BFT sequencer like the
splitwell synchronizer it upgrades, so it gets its own BFT endpoint port,
27610, next to its API ports.

Signed-off-by: Timothy Wu <tim.wu@chainsafe.io>
@timwu20
timwu20 marked this pull request as ready for review November 23, 2026 21:56

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.