-
-
Notifications
You must be signed in to change notification settings - Fork 311
feat(connect): Cardano Conway certificates and tagged sets #10742
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
feat(connect): Cardano Conway certificates and tagged sets #10742
Conversation
hello, we will focus this PR once fw is merged |
Hi, the corresponding fw PR has been merged. What are the next steps? Should I rebase? (A similar situation will probably follow with message signing fw PR and Connect PR by the way.) |
yes, please rebase everything and we will take a look. |
or maybe a wait a moment until this is merged to avoid conflicts |
I see that the version check ( |
@mroz22 Maybe we should revert |
@davidmisiak So please add |
I re-added the structure for checking feature support in #12555 |
28c615e
to
0d89e41
Compare
Rebased, and hopefully everything resolved correctly. Sadly, I somehow cannot make the integration tests to run - is this something expected or is there something wrong on my side? I'm doing |
but we will happily run them in CI |
Any updates please? |
@@ -36,6 +36,7 @@ const result = await TrezorConnect.cardanoSignTransaction(params); | |||
- `derivationType` — _optional_ `CardanoDerivationType` enum. Determines used derivation type. Default is set to ICARUS_TREZOR=2. | |||
- `includeNetworkId` — _optional_ `Boolean`. Determines whether `networkId` should be explicitly serialized into the transaction body. Default is `false`. | |||
- `chunkify` — _optional_ `boolean` determines if recipient address will be displayed in chunks of 4 characters. Default is set to `false` | |||
- `tagCborSets` - _optional_ `boolean` determines if CBOR arrays intended to be sets will be encoded with tag 258. Default is set to `false` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you please add this also to https://github.com/trezor/trezor-suite/blob/develop/packages/connect-explorer/src/pages/methods/cardano/cardanoSignTransaction.mdx#L0-L1 ?
also I wouldn't mind if you checked whether the mdx file isn't missing anything substantial
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added, also rebased. I believe nothing is missing from the file now.
0d89e41
to
fd92a5c
Compare
Cardano Conway-era certificates and tagged CBOR sets
Update with select Cardano Conway features:
Related Issue
trezor/trezor-firmware#3496
Resources
https://github.com/IntersectMBO/cardano-ledger/blob/master/eras/conway/impl/cddl-files/conway.cddl
https://github.com/cardano-foundation/CIPs/tree/master/CIP-0005
https://github.com/cardano-foundation/CIPs/tree/master/CIP-1694
https://sancho.network/tools-resources/faq/#4-certificate-and-transaction-field-witnesses-and-deposits