Hi team,
I’m trying to run a script which uses AllocatePartyWithHint in a Canton setup with one participant node.
Exception in thread "main" com.daml.lf.engine.script.ScriptF$FailedCmd: Command allocateParty failed: INTERNAL: java.lang.IllegalArgumentException: RecordTime not initialized with 'now' literal. Participant event: PartyAllocationRejected(
participantId = participant1::1220d9951e7e7fcc02eb88d45d1b3e41d363800b951fde5be3d8c32ed17b05f71f60,
recordTime = 2022-02-08T15:46:43.716928Z,
submissionId = MyParty-da1e0bf7-5085-419a-ae56-db8ebd0dacb3,
rejectionReason = "Failure(IdentityStateElement(
id = MyParty-da1e0bf7-5085-419a-ae56-db8ebd0dacb3,
mapping = PartyToParticipant(
side = Both,
party = MyParty::1220d9951e7e7fcc02eb88d45d1b3e41d363800b951fde5be3d8c32ed17b05f71f60,
participant = PAR::participant1::1220d9951e7e7fcc02eb88d45d1b3e41d363800b951fde5be3d8c32ed17b05f71f60,
permission = Submission
)
),1220d9951e7e7fcc02eb88d45d1b3e41d363800b951fde5be3d8c32ed17b05f71f60)"
)
Can you please advise ?
Jean-Paul