Skip to content

ChainSync client test: decrease number of tests without any sent headers #529

@amesgen

Description

@amesgen

Upon inspection, I was surpsised that ~70% of the cases had SomeNotEarly_SomeEarly Zero Zero, which implies the test never involved downloading a header!

My initial guess is that the client and server chain are diverging before they ever reach startTick.

I suspect we want to tune the generator to visit that less often. But that can be a separate Issue.

Originally posted by @nfrisby in #525 (comment)

Yeah, that seems be the case, when always setting startTick to 1, the Zero Zero case shrinks to ~9% of all cases.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions