Skip to content

Release 2642 distribution #3498

Closed
Closed

Description

@jpraynaud

Why

In order to deploy new features, improvements and bug fixes, we need to release a new distribution.

Note

The previous distribution has been created with #3271.

What

Create and release a new distribution 2642

Distribution 2642

Important

  • Maintenance:
    • Rotate ancillary signer service account keys inrelease-mainnet
    • Remove deprecated features of mithril-client
    • Clean infra upgrade branches if any
  • Dependencies:
    • Upgrade to DMQ node 0.7.2.0
      • pre-release-preview
      • release-preprod
      • release-mainnet
    • Add support for upcoming Cardano node 11.2
  • On-chain protocol configuration:
    • Create protocol configurations on-chain (protocol-config.addr and protocol-config.vkey):
      • pre-release-preview
      • release-preprod
      • release-mainnet
    • Upgrade to on-chain protocol configuration (PROTOCOL_CONFIGURATION_READER_ADDRESS_URL, PROTOCOL_CONFIGURATION_READER_VERIFICATION_KEY_URL new GitHub environment variables, remove AGGREGATOR_CARDANO_BLOCKS_TRANSACTIONS_SIGNING_CONFIG_STEP, AGGREGATOR_CARDANO_BLOCKS_TRANSACTIONS_SIGNING_CONFIG_SECURITY_PARAMETER, AGGREGATOR_CARDANO_TRANSACTIONS_SIGNING_CONFIG_SECURITY_PARAMETER, AGGREGATOR_CARDANO_TRANSACTIONS_SIGNING_CONFIG_STEP)
      • pre-release-preview
      • pre-release-2-preview
      • release-preprod
      • release-mainnet
    • Documentation:
      • Update network matrix for protocol configuration
      • Update network.json for protocol configuration
      • Update the **TO_COMPLETE** values for protocol configuration in documentation
      • Update Guild Operator tools to use new configuration (will be done in a follow-up issue)
  • Dev blog post:
    • Distribution 2642
    • Update the Multiple Aggregators testing phase dev blog post
    • Create a dev blog post explaining on-chain configuration parameters
    • Create a dev blog post to announce the availability of the certificate chain cache

Distribution 2642+1:

Note

  • Maintenance:
    • Prepare GH cli commands to update configuration parameters?
    • Rotate ancillary signer service account keys inrelease-mainnet
    • Remove deprecated features of mithril-client
    • Clean infra upgrade branches if any
  • Dependencies:
    • Upgrade to Cardano node 11.2.X? (⚠️ triggers a ledger state replay, need for warmup nodes)
      • pre-release-preview
      • release-preprod
      • release-mainnet
  • Removal:
    • Remove the deprecated commands generating ed25519 key pairs genesis keypair and era keypair
    • Remove the legacy broadcast of protocol configuration through aggregator
  • CardanoBlocksTransactions certification:
    • Activate CardanoBlocksTransactions signed entity type?:
      • release-mainnet
  • SNARK activation (mandatory snark feature activated by default)?
    • Publish the circuit verification key registries to the repository:
      • pre-release-preview
      • release-preprod
      • release-mainnet
    • Update networks matrix with dual genesis keys:
      • pre-release-preview
      • release-preprod
      • release-mainnet
    • Update the GENESIS_VERIFICATION_KEY_URL with the location of the dual genesis verification key:
      • pre-release-preview
      • release-preprod
      • release-mainnet
  • IPFS activation:
    • Create the IPNS secret keys:
      • pre-release-preview
      • release-preprod
      • release-mainnet
    • Add the IPFS_IPNS_SIGNING_KEY GitHub secret:
      • pre-release-preview
      • release-preprod
      • release-mainnet
  • Dev blog post:
    • Distribution XXXX
    • SNARK:
      • Create a dev blog post explaining the transition to dual genesis
    • TBD
  • TBD

How

