Commit Graph
69 Commits
Author SHA1 Message Date
mergify[bot]andFacundo Medica 08936710ee fix(runtime): PreBlocker getting overwritten if set as a baseapp option (backport #17944) (#18046)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2023-10-10 15:35:12 +00:00
mergify[bot] 3da9f9c9ec fix(x/auth): properly populate tx config options and deprecate ProtoCodecMarshaler (backport #17946) (#17952) 2023-10-04 23:49:07 +02:00
4955776845 refactor!: reimplement PreFinalizeBlockHook as PreBlocker (backport #17713) (#17754)
Co-authored-by: mmsqe <mavis@crypto.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-09-15 08:14:23 +00:00
4c083c6f23 feat: introduce PreBlock (backport #17421) (#17712)
Co-authored-by: mmsqe <mavis@crypto.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-09-13 19:40:08 +02:00
Julien Robert b7d9d4c8a9 revert: Revert RunMigrationBeginBlock addition in v0.50 (#17450) 2023-08-18 20:48:38 +00:00
mergify[bot]andJulien Robert b056224747 feat: use autocli for comet commands (backport #17389) (#17405)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-08-16 12:03:38 +00:00
mergify[bot] 27f5db221a fix: Add MigrationModuleManager to handle migration of upgrade module before other modules (backport #16583) (#17370) 2023-08-12 10:29:01 +02:00
mergify[bot]andJulien Robert c56cd8a6fd fix(runtime): allow to properly register non app wiring modules (backport #17284) (#17304)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-08-07 11:31:58 +00:00
mergify[bot]andJulien Robert 6ddf0af2e7 refactor(runtime): define address codec providers in runtime (backport #17037) (#17043)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-18 16:38:14 +02:00
mergify[bot] 2049c4b82a chore(runtime): audit (backport #17035) (#17036) 2023-07-18 04:19:05 +00:00
Julien RobertandJacob Gadikian c452721442 style: add gci linter (#16758)
Co-authored-by: Jacob Gadikian <faddat@users.noreply.github.com>
2023-06-29 09:46:37 +00:00
Matt KocubinskiandAaron Craelius bf6edae9b6 feat: custom get signers (#16340)
Co-authored-by: Aaron Craelius <aaronc@users.noreply.github.com>
2023-06-06 14:20:28 +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
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
Julien Robert b5c77d6452 fix(types): add fallbacks for CoreAppModuleBasicAdaptor (#16010) 2023-05-03 17:45:54 +00:00
MarkoandAaron Craelius 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
Marko d31f2964b0 feat!: Define Genesis state transition (#15999) 2023-05-03 08:58:58 +00:00
Julien Robert 946f3d6da7 refactor(simapp): remove public module basic manager (#15958) 2023-05-02 08:35:08 +00:00
Aaron CraeliusandMatt Kocubinski 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
Facundo MedicaandJulien Robert af3122aa6c feat!: Provide logger through depinject (#15818)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-04-24 09:42:55 +00:00
Bryce Nealanddydxwill 93d64cc6fe feat: Add PrepareCheckState and Precommit callbacks (#14860)
Co-authored-by: dydxwill <119354122+dydxwill@users.noreply.github.com>
2023-04-23 16:04:36 +00:00
Mark Rushakoff 87aefb7a18 build: use cosmos/gogoproto@v1.4.8 for optimized registry merge (#15862) 2023-04-18 15:34:46 +00:00
Marko 8d6c23faa4 feat: add endblocker with valsetupdate type (#15829) 2023-04-14 09:41:29 +00:00
9e4fbb6db1 feat!: add node status endpoint (#15597)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2023-04-13 13:42:52 +00:00
MarkoandAaron Craelius f82cbbbeeb feat: add valset change and block info service to runtime (#15811)
Co-authored-by: Aaron Craelius <aaron@regen.network>
2023-04-12 21:45:02 +00:00
Aaron CraeliusandMatt Kocubinski 9332942f37 feat(codec)!: add get signers to codec + merged proto registry to InterfaceRegistry (#15600)
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
2023-03-31 14:36:06 +00:00
MarkoandFacundo Medica 9a09f8656b feat: add event core api to runtime (#15547)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2023-03-30 14:16:31 +00:00
Jacob Gadikian 37ba88872d style: enable strict gofumpt (#15579) 2023-03-28 18:59:21 +00:00
Facundo MedicaandAleksandr Bezobchuk d29e8eb4f6 refactor!: use KVStoreService in x/auth (#15520)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-03-27 18:57:02 +00:00
AmauryandMarko 897ef64712 feat: Validate Msg proto annotations (#13793)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-03-20 16:27:36 +01:00
testinginprodandtestinginprod 2b7a1102ed refactor(bank): use collections for state management (#15293)
Co-authored-by: testinginprod <testinginprod@somewhere.idk>
2023-03-09 11:36:39 +00:00
Facundo MedicaandMarko 14ba0248b8 feat: Implement RegisterServices for CoreAPI in module manager (#15133)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-03-02 14:22:20 -03:00
Amaury 96876f8e01 feat: Add merged registry for gogo and protov2 (#14886) 2023-02-20 15:24:11 +00:00
Julien Robert c17c3caab8 refactor: rename commands to match consensus engine name (#14956) 2023-02-08 20:09:28 +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
Facundo Medica deeb4bd362 feat!: return errors in module manager ABCI methods (#14847) 2023-01-31 19:17:04 +00:00
Likhita PolavarapuandMarko 7559d9ecd3 refactor: create go.mod for store (#14746)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-01-25 13:31:56 +00:00
Marko e8f0cb1b02 chore: update core and store interfaces (#14712) 2023-01-23 22:50:27 +00:00
Aaron CraeliusandJulien Robert ebfd057716 feat(client/v2): add autocli run + simapp example (#13867)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2022-12-31 01:53:08 +00:00
Jacob Gadikianandmarbar3778 1bb0629846 chore: iavl-v0.20-alpha1 and cosmos-db (#14411)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2022-12-28 21:42:00 +01:00
Aaron Craelius c275ec4d08 feat!: implement core store API in runtime (#14326) 2022-12-15 21:58:20 +00:00
Julien Robert 05a6da32e2 refactor: improve x/upgrade app wiring (part of upgrade audit) (#14216) 2022-12-14 21:21:58 +01:00
Julien Robert 4e2196fcc3 fix: app config and simapp (v1,v2) fixes (#14209) 2022-12-08 23:08:40 +01:00
Emmanuel T Odeke 3aff993fcb fix: runtime: fix (*App).RegisterMoodules inconsistency in checking/memoizing appModule (#14128)
Fixes an inconsistency in checking for duplicates in ModuleManager's
Modules[name] then also basicManager[name] in which memoization could
happen for .Module[name] but fail after a duplicate check in
basicManager[name]. This change instead only memoizes the AppModule
after the duplicate checks have all cleared.

Fixes #14006
2022-12-01 17:18:58 -05:00
Aaron Craelius ec27c5384b refactor!: migrate to core appmodule.AppModule extension interfaces (#13794) 2022-11-14 21:23:55 +00:00
bcdf81cbaf feat: add basic autocli config to every module (#13786)
* feat: add autocli configs to every module

* auto-discover config

* tests + gov, auth config tweaks

* docs

* Update x/auth/autocli.go

Co-authored-by: Julien Robert <julien@rbrt.fr>

* Update x/auth/autocli.go

Co-authored-by: Julien Robert <julien@rbrt.fr>

* cleanup

Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
2022-11-09 11:44:42 +00:00
Aaron CraeliusandJulien Robert 74e9d542d2 feat!: integrate autocli and reflection services with simapp legacy (#13746)
* feat!: integrate autocli and reflection services with simapp legacy

* rename alias

* update UPGRADING.md

Co-authored-by: Julien Robert <julien@rbrt.fr>
2022-11-08 12:32:49 +00:00
Julien Robert 97bd2ab792 refactor: remove unused code (#13725) 2022-11-02 11:50:47 +01:00