Skip to content

Commit

Permalink
default to preview mode in 'daml start' (#19403)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbrauner-da authored Jun 19, 2024
1 parent 80521fa commit 0cfddd3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sdk/daml-assistant/daml-helper/src/DA/Daml/Helper/Util.hs
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ cantonConfig CantonOptions{..} =
, [ "clock" Aeson..= Aeson.object
[ "type" Aeson..= ("sim-clock" :: T.Text) ]
| StaticTime True <- [cantonStaticTime] ]
, [ "dev-version-support" Aeson..= True]
, [ "preview-version-support" Aeson..= True]
, [ "non-standard-config" Aeson..= True]
] )
, "participants" Aeson..= Aeson.object
Expand All @@ -322,7 +322,7 @@ cantonConfig CantonOptions{..} =
, "user-management-service" Aeson..= Aeson.object [ "enabled" Aeson..= True ]
-- Can be dropped once user mgmt is enabled by default
]
, "parameters" Aeson..= Aeson.object [ "dev-version-support" Aeson..= True ]
, "parameters" Aeson..= Aeson.object [ "preview-version-support" Aeson..= True ]
] <>
[ "testing-time" Aeson..= Aeson.object [ "type" Aeson..= ("monotonic-time" :: T.Text) ]
| StaticTime True <- [cantonStaticTime]
Expand All @@ -336,7 +336,7 @@ cantonConfig CantonOptions{..} =
, "admin-api" Aeson..= port cantonDomainAdminApi
, "init" Aeson..= Aeson.object
[ "domain-parameters" Aeson..= Aeson.object
[ "protocol-version" Aeson..= ("dev" :: T.Text) ]
[ "protocol-version" Aeson..= ("6" :: T.Text) ]
]
]
]
Expand Down

0 comments on commit 0cfddd3

Please sign in to comment.