I just created my first DAML project and wrote a basic template. When I try to test it, getting following error: damlc: user error (Failed to start scenario service: BErrorClient (ClientIOError (GRPCIOBadStatusCode StatusUnknown (StatusDetails {unStatusDetails = "Stream removed"}))))
Below is my daml code (template)
module Rent where
template RentalAgreement
with
landlord : Party
tenant : Party
terms : Text
where
signatory landlord
rentTest = scenario do
p1 <- getParty "party 1"
p2 <- getParty "party 2"
submit p1 do
create RentalAgreement
with
landlord = p1; tenant = p2; terms = "sample"
assert True
daml build command is successful.
Compiling first-daml to a DAR.
Created .daml\dist\first-daml-0.0.1.dar
daml test command is failed.
damlc: user error (Failed to start scenario service: BErrorClient (ClientIOError (GRPCIOBadStatusCode StatusUnknown (StatusDetails {unStatusDetails = "Stream removed"}))))