Repository navigation
feat(cli): attestor/relayer grpc query commands + IFT mint/send - #1368
Merged
Merged
Conversation
Contributor
Greptile SummaryThe PR adds CLI commands for querying attestors, triggering and inspecting relays, and minting or transferring IFT tokens.
Confidence Score: 4/5The PR should not merge until IFT commands reject non-EVM chain configurations instead of panicking; timeout validation is also worth tightening. Selecting a valid configured chain without an EVM section reaches an unconditional chain.EVM.RPC dereference, while non-positive timeout durations can create expired or wrapped transfer timestamps. Files Needing Attention: link/cmd/ibc/ift.go and link/cmd/ibc/main.go Important Files Changed
|
dhfang
force-pushed
the
feat/link-cli-commands
branch
from
August 13, 2026 07:08
5acdc48 to
99fa3de
Compare
dhfang
force-pushed
the
feat/link-cli-commands
branch
2 times, most recently
from
August 13, 2026 07:21
d48e7ff to
3dc23d7
Compare
dhfang
force-pushed
the
feat/link-cli-commands
branch
2 times, most recently
from
August 13, 2026 14:29
c3817ef to
95632f2
Compare
dhfang
force-pushed
the
feat/link-cli-commands
branch
from
August 13, 2026 15:30
95632f2 to
438d532
Compare
Eric-Warehime
approved these changes
Aug 13, 2026
| } | ||
|
|
||
| client := relayerv2.NewRelayerApiServiceClient( | ||
| newGRPCHTTPClient(), "http://"+dialableAddress(address), connect.WithGRPC(), |
Contributor
Author
There was a problem hiding this comment.
Link doesn't support tls yet 😬
…endpoint Signed-off-by: Dennis Fang <dhsfang@gmail.com>
Signed-off-by: Dennis Fang <dhsfang@gmail.com>
Signed-off-by: Dennis Fang <dhsfang@gmail.com>
…onvention these commands deliberately follow cosmos-sdk's tx <module> <action> [positional args] [flags] idiom (core args positional, --chain/--ift/--from shared as flags) rather than deploy's all-flag style -- add Example lines and a parent Long blurb so that split is visible from --help instead of being something a first run has to discover by guessing wrong Signed-off-by: Dennis Fang <dhsfang@gmail.com>
deploy's commands (core/client/gmp/ift/ift-bridge/status) take no positional args; ift mint/send were the only tx commands mixing positional core args with flags, following cosmos-sdk's tx convention instead. Converts to --to/--amount (mint) and --client-id/--to/--amount (send) so every deploy/tx command in this CLI shares one shape Signed-off-by: Dennis Fang <dhsfang@gmail.com>
… status - new `ibc deploy show [chain-id]`: prints the recorded manifest as-is - `ibc tx ift mint/send --to` now also accepts a configured signer alias (resolved to its derived EVM address), not just a raw hex address, matching how --from/--attestors already work elsewhere - `ibc relayer status`/`relay` now print via protojson instead of encoding/json, so PacketState renders as its name (PACKET_STATE_PENDING) instead of a bare integer Signed-off-by: Dennis Fang <dhsfang@gmail.com>
Signed-off-by: Dennis Fang <dhsfang@gmail.com>
…-hash/--chain-id interface Signed-off-by: Dennis Fang <dhsfang@gmail.com>
Signed-off-by: Dennis Fang <dhsfang@gmail.com>
dhfang
force-pushed
the
feat/link-cli-commands
branch
from
August 13, 2026 16:22
17e5027 to
c133b82
Compare
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.
Adds commands for interacting with the grpc api and ifts
packet-attestationwas left out for now — constructing a valid request means hand-assembling ABI-encoded IBC packet bytes, which isn't something anyone would do by hand and it's not something people will use for the walkthrough demo