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

Output as ledger compliant CDDL flag #3505

Merged
merged 6 commits into from
Jan 27, 2022
Merged

Output as ledger compliant CDDL flag #3505

merged 6 commits into from
Jan 27, 2022

Conversation

Jimbo4350
Copy link
Contributor

@Jimbo4350 Jimbo4350 commented Jan 18, 2022

We implement an alternative cardano-ledger CDDL compliant serialization for the cli. The plan is to eventually deprecate the cli's intermediate format and to fully embrace the ledger's CDDL spec.

There is now an optional --cddl-format flag in the build and build-raw commands that serialize the txbody as a key unwitnessed transaction. Any script witnesses specified at this stage are included in the witness set.

Resolves #3370, #3544

@Jimbo4350
Copy link
Contributor Author

bors r+

@Jimbo4350
Copy link
Contributor Author

bors cancel

iohk-bors bot added a commit that referenced this pull request Jan 27, 2022
3505: Output as ledger compliant CDDL flag r=Jimbo4350 a=Jimbo4350

We implement an alternative `cardano-ledger` CDDL compliant serialization for the cli. The plan is to eventually deprecate the cli's intermediate format and to fully embrace the ledger's CDDL spec. 

There is now an optional `--cddl-format` flag in the `build` and `build-raw` commands that serialize the txbody as a **key** unwitnessed transaction. Any script witnesses specified at this stage are included in the witness set.

Resolves #3370 

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

iohk-bors bot commented Jan 27, 2022

Canceled.

@Jimbo4350
Copy link
Contributor Author

bors r+

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Jan 27, 2022

Build succeeded:

@iohk-bors iohk-bors bot merged commit edbfdc0 into master Jan 27, 2022
@iohk-bors iohk-bors bot deleted the jordan/output-cddl branch January 27, 2022 17:51
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.

[BUG] - Cardano-cli creates transactions with witness-set as an array, not a map - this is invalid.
2 participants