cosmos-sdk/x
mergify[bot] ac970f52be
feat: add (re)delegation getters (backport #11596) (#11615)
* feat: add (re)delegation getters (#11596)

### Description

This PR adds general helper functions to the `x/staking` module that are used in the Evmos `x/vesting` module and originated from Agoric's custom staking module implementation https://github.com/agoric-labs/cosmos-sdk/blob/4085-true-vesting/x/staking/keeper/delegation.go.

- `GetDelegatorUnbonding`
- `GetDelegatorBonded`
- `IterateDelegatorUnbondingDelegations`
- `IterateDelegatorDelegations`
- `IterateDelegatorRedelegations`

(cherry picked from commit b8270fc9ba)

# Conflicts:
#	CHANGELOG.md
#	x/staking/keeper/delegation.go

* fix RemoveDelegation method conflict

* fix CHANGELOG conflict

* add new PR in CHANGELOG

Co-authored-by: Daniel Burckhardt <daniel.m.burckhardt@gmail.com>
2022-04-13 16:34:42 +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 feat: add (re)delegation getters (backport #11596) (#11615) 2022-04-13 16:34:42 +02: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.