Commit Graph

259 Commits

Author SHA1 Message Date
yukionfire
095c003495
chore(x/auth,x/accounts): use errors.New to replace fmt.Errorf with no parameters (#20993) 2024-07-19 09:37:03 +00:00
Qt
3304d0803d
refactor: use errors.New to replace fmt.Errorf with no parameters (#20943)
Co-authored-by: Marko <marko@baricevic.me>
2024-07-18 12:01:45 +02:00
Facundo Medica
b9ca318121
fix: nested multisig signatures using CLI (#20438) 2024-06-14 16:57:00 +00:00
seayyyy
63f386ee08
chore: fix some comments (#20119) 2024-04-22 06:43:19 +00:00
Julián Toledano
25aea8af8a
refactor!: remove global config from x/auth and client (#19447) 2024-03-06 13:14:16 +00:00
Julien Robert
b304cf7556
refactor!: kill basic manager (#19512) 2024-02-22 14:44:49 +00:00
Julián Toledano
e65f392b93
fix(x/auth): set from flag in multi-sign command (#19239)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2024-01-26 08:50:17 +00:00
Hieu Vu
bea3f9b7a3
feat(x/auth): batch transactions file format & broadcast multi transactions (#18692)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-12-14 10:04:34 +00:00
Ezequiel Raynaudo
7bdbc4629f
fix(x/auth): Add fees on batch sign (#18564) 2023-11-29 14:38:08 +00:00
Julien Robert
3853e7ff70
ci: optimize linter script (#18480) 2023-11-16 12:57:32 +00:00
Zijing Zhang
f0753b41e0
refactor: tx_multisign/tx_sign refactor to improved readability and maintainability (#18451) 2023-11-13 09:38:37 +00:00
Emmanuel T Odeke
05261cc46e
refactor(x/auth): spin out go.mod (#18351) 2023-11-07 11:42:58 +00:00
Julien Robert
bb34c42f06
feat(client): add default key name (#18101) 2023-10-16 11:08:40 +00:00
Julien Robert
ec9bcc41ef
feat(auth,vesting): add autocli options for tx (#18100) 2023-10-13 07:20:15 +00:00
Marko
6715b5afb5
refactor!: remove tips (#17787) 2023-09-20 12:00:22 +00:00
zakir-code
0b5e7ed0af
refactor: hide --output flags that don't work (#17188)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-29 23:53:27 +00:00
larry
ca74dcce7e
feat: Add CLI commands: 1) simulate a transaction, 2) query block results (#16887)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2023-07-12 17:36:00 +00:00
ruthishvitwit
fd7e549a3c
chore: enable errcheck linter (#16406) 2023-07-12 08:58:27 +00:00
Julien Robert
81b70496c5
feat(auth): autocli query support (#16650) 2023-07-10 09:42:20 +00:00
Jacob Gadikian
8d4ff7a19a
style: bump golangci-lint (#16667) 2023-06-23 12:49:34 +00:00
Jacob Gadikian
6afece635c
style: add gci linter (#16605) 2023-06-22 15:35:51 +00:00
Matt Kocubinski
e169374eb4
refactor: remove dependencies x/auth -> x/genutil, x/gov (#16423) 2023-06-06 15:31:25 +00:00
Aaron Craelius
82659a7477
refactor!: deprecate sdk.Msg.GetSigners (#15284)
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
2023-05-25 18:35:09 +00:00
Marko
571c13ea84
refactor(bank): migrate bech32 encoding (#15567) 2023-05-24 17:03:43 +00:00
Aaron Craelius
cb1641c1b5
refactor(codec)!: update codec to x/tx v0.6.0 (#15873)
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
2023-04-28 08:13:28 +00:00
Matt Kocubinski
86b88b1ace
refactor!: use x/tx/signing in client.TxConfig (#15822) 2023-04-20 16:20:21 +00:00
Julien Robert
c0eade17fe
test: fix module cli tests (#15882) 2023-04-19 14:24:07 +00:00
Marko
722bea5b40
refactor(auth): remove bech32 global from auth (#15826)
## Description

ref #13140 

on top of removing bech32 from auth this also removes the get address cmd from root command as it was duplicated

---

### 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-04-14 08:51:15 +00:00
samricotta
d31a30fdf8
refactor: remove aliases from types/math.go in auth/authz module (#15653)
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-03-31 20:53:13 +00:00
Julien Robert
460bd0ad26
refactor: remove unnecessary depinject usage (#15529) 2023-03-23 16:18:41 +00:00
Amaury
a4a3c81d11
feat(client): Add cobra's context to clientCtx (#15458)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2023-03-20 14:14:58 +00:00
Aaron Craelius
ecc685d428
refactor!: remove some legacy amino stuff needed for #11275 (#15299) 2023-03-15 20:10:23 +00:00
Aleksandr Bezobchuk
41690532be
refactor: Refactor TxSearch (#14758)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-02-24 16:08:53 +00:00
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
Facundo Medica
4a6a1e3cb8
refactor: fix lint issues + gofumpt (#15062) 2023-02-19 10:31:49 +00:00
cipherZ
86eca4c72b
feat: Integrate tendermint Block endpoints into the cli (#14659)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-02-14 19:23:45 +01:00
Julien Robert
c17c3caab8
refactor: rename commands to match consensus engine name (#14956) 2023-02-08 20:09:28 +00:00
Julien Robert
80dd55f79b
refactor: rename to CometBFT (#14914) 2023-02-06 18:11:14 +00:00
Julien Robert
41a3dfeced
refactor!: migrate Cosmos SDK to CometBFT (#14897) 2023-02-05 14:51:33 +01:00
Amaury
fffc9d07d5
refactor!: Add context arg to sign mode handler GetSignBytes (#13701)
* refactor!: Add context arg to sign mode handler `GetSignBytes`

* fix build

* fix tests

* Fix goling

* fix lint

* Fix lint

* Fix test

* Update CHANGELOG.md

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

* Fix tests

* Fix rosetta deps

* fix

* go mod tidy all

* go mod tidy

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2022-11-29 18:49:51 +00:00
atheeshp
42597ee593
chore: added new field account-id with uint64 in AccountAddressByID (#13780)
* add changes

* Update CHANGELOG.md

* Update CHANGELOG.md

* review changes

* add test

* fix static check

* fix lint

* fix lint

* fix lint

* review changes

* review changes

* review changes

* review changes

* fix tests

* Update CHANGELOG.md

Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>

* Update CHANGELOG.md

Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>

* Update proto/cosmos/auth/v1beta1/query.proto

Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>

* review changes

* lint

* review changes

Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
2022-11-21 11:50:10 +00:00
Julien Robert
4f7d9ea233
refactor: clean-up test helpers and tmcli (#13805) 2022-11-09 11:13:27 +00:00
Julien Robert
08be7ee74b
refactor: extract MockTendermintRPC to testutil/cli 2022-11-03 22:40:52 +00:00
Julien Robert
dd78ce9ca4
docs: add auth tx commands documentation (#13682) 2022-10-28 13:01:34 +00:00
Sai Kumar
ddf5cf0d8d
feat(cli): add module-account cli cmd and grpc get api (#13612) 2022-10-22 18:23:24 +00:00
Likhita Polavarapu
59f3c3c3da
refactor(auth): CLI tests using Tendermint Mock (#13567) 2022-10-18 09:13:21 +02:00
Julien Robert
6efbedb1c7
feat: let sign-batch read multiple files (#13454)
* feat: let `sign-batch` read multiple files

* add changelog

* fix gosec issue

* simplify
2022-10-07 15:12:28 +00:00
Amaury
90bd3161a1
refactor: Improve and clarify API around AccountAddressById (#13460)
* Revert "chore: change id to use uint64 in `AccountAddressByID` (#13411)"

This reverts commit 3d0e214446.

* Add since

* Update CLI command

* make proto-gen

* id->accNum

* No API breaking changes

* improve err msg

* Update CHANGELOG.md

Co-authored-by: Julien Robert <julien@rbrt.fr>

* Update CHANGELOG.md

Co-authored-by: Julien Robert <julien@rbrt.fr>

Co-authored-by: Julien Robert <julien@rbrt.fr>
2022-10-06 11:05:25 +00:00
atheeshp
3d0e214446
chore: change id to use uint64 in AccountAddressByID (#13411) 2022-09-28 12:42:53 -04:00
Sai Kumar
445a99f710
feat(cli): add --append flag to sign-batch cli cmd (#13147)
* feat(cli): add `multi-msg-sign`

* chore: update the changelog

* chore: fix the lint issue

* chore: address the pr comments

* chore: address the pr comments

* refactor: refactored `sign-batch` to generate single signed tx

* chore: updated the changelog

* fix: fix the lint

* test: fix the tests on auth

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2022-09-27 00:31:58 +02:00