@typeberry/convert 0.4.1-0a3acb2 → 0.4.1-3923458

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.
Files changed (4) hide show
  1. package/README.md +22 -0
  2. package/index.js +2216 -2185
  3. package/index.js.map +1 -1
  4. package/package.json +1 -1
package/README.md CHANGED
@@ -101,6 +101,9 @@ $ npm start -w @typeberry/rpc
101
101
  ### Additional tooling
102
102
 
103
103
  - [@typeberry/convert](bin/convert/README.md) - convert common JAM formats
104
+ - [@typeberry/jam](bin/jam/README.md) - main typeberry/jam node binary
105
+ - [@typeberry/lib](bin/lib/README.md) - typeberry-as-library. All utilities exposed as ESM, browser-compatible
106
+ library.
104
107
  - [JAM search](https://github.com/fluffylabs/jam-search) - search across all public JAM-related channels
105
108
  - [State Viewer](https://github.com/fluffylabs/state-viewer) - load & inspect state of test vectors
106
109
  - [PVM Debugger](https://github.com/fluffylabs/pvm-debugger) - load & inspect a PVM program
@@ -168,6 +171,25 @@ all relevant ones can be easily checked out from [our test vectors repository](h
168
171
  Obviously it's also possible to run just single test case or part of the test
169
172
  cases by altering the glob pattern in the path.
170
173
 
174
+ #### Selecting PVM Backend
175
+
176
+ By default, test vectors are run with both PVM backends (built-in and Ananas).
177
+ You can select a specific PVM backend using the `--pvm` option:
178
+
179
+ ```bash
180
+ # Run tests with built-in PVM only
181
+ $ npm run w3f-davxy:0.7.1 -w @typeberry/test-runner -- --pvm builtin
182
+
183
+ # Run tests with Ananas PVM only
184
+ $ npm run w3f-davxy:0.7.1 -w @typeberry/test-runner -- --pvm ananas
185
+
186
+ # Run tests with both PVMs (default)
187
+ $ npm run w3f-davxy:0.7.1 -w @typeberry/test-runner
188
+ ```
189
+
190
+ This option is useful for debugging PVM-specific issues or running faster tests
191
+ by testing only one implementation at a time.
192
+
171
193
  ### Running JSON RPC E2E tests
172
194
 
173
195
  To run JSON RPC E2E test-vectors [test-vectors](https://github.com/fluffylabs/test-vectors)