Repository navigation
fix(apps/ica): default packet generation to protobuf - #9154
Open
zakazaka95 wants to merge 1 commit into
Open
zakazaka95 wants to merge 1 commit into
zakazaka95 wants to merge 1 commit into
Conversation
Use the documented protobuf default when --encoding is omitted. Round-trip packet generation through the host command and preserve explicit encoding validation. Assisted-By: OpenAI Codex Signed-off-by: Zaksans <yyzarijayy@gmail.com>
zakazaka95
marked this pull request as ready for review
November 6, 2026 23:24
Contributor
|
@greptile review |
[Low impact] The PR appears safe to merge; no actionable issues were found. SummarySets the default
No actionable issues found. Tests and build checks were not run during this review. Reviews (1) · Last reviewed commit: "fix(apps/ica): default packet generation..." · Reviewed by Greptile |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The generate-packet-data help, docs and example promise default protobuf encoding, but the encoding flag defaults to an empty string rejected by RunE. The documented invocation fails unless --encoding is supplied.
Set --encoding default to the existing EncodingProtobuf constant. Explicit invalid and empty values stay rejected. Execute the real exported host command tree with omitted, proto3, proto3json, invalid and explicitly empty flags. Round-trip each successful packet into MsgSend and verify memo/type/addresses/amount.
Validation
go test -mod=readonly ./modules/apps/27-interchain-accounts/host/client/clipasses with this patch.make format,LEDGER_ENABLED=false make build,make lint-docsandmake build-docspass.Checklist
AI assistance: OpenAI Codex was used for the implementation, tests and this description.
Linux validation
Fork validation run passed for exact source commit
9724ada476f494ebc4a12dc1e43a8ad48d1bac05. Checks: Build and lint PR 9154; Documentation PR 9154; Unit tests PR 9154.