From c58096a59aa815db687e3d06cc0d8e21ce3485db Mon Sep 17 00:00:00 2001
From: librelois <c@elo.tf>
Date: Mon, 17 Jan 2022 16:18:32 +0100
Subject: [PATCH] doc(tests): add metadata instructions

---
 integration-tests/README.md | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/integration-tests/README.md b/integration-tests/README.md
index 07d7d5493..03585a9d8 100644
--- a/integration-tests/README.md
+++ b/integration-tests/README.md
@@ -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/
-- 
GitLab