Phase 1: Prepare distribution

  • Add support for upcoming Cardano node 11.2
  • Create the on-chain protocol configuration (protocol-config.addr and protocol-config.vkey) in:
    • pre-release-preview
    • release-preprod
    • release-mainnet
  • Update documentation for on-chain protocol configuration:
    • Update network matrix for protocol configuration
    • Update network.json for protocol configuration
    • Update the **TO_COMPLETE** values for protocol configuration in documentation
  • Refresh NPM token for publication
  • Remove deprecated features of mithril-client
  • Clean infra upgrade branches if any
  • Run manual successful restoration of Cardano database + restart of the Cardano node (with ancillary) on testing-preview
  • Check nightly tests run of the day is green
  • Prepare a PR to upgrade repository dependencies (with runbook)
  • Update the ignore list of deny-full.toml
  • Reset the CI caches just before merging the PR to upgrade repository dependencies
  • Merge the PR to upgrade repository dependencies
  • Check if Cardano minimum supported versions in networks.json must be updated following the runbook
  • Create a draft PR for rotating the documentation
  • Create a draft PR for updating networks.json file (if needed)
  • Create a PR for rotating the CHANGELOG.md (set the distribution version)
  • Update the PR for rotating the CHANGELOG.md (if needed)
  • Merge the PR for rotating the CHANGELOG.md
  • Prepare announcements and highlights
  • Prepare dev blog posts

Phase 2: Rollout pre-release distribution

  • Check GCP status and upcoming maintenance
  • Switch to the on-chain protocol configuration (set PROTOCOL_CONFIGURATION_READER_ADDRESS_URL and PROTOCOL_CONFIGURATION_READER_VERIFICATION_KEY_URL, remove the AGGREGATOR_CARDANO_*_SIGNING_CONFIG_* variables) in:
    • pre-release-preview
  • Upgrade DMQ_NODE_VERSION variable 0.7.2.0
    • pre-release-preview
  • Tag and deploy a 2642.0 pre-release distribution on the pre-release-preview network
  • Fill information in GitHub release:
    • Release notes
    • Highlights
  • Make sure pre-release-preview is working as expected
  • Make sure Grafana dashboards are fetching data for pre-release-preview
  • Make sure libraries version next have been published on npm registry
  • Run an all green client multi-platform test in the CI
  • Run a Cardano transaction prover benchmark:
    • Store results in the issue
    • Make sure that there is no performance regression since last release
  • Announce the pre-release on discord channel
  • Announce any breaking change in:
    • #cardano-scaling slack channel for pre-release
    • #blockfrost-scaling slack channel for pre-release
    • #ddz-iog-daedalus slack channel for pre-release
  • Wait for at least 2 epochs and check that:
    • Previous signers have registered in the current epoch
    • New signers have registered in the current epoch
    • Previous signers have signed in the 2 epochs
    • New signers have signed in the 2 epochs
    • Certificates are created for all the signed entity types with the on-chain protocol configuration

Phase 3: Rollout release distribution

  • Check GCP status and upcoming maintenance
  • Create the PR for rotating the CHANGELOG.md (date and crate versions)
  • Rotate KMS credentials:
    • Create a new key for the ancillary signer service account of release-mainnet
    • Configure release-mainnet environment with new service account credentials
  • Switch to the on-chain protocol configuration (set PROTOCOL_CONFIGURATION_READER_ADDRESS_URL and PROTOCOL_CONFIGURATION_READER_VERIFICATION_KEY_URL, remove the AGGREGATOR_CARDANO_*_SIGNING_CONFIG_* variables) in:
    • release-preprod
    • release-mainnet
  • Upgrade DMQ_NODE_VERSION variable 0.7.2.0
    • release-preprod
    • release-mainnet
  • Release the 2642.0 distribution
  • Fill information in GitHub release:
    • Cardano node compatibility
    • Networks compatibility
  • Make sure release-mainnet is working as expected
  • Make sure release-preprod is working as expected
  • Make sure libraries have been published on crates.io
  • Make sure libraries version latest have been published on npm registry
  • Make sure Grafana dashboards are fetching data for release-mainnet
  • Make sure Grafana dashboards are fetching data for release-preprod
  • Merge the PR for rotating the documentation
  • Merge the PR for updating networks.json file (incl. the protocol configuration)
  • Merge the PR for rotating the CHANGELOG.md
  • Announce the release on discord channel (with breaking-change, upcoming features activation, ...)
  • Announce any breaking/new feature change in:
    • #cardano-scaling slack channel for release
    • #blockfrost-scaling slack channel for release
    • #ddz-iog-daedalus slack channel for release
  • Update Hydra tutorial if client breaking change for database restoration
  • Dev blog post:
    • Distribution 2642
    • Update the Multiple Aggregators testing phase dev blog post
    • On-chain configuration parameters
    • Availability of the certificate chain cache
  • Update roadmap with new distribution
  • Check that KMS credentials are working with the creation of the next Cardano database snapshot (will occur within 4 hours)
  • Destroy the previous key for the ancillary signer service account of release-mainnet

