cosmos-sdk/x
Tyler d4d25f5e18
fix: remove stores from renamed/deleted store upgrades (#9409)
<!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
v                               ✰  Thanks for creating a PR! ✰
v    Before smashing the submit button please review the checkboxes.
v    If a checkbox is n/a - please still include it but + a little note why
☺ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >  -->

## Description

<!-- Add a description of the changes that this PR introduces and the files that
are the most critical to review.
-->

- stores that were renamed are now properly deleted
- deleted/renamed and renamed stores are no longer added to `CommitInfo`
- deleted/renamed stores are now properly removed from rootmulti store's memory

ref: #7991 
closes: N/A

---

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

- [x] Targeted PR against correct branch (see [CONTRIBUTING.md](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#pr-targeting))
- [x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
- [x] Code follows the [module structure standards](https://github.com/cosmos/cosmos-sdk/blob/master/docs/building-modules/structure.md).
- [ ] Wrote unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#testing)
- [ ] Updated relevant documentation (`docs/`) or specification (`x/<module>/spec/`)
- [ ] Added relevant `godoc` [comments](https://blog.golang.org/godoc-documenting-go-code).
- [ ] Added a relevant changelog entry to the `Unreleased` section in `CHANGELOG.md`
- [x] Re-reviewed `Files changed` in the Github PR explorer
- [x] Review `Codecov Report` in the comment section below once CI passes
2021-07-12 16:54:07 +00:00
..
auth types: Inconsistent limit on InfiniteGasMeter and add GasLeft func to GasMeter (#9651) 2021-07-09 10:38:25 -04:00
authz fix: check store keys length before accessing (#9639) 2021-07-08 13:29:12 +02:00
bank fix: check store keys length before accessing (#9639) 2021-07-08 13:29:12 +02:00
capability feat!: remove legacy REST (#9594) 2021-07-06 10:04:54 +00:00
crisis refactor: Update `GetSigners` to return []string (#9418) 2021-07-07 10:18:00 +00:00
distribution fix: check store keys length before accessing (#9639) 2021-07-08 13:29:12 +02:00
evidence refactor: Update `GetSigners` to return []string (#9418) 2021-07-07 10:18:00 +00:00
feegrant refactor: Update `GetSigners` to return []string (#9418) 2021-07-07 10:18:00 +00:00
genutil refactor: Update `GetSigners` to return []string (#9418) 2021-07-07 10:18:00 +00:00
gov fix: check store keys length before accessing (#9639) 2021-07-08 13:29:12 +02:00
group feat: Add group module proto definitions and basic types (#9631) 2021-07-09 07:36:16 +00:00
mint feat!: remove legacy REST (#9594) 2021-07-06 10:04:54 +00:00
params feat: add version params to parameters (#9432) 2021-07-08 08:46:45 +00:00
simulation perf: Speedup to params simulation (#9481) 2021-06-17 07:42:07 +00:00
slashing fix: check store keys length before accessing (#9639) 2021-07-08 13:29:12 +02:00
staking fix: check store keys length before accessing (#9639) 2021-07-08 13:29:12 +02:00
upgrade fix: remove stores from renamed/deleted store upgrades (#9409) 2021-07-12 16:54:07 +00: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.