CosmWasm / cosmwasm

Framework for building smart contracts in Wasm for the Cosmos SDK

Home Page:https://www.cosmwasm.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StakingMsg - any reason not to implement the other types?

PFC-developer opened this issue · comments

commented

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

pub enum StakingMsg {

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?