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

The recordspec metadata CLI query is returning extra record specs #2148

Closed
4 tasks
SpicyLemon opened this issue Sep 11, 2024 · 0 comments · Fixed by #2197
Closed
4 tasks

The recordspec metadata CLI query is returning extra record specs #2148

SpicyLemon opened this issue Sep 11, 2024 · 0 comments · Fixed by #2197
Assignees
Labels
bug Something isn't working CLI Command line interface feature metadata Metadata Module
Milestone

Comments

@SpicyLemon
Copy link
Contributor

Summary of Bug

The provenanced query metadata recordspec <record spec id> CLI command is returning more record specifications than just the one requested.

Version

v1.19.1

Steps to Reproduce

  1. Run the command provenanced query metadata recordspec recspec1qhe5jmlq8n9mm09el5dnuytz625j2vnjxcq5qn4t62ld7tu9djvq50cgcrv against a mainnet node.

Expected result:

The response has a record_specification field with just the recspec1qhe5jmlq8n9mm09el5dnuytz625j2vnjxcq5qn4t62ld7tu9djvq50cgcrv record specification in it.

Actual result:
The response has a record_specifications field with 15 record specifications in it, one if which is the one requested.

It appears that the CLI command is actually using the RecordSpecificationsForContractSpecification endpoint here instead of the RecordSpecification endpoint.


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@SpicyLemon SpicyLemon added bug Something isn't working CLI Command line interface feature metadata Metadata Module labels Sep 11, 2024
@SpicyLemon SpicyLemon added this to the v1.20.0 milestone Sep 11, 2024
@SpicyLemon SpicyLemon moved this from Todo to In Progress in Provenance Core Protocol Team Oct 22, 2024
@SpicyLemon SpicyLemon self-assigned this Oct 23, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in Provenance Core Protocol Team Oct 24, 2024
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 metadata Metadata Module
Projects
Development

Successfully merging a pull request may close this issue.

1 participant