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

Automated Replay Testing (Chicken Dance) - MVP #91

Closed
14 tasks done
stephenpdeos opened this issue Oct 3, 2022 · 4 comments
Closed
14 tasks done

Automated Replay Testing (Chicken Dance) - MVP #91

stephenpdeos opened this issue Oct 3, 2022 · 4 comments
Assignees

Comments

@stephenpdeos
Copy link
Member

stephenpdeos commented Oct 3, 2022

Short Description

As an Antelope Core developers, I want to be able to run an automated replay test from genesis within 1 day, to confirm that consensus is maintained and uptime reliability continues.

What

To verify that the consensus mechanism is intact, we can run a full replay from genesis and confirm that every block can be applied without error, and that we achieve the expected state after replay. It may be valuable to run multiple replay tests with different options (for example: supported CPU features, using various WASM runtimes). This would allow us to gain confidence that consensus is robust under many different environmental situations.

Why

Running a full replay from genesis manually would be a months-long endeavor. We need to be able to run a replay test within 1 day in an automated and repeatable fashion.

Considerations

  • These tests may be expensive to run
  • If developed correctly, it should be trivial to add other Antelope chains

Requirements

  • A developer can "hit a button" to launch a replay test for a particular commit, and see if completed within a day.
  • Ability to specify command line options for test (including WASM runtime)

Non-requirements (Potential Future Version of Chicken Dance)

  • Ability to easily run with history from other Antelope chains (Jungle, WAX, TELOS, etc)
  • Ability to run on different hardware to simulate a variety of environmental factors (CPU features)
@stephenpdeos stephenpdeos added this to the Leap v5.0.0 Sep/Oct 2023 milestone Apr 26, 2023
@stephenpdeos stephenpdeos self-assigned this Apr 26, 2023
@bhazzard bhazzard changed the title Chicken Dance Chicken Dance MVP Jun 20, 2023
@bhazzard
Copy link
Collaborator

@BenjaminGormanPMP Next step is task breakdown.

COULD depend on Pinned Builds (but doesn't have to, it would just be ideal).

@bhazzard
Copy link
Collaborator

@bhazzard Create issue for Solution Design

@bhazzard
Copy link
Collaborator

bhazzard commented Jun 29, 2023

@bhazzard Create issue for Solution Design

Done: AntelopeIO/leap#1353

@bhazzard
Copy link
Collaborator

bhazzard commented Jul 6, 2023

Relevant past work: https://hackmd.io/DFtefcHjRoGxU03N_86g0g

@bhazzard bhazzard changed the title Chicken Dance MVP Automated Replay Testing (Chicken Dance) - MVP Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📐 Solution Design
Development

No branches or pull requests

3 participants