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

Add and 'implement' "listByronTransactions" to the API #844

Merged
merged 1 commit into from
Oct 18, 2019

Conversation

KtorZ
Copy link
Member

@KtorZ KtorZ commented Oct 16, 2019

Issue Number

#779

Overview

  • I have added a GET /byron-wallets/{walletId}/transactions to get the list of transactions for a byron wallet
  • The implementation is actually the same as the one for sequential wallets, so we could consider testing done here 😅 ? @piotr-iohk ?

Comments

@KtorZ KtorZ self-assigned this Oct 16, 2019
@KtorZ KtorZ force-pushed the KtorZ/byron-list-transactions branch from a8d4807 to 3249615 Compare October 16, 2019 12:58
Copy link
Member

@jonathanknowles jonathanknowles left a comment

Choose a reason for hiding this comment

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

This looks good, aside from the plain-English description of the endpoint in the API specification, which I recommend revising.

specifications/api/swagger.yaml Outdated Show resolved Hide resolved
@KtorZ KtorZ force-pushed the KtorZ/review-swagger-hierarchy branch from 06cd335 to d9bcf54 Compare October 16, 2019 14:04
@piotr-iohk
Copy link
Contributor

piotr-iohk commented Oct 16, 2019

The implementation is actually the same as the one for sequential wallets, so we could consider testing done here sweat_smile ? @piotr-iohk ?

I don't think so! :)
Although I don't think we'd need to copy existing tests 1-1. Especially that we cannot do transactions on byron wallets...

Copy link
Contributor

@rvl rvl left a comment

Choose a reason for hiding this comment

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

LGTM

<p align="right">status: <strong>stable</strong></p>
responses: *responsesGetNetworkInformation

/proxy/transactions:
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm feeling lukewarm about the name "proxy" (conveys mechanism), but this is probably splitting hairs.

@KtorZ KtorZ force-pushed the KtorZ/byron-list-transactions branch from 3249615 to 2e7ab35 Compare October 17, 2019 22:15
@KtorZ KtorZ changed the base branch from KtorZ/review-swagger-hierarchy to master October 17, 2019 22:15
@KtorZ KtorZ force-pushed the KtorZ/byron-list-transactions branch 2 times, most recently from 0b01dfb to 6dd6729 Compare October 17, 2019 22:17
@KtorZ KtorZ dismissed jonathanknowles’s stale review October 17, 2019 22:18

Change done 👍

@KtorZ
Copy link
Member Author

KtorZ commented Oct 17, 2019

bors r+

iohk-bors bot added a commit that referenced this pull request Oct 17, 2019
838: Add --listen-address=127.0.0.1 option r=KtorZ a=rvl

Relates to #833 

# Overview

The host option follows the specification here: http://hackage.haskell.org/package/streaming-commons-0.2.1.0/docs/Data-Streaming-Network.html#t:HostPreference

# Comments

CLI client can still only connect to localhost.


844: Add and 'implement' "listByronTransactions" to the API r=KtorZ a=KtorZ

# Issue Number

<!-- Put here a reference to the issue this PR relates to and which requirements it tackles -->

#779

# Overview

<!-- Detail in a few bullet points the work accomplished in this PR -->

- [x] I have added a `GET /byron-wallets/{walletId}/transactions` to get the list of transactions for a byron wallet
- [x] The implementation is actually the same as the one for sequential wallets, so we could consider testing done here 😅 ? @piotr-iohk ?

# 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
 ✓ Acknowledge any changes required to the Wiki
-->


859: Relocate C.W.Jormungandr.BlockHeaders to C.W.Network.BlockHeaders r=KtorZ a=Anviking

# Issue Number

#711 


# Overview

- [x] Relocate Cardano.Wallet.Jormungandr.BlockHeaders to Cardano.Wallet.Network.BlockHeaders. `Cardano.Pool.Metrics` needs them!

# 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
 ✓ Acknowledge any changes required to the Wiki
-->


Co-authored-by: Rodney Lorrimar <[email protected]>
Co-authored-by: KtorZ <[email protected]>
Co-authored-by: Johannes Lund <[email protected]>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Oct 17, 2019

