Skip to content

Commit

Permalink
fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbrauner-da committed Oct 18, 2024
1 parent 6fbfc5f commit fc00e2c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1166,7 +1166,7 @@ class ExceptionTest(majorLanguageVersion: LanguageMajorVersion)

s"exceptions thrown by ${test.templateName} cannot be caught when exercising a choice by interface" in {
val alice = Ref.Party.assertFromString("Alice")
val cid = Value.ContractId.V1(Hash.hashPrivateKey("abc"))
val cid = Value.ContractId.V1(crypto.Hash.hashPrivateKey("abc"))

inside {
runUpdateApp(
Expand All @@ -1180,7 +1180,7 @@ class ExceptionTest(majorLanguageVersion: LanguageMajorVersion)
cid -> Versioned(
version = TransactionVersion.StableVersions.max,
Value.ContractInstance(
packageName = metadataTestsPkg.metadata.map(_.name),
packageName = metadataTestsPkg.pkgName,
template = t"Mod:${test.templateName}" (templateDefsV1ParserParams)
.asInstanceOf[Ast.TTyCon]
.tycon,
Expand Down

0 comments on commit fc00e2c

Please sign in to comment.