@ledgerhq/coin-tester 0.5.0-nightly.1 → 0.5.0-nightly.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +6 -0
- package/README.md +4 -8
- package/package.json +3 -3
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
> @ledgerhq/coin-tester@0.5.0-nightly.
|
|
2
|
+
> @ledgerhq/coin-tester@0.5.0-nightly.1 build /home/runner/work/ledger-live/ledger-live/libs/coin-tester
|
|
3
3
|
> tsc && tsc -m esnext --moduleResolution bundler --outDir lib-es
|
|
4
4
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @ledgerhq/coin-tester
|
|
2
2
|
|
|
3
|
+
## 0.5.0-nightly.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#9919](https://github.com/LedgerHQ/ledger-live/pull/9919) [`5d6d223`](https://github.com/LedgerHQ/ledger-live/commit/5d6d223fe1691200911e81c8d83eec7b4ae0cd65) Thanks [@qperrot](https://github.com/qperrot)! - Move all coin tester into its own coin tester modules
|
|
8
|
+
|
|
3
9
|
## 0.5.0-nightly.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -50,7 +50,7 @@ docker build -f Dockerfile -t speculos:latest .
|
|
|
50
50
|
- Generate a [Github token classic](https://github.com/settings/tokens) and give it full "repo" and "project" rights. Make sure to authorize Ledger SSO.
|
|
51
51
|
|
|
52
52
|
- Go in the coin-module you want to test and create a `.env` in the folder where your test resides.
|
|
53
|
-
For exemple for `coin-evm` create the file should be located in: `
|
|
53
|
+
For exemple for `coin-evm` create the file should be located in: `coin-tester-modules/coin-tester-evm/.env`.
|
|
54
54
|
|
|
55
55
|
Copy `.env.example`.
|
|
56
56
|
|
|
@@ -75,18 +75,14 @@ If you want you can generate a new seed using [this tool](https://iancoleman.io/
|
|
|
75
75
|
|
|
76
76
|
To coin Polkadot Coin tester we will need to build the local test node Docker image.
|
|
77
77
|
|
|
78
|
-
```sh
|
|
79
|
-
cd libs/coin-modules/coin-polkadot/src/test/coin-tester
|
|
80
|
-
make build
|
|
81
|
-
```
|
|
82
78
|
## [Run tests for a coin module](#run-tests-for-a-coin-module)
|
|
83
79
|
|
|
84
80
|
```sh
|
|
85
|
-
pnpm coin:<coin-
|
|
81
|
+
pnpm coin:tester:<coin-tester-modules-name> start
|
|
86
82
|
|
|
87
83
|
# e.g
|
|
88
|
-
# pnpm coin:evm
|
|
89
|
-
# pnpm coin:polkadot
|
|
84
|
+
# pnpm coin:tester:evm start
|
|
85
|
+
# pnpm coin:tester:polkadot start
|
|
90
86
|
```
|
|
91
87
|
|
|
92
88
|
## Troubleshooting
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ledgerhq/coin-tester",
|
|
3
|
-
"version": "0.5.0-nightly.
|
|
3
|
+
"version": "0.5.0-nightly.2",
|
|
4
4
|
"description": "Deterministic testing of Ledger coin-modules",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"dependencies": {
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"jest": "^28.1.3",
|
|
18
18
|
"ts-jest": "^28.0.8",
|
|
19
19
|
"typescript": "^5.1.3",
|
|
20
|
-
"@ledgerhq/types-
|
|
21
|
-
"@ledgerhq/types-
|
|
20
|
+
"@ledgerhq/types-cryptoassets": "^7.22.0-nightly.0",
|
|
21
|
+
"@ledgerhq/types-live": "^6.66.0"
|
|
22
22
|
},
|
|
23
23
|
"typesVersions": {
|
|
24
24
|
"*": {
|