Skip to content

imp: add extra validation to ica msgs#8734

Merged
srdtrk merged 6 commits intomainfrom
serdar/xxx-imp-ica-validation
Dec 17, 2025
Merged

imp: add extra validation to ica msgs#8734
srdtrk merged 6 commits intomainfrom
serdar/xxx-imp-ica-validation

Conversation

@srdtrk
Copy link
Member

@srdtrk srdtrk commented Dec 16, 2025

Description

closes: #XXXX


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 Dec 16, 2025

Codecov Report

❌ Patch coverage is 28.57143% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 58.60%. Comparing base (8e48512) to head (f4397fd).
⚠️ Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
modules/apps/27-interchain-accounts/types/codec.go 28.57% 5 Missing and 5 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8734      +/-   ##
==========================================
- Coverage   58.62%   58.60%   -0.03%     
==========================================
  Files         329      329              
  Lines       18484    18498      +14     
==========================================
+ Hits        10837    10841       +4     
- Misses       6998     7003       +5     
- Partials      649      654       +5     
Flag Coverage Δ
08-wasm 64.81% <ø> (ø)
e2e 0.95% <ø> (ø)
ibc-go 63.95% <28.57%> (-0.04%) ⬇️

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.

@srdtrk srdtrk marked this pull request as draft December 16, 2025 20:40
@srdtrk srdtrk marked this pull request as draft December 16, 2025 20:40
@srdtrk srdtrk marked this pull request as ready for review December 17, 2025 14:08
Copy link
Contributor

@aljo242 aljo242 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm - we just need to document this change

@srdtrk srdtrk merged commit 7574333 into main Dec 17, 2025
53 of 55 checks passed
@srdtrk srdtrk deleted the serdar/xxx-imp-ica-validation branch December 17, 2025 18:11
mergify bot pushed a commit that referenced this pull request Dec 18, 2025
* imp: add extra validation

* chore: lint

* imp: error msg

* test: fix tests

* docs: document the validation change

---------

Co-authored-by: Alex | Cosmos Labs <alex@cosmoslabs.io>
(cherry picked from commit 7574333)

# Conflicts:
#	docs/docs/02-apps/02-interchain-accounts/07-tx-encoding.md
#	modules/apps/27-interchain-accounts/host/keeper/relay_test.go
mergify bot pushed a commit that referenced this pull request Dec 18, 2025
* imp: add extra validation

* chore: lint

* imp: error msg

* test: fix tests

* docs: document the validation change

---------

Co-authored-by: Alex | Cosmos Labs <alex@cosmoslabs.io>
(cherry picked from commit 7574333)
srdtrk added a commit that referenced this pull request Dec 18, 2025
* imp: add extra validation to ica msgs (#8734)

* imp: add extra validation

* chore: lint

* imp: error msg

* test: fix tests

* docs: document the validation change

---------

Co-authored-by: Alex | Cosmos Labs <alex@cosmoslabs.io>
(cherry picked from commit 7574333)

* fix: test compilation

* fix: remove non-existant field

* docs: update changelog

---------

Co-authored-by: srdtrk <59252793+srdtrk@users.noreply.github.com>
Co-authored-by: Alex | Cosmos Labs <alex@cosmoslabs.io>
Co-authored-by: srdtrk <srdtrk@hotmail.com>
srdtrk added a commit that referenced this pull request Dec 18, 2025
* imp: add extra validation to ica msgs (#8734)

* imp: add extra validation

* chore: lint

* imp: error msg

* test: fix tests

* docs: document the validation change

---------

Co-authored-by: Alex | Cosmos Labs <alex@cosmoslabs.io>
(cherry picked from commit 7574333)

# Conflicts:
#	docs/docs/02-apps/02-interchain-accounts/07-tx-encoding.md
#	modules/apps/27-interchain-accounts/host/keeper/relay_test.go

* fix: conflicts

* fix: use ErrUnknownDataType instead of ibcerrors.ErrInvalidType

* test: fix

* lint: gci

* test: fix

* chore: remove unused diff

* docs: update changelog

---------

Co-authored-by: srdtrk <59252793+srdtrk@users.noreply.github.com>
Co-authored-by: srdtrk <srdtrk@hotmail.com>
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