Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(staking): move singularity height to staking module #23

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

0xHansLee
Copy link
Collaborator

move param of singularity height from slashing module to staking module

@edisonz0718 edisonz0718 merged commit e146b8d into piplabs/v0.50.7 Oct 23, 2024
0xHansLee added a commit that referenced this pull request Nov 25, 2024
This is a modification commit for Story. This includes period staking, singularity, and UBI.

* feat(x/staking): add staking period parameters

* feat(staking): validator & delegation struct changes with unit test passed

* feat(staking): delegate changes with unit test passed

* feat(staking): fix genesis state unit test issue

* feat(staking): fix local network unit test issue

* feat(staking): fix local network unit test issue

* feat(staking): validtor rewards token type change

* feat(staking): rewards multiplier basec delegation

* feat(staking): add min_delegation param

* feat(staking): add min delegation constriant

* feat(staking): flexible staking period delegation aggregation

* feat(staking): fix unit tests

* feat(staking): make sue flexible period delegation within same del_id

* feat(staking): customized unstake logic

* feat(staking): params change and constriants for delegate and undelegate

* feat(staking): constriants for delegate and undelegate

* feat(distribution): distribute rewards based on rewards shares

* feat(distribution): use ubi pool instead of community tax

* feat(distribution): rewards distribution

* feat(distribution): support ubi withdraw and balance check

* feat(distribution): port a bugfix pr from cosmos

* feat(redelegate): redelegate based on period delegations

* feat(redelegate): add unit tests

* feat(redelegate): add unit tests

* feat(redelegate): add unit tests

* feat(redelegate): add unit tests

* feat(redelegate): add unit tests

* feat(redelegate): unbond bypass check

* feat(redelegate): use previous endTime for redelegation

* feat(redelegate): use previous endTime for redelegation

* feat(redelegate): lint

* feat(distribution): remove useless rewards_token

* feat(staking): add 18 months staking period

* feat(distribution): rename ubi_pool to ubi

* feat(staking): redelegate between same token type

* feat(staking): default params

* feat(staking): default params

* feat(evmstaking): deterministic store for period delegations (#5)

* feat(staking): make staking keeper endblocker return unbonded entry (#4)

* chore(staking): add error log when unbonding and redelegation failed

* feat(staking): make staking keeper endblocker return unbonded entry

* fix(staking): param staking periods and token types (#6)

* feat(staking): add locked token type param (#7)

* feat(x/distribution): refactor ubi funcs (#8)

* fix(x/distribution): keeper receiver

* add GetAllPeriodDelegation

Signed-off-by: lutty <[email protected]>

* fix(distribution): add weighted tokens for validator

* fix(distribution): fix todos

* feat(distr): add set ubi keeper func (#12)

* fix(staking): undelegate edge case

* feat(staking): add period delegation to genesis (#13)

* feat(staking): add period delegation to genesis

* fix(staking): fix tests regarding period delegation

* fix(staking): fix test for msg edit validator

* feat(staking): skip minimum self delegation check at genesis block (#15)

* feat(staking): enhance failure errors (#16)

* fix(staking): add errors

* fix(staking): add errors

* fix(staking): add errors

* feat(slashing): disable slashing during the singularity (#17)

* feat(slashing): add singularity height getter (#20)

* feat(evidence): disable double signing slashing during singularity (#18) (#19)

* fix(staking): remove business logic outside the hooks (#21)

* feat(staking): move business logic outside the hooks

* feat(staking): move business logic outside the hooks

* feat(staking): move business logic outside the hooks

* feat(evmstaking): separate staking msg checks (#22)

* feat(evmstaking): msg checks

* feat(evmstaking): msg checks

* feat(distribution): add max_ubi param

* feat(distribution): add max_ubi param

* feat(distribution): add max_ubi param

* feat(distribution): add max_ubi param

* feat(staking): move singularity height to staking module (#23)

* chore(evidence): bump cosmos sdk version (#24)

* fix(slashing): reset missed block counter at singularity block (#25)

---------

Signed-off-by: lutty <[email protected]>
Co-authored-by: ezreal1997 <[email protected]>
Co-authored-by: lutty <[email protected]>
Co-authored-by: Haodi <[email protected]>
Co-authored-by: Ze <[email protected]>
@ezreal1997 ezreal1997 deleted the hans/move-singularity-height-staking branch December 19, 2024 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants