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

Display Shelley migrations in Api doc #1687

Merged
merged 2 commits into from
May 26, 2020

Conversation

piotr-iohk
Copy link
Contributor

@piotr-iohk piotr-iohk commented May 26, 2020

Issue Number

#1675

Overview

  • 1867266
    Display Shelley migrations in swagger spec.

  • 508e41b
    Reword migration description according to review suggestions

Comments

Shelley migrations, although included in swagger.yaml, were not being displayed in the API doc. This pr fixes this. Also includes minor rewording of the migration endpoints descriptions.

Screenshot from 2020-05-26 16-38-13

@piotr-iohk piotr-iohk added the RESOLVING ISSUE Mark a PR as resolving issues, for auto-generated CHANGELOG label May 26, 2020
@piotr-iohk piotr-iohk requested a review from paweljakubas May 26, 2020 14:39
@piotr-iohk piotr-iohk self-assigned this May 26, 2020
@@ -1660,6 +1660,7 @@ x-tagGroups:
- Addresses
- Coin Selections
- Transactions
- Migrations
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Shelley migrations were not displayed in api doc because of this 👆


Migrate all funds from a Shelley wallet to a specified set of addresses.
Create one or several transactions sending all funds from a Shelley wallet to set of addresses.
This operation tries to preserve as much as possible the current UTxO shape of a wallet (hence
why several transactions may be needed).
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder whether word why is needed here 🤔 @rvl / @jonathanknowles could you voice your opinion?

Copy link
Contributor

Choose a reason for hiding this comment

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

How about this

Submit one or more transactions which transfers all funds from a Shelley wallet to a set of addresses.
This operation attempts to preserve the UTxO "shape" of a wallet as far as possible. That is, coins will not be agglomerated.
Therefore, if the wallet has a large UTxO set, several transactions may be needed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Reworded in 508e41b.

@piotr-iohk
Copy link
Contributor Author

bors r+

@iohk-bors
Copy link
Contributor

iohk-bors bot commented May 26, 2020

@iohk-bors iohk-bors bot merged commit d4d1a62 into master May 26, 2020
@iohk-bors iohk-bors bot deleted the piotr/fix_migration_shelley_spec branch May 26, 2020 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RESOLVING ISSUE Mark a PR as resolving issues, for auto-generated CHANGELOG
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants