Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Add an integration test for warp sync #11471

@arkpar

Description

@arkpar

Warp sync is not fully covered by tests, requiring manual testing on each release. There are unit tests in sc-network-test that test the warp sync protocol, but they don't cover ineractions with BABE and GRANDPA after the sync is complete. So a more real-life test is required, probably on the sc-service level, where we already have integration tests for sync and basic block authoring/consensus.

The challenge here is that to properly test warp sync we need at least some changes to the GRANPA authority set and BABE epochs and current testing framework does not allow to simulate that.

Metadata

Metadata

Labels

J0-enhancementAn additional feature request.Z2-mediumCan be fixed by a coder with good Rust knowledge but little knowledge of the codebase.

Type

No type

Projects

Status

Done ✅

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions