Skip to content

Commit

Permalink
Rename DA.CCTP to the more accurate DA.Crypto module (#20789)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlpulley-da authored Feb 18, 2025
1 parent 096f0fa commit d1c09c2
Show file tree
Hide file tree
Showing 7 changed files with 77 additions and 75 deletions.
2 changes: 1 addition & 1 deletion sdk/compiler/damlc/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ daml_doc_test(
],
ignored_srcs = [
"DA/Action/State/Type.daml",
"DA/CCTP.daml",
"DA/Crypto.daml",
"DA/Experimental/*.daml",
"DA/TextMap.daml",
"DA/Time/Types.daml",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@

{-# LANGUAGE CPP #-}

-- | Functions for working with CCTP.
module DA.CCTP
-- | Functions for working with Crypto builtins.
-- For example, as used to implement CCTP functionality.
module DA.Crypto
(keccak256
, secp256k1
, BytesHex
Expand Down
2 changes: 1 addition & 1 deletion sdk/compiler/damlc/daml-stdlib-src/LibraryModules.daml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import DA.Assert
import DA.BigNumeric
import DA.Bifunctor
#ifdef DAML_CCTP
import DA.CCTP
import DA.Crypto
#endif
import DA.Date
import DA.Either
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
module CCTPMintToken where

import DA.Assert ((===))
import DA.CCTP
import DA.Crypto
import Daml.Script

data BurnMessage = BurnMessage with
Expand Down
69 changes: 0 additions & 69 deletions sdk/docs/sharable/daml/stdlib/DA-CCTP.rst

This file was deleted.

70 changes: 70 additions & 0 deletions sdk/docs/sharable/daml/stdlib/DA-Crypto.rst

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/docs/sharable/daml/stdlib/index.rst

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d1c09c2

Please sign in to comment.