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

StakingMsg - any reason not to implement the other types? #1970

Open
PFC-developer opened this issue Dec 13, 2023 · 1 comment
Open

StakingMsg - any reason not to implement the other types? #1970

PFC-developer opened this issue Dec 13, 2023 · 1 comment

Comments

@PFC-developer
Copy link

create/edit validator .. as well as Unjail from slashing module?

pub enum StakingMsg {

@webmaster128
Copy link
Member

Adding and maintaining the messages types is a good amount of work and it is not realistic that CosmWasm can keep up with all the message types Cosmos SDK or other blockchain modules are providing. So we have to be selective with what we add and know why we add messages (i.e. understand the use cases). The staking messages we have were added for writing staking derivatives. This also allows for all kinds of other scenarios where the contract is a delegator. What would be you use case for the message types you are asking for?

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

No branches or pull requests

2 participants