Skip to content

cardano-testnet: Add tests for lightweight checkpointing configuration #6142

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
carbolymer opened this issue Mar 10, 2025 · 2 comments
Open
Labels
needs triage Issue / PR needs to be triaged. type: enhancement An improvement on the existing functionality

Comments

@carbolymer
Copy link
Contributor

carbolymer commented Mar 10, 2025

Lightweight checkpointing is introduced in: #6048

Tests for this feature should be added to cardano-testnet.

Positive scenario

A positive scenario can be tested in the following way:

  1. A testnet is started.
  2. After few blocks get produced, their hashes are obtained.
  3. A new node configuration is created with with enabled checkpointing and just obtained block hashes.
  4. The new node is started and joins the newtork.

Note

This can be done similarly to how it's implemented in in KesPeriodInfo test.

Expected result

Block hashes are correctly checked and the node starts successfully.

Negative scenario

However it's possible to implement a negative scenario:

  1. Arbitrary block hashes are provided in the configuration.

Expected result

  1. cardano-testnet fails to start due to block hashes checks failure
@carbolymer carbolymer added needs triage Issue / PR needs to be triaged. type: enhancement An improvement on the existing functionality labels Mar 10, 2025
@carbolymer carbolymer changed the title cardano-testnet: negative test for lightweight checkpointing configuration cardano-testnet: Add tests for lightweight checkpointing configuration Mar 11, 2025
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days.

Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Issue / PR needs to be triaged. type: enhancement An improvement on the existing functionality
Projects
None yet
Development

No branches or pull requests

1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy