Skip to content

Commit

Permalink
up daml SDK to 1.18.1 (#468)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgraham-da committed Feb 10, 2022
1 parent 78e4b7d commit 2d89535
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion daml.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sdk-version: 1.12.0
sdk-version: 1.18.1
name: da-marketplace
source: daml
init-script: Setup:setup
Expand Down
4 changes: 2 additions & 2 deletions daml/DA/Finance/Utils.daml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion triggers/daml.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sdk-version: 1.12.0
sdk-version: 1.18.1
name: da-marketplace-triggers
source: daml
parties:
Expand Down
6 changes: 3 additions & 3 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 2d89535

Please sign in to comment.