-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: more test data for ckETH encodePrincipalToEthAddress (#649)
# Motivation I found more test sample data in the IC repo ([here](https://github.com/dfinity/ic/blob/57414764febc827070ccaf9584f2a59c19c52f45/rs/ethereum/cketh/minter/tests/principal_to_bytes_test.js#L5)) to test the `encodePrincipalToEthAddress` utility of ckETH. So, I thought it would be cool to replicate those in ic-js as well. # Changes - Add more test data and expected results in `@dfinity/cketh`. Signed-off-by: David Dal Busco <[email protected]>
- Loading branch information
1 parent
c3fb890
commit 7ca709b
Showing
1 changed file
with
48 additions
and
0 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