Skip to content
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

[FEATURE] - cardano-testnet #4598

Open
3 of 21 tasks
Jimbo4350 opened this issue Nov 2, 2022 · 5 comments
Open
3 of 21 tasks

[FEATURE] - cardano-testnet #4598

Jimbo4350 opened this issue Nov 2, 2022 · 5 comments
Assignees
Labels
cardano-testnet type: feature request Request a new functionality user type: internal Created by an IOG employee

Comments

@Jimbo4350
Copy link
Contributor

Jimbo4350 commented Nov 2, 2022

What

Expose a cardano-testnet executable that makes it trivial to spin up a local network with:

  • N number of nodes
  • In any Era excluding Byron The latest era and the potentially incoming era.
  • Each node configurable with their own config files
  • A "quick start" mode where we make config file decisions for the user with additional options for determining how quickly they want an epoch to pass e.g --fast-epoch | --slow-epoch | --normal-epoch
  • Utilize ledger events to avoid having timeouts

We need to also complete the following (not exhaustive):

Why

  1. Currently we have horrible shell scripts that we use to setup a local testnet quickly. These bitrot and require maintenance which is time consuming.
  2. Users want a quick and dirty (or more nuanced) way of testing their transactions. Connecting to a public testnet is additional work (getting the right config files, syncing the chain, getting ADA from the faucet etc) therefore a local alternative is preferable especially in the early stages of testing.

Personas

  • SPOs
  • dApp Devs
  • Exchanges
  • Wallets
  • 3rd party tools
  • ADA holders

Definition of Done (DoD)

  • Acceptance Criteria + User Stories & DoD created and singed-off (by PO, dev & test owners)
  • Builds successfully on CI
  • Code & Test review (as per Acceptance Criteria)
  • There is documentation and/or examples for the new functionality (usage/response)
  • Log/record changes on Vnext (or similar depending on what we adopt)
  • Ticket number(s) included in PR description
  • All Acceptance Criteria met and covered by dev/unit/property/integration tests
  • System/E2E automated tests + System Test Engineer Owner Sign-off

NOTE: Ideally, we should merge only fully implemented and tested features into the master branch.
So all the above steps are required for the PR to be merged.
In order to avoid the PRs becoming stale and requiring to be rebased on master, these can be merged
after a reasonable time (current agreement is 3 days) if the System Test Engineer Owner's sign-off
was not provided (last step in the DoD).

IMPORTANT: Any deviation from the plan should be discussed and agreed as a comment in the Feature file.

Sign-off

  • Product Owner
  • Dev Owner
  • System Test Engineer Owner

Related PRs

  1. PR # here

Acceptance Criteria

Acceptance Criteria & User Stories define here (or in a separate file (linked here) for a big feature)

cardano-testnet executable makes it trivial to spin up a local network with:

  • N number of nodes
  • In any Era excluding Byron
  • Each node configurable with their own config files
  • A "quick start" mode where we make config file decisions for the user with additional options for determining how quickly they want an epoch to pass e.g --fast-epoch | --slow-epoch | --normal-epoch
@Jimbo4350 Jimbo4350 added the user type: internal Created by an IOG employee label Nov 2, 2022
@MarcFontaine MarcFontaine self-assigned this Nov 2, 2022
@github-actions
Copy link

github-actions bot commented Dec 8, 2022

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.

@github-actions github-actions bot added the Stale label Dec 8, 2022
@Jimbo4350
Copy link
Contributor Author

bump

@github-actions github-actions bot removed the Stale label Dec 9, 2022
@github-actions
Copy link

github-actions bot commented Jan 8, 2023

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.

@github-actions github-actions bot added Stale and removed Stale labels Jan 8, 2023
@Jimbo4350 Jimbo4350 added the type: feature request Request a new functionality label Jan 17, 2023
@smelc smelc self-assigned this Aug 5, 2024
@smelc
Copy link
Contributor

smelc commented Aug 12, 2024

Each node configurable with their own config files

@Jimbo4350> what do you expect to be configured in these config files?

@smelc
Copy link
Contributor

smelc commented Aug 12, 2024

For my PoC, I'm starting with allowing to specify a different executable for every node. As discussed with @CarlosLopezDeLara, it could be handy to test clusters with different versions of the node within it, for example close to a hard fork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cardano-testnet type: feature request Request a new functionality user type: internal Created by an IOG employee
Projects
None yet
Development

No branches or pull requests

4 participants
@smelc @MarcFontaine @Jimbo4350 and others