forked from cosmos/cosmos-sdk
-
Notifications
You must be signed in to change notification settings - Fork 5
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(evmstaking): separate staking msg checks #22
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
edisonz0718
approved these changes
Oct 23, 2024
0xHansLee
reviewed
Oct 23, 2024
0xHansLee
approved these changes
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]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
separate staking msg checks before calling core keeper functions
issue: none