Skip to content

yaml output format for more commands #1192

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

Merged
merged 1 commit into from
May 23, 2025
Merged

Conversation

newhoggy
Copy link
Contributor

@newhoggy newhoggy commented May 20, 2025

Changelog

- description: |
    New `--output-yaml` option for the following commands:
    * `conway query ledger-state`
    * `conway query ref-script-size`
    * `conway query stake-distribution`
    * `conway query stake-pools`
    * `conway query utxo`
    * `conway text-view decode-cbor`
    * `conway transaction calculate-min-fee`
    * `conway transaction txid`
    * `latest query ledger-state`
    * `latest query ref-script-size`
    * `latest query stake-distribution`
    * `latest query stake-pools`
    * `latest query utxo`
    * `latest text-view decode-cbor`
    * `latest transaction calculate-min-fee`
    * `latest transaction txid`
    * `query ledger-state`
    * `query stake-distribution`
    * `query stake-pools`
    * `query utxo`
  # uncomment types applicable to the change:
  type:
  # - feature        # introduces a new feature
  # - breaking       # the API has changed in a breaking way
  - compatible     # the API has changed but is non-breaking
  # - optimisation   # measurable performance improvements
  # - refactoring    # QoL changes
  # - bugfix         # fixes a defect
  # - test           # fixes/modifies tests
  # - maintenance    # not directly related to the code
  # - release        # related to a new release preparation
  # - documentation  # change in code docs, haddocks...

Context

Additional context for the PR goes here. If the PR fixes a particular issue please provide a link to the issue.

How to trust this PR

Highlight important bits of the PR that will make the review faster. If there are commands the reviewer can run to observe the new behavior, describe them.

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • New tests are added if needed and existing tests are updated. See Running tests for more details
  • Self-reviewed the diff

@newhoggy newhoggy force-pushed the newhoggy/more-yaml-outputs branch from 38384ca to 6084b68 Compare May 21, 2025 12:16
@newhoggy newhoggy changed the title Newhoggy/more yaml outputs yaml output format for more commands May 21, 2025
Copy link
Contributor

@Jimbo4350 Jimbo4350 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@newhoggy newhoggy force-pushed the newhoggy/more-yaml-outputs branch from 6084b68 to 7fc153c Compare May 22, 2025 12:39
@newhoggy newhoggy added this pull request to the merge queue May 22, 2025
github-merge-queue bot pushed a commit that referenced this pull request May 22, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 22, 2025
@newhoggy newhoggy added this pull request to the merge queue May 23, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to invalid changes in the merge commit May 23, 2025
@newhoggy newhoggy added this pull request to the merge queue May 23, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to invalid changes in the merge commit May 23, 2025
* conway query ledger-state
* conway query ref-script-size
* conway query stake-distribution
* conway query stake-pools
* conway query utxo
* conway text-view decode-cbor
* conway transaction calculate-min-fee
* conway transaction txid
* latest query ledger-state
* latest query ref-script-size
* latest query stake-distribution
* latest query stake-pools
* latest query utxo
* latest text-view decode-cbor
* latest transaction calculate-min-fee
* latest transaction txid
* query ledger-state
* query stake-distribution
* query stake-pools
* query utxo
@newhoggy newhoggy force-pushed the newhoggy/more-yaml-outputs branch from 7fc153c to 4b93f0f Compare May 23, 2025 11:46
@newhoggy newhoggy enabled auto-merge May 23, 2025 11:46
@newhoggy newhoggy added this pull request to the merge queue May 23, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 23, 2025
@newhoggy newhoggy added this pull request to the merge queue May 23, 2025
Merged via the queue into master with commit 2cbf6ba May 23, 2025
25 checks passed
@newhoggy newhoggy deleted the newhoggy/more-yaml-outputs branch May 23, 2025 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants