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

[EPIC] Failure and Recovery cases for block with withheld data #21

Closed
2 of 5 tasks
musalbas opened this issue Feb 2, 2022 · 2 comments
Closed
2 of 5 tasks

[EPIC] Failure and Recovery cases for block with withheld data #21

musalbas opened this issue Feb 2, 2022 · 2 comments
Assignees

Comments

@musalbas
Copy link
Member

musalbas commented Feb 2, 2022

Background

Original Message:

We should do network tests for cases like if a block producer withholds some of the block:
(1) will full nodes reconstruct it in case the block is recoverable, and how long will it take?
(2) after the block is reconstructed - what happens to light clients that have hanging DAS queries?
(3) if the erasure code is valid, will a bad coding fraud proof be generated and how long?

Introduction

This epic contains creating/implementation/reporting of the test-plan(or plans)

Docs/Test-Plan creation

TBA

Test-Plan implementation

Test-Plan Execution & Reporting

Notes

@liamsi
Copy link
Member

liamsi commented Mar 8, 2022

(1) will full nodes reconstruct it in case the block is recoverable, and how long will it take?

I think it is worth to consider worst-case scenarios here were essentially there are only (and theoretically sufficiently many) light nodes that all sampled successfully and a full node that is trying to recover the full block an is only connected to a subset of these light nodes (but not other full nodes that already have and serve o the data). This would test the assumption that bitswap is sufficient for this case.

@musalbas
Copy link
Member Author

musalbas commented Mar 9, 2022

Yes, that's a good idea. Formulas for computing the minimum light nodes required are in the fraud proofs paper, and I also have code for it.

@Bidon15 Bidon15 self-assigned this Mar 9, 2022
@Bidon15 Bidon15 moved this from TODO to In Progress in Celestia Node Mar 22, 2022
@Bidon15 Bidon15 changed the title Test failure and recovery cases for block with withheld data [EPIC] Failure and Recovery cases for block with withheld data Oct 5, 2022
@Bidon15 Bidon15 pinned this issue Oct 5, 2022
@Bidon15 Bidon15 closed this as completed Jun 19, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Done in Celestia Node Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Archived in project
Development

No branches or pull requests

3 participants