Commit Graph

119 Commits

Author SHA1 Message Date
Shude Li
fc91e76354
build(all): migrate to go.uber.org/mock (#22315) 2024-10-21 09:58:09 +00:00
Julien Robert
787ee6980f
refactor: simplify collected metrics (#21963) 2024-09-28 11:20:39 +00:00
Marko
d54f6fa95b
refactor(x/evidence): accept address codec in constructor (#21859) 2024-09-25 09:42:27 +00:00
Wukingbow
29077c866c
docs: fix function comments (#21814)
Co-authored-by: wujinbao <www.389092100@qq.com>
2024-09-19 06:53:08 +00:00
Julien Robert
cbdfd9bdfa
chore: bump golangci-lint and fix all linting issues (#21761) 2024-09-16 19:11:19 +00:00
Marko
f220f8bf62
refactor: remove consensus as a imported type in modules (#21480) 2024-09-10 15:36:33 +00:00
Julien Robert
a554a21a0e
refactor(core,stf,x)!: remove InvokeTyped from router (#21224) 2024-08-23 21:38:06 +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
Marko
1b47dc91a3
chore: move logger to core (#20388) 2024-05-28 12:30:09 +00:00
Julien Robert
f02a124667
refactor(runtime,core): split router service (#20401) 2024-05-16 08:04:40 +00:00
Marko
43764cff30
chore: consensus spinout (#20010) 2024-05-03 14:08:17 +00:00
Matt Kocubinski
a6bc921c9a
refactor: fetch CometInfo from service (#20238)
Co-authored-by: Marko <marko@baricevic.me>
2024-05-03 01:14:22 +00:00
Marko
b15732a594
refactor: migrate to query Consensus Params (#19600)
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Facundo <facundomedica@gmail.com>
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
Co-authored-by: Hieu Vu <72878483+hieuvubk@users.noreply.github.com>
2024-04-25 15:26:43 +00:00
ipangpang
1bd4351241
style: remove redundant import alias (#20109)
Signed-off-by: ipangpang <arronipangpang@gmail.com>
2024-04-21 19:03:43 +00:00
Julien Robert
d41aa7af8c
refactor(x/evidence): cleanup api (#20103) 2024-04-19 19:57:31 +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
Julián Toledano
62d2da5d5c
refactor(x/evidence)!: remove Address.String() (#20016) 2024-04-12 11:34:00 +00:00
Lucas Francisco López
2496cfdf51
feat: Conditionally emit metrics based on enablement (#19903)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2024-04-11 20:32:52 +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
8acade49db
refactor(evidence): migrate to env var (#19482) 2024-02-20 09:48:32 +00:00
atheeshp
19e66a9dc8
feat: include rotate keys logic in abci (#18236) 2023-12-22 10:14:15 +00:00
Facundo Medica
ab2a725863
chore: cleanup comet dependence in tests (#18239) 2023-10-26 16:20:19 +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
Marko
e47795e3d4
build(deps): Bump cosmossdk.io/core from 0.11.0 to 0.12.0 (#17688) 2023-09-13 21:04:50 +00:00
Likhita Polavarapu
97661429e0
docs: Add k/v docs in structs using collections (#17609) 2023-09-04 22:24:19 +00:00
Marko
e60c583d28
refactor: migrate away from using valBech32 globals (2/2) (#17157)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-08-14 08:04:24 +00:00
Marko
266edc0a93
refactor: remove staking infraction type dep from evidence and slashing (#17335)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-08-12 15:45:41 +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
Likhita Polavarapu
6f905bde9d
chore: x/evidence audit changes (#16715) 2023-06-27 13:58:06 +00:00
Jacob Gadikian
6afece635c
style: add gci linter (#16605) 2023-06-22 15:35:51 +00:00
Facundo Medica
1be7d9805e
refactor(x/staking)!: KVStoreService, return errors and use context.Context (#16324)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-06-16 18:40:44 +00:00
testinginprod
28178f7ca6
refactor(evidence)!: use collections for state management (#16336)
Co-authored-by: unknown unknown <unknown@unknown>
2023-05-30 11:57:10 +00:00
Facundo Medica
903d99e707
refactor(x/slashing)!: use kvStoreService, context.Context and return errors (#16246) 2023-05-30 09:45:18 +00:00
Aleksandr Bezobchuk
6cee22df52
feat!: Comet v0.38 Integration (#15519)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: cool-developer <51834436+cool-develope@users.noreply.github.com>
Co-authored-by: Aaron Craelius <aaron@regen.network>
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-05-24 16:09:19 +00:00
Facundo Medica
df834c58d1
fix(x/evidence): return error in keeper (#16245)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-05-23 07:30:46 +00:00
Facundo Medica
3c4330680f
refactor(x/evidence)!: use KVStoreService and context.Context (#16008)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-05-17 20:13:01 +00:00
Likhita Polavarapu
34018f7130
test(x/evidence): write integration tests (#16015) 2023-05-04 17:23:40 +00:00
Marko
1705615ef0
feat: add header and comet info service (#15850)
Co-authored-by: Aaron Craelius <aaron@regen.network>
2023-05-03 13:32:25 +00:00
Simon Noetzlin
97e4978f0f
feat: update the slashing and evidence modules to work with ICS (#15908)
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Jacob Gadikian <faddat@users.noreply.github.com>
2023-04-25 16:34:44 +00:00
Marko
42f03c369f
refactor(evidence): remove bech32 global (#15825) 2023-04-13 11:11:21 +00:00
Julien Robert
d09068f529
refactor(evidence): move ValidateBasic logic to msgServer (#15753)
## Description

ref: https://github.com/cosmos/cosmos-sdk/issues/15648

---

### 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-08 11:37:00 +00:00
Marko
1f2875d445
style: gofumpt linting (#15605) 2023-03-30 06:27:38 +00:00
Marko
a5ad307ae6
refactor: migrate consensus to collections (#15553) 2023-03-28 20:41:12 +00:00
Marko
ac345ce694
refactor: evidence make equivocation private (#15420) 2023-03-17 17:20:32 +00:00
Chi Xiao Wen
a49151d693
refactor: remove bytes/HexBytes (#15211)
Co-authored-by: chixiaowen <chixiaowen@zhigui.com>
2023-03-01 18:27:23 +00:00
Facundo Medica
4a6a1e3cb8
refactor: fix lint issues + gofumpt (#15062) 2023-02-19 10:31:49 +00:00