cosmos-sdk/x
mergify[bot] 863a7c7786
feat: `ScheduleUpgradeNoHeightValidation` for automated upgrades w/o gov proposal (backport #11551) (#11574)
* 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)

(cherry picked from commit 5b02bf459f)

# Conflicts:
#	CHANGELOG.md
#	x/upgrade/abci_test.go
#	x/upgrade/keeper/keeper.go

* fix conflicts

* changelog

* fix test

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <federico.kunze94@gmail.com>
2022-04-08 15:04:53 +02:00
..
auth feat: EIP191 sign mode (backport #11533) (#11545) 2022-04-05 13:56:54 +02:00
authz feat: add grants by grantee authz query (backport #10944) (#11523) 2022-04-01 18:11:35 +02:00
bank feat: add support for spendable balances gRPC query (backport #11417) (#11459) 2022-03-26 20:47:01 -04:00
capability style(capability)!: update go doc comments and remove BeginBlocker (backport #9845) (#9846) 2021-08-04 14:42:21 +02:00
crisis style: lint go and markdown (backport #10060) (#10473) 2021-11-11 21:29:29 +01:00
distribution style: lint go and markdown (backport #10060) (#10473) 2021-11-11 21:29:29 +01:00
evidence style: lint go and markdown (backport #10060) (#10473) 2021-11-11 21:29:29 +01:00
feegrant chore: [x/feegrant] remove unnecessary logging in simulation (backport #10262) (#10270) 2021-10-05 12:01:01 +02:00
genutil fix: --home flag parsing (backport #10226) (#10271) 2021-10-04 12:57:06 +02:00
gov feat!: x/gov: raise max description length to 10k chars (backport #10740) (#10921) 2022-01-10 12:56:37 +01:00
mint style: lint go and markdown (backport #10060) (#10473) 2021-11-11 21:29:29 +01:00
params perf: Speedup to params simulation (#9481) 2021-06-17 07:42:07 +00:00
simulation fix: Update RequestInitChain in Simulations (#10171) 2021-09-16 20:39:16 +02:00
slashing style: lint go and markdown (backport #10060) (#10473) 2021-11-11 21:29:29 +01:00
staking fix!: Charge gas for key length in gas meter (backport #10247) (#10697) 2021-12-10 08:29:12 +01:00
upgrade feat: `ScheduleUpgradeNoHeightValidation` for automated upgrades w/o gov proposal (backport #11551) (#11574) 2022-04-08 15:04:53 +02:00
README.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00

README.md

List of Modules

Here are some production-grade modules that can be used in Cosmos SDK applications, along with their respective documentation:

  • Auth - Authentication of accounts and transactions for Cosmos SDK application.
  • Authz - Authorization for accounts to perform actions on behalf of other accounts.
  • Bank - Token transfer functionalities.
  • Capability - Object capability implementation.
  • Crisis - Halting the blockchain under certain circumstances (e.g. if an invariant is broken).
  • Distribution - Fee distribution, and staking token provision distribution.
  • Evidence - Evidence handling for double signing, misbehaviour, etc.
  • Governance - On-chain proposals and voting.
  • Mint - Creation of new units of staking token.
  • Params - Globally available parameter store.
  • Slashing - Validator punishment mechanisms.
  • Staking - Proof-of-Stake layer for public blockchains.
  • Upgrade - Software upgrades handling and coordination.

To learn more about the process of building modules, visit the building modules reference documentation.

IBC

The IBC module for the SDK has moved to its own repository.