-
Notifications
You must be signed in to change notification settings - Fork 199
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
make LF 1.16 stable #19230
Conversation
@@ -291,7 +297,6 @@ class TransactionSpec | |||
val parties = Set("Alice") | |||
|
|||
def create(s: V.ContractId) = { | |||
println(s) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks
There was a problem hiding this 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), |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
57ae43e
to
e23efba
Compare
No description provided.