Commit Graph
85 Commits
Author SHA1 Message Date
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 16c2abffbe chore(upgrade): remove extra gov deps (#18316) 2023-10-31 10:30:25 +00:00
Facundo Medica 458dd044b9 chore(x/upgrade): Use ValidateBasic for Plan in ReadUpgradeInfoFromDisk (#18210) 2023-10-24 08:23:18 +00:00
Marko 388ff4fc7e refactor: move gov into own go.mod (#18197) 2023-10-23 14:17:04 +00:00
Marko fb3f61b667 chore(upgrade): remove address.string calls (#17862) 2023-09-25 10:48:14 +00:00
Marko 72991994dd chore: cleanup sdk.Context (#17717) 2023-09-13 21:40:14 +00:00
Marko 9b1e296765 chore: remove println from upgrade keeper (#17591) 2023-08-31 15:41:32 +00:00
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
Julien Robert 5839c3a600 chore: bump golangci-lint to v1.54.2 (#17538) 2023-08-25 14:07:24 +00:00
ruthishvitwit fd7e549a3c chore: enable errcheck linter (#16406) 2023-07-12 08:58:27 +00:00
Julien Robert 320eea11c2 feat(upgrade): autocli query support (#16903) 2023-07-11 13:02:19 +00:00
Julien Robert c6d5b7c050 feat(cosmovisor): extend add upgrade to support non governance upgrade (#16549) 2023-07-03 08:30:08 +00:00
Julien Robert ae39e8e631 build(deps): use hashicorp/go-metrics instead of armon/go-metrics (#16790) 2023-06-30 14:21:57 +00:00
Facundo Medica 1ce85e1f7b refactor(x/upgrade): audit changes (#16786) 2023-06-30 11:21:45 +00:00
Jacob Gadikian 6afece635c style: add gci linter (#16605) 2023-06-22 15:35:51 +00:00
Facundo Medica bbab968ee2 refactor(x/upgrade)!: use KVStoreService and context.Context (#16227) 2023-06-05 13:38:31 +00:00
MarkoandAleksandr Bezobchuk 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 e4dbf1b7b4 refactor(auth,vesting): move ValidateBasic logic to msgServer (#15786) 2023-04-12 14:37:06 +00:00
Julien Robert 722c3f935f refactor(upgrade): move ValidateBasic logic to msgServer (#15752) 2023-04-08 09:05:43 +00:00
Dhanu Saputra 17debf2efa feat: emit more data in prom metrics (#15657) 2023-04-06 13:10:08 +00:00
Jacob Gadikian bd8b01cd12 style: linter fixes for feegrant and upgrade (#15642) 2023-04-03 07:58:24 +00:00
Jacob GadikianandJulien Robert b009a75eea style: make lint-fix everything (#15631)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-03-30 17:27:39 +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
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 5ec3d2b875 feat!: use gov v1 proposals in upgrade cli (#14880) 2023-02-02 13:55:48 +01:00
Likhita Polavarapu 6cf07f881f refactor: x/upgrade to standalone module (#14764) 2023-01-27 15:08:21 +01: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
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
Julien Robert 05a6da32e2 refactor: improve x/upgrade app wiring (part of upgrade audit) (#14216) 2022-12-14 21:21:58 +01:00
Likhita Polavarapu bd59987df1 refactor: x/upgrade audit changes (#14188) 2022-12-08 13:02:49 +01:00
Marko 306a9a7170 feat!: consensus module (#12905) 2022-10-05 18:06:24 +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
0943a70215 chore: fix linting issues exposed by fixing golangci-lint (#12895)
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2022-08-11 22:00:24 +02:00
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
likhita-809 25929e3135 refactor: Use mocks for x/upgrade testing (#12698)
## Description

Closes: #12500 



---

### 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-27 17:05:52 +00:00
Julien Robert 52bc0c16d3 refactor: rename depinject imports to cosmossdk.io/depinject (#12479) 2022-07-09 17:46:07 +02:00
Julien Robert 91b1d83f13 feat!: migrate x/upgrade to use app wiring (#12312) 2022-06-22 13:05:40 +02:00
Jacob GadikianandJulien Robert 55054282d2 chore: gofumpt (#11839)
* fumpt using main not master...

* be more descriptive

* fumpt

* fix nits

Co-authored-by: Julien Robert <julien@rbrt.fr>
2022-05-19 10:55:27 +02:00
Julien Robert b7841e3a76 docs: remove typos and IBC documentation (#11933) 2022-05-12 14:02:57 +02:00
Marie Gauthier 8416394864 chore: x/upgrade audit changes (#11879) 2022-05-05 09:38:21 -04:00
daeMOn b6c3756c9a fix!: invalid return value from keeper GetLastCompleteUpgrade - breaking change version (#11800) 2022-05-02 10:23:27 -04:00
Federico Kunze Küllmer 5b02bf459f feat: ScheduleUpgradeNoHeightValidation for automated upgrades w/o gov proposal (#11551)
## Description



Implements a `ScheduleUpgradeNoHeightValidation` function for chains to schedule an automated upgrade (using the `x/upgrade` module) without having to go through a governance proposal.

This is beneficial to coordinate upgrades without having to manually download the new version, do the migration and restart the chain.

This is the procedure Evmos used for its automated upgrade.

---

### 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/master/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/master/docs/building-modules)
- [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/master/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-04-07 17:00:00 +00:00
Marie Gauthier 75d9d0dd7e feat: Add MsgSoftwareUpgrade and MsgCancelUpgrade (for new msgs-based gov proposals) (#11116) 2022-03-03 16:45:02 +01:00
Frojdi Dymylja 3a1027c74b feat: add message option extension to signal msg signers in a language agnostic way (#10977)
## Description

Closes: #10933 



---

### 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/master/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/master/docs/building-modules)
- [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/master/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-01-28 17:01:56 +00:00
MD Aleem 5622115865 feat!: add protection against accidental downgrades (#10407)
## Description

Closes: #10318 



---

### 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/master/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/master/docs/building-modules)
- [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/master/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-01-25 16:23:38 +00:00
Emmanuel T Odeke 78e98a60c4 perf: x/*: remove unnecessary byte<->string conversions in fmt and read-only bytes (#10739) 2021-12-11 15:04:38 -08:00