Build failed (retrying...)

iohk-bors bot added a commit that referenced this pull request Oct 17, 2019
844: Add and 'implement' "listByronTransactions" to the API r=KtorZ a=KtorZ

# Issue Number

<!-- Put here a reference to the issue this PR relates to and which requirements it tackles -->

#779

# Overview

<!-- Detail in a few bullet points the work accomplished in this PR -->

- [x] I have added a `GET /byron-wallets/{walletId}/transactions` to get the list of transactions for a byron wallet
- [x] The implementation is actually the same as the one for sequential wallets, so we could consider testing done here 😅 ? @piotr-iohk ?

# 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
 ✓ Acknowledge any changes required to the Wiki
-->


859: Relocate C.W.Jormungandr.BlockHeaders to C.W.Network.BlockHeaders r=KtorZ a=Anviking

# Issue Number

#711 


# Overview

- [x] Relocate Cardano.Wallet.Jormungandr.BlockHeaders to Cardano.Wallet.Network.BlockHeaders. `Cardano.Pool.Metrics` needs them!

# 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
 ✓ Acknowledge any changes required to the Wiki
-->


Co-authored-by: KtorZ <[email protected]>
Co-authored-by: Johannes Lund <[email protected]>
@KtorZ KtorZ force-pushed the KtorZ/byron-list-transactions branch from 6dd6729 to 89afe1a Compare October 17, 2019 22:43
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Oct 17, 2019

Canceled

@KtorZ
Copy link
Member Author

KtorZ commented Oct 17, 2019

bors r+

iohk-bors bot added a commit that referenced this pull request Oct 17, 2019
844: Add and 'implement' "listByronTransactions" to the API r=KtorZ a=KtorZ

# Issue Number

<!-- Put here a reference to the issue this PR relates to and which requirements it tackles -->

#779

# Overview

<!-- Detail in a few bullet points the work accomplished in this PR -->

- [x] I have added a `GET /byron-wallets/{walletId}/transactions` to get the list of transactions for a byron wallet
- [x] The implementation is actually the same as the one for sequential wallets, so we could consider testing done here 😅 ? @piotr-iohk ?

# 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
 ✓ Acknowledge any changes required to the Wiki
-->


859: Relocate C.W.Jormungandr.BlockHeaders to C.W.Network.BlockHeaders r=KtorZ a=Anviking

# Issue Number

#711 


# Overview

- [x] Relocate Cardano.Wallet.Jormungandr.BlockHeaders to Cardano.Wallet.Network.BlockHeaders. `Cardano.Pool.Metrics` needs them!

# 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
 ✓ Acknowledge any changes required to the Wiki
-->


Co-authored-by: KtorZ <[email protected]>
Co-authored-by: Johannes Lund <[email protected]>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Oct 17, 2019

Build failed (retrying...)

@KtorZ
Copy link
Member Author

KtorZ commented Oct 17, 2019

bors r+

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Oct 17, 2019

Already running a review

iohk-bors bot added a commit that referenced this pull request Oct 17, 2019
844: Add and 'implement' "listByronTransactions" to the API r=KtorZ a=KtorZ

# Issue Number

<!-- Put here a reference to the issue this PR relates to and which requirements it tackles -->

#779

# Overview

<!-- Detail in a few bullet points the work accomplished in this PR -->

- [x] I have added a `GET /byron-wallets/{walletId}/transactions` to get the list of transactions for a byron wallet
- [x] The implementation is actually the same as the one for sequential wallets, so we could consider testing done here 😅 ? @piotr-iohk ?

# 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
 ✓ Acknowledge any changes required to the Wiki
-->


Co-authored-by: KtorZ <[email protected]>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Oct 18, 2019

Build succeeded

@iohk-bors iohk-bors bot merged commit 89afe1a into master Oct 18, 2019
@KtorZ KtorZ deleted the KtorZ/byron-list-transactions branch October 18, 2019 00:24
@KtorZ KtorZ added this to the Byron Wallet Support milestone Nov 6, 2019
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.

4 participants