Commit Graph

108 Commits

Author SHA1 Message Date
Julien Robert
25dce71f62
refactor(core,types,runtime,x): make HasName not mandatory (#20984) 2024-07-19 08:58:47 +00:00
Matt Kocubinski
493d486bc6
refactor: decouple from sdk/codec in amino codec usage (#20369) 2024-05-14 16:52:51 +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
Julián Toledano
ff8f7229ce
refactor(x/slashing)!: remove Accounts String (#20026) 2024-04-12 14:14:47 +00:00
Matt Kocubinski
d54335e1f9
refactor: rename core.registry.LegacyRegistry -> core.registry.InterfaceRegistrar (#19758) 2024-03-14 17:53:31 +00:00
Chi Xiao Wen
db82004074
refactor(x/**)!: genesis return errors (#19740)
Co-authored-by: chixiaoxiao <chixiaoxiao@gmail.com>
2024-03-13 11:44:43 +00:00
Julien Robert
cdc329189b
refactor(types): align genesis api (#19735) 2024-03-13 05:43:24 +00:00
Marko
d2e40963ed
refactor(modules): adopt appmodulev2.Hasgenesis (#19627)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-03-11 10:22:16 +00:00
Matt Kocubinski
4edf6b2a85
refactor: remove dependency x/module -> sdk through InterfaceRegistry (#19652) 2024-03-06 21:12:24 +00:00
Julien Robert
b304cf7556
refactor!: kill basic manager (#19512) 2024-02-22 14:44:49 +00:00
Julien Robert
f6d970d52f
refactor(x/group): use core migrations api (#19423)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2024-02-14 18:26:52 +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
7d9dc3966e
refactor(appconfig)!: simplify app config (#19040) 2024-01-13 20:42:45 +00:00
Marko
bde7eb1a4d
refactor(core)!: cleanup dependency graph (#18866)
Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
2024-01-09 15:14:36 +00:00
Julien Robert
720890523f
refactor: remove gov dependency from modules and sdk (#18424) 2023-11-09 22:08:59 +00:00
Emmanuel T Odeke
05261cc46e
refactor(x/auth): spin out go.mod (#18351) 2023-11-07 11:42:58 +00:00
Marko
2a6640d488
refactor(staking): add go.mod (#18257) 2023-10-26 07:39:34 +00:00
Marko
86eaeed519
refactor(slashing): spinout to new go module (#18201) 2023-10-25 15:28:32 +00:00
Marko
388ff4fc7e
refactor: move gov into own go.mod (#18197) 2023-10-23 14:17:04 +00:00
Marko
93770f59d9
refactor(x/slashing): remove global bech32 usage (#18115) 2023-10-17 10:33:52 +00:00
Julien Robert
3690d9f7f8
feat(x/slashing): add autocli options for tx (#17967) 2023-10-09 13:57:35 +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
Julien Robert
2154ce0bbe
refactor: precise compiler assertions and cleanup module.go (#17718) 2023-09-13 16:15:53 +00:00
Marko
6ce2505f6b
refactor: introduce abciGenesis interface (#17554) 2023-08-29 15:24:09 +00:00
Marko
58855c6859
refactor: remove global valaddress bech32 codec calls (1/2) (#17098)
Co-authored-by: Devon Bear <itsdevbear@berachain.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-26 19:01:21 +00:00
Jeancarlo Barrios
f7a4add63c
feat(slashing): autocli query config (#16659)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-15 06:46:40 +00:00
samricotta
5931f1e65e
refactor(slashing)!: use collections for params state (#16441)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-07-06 07:12:11 +00:00
Jacob Gadikian
6afece635c
style: add gci linter (#16605) 2023-06-22 15:35:51 +00:00
Facundo Medica
903d99e707
refactor(x/slashing)!: use kvStoreService, context.Context and return errors (#16246) 2023-05-30 09:45:18 +00:00
Julien Robert
166be3766b
chore: make params module optional in app wiring (#16269) 2023-05-24 11:54:07 +00:00
Mark Rushakoff
7b10ada768
refactor!: instantiate client.TxConfig once for simulations (#15875) 2023-04-19 12:47:27 +00:00
Aleksandr Bezobchuk
4684c854d4
refactor!: x/slashing missed block window (#15580) 2023-04-10 16:58:41 +00:00
Marko
38c7c948f5
style: various linting fixes (#15675)
## Description

fix various linting issues

---

### 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-03 17:00:44 +00:00
Facundo Medica
05dcf860eb
refactor: Use CoreAPI when possible (#15496)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-03-23 22:40:09 +00:00
Julien Robert
1a1536aa8e
refactor: remove unnecessary modules methods (#15436) 2023-03-17 11:47:08 +01:00
Julien Robert
41a3dfeced
refactor!: migrate Cosmos SDK to CometBFT (#14897) 2023-02-05 14:51:33 +01:00
Julien Robert
d3c3194185
fix: add simulation tests for new param change (#14728) 2023-01-27 20:44:39 +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
Marko
a2eb630906
refactor: remove sdk dep from store (#14603)
Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
2023-01-13 17:43:09 +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
Jacob Gadikian
be8c5a09c2
chore: lint tests (#14268) 2022-12-18 23:48:31 +00:00
Aaron Craelius
ec27c5384b
refactor!: migrate to core appmodule.AppModule extension interfaces (#13794) 2022-11-14 21:23:55 +00:00
Julien Robert
0d8787c3bd
feat: handle additional x/auth module app config parameters (#13684) 2022-11-01 06:39:21 +00:00
Giancarlos Salas
18d8b64ce5
refactor: check begin, end block interface extensions (#13560) 2022-10-17 08:17:01 +00:00
Aaron Craelius
f3a558c6b4
refactor!: require exported app wiring providers (#13292) 2022-10-10 20:27:44 +00:00
likhita-809
7496aa3d27
feat: Remove RandomizedParams from the AppModuleSimulation interface (#12846)
* remove RandomizedParams from AppModuleSimulation interface

* add changelog

* add upgrading doc

* nit fix

Co-authored-by: Marko <marbar3778@yahoo.com>
2022-08-10 14:34:45 +02:00
Marko
3a097012b5
chore: remove legacy appmodule boiler plate (#12725)
* remove legacy appmodule boiler plate

* remove legacy code

* remove legacy gov rest routes

* remove staking querier

* fix legacy

* remove unused test

* add upgrading and changelog entry

* Update UPGRADING.md

Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>

* fix tests

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
2022-07-28 13:18:14 +02:00
Julien Robert
b72d12e5e8
feat: allow custom authority and inflation function when using app-wiring (#12660) 2022-07-21 12:28:21 +02:00
Sishir Giri
b65f3fe070
feat: Move AppModule.BeginBlock and AppModule.EndBlock to extension interfaces (#12603)
## Description
Most modules right now have a no-op for AppModule.BeginBlock and AppModule.EndBlock. We should move these methods off the AppModule interface so we have less deadcode, and instead move them to extension interfaces. 

1. I added `BeginBlockAppModule` and `EndBlockAppModule` interface.
2. Remove the dead-code from modules that do no implement them
3. Add type casting in the the module code to use the new interface

Closes: #12462



---

### 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/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)
2022-07-19 17:19:23 +00:00