cosmos-sdk/x/staking
Daniel Burckhardt b8270fc9ba
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`
2022-04-12 14:41:08 +00:00
..
client fix: fix the cli test for cancel unbond (#11579) 2022-04-09 11:16:09 +00:00
keeper feat: add (re)delegation getters (#11596) 2022-04-12 14:41:08 +00:00
migrations chore: remove migrations 0.42 and below (#11556) 2022-04-07 13:04:03 +00:00
simulation fix: fix the cli test for cancel unbond (#11579) 2022-04-09 11:16:09 +00:00
spec docs(staking): add `cancel-unbond` delegations spec (#11473) 2022-04-07 12:39:27 +00:00
teststaking feat!: remove legacy handler (#9650) 2021-07-19 14:49:42 +00:00
types feat: Cancel unbonding delegation entry (#10885) 2022-04-05 10:01:13 +00:00
README.md docs: Improve markdownlint configuration (#11104) 2022-02-10 12:07:01 +00:00
abci.go Merge PR #6761: telemetry: use UTC() in wrappers 2020-07-17 15:33:50 -04:00
app_test.go revert: Revert "feat: staking config (#10988)" (#11446) 2022-03-24 12:26:25 +01:00
bench_test.go x/staking: add ValidateGenesis benchmark (#8746) 2021-03-02 01:01:05 -08:00
common_test.go revert: Revert "feat: staking config (#10988)" (#11446) 2022-03-24 12:26:25 +01:00
genesis.go fix!: x/staking - remove delegation with amount is zero (#10254) 2021-10-08 22:02:16 -04:00
genesis_test.go feat!: Ensure InitGenesis returns with non-empty validator set (#9697) 2021-10-05 12:02:51 +00:00
module.go feat: Cancel unbonding delegation entry (#10885) 2022-04-05 10:01:13 +00:00
module_test.go feat!: Ensure InitGenesis returns with non-empty validator set (#9697) 2021-10-05 12:02:51 +00:00

README.md

Staking

  • Staking - Proof-of-Stake layer for public blockchains.