diff --git a/daml.yaml b/daml.yaml index a60bde19..c49327af 100644 --- a/daml.yaml +++ b/daml.yaml @@ -1,4 +1,4 @@ -sdk-version: 1.12.0 +sdk-version: 1.18.1 name: da-marketplace source: daml init-script: Setup:setup diff --git a/daml/DA/Finance/Utils.daml b/daml/DA/Finance/Utils.daml index c1d18310..87431353 100644 --- a/daml/DA/Finance/Utils.daml +++ b/daml/DA/Finance/Utils.daml @@ -41,13 +41,13 @@ fetchAndArchive cid = do return c -- | Checks that the ledger time is on or after the provided date. -assertOnOrAfterDateMsg : (CanAbort m, HasTime m) => Text -> Date -> m () +assertOnOrAfterDateMsg : (CanAssert m, CanAbort m, HasTime m) => Text -> Date -> m () assertOnOrAfterDateMsg msg date = do now <- getTime assertMsg msg $ date <= toDateUTC now -- | Checks that the ledger time is on or after the provided date. -assertOnOrAfterMsg : (CanAbort m, HasTime m) => Text -> Time -> m () +assertOnOrAfterMsg : (CanAssert m, CanAbort m, HasTime m) => Text -> Time -> m () assertOnOrAfterMsg msg time = do now <- getTime assertMsg msg $ time <= now diff --git a/triggers/daml.yaml b/triggers/daml.yaml index fdda4e18..23753ebb 100644 --- a/triggers/daml.yaml +++ b/triggers/daml.yaml @@ -1,4 +1,4 @@ -sdk-version: 1.12.0 +sdk-version: 1.18.1 name: da-marketplace-triggers source: daml parties: diff --git a/ui/package.json b/ui/package.json index 8f61f61a..ae336ab3 100644 --- a/ui/package.json +++ b/ui/package.json @@ -5,9 +5,9 @@ "dependencies": { "@daml.js/da-marketplace": "file:../daml.js/da-marketplace-0.1.22", "@daml/hub-react": "1.0.0-rc.4", - "@daml/ledger": "1.10.0", - "@daml/react": "1.10.0", - "@daml/types": "1.10.0", + "@daml/ledger": "1.18.1", + "@daml/react": "1.18.1", + "@daml/types": "1.18.1", "classnames": "^2.2.6", "dotenv": "^8.2.0", "jsonwebtoken": "^8.5.1",