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

Problem: missing feature of staking delegate in Cosmos SDK (fix #86) #118

Merged
merged 2 commits into from
Jan 26, 2022

Conversation

stevenatcrypto
Copy link
Collaborator

Close #86

Add message MsgDelegate and MsgUndelegate for Cosmos SDK.

Has not find a good method to test. Will follow the integration-test task to find if it is easy to test, and add code for example.

let msg = MsgUndelegate {
delegator_address: sender_address,
validator_address,
/// FIXME: amount should not support value of None
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe None is to undelegate all?

Copy link
Collaborator Author

@stevenatcrypto stevenatcrypto Jan 26, 2022

Choose a reason for hiding this comment

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I could not confirm for that. Just post a issue in cosmos-rust cosmos/cosmos-rust#174

@tomtau tomtau merged commit 8479953 into main Jan 26, 2022
@tomtau tomtau deleted the feat/staking-delegate branch January 26, 2022 09:50
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.

Problem: missing feature of staking delegate in Cosmos SDK
2 participants