Skip to content

fix: hash length is not validated in ConsensusState#8774

Open
yihuang wants to merge 6 commits intocosmos:mainfrom
yihuang:validate-hash
Open

fix: hash length is not validated in ConsensusState#8774
yihuang wants to merge 6 commits intocosmos:mainfrom
yihuang:validate-hash

Conversation

@yihuang
Copy link

@yihuang yihuang commented Feb 4, 2026

Description

closes: #8775


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Linked to GitHub issue with discussion and accepted design, OR link to spec that describes this work.
  • Include changelog entry when appropriate (e.g. chores should be omitted from changelog).
  • Wrote unit and integration tests if relevant.
  • Updated documentation (docs/) if anything is changed.
  • Added godoc comments if relevant.
  • Self-reviewed Files changed in the GitHub PR explorer.
  • Provide a conventional commit message to follow the repository standards.

@codecov
Copy link

codecov bot commented Feb 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 64.81%. Comparing base (2b9a1e8) to head (bd1a3b0).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8774      +/-   ##
==========================================
- Coverage   66.59%   64.81%   -1.79%     
==========================================
  Files         326       14     -312     
  Lines       17112      557   -16555     
==========================================
- Hits        11396      361   -11035     
+ Misses       5022      170    -4852     
+ Partials      694       26     -668     
Flag Coverage Δ
08-wasm 64.81% <ø> (ø)
ibc-go ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

missing size validations in lightclient and connection creation

2 participants