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

Open
4 tasks
SpicyLemon opened this issue Sep 11, 2024 · 0 comments
Open
4 tasks

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

SpicyLemon opened this issue Sep 11, 2024 · 0 comments
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
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

No branches or pull requests

1 participant