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

Script data deserialisation fix and properties #3860

Closed
wants to merge 4 commits into from

Conversation

sorki
Copy link
Contributor

@sorki sorki commented May 13, 2022

  • Adds roundtrips for CBOR and JSON ScriptData encoding
  • Improves generator to generate large numbers (negative and outside of Word64 bound)
  • Fixes deserialisation of ScriptData containing large numbers that were failing a superfluous bounds check

sorki added 4 commits May 12, 2022 18:19
for `ScriptDataNumber` constructor including numbers outside
`maxBound @Word64`.
PlutusCore numbers are unbounded and this was only enforced
on deserialisation from JSON.

Also drops related `ScriptDataNumberOutOfRange` error.
@newhoggy
Copy link
Contributor

Replaced by #5002

@newhoggy
Copy link
Contributor

newhoggy commented Apr 2, 2023

Merged in other PR.

@newhoggy newhoggy closed this Apr 2, 2023
@newhoggy
Copy link
Contributor

newhoggy commented Apr 2, 2023

Thanks for the contribution!

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.

2 participants