feat(sdk-coin-ada): parse partially witnessed tx hex #3683
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
1. Txn builder's init method should parse partially witnessed txn hex and preserve signature
We will use it to parse the partially witnessed pledge txn hex from API users
2. Bump CSL version
Stale CSL fails to parse txn built by latest cardano-cli since cardano-cli does not follow the same conventions as CSL to serialize a CBOR txn. Bumping CSL version helps successful parsing of cardano-cli's serialization
Deserialization failed in Transaction.body.TransactionBody.outputs.TransactionOutputs.TransactionOutput because: Invalid cbor: not the right type, expected Array byte received Map.
3. Replace unit test raw txn hex with the ones generated by cardano-cli
4. Expose signatures in txn wrapper
Add signatures to our txn wrapper besides the native CSL txn to avoid confusing signature counts in txn wrapper
EA-621