Commit Graph

145 Commits

Author SHA1 Message Date
Alex | Interchain Labs
727faf0484
refactor: bring cometbft back to v0.38.x family (#25285) 2025-08-29 15:58:04 -04:00
viktorking7
6f6bc329d5
fix(typos): correct spelling and wording in Go code and Markdown (#25232)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-08-21 15:54:43 -04:00
dmytroheknt
ec4ee1cb19
chore: polishing docs and comments: typo fixes for clarity (#25081)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-08-04 15:35:53 +00:00
Alex | Interchain Labs
bf46b77b92
chore: fix TimeoutCommit confusion (#24853) 2025-06-09 15:53:34 +00:00
Zachary Becker
fd170b5140
feat: Update Cosmos SDK to CometBFT v2 (#24837)
Co-authored-by: aljo242 <alex@interchainlabs.io>
2025-06-04 17:34:20 +00:00
Aaron Craelius
be955efe25
feat: verbose logging during upgrades (#24720)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-05-13 20:48:30 +00:00
Alex | Interchain Labs
a2d6d1f6ac
chore: fix godoc comments for functions and structs (#24736) 2025-05-13 13:48:13 +00:00
Alex | Interchain Labs
3c6deab626
chore: run modernize (#24356) 2025-04-03 10:42:20 -04:00
Tyler
cfda49b436
fix: prune cmd should disable async pruning (#24090) 2025-03-27 18:43:27 +00:00
mergify[bot]
47874acfaf
fix(server): fix fallback genesis path (backport #22564) (#22573)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-11-20 15:33:42 +00:00
mergify[bot]
8c5f521735
feat: module hash by height query (backport #20779) (#21247)
Co-authored-by: Adam Tucker <adam@osmosis.team>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-08-10 08:32:16 +00:00
mergify[bot]
7b35e36329
feat(server): add custom start handler (backport #19854) (#19884)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-03-28 11:57:24 +00:00
mergify[bot]
c122a3d8ab
feat(server): in-place testnet creator (backport #19280) (#19405)
Co-authored-by: Adam Tucker <adam@osmosis.team>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-02-15 08:52:56 +01:00
mergify[bot]
1b517b02b4
feat(server): cmd flag to disable colored logs (backport #18478) (#18507)
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-11-19 15:11:12 +00:00
mergify[bot]
37ef60177f
fix(snapshot): grant execution permissions to the snapshot dir for the owner (backport #18294) (#18295) 2023-10-29 08:47:34 +00:00
mergify[bot]
0bc6756a4a
fix: use a lower file permission in file creation (backport #18206) (#18263)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-10-26 10:53:19 +00:00
mergify[bot]
d8957530a5
perf: parse chain-id from big genesis file could be slow (backport #18204) (#18267)
Co-authored-by: yihuang <huang@crypto.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-10-26 12:46:39 +02:00
mergify[bot]
57a22c1ddd
fix: use correct config key for db_backend (backport #17406) (#17410) 2023-08-16 18:46:06 +00:00
mergify[bot]
bee95b19b5
feat!: Add gas limits to queries (backport #16239) (#17324)
Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com>
2023-08-09 10:22:34 +02:00
mergify[bot]
2bf3414afb
fix: properly use --trace flag (backport #16827) (#16830)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-04 19:53:42 +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
Julien Robert
0bded0d195
fix: do not overwrite comet config when set in InterceptConfigsPreRunHandler (#16395) 2023-06-01 11:21:28 +00:00
Dev Ojha
b500b0104f
refactor: Apply Yihuang's server blocking improvement (#16252) 2023-05-23 09:25:47 +00:00
yihuang
c1ceb3bdda
feat: add local snapshots management commands (#16067)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-05-11 10:11:31 +00:00
Marko
25df90d0fc
feat!: bootstrap comet cmd for local state sync (#16061)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: HuangYi <huang@crypto.com>
2023-05-10 10:25:07 +00:00
Julien Robert
0da5e83176
feat: default to noop mempool when max-txs is negative (#16071) 2023-05-09 17:41:20 +00:00
Julien Robert
ebcad58468
fix(autocli): fix simapp enhancing (#15906) 2023-04-25 14:08:02 +00:00
Julien Robert
c1974e4b3c
refactor: remove cometbft/libs/cli import (#15673) 2023-04-03 14:48:02 +00:00
Julien Robert
d21f58c638
feat(log): wire logger filtering (#15601) 2023-03-30 09:48:38 +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
Julien Robert
ea8c76eb65
feat: add filtering to logger (#15212) 2023-03-13 13:16:20 +00:00
Julien Robert
abd4ac0790
feat: make logger easily replaceable (#15358) 2023-03-13 09:01:58 +00:00
Mark Rushakoff
1bb632a567
chore: prefer to panic instead of os.Exit (#15285) 2023-03-07 15:12:39 +00:00
Mark Rushakoff
f151bf627a
refactor(log): require destination in calls to NewLogger (#15262) 2023-03-06 19:05:49 +00:00
Julien Robert
5d559dd265
feat!: use cosmossdk.io/log logger (#15011) 2023-02-27 21:36:22 +00:00
Aleksandr Bezobchuk
7f99ad5fe7
refactor: cleanup server logic (#15041) 2023-02-22 16:09:08 +00:00
yihuang
497dc2cb78
fix: create snapshot dir for rocksdb backend (#15054) 2023-02-17 17:05:40 +00:00
Julien Robert
c17c3caab8
refactor: rename commands to match consensus engine name (#14956) 2023-02-08 20:09:28 +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
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
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
Marko
e048402efb
chore: modify db support (#14451) 2022-12-30 14:08:37 +00:00
Julien Robert
82bd8880fc
fix: fix --log_format flag not working (#14441) 2022-12-29 10:09:16 +01:00
Jacob Gadikian
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
Aleksandr Bezobchuk
bbd7e31305
chore: audit server package (#14359) 2022-12-19 19:42:09 +00:00
Marko
1b6192fec0
refactor: provide a helper for baseapp options (#14175)
* provide a helper for baseapp options

* rename

* changelog entry

* fix spelling
2022-12-06 14:28:18 +00:00
Julien Robert
eb4afa74ba
ci: configure sonarcloud (#13921) 2022-11-18 15:14:49 +00:00
Emmanuel T Odeke
481569ce4f
fix: all: fix resource leaks found by staticmajor (#13394)
Fixes resource leaks in which a .Close, .Stop method
wasn't invoked in return routes such as with errors.

Found by https://github.com/cosmos/cosmos-sdk/pull/13392
2022-10-06 20:11:40 +00:00