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

Add extensive test cases for possible "invalid" blocks #5136

Open
5 of 7 tasks
Tracked by #5133
janniks opened this issue Sep 3, 2024 · 0 comments
Open
5 of 7 tasks
Tracked by #5133

Add extensive test cases for possible "invalid" blocks #5136

janniks opened this issue Sep 3, 2024 · 0 comments
Assignees

Comments

@janniks
Copy link
Contributor

janniks commented Sep 3, 2024

Not all possible reasons for not being valid are tested currently. e.g.

use stacks::net::api::postblock_proposal::{ValidateRejectCode, TEST_VALIDATE_STALL};

Create more tests.

Possible errors for ValidateRejectCode:

All functions that aren't yet tested are part of theimpl NakamotoBlockProposal.


To do: Construct bad block proposal and submit to the signers. See how the signers deal with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Status: 🆕 New
Development

No branches or pull requests

4 participants
@saralab @janniks @ASuciuX and others