-
Notifications
You must be signed in to change notification settings - Fork 323
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
Implement ability to select specific wallet for packet clearing CLI #2252
Implement ability to select specific wallet for packet clearing CLI #2252
Conversation
Merge in upstream
Pulling in upstream changes
Merge in upstream changes
…to select-specific-wallet-packet-clearing
It looks like as part of ADR 10 it was decided that CLI commands that require being able to specify parameters on both the source and destination chains should do so using @adizere pointed out that the original design of this feature comes up a bit short because the The most straightforward way to address this is to split the proposed Curious what folks thoughts are on how this question might be best resolved. |
I agree this is not ideal. The "host" + "reference" terminology seems to be useful for client-related queries only. Just to understand the current situation: We're refactoring (cf ADR 10) the
This refactor is underway here #2275. Note that whatever changes we introduce in the present PR will likely conflict with that refactor, so we should aim to minimize merge conflicts, but that's a separate topic. I looked again through the ADR and found that the specifiers we typically use as of ADR 10 are as follows:
If we want to have a specifier to a
I doubt option 1 would be ideal here since Additionally, we should also be consistent with the key name specifiers from ADR 010. So it's more like
PS. should we update ADR 010 with whichever decision we take? to clearly specify how |
I agree that
Agree that the ADR should be updated. |
…eanchen1991/ibc-rs into select-specific-wallet-packet-clearing
…nformalsystems#2252) * Pull in upstream changes * Add `-k` key flag to clear packets command * Implement Override<Config> for ClearPacketsCmd * Add changelog entry * Update guide * Remove unnecessary import * Remove short flag option * Add clap option for `counterparty_key_name` flag * Attempting to fetch counterparty chain config * Overwrite dst chain's `key_name` in clear packet flow * Change a word in a comment * Make language in guide consistent with CLI output * Update ADR 010 to reflect changes to `clear packet` command Co-authored-by: Romain Ruetschi <romain@informal.systems>
Closes: #2111
Description
Add
--key <KEY>
and--counterparty-key <KEY>
options for clear packets CLI, just like Hermes provides one fortx ft-transfer -key <KEY>
.PR author checklist:
unclog
.docs/
). Add a definition of what keys are in the "keys" chapter of the Hermes guide.Reviewer checklist:
Files changed
in the GitHub PR explorer.