cosmos-sdk/x/auth/client/cli
Jayden Lee c71d19939b
fix: change the behavior of offline mode correctly (#15123)
## Description
Closes: #15109 

Change to work only when `FlagAccountNumber` and `FlagSequence` are in offline mode. In other cases, use `AccountRetriever` to populate those values.



---

### Author Checklist

*All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.*

I have...

- [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] added `!` to the type prefix if API or client breaking change
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] provided a link to the relevant issue or specification
- [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/docs/building-modules)
- [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing)
- [ ] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [ ] updated the relevant documentation or specification
- [ ] reviewed "Files changed" and left comments if necessary
- [ ] confirmed all CI checks have passed

### Reviewers Checklist

*All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.*

I have...

- [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] confirmed `!` in the type prefix if API or client breaking change
- [ ] confirmed all author checklist items have been addressed 
- [ ] reviewed state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)
2023-02-23 10:03:20 +00:00
..
broadcast.go Combine client.ReadTxCommandFlags with GetClientContextFromCmd (#8155) 2020-12-14 22:09:51 +00:00
decode.go docs: encode/decode transaction (#10133) 2021-09-14 17:42:21 +00:00
encode_test.go refactor: rename depinject imports to cosmossdk.io/depinject (#12479) 2022-07-09 17:46:07 +02:00
encode.go docs: add auth tx commands documentation (#13682) 2022-10-28 13:01:34 +00:00
query_test.go feat: decouple x/auth from simapp (#12360) 2022-06-29 09:53:59 +00:00
query.go refactor: fix lint issues + gofumpt (#15062) 2023-02-19 10:31:49 +00:00
suite_test.go refactor: rename to CometBFT (#14914) 2023-02-06 18:11:14 +00:00
tips.go fix: change the behavior of offline mode correctly (#15123) 2023-02-23 10:03:20 +00:00
tx_multisign.go fix: change the behavior of offline mode correctly (#15123) 2023-02-23 10:03:20 +00:00
tx_sign.go fix: change the behavior of offline mode correctly (#15123) 2023-02-23 10:03:20 +00:00
validate_sigs.go fix: change the behavior of offline mode correctly (#15123) 2023-02-23 10:03:20 +00:00