Skip to content

Validator Voting: check migrate_msg content to be >0 #46

Closed
@ueco-jb

Description

Since we allow migrate_msg field to be empty, we could actually make it an Option to not confuse frontend.
https://github.com/confio/poe-contracts/blob/main/contracts/tgrade-validator-voting/src/msg.rs#L80

    MigrateContract {
...
        /// encoded message to be passed to perform the migration
        migrate_msg: Option<Binary>,
    },

@ethanfrey to confirm

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions