## Introduction to gsdk metadata
The [`gsdk`](.) crate contains `vara_runtime.scala` file with SCALE metadata
used to submit extrinsics to a substrate node via RPC. It's generated by
the [`vara-runtime`](../runtime/vara) crate build script if `vara-runtime` crate
is built with `dev` feature and the `GENERATE_GSDK_METADATA` environment
variable is set.
## Updating the generated code
You can do it with the following command:
```bash
./scripts/update-gsdk-metadata.sh
```
or directly
```bash
GENERATE_GSDK_METADATA=1 cargo build -p vara-runtime --features dev
```