-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use icrc1Transfer on ICP ledger canister (#3360)
# Motivation When you use an ICRC-1 address, we make an ICRC-1 transfer but currently we use the generic ICRC-1 ledger interface for that, specifying the ICP ledger canister ID. But the ICP ledger interface has its own ICRC-1 transfer method. # Changes Use the direct `icrc1Transfer` method on the ICP ledger API instead of using the generic ICRC-1 ledger API. # Tests Unit test updated. Tested manually and noticed that for HW transactions, an empty memo is rendered as 422710814078008. This will be fixed with dfinity/ic-js#423 # Todos - [x] Add entry to changelog (if necessary).
- Loading branch information
Showing
3 changed files
with
11 additions
and
14 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