@typeberry/convert 0.4.1-945762b → 0.4.1-96c9168
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/README.md +19 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -168,6 +168,25 @@ all relevant ones can be easily checked out from [our test vectors repository](h
|
|
|
168
168
|
Obviously it's also possible to run just single test case or part of the test
|
|
169
169
|
cases by altering the glob pattern in the path.
|
|
170
170
|
|
|
171
|
+
#### Selecting PVM Backend
|
|
172
|
+
|
|
173
|
+
By default, test vectors are run with both PVM backends (built-in and Ananas).
|
|
174
|
+
You can select a specific PVM backend using the `--pvm` option:
|
|
175
|
+
|
|
176
|
+
```bash
|
|
177
|
+
# Run tests with built-in PVM only
|
|
178
|
+
$ npm run w3f-davxy:0.7.1 -w @typeberry/test-runner -- --pvm builtin
|
|
179
|
+
|
|
180
|
+
# Run tests with Ananas PVM only
|
|
181
|
+
$ npm run w3f-davxy:0.7.1 -w @typeberry/test-runner -- --pvm ananas
|
|
182
|
+
|
|
183
|
+
# Run tests with both PVMs (default)
|
|
184
|
+
$ npm run w3f-davxy:0.7.1 -w @typeberry/test-runner
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
This option is useful for debugging PVM-specific issues or running faster tests
|
|
188
|
+
by testing only one implementation at a time.
|
|
189
|
+
|
|
171
190
|
### Running JSON RPC E2E tests
|
|
172
191
|
|
|
173
192
|
To run JSON RPC E2E test-vectors [test-vectors](https://github.com/fluffylabs/test-vectors)
|