Commit Graph
112 Commits
Author SHA1 Message Date
Julien Robert 5e7aae0db1 refactor(core,x/**): simplify core service api and embed environment in keepers (#20071) 2024-04-17 18:18:16 +00:00
Julián Toledano f499bbf213 refactor(x): remove Address.String() (#20048) 2024-04-15 13:57:32 +00:00
Julián ToledanoandMarko c7534584dd refactor(x/bank)!: remove Address.String() (#19954)
Co-authored-by: Marko <marko@baricevic.me>
2024-04-05 13:09:45 +00:00
Emil GeorgievandFacundo Medica ab45a85307 fix(x/authz): non utf-8 characters in logs (#19923)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2024-04-05 10:31:23 +00:00
Julián Toledano fa19df111d refactor(x/authz)!: remove Accounts.String() (#19783) 2024-03-20 10:32:56 +00:00
Chi Xiao Wenandchixiaoxiao db82004074 refactor(x/**)!: genesis return errors (#19740)
Co-authored-by: chixiaoxiao <chixiaoxiao@gmail.com>
2024-03-13 11:44:43 +00:00
MarkoandJulien Robert d2e40963ed refactor(modules): adopt appmodulev2.Hasgenesis (#19627)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-03-11 10:22:16 +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 3cbdf5ac13 fix 2024-03-04 16:20:52 +01:00
Julien RobertandLikhita Polavarapu 8c1299176c refactor(x/authz)!: use router service (#19637)
Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
2024-03-04 14:26:18 +00:00
Likhita PolavarapuandJulien Robert 871b91c3e7 feat(x/authz): Add env bundler to x/authz (#19490)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-02-22 20:42:49 +00:00
Julien Robert b304cf7556 refactor!: kill basic manager (#19512) 2024-02-22 14:44:49 +00:00
MarkoandAleksandr Bezobchuk 869c96c403 refactor(bank, feegrant, authz): avoid creating baseaccount (#19188)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2024-02-13 12:52:06 +00:00
Julien RobertandFacundo Medica 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
Julien Robert 0ba62db727 feat(x/authz): add limits to grant pruning and enable message to aid manually (#18737) 2023-12-15 17:56:27 +00:00
14e261eb73 chore: fix spelling errors (#18734)
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-12-13 14:05:58 +00:00
Emmanuel T Odeke 05261cc46e refactor(x/auth): spin out go.mod (#18351) 2023-11-07 11:42:58 +00:00
Marko 21e69bad04 refactor(bank): add go module (#18279) 2023-10-27 09:25:04 +00:00
Facundo Medica ab2a725863 chore: cleanup comet dependence in tests (#18239) 2023-10-26 16:20:19 +00:00
Marko bfb1a91110 refactor(authz): add go.mod (#18265) 2023-10-26 15:33:51 +00:00
Marko 9d07b8ca8e refactor!: use context.Context in genesis api (#17885) 2023-09-26 16:03:41 +00:00
Marko 6615ff4f76 refactor!: deprecate blocktime on context (#17738) 2023-09-18 13:55:21 +00:00
Marko 72991994dd chore: cleanup sdk.Context (#17717) 2023-09-13 21:40:14 +00:00
Julien Robert 5839c3a600 chore: bump golangci-lint to v1.54.2 (#17538) 2023-08-25 14:07:24 +00:00
devon a429238fc2 fix(x/authz): GetAuthorizations (#17334) 2023-08-24 15:32:00 +00:00
Markoandmarbar3778 3781c462a9 chore: minor bech32 global removal (#17469)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-08-22 12:45:54 +00:00
Julien Robert 1145da9616 feat(authz): autocli query support (#16986) 2023-07-13 14:45:56 +00:00
ruthishvitwit fd7e549a3c chore: enable errcheck linter (#16406) 2023-07-12 08:58:27 +00:00
atheeshpandLikhita Polavarapu bf7a298c2c fix(authz): error msg (#16869)
Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
2023-07-07 10:09:48 +00:00
Jacob Gadikian 6afece635c style: add gci linter (#16605) 2023-06-22 15:35:51 +00:00
Likhita Polavarapu 8d47088f5b refactor: authz audit changes (#16631) 2023-06-22 06:12:26 +00:00
Matt KocubinskiandAleksandr Bezobchuk 1363a02da0 refactor: remove cyclic authz dependencies (#16509)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-06-13 18:30:22 +00:00
Aaron CraeliusandMatt Kocubinski 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
chary 57ee17b639 fix: fix authz granter error message (#16101) 2023-05-11 10:34:20 +00:00
Facundo Medica 91278f6602 refactor(x/authz)!: Use KVStoreService, context.Context and return errors instead of panic (#15962) 2023-04-27 15:15:45 +00:00
Julien RobertandMarko 10d7d15f04 refactor(group): move ValidateBasic logic to msgServer (#15785)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-04-18 14:26:33 +00:00
atheeshp 70436fa5ec refactor(x/bank): move validate basic checks to msg server (#15782) 2023-04-12 20:15:31 +00:00
Marko 37032fb948 chore: linting (#15813) 2023-04-12 12:36:42 +00:00
Marko 00e1f85eca style: general linting (#15756) 2023-04-12 11:04:01 +00:00
Julien Robert cdc03fa66e refactor(authz): move ValidateBasic logic to msgServer (#15754) 2023-04-08 12:57:51 +00:00
Marko 521aa4bfdd refactor(authz):remove global bech32 (#15662) 2023-04-03 13:55:32 +02:00
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
Jacob Gadikian 37ba88872d style: enable strict gofumpt (#15579) 2023-03-28 18:59:21 +00:00
Mark Rushakoff 261af6721b test: use pointer receivers to avoid lock copies (#15217)
## Description
There were several test suite methods that had a value receiver, and which were being ignored for linting. Instead of ignoring the error, use pointer receivers to properly avoid lock copying.

And use a local copy of one loop variable in a possible closure.

---

### 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...

- [x] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [x] 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~~
- [ ] ~~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 all author checklist items have been addressed
- [ ] confirmed that this PR does not change production code
2023-02-28 18:27:57 +00:00
Julien Robert 5d559dd265 feat!: use cosmossdk.io/log logger (#15011) 2023-02-27 21:36:22 +00:00
Facundo Medica 4a6a1e3cb8 refactor: fix lint issues + gofumpt (#15062) 2023-02-19 10:31:49 +00:00
Marko 1dad6891e2 chore: add message router interface (#15035) 2023-02-15 10:00:28 -08:00
Julien Robert a7ac29e3f4 chore: rename log pkg and add zerolog (#14955) 2023-02-08 11:32:22 +00:00
Marko 281017ae90 refactor: use cosmos-sdk/log throughout (#14909)
## Description

removes the dependency of tendermint/utils/log from countless locations. This is in effort of reducing Tendermint's lib usage in the sdk 

this is nonbreaking as the interface is the same. To eliminate tm/utils/log in the sdk we need a few more things. Once we have fully removed the tendermint logger, I would propose we break the interface and define our own for our use case, when we pass the logger to tendermint in the node.New() function we can wrap our logger for its use case 

---

### 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-07 10:54:48 +00:00