-
Notifications
You must be signed in to change notification settings - Fork 205
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
Engine: Remove optionality of contract ID Seeding. #5966
Conversation
CHANGELOG_BEGIN CHANGELOG_END
6ec6ea4
to
4bceaf7
Compare
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.
This is my kind of pull request.
...-lf/interpreter/src/main/scala/com/digitalasset/daml/lf/transaction/PartialTransaction.scala
Outdated
Show resolved
Hide resolved
...-lf/interpreter/src/main/scala/com/digitalasset/daml/lf/transaction/PartialTransaction.scala
Outdated
Show resolved
Hide resolved
...f/transaction-scalacheck/src/main/scala/com/digitalasset/daml/lf/value/ValueGenerators.scala
Outdated
Show resolved
Hide resolved
...f/transaction-scalacheck/src/main/scala/com/digitalasset/daml/lf/value/ValueGenerators.scala
Outdated
Show resolved
Hide resolved
Co-authored-by: Samir Talwar <samir.talwar@digitalasset.com>
da04792
to
1c31fcd
Compare
@@ -1380,6 +1371,9 @@ class EngineTest extends WordSpec with Matchers with EitherValues with BazelRunf | |||
"fetching contracts that have keys correctly fills in the transaction structure" when { | |||
val fetchedCid = toContractId("#1") | |||
val now = Time.Timestamp.now() | |||
val submissionSeed = crypto.Hash.hashPrivateKey( | |||
"fetching contracts that have keys correctly fills in the transaction structur") |
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.
...transaction structure
@@ -388,13 +388,15 @@ object Value extends CidContainer1WithDefaultCidResolver[Value] { | |||
} | |||
|
|||
object V1 { | |||
val maxSuffixLength = 94 |
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.
I'm just wondering: from where does that magic number come from? If you would like to follow the Scala style guide this constant should be MaxSuffixLength
.
CHANGELOG_BEGIN CHANGELOG_END
CHANGELOG_BEGIN CHANGELOG_END
CHANGELOG_BEGIN CHANGELOG_END
Pull Request Checklist
CHANGELOG_BEGIN
andCHANGELOG_END
tagsNOTE: CI is not automatically run on non-members pull-requests for security
reasons. The reviewer will have to comment with
/AzurePipelines run
totrigger the build.