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(contracts/core): support user stake delegation #2681

Merged
merged 3 commits into from
Dec 20, 2024
Merged

Conversation

Zodomo
Copy link
Contributor

@Zodomo Zodomo commented Dec 11, 2024

Added initial support for user stake delegation to the Staking contract, and updated related Go. I also added support for delegating on behalf of other users. The omni CLI delegate command was only updated for the new delegate function interface, so CLI still only supports self-delegation, for now.

It has yet to be determined what contract changes, if any, are necessary for unstaking. This contract should not be upgraded yet until the entire scope is known.

issue: #567

Copy link
Contributor

@kevinhalliday kevinhalliday left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consolidate to _delegate?

@Zodomo Zodomo merged commit eb04c6d into main Dec 20, 2024
19 checks passed
@Zodomo Zodomo deleted the zodomo/delegatefor branch December 20, 2024 22:05
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.

3 participants