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

chore(protocol): add tests for _validateBlockParams #18680

Merged
merged 3 commits into from
Jan 2, 2025

Conversation

xiaodino
Copy link
Contributor

@xiaodino xiaodino commented Dec 31, 2024

Add tests for several checks:

  • AnchorBlockIdTooSmall
  • AnchorBlockIdTooLarge
  • AnchorBlockIdSmallerThanParent
  • TimestampTooLarge

Before
Screen Shot 2024-12-31 at 4 21 09 AM

After
Screen Shot 2024-12-31 at 4 19 45 AM

@dantaik dantaik merged commit 8fc2d61 into pacaya_fork Jan 2, 2025
1 check passed
@dantaik dantaik deleted the xiaodino/pacaya_fork_add_InBoxTest_BlockParams branch January 2, 2025 04:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants