Commit Graph

712 Commits

Author SHA1 Message Date
Likhita Polavarapu
6f180b22df
chore(Baseapp): Remove modules dependency from baseapp (#19300) 2024-02-01 11:07:50 +00:00
Cosmos SDK
1f0c68d08f
chore: fix spelling errors (#19289)
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
2024-01-30 12:29:23 +00:00
Facundo Medica
a86a83f761
test(baseapp): Refactor tx selector tests + better comments (#19284)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2024-01-30 09:16:46 +00:00
Adam Tucker
495e185e2d
feat: debug log gRPC queries (#19049)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-01-26 09:31:02 +00:00
Devon Bear
8120a86eaa
fix(ve): Ensure that sdk side ve math matches cometbft (#19200) 2024-01-25 17:01:48 +00:00
Brann Bronzebeard
fe32bcc1d6
fix: skip same-sender non-sequential sequence and then add others txs new solution (#19177)
Co-authored-by: SuperLee <9109321+superlee_8@user.noreply.gitee.com>
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2024-01-25 17:00:48 +00:00
Aleksandr Bezobchuk
bda2d11232
fix(baseapp): ensure ABCI listeners always run in FinalizeBlock (#19202) 2024-01-24 09:27:33 +00:00
Marko
9945d31cc0
refactor(x/auth/ante): migrate antehandlers to use execmode (#19161)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2024-01-24 08:58:54 +00:00
Aleksandr Bezobchuk
12aaa89363
fix(OE): Remove usage of pointer in logs (#19198) 2024-01-23 19:29:27 +00:00
testinginprod
582bba39ad
refactor(auth): incorporate set pub key decorator into sig verification decorator (#19093)
Co-authored-by: unknown unknown <unknown@unknown>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2024-01-22 14:45:57 +00:00
Julien Robert
73c074117f
fix(baseapp): nil check in posthandler events (#19058) 2024-01-15 17:08:31 +00:00
Marko
6db53cafcb
chore(sdk): remove modules as a dependency (1/n) (#19003) 2024-01-11 07:55:50 +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
Aleksandr Bezobchuk
19eddeeb24
fix(abci): add ExecModeVerifyVoteExtension (#18915) 2024-01-03 06:29:00 +00:00
David Terpay
5166c9f893
fix: Dedup Vote Extensions in ValidateVoteExtensions (#18895) 2023-12-27 09:09:46 +00:00
Nikhil Vasan
c5191041a2
fix(baseapp): introduce mutex to state (#18846)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-12-21 19:05:40 +00:00
testinginprod
4753d16ef4
refactor(auth): group sig verification ante handlers (SigGasConsume, SigVerify, IncreaseSequence) (#18817)
Co-authored-by: unknown unknown <unknown@unknown>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-12-20 18:58:09 +00:00
Cosmos SDK
279cebdc36
chore: fix spelling errors (#18771)
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
2023-12-17 14:05:09 +00:00
samricotta
f798f94786
docs: documentation updates to abci (#18625) 2023-12-16 16:03:44 +00:00
Eric Warehime
e7f5c2ec8f
fix(baseapp): Reset GasMeter before deliverTX (#18714) 2023-12-15 18:42:07 +00:00
Emmanuel T Odeke
8fe6d84f2c
refactor(baseapp): move handler retrieval per sdk.Msg into validateBasicTxMsgs (#18731) 2023-12-13 18:25:57 +00:00
Emmanuel T Odeke
fe95384e37
fix(baseapp): correctly check errors before sealing in BaseApp.Init (#18727) 2023-12-13 10:46:47 +00:00
Cosmos SDK
8f0d5b15f0
chore: typos fixes by cosmos-sdk bot (#18689)
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-12-11 13:03:19 +00:00
testinginprod
dabf72cfdc
fix(baseapp): protocompat.go gogoproto.Merge does not work with custom types (#18654)
Co-authored-by: unknown unknown <unknown@unknown>
2023-12-08 10:18:26 +00:00
Facundo Medica
b2084dceb9
fix(baseapp)!: postHandler should run regardless of result (#18627) 2023-12-06 13:31:53 +00:00
testinginprod
d3b30e946d
feat(accounts): implement account abstraction execution (#18499)
Co-authored-by: unknown unknown <unknown@unknown>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2023-12-04 11:41:59 +00:00
leven
d52bd920dd
fix(baseapp): Use CometBFT's ComputeProtoSizeForTxs in defaultTxSelector.SelectTxForProposal (#18551) 2023-11-30 15:57:24 +00:00
dependabot[bot]
cc85702956
build(deps): Bump cosmossdk.io/store from 1.0.0 to 1.0.1 (#18582)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-11-29 08:20:39 +00:00
Facundo Medica
fa5280fb4b
fix(baseapp): allow empty consensus params (#18531)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-11-28 08:36:11 +00:00
MSalopek
a27cfa067a
fix: pass FinalizeBlock request and response to ABCIListener (#18486)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-11-16 18:59:29 +00:00
Julien Robert
720890523f
refactor: remove gov dependency from modules and sdk (#18424) 2023-11-09 22:08:59 +00:00
Julien Robert
e2b71b7480
fix: deterministic protov2 marshal (#18403) 2023-11-07 16:22:57 +00:00
Emmanuel T Odeke
05261cc46e
refactor(x/auth): spin out go.mod (#18351) 2023-11-07 11:42:58 +00:00
Emmanuel T Odeke
c1b391631c
fix(baseapp): fix BaseApp.getContext data races (#18383) 2023-11-07 10:16:55 +00:00
Marko
f03b396c8a
chore: remove mint imports in the sdk (#18307) 2023-10-31 10:30:38 +00:00
Marko
7bef0227f9
refactor(mint): new go module (#18283) 2023-10-28 07:09:48 +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
2a6640d488
refactor(staking): add go.mod (#18257) 2023-10-26 07:39:34 +00:00
Julien Robert
797ae0fe99
refactor: modules should implement appmodule.AppModule (#18252) 2023-10-25 12:31:37 +00:00
Marko
94a2164d19
chore: bump golangci-lint version (#18213) 2023-10-23 12:59:08 +00:00
Chenqun Lu
611cd36b8b
fix(simulation): Fix all problems make test-sim-custom-genesis-fast for simulation test. (#17911)
Co-authored-by: Luke <chenqun.l@kaitaitech.cn>
2023-10-20 14:18:53 +00:00
testinginprod
5edabb5cb0
feat(baseapp): Add Hybrid Protobuf handlers to MsgServiceRouter (#18071)
Co-authored-by: unknown unknown <unknown@unknown>
2023-10-12 15:25:28 +00:00
testinginprod
ecf14b71eb
feat(grpcrouter): add hybrid query handler (#17921)
Co-authored-by: unknown unknown <unknown@unknown>
2023-10-11 07:59:33 +00:00
Facundo Medica
3ac7c0effd
fix(runtime): PreBlocker getting overwritten if set as a baseapp option (#17944) 2023-10-10 14:46:12 +00:00
Facundo Medica
223e179f2b
fix: keep behavior from v0.47 in PrepareProposal panic recovery (#17930) 2023-10-10 11:01:29 +00:00
Devon Bear
68a136b48d
feat(baseapp): expose Mempool (#17954) 2023-10-09 11:10:36 +00:00
Julien Robert
76f8ed1e86
fix(x/auth): properly populate tx config options and deprecate ProtoCodecMarshaler (#17946) 2023-10-04 07:29:35 +00:00
Emmanuel T Odeke
0692fdc6fd
refactor: create go.mod for x/params (#17776)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-10-03 12:56:07 +00:00
Devon Bear
ae61dce700
feat(abci): Add context to SelectedTxs (#17940) 2023-10-02 19:23:08 +00:00
Devon Bear
a68a02a0b5
refactor(abci): Pass context to TxSelector (#17932) 2023-10-02 12:10:46 +00:00
Facundo Medica
c889a07ef2
fix(baseapp): vote extensions on first block (#17909) 2023-09-28 14:24:54 +00:00
Marko
9d07b8ca8e
refactor!: use context.Context in genesis api (#17885) 2023-09-26 16:03:41 +00:00
Aleksandr Bezobchuk
63d046dd59
fix(baseapp): select txs correctly with no-op mempool (#17769) 2023-09-24 19:24:30 +00:00
Marko
65a1ec64f7
chore: remove params module entirely (#17838) 2023-09-22 13:51:37 +00:00
Marko
6715b5afb5
refactor!: remove tips (#17787) 2023-09-20 12:00:22 +00:00
Marko
6615ff4f76
refactor!: deprecate blocktime on context (#17738) 2023-09-18 13:55:21 +00:00
Facundo Medica
8df065b611
feat: Optimistic Execution (#16581)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-09-18 13:52:54 +00:00
mmsqe
f99a6242a9
refactor!: reimplement PreFinalizeBlockHook as PreBlocker (#17713)
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-09-15 07:50:17 +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
mmsqe
4eb0185413
feat: introduce PreBlock (#17421) 2023-09-13 12:30:48 +00:00
Chill Validation
ba45b0f2b7
feat: CV Close databases opened by cosmos-sdk during BaseApp shutdown (#17667) 2023-09-10 10:46:40 +00:00
Marko
6ce2505f6b
refactor: introduce abciGenesis interface (#17554) 2023-08-29 15:24:09 +00:00
Callum Waters
79cc75b1db
feat!: connect app version with consensus params in end block (#16244)
Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-08-29 10:32:53 +00:00
Cal Bera
cc6511e337
chore: log panic recovery in runTx (#17556) 2023-08-28 07:22:08 +00:00
David Terpay
bb0c866193
fix(baseapp): Utilizing voting power from VEs in ValidateVoteExtensions (#17518)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-08-25 17:52:35 +00:00
Julien Robert
03fb7da26d
fix(log): custom marshaller produce invalid data (#17532) 2023-08-25 13:14:24 +00:00
Julien Robert
bb106cb50d
test(baseapp): use no-op logger (#17528) 2023-08-24 23:15:37 +00:00
Marko
393dcc1f2a
refactor: remove header type from NewContext (#17426)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-08-21 16:29:20 +00:00
Marko
066f8a7a50
chore: format proto files (#17445)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-08-18 14:06:01 +00:00
zakir
30997f4227
refactor(baseapp,types)!: msg responses (#17348)
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-08-18 13:36:14 +00:00
fx0x55
a860919ca5
feat: add apphash to process proposal calls (#17401)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-08-16 18:36:36 +00:00
Nikhil Vasan
104ebe60f6
fix(ve-validation): account for BlockID flag in vote-extensions (#17394)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-08-15 21:40:40 +00:00
mmsqe
35d2e48aea
fix: handle RunMigrationBeginBlock error (#17372) 2023-08-11 17:44:45 +00:00
mmsqe
0c1f6fc162
fix: Add MigrationModuleManager to handle migration of upgrade module before other modules (#16583)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-08-11 16:07:05 +00:00
Julien Robert
731d727cd5
chore(baseapp): audit (#17325) 2023-08-10 09:14:55 +00:00
Dev Ojha
dea5b97eb2
feat!: Add gas limits to queries (#16239)
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-08-08 20:30:29 +00:00
Facundo Medica
c3ae0b09d4
fix: ValidatorStore interface doesn't match StakingKeeper (#17164)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-08-03 22:53:05 +00:00
Facundo Medica
cb5b8cf1d3
fix: Allow VerifyVoteExtensions without ExtendVote (#17251) 2023-08-01 16:10:55 +00:00
zakir-code
33051ceb39
perf(abci): removes the goroutine when call SnapshotIfApplicable (#17174) 2023-07-29 07:37:30 +00:00
Devon Bear
f7d78a6176
fix(abci): Validators can propose blocks that exceed the gas limit. (#17159) 2023-07-27 11:49:11 +00:00
Julien Robert
0c4f246d86
refactor(runtime): define address codec providers in runtime (#17037) 2023-07-18 12:41:26 +00:00
Facundo Medica
38f1014d26
feat: Add preFinalizeBlockHook to allow VE persistence (#16898)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-07-14 17:44:13 +00:00
ruthishvitwit
fd7e549a3c
chore: enable errcheck linter (#16406) 2023-07-12 08:58:27 +00:00
Facundo Medica
ebe97e5e12
fix: Revert 16794 (#16895) 2023-07-10 07:45:48 +00:00
Facundo Medica
0fd6227a06
fix: remove setting of finalizeBlockState in FinalizeBlock + fix initialHeight + add ProcessProposal in tests/sims (#16794)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-07-06 13:33:10 +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
Facundo Medica
b93081de05
fix(baseapp): audit changes (#16596)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-06-30 07:29:03 +00:00
Marko
ec27fbb84e
chore: add apphash to finalize block calls (#16744)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-06-29 14:15:15 +00:00
David Terpay
078e7cb4ae
fix(baseapp): ABCI Consensus Failure Fix (#16700)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Jeancarlo Barrios <JeancarloBarrios@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Chill Validation <92176880+chillyvee@users.noreply.github.com>
2023-06-28 19:33:34 +00:00
yihuang
c0e9e8ce85
fix: halt-height behavior is not deterministic (#16639)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-06-27 13:41:01 +00:00
Jacob Gadikian
6afece635c
style: add gci linter (#16605) 2023-06-22 15:35:51 +00:00
Aleksandr Bezobchuk
75b4918b94
fix: check tx gas limit against block gas limit (#16547)
Co-authored-by: Facundo Medica <facundomedica@gmail.com>
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2023-06-20 18:37:33 +00:00
Aleksandr Bezobchuk
6f9152d20b
fix!: Ensure Handler Exists for Messages (#16613) 2023-06-19 21:24:54 +00:00
Marko
a93dd023dd
chore: set headerinfo where needed in baseapp (#16542) 2023-06-14 15:32:39 +00:00
Facundo Medica
7f44ecb936
refactor(x/circuit)!: Use collections, KVStoreService, and context.Context (#16415) 2023-06-07 12:06:30 +00:00
cool-developer
3e18f4088b
feat: update store module for new iavl (#15568)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-06-06 19:08:35 +00:00
Marko
efdc955ad9
chore: change prepare and process proposal to be NoOps by default (#16407)
Co-authored-by: Sergio Mena <sergio@informal.systems>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-06-02 14:46:47 +00:00
Marko
5097b0c226
refactor(test): remove header dependence from tests (#16342)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-05-31 15:42:23 +00:00
Julien Robert
83d5475cdf
chore: remove buf warning (#16361) 2023-05-31 10:31:01 +00:00
Julien Robert
6453234073
build: optimize proto-builder (#16343) 2023-05-31 07:33:26 +00:00
Marko
d1a337eb78
refactor(Store): remove abci query req and res deps from store (#16321) 2023-05-30 15:50:23 +00:00
testinginprod
3d15f9edf2
refactor(auth): use collections for Account state management (#16016)
Co-authored-by: unknown unknown <unknown@unknown>
2023-05-26 09:26:58 +00:00
Aaron Craelius
82659a7477
refactor!: deprecate sdk.Msg.GetSigners (#15284)
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
2023-05-25 18:35:09 +00:00
Marko
b6613f9163
chore: set circuitbreaker in app.go as example (#16288) 2023-05-25 15:35:48 +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
Aleksandr Bezobchuk
9d45ed4d4b
fix: ensure height is correct on first block (#16259) 2023-05-24 11:13:49 +00:00
yihuang
09ca393a19
feat: add Close method for resource cleanup in graceful shutdown (#16193)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-05-17 20:04:43 +00:00
Marko
b8e15a7930
feat: module circuit breaker (#14521)
Co-authored-by: Aaron Craelius <aaron@regen.network>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Sam Ricotta <samanthalricotta@gmail.com>
Co-authored-by: samricotta <37125168+samricotta@users.noreply.github.com>
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2023-05-15 14:38:48 +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
Marko
d31f2964b0
feat!: Define Genesis state transition (#15999) 2023-05-03 08:58:58 +00:00
Marko
91872abdc0
refactor(baseapp): set vote info to latest votes (#15930) 2023-04-25 08:55:08 +00:00
Facundo Medica
af3122aa6c
feat!: Provide logger through depinject (#15818)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-04-24 09:42:55 +00:00
Marko
8e896f4d31
refactor(abci): add msg index to event (#15845)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Facundo Medica <facundomedica@gmail.com>
2023-04-24 09:07:14 +00:00
Bryce Neal
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
Matt Kocubinski
86b88b1ace
refactor!: use x/tx/signing in client.TxConfig (#15822) 2023-04-20 16:20:21 +00:00
Aleksandr Bezobchuk
f95585b40d
fix: use initialHeight correctly (#15789) 2023-04-11 15:49:42 +00:00
testinginprod
7ab0dfc494
refactor(bank): move bank balances to use collections (#15327) 2023-04-11 13:06:04 +00:00
Julien Robert
df161c214c
feat: optional validate basic (#15735) 2023-04-07 13:13:15 +00:00
Marko
90e2a2ae89
style: linting (#15704)
## Description

closing in on completion of linting

---

### 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-06 23:25:23 +00:00
Jacob Gadikian
b009a75eea
style: make lint-fix everything (#15631)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-03-30 17:27:39 +00:00
Marko
51f3e70a12
style: more linting (#15618) 2023-03-30 13:00:18 +00:00
Marko
c1ea84d583
style: more linting (#15616) 2023-03-30 12:05:50 +00:00
Marko
a5ad307ae6
refactor: migrate consensus to collections (#15553) 2023-03-28 20:41:12 +00:00
Jacob Gadikian
37ba88872d
style: enable strict gofumpt (#15579) 2023-03-28 18:59:21 +00:00
Aleksandr Bezobchuk
ee9774af27
feat: auto-set block timestamp for historical queries (#15448) 2023-03-28 15:10:26 +00:00
Facundo Medica
aeb4f02645
refactor!: use KVStoreService in x/consensus (#15517) 2023-03-23 17:03:45 +00:00
Facundo Medica
3a7a2645f0
fix: always reset the state for Prepare and Process Proposal (#15487)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-03-21 19:42:19 +00:00
Facundo Medica
7fbb8223bd
feat: Add VoteInfos to context in BeginBlock (#15403) 2023-03-15 17:11:20 +00:00
Julien Robert
a53aee4eea
chore: clean-up after go-plugin system pr (#15402) 2023-03-14 23:03:48 +00:00
Ergels Gaxhaj
6f3f2c9b16
refactor!: ADR-038 go-plugin system (#14207)
Co-authored-by: HuangYi <huang@crypto.com>
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
2023-03-14 18:09:30 +00:00
Facundo Medica
6a03586074
fix: remove previous header in Prepare/Process Proposal + provide chain id in baseapp + fix context for verifying txs (#15303)
## Description

### Issue
Some values (like chain ID) were being leaked from the previous block/initialization into PrepareProposal and ProcessProposal, these values are only available if:
1. The node has never been stopped since the genesis block (as these values are set on `InitChain`)
2. The node has already commited a block (as the previous header was being used for the new state of prepare and process proposal).

So if a node is restarted, during the first prepare and process proposal these values won't be populated, and that will cause issues if they are being used.

### Solution

Remove any previous header information from a previous block in the prepare and process proposal contexts, making things consistent at every height.

- Added ChainID to baseapp
- Use an empty header in Commit() with only the chain id set
- Fix context for prepare and process proposal

Closes: #15269



---

### 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-03-13 17:15:39 +00:00
Aleksandr Bezobchuk
4932f115d4
feat: Create ABCI++ Verfication Methods (#15298) 2023-03-08 19:19:51 +00:00
Mark Rushakoff
fab029bff5
refactor(log): associate test logger with testing.T instance (#15261) 2023-03-03 20:26:45 +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
Facundo Medica
c884e276f2
fix: avoid broadcasting tx through query (#15044) 2023-02-16 12:13:23 -03:00
Marko
1dad6891e2
chore: add message router interface (#15035) 2023-02-15 10:00:28 -08:00
Aleksandr Bezobchuk
b3f95061fa
fix: set block gas meter on prepare/process proposal (#15012) 2023-02-15 15:55:05 +00:00
Julien Robert
a90569c7e4
fix: correct path required proto testdata (#14991) 2023-02-11 16:59:16 +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
80dd55f79b
refactor: rename to CometBFT (#14914) 2023-02-06 18:11:14 +00:00
Julien Robert
41a3dfeced
refactor!: migrate Cosmos SDK to CometBFT (#14897) 2023-02-05 14:51:33 +01:00
Sylvain Bellemare
c9ba06bf77
docs: fix typo (#14905)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-02-03 23:59:53 +00:00
yihuang
b266522c88
feat: add config iavl-lazy-loading to enable lazy loading of iavl store (#14189)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-01-31 21:52:32 +00:00
Facundo Medica
deeb4bd362
feat!: return errors in module manager ABCI methods (#14847) 2023-01-31 19:17:04 +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
Julien Robert
8dbdfea9ef
refactor: remove .Type() and .Route() from msgs (#14751) 2023-01-24 17:03:06 +00:00