Skip to content
Snippets Groups Projects
Commit c58096a5 authored by Éloïs's avatar Éloïs
Browse files

doc(tests): add metadata instructions

parent 7f4bcf2e
No related branches found
No related tags found
No related merge requests found
......@@ -122,7 +122,16 @@ functions defined in `integration-tests/tests/common`.
To realize the RPC requests, we use the rust crate [subxt](https://github.com/paritytech/subxt).
#### Upgrade metadata
To work, the integration tests need to have the runtime metadata up to date, here is how to update
them:
```bash
subxt metadata -f bytes > resources/metadata.scale
```
If you don't have subxt, install it: `cargo install subxt-cli`
[BDD]: https://en.wikipedia.org/wiki/Behavior-driven_development
[cucumber]: https://cucumber.io/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment