-
Notifications
You must be signed in to change notification settings - Fork 23
Update to new cardano-api's modules structure. Replace usage of parital IsString with parsers
#1202
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
carbolymer
merged 4 commits into
master
from
mgalazyn/refactor/remove-partial-instances
Jun 11, 2025
Merged
Update to new cardano-api's modules structure. Replace usage of parital IsString with parsers
#1202
carbolymer
merged 4 commits into
master
from
mgalazyn/refactor/remove-partial-instances
Jun 11, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4b4b148 to
4054443
Compare
8eaf886 to
288f3a3
Compare
9 tasks
cardano-api modules' structure. Remove partial instances
cardano-api modules' structure. Remove partial instancescardano-api's modules structure. Remove partial instances
288f3a3 to
ad0d71b
Compare
cardano-api's modules structure. Remove partial instancescardano-api's modules structure. Replace usage of parital IsString with parsers
a0088b8 to
108ed6a
Compare
feb7551 to
d751e82
Compare
Previously help texts were generated by forcing an invalid usage. Now `--help` flag is used for that purpose.
d751e82 to
5b04582
Compare
Jimbo4350
reviewed
Jun 11, 2025
...no-cli/test/cardano-cli-golden/files/golden/help/conway_query_tx-mempool_tx-exists_TX_ID.cli
Outdated
Show resolved
Hide resolved
cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tx-mempool_next-tx.cli
Show resolved
Hide resolved
| Missing: (--mainnet | --testnet-magic NATURAL) --socket-path SOCKET_PATH | ||
| Usage: cardano-cli query tx-mempool info | ||
|
|
||
| Usage: cardano-cli query tx-mempool [--cardano-mode [--epoch-slots SLOTS]] |
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here regarding losing test coverage.
| Usage: cardano-cli query tx-mempool next-tx | ||
|
|
||
| Usage: cardano-cli query tx-mempool [--cardano-mode [--epoch-slots SLOTS]] | ||
| (--mainnet | --testnet-magic NATURAL) |
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here regarding losing test coverage.
Jimbo4350
approved these changes
Jun 11, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changelog
Context
Integrates changes from:
Changes how we test help texts: instead of inducing a failure by invalid command usage, we now use
--helptoggle for the help text. Help text test will fail if the parsing results in an error.Checklist