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

Bug: CLI lowercases a marker input #329

Closed
4 tasks
ghost opened this issue May 21, 2021 · 0 comments · Fixed by #360
Closed
4 tasks

Bug: CLI lowercases a marker input #329

ghost opened this issue May 21, 2021 · 0 comments · Fixed by #360
Assignees
Labels
bug Something isn't working CLI Command line interface feature marker Marker Module

Comments

@ghost
Copy link

ghost commented May 21, 2021

Summary of Bug

When search for a marker via CLI, if your marker has uppercase letters in it, the query will fail. This is due to the CLI query logic lowercasing the input. This is inconsistent with how denoms are handled.

Version

1.3.0

Steps to Reproduce

provenanced -t q marker get pm.pool.asset.5Q36i7huHWZPSvww0ikKjH

invalid marker denom: pm.pool.asset.5q36i7huhwzpsvww0ikkjh: decoding bech32 failed: invalid index of 1: invalid request

possible cause: id := strings.ToLower(strings.TrimSpace(args[0]))


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@ghost ghost added bug Something isn't working CLI Command line interface feature labels May 21, 2021
@iramiller iramiller added the marker Marker Module label May 21, 2021
@channa-figure channa-figure self-assigned this Jun 23, 2021
@iramiller iramiller moved this from Todo to Done in Provenance Core Protocol Team Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CLI Command line interface feature marker Marker Module
Projects
Development

Successfully merging a pull request may close this issue.

2 participants