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

cardano-node: 1.19.1-patched -> 1.20.0 #2142

Merged
merged 9 commits into from Sep 21, 2020
Merged

Conversation

rvl
Copy link
Contributor

@rvl rvl commented Sep 16, 2020

Issue Number

ADP-307 / #2098

Overview

Updates cardano-node to 1.20.0

There are quite a few upstream API changes.

Snapshot PR is input-output-hk/cardano-haskell#28.

@rvl rvl added the IMPROVEMENT Mark a PR as an improvement, for auto-generated CHANGELOG label Sep 16, 2020
@rvl rvl added this to the (ADP-307) Transaction metadata milestone Sep 16, 2020
@rvl rvl self-assigned this Sep 16, 2020
@rvl rvl added this to In Progress in Adrestia Sep 16, 2020
@Anviking Anviking mentioned this pull request Sep 16, 2020
3 tasks
@rvl rvl changed the title Bump cardano-node revision cardano-node: 1.19.1-patched -> 1.20.0 Sep 17, 2020
@rvl rvl marked this pull request as ready for review September 17, 2020 05:57
@rvl
Copy link
Contributor Author

rvl commented Sep 17, 2020

bors try

iohk-bors bot added a commit that referenced this pull request Sep 17, 2020
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Sep 17, 2020

try

Build failed:

Copy link
Collaborator

@Anviking Anviking left a comment

Choose a reason for hiding this comment

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

lgtm.

Seems like swagger<->json tests are failing

@@ -1398,18 +1398,59 @@ components:
passphrase: *lenientPassphrase
address_index: *addressIndex

TransactionMetadatum: &TransactionMetadatum
TransactionMetadataValue: &TransactionMetadataValue
Copy link
Member

Choose a reason for hiding this comment

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

We need to confirm this with @AlexIOHK . In theory, 1.20.0 supports both approaches for metadata, the one we currently use with direct JSON conversion, and this one that is more of a JSON description of the metadata.

I'd have preferred going for the JSON description initially, but we had to get partners started with something and went for the direct JSON conversion which was ready. If we change that, it'll break existing integrations (although that is rather trivially fixed).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK I have changed the API to use the "no schema" mapping from cardano-api. I think it's the same as before. The PR for changing to the detailed schema is #2147.

@rvl
Copy link
Contributor Author

rvl commented Sep 21, 2020

bors r+

iohk-bors bot added a commit that referenced this pull request Sep 21, 2020
2142: cardano-node: 1.19.1-patched -> 1.20.0 r=rvl a=rvl

### Issue Number

ADP-307 / #2098

### Overview

Updates cardano-node to [1.20.0](https://github.com/input-output-hk/cardano-node/releases/tag/1.20.0)

There are quite a few upstream API changes.

Snapshot PR is input-output-hk/cardano-haskell#28.


Co-authored-by: Rodney Lorrimar <rodney.lorrimar@iohk.io>
@rvl
Copy link
Contributor Author

rvl commented Sep 21, 2020

bors r-

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Sep 21, 2020

Canceled.

@rvl
Copy link
Contributor Author

rvl commented Sep 21, 2020

bors r+

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Sep 21, 2020

Build succeeded:

@iohk-bors iohk-bors bot merged commit 4373014 into master Sep 21, 2020
@iohk-bors iohk-bors bot deleted the rvl/2098/json-metadata branch September 21, 2020 03:15
iohk-bors bot added a commit that referenced this pull request Sep 21, 2020
2147: Use JSON "detailed schema" for API TxMetadata r=KtorZ a=rvl

### Issue Number

ADP-307 / #2073 

### Overview

Changes the API to use the "detailed" JSON schema for transaction metadata.

With this scheme, API users will always see exactly the same JSON in the transaction history and cardano explorer as what they submitted with the transaction.

### Comments

We may wish to support both formats in the API.

This PR is based on the branch of #2142.

Co-authored-by: Rodney Lorrimar <rodney.lorrimar@iohk.io>
@piotr-iohk piotr-iohk moved this from In Progress to Closed in Adrestia Oct 6, 2020
@CharlesMorgan-IOHK CharlesMorgan-IOHK removed this from Closed in Adrestia Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IMPROVEMENT Mark a PR as an improvement, for auto-generated CHANGELOG
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants