-
Notifications
You must be signed in to change notification settings - Fork 220
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Summary This PR renames the `TokenName` type to `AssetName`, correcting a terminological inconsistency between `cardano-wallet` and the [Cardano Multi-Asset Ledger Specification](https://github.com/input-output-hk/cardano-ledger/releases/latest/download/mary-ledger.pdf). ## Details The [Cardano Multi-Asset Ledger Specification](https://github.com/input-output-hk/cardano-ledger/releases/latest/download/mary-ledger.pdf) uses the term `AssetName`: > ![mary-ledger-asset-name](https://github.com/cardano-foundation/cardano-wallet/assets/206319/988c61bc-dbb0-4f45-97e4-14fab3f6f839) The `cardano-wallet` HTTP REST API also uses the derived terms `assetName` and `asset_name`: > https://github.com/cardano-foundation/cardano-wallet/blob/85b7a721778ba0034b8eab3533de3b513cd9a937/specifications/api/swagger.yaml#L7165 > https://github.com/cardano-foundation/cardano-wallet/blob/85b7a721778ba0034b8eab3533de3b513cd9a937/specifications/api/swagger.yaml#L1028 However, the equivalent `cardano-wallet` Haskell type was called `TokenName`. This PR corrects this discrepancy, and: - renames `TokenName` to `AssetName`; - renames related functions, strings, and comments; - **avoids** making any change to database schemas; - **avoids** making any change to the HTTP REST API.
- Loading branch information
Showing
50 changed files
with
393 additions
and
393 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.