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