Commit Graph
162 Commits
Author SHA1 Message Date
974a24c58c feat: Conditionally emit metrics based on enablement (backport #19903) (#20017)
Co-authored-by: Lucas Francisco López <lucaslopezf@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-04-12 12:13:28 +02:00
mergify[bot]andJulien Robert 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]andAdam Tucker aba4e2d0d8 fix: in-place-testnet edgecases (backport #19516) (#19526)
Co-authored-by: Adam Tucker <adam@osmosis.team>
2024-02-23 01:27:45 +01:00
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
445f10d497 feat: Wait shutdown-grace-seconds to flush async db writes to disk (backport #17094) (#18431)
Co-authored-by: Chill Validation <92176880+chillyvee@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-11-10 09:31:29 +00:00
mergify[bot]andJulien Robert 9c6c648436 fix(server): don't hardcode grpc address to localhost (backport #18254) (#18258)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-10-25 18:53:48 +00:00
Philip Offtermatt 97cfd71b23 feat(server): Start grpc and api server in standalone mode (v0.50.x) (#18163) 2023-10-18 14:27:36 +02:00
1ee1b4c8cd fix: remove duplicated app.Close call (backport #17619) (#17634)
Co-authored-by: yihuang <huang@crypto.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-09-06 09:52:29 +00:00
mergify[bot]andDev Ojha 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]andJulien Robert 9f4a4e416f build(deps): use hashicorp/go-metrics instead of armon/go-metrics (backport #16790) (#16800)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-30 15:27: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
mergify[bot]andyihuang a3d66328d7 feat: make abci handshake graceful interruptible (backport #16206) (#16710)
Co-authored-by: yihuang <huang@crypto.com>
2023-06-27 13:36:39 +00:00
mergify[bot] e991124b07 refactor: cleanup profiling code with equivalent one (backport #16634) (#16635) 2023-06-21 16:40:48 +00:00
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
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
Dev Ojha b500b0104f refactor: Apply Yihuang's server blocking improvement (#16252) 2023-05-23 09:25:47 +00:00
Dev Ojha 38f27e3d1a refactor: More cleanup of server/start.go (#16238) 2023-05-22 11:25:10 +00:00
yihuang de75e568b4 feat: make StartCmd more customizable (#16209) 2023-05-19 09:41:29 +00:00
yihuangandAleksandr Bezobchuk 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
Dev Ojhaandmarbar3778 9329a00e93 refactor: Split up server functions a bit (#16152)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-05-17 12:52:19 +00:00
Julien Robert 16e940df55 chore: rename comet logger wrapper (#15983) 2023-04-28 14:36:09 +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
Dhanu Saputra 17debf2efa feat: emit more data in prom metrics (#15657) 2023-04-06 13:10:08 +00:00
Marko 51f3e70a12 style: more linting (#15618) 2023-03-30 13:00:18 +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
Julien Robert 832517befc feat: add application genesis (#15031) 2023-02-22 10:29:03 +00:00
yihuang 4d02519ec0 feat: support profiling block replay during abci handshake (#14953)
## Description

by default, the signal trap is not setup during abci handshake, so you can't profile at this stage, but it's an interesting way to profile production block data with the block replay. 



---

### 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-08 23:53:27 +00:00
Julien Robert c17c3caab8 refactor: rename commands to match consensus engine name (#14956) 2023-02-08 20:09:28 +00:00
Jeon Jeongho a186d2a69f docs: correct rpc-max-body-bytes config description (#14935)
## Description

This config limits the maximum size of HTTP request body, but description said response size. `rpc-max-body-bytes` config affects these:
* https://github.com/cometbft/cometbft/blob/38a4caeac0551c188af8a3e209e48380cd514e2d/rpc/jsonrpc/server/http_server.go#L255
* https://github.com/cometbft/cometbft/blob/1cb55d49baa86a227c4b9eadad2d7a344670eb51/rpc/jsonrpc/server/ws_handler.go#L167

---

### 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 09:19:32 +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
Julien Robert 12394c8b99 fix: allow grpc server enabled even when api off (#14890) 2023-02-02 20:34:46 +01:00
yihuangandMarko 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 PolavarapuandMarko 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 4f6f6c0002 feat: use same port for grpc-web and api server (#14652) 2023-01-20 15:07:17 +00:00
Facundo Medica edb5c1c0d7 chore: audit server (#14367) 2022-12-20 14:56:13 +00:00
754ca3169e feat: add tx limit to mempool (#14014)
* feat: add bounding max tx to mempool

* add bounded condition

* sligh improvement on generator

* remove unbouded option

* add test

* added mempool options mechanism

* mising test

* seting mempool

* change function name

* change function name

* failing test

* Revert "failing test"

This reverts commit d527982b0d4ec826ff680afb8f43ac1d71809ccf.

* fix import block

* changelog entries

* add ability to do unbounded mempool

* remove unesesary variable

* small comments

* change 0 to mean unbounded

* t

* small test fix

* add the ability to be bounded unbounded and disabled

* t

* set default maxtx

* Update docs/docs/building-apps/02-app-mempool.md

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

* example for opts

* remove superflues logs entry

* add mempool to configurations

* fix more understandable name

* remove table in favor of bulletpoints

* sender nonce to unbounded

* Update docs/docs/building-apps/02-app-mempool.md

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

* Update types/mempool/sender_nonce.go

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

* Update types/mempool/sender_nonce.go

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

* Update docs/docs/building-apps/02-app-mempool.md

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

* Update server/config/config.go

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

* t

* add comment for options

* fix inport

* fix inport

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Emmanuel T Odeke <emmanuel@orijtech.com>
2022-12-02 00:39:55 +00:00
Julián Toledano 6679ee0eea fix: remove rosetta from server start (#14062)
* delete: rosetta from server start

* update: go.sum

* CHANGELOG

* update: changelog
2022-11-30 19:16:56 +00:00
Julien Robert f96072d9a8 fix: do not shadow clientCtx in start.go (#14086) 2022-11-30 12:26:20 +00:00
Julien Robert eb4afa74ba ci: configure sonarcloud (#13921) 2022-11-18 15:14:49 +00:00
sleepy ramen 39c5c079cd fix: misc fixes for cosmos-rosetta (#13583)
### Description

Closes:
https://github.com/cosmos/cosmos-sdk/issues/13083
https://github.com/cosmos/cosmos-sdk/issues/11402
https://github.com/cosmos/cosmos-sdk/issues/10678
https://github.com/cosmos/cosmos-sdk/issues/12358
https://github.com/cosmos/cosmos-sdk/issues/10776
https://github.com/cosmos/cosmos-sdk/issues/12934

### 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...

- [x] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [x] added `!` to the type prefix if API or client breaking change
- [x] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
- [x] provided a link to the relevant issue or specification
- [x] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/building-modules)
- [x] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing)
- [x] added a changelog entry to `CHANGELOG.md`
- [x] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [x] updated the relevant documentation or specification
- [x] 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-11-04 11:48:45 +00:00
Julien Robert 27f9851d64 fix: nil pointer when quitting simd start (#13743)
* fix: nil pointer when quitting `simd start`
* log error
2022-11-03 12:00:00 +00:00
William Chong c833190a16 feat(cli): Add iavl-disable-fastnode cmd flag with proper description (#13656) 2022-10-26 14:28:29 +00:00
MarkoandJulien Robert 04db139e8a chore: move pruning to store (#13609)
* move pruning to store

* add changelog entry

Co-authored-by: Julien Robert <julien@rbrt.fr>
2022-10-24 14:02:17 +02:00
Aleksandr Bezobchuk c60c55616d feat: gRPC query for operator and chain configuration (#13485) 2022-10-10 19:12:00 +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
mmsqe bed4ba3ac8 fix: add close for grpcOnly mode (#13418) 2022-09-29 11:33:28 -04:00
Marko 412e2fc86e feat: configurable fastnode (#13321) 2022-09-20 08:49:18 +00:00
Facundo Medica db8714da9e refactor: remove use of tmos "github.com/tendermint/tendermint/libs/os" (#13113) 2022-09-01 21:00:50 +00:00