Activity

  1. self-assigned this
    on Aug 26, 2026
  2. changed the title [-]Release `26XX` distribution[/-] [+]Release `2642` distribution[/+] on Oct 7, 2026
  3. jpraynaud commented on Oct 16, 2026

    @jpraynaud
    MemberAuthor

    Cardano transactions prover benchmark

    Note

    run on GCP with e2-highmem-4 machine with 4 vCPUs and 32GB of RAM
    not during Cardano database snapshotting

    • Benchmark results:
    total_requests concurrency transactions/request requests/s
    500 50 1 114.04
    500 50 10 37.24
    500 50 20 29.96
    500 50 30 28.15
    500 50 40 25.63
    500 50 50 26.66

    vs previous results

    total_requests concurrency transactions/request requests/s
    500 50 1 117.92
    500 50 10 45.52
    500 50 20 37.54
    500 50 30 34.10
    500 50 40 31.02
    500 50 50 26.00
    • Command run:
    # Aggregator endpoint
    export AGGREGATOR_ENDPOINT=https://aggregator.pre-release-preview.api.mithril.network/aggregator
    
    # Transactions file to prove
    export TRANSACTIONS_FILE=transactions-preview.txt
    
    # Transactions proved per request range definition
    export TRANSACTIONS_PER_REQUEST_MIN=0
    export TRANSACTIONS_PER_REQUEST_MAX=50
    export TRANSACTIONS_PER_REQUEST_STEP=10
    
    # Apache benchmark total request sent per benchmark
    export AB_TOTAL_REQUESTS=500
    
    # Apache benchmark concurrency level range definition
    export AB_CONCURRENCY_MIN=50
    export AB_CONCURRENCY_MAX=50
    export AB_CONCURRENCY_STEP=50
    
    # Run the benchmark:
    ./benchmark-aggregator-prover.sh
    • Command result:
    MITHRIL AGGREGATOR PROVER ROUTE BENCHMARK
    
    >> Aggregator endpoint: https://aggregator.pre-release-preview.api.mithril.network/aggregator
    >> Aggregator route: /proof/cardano-transaction
    >> Transactions file: transactions-preview.txt
    >> Transactions available: [100]
    >> Transactions per request range: [0 10 20 30 40 50]
    >> AB concurrency range: [50]
    >> AB total requests per run: [500]
    >> AB total runs: 6
    >> Output file: benchmark.csv
    
    >> [#1/6] Running stress test with 500 requests with 1 transactions per request and 50 concurrency
    Completed 100 requests
    Completed 200 requests
    Completed 300 requests
    Completed 400 requests
    Completed 500 requests
    Finished 500 requests
    >>>> Success (114.04 requests/s)
    
    >> [#2/6] Running stress test with 500 requests with 10 transactions per request and 50 concurrency
    Completed 100 requests
    Completed 200 requests
    Completed 300 requests
    Completed 400 requests
    Completed 500 requests
    Finished 500 requests
    >>>> Success (37.24 requests/s)
    
    >> [#3/6] Running stress test with 500 requests with 20 transactions per request and 50 concurrency
    Completed 100 requests
    Completed 200 requests
    Completed 300 requests
    Completed 400 requests
    Completed 500 requests
    Finished 500 requests
    >>>> Success (29.96 requests/s)
    
    >> [#4/6] Running stress test with 500 requests with 30 transactions per request and 50 concurrency
    Completed 100 requests
    Completed 200 requests
    Completed 300 requests
    Completed 400 requests
    Completed 500 requests
    Finished 500 requests
    >>>> Success (28.15 requests/s)
    
    >> [#5/6] Running stress test with 500 requests with 40 transactions per request and 50 concurrency
    Completed 100 requests
    Completed 200 requests
    Completed 300 requests
    Completed 400 requests
    Completed 500 requests
    Finished 500 requests
    >>>> Success (25.63 requests/s)
    
    >> [#6/6] Running stress test with 500 requests with 50 transactions per request and 50 concurrency
    Completed 100 requests
    Completed 200 requests
    Completed 300 requests
    Completed 400 requests
    Completed 500 requests
    Finished 500 requests
    >>>> Success (26.66 requests/s)
    
    >> Benchmark completed:
    
    total_requests,concurrency,transactions/request,requests/s
    500,50,1,114.04
    500,50,10,37.24
    500,50,20,29.96
    500,50,30,28.15
    500,50,40,25.63
    500,50,50,26.66
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions