Commit Graph

77 Commits

Author SHA1 Message Date
ipangpang
d8c84589fc
style: remove redundant import alias (#23130)
Co-authored-by: hao.wang <hao.wang@haowangdeMacBook-Pro.local>
Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: Alex | Skip <alex@skip.money>
2025-01-03 15:04:11 +00:00
Facundo Medica
864e9f16a3
refactor(x/bank,x/distr,x/feegrant)!: reduce auth keeper dependency (#21651) 2024-10-09 20:00:09 +00:00
Julien Robert
cbdfd9bdfa
chore: bump golangci-lint and fix all linting issues (#21761) 2024-09-16 19:11:19 +00:00
Marko
70488a89a8
refactor: revert auth extraction (#21507) 2024-09-03 21:12:21 +00:00
Julián Toledano
59e0a3d6be
refactor(x/feegrant)!: audit QA v0.52 (#21377) 2024-08-26 07:50:44 +00:00
Julien Robert
6276b015bb
chore: fix all lint issue since golangci-lint bump (#21326) 2024-08-16 13:03:24 +00:00
Aaron Craelius
5c90246b3f
feat(log): remove core dependency and update core interface to be dependency free (#21045)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-07-26 11:00:27 +00:00
Marko
9436bcb7f2
chore: various cleanup (#20864) 2024-07-18 09:12:58 +00:00
Hieu Vu
d1aab15790
refactor(x/feegrant): set environment in context (#20529) 2024-06-03 14:33:48 +00:00
Marko
1b47dc91a3
chore: move logger to core (#20388) 2024-05-28 12:30:09 +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
Facundo Medica
ea7bdd1724
fix: Do not call Remove during Walk (#19833)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2024-03-24 18:56:24 +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
Marko
52106a66cb
refactor(feegrant): migrate to use env var (#19450) 2024-02-20 15:03:22 +00:00
Marko
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 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
Julien Robert
41b188d64e
fix(x/feegrant): fix sims (#19362) 2024-02-06 23:30:52 +00:00
limengjun
b44317ebce
refactor(x/feegrant): Change the periodReset assignment time (#18815)
Co-authored-by: Tim <mengjun.l@kaitaitech.cn>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2024-01-15 18:17:24 +00:00
Luke
5367c93e1c
imp(feegrant): ensure we only execute revokeAllowance if there is no error is the grant is to be removed (#18767) 2023-12-17 13:26:47 +00:00
Emmanuel T Odeke
05261cc46e
refactor(x/auth): spin out go.mod (#18351) 2023-11-07 11:42:58 +00:00
Facundo Medica
4caecf13bb
feat(x/feegrant): Add limits to grant pruning and enable message to aid manually (#18047) 2023-10-16 16:28:06 +00:00
Marko
1e40dc8e3f
chore(feegrant): remove address.String() calls (#17869) 2023-09-25 16:03:32 +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
Oleg Kovalov
7ff1ae999a
chore: fix nolint comments (#17644) 2023-09-06 21:32:11 +00:00
Likhita Polavarapu
97661429e0
docs: Add k/v docs in structs using collections (#17609) 2023-09-04 22:24:19 +00:00
Julien Robert
77be10bd95
refactor: remove collections.ErrInvalidIterator when unecessary (#17364) 2023-08-11 14:32:17 +00:00
atheeshp
e51e74a9df
refactor(feegrant): collection migration (#16535) 2023-07-28 15:16:00 +00:00
ruthishvitwit
fd7e549a3c
chore: enable errcheck linter (#16406) 2023-07-12 08:58:27 +00:00
Jacob Gadikian
f0aec3f30d
style: use thelper (#16777) 2023-07-03 13:33:05 +00:00
Julien Robert
8c72f66396
refactor!: remove types/math aliases (#16798) 2023-06-30 17:09:03 +00:00
atheeshp
d0b42dc829
chore: x/feegrant audit changes (#16652) 2023-06-23 07:48:51 +00:00
Jacob Gadikian
6afece635c
style: add gci linter (#16605) 2023-06-22 15:35:51 +00:00
Likhita Polavarapu
82adcea791
test: deduplicate e2e tests (#16356) 2023-06-07 12:08:52 +00:00
Marko
c8ab555174
refactor(bech32): remove embedding of addresscodec (#16197) 2023-05-22 10:20:45 +00:00
Julien Robert
cdc03fa66e
refactor(authz): move ValidateBasic logic to msgServer (#15754) 2023-04-08 12:57:51 +00:00
Facundo Medica
445dc8afe0
refactor!: use store service in x/feegrant (#15606)
## Description

Closes: #XXXX



---

### 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-04 16:02:16 +00:00
samricotta
448ffbc722
refactor: remove aliases from types/math.go in evidence and feegrant (#15676) 2023-04-03 15:58:33 +00:00
Marko
1f2875d445
style: gofumpt linting (#15605) 2023-03-30 06:27:38 +00:00
Marko
572e657711
refactor(feegrant): remove bech32 global (#15347)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-03-24 22:33:34 +00:00
Facundo Medica
4a6a1e3cb8
refactor: fix lint issues + gofumpt (#15062) 2023-02-19 10:31:49 +00: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
Julien Robert
41a3dfeced
refactor!: migrate Cosmos SDK to CometBFT (#14897) 2023-02-05 14:51:33 +01:00
atheeshp
cc10614146
refactor: x/feegrant to stand alone (#14649)
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
2023-01-25 16:39:54 +00:00
Likhita Polavarapu
7559d9ecd3
refactor: create go.mod for store (#14746)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-01-25 13:31:56 +00:00
Noel Ukwa
c822836501
refactor: migrate calls from alias file to appropriate store/types (#14455)
Co-authored-by: Marko <marbar3778@yahoo.com>
Closes https://github.com/cosmos/cosmos-sdk/issues/14406
2023-01-10 15:31:06 +00:00
atheeshp
b8b34a68f5
chore: (x/feegrant) update keeper logic to do not allow duplicate grant (#14294) 2023-01-09 09:29:41 +00:00
atheeshp
4a9062122b
chore: (x/feegrant) add missing test scenarios (#14018)
* add missing test scenarios

* review changes
2022-11-30 07:46:01 +00:00