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-cli Plutus Datum JSON format support #357

Merged
merged 11 commits into from
Jul 29, 2022

Conversation

rooooooooob
Copy link
Contributor

@rooooooooob rooooooooob commented Feb 2, 2022

@rooooooooob rooooooooob marked this pull request as draft February 2, 2022 19:49
@@ -675,6 +675,7 @@ impl BigInt {
return None;
}
match u64_digits.len() {
0 => Some(to_bignum(0)),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

unrelated to this PR, this was just a bug similar to the issue we had for serializing 0 as BigInt before.

this commit is just for the detailed schema (but has some parts of the
basic/no-schema format) as I couldn't find test cases. Further commits
will be made once I can get some test cases.

Based on: https://github.com/input-output-hk/cardano-node/blob/c1efb2f97134c0607c982246a36e3da7266ac194/cardano-api/src/Cardano/Api/ScriptData.hs#L254
+ using `cardano-cli`.
@rooooooooob rooooooooob marked this pull request as ready for review February 3, 2022 23:58
@vsubhuman vsubhuman added this to the 10.1.0 milestone Feb 6, 2022
@vsubhuman
Copy link
Contributor

@lisicky : review and resolve conflicts plz

@vsubhuman vsubhuman modified the milestones: 10.1.0, 10.2.0 May 19, 2022
Copy link
Contributor

@lisicky lisicky left a comment

Choose a reason for hiding this comment

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

/check

Copy link
Contributor

@lisicky lisicky left a comment

Choose a reason for hiding this comment

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

/check

Copy link
Contributor

@lisicky lisicky left a comment

Choose a reason for hiding this comment

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

To reduce risk of conflicts, we need merge #345 before this PR

@lisicky lisicky changed the base branch from master to babbage June 22, 2022 12:27
Copy link
Contributor

@lisicky lisicky left a comment

Choose a reason for hiding this comment

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

/check

Copy link
Contributor

@lisicky lisicky left a comment

Choose a reason for hiding this comment

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

/check

Base automatically changed from babbage to master July 27, 2022 13:15
Copy link
Contributor

@lisicky lisicky left a comment

Choose a reason for hiding this comment

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

/check

Copy link
Contributor

@lisicky lisicky left a comment

Choose a reason for hiding this comment

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

/check

@vsubhuman vsubhuman merged commit 6fef812 into master Jul 29, 2022
@vsubhuman vsubhuman deleted the plutus-datum-json-support branch July 29, 2022 18:18
@vsubhuman vsubhuman mentioned this pull request Sep 29, 2022
14 tasks
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.

None yet

4 participants