-
Notifications
You must be signed in to change notification settings - Fork 217
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
(ADP-257) Add Shelley migration endpoints and Byron (haskell impl) support of migrateWallet #1675
Comments
When reviewing #1658 I noticed that the current migration endpoints are actually associated with a |
1678: Migration endpoints for shelley and cardano-node's byron support r=paweljakubas a=paweljakubas # Issue Number <!-- Put here a reference to the issue this PR relates to and which requirements it tackles --> #1675 # Overview <!-- Detail in a few bullet points the work accomplished in this PR --> - [x] I have make ApiWalletMigrationPostData more flexible - [x] I have added ShelleyMigration to API enpoints - [x] I have added unit tests for the changed ApiWalletMigrationPostData - [x] I have added integration tests to cardano-node's byron suite # Comments <!-- Don't forget to: ✓ Self-review your changes to make sure nothing unexpected slipped through ✓ Assign yourself to the PR ✓ Assign one or several reviewer(s) ✓ Once created, link this PR to its corresponding ticket ✓ Assign the PR to a corresponding milestone ✓ Acknowledge any changes required to the Wiki --> Co-authored-by: Pawel Jakubas <[email protected]> Co-authored-by: Rodney Lorrimar <[email protected]>
1687: Display Shelley migrations in Api doc r=piotr-iohk a=piotr-iohk # 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](https://input-output-hk.github.io/cardano-wallet/api/edge/). This pr fixes this. Also includes minor rewording of the migration endpoints descriptions. ![Screenshot from 2020-05-26 16-38-13](https://user-images.githubusercontent.com/42900201/82914129-6c934b00-9f6f-11ea-91e3-d92d336498f5.png) Co-authored-by: Piotr Stachyra <[email protected]>
I'll leave it in QA for now because Shelley migrations are not quite testable currently without transactions. |
I encounter a Steps to reproduce:
In the wallet.log there is:
Byron wallet on F&F testnet with funds to reproduce ->
|
Shelley migrations are also lacking any integration tests at this moment. |
1739: Migration tests clean up r=piotr-iohk a=piotr-iohk # Issue Number #1675 # Overview - 78a6a1c Extract Migrations for byron to separate scenario file - 64a0416 Extract Migration tests for byron in core-integration - 96bd585 Migration tests for Shelley - 90853c3 Remove `pending` from byron migration tests - 5e2f26c Make `SHELLEY_MIGRATE_01_big_wallet` test pending due to issue #1751 - 5c25b01 - Add ByronWallets tests to Shelley integration suite. - Make `Todo comment` which tests to enable when Byron addresses/transactions are supported on the cardano-node. - temporarily move BYRON_RESTORE special cases involving restoring 'funky' ledger and icarus wallets to Transactions so we can run ByronWallet tests on Shelley integration suite # Comments Attempting to "clean-up" migration tests and add migration tests for Shelley and Byron. ~I have added some byron (random + icarus) wallets into genesis.yaml, but... It doesn't really work, node crashes... 🤔~ ... because they are not supported yet. Co-authored-by: Piotr Stachyra <[email protected]>
For the record this is still the case on cardano-node |
@piotr-iohk we can't yet do transactions from Byron addresses. We need to acknowledge for Byron witnesses in transactions, which only landed recently on cardano-node. We can keep this ticket open perhaps until we solve this. |
@piotr-iohk now this can be re-looked |
this one is in QA #1844 and related |
lgtm, closing. Migration tests enabled in #1900. |
1900: Testing byron txs and migrations in Shelley r=piotr-iohk a=piotr-iohk # Issue Number #1844, #1675 # Overview - 66e5151 Enable more integration tests for byron transactions, migrations, addresses and HW wallets in shelley - d773d95 Add some special Byron and Icarus wallets to genesis for testing migration scenarios - 834923e Use regular HSpec.it for tests that use explicit/special mnemonics, otherwise in case they fail, on repeat there will be a 409 as such wallet would exist - 18d1c34 Don't run Byron tx test on Jormungandr # Comments <!-- Additional comments or screenshots to attach if any --> <!-- Don't forget to: ✓ Self-review your changes to make sure nothing unexpected slipped through ✓ Assign yourself to the PR ✓ Assign one or several reviewer(s) ✓ Once created, link this PR to its corresponding ticket ✓ Assign the PR to a corresponding milestone ✓ Acknowledge any changes required to the Wiki --> Co-authored-by: Piotr Stachyra <[email protected]>
1900: Testing byron txs and migrations in Shelley r=piotr-iohk a=piotr-iohk # Issue Number #1844, #1675 # Overview - 66e5151 Enable more integration tests for byron transactions, migrations, addresses and HW wallets in shelley - d773d95 Add some special Byron and Icarus wallets to genesis for testing migration scenarios - 834923e Use regular HSpec.it for tests that use explicit/special mnemonics, otherwise in case they fail, on repeat there will be a 409 as such wallet would exist - 18d1c34 Don't run Byron tx test on Jormungandr # Comments <!-- Additional comments or screenshots to attach if any --> <!-- Don't forget to: ✓ Self-review your changes to make sure nothing unexpected slipped through ✓ Assign yourself to the PR ✓ Assign one or several reviewer(s) ✓ Once created, link this PR to its corresponding ticket ✓ Assign the PR to a corresponding milestone ✓ Acknowledge any changes required to the Wiki --> Co-authored-by: Piotr Stachyra <[email protected]>
1900: Testing byron txs and migrations in Shelley r=rvl a=piotr-iohk # Issue Number #1844, #1675 # Overview - 66e5151 Enable more integration tests for byron transactions, migrations, addresses and HW wallets in shelley - d773d95 Add some special Byron and Icarus wallets to genesis for testing migration scenarios - 834923e Use regular HSpec.it for tests that use explicit/special mnemonics, otherwise in case they fail, on repeat there will be a 409 as such wallet would exist - 18d1c34 Don't run Byron tx test on Jormungandr # Comments <!-- Additional comments or screenshots to attach if any --> <!-- Don't forget to: ✓ Self-review your changes to make sure nothing unexpected slipped through ✓ Assign yourself to the PR ✓ Assign one or several reviewer(s) ✓ Once created, link this PR to its corresponding ticket ✓ Assign the PR to a corresponding milestone ✓ Acknowledge any changes required to the Wiki --> Co-authored-by: Piotr Stachyra <[email protected]>
1900: Testing byron txs and migrations in Shelley r=piotr-iohk a=piotr-iohk # Issue Number #1844, #1675 # Overview - 66e5151 Enable more integration tests for byron transactions, migrations, addresses and HW wallets in shelley - d773d95 Add some special Byron and Icarus wallets to genesis for testing migration scenarios - 834923e Use regular HSpec.it for tests that use explicit/special mnemonics, otherwise in case they fail, on repeat there will be a 409 as such wallet would exist - 18d1c34 Don't run Byron tx test on Jormungandr # Comments <!-- Additional comments or screenshots to attach if any --> <!-- Don't forget to: ✓ Self-review your changes to make sure nothing unexpected slipped through ✓ Assign yourself to the PR ✓ Assign one or several reviewer(s) ✓ Once created, link this PR to its corresponding ticket ✓ Assign the PR to a corresponding milestone ✓ Acknowledge any changes required to the Wiki --> Co-authored-by: Piotr Stachyra <[email protected]>
1900: Testing byron txs and migrations in Shelley r=piotr-iohk a=piotr-iohk # Issue Number #1844, #1675 # Overview - 66e5151 Enable more integration tests for byron transactions, migrations, addresses and HW wallets in shelley - d773d95 Add some special Byron and Icarus wallets to genesis for testing migration scenarios - 834923e Use regular HSpec.it for tests that use explicit/special mnemonics, otherwise in case they fail, on repeat there will be a 409 as such wallet would exist - 18d1c34 Don't run Byron tx test on Jormungandr # Comments <!-- Additional comments or screenshots to attach if any --> <!-- Don't forget to: ✓ Self-review your changes to make sure nothing unexpected slipped through ✓ Assign yourself to the PR ✓ Assign one or several reviewer(s) ✓ Once created, link this PR to its corresponding ticket ✓ Assign the PR to a corresponding milestone ✓ Acknowledge any changes required to the Wiki --> Co-authored-by: Piotr Stachyra <[email protected]>
1900: Testing byron txs and migrations in Shelley r=piotr-iohk a=piotr-iohk # Issue Number #1844, #1675 # Overview - 66e5151 Enable more integration tests for byron transactions, migrations, addresses and HW wallets in shelley - d773d95 Add some special Byron and Icarus wallets to genesis for testing migration scenarios - 834923e Use regular HSpec.it for tests that use explicit/special mnemonics, otherwise in case they fail, on repeat there will be a 409 as such wallet would exist - 18d1c34 Don't run Byron tx test on Jormungandr # Comments <!-- Additional comments or screenshots to attach if any --> <!-- Don't forget to: ✓ Self-review your changes to make sure nothing unexpected slipped through ✓ Assign yourself to the PR ✓ Assign one or several reviewer(s) ✓ Once created, link this PR to its corresponding ticket ✓ Assign the PR to a corresponding milestone ✓ Acknowledge any changes required to the Wiki --> Co-authored-by: Piotr Stachyra <[email protected]>
1900: Testing byron txs and migrations in Shelley r=piotr-iohk a=piotr-iohk # Issue Number #1844, #1675 # Overview - 66e5151 Enable more integration tests for byron transactions, migrations, addresses and HW wallets in shelley - d773d95 Add some special Byron and Icarus wallets to genesis for testing migration scenarios - 834923e Use regular HSpec.it for tests that use explicit/special mnemonics, otherwise in case they fail, on repeat there will be a 409 as such wallet would exist - 18d1c34 Don't run Byron tx test on Jormungandr # Comments <!-- Additional comments or screenshots to attach if any --> <!-- Don't forget to: ✓ Self-review your changes to make sure nothing unexpected slipped through ✓ Assign yourself to the PR ✓ Assign one or several reviewer(s) ✓ Once created, link this PR to its corresponding ticket ✓ Assign the PR to a corresponding milestone ✓ Acknowledge any changes required to the Wiki --> Co-authored-by: Piotr Stachyra <[email protected]>
1900: Testing byron txs and migrations in Shelley r=piotr-iohk a=piotr-iohk # Issue Number #1844, #1675 # Overview - 66e5151 Enable more integration tests for byron transactions, migrations, addresses and HW wallets in shelley - d773d95 Add some special Byron and Icarus wallets to genesis for testing migration scenarios - 834923e Use regular HSpec.it for tests that use explicit/special mnemonics, otherwise in case they fail, on repeat there will be a 409 as such wallet would exist - 18d1c34 Don't run Byron tx test on Jormungandr # Comments <!-- Additional comments or screenshots to attach if any --> <!-- Don't forget to: ✓ Self-review your changes to make sure nothing unexpected slipped through ✓ Assign yourself to the PR ✓ Assign one or several reviewer(s) ✓ Once created, link this PR to its corresponding ticket ✓ Assign the PR to a corresponding milestone ✓ Acknowledge any changes required to the Wiki --> Co-authored-by: Piotr Stachyra <[email protected]>
1900: Testing byron txs and migrations in Shelley r=piotr-iohk a=piotr-iohk # Issue Number #1844, #1675 # Overview - 66e5151 Enable more integration tests for byron transactions, migrations, addresses and HW wallets in shelley - d773d95 Add some special Byron and Icarus wallets to genesis for testing migration scenarios - 834923e Use regular HSpec.it for tests that use explicit/special mnemonics, otherwise in case they fail, on repeat there will be a 409 as such wallet would exist - 18d1c34 Don't run Byron tx test on Jormungandr # Comments <!-- Additional comments or screenshots to attach if any --> <!-- Don't forget to: ✓ Self-review your changes to make sure nothing unexpected slipped through ✓ Assign yourself to the PR ✓ Assign one or several reviewer(s) ✓ Once created, link this PR to its corresponding ticket ✓ Assign the PR to a corresponding milestone ✓ Acknowledge any changes required to the Wiki --> Co-authored-by: Piotr Stachyra <[email protected]>
Context
As an API Client,
I want to be able to empty a wallet and send all funds to a list of addresses,
So that I can easily move funds around and have the wallet dealing with fees for me.
Decision
We are adding migration endpoints as done in #1658 in Shelley
Acceptance Criteria
Comment: as transaction are not available for shelley we cannot check it at this moment in integration test mode.
Development
QA
TransactionLayer
#1673 - so it would be worth testing this (maybe copy integration tests from byron lib concerning migration)The text was updated successfully, but these errors were encountered: