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

fix(types): Implement nil check on commit.ValidateBasic (backport of #1094) #1102

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

cmwaters
Copy link
Contributor

No description provided.

Found in celestia-node header validation check. If a malformed
`ExtendedHeader` with a nil Commit is broadcasted through the network,
it would cause recipients to panic. We decided the check belongs in core
as ValidatorSet also does a nil check.
@evan-forbes evan-forbes enabled auto-merge (rebase) September 28, 2023 14:58
@evan-forbes evan-forbes merged commit e67de45 into v0.34.x-celestia Sep 28, 2023
17 checks passed
@evan-forbes evan-forbes deleted the cal/nil-check-backport branch September 28, 2023 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants