eosnetworkfoundation / product

A workspace for product management primarily for planning purposes
2 stars 3 forks source link

Automated Replay Testing (Chicken Dance) - MVP #91

Open stephenpdeos opened 1 year ago

stephenpdeos commented 1 year ago

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

Requirements

Non-requirements (Potential Future Version of Chicken Dance)

bhazzard commented 1 year ago

@BenjaminGormanPMP Next step is task breakdown.

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

bhazzard commented 1 year ago

@bhazzard Create issue for Solution Design

bhazzard commented 1 year ago

@bhazzard Create issue for Solution Design

Done: https://github.com/AntelopeIO/leap/issues/1353

bhazzard commented 1 year ago

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