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

Restore lf value normalization #20791

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

paulbrauner-da
Copy link
Contributor

Restore #19989 which had been rolled back in #20171. The rollback PR was rolling back both value normalization and #20036 at the same time to fix an ACS import issue: https://github.com/DACH-NY/canton-network-node/issues/15640. However, only #20036 was responsible for the ACS import issue as far as I can tell, and #20171 alone should be safe.

Said otherwise, we're now normalizing (i.e. dropping trailing Nones) LF values produced by the engine, but we're not requiring that disclosures (or any input contract) should be normalized.

TODO: expand on what this fixes and the consequences

I had to amend the cherry-pick commit to accommodate changes that have been merged since, but only the test part. The normalization logic was merged without any conflict.

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