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

make LF 1.16 stable #19230

Merged
merged 8 commits into from
May 21, 2024
Merged

make LF 1.16 stable #19230

merged 8 commits into from
May 21, 2024

Conversation

remyhaemmerle-da
Copy link
Collaborator

No description provided.

@@ -291,7 +297,6 @@ class TransactionSpec
val parties = Set("Alice")

def create(s: V.ContractId) = {
println(s)
Copy link
Contributor

Choose a reason for hiding this comment

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

:)

Copy link
Contributor

@rgugliel-da rgugliel-da left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

Copy link
Contributor

@dylant-da dylant-da left a comment

Choose a reason for hiding this comment

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

A few questions, but overall looks good, thank you!

@@ -72,7 +74,7 @@ trait TestNodeBuilder {

Node.Create(
coid = id,
packageName = packageName.filter(_ => transactionVersion < TransactionVersion.minUpgrade),
packageName = packageName.filter(_ => transactionVersion >= TransactionVersion.minUpgrade),
Copy link
Contributor

Choose a reason for hiding this comment

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

Why did this comparator change to the exact opposite? Was there a bug in the original line?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It looks like a bug in the original code -- maybe a confusion between filter and filterNot.
packageName should be define when transactionVersion >= TransactionVersion.minUpgrade.
cc @simonmaxen-da

sdk/daml-lf/language/daml-lf.bzl Show resolved Hide resolved
@remyhaemmerle-da remyhaemmerle-da enabled auto-merge (squash) May 21, 2024 15:23
@remyhaemmerle-da remyhaemmerle-da merged commit a41848a into main-2.x May 21, 2024
17 checks passed
@remyhaemmerle-da remyhaemmerle-da deleted the remy-lf-1.16 branch May 21, 2024 16:19
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

3 participants