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

Parameterize Address Format #210

Merged
merged 3 commits into from
May 3, 2019
Merged

Conversation

KtorZ
Copy link
Member

@KtorZ KtorZ commented May 3, 2019

Issue Number

Overview

  • I have parameterized the wallet and address discovery over the address format such that it is no longer coupled to the binary representation of the address (since this changes with Shelley).

Comments

@KtorZ KtorZ requested a review from akegalj May 3, 2019 09:32
@KtorZ KtorZ self-assigned this May 3, 2019
@@ -66,6 +66,7 @@ library
exposed-modules:
Cardano.Environment
Cardano.Wallet
Cardano.Wallet.Compatibility
Copy link
Member Author

Choose a reason for hiding this comment

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

This is temporary, once all the necessary refactored are completed, I'll create a new package lib/http-bridge which will contain all the Byron http-bridge-specific code, leaving lib/core completely agnostic to the network binary format and state being used.

@KtorZ KtorZ merged commit 5afc2a2 into master May 3, 2019
@KtorZ KtorZ deleted the KtorZ/parameterize-address-format branch May 3, 2019 11:18
parsonsmatt added a commit to parsonsmatt/cardano-sl that referenced this pull request May 14, 2019
3995: Special case 404 errors with empty bodies r=KtorZ a=parsonsmatt

## Description

The PR adding `nextUpdate` testing to the cardano-wallet repo ([here](cardano-foundation/cardano-wallet#210)) demonstrated a bug in the way the Node client was handling 404 errors. As these typically don't have response bodies, it was failing them in a way that was really awkward to check.

This PR provides a special case that should make the program work better.

## Linked issue

<!--- Put here the relevant issue from YouTrack -->



Co-authored-by: parsonsmatt <[email protected]>
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.

2 participants