Skip to content

Bug: Incorrect error message when periodlimit is not set on a feegrant tx #10049

Closed

Description

Summary of Bug

If a user attempts to run simd tx feegrant grant with the flag --period but without the flag --periodlimit then they will get an error saying that there was the wrong number of arguments when the real problem is that they haven't set the --periodlimit flag. We should update the error message in:

return fmt.Errorf("invalid number of args %d", len(args))


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions