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

Kwxm/specification/bitwise #6426

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open

Kwxm/specification/bitwise #6426

wants to merge 17 commits into from

Conversation

kwxm
Copy link
Contributor

@kwxm kwxm commented Aug 20, 2024

This adds the specifications of the new bytestring operations and rimpemd_160 to the PLC specification. Most of the new content is in Section 4.3.2 (in cardano/builtins-5.tex). I had to rearrange the notation a bit and also "improved" some of the LaTeX, which has added some changes that are irrelevant to the main purpose of the PR.

A PDF including the updates is attached (recent changes included).
plutus-core-specification.pdf

@kwxm kwxm added Specification Builtins No Changelog Required Add this to skip the Changelog Check labels Aug 20, 2024
@kwxm kwxm requested review from ramsay-t and zliu41 August 20, 2024 13:33
@kwxm
Copy link
Contributor Author

kwxm commented Aug 20, 2024

This fixes #6304 and #6394.

@kwxm
Copy link
Contributor Author

kwxm commented Aug 24, 2024

Oops. I totally messed up the specification of and/or/xorByteString. When the inputs have different lengths the padding/truncation happens on the right,not the left. I'll fix that.

@kwxm
Copy link
Contributor Author

kwxm commented Sep 10, 2024

The and/or/xor problem should be fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Builtins No Changelog Required Add this to skip the Changelog Check Specification
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant