Skip to content

custom reward address not validated #1413

@mtsitrin

Description

@mtsitrin

when creating sequencer,
when asked for custom reward address, it's not validated, thus causing the tx to fail.

would you like to use a custom reward address (leave empty to use the sequencer address): 0xc2D285609A826F73bB4d607EfD772f2f98270E75


would you like to proceed with bonding the sequencer? [y/N]: Yes
Error: get reward addr from bech32: invalid argument
decoding bech32 failed: string not all lowercase or all uppercase
Usage:
  dymd tx sequencer create-sequencer [pubkey] [rollapp-id] [bond] [metadata] --reward-address [reward_addr] --whitelisted-relayers [addr1,addr2,addr3] [flags]

  ERROR   failed to register sequencer:  command finished with error: exit status 1

Metadata

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