Commit Graph

153 Commits

Author SHA1 Message Date
mergify[bot]
8f171a1c54
refactor(x/auth): audit x/auth changes (backport #21146) (#21302)
Co-authored-by: son trinh <trinhleson2000@gmail.com>
2024-08-15 02:46:34 +07:00
Marko
9436bcb7f2
chore: various cleanup (#20864) 2024-07-18 09:12:58 +00:00
winniehere
49bc189df1
chore: fix functions' comments (#20974) 2024-07-17 11:52:06 +00:00
son trinh
021ab6dcc2
refactor(x/auth): Fix system test (#20531)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-06-12 07:02:12 +00:00
son trinh
74d89bf506
refactor(x/accounts)!: accounts and auth module use the same account number tracking (#20405) 2024-06-03 13:40:03 +00:00
Marko
1b47dc91a3
chore: move logger to core (#20388) 2024-05-28 12:30:09 +00:00
gopherorg
d90f552f62
chore: fix some function names (#20365)
Signed-off-by: gopherorg <gopherworld@icloud.com>
2024-05-13 12:15:04 +00:00
Marko
fc310b6198
chore: remove consensus as a direct dependency (#20274) 2024-05-06 09:42:47 +00:00
Julien Robert
5e7aae0db1
refactor(core,x/**): simplify core service api and embed environment in keepers (#20071) 2024-04-17 18:18:16 +00:00
Likhita Polavarapu
07c0aa73e0
feat: Add non atomic multimsg (#19350) 2024-04-15 09:32:29 +00:00
son trinh
a0d727eebc
refactor(x/auth): auth module can recognize x/accounts account (#20002) 2024-04-11 09:56:37 +00:00
Julien Robert
17bb4c74fb
refactor(x/auth): use transaction service (#19967) 2024-04-10 18:47:12 +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
27595925be
refactor(x/bank): remove duplicate logger (#19572) 2024-02-27 07:34:54 +00:00
Julien Robert
b304cf7556
refactor!: kill basic manager (#19512) 2024-02-22 14:44:49 +00:00
Marko
c8836248d1
refactor(auth): migrate to use env (#19476) 2024-02-19 21:09:11 +00:00
Julien Robert
e15a0de251
feat(core): add migrations registering (#19370)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2024-02-09 09:30:39 +00:00
Cosmos SDK
94c98691a6
chore: fix spelling errors (#19369)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-02-07 18:32:15 +00:00
testinginprod
e604e54b5c
refactor(auth): Remove IterateAccounts method from x/auth keeper (#19363) 2024-02-06 23:31:57 +00:00
Carlos Santiago Yanzon
346044afd0
feat: extra checks on signatures/pubkeys + check the signature first in antehandle (#18194) 2023-11-07 13:15:11 +00:00
Emmanuel T Odeke
05261cc46e
refactor(x/auth): spin out go.mod (#18351) 2023-11-07 11:42:58 +00:00
Marko
6ac0abde37
chore(auth): return accId in error (#17903) 2023-09-27 12:58:23 +00:00
Marko
9d07b8ca8e
refactor!: use context.Context in genesis api (#17885) 2023-09-26 16:03:41 +00:00
Marko
79a64d07d0
chore!: remove params from slashing and auth (#17820) 2023-09-21 14:26:35 +00:00
Marko
72991994dd
chore: cleanup sdk.Context (#17717) 2023-09-13 21:40:14 +00:00
Likhita Polavarapu
97661429e0
docs: Add k/v docs in structs using collections (#17609) 2023-09-04 22:24:19 +00:00
Marko
3781c462a9
chore: minor bech32 global removal (#17469)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-08-22 12:45:54 +00:00
Facundo Medica
bf1803bc57
fix(x/auth): internal error on AccountInfo when PubKey is nil (#17209) 2023-07-31 09:32:33 +00:00
testinginprod
9e098ca9e6
fix(query): filtered collections pagination (#16905)
Co-authored-by: atheesh <atheesh@vitwit.com>
Co-authored-by: unknown unknown <unknown@unknown>
2023-07-13 15:44:51 +00:00
Julien Robert
e0be2b80fc
feat(staking)!: add consensus and validator address codec in staking (#16959)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2023-07-13 09:08:27 +00:00
Julien Robert
81b70496c5
feat(auth): autocli query support (#16650) 2023-07-10 09:42:20 +00:00
Julien Robert
02b7607768
feat(auth,client/v2): add validator address codec (#16768) 2023-06-30 09:44:28 +00:00
Marko
256e37c523
feat(auth): make address codec pluggable (#16621)
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-28 11:57:26 +00:00
Jacob Gadikian
6afece635c
style: add gci linter (#16605) 2023-06-22 15:35:51 +00:00
atheeshp
dcac757a04
chore: remove x/gov module dependencies in x/staking (#16567) 2023-06-15 17:17:37 +00:00
Matt Kocubinski
e169374eb4
refactor: remove dependencies x/auth -> x/genutil, x/gov (#16423) 2023-06-06 15:31:25 +00:00
Marko
5097b0c226
refactor(test): remove header dependence from tests (#16342)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-05-31 15:42:23 +00:00
testinginprod
3d15f9edf2
refactor(auth): use collections for Account state management (#16016)
Co-authored-by: unknown unknown <unknown@unknown>
2023-05-26 09:26:58 +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
c8ab555174
refactor(bech32): remove embedding of addresscodec (#16197) 2023-05-22 10:20:45 +00:00
testinginprod
3ada275c32
refactor(auth): decouple auth Keeper API from Msg and Query server implementation (#15985)
Co-authored-by: unknown unknown <unknown@unknown>
2023-05-01 14:30:20 +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
Julien Robert
1179285bf2
feat(hubl): cache bech32 prefix (#15954) 2023-04-26 16:34:56 +00:00
Facundo Medica
e3860acb04
fix: benchmarks broken in 15818 (#15934) 2023-04-24 19:43:18 +00:00
Julien Robert
866cfa4860
refactor: embed address codec in auth keeper (#15929) 2023-04-24 15:02:26 +00:00
testinginprod
73c8064145
refactor(auth): use collections for GlobalAccountNumber (#15830)
Co-authored-by: testinginprod <testinginprod@somewhere.idk>
2023-04-17 08:57:08 +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
Julien Robert
e4dbf1b7b4
refactor(auth,vesting): move ValidateBasic logic to msgServer (#15786) 2023-04-12 14:37:06 +00:00
testinginprod
0df90869b1
refactor(auth): make params state use collections (#15784) 2023-04-11 23:09:22 +00:00
Marko
90e2a2ae89
style: linting (#15704)
## Description

closing in on completion of linting

---

### 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-06 23:25:23 +00:00